CN114968786A - System architecture of redundancy management automatic test system - Google Patents

System architecture of redundancy management automatic test system Download PDF

Info

Publication number
CN114968786A
CN114968786A CN202210590333.9A CN202210590333A CN114968786A CN 114968786 A CN114968786 A CN 114968786A CN 202210590333 A CN202210590333 A CN 202210590333A CN 114968786 A CN114968786 A CN 114968786A
Authority
CN
China
Prior art keywords
test
program
program unit
redundancy
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210590333.9A
Other languages
Chinese (zh)
Inventor
焦宗哲
张明
王阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenyang Aircraft Design and Research Institute Aviation Industry of China AVIC
Original Assignee
Shenyang Aircraft Design and Research Institute Aviation Industry of China AVIC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenyang Aircraft Design and Research Institute Aviation Industry of China AVIC filed Critical Shenyang Aircraft Design and Research Institute Aviation Industry of China AVIC
Priority to CN202210590333.9A priority Critical patent/CN114968786A/en
Publication of CN114968786A publication Critical patent/CN114968786A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application belongs to the field of automatic testing, and relates to a system architecture of a redundancy management automatic testing system, which comprises a signal generation program unit, a data storage program unit and a data analysis program unit; when a group of redundancy signals are analyzed, the redundancy signals are firstly transmitted into a signal generation program for testing, a test result is transmitted to a data storage program unit, then the redundancy signals are subjected to data analysis through a data analysis program, and the automatic testing of the redundancy signals is completed at the later stage after the analysis is completed; the three units form a system structure with separate tests, are independent from each other, can run on one computer and can also run in different computers, and therefore the bug isolation is achieved. The three programs can be developed by different personnel, and the labor division is clear; the program test is simple, and a single program Bug cannot influence other programs, so that the working efficiency is effectively improved, the working difficulty is reduced, and the occurrence of errors is reduced.

Description

