Heterogeneous network data transmission method

By setting up a slow bus in the heterogeneous network data transmission system, the problem of data transmission interruption caused by fast bus failure or congestion is solved, the continuity and reliability of data transmission are improved, and the overall data transmission process is optimized.

CN119363509AActive Publication Date: 2025-01-24TIANJIN JINHANG COMP TECH RES INST
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411479903.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-01-24
Estimated Expiration
2044-10-23

AI Technical Summary

Technical Problem

In the prior art, a fast bus failure or network congestion between the source device and the intermediate device causes data transmission to be interrupted, affecting the data reception of the target device.

Method used

A low -cost slow bus is set up between the intermediate equipment and the source equipment, and between the intermediate equipment and the target equipment, respectively. When meeting the transmission requirements, it is transformed into a slow bus to re -transmit data in time.

Benefits of technology

It improves the continuity and reliability of data transmission of source equipment and intermediate equipment, provides a more favorable foundation for the transmission of intermediate equipment to the target equipment, and optimizes the overall data transmission process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119363509A_ABST
    Figure CN119363509A_ABST
Patent Text Reader

Abstract

The invention provides a heterogeneous network data transmission method, which comprises the following steps: within a first preset duration after a source device generates a group of new data, if the group of new data transmitted by a first fast bus is received, starting timing, receiving a data set within a data period, verifying the data set to obtain a first verification result, and sending the first verification result to the source device; if the first verification result is abnormal, the first verification result is fed back to the source device through the first slow bus, so that the source device calls the data set cached in the first cache region, and the data set is transmitted again through the first slow bus; and if the first verification result is normal verification or the data set transmitted by the first low-speed bus is received, transmitting the data set to the target device through the second high-speed bus or the second low-speed bus, and caching the data set into a second cache region. According to the invention, the continuity and reliability of data transmission of the source device and the intermediate device are improved at a low cost, so that the overall data transmission process is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of avionics data transmission, and in particular to a heterogeneous network data transmission method. Background Art

[0002] In the field of avionics, the accuracy and stability of data transmission between devices are crucial. For example, during the flight of an aircraft, avionics equipment needs to continuously exchange key data such as flight attitude, navigation information, and engine operating conditions. Any data transmission errors or interruptions may affect flight safety and mission execution.

[0003] In the prior art, in order to improve the real-time performance of data transmission, a fast bus is usually used to transmit the data generated by the source device to the target device through an intermediate device. However, if the fast bus between the source device and the intermediate device fails or the network is congested, new data cannot be transmitted to the intermediate device. In this case, the data transmission will be interrupted at this stage, causing the target device to be unable to receive the data. Summary of the invention

[0004] In view of the above defects or deficiencies in the prior art, the present application aims to provide a heterogeneous network data transmission method, which is implemented based on a heterogeneous network data transmission system, and the system includes:

[0005] A source device, the source device having a first buffer area; the source device is configured to generate new data and cache the new data into the first buffer area;

[0006] An intermediate device, the intermediate device and the source device are interconnected via a first fast bus and a first slow bus; the intermediate device has a second cache area;

[0007] a target device, the target device and the intermediate device being interconnected via a second fast bus and interconnected via a second slow bus;

[0008] The method comprises the following steps:

[0009] Within a first preset time period after the source device generates a group of the new data, if the group of the new data transmitted by the first fast bus is received, timing is started, and a data set is received within a data cycle, the data set including multiple groups of new data;

[0010] Verifying the data set to obtain a first verification result, wherein the first verification result includes a normal verification or an abnormal verification;

[0011] If the first verification result is a verification abnormality, the first verification result is fed back to the source device through the first slow bus, so that the source device retrieves the data set cached in the first buffer area and retransmits it through the first slow bus;

[0012] If the first check result is normal or the data set transmitted by the first slow bus is received, the data set is transmitted to the target device via the second fast bus or the second slow bus, and the data set is cached in the second cache area.

