Modeling simulation data excitation method

By obtaining the scenario numbers and fault data of the aviation cockpit HUD system, constructing test sequences and packages, and setting startup conditions, the problems of repeated testing and incompatibility in random stimulus generation were solved, achieving efficient and accurate test verification.

CN120704970AActive Publication Date: 2025-09-26CHINESE AERONAUTICAL RADIO ELECTRONICS RES INST +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510758743.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-09
Publication Date
2025-09-26
Estimated Expiration
2045-06-09

AI Technical Summary

Technical Problem

Existing random stimulus generation technology produces a large number of repeated test stimuli in the simulation verification of aviation cockpit head-up display systems, resulting in low verification efficiency and the inability to set an adaptive test stimulus scheme based on the actual situation of the object to be tested.

Method used

By obtaining the scenario number of the scenario to be tested, analyzing the fault data, building the test sequence and test package, setting the start conditions of the test items according to the historical test list, and using temporary files and start identifiers to ensure the accurate activation of the test items.

Benefits of technology

It improves verification efficiency, avoids repeated test stimuli, ensures that the test plan is compatible with the object to be tested, and achieves more efficient and accurate testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120704970A_ABST
    Figure CN120704970A_ABST
Patent Text Reader

Abstract

The invention discloses a data excitation method for modeling simulation, relates to the technical field of aviation cockpit head-up display, and solves the problems that a large amount of repeated test excitation is generated when a current random excitation generation technology is used, and an adaptive test excitation scheme cannot be set according to the actual condition of a to-be-tested object. The method comprises the steps of obtaining fault data of the aviation cockpit head-up display system in different to-be-detected scenes according to scene numbers; analyzing to obtain test sequences of the aviation cockpit head-up display system in different to-be-tested scenes; constructing test packages of the aviation cockpit head-up display system in different to-be-tested scenes; the aviation cockpit head-up display system is tested and analyzed in different to-be-tested scenes, the functions of the aviation cockpit head-up display system in the different to-be-tested scenes are verified, a large amount of repeated test excitation can be prevented from being generated in the excitation test, the verification efficiency is improved, and the test time is shortened. Meanwhile, a test excitation scheme matched with the to-be-tested object is set according to the actual situation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of aviation cockpit head-up displays, and in particular relates to a data excitation method for modeling and simulation. Background Art

[0002] The aviation cockpit HUD system is a technology that integrates display and control systems. It is mainly used for real-time monitoring, data acquisition, human-computer interaction and other functions. It is mainly used in industrial automation, aerospace, military applications, transportation and other aspects. When simulating and modeling the aviation cockpit HUD system data, the data stimulus generation technology of modeling and simulation is usually used. Among them, the data stimulus generation technology simulates the real device sending instructions or data to the device under test (aviation cockpit HUD system), and verifies whether the function of the device under test (aviation cockpit HUD system) is normal by analyzing the response of the device under test (aviation cockpit HUD system);

[0003] Currently, there are two main data stimulus generation technologies used in simulation verification: directed stimulus generation technology and random stimulus generation technology. Random stimulus generation technology generates verification stimuli in a random manner through a program. Although this method can reduce manual workload and lower the error rate, it generates a large number of repeated test stimuli when used. This leads to repeated test stimuli, which, to a certain extent, reduces verification efficiency. Moreover, the current test method for random stimulus generation technology cannot set a test stimulus scheme that is compatible with the object under test based on its actual situation.

[0004] To this end, the present invention proposes a data excitation method for modeling and simulation. Summary of the Invention

[0005] The purpose of the present invention is to propose a data excitation method for modeling and simulation to solve the problem that the current random excitation generation technology proposed in the above background technology generates verification stimuli in a random manner through a program. Although this method can reduce manual workload and reduce the error rate, a large number of repeated test stimuli will be generated when random excitation is used, resulting in repeated test stimuli, which will also reduce the verification efficiency to a certain extent; moreover, for the test method of the current random excitation generation technology, it is impossible to set a test excitation scheme that is compatible with the object to be tested based on the actual situation of the object to be tested.

