A method and device for real-time processing of multi-type messages
A real-time processing and multi-type technology, applied in the field of ADS-B system data detection, can solve problems such as resource consumption, insufficient real-time processing, message expiration, etc., to improve work efficiency, improve real-time processing capabilities, and avoid a large number of effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0080] like figure 1 shown, including the following steps:
[0081] Step 101, according to the number of possible messages and the types of messages, open up a large enough buffer to receive and store the messages;
[0082] Step 102, synchronously performing synchronization header detection of several message types according to the stored message and storing its message start address;
[0083] Step 103, according to the synchronous header mark of detected message, wait for the time for a complete message to arrive;
[0084] Step 104, according to the arrival time of the complete message, combined with the message start address, read the message and store it in the newly opened buffer zone;
[0085] Step 105, read a complete message and decode various types of messages according to the newly opened buffer;
[0086] Step 106, according to the successful decoding flag, determine the specific type of the message and extract the plaintext.
Embodiment 2
[0087] Preferred embodiment two: as figure 2 shown, including the following steps:
[0088] Step 201: Open up two large-capacity buffers according to the FIS-B type and the ADS-B type respectively, that is, RAM1 and RAM2 are used to store FIS-B messages, and RAM3 and RAM4 are used to store ADS-B messages. Considering that the system may receive messages continuously, if the type and number of messages are not known, the buffer needs to be opened up sufficiently to ensure that data will not be lost, because the FIS-B type and ADS-B type The message synchronization headers are different, and the synchronization headers of ADS-B LONG and ADS-B BASIC are the same, so ADS-B LONG and ADS-B BASIC are stored in the same buffer, that is, RAM1 and RAM2 are used to store FIS-B message, RAM3 and RAM4 are used to store ADS-B messages.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 