[0013] According to the technical solution provided in the embodiment of the present application, the method further includes the following steps:

[0014] Within a first preset time after the source device generates a group of the new data, if the group of the new data transmitted by the first fast bus is not received, a first instruction is sent, wherein the first instruction is used to instruct the group of the new data to be retransmitted by the first slow bus.

[0015] According to the technical solution provided in the embodiment of the present application, the transmitting the data set to the target device through the second fast bus or the second slow bus specifically includes the following steps:

[0016] Determining a connection result between the second fast bus and the target device and a working state of the target device;

[0017] If the connection result between the second fast bus and the target device is normal and the working state of the target device is normal, transmitting the data set to the target device through the second fast bus;

[0018] If the connection result between the second fast bus and the target device is abnormal and the working state of the target device is normal, the data set is transmitted to the target device through the second slow bus.

[0019] According to the technical solution provided in the embodiment of the present application, after transmitting the data set to the target device through the second fast bus or the second slow bus and caching the data set into the second buffer area, the following steps are also included:

[0020] If the second verification result received is a verification abnormality, the data set in the second cache area will be retransmitted to the target device through the second slow bus; the second verification result is the verification result of the data set by the target device; if the second verification result received is a verification normal, the data transmission of the data set within the data cycle is completed.

[0021] According to the technical solution provided in the embodiment of the present application, the intermediate device further has a third cache area; the method further comprises the following steps:

[0022] When the data set in the second buffer area is retransmitted to the target device via the second slow bus, if another set of new data transmitted by the source device is received, the set of new data is cached in the third buffer area.

[0023] According to the technical solution provided in the embodiment of the present application, the new data includes a header area and a data area, the header area includes a header flag, a data sequence number, a total number of packets, and the length of the data of this packet, the data area includes the data content and a check bit of the data of this packet, and the data length of this packet is the length of the data content of the data of this packet; the check bit stores a preset checksum of the data of this packet calculated by the XOR sum method.

[0024] According to the technical solution provided in the embodiment of the present application, the data set is verified to obtain a first verification result, which specifically includes the following steps:

[0025] Based on the total number of packets of each group of the new data in the data set, a packet loss result is obtained; the packet loss result includes no packet loss and packet loss;

[0026] If the packet loss result is no packet loss, a checksum result is obtained based on the preset checksum of each group of the new data in the data set; the checksum result is a checksum consistency and a checksum deviation;

[0027] If the packet loss result is packet loss or the checksum result is a checksum deviation, the first check result of abnormal check is obtained; if the checksum result is a checksum consistency, the first check result of normal check is obtained.

[0028] According to the technical solution provided in the embodiment of the present application, obtaining the packet loss result based on the total number of packets of each group of the new data in the data set specifically includes the following steps:

[0029] Unpacking all groups of the new data in the data set, obtaining the total number of packets in the packet header area of ​​each group of the new data, and counting the total number of packets in the data set;

[0030] If the sum of the total number of packets is the same as the preset total number of packets, a packet loss result of no packet loss is obtained; if the sum of the total number of packets is different from the preset total number of packets, a packet loss result of packet loss is obtained; the preset total number of packets is the total number of packets of data corresponding to the data set received within the data period.

[0031] According to the technical solution provided in the embodiment of the present application, obtaining the checksum result based on the preset checksum of each group of the new data in the data set specifically includes the following steps:

[0032] Extracting the data content of the data area, and calculating the actual checksum of each group of the new data in the received data set respectively according to the XOR sum method based on the data content;

[0033] If the preset checksums of the new data of all groups are equal to the corresponding actual checksums, a checksum result with consistent checksums is obtained.

[0034] According to the technical solution provided in the embodiment of the present application, after respectively calculating the actual checksum of each group of the new data in the received data set according to the XOR sum method, the following steps are also included:

[0035] If the preset checksum of at least one set of the new data is not equal to the corresponding actual checksum, a checksum result of the checksum deviation is obtained.