[0006] The purpose of the present invention can be achieved through the following technical solutions:

[0007] A data incentive method for modeling and simulation, the method comprising:

[0008] Step S10, obtaining the scene number of the scene to be tested, and obtaining the fault data of the aviation cockpit head-up display system in different scenes to be tested according to the scene number;

[0009] Step S20, obtaining a test sequence of the aviation cockpit head-up display system in different test scenarios based on the fault data analysis;

[0010] Step S30 , constructing a test package for the aviation cockpit HUD system in different test scenarios based on a historical test list of similar aviation cockpit HUD systems;

[0011] Step S40 , testing and analyzing the aviation cockpit HUD system in different test scenarios using the test package, verifying the functions of the aviation cockpit HUD system in different test scenarios and generating a normal test signal or an abnormal test signal.

[0012] As a further technical solution of the present invention, the fault data is the number of test faults of the aviation cockpit head-up display system in the test scenario, the fault repair time during each test, and the important coefficients of the test scenario.

[0013] As a further technical solution of the present invention, step S20 includes the following sub-steps:

[0014] Step S201, obtaining the number of test failures in different test scenarios and the fault repair time during each test;

[0015] Step S202: Adding the fault repair time in each test and averaging the sum to obtain the average fault repair time of the tested scenario;

[0016] Step S203, then obtaining the important coefficients of the scene to be tested;

[0017] Step S204 calculates test sequence values ​​of the aviation cockpit HUD system in different test scenarios;

[0018] Step S205 , sorting the test sequence values ​​in descending order according to their numerical values ​​to obtain a test sequence for the aviation cockpit head-up display system.

[0019] As a further technical solution of the present invention, step S30 includes the following sub-steps:

[0020] Step S301, obtaining a historical test list of similar aviation cockpit HUD systems;

[0021] Step S302 , obtaining test items for the same type of aviation cockpit HUD system in different test scenarios and test data for each group of test items based on a historical test list;

[0022] Step S303: extracting necessary test items for the aviation cockpit HUD system in different test scenarios from the historical test list. After extracting the necessary test items, group the same test items into the same set. Count the number of test items in the set and divide the result by the number of tests for the aviation cockpit HUD system to obtain the test rate of the test items for the aviation cockpit HUD system in different test scenarios.

[0023] In step S304, the test rate is compared with the preset test rate. If the test rate is greater than or equal to the preset test rate, the corresponding test item is recorded as a test item to be selected and the process proceeds to the next step. Otherwise, no operation is performed.

[0024] As a further technical solution of the present invention, the test data includes the test items and the test values ​​during the test.

[0025] As a further technical solution of the present invention, step S30 further includes the following sub-steps:

[0026] Step S305: traverse and compare the test values ​​corresponding to the test items to be selected, obtain the maximum and minimum values ​​among the test values ​​corresponding to the test items to be selected, use the minimum value as the left endpoint of the interval, and the maximum value as the right endpoint of the interval, to obtain the standard test value interval corresponding to the test items to be selected in different test scenarios for the aviation cockpit head-up display system;

[0027] Step S306: Similarly, multiple groups of test items to be selected and necessary test items and standard test value intervals corresponding to the multiple groups of test items to be selected and necessary test items are obtained;

[0028] In step S307, after sorting the test items to be selected from high to low according to the test rate, all the test items to be selected and necessary test items, as well as the standard test value ranges corresponding to all the test items to be selected and necessary test items, together constitute a test package for the aviation cockpit HUD system in different test scenarios.

[0029] As a further technical solution of the present invention, step S40 includes the following sub-steps:

[0030] Step S401: Acquire test packages for the aviation cockpit head-up display system under different test scenarios, obtain candidate test items and necessary test items for the aviation cockpit head-up display system under different test scenarios, and obtain standard test value ranges corresponding to the candidate test items and necessary test items;

