An equipment software digital closed loop system test method and device

By creating virtual machines and soft buses in a digital testing environment, the problem of high testing costs for equipment software systems is solved, flexible configuration and efficient testing results are achieved, and damage to physical equipment is avoided.

CN115309627BActive Publication Date: 2026-07-10THE GENERAL DESIGNING INST OF HUBEI SPACE TECH ACAD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
THE GENERAL DESIGNING INST OF HUBEI SPACE TECH ACAD
Filing Date
2022-03-30
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

The lack of a flexible, configurable digital architecture for closed-loop system testing in existing technologies results in high testing costs and poor testing outcomes for equipment software systems.

Method used

In the digital testing environment, digital virtual machines and soft buses are created to provide a digital operating environment. Communication data is transmitted through the soft bus, and a unified clock control mechanism is established to control the service operation rate and communication transmission rate of each test node.

Benefits of technology

It enables flexible configuration of tests on different hardware platforms, reduces system testing costs, avoids destructive testing of physical equipment, and improves the sufficiency and efficiency of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115309627B_ABST
    Figure CN115309627B_ABST
Patent Text Reader

Abstract

The application discloses a kind of equipment software digitization closed loop system test method and device, it is related to equipment software digitization test field, this method includes creating digitization virtual machine and soft bus in digitization test environment, to be tested equipment software and test piece of different kinds based on different hardware platform are commonly operated in a digitization test environment to carry out system test;Based on the digitization virtual machine created, provide digitization operating environment for the equipment software system to be tested;Based on the interface of the soft bus created, the communication data of the equipment software to be tested and test piece are encapsulated and are transferred through soft bus;Establish control mechanism, and based on the control mechanism established, the unified clock control of each test node in digitization test environment is carried out, control the business operation rate and communication transmission rate of each test node.The application can effectively solve the problem that physical test environment resource is limited, and it is difficult to guarantee the test sufficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital testing of equipment software, and specifically to a method and apparatus for testing a closed-loop digital system of equipment software. Background Technology

[0002] Software testing plays a crucial role in equipment software development. It improves software reliability, stability, and execution efficiency, leading to continuous improvement in equipment software quality. Equipment software system testing, which verifies the compatibility between various software functions at the system level, greatly helps ensure the software correctly fulfills system requirements and is an essential step in equipment software verification.

[0003] Digital software testing technology uses digital means to provide virtual hardware resources for operating equipment software, which can ensure the full implementation of software testing methods without affecting the physical equipment, thus effectively solving the problem of insufficient testing capabilities for equipment software systems.

[0004] Currently, there is no closed-loop system testing digital architecture that can be flexibly configured according to the needs of equipment software testing. This makes the cost of conducting equipment software system testing extremely high, and it is also impossible to fully implement testing methods, resulting in poor testing results. Summary of the Invention

[0005] To address the shortcomings of existing technologies, the present invention aims to provide a method and apparatus for testing a digital closed-loop system of equipment software, which can effectively solve the problem of limited physical testing environment resources and difficulty in ensuring the adequacy of testing.

[0006] To achieve the above objectives, the present invention provides a testing method for a digital closed-loop system of equipment software, which specifically includes the following steps:

[0007] Digital virtual machines and soft buses are created in a digital testing environment to run different types of equipment under test (EUT) software and supporting components based on different hardware platforms together in a digital testing environment for system testing.

[0008] Based on the created digital virtual machine, a digital operating environment is provided for the software system of the equipment under test;

[0009] Based on the created soft bus interface, the communication data of the equipment under test software and the test components are encapsulated and transmitted through the soft bus.

[0010] Establish a control mechanism and, based on this mechanism, perform unified clock control on each test node in the digital testing environment to control the service operation rate and communication transmission rate of each test node.

[0011] Based on the above technical solution, the nodes participating in system testing in the digital testing environment include multiple types, namely, the first type node, the second type node, the third type node, the fourth type node, and the fifth type node.

[0012] Based on the above technical solution, the first type of node is used to run embedded equipment under test software to simulate the CPU processor and communication chip by digital means. The first type of node is also used to realize data communication through the interface soft bus and to accept the control mechanism to control the clock.

[0013] Based on the above technical solution, the second type of node is a DLL link library. Based on the DLL link library, closed-loop control logic or test tools participate in the testing work. The second type of node is also used to realize data communication through the interface soft bus and to accept the control mechanism to control the clock.

