CN106776268B - Display control software and hardware system reliability test excitation method based on profile mapping - Google Patents

Display control software and hardware system reliability test excitation method based on profile mapping Download PDF

Info

Publication number
CN106776268B
CN106776268B CN201610962845.8A CN201610962845A CN106776268B CN 106776268 B CN106776268 B CN 106776268B CN 201610962845 A CN201610962845 A CN 201610962845A CN 106776268 B CN106776268 B CN 106776268B
Authority
CN
China
Prior art keywords
software
profile
task
hardware
comprehensive
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.)
Active
Application number
CN201610962845.8A
Other languages
Chinese (zh)
Other versions
CN106776268A (en
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.)
China Aero Polytechnology Establishment
Original Assignee
China Aero Polytechnology Establishment
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 China Aero Polytechnology Establishment filed Critical China Aero Polytechnology Establishment
Priority to CN201610962845.8A priority Critical patent/CN106776268B/en
Publication of CN106776268A publication Critical patent/CN106776268A/en
Application granted granted Critical
Publication of CN106776268B publication Critical patent/CN106776268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/3684Test management for test design, e.g. generating new test cases
    • 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

Abstract

The invention relates to a display control software and hardware system reliability test excitation method based on profile mapping, which comprises the steps of firstly determining a software reliability test profile and a comprehensive environment stress profile, then combining the software reliability test profile with the comprehensive environment stress profile by utilizing the profile mapping to form a software and hardware reliability comprehensive test profile, and generating test excitation by utilizing the comprehensive test profile; the test excitation generated by the comprehensive test profile truly reflects the correlation between software operation and external environment condition change, test risks and resource waste caused by the fact that a software reliability test and a hardware reliability test are respectively carried out are avoided, the reliability of a product is verified through one test while the test cost is reduced, and the feasibility, the rationality and the effectiveness of the method are shown by the test embodiment results.

Description