[0031] Step S402 , performing a test according to necessary test items to obtain real-time test values ​​of the aviation cockpit head-up display system when performing the necessary test items in a test scenario;

[0032] Step S403: If the real-time test value does not fall within the standard test value range, a test abnormality signal is generated;

[0033] If the real-time test value falls within the standard test value range, the next necessary test item of the aviation cockpit head-up display system under the same test scenario is tested until the necessary test items of the aviation cockpit head-up display system under the same test scenario are completed;

[0034] Step S404: After all necessary test items have been tested and passed, the aviation cockpit HUD system is tested for the selected test items in the same test scenario, and real-time test values ​​of the aviation cockpit HUD system when the selected test items are tested in the test scenario are recorded;

[0035] Step S405: If the real-time test value does not belong to the standard test value range, a test abnormality signal is generated;

[0036] If the real-time test value falls within the standard test value range, the next test item to be selected for the aviation cockpit HUD system under the same test scenario will be tested;

[0037] Step S406: When all the test items to be selected have passed the test, the aviation cockpit HUD system is placed in another test scenario to be tested for the necessary test items and the test items to be selected;

[0038] Step S407 : When the aviation cockpit HUD system fails any necessary test item or any optional test item in any test scenario, a test abnormality signal is generated.

[0039] As a further technical solution of the present invention, the method further includes:

[0040] Step S50, setting the start conditions of the items to be tested and the necessary test items;

[0041] Step S60: Identify the temporary file, and perform corresponding test items on the scenario to be tested based on the startup identifier obtained by identification.

[0042] As a further technical solution of the present invention, step S50 includes the following sub-steps:

[0043] Step S501, obtaining the items to be tested and the necessary test items in the test package;

[0044] Step S502: setting temporary files for both the items to be tested and the necessary test items, wherein the temporary files are configured with corresponding startup identifiers;

[0045] Step S503, then start setting encryption means for the temporary file.

[0046] As a further technical solution of the present invention, step S60 includes the following sub-steps:

[0047] Step S601, decrypting the temporary file by a decryption method to obtain a startup identifier corresponding to the temporary file;

[0048] Step S602, comparing the startup identifier with the stored identifier in the database;

[0049] Step S603 , if the start identifier matches the stored identifier, then starting the test item of the aviation cockpit HUD system in the test scenario;

[0050] Step S604: If the startup identifier does not match the storage identifier, no operation is performed.

[0051] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0052] 1. The present invention obtains the scenario number of the scenario to be tested and obtains the test sequence of the aviation cockpit HUD system in different test scenarios based on fault data analysis. At the same time, based on the historical test list of the aviation cockpit HUD system of the same type, a test package of the aviation cockpit HUD system in different test scenarios is constructed. Finally, the test package is used to test and analyze the aviation cockpit HUD system in different test scenarios, verify the function of the aviation cockpit HUD system in different test scenarios, and generate a normal test signal or an abnormal test signal. The present invention can avoid the generation of a large number of repeated test excitations during the excitation test, thereby improving verification efficiency. At the same time, the test method also sets a test excitation scheme adapted to the object to be tested based on the actual situation of the object to be tested;

[0053] 2. The present invention sets the start conditions for the items to be tested and the necessary test items; identifies the temporary file, and based on the start identifier obtained by the identification, enables the aviation cockpit head-up display system to perform the corresponding test items in the test scenario. By setting the start conditions, the present invention can accurately enable the test items stimulated by the test scenario, making the test more accurate and efficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] To facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.

[0055] Figure 1 is a flow chart of the method of the present invention;

[0056] Figure 2 is another method flow chart of the present invention;

[0057] Figure 3 It is a structural diagram of the computer device in the present invention. DETAILED DESCRIPTION