System architecture of redundancy management automatic test system
Technical Field
The application belongs to the field of automatic testing, and particularly relates to a system architecture of a redundancy management automatic testing system.
Background
The redundancy is a means for improving the reliability and safety reliability of system tasks, and the redundancy technology is widely applied to the aspect of aerospace flight control. Typically, the testing of the redundancy system includes a redundancy management policy test, an amplitude threshold test and a time threshold test. The test content is many and complex, for example, a flight control system needs hundreds of signals such as total pressure, static pressure, pitch angle rate, roll angle rate and the like to test, and the automatic test of the signals is necessary to realize.
The existing automatic test system has the structural characteristics that:
1) the test signal generation program, the data storage program, and the data analysis program are not separated, and are programs under the same project. Its advantages are compact integral program; the method has the disadvantages that the method is suitable for one person to develop, the program Bug is easy to spread, and one program Bug can search and change the whole program.
2) The signal testing is performed serially. The method has the advantages that whether the realization of the tested signal is correct can be observed in real time when each signal is tested; the disadvantage is the slow testing process.
3) And testing each signal by using a test case of the signal, wherein the test case comprises the whole test process of the signal. The advantage is that all signal tests use one program, the appearance looks good; the method has the disadvantages of difficult test case compiling, need of a large amount of professional personnel to specially compile and extremely low efficiency.
Therefore, how to improve the efficiency of the redundancy signal test is a problem to be solved.
Disclosure of Invention
The application aims to provide a system architecture of an automatic redundancy management test system, and aims to solve the problems that in the prior art, a redundancy signal test program is low in compiling efficiency and slow in test process.
The technical scheme of the application is as follows: a system architecture for a redundancy management automatic test system, comprising: the signal generation program unit is used for receiving and adopting a test program to test the redundancy signal and outputting test data; the data storage program unit is used for receiving the test data of the signal generation program unit and storing the test data in a classified manner; the data analysis program unit is used for calling the test data from the data storage program unit and analyzing the test data; and the signal generation program unit and the data storage program unit, the data storage program unit and the data analysis program unit only have input and output relations.
Preferably, the signal generating program unit can run a Wx test program, a Wy test program, a static pressure test program and a dynamic pressure test program.
Preferably, after the required test program is selected, the test program is set up by using Simulink simulation, the test program is compiled into an operating system which runs in real time, the program runs in the real-time system, and the redundancy signal is tested.
Preferably, the signal generating program unit can receive different test signals at the same time, and select different test programs for testing.
The system architecture of the redundancy management automatic test system comprises a signal generation program unit, a data storage program unit and a data analysis program unit; when a group of redundancy signals are analyzed, the redundancy signals are firstly transmitted into a signal generation program for testing, a test result is transmitted to a data storage program unit, then the redundancy signals are subjected to data analysis through a data analysis program, and the automatic testing of the redundancy signals is completed at the later stage after the analysis is completed; the three units form a system structure with separated tests, are independent from each other, can run on one computer and can also run in different computers, and therefore the bug isolation is achieved. The three programs can be developed by different personnel, and the labor division is definite; the program test is simple, and a single program Bug cannot influence other programs, so that the working efficiency is effectively improved, the working difficulty is reduced, and the occurrence of errors is reduced.
Drawings
In order to more clearly illustrate the technical solutions provided by the present application, the following briefly introduces the accompanying drawings. It is to be expressly understood that the drawings described below are only illustrative of some embodiments of the invention.
FIG. 1 is a schematic diagram of the overall structure of the present application;
FIG. 2 is a schematic diagram of a data testing structure according to the present application.
1. A signal generation program unit; 2. a data storage program unit; 3. a data analysis program unit.
Detailed Description
In order to make the implementation objects, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described in more detail below with reference to the drawings in the embodiments of the present application.
A system architecture of a redundancy management automatic test system is shown in FIG. 1, and comprises a signal generation program unit 1, a data storage program unit 2 and a data analysis program unit 3.
The signal generating program unit 1 is used for receiving and adopting a test program to test the redundancy signal and outputting test data; the data storage program unit 2 is used for receiving the test data of the signal generation program unit 1 and storing the test data in a classified manner; the data analysis program unit 3 is used for calling the test data from the data storage program unit 2 and analyzing the test data
When a group of redundancy signals are analyzed, the redundancy signals are firstly transmitted into a signal generation program to be tested, a test result is transmitted to a data storage program unit 2 to be classified and stored according to the types of the redundancy signals, then the redundancy signals are subjected to data analysis through a data analysis program, and the automatic test of the redundancy signals is completed at the later stage after the analysis is completed.
The three units form a system structure with separate tests, are independent from each other, can run on one computer and can also run in different computers, and therefore the bug isolation is achieved. The three programs can be developed by different personnel, and the labor division is clear; the program test is simple, and a single program Bug cannot influence other programs, so that the working efficiency is effectively improved, the working difficulty is reduced, and the occurrence of errors is reduced.
As shown in fig. 2, preferably, in the signal generating program unit 1, all test programs that are not interfered by other test programs, such as a Wx test program, a Wy test program, a static pressure test program, and a dynamic pressure test program, can be simultaneously run, and the implementation manner is to use Simulink to simulate and build the test program, compile the test program into an operating system (such as a VxWorks or xPc real-time system) that runs in real time, and run the program in the real-time system.
Most of test programs can run in parallel, the signal generation program unit 1 can receive different test signals at the same time, and different test programs are selected for testing, so that the test efficiency is greatly improved.
Preferably, in the signal generating program, a plurality of program subunits which run simultaneously can be arranged inside, and different redundancy signals can be tested simultaneously and respectively.
The same kind of signals have the same test algorithm, for example, the same test procedures are the Wx test procedure, the Wy test procedure, the static pressure test procedure and the total pressure test procedure of the four-redundancy signals, but the test procedures are the same, and only the input is different (twelve major characteristics of a certain signal), and the output data structure is the same.
Therefore, the similar test algorithm can be copied and used only by compiling once, and unlike the previous test case, each test signal needs to compile a test process (algorithm) independently, so that the working intensity is greatly reduced, and the occurrence of errors is reduced.
Like the standard test algorithm, the data analysis algorithm for the same kind of signal is also the same, except that the inputs are different (twelve major features of a certain signal), and the output data structure is also the same. The data analysis algorithm adopts a standard algorithm, and details are not repeated.
Therefore, the data analysis algorithm of the same kind of signals can be copied and used only by compiling once, and unlike the prior test case, each test signal needs to compile an analysis process (algorithm) independently, thereby greatly reducing the working intensity and reducing the occurrence of errors.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (4)

