Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

State diagram-based coding verification method

A verification method and state diagram technology, applied in the field of code verification based on state diagram, can solve problems such as few requirements analysis experience, and achieve the effect of improving efficiency and facilitating implementation.

Inactive Publication Date: 2016-09-21
SHANGHAI UNIV
View PDF1 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The requirement analysis of the problem domain is often completed by requirement analysts with the help of various UML model diagrams, but few analysis designers know how to write complex verification programs
In contrast, formal verification personnel are concerned about how to write a programming language suitable for computer computing, and rarely have professional requirements analysis experience

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
  • State diagram-based coding verification method
  • State diagram-based coding verification method
  • State diagram-based coding verification method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is carried out on the premise of the technical solution of the present invention, and detailed implementation and specific operation process are given, but the protection scope of the present invention is not limited to the following embodiments.

[0043] figure 1 An explanatory diagram of the relationship between the design model and the verification code for the requirements of the present invention

[0044] The requirements analysis of the problem domain is often completed by the requirements analysts with the help of UML model diagrams, but few designers know how to write complex verification programs. In contrast, formal verification personnel are concerned with how to write a programming language suitable for computer computing, and rarely have professional requirements analysis experience. In order to simplify the inspe...

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 relates to a state diagram-based coding verification method. The method comprises the following steps: 1) describing a target software requirement by using an ArgoUML state diagram, and carrying out requirement analysis; 2) taking a file output by ArgoUML as an extraction object to extract a state diagram description file; 3) analyzing the state diagram description file so as to obtain a node state, migration information and a state attribute of the state diagram; 4) converting the ArgoUML state diagram into a target MuSMV code according to the obtained node state, migration information and state attribute of the state diagram; 5) automatically extracting an inspection property and providing the inspection property to users in an interaction manner for secondary edition; and 6) calling an NuSMV inspector to execute inspection, returning whether the inspection property is satisfied or not, and if the inspection property is not satisfied, giving an error position point and displaying a route sequence. Compared with the prior art, the method disclosed in the invention can be used for carrying out modeling aiming at the software requirement and realizing automatic inspection, and enabling the design analysts to not consider how to compile complicated NuSMV programs any more, wherein the conversion is realized automatically.

Description

technical field [0001] The invention relates to the field of software detection, in particular to a coding verification method based on a state diagram. Background technique [0002] Computer software has become an information infrastructure that penetrates into various fields of national economy, national defense construction and personal life, such as telecommunication systems, industrial control, nuclear power plants, aerospace systems, online banking, e-commerce, etc. However, due to the lack of current software development technology, the quality of software is unsatisfactory, and software failures and security attacks occur from time to time, which adversely affect people's work and life, and even endanger the safety of people, property and the environment, resulting in disastrous consequences. [0003] The field of software development urgently needs the support of verification technology. The requirements analysis of the problem domain is often completed by the req...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F9/45
CPCG06F8/34G06F8/40
Inventor 高洪皓缪淮扣许杰品曾红卫开金宇
Owner SHANGHAI UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products