[0058] The technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0059] Example 1, please refer to Figure 1 and Figure 2 As shown, the technical solution provided by the present invention is: a data excitation method for modeling and simulation, which is used to perform simulation tests on an aviation cockpit head-up display system under different test scenarios. To facilitate subsequent use, the test scenario that requires simulation testing of the aviation cockpit head-up display system is designated as the test scenario. The method is specifically as follows:

[0060] Step S10, obtaining the scene number of the scene to be tested, and obtaining the fault data of the aviation cockpit head-up display system in different scenes to be tested according to the scene number;

[0061] Among them, the fault data is the number of test faults of the aviation cockpit HUD system in the test scenario, the fault repair time in each test, and the importance coefficient of the test scenario. The importance coefficient is determined by the usage time or the number of times the aviation cockpit HUD system is used in each test scenario. The test scenario corresponds to the actual usage scenario of the aviation cockpit HUD system, that is, the longer the usage time or the number of times the aviation cockpit HUD system is used in a certain scenario, the larger the corresponding importance coefficient value.

[0062] Step S20, obtaining a test sequence of the aviation cockpit head-up display system in different test scenarios based on the fault data analysis;

[0063] In this embodiment, step S20 includes the following sub-steps:

[0064] Step S201, obtaining the number of test failures Ci and the fault repair time during each test in different test scenarios, where i is the number of the test scenario;

[0065] Step S202: Add up the fault repair time in each test and take the average value to obtain the average fault repair time Ti of the tested scenario;

[0066] Step S203, then obtaining the important coefficients of the scene to be tested, and marking the important coefficients as Xi;

[0067] In step S204, the test sequence values ​​CXi of the aviation cockpit HUD system in different test scenarios are calculated by the formula, which is as follows:

[0068] CXi=(Ci / BC+Ti / BT)×Xi, where BC is the standard value in the same unit as the number of test failures, and BT is the standard value in the same unit as the mean time to repair.

[0069] Step S205 , sorting the test sequence values ​​in descending order according to their numerical values ​​to obtain a test sequence for the aviation cockpit head-up display system.

[0070] Step S30 , constructing a test package for the aviation cockpit HUD system in different test scenarios based on a historical test list of similar aviation cockpit HUD systems;

[0071] In this embodiment, step S30 includes the following sub-steps:

[0072] Step S301, obtaining a historical test list of similar aviation cockpit HUD systems;

[0073] Step S302: Test items for the same type of aviation cockpit head-up display system in different test scenarios and test data for each group of test items are obtained based on the historical test list. The test data includes the test items for the aviation cockpit head-up display system in different test scenarios and the test values ​​during the test. For example, if the test item is a response test item, the test value is the response time. It should be emphasized that the test values ​​are retained after the test passes, and those that fail the test are discarded.

[0074] It should be specifically noted that the test items may be response test items, identification test items, etc.;

[0075] Step S303: extracting necessary test items for the aviation cockpit HUD system in different test scenarios from the historical test list. After extracting the necessary test items, group the same test items into the same set. Count the number of test items in the set and divide the result by the number of tests for the aviation cockpit HUD system to obtain the test rate of the test items for the aviation cockpit HUD system in different test scenarios.

[0076] Step S304: compare the test rate with the preset test rate. If the test rate is greater than or equal to the preset test rate, the corresponding test item is recorded as a candidate test item and the process proceeds to the next step. Otherwise, no operation is performed.

[0077] Step S305: traverse and compare the test values ​​corresponding to the test items to be selected, obtain the maximum and minimum values ​​among the test values ​​corresponding to the test items to be selected, use the minimum value as the left endpoint of the interval, and the maximum value as the right endpoint of the interval, to obtain the standard test value interval corresponding to the test items to be selected in different test scenarios for the aviation cockpit head-up display system;

[0078] Step S306: Similarly, multiple groups of test items to be selected and necessary test items and standard test value intervals corresponding to the multiple groups of test items to be selected and necessary test items are obtained;

[0079] Step S307: After sorting the test items to be selected from high to low according to the test rate, all the test items to be selected and the necessary test items, as well as the standard test value ranges corresponding to all the test items to be selected and the necessary test items, are combined to form a test package for the aviation cockpit head-up display system in different test scenarios;