[0036] Compared with the prior art, the beneficial effect of the present application is that: the present application sets up an additional low-cost slow bus between the intermediate device and the source device, and between the intermediate device and the target device, respectively. When the fast bus between the source device and the intermediate device fails or the network is congested, the intermediate device can judge by the first verification result or the first preset time period that no new data has been received. When it is judged that the fast bus does not meet the transmission requirements, it is promptly converted to the slow bus to retransmit the data in the cache area to the intermediate device. The present application can improve the continuity and reliability of data transmission between the source device and the intermediate device at a lower cost, provide a more favorable basis for the transmission from the intermediate device to the target device, and thus optimize the overall data transmission process. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A flowchart of the steps of the heterogeneous network data transmission method provided in the embodiment of the present application;

[0038] Figure 2 A schematic diagram of the structure of a heterogeneous network data transmission system provided in an embodiment of the present application.

[0039] The text annotations in the figure represent:

[0040] 1. First slow bus; 2. Second fast bus; 3. First fast bus; 4. Second slow bus; 5. Source device; 6. Intermediate device; 7. Target device. DETAILED DESCRIPTION

[0041] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0042] It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0043] Example 1

[0044] As mentioned in the background technology, in order to solve the problems in the prior art, this application proposes a data transmission system based on heterogeneous networks. Figure 2 As shown, including:

[0045] A source device 5, wherein the source device 5 has a first buffer area; the source device 5 is configured to generate new data and cache the new data into the first buffer area;

[0046] An intermediate device 6, wherein the intermediate device 6 and the source device 5 are interconnected via a first fast bus 3 and a first slow bus 1; the intermediate device 6 has a second cache area;

[0047] The target device 7 and the intermediate device 6 are interconnected via a second fast bus 2 and a second slow bus 4 .

[0048] Specifically, the software architecture of the heterogeneous network data transmission system includes a network communication module and a multi-level bus data management module. The network communication module mainly completes the network initialization of each bus (the first fast bus 3, the second fast bus 2, the first slow bus 1, the second slow bus 4), and provides the input / output interface of each bus. The multi-level bus data management module mainly includes a system management submodule and a data processing submodule. The system management submodule mainly completes the startup and initialization of the system, the scheduling and management of tasks, and the data processing submodule mainly completes the processing of transmission data.

[0049] Example 2

[0050] Based on Example 1, this example proposes a heterogeneous network data transmission method, which is characterized by being implemented based on a heterogeneous network data transmission system. Please refer to Figure 1 As shown, the method comprises the following steps:

[0051] S1, within a first preset time after the source device 5 generates a group of the new data, if the group of the new data transmitted by the first fast bus 3 is received, start timing, and receive a data set within a data cycle, the data set including multiple groups of new data;

[0052] Specifically, the method is carried out with the intermediate device 6 as the main body. After the source device 5 generates new data, the target device 7 starts the timer and monitors the first fast bus 3 within a first preset time period. If a data transmission signal is detected within the specified time, the timing starts and data is continuously received until a data cycle ends.

[0053] For example, in an avionics data transmission system, the first preset duration is set to 50 milliseconds, and the data cycle is set to 200 milliseconds according to the data transmission frequency of the device. When the source device 5 generates new data at a certain moment, if the intermediate device 6 receives the group of new data transmitted by the first fast bus 3 within 50 milliseconds after the source device 5 generates the group of new data, it starts timing and aggregates multiple groups of new data received within 200 milliseconds to form the data set.

[0054] Furthermore, the new data includes a header area and a data area, the header area includes a header flag, a data sequence number, a total number of packets, and a length of data in this packet, the data area includes the data content and a check bit of the data in this packet, and the data length of this packet is the length of the data content of the data in this packet; the check bit stores a preset checksum of the data in this packet calculated by an XOR sum method.

