Embedded topographic data loading method based on UDP (User Datagram Protocol) and verification technology

By using a method based on the UDP protocol and verification technology, the integrity and security issues of loading massive terrain data on embedded computing platforms were solved, enabling fast and accurate data loading and updating.

CN121664795APending Publication Date: 2026-03-13SHANGHAI AVIATION ELECTRIC
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

On embedded computing platforms, the loading, maintenance, and updating of massive terrain data are constrained by storage resources, computer computing power, and communication speed, leading to problems such as information loss or loading errors.

Method used

A method based on UDP protocol and verification technology is adopted to ensure the accurate loading of terrain data through multiple verifications and feedback between the host computer and the slave computer. This includes data packetization, assignment of check codes and bit sequence codes, and confirmation of data integrity through MD5 verification.

Benefits of technology

It improves the integrity and security of terrain data transmission, reduces the loading error rate, and meets the requirements for rapid loading and maintenance updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121664795A_ABST
    Figure CN121664795A_ABST
Patent Text Reader

Abstract

The invention discloses an embedded topographic data loading method based on a UDP (User Datagram Protocol) and a verification technology. The embedded topographic data loading method comprises the following steps: S1, establishing network communication between an upper computer and a lower computer, and carrying out data transmission preparation; s2, reading the topographic data files in sequence; s3, preprocessing the topographic data based on a UDP communication protocol; s4, sending data based on a UDP (User Datagram Protocol) communication protocol; s5, the lower computer feeds back the data receiving condition to the upper computer; and S6, the lower computer feeds back the Block writing condition of the Flash to the upper computer. The method has the advantages that the integrity and safety of the topographic data in the transmission process are effectively improved, and the requirements for rapid loading, maintenance and updating of mass topographic data are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of aviation terrain indication and warning, and in particular, to an embedded terrain data loading method based on UDP protocol and verification technology. Background Technology

[0002] Terrain cues and warnings are an important component of the Enhanced Ground Proximity Warning System (EGPWS). Based on aircraft flight status data from onboard equipment such as radio and atmospheric sensors, EGPWS utilizes a built-in ground proximity warning algorithm and a terrain / obstacle database to calculate and assess in real time whether the aircraft is at risk of striking the ground. When a collision with the ground / water is possible, EGPWS provides the flight crew with voice warnings, light warnings, and terrain video warnings to prevent controllable ground collisions and ensure flight safety.

[0003] Terrain databases are crucial foundational data for Enhanced Ground Proximity Warning Systems (EGPWS). During the product development, testing, and verification phases, as well as the later data maintenance and update phases, massive amounts of terrain data need to be loaded onto embedded computer platforms to meet the functional performance and reliability requirements of the equipment. However, considering the limitations of embedded computing platforms in terms of storage resources, computing power, and communication speed, the loading, maintenance, and updating of massive amounts of data remains a critical technical challenge that urgently needs to be addressed. Summary of the Invention

[0004] The purpose of this invention is to provide an embedded terrain data loading method based on UDP protocol and verification technology. Through multiple verifications and feedback between the host computer and the slave computer, the loaded terrain data can be more accurate, and there will be no loss of partial information or loading errors, thereby improving the accuracy of alarms.

[0005] To achieve the above technical objectives, the present invention provides a technical solution: an embedded terrain data loading method based on UDP protocol and verification technology, comprising: Step S1: Establish network communication between the host computer and the slave computer to prepare for data transmission; Step S2: Read the terrain data files sequentially; Step S3: Preprocess the terrain data based on the UDP communication protocol; Step S4: Data is sent based on the UDP communication protocol; Step S5: The lower-level device reports the data reception status to the upper-level device; and... Step S6: The lower-level device reports the Flash write block status to the upper-level device.

[0006] As a preferred solution for the embedded terrain data loading method based on UDP protocol and verification technology, in step S1, after power-on, the host computer periodically requests data to the slave computer. The slave computer judges the network communication by receiving the requested data and MD5 verification. The communication between the host computer and the slave computer is normal and the data transmission preparation is completed until the slave computer gives feedback that the data reception permission is granted.

[0007] As a preferred embodiment of the embedded terrain data loading method based on UDP protocol and verification technology, in step S2, the terrain data file to be read is divided into units, for example, divided into the smallest units, and then the divided units are assigned feature values ​​and MD5 verification.

[0008] As a preferred embodiment of the embedded terrain data loading method based on UDP protocol and verification technology, in step S3, the data in step S2 is packetized to meet the UDP communication requirements.

[0009] As a preferred method for loading embedded terrain data based on UDP protocol and verification technology, in step S4, a check code and a bit sequence code are assigned to each data packet.

[0010] As a preferred solution for the embedded terrain data loading method based on UDP protocol and verification technology, in step S5, the lower-level machine reports the data reception status to the upper-level machine, including the lower-level machine using MD5 verification to determine whether the current data packet has been successfully transmitted; if the verification passes, it means that the lower-level machine has successfully received the current packet data, and sends a data reception success flag to the upper-level machine to indicate that the current packet data has been successfully received and stored, until all packet data of the read file transmitted by the upper-level machine is received or the transmission is manually terminated.

[0011] As a preferred solution for the embedded terrain data loading method based on UDP protocol and verification technology, in step S6, after the lower-level machine completes the writing of each packet of data, it reads the written data again and performs verification using the same verification method as in step S3. If the verification is consistent, the next packet of data can be sent; otherwise, the sending of the current packet of data is performed again according to steps S2 to S5.