Display control software and hardware system reliability test excitation method based on profile mapping
Technical Field
The invention discloses a display control software and hardware system reliability test excitation method based on profile mapping, and belongs to the technical field of control.
Background
The existing method for generating the excitation for the reliability test of the software and hardware system has many problems in the implementation process, and mainly comprises the following aspects:
1) the hardware reliability test and the software test of the product are respectively carried out: the reliability test work of developing the aviation airborne electronic product at present is internal, mainly includes the content of two parts: the first part is to carry out a reliability identification test on hardware to verify whether the reliability of the hardware (MTBF) can meet the requirement; and the second part is to perform software test on the software, and the reliability level of the software is improved through the software test. At present, hardware tests and software tests are independently carried out, and meanwhile, the attention degrees of the reliability of the hardware and the software are greatly different. Aiming at an airborne electronic product with high integration and high integration, the system function of which is mainly realized by software, the reliability of hardware and the reliability of software need to be synchronously considered in developing a reliability test;
2) failure to apply valid software stimuli in hardware reliability tests: at present, in the test flight and the actual use of an aircraft outfield, the faults are caused by hardware and software. With the rapid popularization of computer technology, more and more functions of products are realized by software, and the following problems are that system faults caused by the software are gradually increased, at present, many of external field faults are caused by the software, and the software becomes a factor with non-negligible system reliability, so that the hardware and the software are considered in the verification of the product reliability. In the conventional reliability test, hardware is mainly checked, but for software, only one scene is repeatedly used in the reliability test, an excitation condition cannot truly simulate the use state of the software, the software is not effectively checked, the actual use scene of a system cannot be simulated, and the authenticity of the reliability test result is influenced.
Therefore, software excitation is applied to increase test cases based on the real use scene of the system in a reliability test, reliability indexes of the system in the actual use environment and the working state are inspected, the reliability test result is more real, and the product quality is finally ensured.
Disclosure of Invention
The invention provides a display control software and hardware system reliability test excitation method based on profile mapping aiming at the defects in the prior art, and the purpose of the method comprises the following aspects:
1) aiming at the defects of the traditional hardware reliability test and the software reliability test, the software and hardware reliability comprehensive test method based on the profile mapping is provided, so that the test cost is reduced, and the reliability of the product can be verified through one test;
2) the comprehensive test profile of the reliability of the software and the hardware established by the construction method can truly reflect the actual use condition of the product;
3) and the formalized description of the comprehensive test profile construction method is utilized, and the formalized description is convenient for developing tool prototypes and the like, so that the automation of the reliability comprehensive test profile construction and the excitation generation of the software and hardware system can be realized.
The purpose of the invention is realized by the following technical scheme:
the invention provides a display control software and hardware system reliability test excitation method based on profile mapping, wherein the display control software and hardware system serving as a tested product is used for finishing information display, health condition monitoring and working mode control of airplane interception equipment, and is characterized in that: the method comprises the following steps:
step one, obtaining a task profile
The task profile describes various system tasks required to be completed by the display control software and hardware system, and is defined as a quadruple Mp ═ mi,prei,msgi,piIn which m isiFor the ith system task, preiFor the system task execution order, msgiFor system task information, piFor the system task execution frequency, the task profile is obtained by adopting the following algorithm:
1.1: according to the system specification of a display control software and hardware system, determining the crosslinking equipment and a user MINfo ═ msgj,j=1,…,m};
1.2: determining a system task list Msq (t) according to tasks required to be completed by the display control software and hardware systemi,i=1,…,n};
1.3: according to the specification of a display control software and hardware system, determining a system task execution sequence pre and a system task execution frequency p, and constructing a task profile Mp;
step two, determining a software task profile
When the software task profile describes the task of the display control software and hardware system, the software task is defined as the quadruple STp { sm ═ smi,sprei,smsgi,spiIn which smiFor the ith software task, spreiFor software task execution order, smsgiFor software task information, spiFor the execution frequency of the software task, a mapping function between the system task and the software task is defined as m: sm → ft (sm), and a software task profile is determined by adopting the following algorithm:
2.1: determining a software task list SMsq { st ═ st according to a task profile and a software development task bookiI 1, …, k, and software task information smsgi
2.2: establishing a mapping function ft (sm) according to software tasks contained in system tasks;
2.3: according to the system task execution sequence pre and the system task execution frequency in the task profilep, determining the execution sequence spre of the software tasksiAnd software task execution frequency spiConstructing a software task profile STp;
step three, constructing a functional section
The functional profile is used for describing software functions involved in the completion of software tasks, and is defined as a quadruple SFp ═ sfi,sfprei,sfmsgi,sfpiIn which sfiFor the ith software function, sfpreiFor software function execution order, sfmsgiFor software function information, sfpiFor the execution frequency of the software function, a mapping function between the software task and the software function is defined as sm: sf → fs (sf), and a functional profile is constructed by adopting the following algorithm:
3.1: according to the software requirement specification, determining a software function list SFsq ═ { sf ═ sfiI ═ 1, …, l }, and function information sfmsgi
3.2: according to the software function related to the software task, establishing a mapping function fs (sf) between the software task and the software function;
3.3: performing a sequence spre according to software tasks in a software task profileiAnd software task execution frequency spiDetermining the software function execution order sfpreiAnd software function execution frequency sfpiConstructing a software functional profile SFp;
step four, constructing an operation section
The operation profile is a software operation involved in describing the completion of software functions, and is defined as quintuple SOp ═ { soi,soprei,soti,somsgi,sopiIn which soiFor the ith software operation, sopreiFor software operation execution sequence, somsgiFor software operating information, sotiFor the distribution of the input data InputValue in software operations with respect to time t, sopiFor the execution frequency of the software operation, the mapping function between the software function and the software operation is defined as sf: so → fo (so), and the operation profile is constructed by the following algorithm:
4.1: determining software functionality based on software design specificationsInput space Ψ' ═ u InputValuel1, …, r, and the distribution sot of the input data InputValue over time t;
4.2: according to the input space psi ═ InputValuel1, …, r, determining a software operation list SOsq { soiI ═ 1, …, w }, and software operation information somsgi
4.3: establishing a mapping function fo (so) between the software functions and the software operations according to the software operations contained in the software functions;
4.4: performing sfpre in order according to software function in software function profileiAnd software function execution frequency sfpiDetermining a software operation execution sequence sopreiAnd software operation execution frequency sopiConstructing a software operation profile SOp;
step five, determining the stress profile of the hardware comprehensive environment
The hardware comprehensive environmental stress profile is used for describing the relation between environmental parameters used in a reliability test and time, the hardware comprehensive environmental stress profile is defined as a quadruple Hp ═ { ht, hv, hh, hl }, wherein ht is the execution time of the reliability test, hv is the electrical stress varying with the execution time, hh is the temperature stress varying with the execution time, hl is the vibration stress varying with the execution time, and the hardware comprehensive environmental stress profile is determined by adopting the following algorithm:
5.1: establishing a hardware integrated environment stress profile Hp (ht, hv, hh, hl) according to a GJB 899A-2009 hardware integrated environment stress profile construction method;
step six, integrating software and hardware sections
The comprehensive software and hardware section is obtained according to a mapping function m between the task section and the software section, so → f (so) and the task section Mp ═ mi,prei,msgi,piMatching the software profile with the hardware comprehensive environment stress profile to obtain a comprehensive software and hardware test profile, wherein the comprehensive software and hardware test profile is defined as a hexahydric group SHp ═ soi,hti,hvi,hhi,hli,shpiIn which soiFor the ith softwareOperation, htiExecution time, hv, for the ith software operationiFor the electrical stress in the execution time, hhiFor the temperature stress in the execution time, hliFor the vibration stress in the execution time, shpiThe frequency for which it is executed; mapping function between task profile and hardware integrated environmental stress profileThe comprehensive software and hardware profiles are synthesized by adopting the following algorithm:
6.1: determining the corresponding relation m between a hardware comprehensive environment stress profile Hp ═ { ht, hv, hh, hl } and each task in a task profile, Hp → fh (Hp), and segmenting the hardware comprehensive environment stress profile by using the corresponding relation;
6.2: according to the execution time sequence, according to the corresponding relation between the hardware comprehensive environment stress profile and each task in the task profile and the mapping function between the system task and the software profile, determining the mapping function hp between the software profile and the hardware comprehensive environment stress profile, so → fhp (so), and determining the software operation so corresponding to each section of the comprehensive stress profileiAnd determining the operation probability shp of each softwarei
6.3: repeating the software selection operation until the total software operation duration Σ ht corresponding to each section of the comprehensive stress profileiIs consistent with the comprehensive stress profile of each section;
theorem 1: the mapping function between the software profile and the hardware integrated environmental stress profile is hp → so → f (so) ═ fh-1(ft(fs(fo(so))))。
And (3) proving that: hp, so → f (so) ═ hp, m, sm, sf, so → fh-1(ft(fs(fo(so))))
Step seven, determining software excitation
The software excitation is to determine the specific content, quantity and application sequence of software input according to the comprehensive software and hardware profile, and the software excitation is determined by adopting the following algorithm:
7.1: according to the comprehensive stress profile hpiAnd mapping function fhp (so) to obtain corresponding software operation profileSOp, selecting operation in a random sampling mode;
7.2: determining operation specific input data InputValue according to the distribution situation sot of the input data InputValue with respect to time;
7.3: and repeating the extraction until the software excitation duration is consistent with the duration of each section of the comprehensive stress profile, and stopping.
The method integrates software reliability test and hardware reliability test, firstly determines a software reliability test profile (comprising a task profile, a software task profile, a function profile and an operation profile) and an integrated environment stress profile, and then combines the software reliability test profile and the integrated environment stress profile by using profile mapping to form a software and hardware reliability integrated test profile; the comprehensive test profile truly reflects the correlation between software operation and external environment condition change, avoids test risks and resource waste caused by the fact that software reliability tests and hardware reliability tests are respectively carried out, reduces test cost, and simultaneously realizes that the reliability of a product is verified through one test. Meanwhile, the formal description of the comprehensive test profile construction method is provided, and the formal description is convenient for developing tool prototypes and the like, so that the automation of the reliability comprehensive test profile construction and excitation generation of the software and hardware system can be realized.
Drawings
FIG. 1 is a block diagram of the process of generating the excitation for the reliability test of the display control software and hardware system in the method of the present invention
FIG. 2 is a hardware comprehensive environmental stress profile for reliability test excitation of display control software and hardware system in the method of the present invention
FIG. 3 is a comprehensive software and hardware profile for performing reliability test excitation on a display control software and hardware system in the method of the present invention
FIG. 4 is a list of tasks, functions, and operations for reliability test excitation of display control software and hardware systems in the method of the present invention
FIG. 5 is a table showing the correspondence between the operation and test procedures for performing the reliability test excitation on the display control software and hardware system in the method of the present invention
Detailed Description
The technical scheme of the invention is further detailed in the following by combining the drawings and the embodiment:
examples
The display control software and hardware system in the embodiment mainly completes the functions of system information comprehensive display, system health condition monitoring, system working state and working mode control, task management, real-time data recording, man-machine interaction, centralized power-up and the like. The tasks of the display control software and hardware system comprise:
a) preparation before flight: the method comprises the steps of power-on self-test of the equipment and task loading.
b) Climbing: after the airplane takes off, the system is powered on in a centralized manner, and the system enters an operation interface to check the system condition and navigation information.
c) Cruising: and performing task related operation through a control interface.
d) Returning: and unloading data and shutting down the system.
The software functions of the display control software and hardware system comprise: centralized power-on control, system information comprehensive display, system health condition monitoring, system working state and working mode control, task management, real-time data recording and man-machine interaction. The system tasks, software functions, and software operations are shown in fig. 4.
Referring to the attached fig. 1, the method for exciting the reliability test of the display control software and hardware system based on the profile mapping comprises the following steps:
step one, obtaining a task profile
The task profile describes various system tasks required to be completed by the display control software and hardware system, and is defined as a quadruple Mp ═ mi,prei,msgi,piIn which m isiFor the ith system task, preiFor the system task execution order, msgiFor system task information, piFor the system task execution frequency, the task profile is obtained by adopting the following algorithm:
1.1: according to the system specification of a display control software and hardware system, determining the crosslinking equipment and a user MINfo ═ msgj,j=1,…,m};
1.2: root of herbaceous plantDetermining system task list Msq (t) according to tasks needed to be completed by display control software and hardware systemi,i=1,…,n};
1.3: according to the specification of a display control software and hardware system, determining a system task execution sequence pre and a system task execution frequency p, and constructing a task profile Mp;
the algorithm in the first step is realized by the following program (task profile related part):
step two, determining a software task profile
Software task profile description display control software and hardware system to complete taskThe software task is defined as a quadruple STp ═ smi,sprei,smsgi,spiIn which smiFor the ith software task, spreiFor software task execution order, smsgiFor software task information, spiFor the execution frequency of the software task, a mapping function between the system task and the software task is defined as m: sm → ft (sm), and a software task profile is determined by adopting the following algorithm:
2.1: determining a software task list SMsq { st ═ st according to a task profile and a software development task bookiI 1, …, k, and software task information smsgi
2.2: establishing a mapping function ft (sm) according to software tasks contained in system tasks;
2.3: determining a software task execution sequence spre according to a system task execution sequence pre and a system task execution frequency p in a task profileiAnd software task execution frequency spiConstructing a software task profile STp;
the above algorithm is implemented by a program (relevant part of software task profile) in step one.
Step three, constructing a functional section
The functional profile is used for describing software functions involved in the completion of software tasks, and is defined as a quadruple SFp ═ sfi,sfprei,sfmsgi,sfpiIn which sfiFor the ith software function, sfpreiFor software function execution order, sfmsgiFor software function information, sfpiFor the execution frequency of the software function, a mapping function between the software task and the software function is defined as sm: sf → fs (sf), and a functional profile is constructed by adopting the following algorithm:
3.1: according to the software requirement specification, determining a software function list SFsq ═ { sf ═ sfiI ═ 1, …, l }, and function information sfmsgi
3.2: according to the software function related to the software task, establishing a mapping function fs (sf) between the software task and the software function;
3.3: root of herbaceous plantAccording to the software task execution sequence spre in the software task profileiAnd software task execution frequency spiDetermining the software function execution order sfpreiAnd software function execution frequency sfpiConstructing a software functional profile SFp;
the above algorithm is implemented by a program (relevant part of the functional profile) in step one.
Step four, constructing an operation section
The operation profile is a software operation involved in describing the completion of software functions, and is defined as quintuple SOp ═ { soi,soprei,soti,somsgi,sopiIn which soiFor the ith software operation, sopreiFor software operation execution sequence, somsgiFor software operating information, sotiFor the distribution of the input data InputValue in software operations with respect to time t, sopiFor the execution frequency of the software operation, the mapping function between the software function and the software operation is defined as sf: so → fo (so), and the operation profile is constructed by the following algorithm:
4.1: according to the software design description, determining the input space psi ═ InputValue of the software functionl1, …, r, and the distribution sot of the input data InputValue over time t;
4.2: according to the input space psi ═ InputValuel1, …, r, determining a software operation list SOsq { soiI ═ 1, …, w }, and software operation information somsgi
4.3: establishing a mapping function fo (so) between the software functions and the software operations according to the software operations contained in the software functions;
4.4: performing sfpre in order according to software function in software function profileiAnd software function execution frequency sfpiDetermining a software operation execution sequence sopreiAnd software operation execution frequency sopiConstructing a software operation profile SOp;
the above algorithm is implemented by a procedure (operation profile related part) in step one.
Step five, determining the stress profile of the hardware comprehensive environment
The hardware comprehensive environmental stress profile is used for describing the relation between environmental parameters used in a reliability test and time, the hardware comprehensive environmental stress profile is defined as a quadruple Hp ═ { ht, hv, hh, hl }, wherein ht is the execution time of the reliability test, hv is the electrical stress varying with the execution time, hh is the temperature stress varying with the execution time, hl is the vibration stress varying with the execution time, and the hardware comprehensive environmental stress profile is determined by adopting the following algorithm:
5.1: establishing a hardware integrated environment stress profile Hp (ht, hv, hh, hl) according to a GJB 899A-2009 hardware integrated environment stress profile construction method;
the above algorithm obtains a hardware integrated environmental stress profile as shown in fig. 2.
Step six, integrating software and hardware sections
The comprehensive software and hardware section is obtained according to a mapping function m between the task section and the software section, so → f (so) and the task section Mp ═ mi,prei,msgi,piMatching the software profile with the hardware comprehensive environment stress profile to obtain a comprehensive software and hardware test profile, wherein the comprehensive software and hardware test profile is defined as a hexahydric group SHp ═ soi,hti,hvi,hhi,hli,shpiIn which soiFor the ith software operation, htiExecution time, hv, for the ith software operationiFor the electrical stress in the execution time, hhiFor the temperature stress in the execution time, hliFor the vibration stress in the execution time, shpiThe frequency for which it is executed; mapping function between task profile and hardware integrated environmental stress profileThe comprehensive software and hardware profiles are synthesized by adopting the following algorithm:
6.1: determining the corresponding relation m between a hardware comprehensive environment stress profile Hp ═ { ht, hv, hh, hl } and each task in a task profile, Hp → fh (Hp), and segmenting the hardware comprehensive environment stress profile by using the corresponding relation;
6.2: according to the execution time sequence, according to the corresponding relation between the hardware comprehensive environment stress profile and each task in the task profile and the mapping function between the system task and the software profile, determining the mapping function hp between the software profile and the hardware comprehensive environment stress profile, so → fhp (so), and determining the software operation so corresponding to each section of the comprehensive stress profileiAnd determining the operation probability shp of each softwarei
6.3: repeating the software selection operation until the total software operation duration Σ ht corresponding to each section of the comprehensive stress profileiIs consistent with the comprehensive stress profile of each section;
a schematic cross-sectional view of the integrated software and hardware is shown in fig. 3, the corresponding relation of the implementation program files of the software operation related to the above algorithm is shown in fig. 5, the following implementation program is given by taking the operation of "map display setting" in fig. 5 as an example, and other operations and experimental programs in the operation cross-section are shown in fig. 5 correspondingly.
Step seven, determining software excitation
The software excitation is to determine the specific content, quantity and application sequence of software input according to the comprehensive software and hardware profile, and the software excitation is determined by adopting the following algorithm:
7.1: according to the comprehensive stress profile hpiAnd mapping function fhp (so) to obtain corresponding software testing profile SHp, and selecting operation in a random sampling mode;
7.2: determining operation specific input data InputValue according to the distribution situation sot of the input data InputValue with respect to time;
7.3: and repeating the extraction until the software excitation duration is consistent with the duration of each section of the comprehensive stress profile, and stopping.
The above algorithm is implemented by the program (determining the relevant part of the software stimulus) in step six.
And writing a test program according to the determined test profile and the test data extraction algorithm, and automatically generating test excitation data by using the test program to obtain 14490 test cases in total. The number of problems in the test is 54 times, and typical problems can be analyzed and counted as the following types: 1) corresponding distance rings cannot be arranged at intervals of partial argument; 2) partial data file unloading fails; 3) when the map display operation is carried out, the system exits abnormally; 4) database exception disconnection, etc. The display control system is tested, the software and hardware reliability comprehensive test is carried out by using the provided test excitation generation method, and the test process and the test result show that the actual use method and the working scene of the software and hardware reliability test excitation generation method are considered, so that the actual working state of the product is reflected more truly by the test method and the use working condition of the product, the problem of influencing the product reliability is effectively found, the comprehensive test result is more true, and the reliability level of the product is improved.