[0055] S2. Verify the data set to obtain a first verification result, where the first verification result includes a normal verification or an abnormal verification;

[0056] Further, the verifying the data set to obtain a first verification result specifically includes the following steps:

[0057] Based on the total number of packets of each group of the new data in the data set, a packet loss result is obtained; the packet loss result includes no packet loss and packet loss;

[0058] If the packet loss result is no packet loss, a checksum result is obtained based on the preset checksum of each group of the new data in the data set; the checksum result is a checksum consistency and a checksum deviation;

[0059] If the packet loss result is packet loss or the checksum result is a checksum deviation, the first check result of abnormal check is obtained; if the checksum result is a checksum consistency, the first check result of normal check is obtained.

[0060] Furthermore, obtaining the packet loss result based on the total number of packets of each group of the new data in the data set specifically includes the following steps:

[0061] Unpacking all groups of the new data in the data set, obtaining the total number of packets in the packet header area of ​​each group of the new data, and counting the total number of packets in the data set;

[0062] If the sum of the total number of packets is the same as the preset total number of packets, a packet loss result of no packet loss is obtained; if the sum of the total number of packets is different from the preset total number of packets, a packet loss result of packet loss is obtained; the preset total number of packets is the total number of packets of data corresponding to the data set received within the data period.

[0063] Specifically, the preset total number of packets is the total number of packets of data corresponding to the data set that should be received, which is pre-set according to the expectation and plan of data transmission within a specific data cycle. It is a fixed reference value used to determine whether the data actually received is complete. The process of setting the preset total number of packets can be: if the data sender generates data and packages it for transmission at a fixed rate, then the preset total number of packets can be estimated based on this rate and the duration of the data cycle. Exemplarily, the sender generates 10 data packets per second, and the data cycle is 10 seconds, then the preset total number of packets may be 100. In order to further improve the accuracy, the impact of network stability and bandwidth limitations on data transmission can also be considered, and a more accurate preset total number of packets can be obtained by floating around 100.

[0064] Further, obtaining a checksum result based on the preset checksum of each group of the new data in the data set specifically includes the following steps:

[0065] Extracting the data content of the data area, and calculating the actual checksum of each group of the new data in the received data set respectively according to the XOR sum method based on the data content;

[0066] If the preset checksums of the new data of all groups are equal to the corresponding actual checksums, a checksum result with consistent checksums is obtained.

[0067] If the preset checksum of at least one set of the new data is not equal to the corresponding actual checksum, a checksum result of the checksum deviation is obtained.

[0068] S3, if the first verification result is a verification abnormality, feeding back the first verification result to the source device 5 through the first slow bus 1, so that the source device 5 retrieves the data set cached in the first buffer area and retransmits it through the first slow bus 1;

[0069] Specifically, during the process of reading the data set cached in the first buffer area, the source device 5 quickly locates and reads the data according to the index or mark when the data is stored. Then, the data set is resent through the first slow bus 1, and a certain error control mechanism is adopted during the sending process, such as adding redundant information, adjusting signal strength, etc., to improve the reliability of data transmission.

[0070] S4. If the first verification result is normal or the data set transmitted by the first slow bus 1 is received, the data set is transmitted to the target device 7 through the second fast bus 2 or the second slow bus 4, and the data set is cached in the second cache area.

[0071] Specifically, if the check result is normal or the data set retransmitted by the source device 5 through the first slow bus 1 is successfully received, a suitable bus is selected for data forwarding according to the connection status and node status of the target device 7 on the second fast bus 2 and the second slow bus 4.

