1553B bus test system, 1553B bus test method and aviation maintenance system
By customizing the bus functions BC2RT and RT2BC, the 1553B bus testing process is simplified, the problem of high testing complexity in the existing technology is solved, and the generalization and simplification of testing is achieved.
Patent Information
- Application Number
- CN202510597982.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-09
- Publication Date
- 2025-07-11
AI Technical Summary
The existing 1553B bus test process is complicated and the configuration parameters are numerous, making it difficult to test.
Develop custom bus functions through secondary packaging, including BC2RT functions and RT2BC functions, simplifying the testing process and parameter configuration.
The 1553B bus test is realized, which reduces the test complexity and simplifies the test programming.
Smart Images

Figure CN120301809A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network communication technologies, and in particular, to a 1553B bus test system, a test method, and an aviation maintenance system. Background Art
[0002] The 1553B bus, also known as MIL-STD-1553B in full, is a high-speed, bidirectional, time-division command / response multiplexed data bus standard. It is mainly used for information transmission between internal aircraft electronic devices and subsystems, and can support data exchange between up to 31 remote terminals (RTs), one bus control terminal (BC), and one (or zero) bus monitor (BM). With its high bandwidth, low latency, and strong fault tolerance capabilities, the 1553B bus has become one of the core technologies for avionics system interconnection. Therefore, communication testing between the 1553B bus and remote terminals is also crucial to ensure normal information communication between the BC and multiple RTs.
[0003] Currently, there are dozens or even hundreds of functions provided by 1553B bus boards, including more than a hundred C language interface functions and a large number of complex data structures. The parameters in the data structures also number in the dozens. Coupled with the fact that 1553B communication involves the configuration of bus tables and data structures, the process is complex. As a result, the testing process needs to be carried out according to the steps specified by the 1553B bus board, such as opening the board, configuring the board, configuring channels, configuring functional modules, configuring bus tables, configuring data structures, etc., leading to a complex testing process.
[0004] Therefore, there is an urgent need for a 1553B bus test system, a test method, and an aviation maintenance system to solve the technical problems in the prior art of a complex testing process and numerous configuration parameters. Summary of the Invention
[0005] In view of this, it is necessary to provide a 1553B bus test system, a test method, and an aviation maintenance system. Through custom bus functions developed by secondary encapsulation, information interaction testing between the bus control terminal and remote terminals is realized, simplifying the testing process and parameter configuration, and reducing the complexity of testing.
[0006] To solve the above technical problems, on the one hand, a 1553B bus test system is communicatively connected to a plurality of remote terminals. The test system is characterized in that it includes a bus control terminal and custom bus functions stored in the bus control terminal, and the custom bus functions are obtained by secondary encapsulation and development based on the original bus functions; The custom bus functions include BC2RT functions and RT2BC functions; Among them, when the BC2RT function is started, the bus control terminal sends the first test data to the remote terminal and receives the feedback information of the remote terminal to verify the data transmission function from the bus control terminal to the remote terminal; when the RT2BC function is started, the bus control terminal sends a reception instruction, receives the second test data transmitted by the remote terminal, and verifies the data transmission function from the remote terminal to the bus control terminal according to the second test data.
[0007] In a possible implementation manner, the BC2RT function includes a message construction sub-function, a message storage sub-function, a message sending sub-function, and a message reading sub-function; The message construction sub-function is used to construct a first message structure for the first test data based on a preset message structure according to the address and sub-address of the remote terminal, and its transmission direction is that the bus control terminal sends data; The message storage sub-function is used to merge the first test data and its message structure into a transmission message word for storage; The message sending sub-function is used to send the transmission message word to the corresponding remote terminal according to the first message structure; The message reading sub-function is used to read the feedback information of the remote terminal.
[0008] In a possible implementation manner, the custom bus function further includes a board startup function; The board startup function is used to start the bus control terminal and connect the bus control terminal to the remote terminal according to the configuration parameters.
[0009] In a possible implementation manner, the custom bus function further includes a board shutdown function; The board shutdown function is used to shut down the bus control terminal.
[0010] In a possible implementation manner, the RT2BC function verifies the data transmission function from the remote terminal to the bus control terminal by calling the sub-functions of the BC2RT function, including: Calling the message construction sub-function to construct a second message structure based on a preset message structure according to the address and sub-address of the remote terminal, and its transmission direction is that the bus control terminal receives data; Calling the message storage sub-function to store the second message structure; Calling the message sending sub-function to send the second message structure to the remote terminal; Calling the message reading sub-function to read the second test data transmitted by the remote terminal.
[0011] In a possible implementation manner, the preset message structure includes a message type, the address of the remote terminal, the sub-address of the remote terminal, and a transmission direction; When the BC2RT function calls the message construction sub-function, the transmission direction is set to send. When the RT2BC function calls the message construction sub-function, the transmission direction is set to receive.
[0012] In a possible implementation, the custom bus function further includes an exception handling function; The exception handling function is used to generate exception feedback information when the state of the bus control end is abnormal and / or the connection state between the bus control end and the remote terminal is abnormal.
[0013] In a possible implementation, the test system further includes a bus monitoring end, and the bus monitoring end includes a bus monitoring function; The bus monitoring function is used to parse the first message structure and the second message structure in a multi-threaded manner to monitor the working state of the bus test system.
[0014] In a second aspect, the present invention further provides a 1553B bus test method, including: Start the BC2RT function, control the bus control end to send the first test data to the remote terminal, and receive the feedback information of the remote terminal to verify the data transmission function from the bus control end to the remote terminal; Start the RT2BC function, control the bus control end to send a receive instruction, and receive the second test data transmitted by the remote terminal, and verify the data transmission function from the remote terminal to the bus control end according to the second test data.
[0015] In a third aspect, the present invention further provides an aviation maintenance system, and the system includes a 1553B bus test system; The 1553B bus test system is the above-mentioned 1553B bus test system.
[0016] The beneficial effects of the present invention are as follows: Define custom bus functions for secondary packaging, where the custom bus functions include the BC2RT function and the RT2BC function; during the testing process, test the data interaction between the bus control end and the remote terminal by starting the BC2RT function and the RT2BC function; when the BC2RT function is started, the bus control end sends the first test data to the remote terminal and receives the feedback information from the remote terminal to verify the data transmission function from the bus control end to the remote terminal; when the RT2BC function is started, the bus control end receives the second test data transmitted by the remote terminal and verifies the data transmission function from the remote terminal to the bus control end based on the second test data. At this time, during the testing process, only by paying attention to the BC2RT function and the RT2BC function, the data interaction test between the bus control end and the remote terminal can be completed, simplifying the design of the 1553B bus test program, realizing the generalization of the 1553B bus test, reducing the testing difficulty of the 1553B bus communication system. The present invention realizes the information interaction test between the bus control end and the remote terminal through the custom bus functions developed by secondary packaging, simplifies the testing process and parameter configuration, and reduces the testing complexity. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0018] Figure 1 It is a schematic structural diagram of an embodiment of the 1553B bus test system provided by the present invention; Figure 2 It is a schematic structural diagram of an embodiment of the BC2RT function provided by the present invention; Figure 3 It is a partial code schematic diagram of the message structure function provided by the present invention; Figure 4 It is a partial code schematic diagram of the board card startup function provided by the present invention; Figure 5 It is a schematic flowchart of an embodiment of the 1553B bus test method provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present invention.
[0020] In the description of the embodiments of the present invention, unless otherwise specified, the meaning of "a plurality" is two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.
[0021] In the embodiments of the present invention, the descriptions such as "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly specifying the quantity of the indicated technical features. Therefore, the technical features defined with "first" and "second" may explicitly or implicitly include at least one such feature.
[0022] Referring to "embodiments" herein means that the specific features, structures, or characteristics described in connection with the embodiments may be included in at least one embodiment of the present invention. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.
[0023] The present invention provides a 1553B bus test system, a test method, and an aviation maintenance system, which will be described separately below.
[0024] Figure 1 FIG. is a schematic structural diagram of an embodiment of the 1553B bus test system provided by the present invention. The test system is communicatively connected to a plurality of remote terminals 200. The test system includes a bus control terminal 100 and a custom bus function stored in the bus control terminal 100, and the custom bus function is obtained by secondary encapsulation and development based on the original bus function; The custom bus function includes a BC2RT function 110 and an RT2BC function 120; Among them, when the BC2RT function 110 is started, the bus control terminal 100 sends first test data to the remote terminal 200 and receives the feedback information of the remote terminal 200 to verify the data transmission function from the bus control terminal 100 to the remote terminal 200; when the RT2BC function 120 is started, the bus control terminal 100 sends a reception instruction, receives the second test data transmitted by the remote terminal 200, and verifies the data transmission function from the remote terminal 200 to the bus control terminal 100 according to the second test data.
[0025] It should be noted that a 1553B bus test system is built on an electronic terminal through compiling code programs, algorithms and programming frameworks to simulate the 1553B bus control terminal 100. The 1553B bus control terminal 100 can be connected to up to 31 remote terminals 200. The electronic terminal is an electronic intelligent terminal with functions such as data processing, program development and compilation, and communication connection, such as a PC terminal, a mobile terminal, a portable terminal, etc.
[0026] It should be further noted that the original bus function contains more than a hundred C language interface functions and a large number of complex data structures. On the basis of the original bus function, secondary encapsulation development is carried out to finally obtain a set of general functions. These general functions only include the bus control terminal 100 sending messages to the remote terminal 200 and the remote terminal 200 sending messages to the bus control terminal 100, which simplifies the test process.
[0027] In this embodiment, the bus control terminal BC in the 1553B bus test system is simulated through a computer terminal. The computer terminal is connected to multiple remote terminals RT to test the data interaction function between the 1553B bus control terminal 1 and the remote terminal. By configuring the transmission direction of the message, it is tested that the bus control terminal BC sends data to the remote terminal RT and receives the feedback data from the remote terminal RT.
[0028] Compared with the prior art, in this embodiment, by defining a custom bus function with secondary encapsulation, the custom bus function includes the BC2RT function 110 and the RT2BC function 120; during the test process, the data interaction test between the bus control terminal 100 and the remote terminal 200 is tested by starting the BC2RT function 110 and the RT2BC function 120; when the BC2RT function 110 is started, the bus control terminal 100 sends the first test data to the remote terminal 200 and receives the feedback information of the remote terminal 200 to verify the data transmission function from the bus control terminal 100 to the remote terminal 200; when the RT2BC function 120 is started, the bus control terminal 100 receives the second test data transmitted by the remote terminal 200 and verifies the data transmission function from the remote terminal 200 to the bus control terminal 100 according to the second test data. At this time, during the test process, only the BC2RT function 110 and the RT2BC function 120 need to be concerned to complete the data interaction test between the bus control terminal 100 and the remote terminal 200, which simplifies the design of the 1553B bus test program, realizes the generalization of the 1553B bus test, reduces the test difficulty of the 1553B bus communication system. The present invention realizes the information interaction test between the bus control terminal 100 and the remote terminal 200 through the custom bus function developed by secondary encapsulation, simplifies the test process and parameter configuration, and reduces the test complexity.
[0029] In some embodiments of the present invention, such asFigure 2 as shown Figure 2 Figure 2 is a schematic structural diagram of an embodiment of the BC2RT function provided by the present invention. The BC2RT function 110 includes a message construction sub-function 111, a message storage sub-function 112, a message sending sub-function 113, and a message reading sub-function 114; The message construction sub-function 111 is used to construct a first message structure for the first test data based on a preset message structure according to the address and sub-address of the remote terminal 200; It should be noted that in the 1553B bus test system, there are two transmission directions, that is, the bus control end BC sends data to the remote terminal RT and the bus control end BC receives the data fed back by the remote terminal RT.
[0030] In some embodiments of the present invention, the preset message structure includes a message type, the address of the remote terminal 200, the sub-address of the remote terminal 200, and a transmission direction; When the BC2RT function 110 calls the message construction sub-function 111, the transmission direction is set to send, and when the RT2BC function 120 calls the message construction sub-function 111, the transmission direction is set to receive.
[0031] Specifically, as Figure 3 shown Figure 3 Figure 3 is a partial code schematic diagram of the message structure function provided by the present invention. Before constructing the first message structure, the clear function is called to clear all the data in the message structure function. The first message structure is the message type + the address of the remote terminal + the sub-address of the remote terminal + the transmission direction. Among them, the message type is used to mark the start of the message; when the transmission direction is 0, it means that the bus control end 100 sends data to the remote terminal 200, and when the transmission direction is 1, it means that the bus control end 100 receives data from the remote terminal 200; the sub-address of the remote terminal 200 is the register address for pre-storing the data fed back by the remote terminal 200.
[0032] The message storage sub-function 112 is used to store the first test data and its message structure by combining them into a transmission message word; It should be noted that the message storage sub-function 112 combines the first message structure, the status word, and the data word and writes them into the BC message cache. Among them, the status word is fed back by the remote terminal 200 and includes feedback information or status flags; the data word includes the data information to be transmitted.
[0033] It should be further noted that the first message structure, the status word, and the data word are written into the BC message cache as the first message word, and then a stop symbol is configured for this message word as the second message word. When the second message word is read, it is considered that the message ends, and the data sending or receiving is automatically stopped.
[0034] The message sending sub - function 113 is used to send the sending message word to the corresponding remote terminal 200 according to the first message structure. It should be noted that the message words in the BC message cache are sent to the corresponding remote terminal 200 in sequence according to their addresses and sub - addresses through the sending message sending function. To avoid message conflicts, only one message word is processed at a time. After one message word is processed, the second message word is sent. A stop message symbol follows each message word. When reading the message words in the BC message cache, if it is a stop message symbol, the sending of message words is stopped and waiting for the next sending of message words.
[0035] The message reading sub - function 114 is used to read the feedback information of the remote terminal 200.
[0036] It should be noted that after receiving the message word sent by the bus control end 100, the remote terminal 200 will immediately respond. The response feedback result is filled in the status word and data word through the message construction sub - function 111 to obtain the feedback message word, which is stored in the BC message cache. The message reading sub - function 114 reads the feedback message instruction in the BC message cache to verify whether the data transmission from the bus control end 100 to the remote terminal 200 is successful.
[0037] Specifically, during the test process of the 1553B bus test system, data transmission is generally carried out by reading the working mode of a certain remote terminal 200, setting the frequency point, etc. It can be that the remote terminal 200 feeds back data to the bus control end 100, or the bus control end 100 sends data to a certain remote terminal 200 and other situations. Taking the bus control end BC sending data to the remote terminal RT1 as an example, first, the BC2RT function 110 is started. Based on the message construction sub - function 111, according to the address of the remote terminal RT1 and the cache sub - address for receiving messages, the first message structure is constructed. Based on the message storage sub - function 112, this first message structure is written into the BC cache as another message word. The data field in the message word is the data to be sent to the remote terminal RT1, and the status field is empty. Based on the message sending function, this message word is sent to the remote terminal RT1. The remote terminal RT1 returns a status field to confirm the completion of reception, without a data field. Based on the message reading sub - function 114, the feedback data of the remote terminal RT1 is read, and according to the feedback data, it is verified whether the information interaction between BC and RT1 is normal.
[0038] In some embodiments of the present invention, the custom bus function further includes a board card startup function. The board card startup function is used to start the bus control end 100 and connect the bus control end 100 with the remote terminal 200 according to the configuration parameters.
[0039] It should be noted that the 1553B bus is powered on and off through a board. In this embodiment, the working mode of the 1553B bus system is initialized by starting the board opening function to open the board, the BC message buffer block is allocated. After the initialization is completed, the board is successfully powered on, and the 1553B bus control terminal 100 starts to connect with the remote terminal 200 for information interaction.
[0040] Specifically, as Figure 4 shown, Figure 4 This is a partial code schematic diagram of the board opening function provided by the present invention. The function opencard is the board opening function, and its main function is to open the board, reset the board, and initialize the 1553B bus system. In this embodiment, only the remote terminal address to be tested needs to be concerned, thus avoiding the cumbersome processes such as configuring the board and channels in the traditional 1553B bus system test process, and simplifying the test process and parameter configuration.
[0041] In some embodiments of the present invention, the custom bus function further includes a board closing function; The board closing function is used to close the bus control terminal 100.
[0042] It should be noted that at the end of the test, the board closing function is started to close the bus control terminal 100.
[0043] In some embodiments of the present invention, the RT2BC function 120 verifies the data transmission function from the remote terminal 200 to the bus control terminal 100 by calling the sub-function of the BC2RT function 110, including: Calling the message construction sub-function 111 to construct a second message structure based on a preset message structure according to the test instruction, the address and sub-address of the remote terminal 200, and its transmission direction is that the bus control terminal 100 receives data; Calling the message storage sub-function 112 to write and store the second message structure; Calling the message sending sub-function 113 to send the second message structure to the remote terminal 200; Calling the message reading sub-function 114 to read the second test data transmitted by the remote terminal 200.
[0044] It should be noted that the RT2BC function 120 has the same structure as the BC2RT function 110. The BC2RT function 110 is data transmission from the bus control terminal 100 to the remote terminal 200, and RT2BC is data transmission from the remote terminal 200 to the bus control terminal 100.
[0045] Specifically, the RT2BC function 120 is started. Based on the message construction sub-function 111, according to the address of the remote terminal RT and the status register word address, a message structure of RT2BC is constructed. The message structure includes a message type, the address and word address of the remote terminal, and a transmission direction. The transmission direction is 1, that is, the bus control end receives data from the remote terminal. Based on the message storage sub-function 112, the message structure, an empty status field, and a data field are written into the BC cache as the first message word. The empty status field and data field indicate no data transmission. Based on the message sending sub-function 113, the message word is sent to the remote terminal RT. The remote terminal RT returns a status word and a data word. The status word includes the terminal address, service request flag, subsystem status, etc. The data word includes the working status parameters of RT2. Based on the message reading sub-function 114, the feedback data is read and stored in the BC cache.
[0046] In some embodiments of the present invention, the custom bus function further includes an exception handling function; The exception handling function is used to generate exception feedback information when the status of the bus control end 100 is abnormal and / or the connection status between the bus control end 100 and the remote terminal 200 is abnormal.
[0047] It should be noted that after starting the BC2RT function 110 or the RT2BC function 120, the exception handling function checks whether the bus control end 100 is operating normally, whether the previous message has been processed, to avoid conflicts, and checks whether the connection status between the idle control end and the remote terminal 200 is abnormal, etc. For abnormal situations, an error message is returned.
[0048] In some embodiments of the present invention, the test system further includes a bus monitoring end 300, and the bus monitoring end includes a bus monitoring function; The bus monitoring function is used to parse the first message structure and the second message structure in a multi-threaded manner to monitor the working status of the bus test system.
[0049] Specifically, the bus monitoring end 300 continuously and periodically parses the test message instruction and the feedback message instruction through technologies such as a timer or multi-threading to monitor the information interaction between the bus control end 100 and the remote terminal 200.
[0050] Further, in this embodiment, a multi-thread technology is adopted to monitor the bus control terminal 100 and the remote terminal 200. Specifically, first, threads are created, the definition of the multi-thread function is added to the connection function to create a bus monitoring thread. Then, the thread function is used to start multiple threads to read and parse message instructions, and a loop is set to keep the threads running all the time. When multi-threaded data reading is not required, the threads are ended. That is, when the test is completed, the board is closed by the board closing function. In the board closing function, the thread ending is set first to release the thread resources, and then the board is closed.
[0051] To better implement the 1553B bus test system in the embodiments of the present invention, correspondingly, on the basis of the 1553B bus test system, as Figure 5 shown, the present invention also correspondingly provides a test method, including: S401. Start the BC2RT function, control the bus control terminal to send the first test data to the remote terminal, and receive the feedback information of the remote terminal to verify the data transmission function from the bus control terminal to the remote terminal; S402. Start the RT2BC function, control the bus control terminal to send a receive instruction, and receive the second test data transmitted by the remote terminal, and verify the data transmission function from the remote terminal to the bus control terminal according to the second test data.
[0052] It should be noted that: the 1553B bus test method provided in the above embodiment can implement the technical solutions described in the 1553B bus test system embodiment. The principles or specific implementation details realized by the above steps can be referred to the corresponding content in the 1553B bus test system embodiment, and will not be elaborated here one by one.
[0053] Those skilled in the art can understand that all or part of the processes of implementing the above embodiment methods can be completed by instructing relevant hardware (such as a processor, a controller, etc.) through a computer program. The computer program can be stored in a computer-readable storage medium. Among them, the computer-readable storage medium is a disk, an optical disk, a read-only memory or a random access memory, etc.
[0054] The present invention also correspondingly provides an aviation maintenance system. The aviation maintenance system includes a 1553B bus test system; The 1553B bus test system is the 1553B bus test system in the above embodiment.
[0055] It should be noted that: The aviation maintenance system provided in the above embodiment can implement the technical solutions described in the embodiment of the 1553B bus communication system test platform. The aviation system is maintained based on the test results obtained from the test platform. For the working principle or specific implementation details of the test platform, reference can be made to the corresponding content in the embodiment of the 1553B bus communication system test platform, which will not be elaborated here one by one.
[0056] The above has introduced in detail the 1553B bus communication system test platform, method and aviation maintenance system provided by the present invention. Specific examples are used in this article to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.
Claims
1. A 1553B bus test system, communicatively connected to a plurality of remote terminals, characterized in that, The described test system includes a bus control terminal and custom bus functions stored in the bus control terminal, and the custom bus functions are obtained by secondary encapsulation and development based on the original bus functions; The custom bus functions include a BC2RT function and an RT2BC function; Among them, when the BC2RT function is started, the bus control terminal sends first test data to the remote terminal and receives feedback information from the remote terminal to verify the data transmission function from the bus control terminal to the remote terminal; when the RT2BC function is started, the bus control terminal sends a reception instruction, receives second test data transmitted by the remote terminal, and verifies the data transmission function from the remote terminal to the bus control terminal according to the second test data.
2. The 1553B bus test system according to claim 1, characterized in that, The BC2RT function includes a message construction sub-function, a message storage sub-function, a message sending sub-function, and a message reading sub-function; The message construction sub-function is used to construct a first message structure for the first test data based on a preset message structure according to the address and sub-address of the remote terminal, and its transmission direction is that the bus control terminal sends data; The message storage sub-function is used to merge the first test data and its message structure into a send message word for storage; The message sending sub-function is used to send the send message word to the corresponding remote terminal according to the first message structure; The message reading sub-function is used to read the feedback information of the remote terminal.
3. The 1553B bus test system according to claim 1, characterized in that, The custom bus functions further include a board startup function; The board startup function is used to start the bus control terminal and connect the bus control terminal to the remote terminal according to configuration parameters.
4. The 1553B bus test system according to claim 1, wherein The custom bus functions further include a board shutdown function; The board shutdown function is used to shut down the bus control terminal.
5. The 1553B bus test system according to claim 2, wherein The RT2BC function verifies the data transmission function from the remote terminal to the bus control terminal by calling the sub-functions of the BC2RT function, including: Calling the message construction sub-function to construct a second message structure based on a preset message structure according to the address and sub-address of the remote terminal, and its transmission direction is that the bus control terminal receives data; Calling the message storage sub-function to store the second message structure; Calling the message sending sub-function to send the second message structure to the remote terminal; Calling the message reading sub-function to read the second test data transmitted by the remote terminal.
6. The 1553B bus test system according to claim 5, characterized in that, The preset message structure includes a message type, the address of the remote terminal, the sub-address of the remote terminal, and a transmission direction; When the BC2RT function calls the message construction sub-function, the transmission direction is set to send, and when the RT2BC function calls the message construction sub-function, the transmission direction is set to receive.
7. The 1553B bus test system according to claim 1, characterized in that The custom bus functions further include an exception handling function; The exception handling function is used to generate exception feedback information when the status of the bus control terminal is abnormal and / or the connection status between the bus control terminal and the remote terminal is abnormal.
8. The 1553B bus test system according to claim 1, characterized in that, The test system further includes a bus monitoring terminal, and the bus monitoring terminal includes a bus monitoring function; The bus monitoring function is used to parse the first message structure and the second message structure in a multi-threaded manner to monitor the working status of the bus test system.
9. A 1553B bus test method, applied to the 1553B bus test system according to any one of claims 1-8, characterized in that, The method includes: Start the BC2RT function, control the bus control terminal to send the first test data to the remote terminal, and receive the feedback information from the remote terminal to verify the data transmission function from the bus control terminal to the remote terminal; Start the RT2BC function, control the bus control terminal to send a receive instruction, receive the second test data transmitted by the remote terminal, and verify the data transmission function from the remote terminal to the bus control terminal according to the second test data.
10. An aviation maintenance system, characterized in that, The system includes a 1553B bus test system; The 1553B bus test system is the 1553B bus test system according to any one of claims 1-8.