[0080] If there are candidate test items and necessary test items with the same test rate, the candidate test items and the necessary test items are tested synchronously in a concurrent manner.

[0081] Step S40, testing and analyzing the aviation cockpit HUD system in different test scenarios using the test package, verifying the functions of the aviation cockpit HUD system in different test scenarios and generating a normal test signal or an abnormal test signal;

[0082] In practice, test packages can be sent to the aviation cockpit HUD system by simulating real equipment;

[0083] In this embodiment, step S40 includes the following sub-steps:

[0084] Step S401: Acquire test packages for the aviation cockpit head-up display system under different test scenarios, obtain candidate test items and necessary test items for the aviation cockpit head-up display system under different test scenarios, and obtain standard test value ranges corresponding to the candidate test items and necessary test items;

[0085] Step S402 , performing a test according to necessary test items to obtain real-time test values ​​of the aviation cockpit head-up display system when performing the necessary test items in a test scenario;

[0086] Step S403: If the real-time test value does not fall within the standard test value range, a test abnormality signal is generated;

[0087] If the real-time test value falls within the standard test value range, the next necessary test item of the aviation cockpit head-up display system under the same test scenario is tested until the necessary test items of the aviation cockpit head-up display system under the same test scenario are completed;

[0088] Step S404: After all necessary test items have been tested and passed, the aviation cockpit HUD system is tested for the selected test items in the same test scenario, and real-time test values ​​of the aviation cockpit HUD system when the selected test items are tested in the test scenario are recorded;

[0089] Step S405: If the real-time test value does not belong to the standard test value range, a test abnormality signal is generated;

[0090] If the real-time test value falls within the standard test value range, the next test item to be selected for the aviation cockpit HUD system under the same test scenario will be tested;

[0091] Step S406: When all the test items to be selected have passed the test, the aviation cockpit HUD system is placed in another test scenario to be tested for the necessary test items and the test items to be selected;

[0092] Step S407 , when the aviation cockpit HUD system fails any required test item or any optional test item in any test scenario, a test abnormality signal is generated;

[0093] When the aviation cockpit HUD system passes all necessary test items and optional test items in all test scenarios, a test normal signal is generated.

[0094] After adopting the above technical scheme, by obtaining the scenario number of the scenario to be tested and analyzing the fault data, the test sequence of the aviation cockpit HUD system in different scenarios to be tested is obtained. At the same time, based on the historical test list of the same type of aviation cockpit HUD system, a test package of the aviation cockpit HUD system in different scenarios to be tested is constructed. Finally, the aviation cockpit HUD system in different scenarios to be tested is tested and analyzed through the test package to verify the function of the aviation cockpit HUD system in different scenarios to be tested and generate a normal test signal or an abnormal test signal. This scheme can avoid a large number of repeated test excitations during the excitation test, thereby improving the verification efficiency. At the same time, the test method also sets a test excitation scheme that is adapted to the object to be tested based on the actual situation of the object to be tested.

[0095] As a further embodiment of the present invention, Figure 2 As shown, the present invention also includes the following steps:

[0096] The main purpose of the further solution is to set the start conditions of the test items and necessary test items when testing and analyzing the aviation cockpit head-up display system in different test scenarios through the test package, so as to avoid the erroneous start of other test items and the resulting decrease in test efficiency;

[0097] Step S50: Setting the start conditions of the items to be tested and the necessary test items. The setting process is as follows:

[0098] Step S501, obtaining the items to be tested and the necessary test items in the test package;

[0099] Step S502: Setting temporary files for the test items and the necessary test items. The temporary files are configured with corresponding startup identifiers. The temporary files are temporary texts with time validity. Each test item is set with a corresponding and unique startup identifier.

[0100] Step S503, then set encryption means for temporary file startup; the encryption means is a prior art, and the existence of the encryption means is to prevent the startup identifier in the temporary file from being tampered with.

