A method for locating bus network communication faults based on a bus data acquisition unit
By configuring a communication fault location method for the bus data acquisition unit, the problem of difficulty in locating occasional packet loss in the airborne bus network was solved, achieving rapid isolation and efficient diagnosis, and avoiding unnecessary hardware replacement costs.
Patent Information
- Application Number
- CN202411956990.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-29
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2044-12-29
AI Technical Summary
Airborne bus networks are difficult to locate in the event of occasional packet loss, and existing technologies lack effective solutions.
By configuring the bus sending driver software, host computer test application software, bus conversion unit, and receiving driver software, predefined bus data is periodically sent, and data integrity testing is performed using the bus data acquisition unit to quickly isolate faults.
It enables rapid isolation and location of occasional packet loss faults in the airborne bus network, improving diagnostic efficiency and avoiding the increased cost of blindly replacing hardware chips.
Smart Images

Figure CN119892610B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of airborne computer bus design technology, and in particular to a method for locating bus network communication faults based on a bus data acquisition unit. Background Technology
[0002] There are many failure modes in airborne bus networks, but when occasional packet loss occurs, the strong real-time nature of bus communication often makes it difficult to pinpoint the specific location of the packet loss, thus making fault location difficult. There is currently no good solution. Summary of the Invention
[0003] In view of this, the present application provides a bus network communication fault location method based on a bus data acquisition unit, which at least partially solves the problem in the prior art that occasional packet loss occurs during data communication in airborne bus networks, making it impossible to locate the fault.
[0004] This application provides a method for locating bus network communication faults based on a bus data acquisition unit, the method comprising:
[0005] Configure bus transmission driver software and host computer test application software, wherein the bus transmission driver software is used to provide the host computer test application software with a first function that can be directly called;
[0006] The host computer application test software generates and sends predefined bus data according to the first function;
[0007] Configure a bus conversion unit to send the predefined bus data to the bus data acquisition unit, and simultaneously receive the bus data returned by the bus data acquisition unit;
[0008] Configure bus receiver driver software, which provides a second function that can be directly called by the host computer test application software;
[0009] The host computer application test software receives bus data returned by the bus data acquisition unit according to the second function;
[0010] The bus conversion unit tests the integrity of the data based on the bus data returned by the bus data acquisition unit.
[0011] According to a specific implementation of an embodiment of this application, the step of sending the predefined bus data to the bus data acquisition unit through the bus conversion unit includes:
[0012] The bus conversion unit periodically sends the predefined bus data to the bus data acquisition unit, and sends one packet of the predefined bus data each time.
[0013] According to one specific implementation of this application, the time interval for periodic transmission is 12.5ms.
[0014] According to a specific implementation of an embodiment of this application, the receive driver interface corresponding to the bus receive driver software includes a 1394b bus receive driver interface and an FC bus receive driver interface.
[0015] According to a specific implementation of an embodiment of this application, the method further includes:
[0016] A power control unit is configured to supply power to each unit.
[0017] According to a specific implementation of an embodiment of this application, the bus conversion unit is configured as a 1394b bus conversion unit.
[0018] According to a specific implementation of an embodiment of this application, the step of testing the integrity of data by the bus conversion unit based on the bus data returned by the bus data acquisition unit, and immediately stopping data transmission when an integrity error occurs, includes:
[0019] The bus conversion unit periodically tests the integrity of the bus data returned by the bus data acquisition unit. When an integrity error occurs, the host computer application test software immediately generates an interrupt and stops sending data.
[0020] Beneficial effects:
[0021] The bus network communication fault location method based on a bus data acquisition unit in this embodiment can quickly isolate difficult-to-diagnose faults such as intermittent packet loss in 1394b bus communication, clarifying whether the cause of the fault is a data organization and scheduling failure or a hardware failure. If it is a data organization and scheduling failure, it can further provide dynamic capture of logic layer signals, greatly improving the diagnostic efficiency for non-reproducible faults. It can quickly locate the fault scene and has high portability and reference value. It can provide the state machine operation status and the state of each internal variable at the time of the fault, which is beneficial for analyzing the underlying cause of the fault and avoids the increased cost caused by blindly replacing hardware chips. Attached Figure Description
[0022] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the 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.
[0023] Figure 1This is a flowchart of a bus network communication fault location method based on a bus data acquisition unit according to an embodiment of the present invention. Detailed Implementation
[0024] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0025] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. This application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, in the absence of conflict, the following embodiments and features in the embodiments can be combined with each other. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0026] It should be noted that various aspects of embodiments within the scope of the appended claims are described below. It will be apparent that the aspects described herein can be embodied in a wide variety of forms, and any particular structure and / or function described herein is merely illustrative. Based on this application, those skilled in the art will understand that one aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects set forth herein can be used to implement the device and / or practice the method. Additionally, this device and / or method can be implemented using structures and / or functionalities other than one or more of the aspects set forth herein.
[0027] It should also be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. The illustrations only show the components related to this application and are not drawn according to the number, shape and size of the components in actual implementation. In actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0028] Furthermore, specific details are provided in the following description to facilitate a thorough understanding of the examples. However, those skilled in the art will understand that the described aspects can be practiced without these specific details.
[0029] This application provides a method for locating bus network communication faults based on a bus data acquisition unit, as described below. Figure 1 A detailed description is provided. This method specifically includes the following steps:
[0030] Step 1: Configure the bus transmission driver software and the host computer test application software. The bus transmission driver software is used to provide the host computer test application software with a first function that can be directly called.
[0031] Step 2: The host computer application test software generates and sends predefined bus data according to the first function;
[0032] Step 3: Configure the bus conversion unit to send the predefined bus data to the bus data acquisition unit, and simultaneously receive the bus data returned by the bus data acquisition unit.
[0033] Step 4: Configure the bus receiver driver software, which provides a second function that can be directly called by the host computer test application software;
[0034] Step 5: The host computer application test software receives the bus data returned by the bus data acquisition unit according to the second function;
[0035] Step 6: The bus conversion unit tests the integrity of the data based on the bus data returned by the bus data acquisition unit.
[0036] In practical implementation, the system upon which the method of this embodiment is based mainly consists of six units: a bus data acquisition unit, a bus conversion unit, a power control unit, bus transmit driver software, bus receive driver software, and host computer application test software, forming a complete test system. The bus control unit serves as the test device, while the bus data acquisition unit is primarily used for acquiring bus data and typically acts as the device under test (DUT) in this system. The bus transmit driver software and bus receive driver software mainly provide directly callable functions to the host computer application test software. When writing test cases, these drivers can be directly called to transmit bus data and simultaneously receive data generated by the bus data acquisition unit.
[0037] The method in this embodiment is designed for the rapid isolation of difficult-to-diagnose faults such as occasional packet loss during data communication in airborne bus networks (e.g., 1553B, 1394b, etc.). It can identify the cause of the fault and further provide dynamic capture of logic layer signals, which greatly improves the diagnostic efficiency for non-reproducible faults. It can quickly locate the fault scene and has high portability and reference value.
[0038] Furthermore, the step of sending the predefined bus data to the bus data acquisition unit through the bus conversion unit includes:
[0039] The bus conversion unit periodically sends the predefined bus data to the bus data acquisition unit, and sends one packet of the predefined bus data each time.
[0040] In this embodiment, a clever fault location strategy is designed. By modifying the host computer test application software, each test no longer involves large-scale data communication, but instead sends only one data packet. The bus control unit receives the data fed back by the bus data acquisition unit, thereby judging data integrity and ensuring the preservation of the scene at the moment of failure. This provides a troubleshooting approach for occasional packet loss under the premise of large-volume communication based on 1553B and 1394b buses, achieving fault isolation and rapid location. Furthermore, it can provide the state machine operation status and the state of internal variables at the moment of failure, which is beneficial for analyzing the underlying causes of the fault and avoids the increased costs of blindly replacing hardware chips. It is suitable for troubleshooting product field failures and improves availability.
[0041] Furthermore, the time interval for the periodic transmission is 12.5ms.
[0042] In this embodiment, the period is set to 12.5ms, that is, a data packet is sent every 12.5ms. In this way, the bus conversion unit will judge the integrity of the bus data in each cycle. When an integrity error occurs, the host computer test software will immediately generate an interrupt and stop sending data. This can effectively preserve the fault scene and provide strong evidence for capturing the logic waveform and analyzing the state machine at the time of the fault. This allows for quick location of whether the fault occurred in the bus data acquisition unit or the bus control unit, and further analysis of the fault mechanism.
[0043] In one embodiment, the receive driver interface corresponding to the bus receive driver software includes a 1394b bus receive driver interface and an FC bus receive driver interface. Since the transmitting end of the product bus acquisition unit in this solution has both a 1394b interface and an FC interface, there are two receive driver interfaces for the testing end: a 1394b bus receive driver and an FC bus receive driver.
[0044] Furthermore, the method also includes:
[0045] A power control unit is configured to supply power to each unit.
[0046] Furthermore, the bus conversion unit is configured as a 1394b bus conversion unit.
[0047] Furthermore, the bus conversion unit tests the integrity of the data based on the bus data returned by the bus data acquisition unit, and immediately stops data transmission when an integrity error is detected, including:
[0048] The bus conversion unit periodically tests the integrity of the bus data returned by the bus data acquisition unit. When an integrity error occurs, the host computer application test software immediately generates an interrupt and stops sending data.
[0049] The embodiments provided by the present invention have the following advantages:
[0050] To implement the system used in this method, it consists of six units: bus data acquisition unit, bus control unit, power control unit, bus transmission driver software, bus reception driver software, and host computer test application software, forming a complete test mechanism.
[0051] A clever fault location method was designed. By modifying the host computer test application software, each test no longer involves a large amount of data communication, but instead only sends a single data packet. The bus control unit receives the data fed back by the bus data acquisition unit, thereby judging the data integrity and ensuring the preservation of the scene at the moment of the fault.
[0052] This application can provide troubleshooting ideas for occasional packet loss under the premise of large data volume communication based on the airborne network 1553B and 1394b bus, and achieve fault isolation and rapid location.
[0053] This application can provide the state machine operation status and the state of each internal variable at the time of failure, which is helpful for analyzing the root cause of the failure and avoids the increased cost caused by blindly replacing hardware chips.
[0054] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for locating faults in bus network communication based on a bus data acquisition unit, characterized in that, The method includes: Configure bus transmission driver software and host computer test application software, wherein the bus transmission driver software is used to provide the host computer test application software with a first function that can be directly called; The host computer test application software generates and sends predefined bus data according to the first function; Configure a bus conversion unit to send the predefined bus data to the bus data acquisition unit, and simultaneously receive the bus data returned by the bus data acquisition unit; Configure bus receiver driver software, which provides a second function that can be directly called by the host computer test application software; The host computer test application software receives bus data returned by the bus data acquisition unit according to the second function; The bus conversion unit tests the integrity of the data based on the bus data returned by the bus data acquisition unit. If an integrity error is found, data transmission is immediately stopped.
2. The bus network communication fault location method based on a bus data acquisition unit according to claim 1, characterized in that, The step of sending the predefined bus data to the bus data acquisition unit through the bus conversion unit includes: The bus conversion unit periodically sends the predefined bus data to the bus data acquisition unit, and sends one packet of the predefined bus data each time.
3. The bus network communication fault location method based on a bus data acquisition unit according to claim 2, characterized in that, The time interval for the periodic transmission is 12.5ms.
4. The bus network communication fault location method based on a bus data acquisition unit according to claim 1, characterized in that, The bus receiver driver software includes a 1394b bus receiver driver interface and an FC bus receiver driver interface.
5. The bus network communication fault location method based on a bus data acquisition unit according to claim 1, characterized in that, The method further includes: A power control unit is configured to supply power to each unit.
6. The bus network communication fault location method based on a bus data acquisition unit according to claim 1, characterized in that, The bus conversion unit is configured as a 1394b bus conversion unit.
7. The bus network communication fault location method based on a bus data acquisition unit according to claim 2, characterized in that, The process of testing the integrity of data by the bus conversion unit based on the bus data returned by the bus data acquisition unit, and immediately stopping data transmission when an integrity error is detected, includes: The bus conversion unit periodically tests the integrity of the bus data returned by the bus data acquisition unit. When an integrity error occurs, the host computer test application software immediately generates an interrupt and stops sending data.
Citation Information
Patent Citations
1553B data bus testing simulation system
CN102938713A
Fault detection and switching method considering performance monitoring of 1553B dual bus network
CN107070762A