Aerial message processing method and system

By distributing and cacheing the air message volume and urgency of the air message in the central message queue and message slow sending module on the central server, the problem of low aviation message processing efficiency is solved and more efficient aviation message processing is achieved.

CN119697294AActive Publication Date: 2025-03-25TRAVELSKY TECHNOLOGY LIMITED
View PDF 4 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, the processing efficiency of airline messages is low, especially during peak flights, resulting in a significant increase in processing delays, affecting processing speed and efficiency.

Method used

By introducing the central message queue and message slow sending module on the central server, air messages are distributed and cached according to the number of messages and urgency of the air messages. Emergency air messages on the same day are preferred to be distributed to the central message queue, rather than emergency air messages on the next day and subsequent time being stored in the message slow sending module.

Benefits of technology

It improves the flight's message processing capabilities during peak hours, improves the processing efficiency of aviation messages, and ensures the timely processing of emergency aviation messages and the orderly processing of non-emergency aviation messages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697294A_ABST
    Figure CN119697294A_ABST
Patent Text Reader

Abstract

The invention discloses an aviation message processing method and system. The method comprises the following steps: acquiring a to-be-processed aviation message, flight information of a flight corresponding to the aviation message and take-off time of the flight; in response to the fact that the message quantity of the aviation messages is larger than a message quantity threshold value, the aviation messages with the take-off time in a first target time interval are stored in a message slow sending module, and the aviation messages with the take-off time in a second target time interval are distributed to a center message queue according to the flight information and the take-off time, the emergency degree of the aviation message in the first target time interval is lower than that in the second target time interval; in response to the fact that the message quantity of the aviation messages is smaller than or equal to a message quantity threshold value, the aviation messages are distributed to corresponding center message queues according to flight information and take-off time corresponding to the aviation messages; and sending the aviation message to an airport side corresponding to the central server side by using the central message queue. According to the invention, the technical problem of low processing efficiency of the aviation message is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method and system for processing aviation messages. Background Art

[0002] At present, for message processing, especially aviation message processing, due to the large number of aviation messages and the correlation between aviation messages of the same flight, aviation messages are processed serially. If a failure occurs when processing a certain aviation message, the entire processing flow will be interrupted until the failure is resolved. In addition, during the peak flight period, the continuous arrival of a large number of aviation messages will cause a significant increase in processing delays, affecting the speed and efficiency of aviation message processing, and failing to meet the demand for timely processing of aviation messages. Therefore, there is still a technical problem of low efficiency in aviation message processing.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a method and system for processing aviation messages, so as to at least solve the technical problem of low efficiency in processing aviation messages.

[0005] According to one aspect of an embodiment of the present invention, a method for processing aviation messages is provided, which is applied to a central server, and the central server includes a central message queue and a message delay module. The method may include: obtaining aviation messages to be processed, as well as flight information of a flight corresponding to the aviation message and a take-off time of the flight; in response to a message volume of the aviation message being greater than a message volume threshold, storing aviation messages whose take-off times are within a first target time interval in the message delay module, and distributing aviation messages whose take-off times are within a second target time interval to the central message queue according to the flight information and the take-off time, wherein the urgency of the aviation messages within the first target time interval is lower than the urgency of the aviation messages within the second target time interval; in response to the message volume of the aviation message being less than or equal to the message volume threshold, distributing the aviation messages to the corresponding central message queue according to the flight information and the take-off time corresponding to the aviation messages; and using the central message queue, sending the aviation messages to an airport terminal corresponding to the central server.

[0006] Optionally, the central server includes a message generation module and a message distribution module, wherein obtaining the aviation message to be processed includes: controlling the message generation module to obtain the target data to be processed from the data source, wherein the target data includes flight information and take-off time; preprocessing the target data, and converting the data format of the preprocessed target data into a message format to obtain the aviation message; the method also includes: controlling the message generation module to send the aviation message to the message distribution module.

[0007] Optionally, the method further includes: in response to the message distribution module receiving the aviation message, obtaining the message volume of the message generation module, wherein the message volume is used to indicate the generation speed of the aviation message by the message generation module; in response to the message volume being greater than the message volume threshold, storing the aviation messages whose take-off time is within the first target time interval into the message delay module, including: in response to the message volume being greater than the message volume threshold, controlling the message distribution module to send the aviation messages within the first target time interval to the message delay module; the method further includes: controlling the message distribution module to send the message volume to the message delay module.

[0008] Optionally, the central server includes a message queue sending module, and the method further includes: in response to the message delay module receiving the aviation message and the message volume within the first target time interval, storing the aviation message in different areas according to the flight information, wherein different areas correspond to different flight information; sorting the aviation messages in the area according to the take-off time to obtain sorted aviation messages; and based on the message volume, controlling the message delay module to send the sorted aviation message to the message queue sending module.

[0009] Optionally, the central service end includes a message queue sending module, wherein, in response to the message volume being greater than the message volume threshold, the aviation messages whose take-off time is within the second target time interval are distributed to the central message queue according to the flight information and the take-off time, including: in response to the message volume being greater than the message volume threshold, the message distribution module is controlled to distribute the aviation messages within the second target time zone to the message queue distribution module; in response to the message queue distribution module receiving the aviation messages within the second target time zone, the aviation messages are classified according to the flight information, and the classified aviation messages are distributed to the central message queue. to a central message queue corresponding to the flight information; in response to the message volume of the aviation message being less than or equal to the message volume threshold, the aviation message is distributed to the corresponding central message queue according to the flight information and the take-off time corresponding to the aviation message, including: in response to the message volume of the aviation message being less than or equal to the message volume threshold, the message distribution module is controlled to distribute the aviation message to the message queue distribution module; in response to the message queue distribution module receiving the aviation message, the aviation message is classified according to the flight information, and the classified aviation message is distributed to the central message queue corresponding to the flight information.

[0010] Optionally, the method also includes: in response to the number of central message queues being less than the number of flight information, distributing aviation messages that meet the number of central message queues to corresponding central message queues; and distributing aviation messages that exceed the number of central message queues to central message queues that are in an idle state.

[0011] According to one aspect of an embodiment of the present invention, a method for processing aviation messages is provided, which is applied to an airport end, and the airport end includes a local message queue and a departure database. The method may include: receiving aviation messages to be processed sent by a central message queue from a central service end, wherein the aviation messages received by the airport end are aviation messages corresponding to a flight whose departure time is within a second target time interval in response to a message volume of the aviation messages being greater than a message volume threshold, or the aviation messages received by the airport end are aviation messages sent by the central message queue according to flight information and departure time in response to a message volume being less than or equal to a message volume threshold, the central service end includes a message delay module, and the central service end stores aviation messages whose departure time is within a first target time interval in the message delay module, and the urgency of the aviation messages within the first target time interval is lower than the urgency of the aviation messages within the second target time interval; sending the received aviation messages to the local message queue; parsing the aviation messages in the local message queue, and storing the parsed aviation messages in the departure database.

[0012] Optionally, the method is applied to an airport end, the airport end includes a local message queue and a departure database, and the method also includes: receiving an aviation message to be processed sent by a central message queue from a central server end, wherein the aviation message received by the airport end is an aviation message in response to a message volume of the aviation message being greater than a message volume threshold, and the take-off time of the flight corresponding to the aviation message sent by the central message queue is within a second target time interval, or, the aviation message received by the airport end is an aviation message sent by the central message queue according to flight information and take-off time in response to a message volume being less than or equal to a message volume threshold, the central server end includes a message delay module, the central server end stores the aviation message whose take-off time is within a first target time interval in the message delay module, and the urgency of the aviation message within the first target time interval is lower than the urgency of the aviation message within the second target time interval; sending the received aviation message to the local message queue; parsing the aviation message in the local message queue, and storing the parsed aviation message in the departure database.

[0013] Optionally, the airport end includes a local concurrent message receiving module, the local concurrent message receiving module includes threads, the number of threads is the same as the number of central message queues of the central server end, wherein receiving the aviation message to be processed sent from the central message queue includes: controlling the thread to receive the aviation message sent by the corresponding central message queue; sending the received aviation message to the local message queue, including: controlling the thread to send the received aviation message to the local message queue.

