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

Model-Based Testing System and Method

A test system and model technology, applied in the field of avionics system testing, can solve the problems of increased possibility of error, difficulty in consistency and accuracy, and low work efficiency, so as to reduce error rate, improve management efficiency and automation degree , the effect of improving work efficiency

Active Publication Date: 2019-03-01
杭州杉石科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the previous avionics system development process, the analysis and design of the comprehensive test were often ignored due to the cycle and schedule. The traditional method used manual methods to build test cases, and simply integrated the system detailed design documents and ICD (Interface Control Document, interface control file) into a comprehensive program as the basis for the test, and the testers will manually check the cockpit screen, interface data, and analyze and judge in the cockpit, and the test items may be incomplete and incomplete
Traditional testing methods cannot provide a unified source of design and test data, and usually only consider the inheritance and verification of ICD design, and cannot trace and verify the upstream architecture design and behavioral logic design results of the design, and cannot meet the requirements of current integrated avionics for traceable test verification needs
In addition, documents are used as a data exchange mode between design and testing departments. It is difficult to unify the source of test data and the comprehensive program generated based on text description is ambiguous. It is difficult to reproduce and trace the test results repeatedly. A large number of boring repetitive operations in manual testing make The work efficiency is low, the randomness is large, and the possibility of making mistakes will also increase
Testers will face a large amount of repetitive workload. Under such conditions, in addition to low efficiency and error-prone design, it is more difficult to ensure the consistency and accuracy of requirements, documents, test cases and test results.
For the entire avionics system, traditional test systems have been difficult to achieve coverage testing of system functions and performance requirements

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
  • Model-Based Testing System and Method
  • Model-Based Testing System and Method
  • Model-Based Testing System and Method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0077] figure 1 The flow chart of the model-based testing system provided by Embodiment 1 of the present invention.

[0078] refer to figure 1 , the model-based testing system includes the following units:

[0079] A model generation unit 110, configured to automatically generate a test case model based on the test requirements, according to the original design model data;

[0080] Specifically, the original design model data is the behavior logic model data and interface design model data of the avionics system obtained in the previous design. Based on the test requirements formulated based on the actual situation of the avionics system, the test case model is automatically generated according to the behavioral logic model data and the interface design model data. The test case model includes the interface test case model and the function test case model.

[0081] In addition to generating test case models based on the original design model data, new test cases can also be...

Embodiment 2

[0098] figure 2 It is a schematic diagram of the working principle of the raw data parsing unit provided in Embodiment 2 of the present invention.

[0099] The original design model data is obtained through the original data analysis unit, the original data analysis unit is connected with the model generation unit 110, and the original design model data is obtained through the following steps:

[0100] First, analyze the API (Application Programming Interface, Application Programming Interface) of the behavior logic model modeling tool to obtain the behavior logic model data; secondly, analyze the API of the interface design tool to obtain the interface design model data; finally, according to Behavior logic model data and interface design model data obtain the original design model data.

[0101] Specifically, such as figure 2 As shown, the original design model data includes logic model data and interface design model data, in which the behavior logic model data is based...

Embodiment 3

[0103] image 3 It is a schematic diagram of the working principle of the model generation unit provided by Embodiment 3 of the present invention.

[0104] Test case models include functional test case models and interface test case models.

[0105] Among them, refer to image 3 , the way of generating the functional test case model through the model generation unit 110 includes the following content:

[0106] First, based on the test requirements, read all use cases in the behavioral logic model data, and generate corresponding functional test items according to each use case; secondly, traverse the sequence diagram under each use case in turn, and generate subordinate functional tests according to the sequence diagram Scenario use cases of the project; finally, traverse the sequence branch structure of each sequence diagram in turn, and generate a functional test case model subordinate to the scenario use case according to the sequence branch structure.

[0107] Specifica...

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 provides a model-based test system and method, and relates to the technical field of aviation electronic system tests. The method includes the steps that on the basis of a test requirement, a test case model is generated according to original design model data; a configuration file is generated according to the test case model; the configuration file is loaded on an adaptive test platform, the test case model is executed, and test result information is obtained; according to the test result information, the test case model which does not meet the test requirement is managed to bea test defect record; the test requirement and the test case model which correspond to each other are associated, a mapping relation is established, and a requirement coverage analysis result is calculated according to the mapping relation; a test case coverage analysis result is calculated according to the test case model, and a defect coverage analysis result is calculated according to the testdefect record. The system and method can improve the working efficiency, management efficiency and automation degree of the aviation electronic system tests and reduce the error rate.

Description

technical field [0001] The invention relates to the technical field of avionics system testing, in particular to a model-based testing system and method. Background technique [0002] At this stage, the integrated avionics system has a complex structure, a variety of usage scenarios, and a huge amount of data. The simulation test of integrated avionics system is a complex system engineering, which requires comprehensive and rigorous system test analysis and design. In the previous avionics system development process, the analysis and design of the comprehensive test were often ignored due to the cycle and schedule. The traditional method used manual methods to build test cases, and simply integrated the system detailed design documents and ICD (Interface Control Document, Interface control file) is converted into a comprehensive program as the basis of the test. The testers will manually check the cockpit screen, interface data, and analyze and judge in the cockpit. The tes...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3676G06F11/3684G06F11/3688G06F11/3692
Inventor 刘阳解晓琳章磊吴伟曹勇杨栋
Owner 杭州杉石科技有限公司
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