[0014] Based on the above technical solution, the third type of node is an exe executable file. Based on the exe executable file, non-embedded equipment software with a human-computer interaction interface participates in the testing work. The third type of node is also used to realize data communication through the interface soft bus and to accept the control mechanism to control the clock.

[0015] Based on the above technical solution, the fourth type of node is a hardware / software signal switching node, which is used to convert real hardware signals into digital signals that can be recognized and used by the soft bus, and output a synchronous clock to the real hardware device to drive the physical device to participate in the testing work. The fourth type of node is also used to realize data communication by interfacing with the soft bus and to accept the control mechanism to control the clock.

[0016] Based on the above technical solution, the fifth type node is a test control node, used to control the test process and set test parameters. Only one fifth type node can be set in each digital closed-loop system test environment. The fifth type node is also used to realize data communication through the interface soft bus and to accept the control mechanism to control the clock.

[0017] Based on the above technical solution, the equipment software digital closed-loop system is a test equipment software system composed of embedded test equipment software, non-embedded test equipment software and closed-loop control logic DLL link library, which can be composed of first type nodes, second type nodes and third type nodes.

[0018] This invention provides a testing device for a digital closed-loop system of equipment software, comprising:

[0019] A digital testing environment is used to run different types of equipment under test software and test components based on different hardware platforms in a single digital testing environment for system testing.

[0020] A soft bus, located in a digital test environment, uses digital technology to encapsulate and transmit the communication data of the software of the equipment under test;

[0021] The digital testing environment includes a control mechanism that controls the clock speed of each testing node and the service operation rate and communication transmission rate of each testing node.

[0022] Based on the above technical solutions,

[0023] The nodes participating in system testing in the digital testing environment include multiple types, namely, type 1 nodes, type 2 nodes, type 3 nodes, type 4 nodes, and type 5 nodes.

[0024] The first type of node is used to run embedded equipment under test software to simulate the CPU processor and communication chip by digital means. The first type of node is also used to realize data communication through the interface soft bus and to accept the control mechanism to control the clock.

[0025] The second type of node is a DLL link library. Based on the DLL link library, closed-loop control logic or test tools participate in the testing work. The second type of node is also used to realize data communication through the interface soft bus and to receive the control mechanism to control the clock.

[0026] The third type of node is an executable file (exe). Based on the executable file, non-embedded equipment software with a human-machine interface participates in the testing work. The third type of node is also used to realize data communication through a soft bus and to receive clock control from the control mechanism.

[0027] The fourth type of node is a hardware / software signal switching node, which is used to convert real hardware signals into digital signals that can be recognized and used by the soft bus, and output a synchronous clock to the real hardware device to drive the physical device to participate in the testing work. The fourth type of node is also used to realize data communication by interfacing with the soft bus and to accept the control mechanism to control the clock.

[0028] The fifth type of node is a test control node, used to control the test process and set test parameters. Only one fifth type of node can be set in each digital closed-loop system test environment. The fifth type of node is also used to realize data communication through the interface soft bus and to accept the control mechanism to control the clock.

[0029] Compared with existing technologies, the advantages of this invention are as follows: A digital virtual machine and a soft bus are created in a digital testing environment to allow different types of equipment under test (DUT) software and accompanying test components based on different hardware platforms to run together in a single digital testing environment for system testing. Based on the created digital virtual machine, a digital operating environment is provided for the DUT software system. Based on the created soft bus interface, the communication data of the DUT software system and accompanying test components is encapsulated and transmitted via the soft bus. A control mechanism is established, and based on this mechanism, unified clock control is performed on each test node in the digital testing environment, controlling the service operation rate and communication transmission rate of each test node. This effectively solves the problem of limited resources in physical testing environments, making it difficult to guarantee sufficient testing, and effectively avoids damage to physical equipment caused by destructive testing methods. Attached Figure Description

[0030] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0031] Figure 1 This is a flowchart of a testing method for a digital closed-loop system of equipment software in an embodiment of the present invention. Detailed Implementation

[0032] This invention provides a method for testing a digital closed-loop system of equipment software. By creating a digital virtual machine and a soft bus in a digital testing environment, different types of equipment software and accompanying test components based on different hardware platforms can run together in a single digital testing environment for system testing. The created digital virtual machine provides a digital operating environment for the equipment software system under test. Based on the created soft bus interface, the communication data of the equipment software system under test and the accompanying test components is encapsulated and transmitted via the soft bus. A control mechanism is established, and based on this control mechanism, unified clock control is performed on each test node in the digital testing environment to control the service operation rate and communication transmission rate of each test node. This invention also provides a corresponding device for testing a digital closed-loop system of equipment software.