[0014] Optionally, the airport end includes a parallel parsing working group, which includes working subgroups. The number of working subgroups is the same as the number of central message queues, wherein the aviation messages in the local message queue are parsed and the parsed aviation messages are stored in the departure database, including: controlling the local message queue to distribute the aviation messages to corresponding working subgroups according to the flight information in the aviation messages; controlling the working subgroups to parse the received aviation messages and store the parsed aviation messages in the departure database.

[0015] According to another aspect of an embodiment of the present invention, there is also provided an aviation message processing device, which is applied to a central server, and the central server includes a central message queue and a message delay module, including: an acquisition unit, which is used to acquire the aviation message to be processed, and the flight information of the flight corresponding to the aviation message and the take-off time of the flight; a delay unit, which is used to store the aviation message whose take-off time is within a first target time interval in the message delay module in response to the message volume of the aviation message being greater than the message volume threshold, and distribute the aviation message whose take-off time is within a second target time interval to the central message queue according to the flight information and the take-off time, wherein the urgency of the aviation message within the first target time interval is lower than the urgency of the aviation message within the second target time interval; a distribution unit, which is used to distribute the aviation message to the corresponding central message queue according to the flight information and the take-off time corresponding to the aviation message in response to the message volume of the aviation message being less than or equal to the message volume threshold; a first sending unit, which is used to send the aviation message to the airport end corresponding to the central server using the central message queue.

[0016] According to another aspect of an embodiment of the present invention, there is also provided an aviation message processing device, which is applied to an airport end, and the airport end includes a local message queue and a departure database, including: a receiving unit, which is used to receive aviation messages to be processed sent by a central message queue from a central service end, wherein the aviation message received by the airport end is an aviation message in response to a message volume of the aviation message being greater than a message volume threshold, and the take-off time of the flight corresponding to the aviation message sent by the central message queue is within a second target time interval, or the aviation message received by the airport end is in response to a message volume being less than or equal to a message volume threshold. Based on the message volume threshold, the aviation message sent by the central message queue according to the flight information and the take-off time, the central server includes a message delay module, the central server stores the aviation message whose take-off time is within the first target time interval into the message delay module, the urgency of the aviation message within the first target time interval is lower than the urgency of the aviation message within the second target time interval; the second sending unit is used to send the received aviation message to the local message queue; the storage unit is used to parse the aviation message in the local message queue, and store the parsed aviation message in the departure database.

[0017] According to another aspect of an embodiment of the present invention, there is also provided a system for processing aviation messages, including: a central server and an airport terminal. The central server is used to obtain aviation messages to be processed, as well as flight information and take-off time of flights corresponding to the aviation messages; in response to the message volume of the aviation messages being greater than the message volume threshold, the aviation messages with take-off time within the first target time interval are stored in the message delay module of the central server, and the aviation messages with take-off time within the second target time interval are distributed to the central message queue of the central server according to the flight information and the take-off time, wherein the urgency of the aviation messages within the first target time interval is lower than the urgency of the aviation messages within the second target time interval; in response to the message volume of the aviation messages being less than or equal to the message volume threshold, the aviation messages are distributed to the corresponding central message queue according to the flight information and the take-off time corresponding to the aviation messages; and the aviation messages are sent to the airport terminal corresponding to the central server using the central message queue. The airport end is used to receive aviation messages sent from the central message queue, wherein the aviation messages received by the airport end are aviation messages corresponding to the flight whose take-off time is within the second target time interval in response to the message volume of the aviation messages being greater than the message volume threshold, or the aviation messages received by the airport end are aviation messages sent by the central message queue according to the flight information and take-off time in response to the message volume being less than or equal to the message volume threshold, the central service end includes a message delay module, the central service end stores the aviation messages whose take-off time is within the first target time interval in the message delay module, the urgency of the aviation messages within the first target time interval is lower than the urgency of the aviation messages within the second target time interval; sends the received aviation messages to the local message queue; parses the aviation messages in the local message queue, and stores the parsed aviation messages in the departure database of the airport end.

[0018] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing any one of the above-mentioned aviation message processing methods.

[0019] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute any one of the above-mentioned methods for processing aviation messages.

[0020] According to another aspect of the embodiment of the present application, a computer program product is also provided. The computer program product includes a computer program, and when the computer program is executed by a processor, the method for processing the aviation message of the embodiment of the present application is implemented.

[0021] In an embodiment of the present invention, if aviation messages are to be processed, the aviation messages to be processed by the central server, as well as the flight information of the flight corresponding to the aviation messages and the departure time of the flight can be obtained; when the message volume of the aviation messages is greater than the message volume threshold, the aviation messages whose departure time is within the first target time interval are stored in the message delay module, and the aviation messages whose departure time is within the second target time interval are distributed to the central message queue according to the flight information and departure time; when the message volume of the aviation messages is less than or equal to the message volume threshold, the aviation messages are distributed to the corresponding central message queue according to the flight information and departure time corresponding to the aviation messages; the central message queue can be used to send the aviation messages to the airport end corresponding to the central server. In this embodiment, through the central message queue and message delay module of the central server, according to the message volume of the aviation messages, as well as the flight information and take-off time corresponding to the aviation messages, the more urgent aviation messages are distributed to the central message queue, and the less urgent aviation messages are distributed to the message delay module, thereby improving the message processing capacity of the central server during peak hours of flights, thereby achieving the technical effect of improving the processing efficiency of aviation messages and solving the technical problem of low processing efficiency of aviation messages. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0023] Figure 1 is a flow chart of a method for processing aviation messages according to an embodiment of the present invention;

[0024] Figure 2 is a flow chart of another method for processing aviation messages according to an embodiment of the present invention;

[0025] Figure 3 is a schematic diagram of a message processing system in a related art;

[0026] Figure 4 is a schematic diagram of a message intelligent distribution process according to an embodiment of the present invention;

[0027] Figure 5 is a schematic diagram of a message intelligent distribution system according to an embodiment of the present invention;

[0028] Figure 6 is a schematic diagram of a message parallel downloading process according to an embodiment of the present invention;

[0029] Figure 7 is a schematic diagram of a message parsing process according to an embodiment of the present invention;

[0030] Figure 8 is a flow chart of a method for high-speed parallel message processing based on civil aviation business characteristics according to an embodiment of the present invention;

[0031] Fig. 9 is a schematic diagram of an unreasonable message distribution example according to an embodiment of the present invention;

[0032] Fig.10 is a schematic diagram of a message intelligent distribution rule according to an embodiment of the present invention;

[0033] Fig.11 is a flow chart of a message distribution rule processing method according to an embodiment of the present invention;

[0034] Fig.12 is a schematic diagram of a reasonable message distribution example according to an embodiment of the present invention;

[0035] Fig.13 is a flow chart of a method for delaying sending a message according to an embodiment of the present invention;

[0036] Fig.14 is a schematic diagram of an aviation message processing device according to an embodiment of the present invention;

[0037] Fig.15 is a schematic diagram of another apparatus for processing aviation messages according to an embodiment of the present invention;

[0038] Fig.16 is a structural schematic diagram of an aviation message processing system according to an embodiment of the present invention;

[0039] Fig.17 is a schematic diagram of an electronic device for an aviation message processing method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0040] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0041] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0042] Example 1

[0043] According to an embodiment of the present invention, an embodiment of a method for processing aviation messages is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0044] The embodiment of the present invention proposes a method for processing aviation messages from a central server. Specifically, Figure 1 is a flow chart of a method for processing aviation messages according to an embodiment of the present invention. Figure 1 As shown, the method is applied to a central server, which includes a central message queue and a message delay module. Specifically, the method includes the following steps:

[0045] Step S102, obtaining the aviation message to be processed, as well as the flight information and the departure time of the flight corresponding to the aviation message.

[0046] In the technical solution provided in the above step S102 of the embodiment of the present invention, the aviation message is an information data packet transmitted between different aviation information systems through a data communication network. In air transportation and civil aviation business, the aviation message may contain various information related to flight operations, passenger services, flight safety, aviation logistics and other businesses. The aviation message may include the core content of different system operations and data exchanges corresponding to different airlines. For example, it may be various transaction data related to civil aviation business, such as passenger information, flight status updates, check-in confirmation, etc. Flight information may include flight number, departure airport, destination airport, etc. The take-off time may be the time when the aircraft leaves the ground and starts flying, which can be arranged in advance by the airline and determined in the flight plan.

