Constructing petri nets from traces for diagnostics
Abstract
Various technologies and techniques are disclosed for using Petri Nets for diagnostics of concurrent programs. One or more initial traces are obtained from a concurrent program that executed properly. The initial trace is used to create a Petri Net. To generate the Petri Net, unique task identifiers and places of interest are generated, and transitions are added. The resulting Petri Net is stored for later use in differential debugging. A trace is obtained from a later execution of the concurrent program that did not execute properly. The later trace is run against the Petri Net to identify at least one difference. A Petri Net can also be used for model checking of concurrent programs. A model checking process is performed to analyze possible executions in the Petri Net to look for one or more problems. A result of the model checking process is output.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 11.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-readable storage medium having computer-executable instructions for causing a computer to perform steps comprising: obtain at least one initial trace from a concurrent program that executed properly; use the at least one initial trace to create a Petri Net; using the at least one trace to generate unique label or task identifiers for a Petri Net; obtain a later trace from a later execution of the concurrent program that did not execute properly; and run the later trace against the Petri Net to identify at least one difference by comparing the Petri Net to the later trace correspondi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (5)
- Anita Bateman et al., "Extracting a Petri Net Representation of Java Concurrency", 2002, pp. 1-8.
- Brad Long, "A method for verifying concurrent Java components based on an analysis of concurrently failers",2005, pp. 1-11.
- Buy, et al., "A Petri-Net-Based Approach to Real-Time Program Analysis", Proceedings of the Seventh International Workshop on Software Specification and Design, Date: Dec. 6-7, 1993, pp. 56-60, IEEE.
- Chamillard, et al., "Improving the Accuracy of Petri Net-based Analysis of Concurrent Programs", pp. 1-15.
- Nilabja Roy, "Modeling Software Contention Using Colore Petri Nets", 2004, pp. 1-8.