[0072] Specifically, this embodiment stores the data of the source device 5 through the first cache area, which can be retrieved when the transmission is abnormal. Combined with the verification and feedback mechanism, the transmission error can be discovered and corrected in time. When the first fast bus 3 transmits abnormally, the first slow bus 1 is used for retransmission to ensure that the data reaches the intermediate device 6 completely and accurately. There is also a similar mechanism in the transmission stage from the intermediate device 6 to the target device 7 to ensure the data reliability of the entire transmission link. The transmission path is flexibly selected according to the connection status between the target device 7 and the second fast bus 2 and the second slow bus 4, which can give full play to the efficiency advantage of the fast bus, and use the slow bus to ensure transmission continuity when necessary. At the same time, the cache area settings of each link of the system are helpful for data management and scheduling, and improve the system's ability to cope with complex situations, such as orderly processing in scenarios such as data retransmission and new data reception, and optimizing the data transmission process.

[0073] Furthermore, the method further comprises the following steps:

[0074] Within a first preset time after the source device 5 generates a group of the new data, if the group of the new data transmitted by the first fast bus 3 is not received, a first instruction is sent, wherein the first instruction is used to instruct the group of the new data to be retransmitted by the first slow bus 1.

[0075] Specifically, if the intermediate device 6 does not receive the group of new data transmitted by the first fast bus 3 within the first preset time after the source device 5 generates a group of new data, it means that the network quality of the first fast bus 3 may be poor and cannot meet the data transmission requirements. At this time, the first instruction is sent to the source device 5, instructing the source device 5 to resend the data set through the first slow bus 1 to ensure the continuity of data transmission.

[0076] In a preferred embodiment, the data set is transmitted to the target device 7 via the second fast bus 2 or the second slow bus 4, specifically comprising the following steps:

[0077] Determine the connection result between the second fast bus 2 and the target device 7 and the working state of the target device 7;

[0078] If the connection result between the second fast bus 2 and the target device 7 is normal and the working state of the target device 7 is normal, the data set is transmitted to the target device 7 through the second fast bus 2;

[0079] If the connection result between the second fast bus 2 and the target device 7 is abnormal and the working state of the target device 7 is normal, the data set is transmitted to the target device 7 via the second slow bus 4 .

[0080] Furthermore, the target device 7 periodically detects the connection status of the second fast bus 2, illustratively, by sending a test data packet and receiving a response to determine whether the target device 7 is online (if online, the connection is normal, if offline, the connection is abnormal). If the target device 7 is online on the second fast bus 2 and the network quality is good (such as a bit error rate below a certain threshold, indicating normal operation), the data set is transmitted to the target device 7 via the second fast bus 2, and the data set is cached in the second cache area after the transmission is completed.

[0081] If the target device 7 is offline or has poor network quality (bit error rate higher than a certain threshold indicates abnormal operation) on the second fast bus 2 and cannot meet the data transmission requirements, the second slow bus 4 is switched to perform data transmission. Similarly, after the transmission is completed, the data set is stored in the second buffer area. When the data is stored in the buffer area, relevant information of the data is recorded, such as the receiving time, source, verification result, etc., for subsequent data management and query.

[0082] In a preferred embodiment, after transmitting the data set to the target device 7 via the second fast bus 2 or the second slow bus 4 and caching the data set into the second buffer area, the following steps are also included:

[0083] If the second verification result received is a verification abnormality, the data set in the second buffer area is retransmitted to the target device 7 through the second slow bus 4; the second verification result is the verification result of the target device 7 on the data set;

[0084] Specifically, after the target device 7 receives the data set and caches it into the second buffer area, the target device 7 will immediately verify the data set in the same way as above to obtain a second verification result. If the second verification result is a verification abnormality, first, the system will lock the current transmission status of the second slow bus 4 to check whether there are problems such as network congestion and signal interference. If network instability factors are found, corresponding measures will be taken to adjust, such as adjusting the transmission frequency, increasing signal error correction coding, etc. Then, the data set is extracted from the second buffer area and retransmitted to the target device 7 through the second slow bus 4. During the retransmission process, in order to ensure the integrity and accuracy of the data, a combination of segmented transmission and verification can be adopted. That is, the data set is divided into multiple data segments, and a verification is performed each time a data segment is transmitted. If the verification passes, the next data segment will continue to be transmitted. If the verification fails, the data segment will be retransmitted until the entire data set is transmitted and passes the verification.