[0047] In this embodiment, the information in the aviation message may be real-time or near real-time flight information and passenger service data, which is the key to aviation business operations. By obtaining the aviation message and the flight information and flight departure time of the flight corresponding to the aviation message, the airline can timely understand the flight status, make reasonable resource allocation and operation adjustments, so as to improve the efficiency and punctuality of the flight and ensure the smooth and safe execution of the flight.

[0048] Optionally, the aviation messages to be processed can be obtained by querying the database of the civil aviation information system. For example, when the aviation messages are stored in the database of the civil aviation information system, the central server can access the database regularly or in real time to obtain the aviation messages to be processed from the database. The aviation messages to be processed can also be obtained by monitoring the message queue. The message queue can be a Kafka message queue or a Rabbit message queue. It should be noted that the above-mentioned method of obtaining aviation messages is only for illustration and is not specifically limited here. As long as it can be used to obtain aviation messages, it is within the protection scope of the embodiments of the present invention.

[0049] Step S104, in response to the message volume of aviation messages being greater than the message volume threshold, aviation messages whose take-off times are within the first target time interval are stored in the message delay module, and aviation messages whose take-off times are within the second target time interval are distributed to the central message queue according to the flight information and the take-off time.

[0050] In the technical solution provided in the above step S104 of the embodiment of the present invention, after obtaining the aviation message to be processed, the flight information of the flight corresponding to the aviation message and the departure time of the flight, if the message volume of the aviation message is greater than the message volume threshold, the aviation message whose departure time is within the first target time interval can be stored in the message delay module, and the aviation message whose departure time is within the second target time interval can be distributed to the central message queue according to the flight information and departure time. Among them, the urgency of the aviation message within the first target time interval is lower than the urgency of the aviation message within the second target time interval. The aviation message within the first target time interval can be called a non-urgent message. The aviation message within the second target time interval can be called an urgent message. The message volume threshold can reflect the maximum processing capacity of the central service end or the airport end of the received aviation message to process the aviation message. The first target time interval can be the time interval of the next day and after the next day. The second target time interval can be the time interval of the same day.

[0051] In this embodiment, when the message volume of aviation messages is greater than the message volume threshold, that is, the message volume of aviation messages is too large, the aviation messages of the next day and the day after can be stored in the message deferred sending module in the order of take-off time, so as to delay the sending of non-urgent aviation messages of the next day and the day after, and give priority to sending the urgent aviation messages of the same day.

[0052] Optionally, in the message delay module, aviation messages can be cached in order of the flight's take-off time, and the speed at which the message delay module sends aviation messages to the central message queue can be controlled. For example, when the volume of aviation messages reaches or approaches a message volume threshold, in order to avoid blocking the central message queue, the speed of sending aviation messages in the message delay module will be slowed down to avoid excessive load on the central message queue; when the volume of aviation messages to be processed in the queue is small and does not reach the message volume threshold, the aviation messages in the message delay module can be sent at a faster speed to improve the processing efficiency of aviation messages.

[0053] In the embodiment of the present invention, the central message queue is a transfer station for aviation messages from the central service end to the airport end receiving the aviation messages, which is essential to ensure the orderly, efficient and safe transmission of aviation messages. The message delay module can cache and orderly send non-urgent aviation messages during the peak period of aviation message volume to optimize the efficiency of aviation message processing. By distinguishing the urgency of aviation messages and adopting different processing strategies, the overall efficiency and stability of aviation message processing can be significantly improved. By giving priority to the processing of urgent aviation messages on the same day, it can ensure that flight information and passenger service data are updated in time, improve the accuracy and real-time nature of flight information, and have a significant positive impact on key links such as flight scheduling, passenger boarding, and baggage handling; by caching non-urgent aviation messages on the next day and after the next day, the processing pressure of aviation messages during peak hours can be effectively alleviated, and the processing efficiency can be prevented from being reduced due to excessive backlog of aviation messages, thereby achieving the technical effect of improving the processing efficiency of aviation messages and solving the technical problem of low processing efficiency of aviation messages.

[0054] Step S106, in response to the message volume of the aviation message being less than or equal to the message volume threshold, the aviation message is distributed to the corresponding central message queue according to the flight information and take-off time corresponding to the aviation message.

[0055] In the technical solution provided in the above step S106 of the embodiment of the present invention, after obtaining the aviation message to be processed, and the flight information of the flight corresponding to the aviation message and the take-off time of the flight, when the message volume of the aviation message is less than or equal to the message volume threshold, the aviation message can be distributed to the corresponding central message queue according to the flight information and take-off time corresponding to the aviation message.

[0056] In this embodiment, when it is detected that the message volume of the current aviation message is less than or equal to the message volume threshold, it means that the processing capacity of the current central service end or the airport end of the received aviation message can meet the real-time aviation message processing requirements, and the aviation message can be distributed to the corresponding central message queue according to the flight information and take-off time corresponding to the aviation message. There is no need to store the aviation message in the message delay module, which reduces the waiting time of the aviation message in the queue and speeds up the processing of the aviation message.

[0057] Step S108, using the central message queue, the aviation message is sent to the airport end corresponding to the central server end.

[0058] In the technical solution provided in the above step S108 of the embodiment of the present invention, after the aviation message is distributed to the corresponding central message queue, the central message queue can be used to send the aviation message to the airport end corresponding to the central server end.

[0059] In this embodiment, the central message queue is used to send aviation messages to the airport end corresponding to the central server end, which can ensure the efficient, safe and orderly transmission of aviation messages from the central server end to the airport end, and provide a basis for the airport end to process aviation messages in a timely and accurate manner, thereby meeting the high requirements for aviation message processing.

[0060] In step S102 to step S108 of the embodiment of the present invention, if it is necessary to send the aviation message to the airport end, the aviation message to be processed, as well as the flight information of the flight corresponding to the aviation message and the departure time of the flight can be obtained; when the message volume of the aviation message is greater than the message volume threshold, the aviation message with the departure time within the first target time interval can be stored in the message delay module, and the aviation message with the departure time within the second target time interval can be distributed to the central message queue according to the flight information and the departure time; when the message volume of the aviation message is less than or equal to the message volume threshold, the aviation message can be distributed to the corresponding central message queue according to the flight information and the departure time corresponding to the aviation message; the central message queue can be used to send the aviation message to the airport end corresponding to the central service end. In this embodiment, through the central message queue and message delay module of the central server, urgent aviation messages are distributed to the central message queue and non-urgent aviation messages are distributed to the message delay module according to the message volume of aviation messages and the flight information and take-off time corresponding to the aviation messages, thereby improving the message processing capacity of the central server during peak hours of flights, thereby achieving the technical effect of improving the processing efficiency of aviation messages and solving the technical problem of low processing efficiency of aviation messages.

[0061] The embodiment of the present invention is described in detail below in combination with the above steps.

[0062] As an optional embodiment, the central server includes a message generation module and a message distribution module, wherein step S102, obtaining the aviation message to be processed, includes: controlling the message generation module to obtain the target data to be processed from the data source, wherein the target data includes flight information and take-off time; preprocessing the target data, and converting the data format of the preprocessed target data into a message format to obtain the aviation message; the method also includes: controlling the message generation module to send the aviation message to the message distribution module.

[0063] In this embodiment, the central service end, which may also be referred to as the central end, includes a central message queue and a message delay module, which can distribute messages to multiple central message queues in a balanced manner according to flights and take-off times. In order to obtain aviation messages to be processed, the message generation module can be controlled to obtain target data to be processed from the data source. The target data may include flight information and take-off time; the target data may be pre-processed, such as target data cleaning, format unification, integrity check, etc. The data format of the pre-processed target data is converted into a message format to obtain an aviation message. The message format may be an aviation fixed communication network message format or an International Aeronautical Telecommunications Association message format. The message generation module may be controlled to send the aviation message to the message distribution module.

[0064] Optionally, the message generation module can extract the target data to be processed from various data sources, such as the departure system and the flight management system, assemble the required information into a message and send it to the message distribution module. This is only an example and is not specifically limited here.

[0065] Optionally, by preprocessing the target data, the accuracy and consistency of the target data can be ensured, providing a reliable data basis for subsequent target data conversion and aviation message generation.

[0066] Optionally, the target data may be converted into a standard message format suitable for transmission by performing format conversion, such as encoding, decoding, adding headers and footers, etc., such as Extensible Markup Language (XML), JavaScript Object Notation (JSON), etc. This is for illustration only and no specific limitation is made here.

