Search

CN-115905093-B - 1553 Bus reuse module based on all-digital test environment

CN115905093BCN 115905093 BCN115905093 BCN 115905093BCN-115905093-B

Abstract

The 1553 bus reuse module based on the all-digital test environment adopts a hierarchical module architecture. The application layer comprises a 1553 bus transceiving data and fault injection script, a 1553 bus data source input/output file and a 1553 bus configuration file, wherein the 1553 bus configuration file is used for interacting with a user, the service layer comprises a configuration management unit, a script analysis unit, a fault management unit and a core service management unit, and is used for realizing 1553 bus data transmission and 1553 bus state monitoring, and the interface layer is used for carrying out message transmission with an all-digital test environment. The detail difference of 1553 buses used by different tested objects can be shielded, and the universality and usability of bus simulation are realized.

Inventors

  • LI BING
  • HU GANG
  • Gao Yeye
  • WANG JUN
  • JIANG TONGYANG
  • YANG KAI

Assignees

  • 北京航天自动控制研究所

Dates

Publication Date
20260512
Application Date
20221013

Claims (7)

  1. 1. The 1553 bus reuse module based on the all-digital test environment is characterized by adopting a layered module architecture, wherein the 1553 bus reuse module comprises an application layer, a service layer and an interface layer; The application layer comprises a 1553 bus transceiving data and fault injection script, a 1553 bus data source input/output file and a 1553 bus configuration file, wherein the 1553 bus configuration file is used for interacting with a user, and the 1553 bus configuration file is a shielding difference configuration file which at least comprises register configuration, memory configuration and use configuration and is used for configuring differences of different tested objects using the 1553 bus; The service layer comprises a configuration management unit, a script analysis unit, a fault management unit and a core service management unit, and is used for realizing 1553 bus data transmission and 1553 bus state monitoring, wherein the configuration management unit is used for reading 1553 bus configuration file information and automatically setting a register and a memory addressing mode of the 1553 bus reuse module according to the 1553 bus configuration file information so as to shield the difference of different tested objects using the 1553 bus; And the interface layer is used for transmitting messages with the all-digital test environment.
  2. 2. The 1553 bus reuse module of claim 1, wherein the 1553 bus reuse module supports message patterns of BC- > RT, RT- > BC, RT- > RT, pattern codes.
  3. 3. The 1553 bus reuse module of claim 1, wherein the 1553 bus reuse module utilizes an address monitoring and callback mechanism of the all-digital test environment to enable transmission of the 1553 bus data.
  4. 4. The 1553 bus reuse module according to claim 1, wherein said 1553 bus reuse module performs an initialization operation during an initialization phase of said all-digital test environment, said initialization operation comprising reading a configuration file, identifying and analyzing user configuration information, obtaining register memory addresses and address space information, and performing read-write monitoring on said registers and memory addresses.
  5. 5. The 1553 bus reuse module of claim 1, wherein the 1553 bus reuse module is configured to manage registers and memory space of a 1553 bus and store registers and memory values of the 1553 bus.
  6. 6. The 1553 bus reuse module of claim 5, wherein the 1553 bus transceiving data and fault injection script comprises a 1553 bus data transmission instruction and a fault instruction, and different 1553 bus operation modes are realized.
  7. 7. The 1553 bus reuse module of claim 6, wherein the 1553 bus reuse module is configured to monitor user data transceiver requests during an all-digital test environment operation phase; When a user data receiving and transmitting request exists, the 1553 bus reuse module realizes 1553 bus data transmission according to the configuration file information, and a 1553 bus register and memory value in the 1553 bus reuse module are updated.

Description

1553 Bus reuse module based on all-digital test environment Technical Field The invention belongs to the technical field of embedded software testing, and particularly relates to a 1553 bus reuse module based on an all-digital testing environment. Background The embedded software testing environment mainly comprises a comprehensive testing environment, a semi-physical simulation environment and a full-digital simulation environment. The comprehensive test environment and the semi-physical simulation environment are seriously dependent on hardware resources, and the test work is difficult to develop under the condition that the hardware condition does not exist. Therefore, most of embedded software tests in the aerospace field are carried out in an all-digital simulation environment. The full-digital test platform is a common test tool in the embedded software test, so that the embedded software test gets rid of dependence on hardware equipment, has the advantages of good transparency, strong controllability, easiness in injecting test data and faults and the like, and can provide effective means support for the test of small probability and safety key functions. In addition, the tester can complete the non-invasive test without performing pile inserting operation on the tested object. The full digital test platform provides a mechanism based on address monitoring and callback for environment building personnel to conduct peripheral customization development, but although a peripheral customization mode can ensure that a test environment can be built for any type of peripheral, customization of complex peripheral such as a 1553 bus and the like can consume a great deal of time, and the completeness of functional simulation and the diversity of fault modes are difficult to ensure. At present, the 1553 bus is a bus type commonly used in space flight models, and the 1553 chips selected by various models are basically consistent, and similar work is still required to be repeated for new tested objects, so that development of a universal 1553 bus reuse module is urgently needed. Disclosure of Invention The invention overcomes the defects of the prior art, provides the 1553 bus reuse module based on the all-digital test environment, can shield the detail difference of different tested objects using the 1553 bus, realizes the generalization of bus simulation, solves the technical problem that similar work is still required to be repeated for new tested objects, and can improve the construction efficiency, test supporting force, test effectiveness and the like of the all-digital test environment. According to one aspect of the disclosure, a 1553 bus reuse module based on an all-digital test environment is provided, wherein the module adopts a layered module architecture and comprises an application layer, a service layer and an interface layer; the application layer comprises a 1553 bus data receiving and transmitting script, a 1553 bus data source input and output file and a 1553 bus configuration file, wherein the 1553 bus data source input and output file is used for interacting with a user; the service layer comprises a configuration management unit, a script analysis unit, a fault management unit and a core service management unit, and is used for realizing 1553 bus data transmission and 1553 bus state monitoring; And the interface layer is used for transmitting messages with the all-digital test environment. In one possible implementation, the 1553 bus configuration file is a maskable difference configuration file for configuration of 1553 bus usage differences. In one possible implementation manner, the configuration management unit of the service layer is configured to read the 1553 bus configuration file information, and automatically set a register and a memory addressing mode of the 1553 bus reuse module. In one possible implementation, the 1553 bus reuse module supports message patterns of BC- > RT, RT- > BC, RT- > RT, pattern codes. In one possible implementation, the 1553 bus reuse module utilizes an address monitoring and callback mechanism of the all-digital test environment to implement transmission of the 1553 bus data. In one possible implementation manner, the 1553 bus reuse module performs an initialization operation in the initialization stage of the all-digital test environment, where the initialization operation includes reading a configuration file, identifying and analyzing user configuration information, obtaining register memory addresses and address interval information, and performing read-write monitoring on the registers and the memory addresses. In one possible implementation, the 1553 bus reuse module is configured to manage registers and memory spaces of a 1553 bus, and store registers and memory values of the 1553 bus. In one possible implementation, the 1553 bus transceiving data and fault injection script includes a 1553 bus data transmission instruction and a fault instruction,