[0033] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application.

[0034] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.

[0035] See Figure 1 As shown, this embodiment of the invention provides a method for testing a digital closed-loop system of equipment software, specifically including the following steps:

[0036] S1: Create digital virtual machines and soft buses in a digital test environment to run different types of equipment under test (DUT) software and supporting components based on different hardware platforms together in a digital test environment for system testing.

[0037] S2: Based on the created digital virtual machine, a digital operating environment is provided for the software system of the equipment under test;

[0038] S3: Based on the created soft bus interface, the communication data of the equipment under test software and the test components are encapsulated and transmitted through the soft bus.

[0039] S4: Establish a control mechanism and, based on the established control mechanism, perform unified clock control on each test node in the digital test environment to control the service operation rate and communication transmission rate of each test node.

[0040] In this embodiment of the invention, the nodes participating in system testing in the digital testing environment include multiple types, namely, a first type of node, a second type of node, a third type of node, a fourth type of node, and a fifth type of node.

[0041] The first type of node is used to run the embedded equipment under test (DUT) software. It digitally simulates the CPU processor and communication chip. The second type of node is a DLL (Dynamic Link Library) link library, based on which closed-loop control logic or test tools participate in the testing. The third type of node is an EXE executable file, based on which non-embedded equipment software with a human-machine interface participates in the testing. The fourth type of node is a hardware / software signal switching node, used to convert real hardware signals into digital signals that the soft bus can recognize and use, and output a synchronous clock to the real hardware device, driving the physical device to participate in the testing. The fifth type of node is a test control node, used to control the test process and set test parameters; only one fifth type node can be set in each digital closed-loop system test environment. All of the above types of nodes communicate with the soft bus and are subject to clock control by the control mechanism.

[0042] In this embodiment of the invention, the equipment software digital closed-loop system is a test equipment software system composed of embedded test equipment software, non-embedded test equipment software and closed-loop control logic DLL link library, which can be composed of a first type of node, a second type of node and a third type of node.

[0043] Compared with the current main equipment software system testing methods, the present invention has the following advantages: (1) The present invention can flexibly adapt to different testing requirements by adjusting the contents of the dll link library, and can also realize the collaborative operation of multiple models to adapt to different closed-loop system tests; (2) The time synchronization mechanism and message synchronization sending and receiving mechanism adopted in the present invention realize multi-node communication; (3) The software and hardware signal conversion processing mechanism in the present invention makes it possible to realize various control timing and data transmission during the testing process; (4) The present invention has strong reusability and can be quickly built. Various modules implemented by digital means can be reused, which greatly reduces the establishment time and construction cost of the system testing environment; (5) The present invention has strong controllability and can pause / resume testing at any time, supports accelerated operation, and greatly saves system testing time; (6) The test control node in the present invention can realize fault injection without changing the source program of the equipment software under test; (7) The present invention can be deployed and run collaboratively on multiple PCs (Personal Computers), which reduces the hardware environment restrictions for carrying out complex equipment software system testing.

[0044] This invention provides a digital closed-loop system testing device for equipment software, comprising a digital testing environment and a soft bus. The digital testing environment is used to run different types of equipment software under test and supporting components based on different hardware platforms together in a digital testing environment for system testing. The soft bus is located in the digital testing environment, and the soft bus uses digital technology to encapsulate and transmit the communication data of the equipment software under test. A control mechanism is established in the digital testing environment, which is used to uniformly control the clock of each test node in the digital testing environment and control the service operation rate and communication transmission rate of each test node.

[0045] In this embodiment of the invention, the first type of node is used to run embedded equipment-under-test (UTC) software, simulating the CPU processor and communication chip digitally; the second type of node is a DLL link library, based on which closed-loop control logic or test tools participate in the testing; the third type of node is an EXE executable file, based on which non-embedded equipment software with a human-machine interface participates in the testing; the fourth type of node is a hardware / software signal switching node, used to convert real hardware signals into digital signals that the soft bus can recognize and use, and output a synchronous clock to the real hardware device, driving the physical device to participate in the testing; the fifth type of node is a test control node, used to control the test process and set test parameters, and only one fifth type of node can be set in each digital closed-loop system test environment. All of the above types of nodes communicate with each other through the soft bus and are subject to clock control by the control mechanism.

