Single-machine multi-core parallel model checking method with high performance

A model checking, high-performance technology, applied in error detection/correction, software testing/debugging, instrumentation, etc., can solve the problems of high segmentation overhead and low performance, achieve high performance, good scalability, and improve synchronization overhead performance effect

Inactive Publication Date: 2016-09-21
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although single-machine multi-core computing based on shared memory can improve computing efficiency, using existing single-machine multi-core parallel linear sequential logic model detectors, such as Divine, etc., requires multiple threads to process the entire state space. In order to reduce the competition between threads, usually need Divide the entire state space to each thread, which reduces competition but introduces a large segmentation overhead, resulting in poor performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Single-machine multi-core parallel model checking method with high performance
  • Single-machine multi-core parallel model checking method with high performance
  • Single-machine multi-core parallel model checking method with high performance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0090] In order to enable those skilled in the art to better understand the present invention, specific examples are given below to further describe the present invention in detail.

[0091] This example verifies the classic verification model in the field of model checking, the philosopher's eating problem. The problem of eating philosophers is that there are a total of several (model parameters) philosophers at a table. Each of these philosophers has a chopstick between them. They can pick up the left and right chopsticks, but only when they pick up two chopsticks at the same time, After eating, put down the left and right chopsticks in turn. The behavior of each philosopher is modeled as an identity transfer system, such as image 3 shown.

[0092] In this example, a series of attributes will be verified for several philosophers. The specific verification questions and attributes are shown in Table 1. Through this patent method, through the interface of the open source s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a single-machine multi-core parallel model checking method with high performance. The method comprises the following steps of: (1) establishing an initial node in a composite state space of a to-be-detected system model and a to-be-detected attribute; (2) mapping the initial node into a vertex of a Ligra (Lightweight Graph Processing Framework for Shared Memory) calculation chart by a state space generator, then gradually generating successor nodes of the initial node, wherein the initial node and the generated successor nodes form a state space, the initial node is a node in a first level, the node in an ith level includes successor nodes in an (i+1)th level of N layers, the successor nodes of each layer include a plurality of nodes, a current state space is mapped into the Ligra calculation chart after all successor nodes belonging to nodes in the same level are generated each time, then whether a receivable cycle is in the Ligra calculation chart is checked by calling a receivable cycle detector, and if the receivable cycle is in the Ligra calculation chart, model checking is stopped. The method has the characteristics of high performance, good expandability and the like.

Description

technical field [0001] The invention belongs to the fields of software engineering, formalized methods and parallel computing, and specifically relates to a high-performance parallel linear sequential logic model detection method in a single-machine multi-core environment. Background technique [0002] Model checking (Model Checking) is a very important automatic verification technology. It was first proposed by Clarke and Emerson in 1981 respectively, and it mainly verifies the modal / propositional properties of finite-state concurrent systems through explicit state search or implicit fixed point calculation. Model checking has been used in the analysis and verification of many safety-critical systems, communication protocols, control systems, and safety authentication protocols in recent years. The model detector is used to conduct a comprehensive inspection of the security and activity of the hardware and software system to ensure that the system meets the security charac...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36
CPCG06F11/3604
Inventor 张营飞谢淼张珩杨秋松
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products