Claims (1)

1. A display control software and hardware system reliability test excitation method based on profile mapping, the display control software and hardware system as a tested product completes information display, health condition monitoring and working mode control of airplane airborne equipment, and is characterized in that: the method comprises the following steps:
step one, obtaining a task profile
The task profile describes various system tasks to be completed by the display control software and hardware system, and the task profile definesIs a quadruplet Mp ═ mi,prei,msgi,piIn which m isiFor the ith system task, preiFor the system task execution order, msgiFor system task information, piFor the system task execution frequency, the task profile is obtained by adopting the following algorithm:
1.1: according to the system specification of a display control software and hardware system, determining the crosslinking equipment and a user MINfo ═ msgj,j=1,…,m};
1.2: determining a system task list Msq (t) according to tasks required to be completed by the display control software and hardware systemi,i=1,…,n};
1.3: according to the specification of a display control software and hardware system, determining a system task execution sequence pre and a system task execution frequency p, and constructing a task profile Mp;
step two, determining a software task profile
When the software task profile describes the task of the display control software and hardware system, the software task is defined as the quadruple STp { sm ═ smi,sprei,smsgi,spiIn which smiFor the ith software task, spreiFor software task execution order, smsgiFor software task information, spiFor the execution frequency of the software task, a mapping function between the system task and the software task is defined as m: sm → ft (sm), and a software task profile is determined by adopting the following algorithm:
2.1: determining a software task list SMsq { st ═ st according to a task profile and a software development task bookiI 1, …, k, and software task information smsgi
2.2: establishing a mapping function ft (sm) according to software tasks contained in system tasks;
2.3: determining a software task execution sequence spre according to a system task execution sequence pre and a system task execution frequency p in a task profileiAnd software task execution frequency spiConstructing a software task profile STp;
step three, constructing a functional section
Functional Profile is descriptive softwareThe software function involved in task completion is defined as a quadruple SFp { sf ═ sfi,sfprei,sfmsgi,sfpiIn which sfiFor the ith software function, sfpreiFor software function execution order, sfmsgiFor software function information, sfpiFor the execution frequency of the software function, a mapping function between the software task and the software function is defined as sm: sf → fs (sf), and a functional profile is constructed by adopting the following algorithm:
3.1: according to the software requirement specification, determining a software function list SFsq ═ { sf ═ sfiI ═ 1, …, l }, and function information sfmsgi
3.2: according to the software function related to the software task, establishing a mapping function fs (sf) between the software task and the software function;
3.3: performing a sequence spre according to software tasks in a software task profileiAnd software task execution frequency spiDetermining the software function execution order sfpreiAnd software function execution frequency sfpiConstructing a software functional profile SFp;
step four, constructing an operation section
The operation profile is a software operation involved in describing the completion of software functions, and is defined as quintuple SOp ═ { soi,soprei,soti,somsgi,sopiIn which soiFor the ith software operation, sopreiFor software operation execution sequence, somsgiFor software operating information, sotiFor the distribution of the input data InputValue in software operations with respect to time t, sopiFor the execution frequency of the software operation, the mapping function between the software function and the software operation is defined as sf: so → fo (so), and the operation profile is constructed by the following algorithm:
4.1: according to the software design description, determining the input space psi ═ InputValue of the software functionl1, …, r, and the distribution sot of the input data InputValue over time t;
4.2: according to the input space psi ═ InputValuel1, …, r, determining a software operation list SOsq { soiI ═ 1, …, w }, and software operation information somsgi
4.3: establishing a mapping function fo (so) between the software functions and the software operations according to the software operations contained in the software functions;
4.4: performing sfpre in order according to software function in software function profileiAnd software function execution frequency sfpiDetermining a software operation execution sequence sopreiAnd software operation execution frequency sopiConstructing a software operation profile SOp;
step five, determining the stress profile of the hardware comprehensive environment
The hardware comprehensive environmental stress profile is used for describing the relation between environmental parameters used in a reliability test and time, the hardware comprehensive environmental stress profile is defined as a quadruple Hp ═ { ht, hv, hh, hl }, wherein ht is the execution time of the reliability test, hv is the electrical stress varying with the execution time, hh is the temperature stress varying with the execution time, hl is the vibration stress varying with the execution time, and the hardware comprehensive environmental stress profile is determined by adopting the following algorithm:
5.1: establishing a hardware integrated environment stress profile Hp (ht, hv, hh, hl) according to a GJB 899A-2009 hardware integrated environment stress profile construction method;
step six, integrating software and hardware sections
The comprehensive software and hardware section is obtained according to a mapping function m between the task section and the software section, so → f (so) and the task section Mp ═ mi,prei,msgi,piMatching the software profile with the hardware comprehensive environment stress profile to obtain a comprehensive software and hardware test profile, wherein the comprehensive software and hardware test profile is defined as a hexahydric group SHp ═ soi,hti,hvi,hhi,hli,shpiIn which soiFor the ith software operation, htiExecution time, hv, for the ith software operationiFor the electrical stress in the execution time, hhiFor the temperature stress in the execution time, hliFor the vibration stress in the execution time, shpiThe frequency for which it is executed; task profiling and hardwareMapping function between synthetic environmental stress profilesThe comprehensive software and hardware profiles are synthesized by adopting the following algorithm:
6.1: determining the corresponding relation m between a hardware comprehensive environment stress profile Hp ═ { ht, hv, hh, hl } and each task in a task profile, Hp → fh (Hp), and segmenting the hardware comprehensive environment stress profile by using the corresponding relation;
6.2: according to the execution time sequence, according to the corresponding relation between the hardware comprehensive environment stress profile and each task in the task profile and the mapping function between the system task and the software profile, determining the mapping function hp between the software profile and the hardware comprehensive environment stress profile, so → fhp (so), and determining the software operation so corresponding to each section of the comprehensive stress profileiAnd determining the operation probability shp of each softwarei
6.3: repeating the software selection operation until the total software operation duration Σ ht corresponding to each section of the comprehensive stress profileiIs consistent with the comprehensive stress profile of each section;
step seven, determining software excitation
The software excitation is to determine the specific content, quantity and application sequence of software input according to the comprehensive software and hardware profile, and the software excitation is determined by adopting the following algorithm:
7.1: according to the comprehensive stress profile hpiAnd mapping function fhp (so) to obtain corresponding software operation profile SOp, and selecting operation in a random sampling mode;
7.2: determining operation specific input data InputValue according to the distribution situation sot of the input data InputValue with respect to time;
7.3: and repeating the extraction until the software excitation duration is consistent with the duration of each section of the comprehensive stress profile, and stopping.
CN201610962845.8A 2016-11-04 2016-11-04 Display control software and hardware system reliability test excitation method based on profile mapping Active CN106776268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610962845.8A CN106776268B (en) 2016-11-04 2016-11-04 Display control software and hardware system reliability test excitation method based on profile mapping

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610962845.8A CN106776268B (en) 2016-11-04 2016-11-04 Display control software and hardware system reliability test excitation method based on profile mapping

Publications (2)

Publication Number Publication Date
CN106776268A CN106776268A (en) 2017-05-31
CN106776268B true CN106776268B (en) 2019-12-24

Family

ID=58972487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610962845.8A Active CN106776268B (en) 2016-11-04 2016-11-04 Display control software and hardware system reliability test excitation method based on profile mapping

Country Status (1)

Country Link
CN (1) CN106776268B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096426A (en) * 2019-03-15 2019-08-06 北京航空航天大学 Software test section method for building up under the conditions of a kind of environmental load
CN111680395B (en) * 2020-04-27 2023-05-26 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Reliability comprehensive verification test method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662841A (en) * 2012-04-01 2012-09-12 北京航空航天大学 Constitution method of comprehensive reliability testing profile for both software and hardware
CN103914353A (en) * 2014-04-17 2014-07-09 北京航空航天大学 Combined test method for combining software reliability tests with hardware reliability tests

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150026664A1 (en) * 2013-07-17 2015-01-22 International Business Machines Corporation Method and system for automated test case selection

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662841A (en) * 2012-04-01 2012-09-12 北京航空航天大学 Constitution method of comprehensive reliability testing profile for both software and hardware
CN103914353A (en) * 2014-04-17 2014-07-09 北京航空航天大学 Combined test method for combining software reliability tests with hardware reliability tests

Also Published As

Publication number Publication date
CN106776268A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN111190820B (en) Configuration item test platform construction method and test method for display control software
US8606538B2 (en) Method of testing an electronic system
Finelli NASA software failure characterization experiments
CN110633206A (en) System and method for automation requirement-based test case generation based on equivalence class analysis
CN111176999B (en) Test platform construction method and test method of unmanned aerial vehicle flight control management software
EP3379436B1 (en) Method and apparatus for testing design of satellite wiring harness and signal processing units
US20070050166A1 (en) Method and system for simulating test instruments and instrument functions
US20160170868A1 (en) Method and apparatus for the automated testing of a subsystem of a safety critical system
CN106776268B (en) Display control software and hardware system reliability test excitation method based on profile mapping
Jiménez et al. Checklists for compliance to DO-178C and DO-278A standards
Rodriguez-Navas et al. Offline analysis of independent guarded assertions in automotive integration testing
CN111190821B (en) Test platform construction method and test method of cabin door integrated management software
US11487920B2 (en) Generating a debris model for a structure
Van Langenhove et al. Using MSC/NASTRAN and LMS/Pretest to find an optimal sensor placement for modal identification and correlation of aerospace structures
YADAV et al. SOFTWARE TESTING.
JPWO2016151710A1 (en) Specification configuration apparatus and method
Gerlach et al. Model integration workflow for keeping models up to date in a research simulator
EP3608786B1 (en) Systems and methods of requirements chaining and applications thereof
US9183331B1 (en) Formalizing IP driver interface
CN112699031B (en) Method for testing partition software architecture
US20170287349A1 (en) Method and system for updating a simulation plan for training personnel on system maintenance
CN116432442A (en) Three-dimensional integrated evaluation method for ground facility equipment of space launching field
Srinivasan et al. Requirement-Based Test Approach and Traceability for High-Integrity Airborne Embedded Systems
CN117597669A (en) Test method, system and device
Smith Software Everyware

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
GR01 Patent grant
GR01 Patent grant