[0067] As an optional embodiment, in response to the message distribution module receiving the aviation message, the message volume of the message generation module is obtained, wherein the message volume is used to indicate the generation speed of the aviation message by the message generation module; in response to the message volume being greater than the message volume threshold, the aviation message whose take-off time is within the first target time interval is stored in the message delay module, including: in response to the message volume being greater than the message volume threshold, controlling the message distribution module to send the aviation message within the first target time interval to the message delay module; the method also includes: controlling the message distribution module to send the message volume to the message delay module.

[0068] In this embodiment, when the message distribution module receives the aviation message, the message volume of the message generation module can be obtained. When the message volume is greater than the message volume threshold, in the process of storing the aviation message whose take-off time is within the first target time interval into the message delay module, when the message volume is greater than the message volume threshold, the message distribution module can be controlled to send the aviation message within the first target time interval to the message delay module. The message distribution module can be controlled to send the message volume to the message delay module. The message volume is used to indicate the generation speed of the aviation message generated by the message generation module, for example, 10 per second.

[0069] Optionally, if the message volume is greater than the set message volume threshold, it means that the central message queue may face the risk of overload, or the aviation message processing speed may not keep up with the generation speed, affecting the aviation message processing efficiency at the airport. At this time, the message distribution module can adopt a slow-sending strategy to give priority to the current aviation message to avoid congestion in the central message queue.

[0070] Optionally, the message distribution module may send aviation messages of flights departing the next day or later to the message delay module, giving priority to ensuring the ability to process aviation messages of flights departing on the same day and reducing delays.

[0071] As an optional embodiment, the central server includes a message queue sending module, and the method also includes: in response to the message delay module receiving the aviation message and the message volume within the first target time interval, storing the aviation message in different areas according to the flight information, wherein different areas correspond to different flight information; sorting the aviation messages in the area according to the take-off time to obtain sorted aviation messages; and based on the message volume, controlling the message delay module to send the sorted aviation message to the message queue sending module.

[0072] In this embodiment, when the message delay module receives the aviation message and the message volume within the first target time interval, the aviation message can be stored in different areas according to the flight information, and different areas correspond to different flight information. At this time, each area corresponds to specific flight information, which means that all messages of the same flight will be stored in the same area, and the messages can be cached separately according to the flight, which can facilitate subsequent unified processing and management. The aviation messages in the area can be sorted according to the take-off time to obtain the sorted aviation messages; based on the message volume, the message delay module can be controlled to send the sorted aviation messages through the message queue sending module included in the central server.

[0073] Optionally, sorting aviation messages can ensure that aviation messages of flights with similar take-off times are processed first, which can meet the peak demand for message processing 2 hours before flight take-off in civil aviation business characteristics, and can improve the efficiency of aviation message processing and the airport's response speed to aviation messages.

[0074] Optionally, according to the size of the message volume, the speed of sending to the message queue sending module is controlled, so that subsequent aviation message downloads can reach the peak processing speed, and the message queue sending module will not accumulate messages.

[0075] Optionally, the message queue sending module can receive sorted aviation messages from the message delay module, and send the above aviation messages to the corresponding queue of the central message queue according to the flight information and take-off time. Through parallel processing and load balancing, the sending efficiency of aviation messages can be improved and the delay of aviation messages in network transmission can be reduced.

[0076] Optionally, the message delay module can implement priority scheduling for non-emergency messages. When the message volume exceeds the threshold, aviation messages for flights departing the next day and later will be temporarily cached and sorted, while the messages on the current day will be sent to the airport first, ensuring timely processing of emergency aviation messages and orderly processing of non-emergency aviation messages.

[0077] As an optional embodiment, the central service end includes a message queue sending module, wherein step S104, in response to the message volume being greater than the message volume threshold, distributes the aviation messages whose take-off time is within the second target time interval to the central message queue according to the flight information and the take-off time, including: in response to the message volume being greater than the message volume threshold, controlling the message distribution module to distribute the aviation messages within the second target time zone to the message queue distribution module; in response to the message queue distribution module receiving the aviation messages within the second target time zone, classifying the aviation messages according to the flight information, and distributing the classified aviation messages to the central message queue; The message is distributed to the central message queue corresponding to the flight information; step S106, in response to the message volume of the aviation message being less than or equal to the message volume threshold, the aviation message is distributed to the corresponding central message queue according to the flight information and take-off time corresponding to the aviation message, including: in response to the message volume of the aviation message being less than or equal to the message volume threshold, the message distribution module is controlled to distribute the aviation message to the message queue distribution module; in response to the message queue distribution module receiving the aviation message, the aviation message is classified according to the flight information, and the classified aviation message is distributed to the central message queue corresponding to the flight information.

[0078] In this embodiment, the central service end includes a message queue sending module. When the message volume is greater than the message volume threshold, in the process of distributing the aviation messages whose take-off time is within the second target time interval to the central message queue according to the flight information and the take-off time, when the message volume is greater than the message volume threshold, the message distribution module can be controlled to distribute the aviation messages within the second target time zone to the message queue distribution module; when the message queue distribution module receives the aviation messages within the second target time zone, the aviation messages can be classified according to the flight information, and the classified aviation messages can be distributed to the central message queue corresponding to the flight information. When the message volume of aviation messages is less than or equal to the message volume threshold, and the aviation messages are distributed to the corresponding central message queue according to the flight information and take-off time corresponding to the aviation messages, the message distribution module can be controlled to distribute the aviation messages to the message queue distribution module when the message volume of aviation messages is less than or equal to the message volume threshold; when the message queue distribution module receives the aviation messages, the aviation messages can be classified according to the flight information, and the classified aviation messages can be distributed to the central message queue corresponding to the flight information.

[0079] As an optional embodiment, the method also includes: in response to the number of central message queues being less than the number of flight information, distributing aviation messages that meet the number of central message queues to the corresponding central message queues; and distributing aviation messages that exceed the number of central message queues to the central message queue in an idle state.

[0080] In this embodiment, when the number of central message queues is less than the number of flight information, aviation messages that meet the number of central message queues can be distributed to the corresponding central message queues; aviation messages that exceed the number of central message queues can be distributed to the central message queues in an idle state.

[0081] Optionally, when the number of central message queues is less than the number of flight information, the message distribution module will first ensure that each existing central message queue can be fully utilized, which means that the message distribution module will distribute aviation messages equal to the number of central message queues to the queues to ensure that each queue has corresponding aviation message processing tasks. For aviation messages exceeding the number of central message queues, the message distribution module will dynamically search for and allocate idle central message queues. Based on the current load of the queues, the queues with the smallest load or idleness can be given priority to avoid queue overload, while ensuring efficient and orderly aviation message processing.

[0082] In an embodiment of the present invention, if it is necessary to send an aviation message to an airport end, the aviation message to be processed, as well as the flight information of the flight corresponding to the aviation message and the take-off time of the flight can be obtained; when the message volume of the aviation message is greater than the message volume threshold, the aviation message with a take-off time within the first target time interval can be stored in the message delay module, and the aviation message with a take-off time within the second target time interval can be distributed to the central message queue according to the flight information and the take-off time; when the message volume of the aviation message is less than or equal to the message volume threshold, the aviation message can be distributed to the corresponding central message queue according to the flight information and the take-off time corresponding to the aviation message; the central message queue can be used to send the aviation message to the airport end corresponding to the central service end. In this embodiment, through the central message queue and message delay module of the central server, urgent aviation messages are distributed to the central message queue and non-urgent aviation messages are distributed to the message delay module according to the message volume of aviation messages and the flight information and take-off time corresponding to the aviation messages, thereby improving the message processing capacity of the central server during peak hours of flights, thereby achieving the technical effect of improving the processing efficiency of aviation messages and solving the technical problem of low processing efficiency of aviation messages.

[0083] The embodiment of the present invention proposes a method for processing aviation messages from the airport end. Specifically, Figure 2 FIG. 1 is a flow chart of another method for processing aviation messages according to an embodiment of the present invention. Figure 2 As shown, the method is applied to the airport side, which includes a local message queue and a departure database, and includes the following steps:

[0084] Step S202, receiving the aviation message to be processed sent by the central message queue of the central server.