[0101] Step S60: identifying the temporary file, and according to the startup identifier obtained by the identification, causing the aviation cockpit head-up display system to perform corresponding test items in the test scenario;

[0102] In this embodiment, step S60 includes the following sub-steps:

[0103] Step S601, decrypting the temporary file by a decryption method to obtain a startup identifier corresponding to the temporary file;

[0104] Step S602, comparing the startup identifier with the stored identifier in the database;

[0105] Step S603 , if the start identifier matches the stored identifier, then starting the test item of the aviation cockpit HUD system in the test scenario;

[0106] Step S604: If the startup identifier does not match the storage identifier, no operation is performed;

[0107] The storage identifier is pre-set in the database, and when the start identifier matches the storage identifier, the test means corresponding to the start test item is used to test and analyze the aviation cockpit head-up display system under the test scenario;

[0108] After adopting the above technical solution, by setting the start conditions of the items to be tested and the necessary test items; identifying the temporary file, and obtaining the start identifier based on the identification to enable the aviation cockpit HUD system to perform the corresponding test items in the scenario to be tested, this solution sets the start conditions to achieve accurate activation of the test items stimulated by the scenario to be tested, making the test more accurate and efficient.

[0109] In this application, if a corresponding calculation formula appears, the above calculation formula is dimensionless and its numerical calculation is performed. The weight coefficient, proportional coefficient and other coefficients in the formula are set to a result value obtained by quantifying each parameter. Regarding the size of the weight coefficient and the proportional coefficient, as long as it does not affect the proportional relationship between the parameter and the result value, it is acceptable.

[0110] Example 2: This embodiment of the present invention further provides a computer device for running the data excitation method for modeling and simulation; see Figure 3 The embodiment of the present invention is shown as a structural schematic diagram of a computer device provided by the present invention, the computer device including a memory and a processor, wherein the memory is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor to implement the above-mentioned data excitation method for modeling and simulation, the method specifically comprising: obtaining a scenario number of a to-be-tested scenario, and obtaining fault data of an aviation cockpit HUD system in different to-be-tested scenarios based on the scenario number; obtaining a test sequence of the aviation cockpit HUD system in different to-be-tested scenarios based on fault data analysis; constructing a test package for the aviation cockpit HUD system in different to-be-tested scenarios based on a historical test list of similar aviation cockpit HUD systems; testing and analyzing the aviation cockpit HUD system in different to-be-tested scenarios using the test package, verifying the functions of the aviation cockpit HUD system in different to-be-tested scenarios and generating a normal test signal or an abnormal test signal; setting startup conditions for to-be-tested items and necessary test items; identifying a temporary file, and causing the aviation cockpit HUD system to perform corresponding test items in the to-be-tested scenarios based on a startup identifier obtained by the identification;

[0111] Furthermore, Figure 3 The computer device shown further includes a communication bus and a communication interface, and the processor, the communication interface and the memory are connected via the communication bus;

