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

Embedded software testing method based on AADL (Architecture Analysis and Design Language) mode transformation relationship

A technology of embedded software and transformation relationship, applied in the field of transformation testing, can solve the problems of high cost, less support, revealing program errors, etc., and achieve the effect of shortening the development cycle and saving development costs.

Inactive Publication Date: 2011-05-11
NORTHWESTERN POLYTECHNICAL UNIV
View PDF2 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these models have less support for AADL-based model testing. In addition, it is worth noting that in the process of embedded software testing, due to the diversity of the actual operating environment of components and the complexity of the interaction between components, program execution results often appear. It cannot be predicted in advance, or the phenomenon of using artificial methods to predict the result requires a large cost. The phenomenon that the execution result of this program cannot be predicted is called "Oracle problem" in test theory.
However, the existing component software testing models and methods compare the running results of the program under specific test cases with the expected running results to judge whether there are errors in the program design and implementation, which leads testers to only choose some simple test cases that can predict the results. testing, but not fully and effectively revealing the bugs in the program

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
  • Embedded software testing method based on AADL (Architecture Analysis and Design Language) mode transformation relationship
  • Embedded software testing method based on AADL (Architecture Analysis and Design Language) mode transformation relationship
  • Embedded software testing method based on AADL (Architecture Analysis and Design Language) mode transformation relationship

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Now in conjunction with embodiment, accompanying drawing, the present invention will be further described:

[0043] This example describes a flight control system. The system has two sub-components, the flight status processing process Modify and the error processing process Error_Deal. The system has 5 system modes, which are the initial mode Initialize, the pilot control mode Hum_Control_Mode, the aircraft automatic control mode Autopilot_Control_Mode, the failure mode Malfunction_Mode, and the waiting mode Wait_Mode. Among them, when the system receives the event from Init_Done, the system switches from Initialize to Hum_Control_Mode, and at this time, the system returns to Initialize when receiving the event from Back_Init. The system will switch from Hum_Control_Mode to Autopilot_Control_Mode through the triggering of the Autopilot_Control_UP port event in the process Modify. At this time, if the triggering of the Hum_Control_UP port event is received, it will retu...

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 an embedded software testing method based on AADL (Architecture Analysis and Design Language) mode transformation relationship, which has the following steps of: constructing a mode transition diagram on the basis of mode information in an AADL model, and converting the diagram into a mode relationship tree required by a transformation test according to the improved depth-first traversing algorithm; constructing a source test case in the mode transformation relationship by traversing the mode relationship tree, generating a subsequent test case by means of the mode transformation relationship in the AADL model, and verifying the mode transformation relationship to obtain the conclusion of the transformation test. The embedded software testing method based on AADL mode transformation relationship solves the 'Oracle' problem existing in the embedded software test, is convenient for a user to test the embedded software at an early stage of software design and ensures the reliability of software at a system architecture level. If the model architecture can not meet corresponding requirements, the architecture of the software can be modified at an early stage of development, thus the development cost is saved, and meanwhile, the development cycle can also be shortened.

Description

technical field [0001] The invention relates to an embedded software testing method based on AADL modal metamorphosis relationship, and relates to a metamorphic testing technology in software testing. Background technique [0002] With the development of computer technology, embedded systems play an increasingly important role in the industrial field. The task of early embedded software is simple and clear, and the scale of the software is relatively small. Therefore, in the process of software design and implementation, the focus is on how to effectively meet the functional and non-functional requirements of the software, basically ignoring the requirements of software engineering. Methods and techniques for controlling and managing system size and complexity. With the continuous expansion of the complexity of embedded software systems, the early embedded software development methods can no longer fully meet the requirements of embedded software design. Both bring challen...

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): G06F11/36
Inventor 董云卫张凡孙博路晓丽周兴社
Owner NORTHWESTERN POLYTECHNICAL 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