[0085] In the technical solution provided in the above step S202 of the embodiment of the present invention, the airport end can receive the aviation message to be processed sent by the central message queue from the central service end, wherein the aviation message received by the airport end is an aviation message in response to the message volume of the aviation message being greater than the message volume threshold, and the departure time of the flight corresponding to the aviation message sent by the central message queue is within the second target time interval, or the aviation message received by the airport end is an aviation message sent by the central message queue according to the flight information and departure time in response to the message volume being less than or equal to the message volume threshold, the central service end includes a message delay module, and the central service end stores the aviation message with the departure time within the first target time interval in the message delay module, and the urgency of the aviation message within the first target time interval is lower than the urgency of the aviation message within the second target time interval.

[0086] In this embodiment, when a new aviation message is sent to the central message queue, the airport end can immediately start the receiving process and receive the aviation message to be processed through a network communication protocol (such as Transmission Control Protocol / Internet Protocol (TCP / IP), Advanced Message Queuing Protocol (AMQP), etc.). This is only an example and no specific limitation is made here.

[0087] Step S204: sending the received aviation message to the local message queue.

[0088] In the technical solution provided in the above step S204 of the embodiment of the present invention, after receiving the aviation message to be processed sent by the central message queue from the central server, the received aviation message can be sent to the local message queue.

[0089] In this embodiment, the local message queue is deployed at the airport end and can be used to receive messages from the central message queue and store and process them locally. The design of the local message queue can follow the First In, First Out (FIFO) principle to ensure that the messages are persisted in the order in which they are received, thereby maintaining the orderliness of the aviation messages. The local message queue can also store the messages and the corresponding receiving timestamps together for subsequent parsing and storage.

[0090] Step S206, parsing the aviation message in the local message queue, and storing the parsed aviation message in the departure database.

[0091] In the technical solution provided in the above step S206 of the embodiment of the present invention, after the received aviation message is sent to the local message queue, the aviation message in the local message queue can be parsed, and the parsed aviation message can be stored in the departure database. The departure database is a key database component in the civil aviation information system, which can be used to store and manage all data and information related to flight departure (i.e. passenger boarding, baggage check-in, flight scheduling, etc. before the flight takes off). In the airport's departure system, the departure database can receive, process and store aviation messages from different sources, such as passenger information, flight status, gate changes, baggage handling, etc.

[0092] In this embodiment, the aviation messages in the local message queue can be processed by the parallel parsing workgroup. Each workgroup in the workgroup is responsible for parsing the aviation messages of a specific flight, which can ensure that all messages of the same flight are serially parsed in a workgroup in order to avoid disorder. The parsed message data will be stored in the departure database, realizing structured storage and efficient retrieval of data, and also providing a solid foundation for the continuity, security and optimization of the airport departure business.

[0093] In step S202 to step S206 of the embodiment of the present invention, the airport terminal can receive the aviation message to be processed sent by the central message queue from the central service terminal; the received aviation message can be sent to the local message queue; the aviation message in the local message queue can be parsed, and the parsed aviation message can be stored in the departure database. Through the local message queue and parallel parsing operation, the efficiency of aviation message processing can be significantly improved, the waiting time and processing delay of aviation messages can be reduced, thereby achieving the technical effect of improving the processing efficiency of aviation messages and solving the technical problem of low processing efficiency of aviation messages.

[0094] The embodiment of the present invention is described in detail below in combination with the above steps.

[0095] As an optional embodiment, the airport end includes a local concurrent message receiving module, the local concurrent message receiving module includes threads, the number of threads is the same as the number of central message queues of the central server end, wherein step S202, receiving the aviation message to be processed sent from the central message queue, includes: the control thread receives the aviation message sent by the corresponding central message queue; step S204, sending the received aviation message to the local message queue, includes: the control thread sends the received aviation message to the local message queue.

[0096] In this embodiment, in the process of receiving the aviation message to be processed sent from the central message queue, the thread can be controlled to receive the aviation message sent by the corresponding central message queue. In the process of sending the received aviation message to the local message queue, the thread can be controlled to send the received aviation message to the local message queue. Among them, the airport end includes a local concurrent message receiving module, and the local concurrent message receiving module includes threads, and the number of threads is the same as the number of central message queues of the central service end.

[0097] Optionally, in the local concurrent message receiving module, the number of threads is set to be the same as the number of central message queues on the central server, which means that each central message queue has a dedicated thread responsible for receiving air messages, thus realizing concurrent message reception. This one-to-one correspondence ensures that the air message reception of each queue is not affected by other queues, thus maintaining load balancing.

[0098] Optionally, the local concurrent message receiving module can receive the aviation messages from the central message queue and store them in the local message queue in the order in which they are received. The local message queue can provide a message queue for aviation message parsing, and the order of the queue ensures the order of subsequent storage.

[0099] As an optional embodiment, the airport end includes a parallel parsing working group, which includes working subgroups, and the number of working subgroups is the same as the number of central message queues, wherein step S206 parses the aviation message in the local message queue and stores the parsed aviation message in the departure database, including: controlling the local message queue to distribute the aviation message to the corresponding working subgroup according to the flight information in the aviation message; controlling the working subgroup to parse the received aviation message and store the parsed aviation message in the departure database.

[0100] In this embodiment, in the process of parsing the aviation message in the local message queue and storing the parsed aviation message in the departure database, the local message queue can be controlled to distribute the aviation message to the corresponding working subgroup according to the flight information in the aviation message; the working subgroup can be controlled to parse the received aviation message and store the parsed aviation message in the departure database. Among them, the airport end includes a parallel parsing working group, and the parallel parsing working group includes working subgroups, and the number of working subgroups is the same as the number of central message queues.

[0101] Optionally, by controlling the local message queue to distribute aviation messages to corresponding work subgroups for parallel parsing, and storing the parsed data in the departure database, the efficiency of aviation message processing can be improved, the orderliness and accuracy of flight data can be maintained, and the airport side can be provided with powerful data processing capabilities and business support, which helps to improve the airport's operational efficiency and service level.

[0102] Optionally, aviation messages in the local message queue can be classified according to the flight information contained therein, ensuring that aviation messages of the same flight will be assigned to the same working subgroup for processing, which helps to maintain the integrity and consistency of flight data.

[0103] Optionally, the number of working subgroups is the same as the number of central message queues, which enables the simultaneous processing of messages in multiple queues, speeding up aviation message processing and reducing processing delays, which is crucial to improving aviation message processing efficiency.

[0104] In the embodiment of the present invention, the airport terminal can receive the aviation message to be processed sent by the central message queue from the central service terminal; the received aviation message can be sent to the local message queue; the aviation message in the local message queue can be parsed, and the parsed aviation message can be stored in the departure database. Through the local message queue and parallel parsing operation, the efficiency of aviation message processing can be significantly improved, the waiting time and processing delay of aviation messages can be reduced, thereby achieving the technical effect of improving the processing efficiency of aviation messages and solving the technical problem of low processing efficiency of aviation messages.

[0105] Example 2

[0106] Another optional specific implementation is described in detail below.

[0107] At present, the local query and local boarding services carried by the airport departure local backup system require that the local cached data be timely, accurate and orderly. Therefore, fast, accurate, orderly and efficient message processing is the core requirement of the airport departure local backup system.

[0108] In the related art, Figure 3 is a schematic diagram of a message processing system in a related art, such as Figure 3As shown, the message processing system includes an intelligent distribution module 302, a parallel download module 304 and a parsing and warehousing module 306. The intelligent distribution module 302 can be deployed at the central service end 308 (central end) to efficiently send aviation messages (messages) to the parallel download module 304 in parallel. Under the premise of ensuring that the messages of the same flight are in the same queue, the messages are distributed as evenly as possible in each queue to maintain load balancing. The parallel download module 304 can be deployed at the airport end 310 to realize multi-threaded concurrent collection of messages and persistence. Under the premise of ensuring that the messages in the flight are orderly, the messages are downloaded as quickly as possible to avoid congestion of the messages in the central message queue. The parsing and warehousing module 306 can be deployed at the airport end 310 to ensure that the locally persisted messages are parsed and stored in parallel and orderly according to the flight. However, in the above method, during peak hours, the message volume of a specific flight may far exceed that of other flights. If the queue allocation mechanism is not flexible enough, some queues may be overloaded while other queue resources are idle. Therefore, there is still a technical problem of low processing efficiency of aviation messages.