[0112] The memory may include high-speed random access memory (RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The communication bus can be an ISA bus, PCI bus or EISA bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, Figure 3 Only one bidirectional arrow is used, but it does not mean that there is only one communication bus or one type of communication bus;

[0113] The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method may be performed by hardware integrated logic circuits in the processor or by software instructions. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or the like. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the method of the above embodiment in combination with its hardware.

[0114] Embodiment 3. The embodiment of the present invention further provides a computer storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned data excitation method for modeling and simulation, wherein the method specifically comprises: obtaining a scenario number of a scenario to be tested, and obtaining fault data of an aviation cockpit HUD system in different scenarios to be tested according to the scenario number; obtaining a test sequence of the aviation cockpit HUD system in different scenarios to be tested according to the fault data analysis; constructing a test package for the aviation cockpit HUD system in different scenarios to be tested according to a historical test list of aviation cockpit HUD systems of the same type; testing and analyzing the aviation cockpit HUD system in different scenarios to be tested through the test package, verifying the functions of the aviation cockpit HUD system in different scenarios to be tested and generating a normal test signal or an abnormal test signal; setting startup conditions for items to be tested and necessary test items; identifying a temporary file, and causing the aviation cockpit HUD system to perform corresponding test items in the scenario to be tested according to a startup identifier obtained by the identification;

[0115] The computer program product of the data excitation method for modeling and simulation provided by the embodiment of the present invention includes a computer storage medium storing program code, and the instructions included in the program code can be used to execute the method in the previous method embodiment, and the method is specifically: obtaining the scene number of the scene to be tested, and obtaining the fault data of the aviation cockpit HUD system in different scenes to be tested according to the scene number; obtaining the test sequence of the aviation cockpit HUD system in different scenes to be tested according to the fault data analysis; constructing the test package of the aviation cockpit HUD system in different scenes to be tested according to the historical test list of the same type of aviation cockpit HUD system; testing and analyzing the aviation cockpit HUD system in different scenes to be tested through the test package, verifying the function of the aviation cockpit HUD system in different scenes to be tested and generating a normal test signal or an abnormal test signal; setting the startup conditions of the items to be tested and the necessary test items; identifying the temporary file, and causing the aviation cockpit HUD system to perform the corresponding test items in the scene to be tested according to the startup identifier obtained by the identification.

[0116] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working process of the system and / or device described above can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0117] In addition, in the description of the embodiments of the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; they may refer to mechanical connections or electrical connections; they may refer to direct connections or indirect connections through an intermediate medium; and they may refer to internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.

[0118] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0119] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A data excitation method for modeling and simulation, characterized in that: Methods include: Step S10, obtaining the scene number of the scene to be tested, and obtaining the fault data of the aviation cockpit head-up display system in different scenes to be tested according to the scene number; Step S20, obtaining a test sequence of the aviation cockpit head-up display system in different test scenarios based on the fault data analysis; Step S30, constructing a test package for the aviation cockpit HUD system in different test scenarios based on a historical test list of similar aviation cockpit HUD systems; Step S40 , testing and analyzing the aviation cockpit HUD system in different test scenarios using the test package, verifying the functions of the aviation cockpit HUD system in different test scenarios and generating a normal test signal or an abnormal test signal.

2. A data excitation method for modeling and simulation according to claim 1, characterized in that: The fault data includes the number of test failures of the aviation cockpit head-up display system in the test scenario, the fault repair time in each test, and the important coefficient of the test scenario.

3. A data excitation method for modeling and simulation according to claim 2, characterized in that: The step S20 includes the following sub-steps: Step S201, obtaining the number of test failures in different test scenarios and the fault repair time during each test; Step S202: Adding the fault repair time in each test and averaging the sum to obtain the average fault repair time of the tested scenario; Step S203, then obtaining the important coefficients of the scene to be tested; Step S204 calculates the test sequence values ​​of the aviation cockpit head-up display system in different test scenarios; Step S205 , sorting the test sequence values ​​in descending order according to their numerical values ​​to obtain a test sequence for the aviation cockpit head-up display system.

4. The data excitation method for modeling and simulation according to claim 1, characterized in that: The step S30 includes the following sub-steps: Step S301, obtaining a historical test list of similar aviation cockpit HUD systems; Step S302 , obtaining test items for the same type of aviation cockpit HUD system in different test scenarios and test data for each group of test items based on a historical test list; Step S303: extracting necessary test items for the aviation cockpit HUD system in different test scenarios from the historical test list. After extracting the necessary test items, group the same test items into the same set. Count the number of test items in the set and divide the result by the number of tests for the aviation cockpit HUD system to obtain the test rate of the test items for the aviation cockpit HUD system in different test scenarios. In step S304, the test rate is compared with the preset test rate. If the test rate is greater than or equal to the preset test rate, the corresponding test item is recorded as a test item to be selected and the process proceeds to the next step. Otherwise, no operation is performed.