[0085] If the second verification result received is that the verification is normal, the data transmission of the data set in the data cycle is completed.

[0086] Specifically, when the second verification result received is normal, the system will record the relevant information of this data transmission, including data transmission time, data source, verification result, etc., for subsequent data query and management. At the same time, it confirms that the data transmission of the data set within the data cycle is completed and is ready to receive the data of the next data cycle.

[0087] In a preferred embodiment, the intermediate device 6 further has a third cache area; the method further comprises the following steps:

[0088] When the data set in the second buffer area is retransmitted to the target device 7 via the second slow bus 4, if another set of new data transmitted by the source device 5 is received, the new data is cached in the third buffer area. The new data is different from the new data in the present data set.

[0089] Specifically, before storing another set of new data in the third buffer area, the remaining space of the third buffer area will be checked. If the remaining space is insufficient, the system will handle it according to the pre-set buffer management strategy. For example, some old data can be deleted or the data can be compressed and stored according to factors such as the importance of the data and the order of receiving time, so as to free up enough space to store this set of new data.

[0090] Specifically, when the data in the second buffer area is retransmitted and the target device 7 passes the verification, the system will decide how to process the new data in the third buffer area according to the current bus state and the state of the target device 7.

[0091] Specifically, if the states of the second fast bus 2 and the target device 7 both meet the fast transmission condition, the group of new data stored in the third buffer area is preferentially transmitted to the target device 7 via the second fast bus 2; if the condition is not met, the data is continuously transmitted via the second slow bus 4, thereby ensuring the continuity of the transmitted data.

[0092] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and its core ideas of this application. The above is only the preferred implementation method of this application. It should be pointed out that due to the limitations of textual expression and the objective existence of infinite specific structures, ordinary technicians in this technical field can make several improvements, modifications or changes without departing from the principles of the present invention, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the inventive concept and technical solution to other occasions without improvement, should be regarded as the scope of protection of this application.

Claims

1. A heterogeneous network data transmission method, characterized in that: Based on the heterogeneous network data transmission system, the system includes: A source device (5), the source device (5) having a first buffer area; the source device (5) is configured to generate new data and cache the new data into the first buffer area; An intermediate device (6), the intermediate device (6) and the source device (5) are interconnected via a first fast bus (3) and via a first slow bus (1); the intermediate device (6) has a second cache area; A target device (7), wherein the target device (7) and the intermediate device (6) are interconnected via a second fast bus (2) and are also interconnected via a second slow bus (4); The method comprises the following steps: Within a first preset time period after the source device (5) generates a group of the new data, if the group of the new data transmitted by the first fast bus (3) is received, timing is started, and a data set is received within a data cycle, the data set including a plurality of groups of new data; Verifying the data set to obtain a first verification result, wherein the first verification result includes a normal verification or an abnormal verification; If the first verification result is a verification abnormality, the first verification result is fed back to the source device (5) via the first slow bus (1), so that the source device (5) retrieves the data set cached in the first buffer area and transmits it again via the first slow bus (1); If the first check result is that the check is normal or the data set transmitted by the first slow bus (1) is received, the data set is transmitted to the target device (7) via the second fast bus (2) or the second slow bus (4), and the data set is cached in the second cache area.

2. The heterogeneous network data transmission method according to claim 1, characterized in that: The method further comprises the following steps: Within a first preset time period after the source device (5) generates a group of new data, if the group of new data transmitted by the first fast bus (3) is not received, a first instruction is sent, wherein the first instruction is used to instruct the group of new data to be retransmitted by the first slow bus (1).