[0109] The present invention proposes a high-speed parallel message processing method based on the business characteristics of civil aviation. The method synchronizes the data of the background departure system for the application deployed locally at the airport through high-performance off-site massive data orderly synchronization technology. The local application of the airport distributes the messages of the same flight to the same queue through the intelligent message distribution technology. The messages in the same queue are orderly and first-in-first-out. The messages in different queues are processed in parallel without affecting each other. According to the business characteristics of the civil aviation field, the purpose of parallel and orderly processing of massive messages is achieved, thereby realizing the technical effect of improving the processing efficiency of aviation messages and solving the technical problem of low processing efficiency of aviation messages.

[0110] The method is further described below.

[0111] Figure 4 is a schematic diagram of a message intelligent distribution process according to an embodiment of the present invention, such as Figure 4 As shown, multiple message queues can be used to transmit message information in an intelligent distribution manner. If the departure host directly and randomly puts the message into multiple message queues, it will inevitably cause the messages in the flight to be out of order, affecting the accuracy of the airport departure local message data. Intelligent message distribution can calculate which queue of queue a, queue b, queue c, and queue d in the message queue to put the message into based on the message characteristics and the distribution of flights in the queue, ensuring that the messages of the same flight are sent to the same queue in business, ensuring the order of messages in the flight. When the message volume is too large, the messages of the flights on the next day and after are placed in the message delay module in the original order to delay the sending of non-urgent messages and give priority to sending the messages of the urgent flights on the same day to meet the business needs of the airport's local applications.

[0112] Figure 5is a schematic diagram of a message intelligent distribution system according to an embodiment of the present invention. Figure 5 As shown, the message intelligent distribution system may include a message generation module 502 , a message distribution module 504 , a message delay module 506 and a message queue sending module 508 .

[0113] The message generation module 502 can assemble the required information into a message and send it to the message distribution module 504. The message generation speed of the message generated by the message generation module 502, that is, the message volume, is, for example, 10 per second.

[0114] The message distribution module 504 can directly send the messages of the flight of the day to the message queue sending module 508, send the messages of the flights of the next day and the day after to the message delay module 506, and also send the message volume to the message delay module 506.

[0115] The message delay module 506 can cache messages according to flights, and can sort the messages according to the departure time of the flights, and give priority to sending messages of flights with closer departure time. According to the size of the message volume, the speed of sending to the message queue sending module 508 is controlled, so that the subsequent message download can reach the peak processing speed and the message queue sending module will not accumulate messages.

[0116] The message queue sending module 508 can send the message to each corresponding queue of the central message queue according to the flight classification. If the flight has been assigned a corresponding queue, it is used directly. If no queue is assigned, a suitable idle queue is assigned.

[0117] Figure 6 is a schematic diagram of a message parallel downloading process according to an embodiment of the present invention, such as Figure 6 As shown, it includes: it can include a central message queue module 602, a local concurrent message receiving module 604 and a local message queue module 606. The central message queue module 602 includes different queues such as queue a, queue b, queue c and queue d, and each queue contains different flights such as flight A, flight B, flight C and flight D. The local concurrent message receiving module 604 can receive messages from the central message queue module 602 and store them in the local message queue module 606 in the order of receiving. The local message queue module 606 can be a message queue used for message parsing, and the orderly queues ensure the order of subsequent storage.

[0118] Figure 7 is a schematic diagram of a message parsing process according to an embodiment of the present invention, such as Figure 7As shown, the parallel parsing workgroup and the message receiving module are designed according to the pipeline and do not affect each other. The parallel parsing workgroup can take multiple messages from the local message queue at one time, and process each flight in a message parser (worker) according to the flight classification, including work subgroup 7-1, work subgroup 7-2, work subgroup 7-3, and work subgroup 7-4 in series. The message parser can store the parsed message in the departure database.

[0119] Figure 8 is a flow chart of a high-speed parallel message processing method based on civil aviation business characteristics according to an embodiment of the present invention, such as Figure 8 As shown, the method may include the following steps:

[0120] Step S802: Distribute the message to the central message queue.

[0121] In this embodiment, the central server can distribute the messages to multiple central message queues in a balanced manner according to the flights and take-off times.

[0122] Optionally, the central message queue can have multiple queues. The airport-side software can obtain the message queue of the message, and all messages of a flight will only be transmitted in one queue.

[0123] Step S804, waiting for the airport to receive the message.

[0124] In this embodiment, the central message queue can store multiple flights separately, waiting for the airport to collect them.

[0125] Step S806: The airport terminal checks whether there is any message in the central message queue.

[0126] In this embodiment, the airport end can check whether there is a message in the central message queue, and if there is no message, it can wait and check again.

[0127] Step S808, receiving and storing the messages in the central message queue.

[0128] In this embodiment, the local message queue can receive the messages in the central message queue and store them in the local message queue in order to achieve persistence.

[0129] Step S810: The airport terminal checks whether there are any messages to be processed in the local message queue.

[0130] In this embodiment, the airport terminal can check whether there are any messages to be processed in the local message queue, and if there are no messages, wait and check again.

[0131] Through the above steps S804 to S810, parallel downloading of messages can be achieved. The airport local application receives messages from the central message queue. Each message queue is collected by one thread, maximizing the advantage of parallelism to improve message throughput. After receiving the message, the concurrent message receiving module of the airport departure local backup can persist the message and timestamp to the local database message queue to ensure that the messages in the flight are not out of order. Since the message parsing time is significantly longer than the message receiving time, after persistence, the next message can be directly taken without parsing operation, giving priority to ensuring that the message queue is not blocked.

[0132] Step S812, performing message parsing.

[0133] In this embodiment, the airport end can parse the messages in the local message queue and store them in the local database to ensure the orderliness of the messages.

[0134] In the embodiment of the present invention, the messages are distributed, deferred, downloaded in parallel and parsed through the central message queue and message deferred sending module of the central server, as well as the local message queue and departure database of the airport, thereby solving the problem of low efficiency of related message processing methods when facing a large number of messages and flight peak periods, providing a more efficient and stable data synchronization solution, meeting the needs of high-speed parallel message processing, thereby achieving the technical effect of improving the processing efficiency of aviation messages and solving the technical problem of low processing efficiency of aviation messages.

[0135] It is not a reasonable solution to simply ensure that the messages of the same flight are in the same queue and that the messages within the flight are in order. The characteristics of civil aviation business determine that the transaction volume of the flight generally reaches its peak 2 hours before the flight takes off, generating a large number of messages, and there are almost no transaction messages after the flight takes off. Fig. 9 is a schematic diagram of an unreasonable message distribution example according to an embodiment of the present invention, such as Fig. 9 As shown in the figure, the flights of queues 1 and 2 take off mainly before 12:00, while the flights of queues 3 and 4 take off mainly after 12:00. This allocation scheme will cause a large number of messages in queues 1 and 2 before 12:00, which is easy to be blocked, while queues 3 and 4 are relatively idle, wasting resources. Similarly, after 12:00, the message volume of queues 3 and 4 is large, while queues 1 and 2 are idle.

[0136] Fig.10 is a schematic diagram of a message intelligent distribution rule according to an embodiment of the present invention, such as Fig.10 As shown, the intelligent message distribution module can determine how many flights are distributed in each queue according to the number of flights and the number of partitions, and can determine the partition flight distribution rules according to the flight departure time, so as to ensure that the flights in each queue are evenly distributed.

[0137] Fig.11is a flow chart of a message distribution rule processing method according to an embodiment of the present invention. Fig.11 As shown, the method may include the following steps:

[0138] Step S1102, calculating the characteristics of the message to be sent.

[0139] In this embodiment, it can be determined whether the message of the flight has been assigned to a queue, and if so, it is directly pushed to the original queue. If not, step S1104 is performed.

[0140] Step S1104, selecting the partition with the least flights.

[0141] In this embodiment, the partition (queue) with the least number of flights can be selected. If there is only one result, the flight is assigned to the queue and the message is pushed. If multiple results are selected, step S1106 is performed.

[0142] Step S1106, calculating the most idle partition during the flight departure time period.

[0143] In this embodiment, the number of flights being handled by each queue 2 hours before the departure of the current flight can be calculated, and the most idle queue can be selected.

[0144] Step S1108, determine the partition and push the message.

[0145] In this embodiment, if there are multiple idle partitions, a certain partition may be randomly selected and the message may be pushed.

[0146] Fig.12 is a schematic diagram of a reasonable message distribution example according to an embodiment of the present invention, such as Fig.12 As shown, flights are relatively evenly distributed in each queue according to their take-off time, which can ensure that the message volume is as stable as possible.