5. A data excitation method for modeling and simulation according to claim 4, characterized in that: The test data includes the test items and the test values ​​during the test.

6. A data excitation method for modeling and simulation according to claim 4, characterized in that: The step S30 further includes the following sub-steps: Step S305: traverse and compare the test values ​​corresponding to the test items to be selected, obtain the maximum and minimum values ​​among the test values ​​corresponding to the test items to be selected, use the minimum value as the left endpoint of the interval, and the maximum value as the right endpoint of the interval, to obtain the standard test value interval corresponding to the test items to be selected in different test scenarios for the aviation cockpit head-up display system; Step S306: Similarly, multiple groups of test items to be selected and necessary test items and standard test value intervals corresponding to the multiple groups of test items to be selected and necessary test items are obtained; In step S307, after sorting the test items to be selected from high to low according to the test rate, all the test items to be selected and necessary test items, as well as the standard test value ranges corresponding to all the test items to be selected and necessary test items, together constitute a test package for the aviation cockpit HUD system in different test scenarios.

7. A data excitation method for modeling and simulation according to claim 6, characterized in that: The step S40 includes the following sub-steps: Step S401: Acquire test packages for the aviation cockpit head-up display system under different test scenarios, obtain candidate test items and necessary test items for the aviation cockpit head-up display system under different test scenarios, and obtain standard test value ranges corresponding to the candidate test items and necessary test items; Step S402 , performing a test according to necessary test items to obtain real-time test values ​​of the aviation cockpit head-up display system when performing the necessary test items in a test scenario; Step S403: If the real-time test value does not fall within the standard test value range, a test abnormality signal is generated; If the real-time test value falls within the standard test value range, the next necessary test item of the aviation cockpit head-up display system under the same test scenario is tested until the necessary test items of the aviation cockpit head-up display system under the same test scenario are completed; Step S404: After all necessary test items have been tested and passed, the aviation cockpit HUD system is tested for the selected test items in the same test scenario, and real-time test values ​​of the aviation cockpit HUD system when the selected test items are tested in the test scenario are recorded; Step S405: If the real-time test value does not belong to the standard test value range, a test abnormality signal is generated; If the real-time test value falls within the standard test value range, the next test item to be selected for the aviation cockpit HUD system under the same test scenario will be tested; Step S406: When all the test items to be selected have passed the test, the aviation cockpit HUD system is placed in another test scenario to be tested for the necessary test items and the test items to be selected; Step S407 : When the aviation cockpit HUD system fails any necessary test item or any optional test item in any test scenario, a test abnormality signal is generated.

8. The data excitation method for modeling and simulation according to claim 1, characterized in that: The method also includes: Step S50, setting the start conditions of the items to be tested and the necessary test items; Step S60: Identify the temporary file, and perform corresponding test items on the scenario to be tested based on the startup identifier obtained by identification.

9. A data excitation method for modeling and simulation according to claim 8, characterized in that: The step S50 includes the following sub-steps: Step S501, obtaining the items to be tested and the necessary test items in the test package; Step S502: setting temporary files for both the items to be tested and the necessary test items, wherein the temporary files are configured with corresponding startup identifiers; Step S503, then start setting encryption means for the temporary file.

10. A data excitation method for modeling and simulation according to claim 9, characterized in that: The step S60 includes the following sub-steps: Step S601, decrypting the temporary file by a decryption method to obtain a startup identifier corresponding to the temporary file; Step S602, comparing the startup identifier with the stored identifier in the database; Step S603 , if the start identifier matches the stored identifier, then starting the test item of the aviation cockpit head-up display system in the test scenario; Step S604: If the startup identifier does not match the storage identifier, no operation is performed.

Citation Information

Patent Citations

  • I3C bus verification method and verification system

    CN114706768A

  • Display device, image signal correction system, and image signal correction method

    US20110234644A1

  • Method and system for automating a scene-based test

    US20140258989A1