3. The heterogeneous network data transmission method according to claim 1, characterized in that: The method of transmitting the data set to the target device (7) via the second fast bus (2) or the second slow bus (4) specifically comprises the following steps: Determining the connection result between the second fast bus (2) and the target device (7) and the working state of the target device (7); If the connection result between the second fast bus (2) and the target device (7) is normal and the working state of the target device (7) is normal, the data set is transmitted to the target device (7) via the second fast bus (2); If the connection result between the second fast bus (2) and the target device (7) is abnormal and the working state of the target device (7) is normal, the data set is transmitted to the target device (7) via the second slow bus (4).

4. The heterogeneous network data transmission method according to claim 1, characterized in that: After transmitting the data set to the target device (7) via the second fast bus (2) or the second slow bus (4) and caching the data set into the second buffer area, the method further includes the following steps: If the second verification result received is a verification abnormality, the data set in the second cache area is retransmitted to the target device (7) through the second slow bus (4); the second verification result is the verification result of the data set by the target device (7); if the second verification result received is a verification normal, the data transmission of the data set in the data cycle is completed.

5. The heterogeneous network data transmission method according to claim 4, characterized in that: The intermediate device (6) also has a third cache area; the method further comprises the following steps: When the data set in the second buffer area is retransmitted to the target device (7) via the second slow bus (4), if another set of new data transmitted by the source device (5) is received, the set of new data is cached in the third buffer area.

6. The heterogeneous network data transmission method according to claim 1, characterized in that: The new data includes a header area and a data area. The header area includes a header flag, a data sequence number, a total number of packets, and a data length of this packet. The data area includes the data content and a check bit of the data of this packet. The data length of this packet is the length of the data content of this packet. The check bit stores a preset checksum of the data of this packet calculated by an XOR sum method.

7. The heterogeneous network data transmission method according to claim 6, characterized in that: Verifying the data set to obtain a first verification result specifically includes the following steps: Based on the total number of packets of each group of the new data in the data set, a packet loss result is obtained; the packet loss result includes no packet loss and packet loss; If the packet loss result is no packet loss, a checksum result is obtained based on the preset checksum of each group of the new data in the data set; the checksum result is a checksum consistency and a checksum deviation; If the packet loss result is packet loss or the checksum result is a checksum deviation, the first check result of abnormal check is obtained; if the checksum result is a checksum consistency, the first check result of normal check is obtained.

8. The heterogeneous network data transmission method according to claim 7, characterized in that: The obtaining of the packet loss result based on the total number of packets of each group of the new data in the data set specifically comprises the following steps: Unpacking all groups of the new data in the data set, obtaining the total number of packets in the packet header area of ​​each group of the new data, and counting the total number of packets in the data set; If the sum of the total number of packets is the same as the preset total number of packets, a packet loss result of no packet loss is obtained; if the sum of the total number of packets is different from the preset total number of packets, a packet loss result of packet loss is obtained; the preset total number of packets is the total number of packets of data corresponding to the data set received within the data period.

9. The heterogeneous network data transmission method according to claim 7, characterized in that: The obtaining of the checksum result based on the preset checksum of each group of the new data in the data set specifically comprises the following steps: Extracting the data content of the data area, and calculating the actual checksum of each group of the new data in the received data set respectively according to the XOR sum method based on the data content; If the preset checksums of the new data of all groups are equal to the corresponding actual checksums, a checksum result with consistent checksums is obtained.

10. The heterogeneous network data transmission method according to claim 9, characterized in that: After respectively calculating the actual checksum of each group of the new data in the received data set according to the XOR sum method, the following steps are also included: If the preset checksum of at least one set of the new data is not equal to the corresponding actual checksum, a checksum result of the checksum deviation is obtained.

Citation Information

Patent Citations

  • High-reliability data transmission method for two-channel serial buses

    CN103927285A

  • A high-speed serial bus and low-speed serial bus data transmission and conversion method

    CN109582619A

  • Data transmission method and device

    CN112821991A

  • Method for reliably transmitting big data in aerospace field, electronic equipment and storage medium

    CN114531314A

  • Electric tractor and communication device with two way CAN buses

    CN206719141U