1. A system architecture for a redundancy management automatic test system, comprising:
the signal generating program unit (1) is used for receiving and adopting a test program to test the redundancy signal and outputting test data;
the data storage program unit (2) is used for receiving the test data of the signal generation program unit (1) and storing the test data in a classified manner;
a data analysis program unit (3) for calling the test data from the data storage program unit (2) and analyzing the test data;
the signal generation program unit (1) and the data storage program unit (2), the data storage program unit (2) and the data analysis program unit (3) only have input and output relations.
2. The system architecture of a redundancy management automatic test system according to claim 1, characterized in that: the signal generation program unit (1) can run a Wx test program, a Wy test program, a static pressure test program and a dynamic pressure test program.
3. The system architecture of a redundancy management automatic test system according to claim 2, characterized in that: after a required test program is selected, the Simulink is used for simulating and building the test program, the test program is compiled into an operating system which runs in real time, the program runs in the real-time system, and the redundancy signal is tested.
4. The system architecture of a redundancy management automatic test system according to claim 1, characterized in that: the signal generation program unit (1) can receive different test signals at the same time, and different test programs are selected for testing.
CN202210590333.9A 2022-05-26 2022-05-26 System architecture of redundancy management automatic test system Pending CN114968786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210590333.9A CN114968786A (en) 2022-05-26 2022-05-26 System architecture of redundancy management automatic test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210590333.9A CN114968786A (en) 2022-05-26 2022-05-26 System architecture of redundancy management automatic test system

Publications (1)

Publication Number Publication Date
CN114968786A true CN114968786A (en) 2022-08-30

Family

ID=82957556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210590333.9A Pending CN114968786A (en) 2022-05-26 2022-05-26 System architecture of redundancy management automatic test system

Country Status (1)

Country Link
CN (1) CN114968786A (en)

Similar Documents

Publication Publication Date Title
EP2827253B1 (en) Metaphor based language fuzzing of computer code
US20130061210A1 (en) Interactive debugging environments and methods of providing the same
CN104750603A (en) Multi-core DSP (Digital Signal Processor) software emulator and physical layer software testing method thereof
US10725889B2 (en) Testing multi-threaded applications
CN103389939A (en) Detection method and detection system for controlled heap allocation bug
US20030097653A1 (en) Parallel loop transformation methods for race detection during an execution of parallel programs
CN103294596A (en) Early warning method for contract-type software fault based on program invariants
Li et al. Comparing programmer productivity in OpenACC and CUDA: An empirical investigation
Virgínio et al. On the test smells detection: an empirical study on the jnose test accuracy
McLaughlin et al. DEVS-scripting: a black-box test frame for DEVS models
US7308663B2 (en) Circuit design verification using checkpointing
CN106681909A (en) Online transaction fault locating method and device
CN108959078A (en) A kind of end Windows automatic software test method and system
CN114968786A (en) System architecture of redundancy management automatic test system
Bartholomew An industry proof-of-concept demonstration of automated combinatorial test
US10853051B2 (en) Automated candidate repair patch generation
WO2023230883A1 (en) Testing method, system and apparatus
Cao et al. Android unit test case generation based on the strategy of multi-dimensional coverage
Gruber et al. FlaPy: Mining Flaky Python Tests at Scale
CN106528401B (en) The tripping test method and device of control system based on redundancy structure
Elks et al. Specification of a bounded exhaustive testing study for a software-based embedded digital device
US20140236564A1 (en) Coverage model and measurements for partial instrumentation
Elks et al. Defining and characterizing methods, tools, and computing resources to support pseudo exhaustive testability of software based i&c devices
Ramamoorthy et al. A systematic approach to the development and validation of critical software for nuclear power plants
Dahll et al. An investigation of methods for production and verification of highly reliable software

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination