Bus network communication fault positioning method based on bus data acquisition unit

By configuring the bus sending driver software and the host computer testing application software, the bus conversion unit periodically sends predefined bus data to the bus data acquisition unit, solving the problem of difficult to locate occasional packet loss failures in the onboard bus network, achieving rapid isolation and positioning of faults, improving diagnostic efficiency and avoiding the cost of blindly replacing hardware chips.

CN119892610AActive Publication Date: 2025-04-25XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411956990.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-29
Publication Date
2025-04-25
Estimated Expiration
2044-12-29

AI Technical Summary

Technical Problem

The problem of the onboard bus network being difficult to locate faults due to packet loss during data communication.

Method used

By configuring the bus sending driver software and the host computer testing application software, the bus conversion unit periodically sends predefined bus data to the bus data acquisition unit, and receives the returned bus data, tests the data integrity through the bus receiving driver software, and locates the fault.

Benefits of technology

It realizes rapid isolation and positioning of occasional packet loss failures in 1394b bus communication, clearly scheduling failures or hardware failures, improves the diagnostic efficiency of non-recuring failures, and avoids the cost of blindly replacing hardware chips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892610A_ABST
    Figure CN119892610A_ABST
Patent Text Reader

Abstract

The invention provides a bus network communication fault positioning method based on a bus data acquisition unit, and belongs to the technical field of aviation airborne computer bus design, and the method comprises the steps: bus transmission driving software provides a first function for upper computer test application software; the upper computer uses the test software to generate predefined bus data according to the first function and sends the predefined bus data; through a bus conversion unit, predefined bus data is sent to a bus data acquisition unit, and bus data returned by the bus data acquisition unit is received at the same time; providing a second function for the upper computer test application software through the bus receiving driving software, and receiving bus data returned by the bus data acquisition unit according to the second function; and testing the data integrity through the bus conversion unit according to the returned bus data, and stopping data transmission when the integrity has an error. According to the scheme, the diagnosis efficiency of the non-recurrence fault is improved, and the fault site can be quickly locked.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of aviation airborne computer bus design, and in particular to a bus network communication fault locating method based on a bus data acquisition unit. Background Art

[0002] There are many failure modes of airborne bus networks. However, when occasional packet loss occurs, it is often difficult to locate the specific site of packet loss due to the strong real-time nature of bus communication, which makes fault location difficult. Currently, there is no better solution. Summary of the invention

[0003] In view of this, an embodiment of the present application provides a bus network communication fault locating method based on a bus data acquisition unit, which at least partially solves the problem of occasional packet loss in the airborne bus network during data communication in the prior art and inability to locate faults.

[0004] The embodiment of the present application provides a bus network communication fault locating method 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] configuring a bus conversion unit, sending the predefined bus data to a bus data acquisition unit through the bus conversion unit, and receiving the bus data returned by the bus data acquisition unit;

[0008] Configuring bus receiving driver software, wherein the bus receiving driver software is used to provide a second function that can be directly called by the host computer test application software;

[0009] The host computer application test software receives the 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 the embodiment of the present application, the sending of the predefined bus data to the bus data acquisition unit by the bus conversion unit includes:

[0012] The predefined bus data is periodically sent to the bus data acquisition unit through the bus conversion unit, and one packet of the predefined bus data is sent each time.

[0013] According to a specific implementation method of an embodiment of the present application, the time interval for the periodic sending is 12.5 ms.

[0014] According to a specific implementation of the embodiment of the present application, the receiving driver interface corresponding to the bus receiving driver software includes a 1394b bus receiving driver interface and an FC bus receiving driver interface.

[0015] According to a specific implementation of the embodiment of the present 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 the embodiment of the present application, the bus conversion unit is configured as a 1394b bus conversion unit.

[0018] According to a specific implementation of the embodiment of the present application, the bus conversion unit tests the integrity of the data according to the bus data returned by the bus data acquisition unit, and when an integrity error occurs, immediately stops sending the data, including:

[0019] The bus conversion unit periodically tests the integrity of the data based on 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 to stop sending data.

[0020] Beneficial effects:

[0021] The bus network communication fault location method based on the bus data acquisition unit in the embodiment of the present application can quickly isolate and clarify whether the cause of the fault is a data organization and scheduling fault or a hardware fault when occasional packet loss and other difficult faults occur in the 1394b bus communication. If it is a data organization and scheduling fault, it can further provide dynamic capture of logic layer signals, greatly improving the diagnostic efficiency of non-reproducible faults, and can quickly lock the fault site, with high portability and reference significance. It can provide the state machine operation status and the status of each internal variable at the time of the fault, which is conducive to analyzing the deep cause of the fault and avoiding the increase in cost caused by blindly replacing hardware chips. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1The present invention 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 DESCRIPTION

[0024] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0025] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.

[0026] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present application, it should be understood by those skilled in the art that an 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 described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.

[0027] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. The illustrations only show the components related to the present application rather than being drawn according to the number, shape and size of the components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.

[0028] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects described may be practiced without these specific details.

[0029] The present application embodiment provides a bus network communication fault location method based on a bus data acquisition unit, and the following reference is made to Figure 1 This method specifically comprises the following steps:

[0030] Step 1: 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;

[0031] Step 2, the host computer application test software generates and sends predefined bus data according to the first function;

[0032] Step 3: configure a bus conversion unit, send the predefined bus data to the bus data acquisition unit through the bus conversion unit, and receive the bus data returned by the bus data acquisition unit;

[0033] Step 4: configure bus receiving driver software, wherein the bus receiving driver software is used to provide 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] During specific implementation, the system based on which the method of this embodiment is executed is mainly composed of six units: bus data acquisition unit, bus conversion unit, power control unit, bus sending driver software, bus receiving driver software, and host computer application test software, forming a complete test system. The bus control unit serves as a test device, and the bus data acquisition unit is mainly used for collecting bus data, usually as a device under test in this system. The bus sending driver software and the bus receiving driver software are mainly used to provide directly callable functions to the host computer application test software. When writing test cases, the driver can be directly called to realize the sending of bus data and receive the data generated by the bus data acquisition unit.

[0037] The method in this embodiment can quickly isolate and identify the cause of difficult-to-troubleshoot faults such as occasional packet loss during data communication in an airborne bus network (such as 1553B, 1394b, etc.), and can further provide dynamic capture of logic layer signals, greatly improving the diagnostic efficiency of non-reproducible faults, and can quickly locate the fault site. It has high portability and reference significance.

[0038] Further, the sending of the predefined bus data to the bus data acquisition unit through the bus conversion unit includes:

[0039] The predefined bus data is periodically sent to the bus data acquisition unit through the bus conversion unit, and one packet of the predefined bus data is sent 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 communicates a large amount of data, but only sends one packet of data instead. The bus control unit receives the data fed back by the bus data acquisition unit, thereby judging the data integrity and ensuring the on-site retention at the time of the fault. It can provide troubleshooting ideas for the occasional packet loss phenomenon under the premise of large data volume communication based on 1553B and 1394b buses, and achieve fault isolation and rapid location. It can also provide the state machine operation status and the status of each internal variable at the time of the fault, which is conducive to analyzing the deep cause of the fault and avoiding the increase in cost caused by blindly replacing hardware chips. It is suitable for product field fault troubleshooting to improve availability.

[0041] Furthermore, the time interval of the periodic transmission is 12.5 ms.

[0042] In this embodiment, the cycle is set to 12.5ms, that is, a packet of data 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 immediately generates an interrupt and stops sending data, thereby preserving the fault scene well and providing a strong basis for capturing the logic waveform and state machine analysis at the moment of the fault, so as to quickly locate whether the fault occurs in the bus data acquisition unit or the bus control unit, and further analyze the mechanism of the fault.

[0043] In one embodiment, the receiving driver interface corresponding to the bus receiving driver software includes a 1394b bus receiving driver interface and an FC bus receiving driver interface. Since the sending end of the product bus acquisition unit in this solution has a 1394b interface and an FC interface, there are two types of receiving driver interfaces for the test end, one is a 1394b bus receiving driver, and the other is a FC bus receiving driver.

[0044] Furthermore, the method further comprises:

[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] Further, the bus conversion unit tests the integrity of the data according to the bus data returned by the bus data acquisition unit, and when an integrity error occurs, immediately stops sending the data, including:

[0048] The bus conversion unit periodically tests the integrity of the data based on 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 to stop sending data.

[0049] The embodiments provided by the present invention have the following advantages:

[0050] In order to realize the system used by this method, it is composed 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 requires large amounts of data to be communicated. Instead, only one packet of data is sent, and the bus control unit receives the data fed back by the bus data acquisition unit to determine the integrity of the data, thus ensuring on-site retention at the time 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 buses, and achieve fault isolation and rapid positioning;

[0053] The present application can provide the operation status of the state machine and the status of each internal variable at the time of the fault, which is conducive to analyzing the underlying cause of the fault and avoiding the increase in costs caused by blindly replacing hardware chips.

[0054] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A bus network communication fault location method based on a bus data acquisition unit, characterized in that: The method comprises: 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 application test software generates and sends predefined bus data according to the first function; configuring a bus conversion unit, sending the predefined bus data to a bus data acquisition unit through the bus conversion unit, and receiving the bus data returned by the bus data acquisition unit; Configuring bus receiving driver software, wherein the bus receiving driver software is used to provide a second function that can be directly called by the host computer test application software; The host computer application test software receives the bus data returned by the bus data acquisition unit according to the second function; The bus conversion unit tests the integrity of the data according to the bus data returned by the bus data acquisition unit, and when an error occurs in the integrity, the data transmission is stopped immediately.

2. The bus network communication fault location method based on the bus data acquisition unit according to claim 1 is characterized in that: The sending the predefined bus data to the bus data acquisition unit through the bus conversion unit includes: The predefined bus data is periodically sent to the bus data acquisition unit through the bus conversion unit, and one packet of the predefined bus data is sent each time.

3. The bus network communication fault location method based on the bus data acquisition unit according to claim 2 is characterized in that: The time interval of the periodic transmission is 12.5 ms.

4. The bus network communication fault location method based on the bus data acquisition unit according to claim 1 is characterized in that: The receiving driver interface corresponding to the bus receiving driver software includes a 1394b bus receiving driver interface and an FC bus receiving driver interface.

5. The bus network communication fault location method based on the bus data acquisition unit according to claim 1, characterized in that: The method further comprises: A power control unit is configured to supply power to each unit.

6. The bus network communication fault location method based on the 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 the bus data acquisition unit according to claim 2 is characterized in that: The bus conversion unit tests the integrity of the data according to the bus data returned by the bus data acquisition unit, and when an integrity error occurs, immediately stops sending the data, including: The bus conversion unit periodically tests the integrity of the data based on 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 to stop 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

  • Airplane 1394B bus communication simulation test platform

    CN113067745A

  • 429 bus general aircraft avionics cross-linking fault test method

    CN117446203A

  • Multi-model fused avionic product health assessment method

    WO2023227071A1