[0046] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

[0047] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

Claims

1. A testing method for a digital closed-loop system of equipment software, characterized in that, Specifically, the following steps are included: Digital virtual machines and soft buses are created in a digital testing environment to run different types of equipment under test (EUT) software and supporting components based on different hardware platforms together in a digital testing environment for system testing. Based on the created digital virtual machine, a digital operating environment is provided for the software system of the equipment under test; Based on the created soft bus interface, the communication data of the equipment under test software and the test components are encapsulated and transmitted through the soft bus. Establish a control mechanism and, based on the established control mechanism, perform unified clock control on each test node in the digital test environment to control the service operation rate and communication transmission rate of each test node. The nodes participating in system testing in the digital testing environment include multiple types, namely, type 1 nodes, type 2 nodes, type 3 nodes, type 4 nodes, and type 5 nodes. The fourth type of node is a hardware / software signal switching node, which is used to convert real hardware signals into digital signals that can be recognized and used by the soft bus, and output a synchronous clock to the real hardware device to drive the physical device to participate in the testing work. The fourth type of node is also used to realize data communication by interfacing with the soft bus and to accept the control mechanism to control the clock. The fifth type node is a test control node, used to control the test process and set test parameters. Only one fifth type node can be set in each digital closed-loop system test environment. The fifth type node is also used to realize data communication through the soft bus and to accept the control mechanism to control the clock.

2. The testing method for a digital closed-loop system of equipment software as described in claim 1, characterized in that: The first type of node is used to run embedded equipment under test software to simulate the CPU processor and communication chip by digital means. The first type of node is also used to realize data communication through the interface soft bus and to accept the control mechanism to control the clock.

3. The testing method for a digital closed-loop system of equipment software as described in claim 1, characterized in that: The second type of node is a DLL link library. Based on the DLL link library, closed-loop control logic or test tools participate in the testing work. The second type of node is also used to realize data communication through the interface soft bus and to accept the control mechanism to control the clock.

4. The testing method for a digital closed-loop system of equipment software as described in claim 1, characterized in that: The third type of node is an executable file (exe). Based on the executable file, non-embedded equipment software with a human-machine interface participates in the testing work. The third type of node is also used to realize data communication through a soft bus and to receive clock control from the control mechanism.

5. The testing method for a digital closed-loop system of equipment software as described in claim 1, characterized in that: The equipment software digital closed-loop system is a test equipment software system composed of embedded test equipment software, non-embedded test equipment software and closed-loop control logic DLL link library, which can be composed of first type nodes, second type nodes and third type nodes.

6. A testing device for a digital closed-loop system of equipment software, characterized in that, include: A digital testing environment is used to run different types of equipment under test software and test components based on different hardware platforms in a single digital testing environment for system testing. A soft bus, located in a digital test environment, uses digital technology to encapsulate and transmit the communication data of the software of the equipment under test; The digital testing environment includes a control mechanism that controls the clock speed of each testing node and the service operation rate and communication transmission rate of each testing node. in, The nodes participating in system testing in the digital testing environment include multiple types, namely, type 1 nodes, type 2 nodes, type 3 nodes, type 4 nodes, and type 5 nodes. The first type of node is used to run embedded equipment under test software to simulate the CPU processor and communication chip by digital means. The first type of node is also used to realize data communication through the interface soft bus and to accept the control mechanism to control the clock. The second type of node is a DLL link library. Based on the DLL link library, closed-loop control logic or test tools participate in the testing work. The second type of node is also used to realize data communication through the interface soft bus and to accept the control mechanism to control the clock. The third type of node is an executable file (exe). Based on the executable file, non-embedded equipment software with a human-computer interaction interface participates in the testing work. The third type of node is also used to realize data communication through the interface soft bus and to accept the control mechanism to control the clock. The fourth type of node is a hardware / software signal switching node, which is used to convert real hardware signals into digital signals that can be recognized and used by the soft bus, and output a synchronous clock to the real hardware device to drive the physical device to participate in the testing work. The fourth type of node is also used to realize data communication by interfacing with the soft bus and to accept the control mechanism to control the clock. The fifth type of node is a test control node, used to control the test process and set test parameters. Only one fifth type of node can be set in each digital closed-loop system test environment. The fifth type of node is also used to realize data communication through the interface soft bus and to accept the control mechanism to control the clock.