[0147] Fig.13 is a flow chart of a method for delaying sending a message according to an embodiment of the present invention. Fig.13 As shown, the following steps are included:

[0148] Step S1302, obtaining a message to be distributed.

[0149] In this embodiment, after the message to be distributed is obtained, step S1304 is executed.

[0150] Step S1304: Check whether the number of messages to be distributed reaches a certain high threshold and lasts for a period of time.

[0151] In this embodiment, it is determined whether the number of messages to be distributed reaches a certain high threshold and lasts for a period of time. If so, step S1306 is executed; otherwise, step S1312 is executed.

[0152] Step S1306: whether it is a flight message for the day.

[0153] In this embodiment, it is determined whether it is a flight message for the day, if so, executing step S1308; otherwise, executing step S1310.

[0154] Step S1308, distribute the message.

[0155] In this embodiment, when the message to be distributed is a flight message for the day, the message is distributed.

[0156] Step S1310, the sending end delays the sending queue.

[0157] In this embodiment, when the message to be distributed is not a flight message for the day, it enters the sending end delayed sending queue.

[0158] Step S1312: If there are messages in the deferred queue, the messages of the day's flights are transmitted first, followed by the messages in the deferred queue, and new messages of non-day's flights are stored in the deferred queue of the sender.

[0159] In this embodiment, when the number of messages to be distributed does not reach a certain high threshold and continues for a period of time, if there are messages in the deferred queue, the flight messages of the day are transmitted first, and the messages in the deferred queue are transmitted secondly. New non-flight messages of the day are stored in the deferred queue of the sender, and step S1308 is executed.

[0160] Optionally, during peak message volume periods, messages for the next day and beyond may be delayed to give priority to synchronizing messages for the current day, thereby reducing the number of waiting messages in the queue and reducing synchronization delay.

[0161] Example 3

[0162] The embodiment of the present invention provides an aviation message processing device. It should be noted that the aviation message processing device of the embodiment of the present invention can be used to execute Figure 1 The method for processing aviation messages provided in the embodiment of the present invention is described below. The apparatus for processing aviation messages provided in the embodiment of the present invention is described below.

[0163] Fig.14 is a schematic diagram of an aviation message processing device according to an embodiment of the present invention, such as Fig.14 As shown, it is applied to a central server, the central server includes a central message queue and a message delay module, and the aviation message processing device 1400 may include: an acquisition unit 1402, a delay unit 1404, a distribution unit 1406 and a first sending unit 1408.

[0164] The acquisition unit 1402 is used to acquire the aviation message to be processed, as well as the flight information and the departure time of the flight corresponding to the aviation message.

[0165] The deferred sending unit 1404 is used to store the aviation messages whose take-off time is within the first target time interval into the message deferred sending module in response to the message volume of the aviation messages being greater than the message volume threshold, and distribute the aviation messages whose take-off time is within the second target time interval to the central message queue according to the flight information and the take-off time, wherein the urgency of the aviation messages within the first target time interval is lower than the urgency of the aviation messages within the second target time interval.

[0166] The distribution unit 1406 is configured to distribute the aviation message to the corresponding central message queue according to the flight information and take-off time corresponding to the aviation message in response to the message volume of the aviation message being less than or equal to the message volume threshold.

[0167] The first sending unit 1408 is used to send the aviation message to the airport end corresponding to the central server end by using the central message queue.

[0168] The apparatus for processing aviation messages provided by the embodiment of the present invention acquires aviation messages to be processed, and flight information of a flight corresponding to the aviation message and the departure time of the flight through an acquisition unit 1402; stores aviation messages with departure times within a first target time interval in a message delay module in response to a message volume of the aviation message being greater than a message volume threshold through a delay unit 1404, and distributes aviation messages with departure times within a second target time interval to a central message queue according to the flight information and the departure time, wherein the urgency of the aviation messages within the first target time interval is lower than the urgency of the aviation messages within the second target time interval; distributes the aviation messages to the corresponding central message queue according to the flight information and the departure time corresponding to the aviation messages through a distribution unit 1406 in response to a message volume of the aviation messages being less than or equal to a message volume threshold; and sends the aviation messages to an airport end corresponding to a central service end by using the central message queue through a first sending unit 1408, thereby achieving the technical effect of improving the processing efficiency of aviation messages and solving the technical problem of low processing efficiency of aviation messages.

[0169] The embodiment of the present invention provides another aviation message processing device. It should be noted that the aviation message processing device of the embodiment of the present invention can be used to execute Figure 2 The method for processing aviation messages provided in the embodiment of the present invention is described below. The apparatus for processing aviation messages provided in the embodiment of the present invention is described below.

[0170] Fig.15 is a schematic diagram of another apparatus for processing aviation messages according to an embodiment of the present invention. Fig.15As shown, it is applied to the airport side, the airport side includes a local message queue and a departure database, and the aviation message processing device 1500 may include: a receiving unit 1502, a second sending unit 1504 and a storage unit 1506.

[0171] The receiving unit 1502 is used to receive aviation messages to be processed sent by the central message queue of the central server, wherein the aviation message received by the airport end is an aviation message in response to the message volume of the aviation message being greater than the message volume threshold, and the departure time of the flight corresponding to the aviation message sent by the central message queue is within the second target time interval, or the aviation message received by the airport end is an aviation message sent by the central message queue according to the flight information and departure time in response to the message volume being less than or equal to the message volume threshold. The central server includes a message delay module, and the central server stores the aviation message with the departure time within the first target time interval in the message delay module, and the urgency of the aviation message within the first target time interval is lower than the urgency of the aviation message within the second target time interval.

[0172] The second sending unit 1504 is configured to send the received aviation message to a local message queue.

[0173] The storage unit 1506 is used to parse the aviation message in the local message queue and store the parsed aviation message in the departure database.

[0174] The aviation message processing device provided by the embodiment of the present invention receives the aviation message to be processed sent by the central message queue from the central server through the receiving unit 1502, wherein the aviation message received by the airport end is an aviation message in which the take-off time of the flight corresponding to the aviation message sent by the central message queue is within the second target time interval in response to the message volume of the aviation message being greater than the message volume threshold, or the aviation message received by the airport end is an aviation message sent by the central message queue according to the flight information and the take-off time in response to the message volume being less than or equal to the message volume threshold, and the central server includes The message delay module, the central server stores the aviation messages whose take-off time is within the first target time interval into the message delay module, the urgency of the aviation messages within the first target time interval is lower than the urgency of the aviation messages within the second target time interval; the received aviation messages are sent to the local message queue through the second sending unit 1504; the aviation messages in the local message queue are parsed through the storage unit 1506, and the parsed aviation messages are stored in the departure database, thereby achieving the technical effect of improving the processing efficiency of aviation messages and solving the technical problem of low processing efficiency of aviation messages.

[0175] The above-mentioned aviation message processing device may also include a processor and a memory. The above-mentioned units are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0176] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set to control the same device type of devices to be shut down to perform graceful shutdown by adjusting kernel parameters.

[0177] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (fl ash RAM), and the memory includes at least one storage chip.

[0178] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the work efficiency of traders can be improved by adjusting the kernel parameters.

[0179] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0180] Example 4

[0181] According to an embodiment of the present invention, a system for processing aviation messages is also provided. Fig.16 is a schematic diagram of the structure of an aviation message processing system according to an embodiment of the present invention. Fig.16 As shown, the aviation message processing system 1600 includes: a central service end 1602 and an airport end 1604.

[0182] The central server 1602 is used to obtain aviation messages to be processed, as well as flight information and take-off time of flights corresponding to the aviation messages; in response to the message volume of aviation messages being greater than a message volume threshold, the aviation messages whose take-off time is within a first target time interval are stored in the message delay module of the central server, and the aviation messages whose take-off time is within a second target time interval are distributed to the central message queue of the central server according to the flight information and the take-off time, wherein the urgency of the aviation messages within the first target time interval is lower than the urgency of the aviation messages within the second target time interval; in response to the message volume of aviation messages being less than or equal to the message volume threshold, the aviation messages are distributed to the corresponding central message queue according to the flight information and the take-off time corresponding to the aviation messages; and the aviation messages are sent to the airport terminal corresponding to the central server using the central message queue.

[0183] The airport terminal 1604 is used to receive the aviation message sent from the central message queue; send the received aviation message to the local message queue; parse the aviation message in the local message queue, and store the parsed aviation message in the departure database of the airport terminal.