[0012] Compared with existing technologies, the beneficial effects of this invention are at least as follows: 1. It can effectively improve the integrity and security of terrain data during transmission, meeting the requirements for rapid loading and maintenance updates of massive terrain data. 2. It can achieve rapid and effective loading of external terrain data, thereby reducing the error rate of data loading and improving the security and reliability of terrain data loading. Attached Figure Description

[0013] Figure 1 This is a flowchart of the method according to an embodiment of the present invention. Detailed Implementation

[0014] The present invention will now be described in further detail with reference to specific embodiments and accompanying drawings. It should be noted that these descriptions of embodiments are intended to aid in understanding the invention and do not constitute a limitation thereof. Furthermore, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0015] See Figure 1 The figure illustrates an embedded terrain data loading method based on the UDP protocol and verification technology. This embedded terrain data loading method is applied in an Enhanced Ground Proximity Warning System (EGPWS). During the product development testing and verification phase, as well as the later data maintenance and update phase, massive amounts of terrain data need to be loaded onto an embedded computer platform. This embedded terrain data loading method effectively improves the integrity and security of terrain data during transmission, meeting the requirements for rapid loading, maintenance, and updates of massive terrain data.

[0016] The embedded terrain data loading method includes the following steps, which are executed sequentially: Step S1: Establish network communication between the host computer and the slave computer and prepare for data transmission: After power-on, for example, within 10 seconds of power-on, the host computer periodically requests data transmission from the slave computer. The slave computer judges the network communication by receiving the requested data transmission and MD5 checksum. The communication between the host computer and the slave computer is normal and the data transmission preparation is completed until the slave computer responds with data reception permission.

[0017] Step S2: Read the terrain data file sequentially: Divide the terrain data file into units, for example, into the smallest units. Then, assign feature values ​​and perform MD5 checksum verification on the divided units. The feature values ​​can be selected longitude and latitude information. After MD5 verification, the divided units generate corresponding checksums.

[0018] Step S3: Preprocess the terrain data based on the UDP communication protocol: The data from step S2 is packetized to meet UDP communication requirements. Considering the maximum transmission limit of UDP and the number of bytes in the terrain file, preferably, 1200 bytes is an optimal packet size.

[0019] Step S4: Data transmission based on UDP communication protocol: assign a checksum and sequence number to each data packet.

[0020] Step S5: The lower-level device reports the data reception status to the upper-level device. This includes the lower-level device using an MD5 checksum to determine if the current data packet was successfully transmitted. If the checksum passes, it indicates that the lower-level device has successfully received the current data packet. The lower-level device then sends a data reception success flag to the upper-level device to indicate that the current data packet has been successfully received and stored. This process continues until the lower-level device receives all the data packets from the file being read from the upper-level device or manually terminates the transmission.

[0021] Step S6: The lower-level machine reports the Flash block writing status to the upper-level machine. After the lower-level machine completes the writing of each packet of data, it reads the written data again and performs verification using the same verification method as in step S2. If the verification is consistent, the next packet of data can be sent. Otherwise, the sending of the current packet of data is performed again according to steps S2 to S5.

[0022] The above description merely illustrates embodiments of the present invention and is quite specific and detailed; however, it should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this invention patent should be determined by the appended claims.

Claims

1. An embedded terrain data loading method based on UDP protocol and verification technology, characterized in that, include: Step S1: Establish network communication between the host computer and the slave computer to prepare for data transmission; Step S2: Read the terrain data files sequentially; Step S3: Preprocess the terrain data based on the UDP communication protocol; Step S4: Data is sent based on the UDP communication protocol; Step S5: The lower-level device reports the data reception status to the upper-level device. as well as, Step S6: The lower-level device reports the Flash write block status to the upper-level device.

2. The embedded terrain data loading method based on UDP protocol and verification technology according to claim 1, characterized in that, In step S1, after power-on, the host computer periodically requests data to be sent to the slave computer. The slave computer determines network communication by sending the received request data and checking the MD5 checksum. The communication between the host computer and the slave computer is normal and the data transmission preparation is complete until the slave computer sends a data reception permission.

3. The embedded terrain data loading method based on UDP protocol and verification technology according to claim 1, characterized in that, In step S2, the terrain data file to be read is divided into units, for example, by dividing it into the smallest units, and then the divided units are assigned feature values ​​and MD5 checksums.

4. The embedded terrain data loading method based on UDP protocol and verification technology according to claim 1, characterized in that, In step S3, the data from step S2 is packetized to meet the requirements of UDP communication.

5. The embedded terrain data loading method based on UDP protocol and verification technology according to claim 1, characterized in that, In step S4, a check code and a bit sequence code are assigned to each data packet.

6. The embedded terrain data loading method based on UDP protocol and verification technology according to claim 1, characterized in that, In step S5, the lower-level machine reports the data reception status to the upper-level machine, including the lower-level machine using MD5 checksum to determine whether the current data packet has been successfully transmitted; if the checksum passes, it means that the lower-level machine has successfully received the current data packet, and sends a data reception success flag to the upper-level machine to indicate that the current data packet has been successfully received and stored, until the lower-level machine receives all the data packets of the file to be read from the upper-level machine or manually ends the transmission.

7. The embedded terrain data loading method based on UDP protocol and verification technology according to claim 1, characterized in that, In step S6, after the lower-level machine completes the writing of each packet of data, it reads the written data again and performs verification using the same verification method as in step S3. If the verification is consistent, the next packet of data can be sent; otherwise, the sending of the current packet of data is performed again according to steps S2 to S5.