[0184] Example 5

[0185] According to an embodiment of the present invention, there is further provided a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the method for processing an aviation message is implemented.

[0186] Example 6

[0187] According to an embodiment of the present invention, a processor is further provided, and the processor is used to run a program, wherein the program executes the method for processing aviation messages when running.

[0188] Example 7

[0189] Fig.17 is a schematic diagram of an electronic device for processing an aviation message according to an embodiment of the present invention, such as Fig.17 As shown, an embodiment of the present invention further provides an electronic device 1700, which includes a processor 1701, a memory 1702, and a program stored in the memory and executable on the processor 1701, and the processor 1701 executes the above steps of the embodiment of the present invention.

[0190] Example 8

[0191] The embodiment of the present application further provides a computer program product. Optionally, in this embodiment, the computer program product may include a computer program, and when the computer program is executed by a processor, the method for processing aviation messages of the embodiment of the present application is implemented.

[0192] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0193] The present invention also provides a computer program product, which, when executed on a data processing device, is suitable for the program of the above steps in the embodiment of the present invention.

[0194] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0195] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0196] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0197] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0198] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0199] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0200] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory media such as modulated data signals and carrier waves.

[0201] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0202] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0203] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for processing aviation messages, characterized in that: Applied to a central server, the central server includes a central message queue and a message delay module, and the method includes: Obtaining an aviation message to be processed, as well as flight information of a flight corresponding to the aviation message and a departure time of the flight; In response to a message volume of the aeronautical message being greater than a message volume threshold, storing the aeronautical message whose take-off time is within a first target time interval in the message delay module, and distributing the aeronautical message whose take-off time is within a second target time interval to the central message queue according to the flight information and the take-off time, wherein the urgency of the aeronautical message within the first target time interval is lower than the urgency of the aeronautical message within the second target time interval; In response to a message volume of the aviation message being less than or equal to the message volume threshold, distributing the aviation message to the corresponding central message queue according to the flight information and the take-off time corresponding to the aviation message; The aviation message is sent to the airport terminal corresponding to the central service terminal by using the central message queue.

2. The processing method according to claim 1, characterized in that: The central server includes a message generation module and a message distribution module, wherein obtaining the aviation message to be processed includes: Controlling the message generation module to obtain target data to be processed from a data source, wherein the target data includes the flight information and the departure time; Preprocessing the target data, and converting the data format of the preprocessed target data into a message format to obtain the aviation message; The method further includes: controlling the message generation module to send the aviation message to the message distribution module.

3. The processing method according to claim 2, characterized in that: The method further comprises: In response to the message distribution module receiving the aviation message, acquiring the message volume of the message generation module, wherein the message volume is used to indicate the generation speed of the aviation message generated by the message generation module; In response to the message volume being greater than the message volume threshold, storing the aviation message whose take-off time is within the first target time interval in the message delay module, comprising: In response to the message volume being greater than the message volume threshold, controlling the message distribution module to send the aviation message within the first target time interval to the message delay module; The method further includes: controlling the message distribution module to send the message volume to the message delay module.

4. The processing method according to claim 3, characterized in that: The central server includes a message queue sending module, and the method further includes: In response to the message delay module receiving the aviation message and the message volume within the first target time interval, storing the aviation message in different areas according to the flight information, wherein different areas correspond to different flight information; sorting the aviation messages in the area according to the take-off time to obtain the sorted aviation messages; Based on the message volume, the message delay module is controlled to send the sorted aviation messages to the message queue sending module.

5. The processing method according to claim 2, characterized in that: The central server includes a message queue sending module, wherein, in response to the message volume being greater than the message volume threshold, the aviation message with the departure time within the second target time interval is distributed to the central message queue according to the flight information and the departure time, including: In response to the message volume being greater than the message volume threshold, controlling the message distribution module to distribute the aviation messages within the second target time zone to the message queue distribution module; In response to the message queue distribution module receiving the aviation message within the second target time zone, classifying the aviation message according to the flight information, and distributing the classified aviation message to the central message queue corresponding to the flight information; In response to the message volume of the aviation message being less than or equal to the message volume threshold, distributing the aviation message to the corresponding central message queue according to the flight information and the take-off time corresponding to the aviation message, including: In response to the message volume of the air message being less than or equal to the message volume threshold, controlling the message distribution module to distribute the air message to the message queue distribution module; In response to the message queue distribution module receiving the aviation message, the aviation message is classified according to the flight information, and the classified aviation message is distributed to the central message queue corresponding to the flight information.

6. The processing method according to claim 5, characterized in that: The method further comprises: In response to the number of the central message queue being less than the number of the flight information, the aviation messages satisfying the number of the central message queue are distributed to the corresponding central message queue; The aviation messages exceeding the number of the central message queue are distributed to the central message queue in an idle state.

7. A method for processing aviation messages, characterized in that: The method is applied to an airport end, the airport end includes a local message queue and a departure database, and the method includes: Receive an aviation message to be processed sent by a central message queue from a central server, wherein the aviation message received by the airport end is the aviation message in which the take-off time of the flight corresponding to the aviation message sent by the central message queue is within a second target time interval in response to the message volume of the aviation message being greater than the message volume threshold, or the aviation message received by the airport end is the aviation message sent by the central message queue according to the flight information and the take-off time in response to the message volume being less than or equal to the message volume threshold, the central server end includes a message delay module, and the central server end stores the aviation message in which the take-off time is within a first target time interval in the message delay module, and the urgency of the aviation message within the first target time interval is lower than the urgency of the aviation message within the second target time interval; Sending the received aviation message to a local message queue; The aviation message in the local message queue is parsed, and the parsed aviation message is stored in the departure database.

8. The processing method according to claim 7, characterized in that: The airport end includes a local concurrent message receiving module, the local concurrent message receiving module includes threads, the number of the threads is the same as the number of the central message queues of the central server end, wherein receiving the aviation message to be processed sent from the central message queue includes: Controlling the thread to receive the aviation message sent by the corresponding central message queue; Sending the received aviation message to the local message queue includes: controlling the thread to send the received aviation message to the local message queue.

9. The processing method according to claim 8, characterized in that: The airport end includes a parallel parsing working group, the parallel parsing working group includes working subgroups, the number of the working subgroups is the same as the number of the central message queues, wherein the aviation message in the local message queue is parsed and the parsed aviation message is stored in the departure database, including: Control the local message queue to distribute the aviation message to the corresponding working subgroup according to the flight information in the aviation message; The working subgroup is controlled to parse the received aviation message, and store the parsed aviation message into the departure database.

10. A system for processing aviation messages, characterized in that: include: The central server is used to obtain the aviation message to be processed, as well as the flight information of the flight corresponding to the aviation message and the departure time of the flight; In response to the message volume of the aviation message being greater than the message volume threshold, the aviation message with the take-off time within the first target time interval is stored in the message delay module of the central server, and the aviation message with the take-off time within the second target time interval is distributed to the central message queue of the central server according to the flight information and the take-off time, wherein the urgency of the aviation message within the first target time interval is lower than the urgency of the aviation message within the second target time interval; in response to the message volume of the aviation message being less than or equal to the message volume threshold, the aviation message is distributed to the corresponding central message queue according to the flight information and the take-off time corresponding to the aviation message; and the aviation message is sent to the airport end corresponding to the central server by using the central message queue; The airport end is used to receive the aviation message sent from the central message queue, wherein the aviation message received by the airport end is the aviation message corresponding to the flight departure time of the aviation message sent by the central message queue in response to the message volume of the aviation message being greater than the message volume threshold being within the second target time interval, or the aviation message received by the airport end is the aviation message sent by the central message queue according to the flight information and the departure time in response to the message volume being less than or equal to the message volume threshold. The central service end includes a message delay module, and the central service end stores the aviation message whose departure time is within the first target time interval in the message delay module, and the urgency of the aviation message within the first target time interval is lower than the urgency of the aviation message within the second target time interval; sends the received aviation message to the local message queue; parses the aviation message in the local message queue, and stores the parsed aviation message in the departure database of the airport end.

Citation Information

Patent Citations

  • Multi-type message real-time processing method and device

    CN103763188A

  • Aerocar message processing method, processing device, communication system and aerocar

    CN117812009A

  • Decision-making method, device and equipment for departure flight sorting and storage medium

    CN118798565A

  • Transportation information exchange engine system and method

    US20240127698A1