Airport message management method, device, medium and computing equipment
By verifying and parsing the messages sent by airlines, and using the airport-airline mapping relationship, the problem of low data exchange efficiency between the airport and airlines is solved, and the data format is unified and the exchange efficiency is improved.
Patent Information
- Application Number
- CN202410339102.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-25
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-03-25
AI Technical Summary
The data exchange efficiency between airports and airlines is low, mainly because each airline adopts different data exchange protocols, resulting in complex data formats and difficulties in receiving and processing.
By obtaining the original message from the target airline message queue, verifying the message type and file type, parsing and dismantling it into a second message, the target airport message queue is determined based on the pre-established airport-airline mapping relationship to achieve unified exchange of data. .
It ensures the uniformity of data format, improves the efficiency of data exchange between the airport and airlines, reduces the complexity of direct communication connections, and realizes data exchange without direct interface.
Smart Images

Figure CN117950888B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of airport service technology, and in particular to an airport message management method, device, medium and computing equipment. Background Art
[0002] At present, an airport needs to receive data sent by several or even dozens of airlines. However, since each airline adopts different data exchange protocols, the connection methods between airports and airlines are diverse, which makes the format of the data received by the airport more complicated. This brings great obstacles to the airport's acquisition of information from various airlines, resulting in low data exchange efficiency between airports and airlines.
[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of this application is to provide an airport message management method, device, medium and computing equipment, aiming to solve the technical problem of low efficiency of data exchange between airports and airlines.
[0005] To achieve the above-mentioned purpose, the present application provides an airport message management method, the method comprising: obtaining the original message sent by the target airline from the target airline message queue; verifying the message type and file type of the obtained original message; when the message type and file type of the original message are both verified, parsing the obtained original message to generate a first message; disassembling the first message in units of flights to generate a second message; determining the target airport message queue based on the second message and a pre-established airport-airline mapping relationship; sending the second message to the target airport message queue, so that the target airport associated with the second message obtains the second message from the target airport message queue.
[0006] Optionally, the file type includes a file format and a file structure; the verification of the message type and file type of the acquired original message includes: reading the message type of the original message sent by the target airline; verifying whether the message type of the original message complies with the message processing type of the management platform; if the message type of the original message complies with the message processing type of the management platform, verifying the file format of the original message; if the file format of the original message complies with the target file format of the management platform, verifying the file structure of the original message; if the file structure of the original message complies with the target file structure of the management platform, the original message verification passes.
[0007] Optionally, the method also includes: when the message type and / or file type verification of the original message fails, recording the content of the original message, the source of the original message and the transmission process of the original message in the log of the management platform; sending a prompt message of verification failure to the user end of the management platform to prompt the management personnel of the management platform to manually handle the abnormal status of the original message; and / or, when the file format and file structure verification of the original message fails, sending feedback information of verification failure to the target airline, so that the target airline generates a second original message that conforms to the target file format and the target file structure in response to the feedback information, and sends the second original message to the target airline message queue.
[0008] Optionally, when verifying the message type and file type of the obtained original message, the method also includes: verifying whether the target airline that sent the original message exists in the airline directory of the management platform; if so, parsing the obtained original message to generate the first message; if not, recording the content of the original message, the source of the original message and the transmission process of the original message in the log of the management platform, and notifying the management personnel of the management platform to check for system vulnerabilities.
[0009] Optionally, the second message includes flight information, and determining the target airport message queue based on the second message and a pre-established airport-airline mapping relationship includes: extracting the departure airport keyword, destination airport keyword and airline keyword in the flight information; querying the pre-established airport-airline mapping relationship based on the departure airport keyword, the destination airport keyword and the airline keyword; if the departure airport keyword, the destination airport keyword and the airline keyword conform to the pre-established airport-airline mapping relationship, determining the target airport message queue based on the departure airport keyword and the destination airport keyword.
[0010] Optionally, the method also includes: obtaining request information sent by the target airport, the request information including a request for reissue of lost flight information; obtaining a third message based on a database of the lost flight information query management platform; and sending the third message to the target airport message queue associated with the target airport so that the target airport obtains the third message.
[0011] Optionally, the method further includes: obtaining an adjustment instruction input by a manager through a user terminal of a management platform; and adjusting the pre-established airport-airline mapping relationship in response to the adjustment instruction.
[0012] In addition, to achieve the above-mentioned purpose, the present application also provides an airport message management device, which includes: an acquisition module, which is used to acquire the original message sent by the target airline from the target airline message queue; a verification module, which is used to verify the message type and file type of the acquired original message; a parsing module, which is used to parse the acquired original message to generate a first message when the message type and file type of the original message are both verified; a generation module, which is used to disassemble the first message in units of flights to generate a second message; a determination module, which is used to determine the target airport message queue based on the second message and a pre-established airport-airline mapping relationship; a sending module, which is used to send the second message to the target airport message queue, so that the target airport associated with the second message obtains the second message from the target airport message queue.
[0013] In addition, the present application also provides a computing device, which includes: at least one processor, a memory and an input and output unit; wherein the memory is used to store a computer program, and the processor is used to call the computer program stored in the memory to execute any of the methods described above.
[0014] In addition, the present application also provides a computer-readable storage medium, which includes instructions, and when the instructions are executed on a computer, the computer executes any of the above-mentioned methods.
[0015] The present application proposes an airport message management method, device, medium and computing device, which can ensure that the message type and file type of the original message sent by the target airline meet the requirements of the management platform by verifying the message type and file type of the original message, thereby achieving the purpose of unifying the data format received by the management platform, and can effectively improve the efficiency of data exchange between the target airline and the target airport;
[0016] Furthermore, the original message sent by the airline is uniformly received through the target airline message queue, a first message is generated through the original message, a second message is generated through the first message, the target airport message queue is determined through the second message and a pre-established airport-airline mapping relationship, and the second message is uniformly sent to the airport through the target airport message queue, so that data exchange can be achieved between the target airline and the target airport without directly establishing a communication connection, reducing the complexity of direct data exchange between the target airline and the target airport, and can further improve the efficiency of data exchange between the target airline and the target airport. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A schematic diagram of an application scenario of an airport message management method provided by an embodiment of the present application;
[0018] Figure 2 A flowchart of an airport message management method provided in one embodiment of the present application;
[0019] Figure 3 A schematic diagram of functional modules of an airport message management device provided in one embodiment of the present application;
[0020] Figure 4 A schematic diagram of the structure of a medium provided in one embodiment of the present application;
[0021] Figure 5 A schematic diagram of the structure of a computing device provided in one embodiment of the present application.
[0022] Among them: 110, target airline; 120, management platform; 130, target airport; 300, airport message management device; 310, acquisition module; 320, verification module; 330, parsing module; 340, generation module; 350, determination module; 360, sending module; 40, optical disk; 50, computing device; 501, processing unit; 502, system memory; 5021, RAM; 5022, cache memory; 5023, ROM; 5024, program module; 5025, utility tool; 503, bus; 504, external device; 505, I / O interface; 506, network adapter.
[0023] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0024] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0025] Those skilled in the art know that the embodiments of the present application can be implemented as a system, device, equipment, method or computer program product. Therefore, the present application can be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0026] At present, an airport needs to receive data sent by several or even dozens of airlines. However, because each airline adopts different data exchange protocols, the connection methods between airports and airlines are diverse, which makes the format of the data received by the airport more complicated, resulting in low data exchange efficiency between airports and airlines.
[0027] The main solution of the embodiment of the present application is: obtain the original message sent by the target airline from the target airline message queue; verify the message type and file type of the obtained original message; when the message type and file type of the original message are verified, parse the obtained original message to generate a first message; disassemble the first message by flight to generate a second message; determine the target airport message queue based on the second message and a pre-established airport-airline mapping relationship; send the second message to the target airport message queue, so that the target airport associated with the second message obtains the second message from the target airport message queue.
[0028] The present application provides a solution, which can ensure that the message type and file type of the original message sent by the airline meet the requirements of the management platform by verifying the message type and file type of the original message, and achieve the uniformity of the data format received by the management platform, so as to solve the problem of complex docking between the target airline and the target airport, and can effectively improve the efficiency of data exchange between the target airline and the target airport;
[0029] The original message sent by the airline is uniformly received through the target airline message queue, the first message is generated through the original message, the second message is generated through the first message, the target airport message queue is determined through the second message and the pre-established airport-airline mapping relationship, and the second message is uniformly sent to the airport through the target airport message queue, so that there is no need to directly establish a communication connection between the airline and the airport to realize data exchange, which reduces the complexity of direct data exchange between the target airline and the target airport, and can further improve the efficiency of data exchange between the target airline and the target airport.
[0030] It should be noted that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction and does not have any limiting meaning.
[0031] The principles and spirit of the present application are explained in detail below with reference to several representative implementations of the present application.
[0032] Reference Figure 1, a schematic diagram of an application scenario of an airport message management method provided by an embodiment of the present application. The application scenario includes a target airline 110, a management platform 120 and a target airport 130; wherein, the target airline and the target airport are both connected to the management platform, and an airport message management method is run on the management platform. The management platform stores the original message sent by the target airline in a target airline message queue, and then verifies and processes the original message through an airport message management method to obtain a second message, and then sends the second message to the target airport message queue, and the target airport obtains the second message from the target airport message queue, so as to realize data exchange between the target airline and the target airport, and in this process, the message type and file type of the original message are unified, so that the target airport does not need to operate and maintain a large number of interfaces, reducing the workload of the target airport, and the target airline and the target airport do not need to directly establish a communication connection to realize data exchange, reducing the complexity of direct data exchange between the target airline and the target airport, and can further improve the efficiency of data exchange between the target airline and the target airport.
[0033] It should be noted that the management platform can be connected to multiple target airlines and multiple target airports, and multiple target airline message queues and target airport message queues can also be set.
[0034] In one embodiment, a target airline message queue may store original messages from a target airline, and a target airport message queue may correspond to a target airport.
[0035] In other embodiments, a target airline message queue can store original messages from multiple target airlines, and a target airport message queue can correspond to a target airport. For example, target airlines A1 and target airlines A2 both send original messages to target airline message queue a, and the management platform obtains the original messages of target airlines A1 and target airlines A2 from target airline message queue a, verifies, parses and disassembles the original messages of target airlines A1 and target airlines A2 respectively to generate second messages, and sends the second messages to target airport message queues B1, target airport message queues B2 and target airport message queues B3 respectively. If the second message corresponding to target airline A1 contains the departure airport, destination airport and transit airport, the departure airport, destination airport and transit airport obtain the second message from their corresponding target airport message queues B1, target airport message queues B2 and target airport message queues B3; if the second message corresponding to target airline A2 contains the departure airport and destination airport, the departure airport and destination airport obtain the second message from their corresponding target airport message queues B1 and target airport message queues B2.
[0036] Reference Figure 2An airport message management method provided in an embodiment of the present application is applied to the management platform 120 in the above embodiment. The airport message management method includes:
[0037] Step S210, obtaining the original message sent by the target airline from the target airline message queue.
[0038] In the example embodiment, the target airline message queue is used to store the original message sent by the target airline, with the purpose of providing a reliable, orderly and efficient way for the management platform to process the original message, replacing the data interface between the airline and the airport, and reducing the coupling between the target airline and the target airport. And the target airline message queue can support asynchronous communication and distributed processing.
[0039] The target airline is any one of the multiple airlines registered on the management platform. The original message is the message generated by the target airline, which can contain flight information, sender, receiver, timestamp, message ID, etc. for tracking, auditing and logging. At the same time, due to the extremely high security and reliability requirements of the aviation industry, the original message usually also follows specific encryption, signing and verification mechanisms to ensure the integrity and credibility of the message.
[0040] Step S220: verify the message type and file type of the acquired original message.
[0041] In an example embodiment, the message type of the original message may include flight status update, passenger service request, operation and maintenance notification, internal communication, safety and compliance notification, etc. Among them, the flight status update may include flight number, departure time, estimated arrival time (ETA) or actual arrival time (ATA), departure airport and destination airport, flight status (such as boarding, departure, in flight, landing, delayed, cancelled, etc.), delay reason (such as weather, mechanical failure, air traffic control, etc.), boarding gate information, boarding time, etc.; passenger service request includes passenger name, booking record number or ticket number, request type (such as flight change, refund, upgrade, baggage inquiry, etc.), passenger contact information (such as phone, email, etc.), additional information or instructions (such as special service requirements, baggage description, etc.), etc. Operation and maintenance notifications include aircraft model and registration number, maintenance task type (such as regular inspection, troubleshooting, parts replacement, etc.), planned maintenance date and time, maintenance site or maintenance personnel information, aircraft current status (such as available, under maintenance, waiting for maintenance, etc.); internal communications include: sender and receiver identity information, message subject or title, message body (may include text, pictures, attachments, etc.), sending date and time, message urgency or priority, etc.; safety and compliance notifications include safety announcements or instructions, regulatory updates or compliance requirements, safety training or drill information, etc.
[0042] The file type of the original message includes the file format and the file structure. Among them, the file format generally refers to the organization and representation of data stored in the computer system. It defines the type, encoding method, structure and other data-related properties of the data. The file format can be identified by the file extension, such as .txt, .doc, .jpg, etc. Each file format has its specific purpose and characteristics. For example, text files are usually used to store text information, image files are used to store image data, and audio files are used to store sound data. The file structure describes the organization and layout of the data inside the file. Common file structures include sequential structure, index structure and hash structure. The sequential structure stores data in the order in which it is stored, which is suitable for sequential access and batch modification scenarios. The index structure uses an index table to record the keywords and corresponding addresses of the data, and supports sequential access and random access. The hash structure calculates the keyword value through a hash function to determine the address of the data. The access speed is fast, but it can only support random access.
[0043] In a specific embodiment, for example, the message processing type involved in the management platform is flight status update; the target file format involved in the management platform is a text file, and the target file structure is a sequential structure; then the above step S220 may include: reading the message type of the original message sent by the target airline; verifying whether the message type of the original message conforms to the message processing type of the management platform; if the message type of the original message conforms to the message processing type of the management platform, verifying the file format of the original message; if the file format of the original message conforms to the target file format of the management platform, verifying the file structure of the original message; if the file structure of the original message conforms to the target file structure of the management platform, the original message verification passes.
[0044] As can be understood from the above embodiments, the management platform obtains the original message from the target airline message queue in sequence according to the receiving time, and verifies the message type of the original message. If the message type of the original message is flight status update, the message type verification of the original message passes, and the file format of the original message is verified; if the file format of the original message is text format, the file format verification of the original message passes, and the file structure of the original message is verified; if the file structure of the original message is a sequential structure, the original message verification passes.
[0045] In one embodiment, when the management platform executes the above step S220, the method may include: verifying whether the target airline sending the original message exists in the airline directory of the management platform; if so, parsing the obtained original message to generate a first message; if not, recording the content of the original message, the source of the original message and the transmission process of the original message in the log of the management platform.
[0046] Understandably, the airline directory is a summary list of airlines registered on the management platform.
[0047] In order to ensure the security of the source of the message, the management platform verifies the message type and file type of the original message, and also verifies the target airline that sent the original message. That is, the target airline and the management platform use a set of passwords, the target airline uses a private key to encrypt the data to generate a unique digital signature, and the management platform uses a public key paired with the private key to decrypt and verify the digital signature. If the digital signature verification is successful, it proves that the data has not been tampered with during the transmission process, and it belongs to the original message sent by the airline registered with the management platform, and then executes step S230; if the verification fails, the content of the original message, the source of the original message, and the transmission process of the original message are recorded in the log of the management platform, and the management personnel of the management platform are notified to check for system vulnerabilities.
[0048] In other embodiments, verifying whether the target airline sending the original message exists in the airline directory of the management platform may also include: the original message contains the code of the target airline, the management platform retrieves the airline directory stored in the database, the airline directory includes multiple airline codes, and the management platform queries whether the code of the target airline in the original message exists in the airline directory. If so, it proves that the source of the original message is safe, and the next step of processing is performed; if not, the source data of the original message is deleted.
[0049] In addition, step S220 also includes, if the management platform fails to verify the message type and / or file type of the original message, recording the content of the original message, the source of the original message and the transmission process of the original message in the log of the management platform; and sending a prompt message of verification failure to the user end of the management platform to prompt the administrator of the management platform to manually handle the abnormal status of the original message.
[0050] And / or, step S220 also includes, if the management platform fails to verify the file format and file structure of the original message, sending feedback information of verification failure to the target airline, so that the target airline regenerates a second original message that conforms to the target file format and target file structure in response to the feedback information, and sends the second original message to the target airline message queue.
[0051] Step S230: When the message type and file type of the original message are both verified, the obtained original message is parsed to generate a first message.
[0052] In an example embodiment, parsing the original message means that the management platform parses the original message into fields or messages according to a specific protocol specification, and extracts flight information sent by the airline from the parsed fields or messages. The flight information may include flight number, departure time, estimated time of arrival (ETA) or actual time of arrival (ATA), departure airport and destination airport, flight status (such as boarding, taking off, in flight, landing, delayed, canceled, etc.), delay reason (such as weather, mechanical failure, air traffic control, etc.), boarding gate information and / or boarding time, etc.
[0053] Step S240: Decompose the first message by flight to generate a second message.
[0054] In combination with the above embodiment, the first message contains multiple flight numbers, and the management platform can disassemble the first message by flight number to obtain multiple second messages. By disassembling the first message by flight, when a flight changes, the business related to the flight can also make scientific and reasonable adjustments in a timely manner.
[0055] Step S250, determining the target airport message queue based on the second message and the pre-established airport-airline mapping relationship.
[0056] In an example embodiment, the airport-airline mapping relationship is that when the airport and the airline access the management platform, the management platform establishes a message routing relationship based on the relevant protocol and the communication relationship between the airline and the airport.
[0057] It should be noted that the above-mentioned airport-airline mapping relationship can be adjusted according to actual applications, specifically including: obtaining adjustment instructions input by managers through the user end of the management platform; and adjusting the pre-established airport-airline mapping relationship in response to the adjustment instructions.
[0058] It is understandable that when a new airline or airport is connected to the management platform or an airline or airport is deleted, the administrator adjusts the airport-airline mapping relationship according to actual application needs. Specifically, the administrator inputs an adjustment instruction through the user end of the management platform. The adjustment instruction can be a modification instruction generated by the administrator clicking a corresponding button on the application interface of the user end, or clicking a connection line on the airport-airline mapping relationship diagram on the application interface. The management platform obtains the adjustment instruction and adds, deletes, queries and / or changes the airport-airline mapping relationship stored in the management platform database.
[0059] By dynamically managing the airport-airline mapping relationship, it is possible to adjust the routing relationship between airports and airlines in a timely manner when the number of airlines or airports changes, thereby ensuring the stability and security of data exchange between airlines and airports.
[0060] The target airport message queue is a message queue for storing messages sent by the management platform to the target airport. In this embodiment, the management platform creates the target airport message queue based on the publish-subscribe model. The publish-subscribe model is that the message producer (publisher) generates messages and sends the messages to an intermediary (topic), and then the message consumer (subscriber) subscribes to the topic and obtains the message. In this embodiment, the management platform is the publisher, and the target airport is the subscriber. Each airport has a corresponding topic, that is, the message queue of the target airport. The management platform and the target airport are decoupled. The management platform does not need to know the specific existence of the target airport, and the target airport only needs to know the existence of the topic (the message queue of the target airport). When a new target airport appears, the code of the management platform does not need to be modified; similarly, when the management platform needs to be changed, it will not affect the previous target airport.
[0061] In a specific embodiment, the second message includes flight information, and the above step S250 may include: extracting the departure airport keyword, destination airport keyword and airline keyword in the flight information; based on the departure airport keyword, destination airport keyword and airline keyword, querying a pre-established airport-airline mapping relationship; if the departure airport keyword, destination airport keyword and airline keyword conform to the pre-established airport-airline mapping relationship, determining the target airport message queue based on the departure airport keyword and destination airport keyword.
[0062] Step S260: sending the second message to the target airport message queue, so that the target airport associated with the second message obtains the second message from the target airport message queue.
[0063] In combination with the above embodiments, it is understandable that when the service platform produces a message, it splits the original message by flight, so that multiple sub-messages carrying single flight information are obtained, and then the flight departure location keyword, destination keyword and airline keyword are extracted from them, and the pre-established airport-airline mapping relationship is obtained from the database to determine whether the departure location, destination and airline of the flight are in line with the airline-airport mapping relationship. If so, the sub-message corresponding to the flight is published to the topic corresponding to its departure airport and destination airport (target airport message queue) until all flights in the original message are processed.
[0064] In a specific embodiment, when an airport makes an error in message processing for a certain flight due to some reasons, the above method also includes: obtaining request information sent by the target airport, the request information including a request for reissue of lost flight information; obtaining a third message based on a database of a lost flight information query management platform; and sending the third message to a target airport message queue associated with the target airport so that the target airport obtains the third message.
[0065] In an example embodiment, the log of the management platform records the source and transmission process of the message, and the database stores the received original data, the parsed first message, and the disassembled second message. When the target airport makes an error in message processing for a certain flight due to some reasons, and the management platform needs to push the message to the target airport again, the target airport initiates a request message for data reissue to the management platform. The management platform receives the request message and extracts the lost flight information in the request message. According to the three-letter airline code, flight number, flight scheduled execution date and time, flight departure station or flight destination station in the lost flight information, the management platform's database is queried to obtain a third message, that is, the lost flight information. The lost flight information is then placed in the corresponding target airport message queue, and the target airport retrieves the lost flight information from the target airport message queue.
[0066] Through the above-mentioned message resending measures, the data obtained by the management platform can be traced to ensure business continuity, while facilitating timely adjustments to flight-related businesses and reducing the probability of accidents.
[0067] In addition, in some embodiments, the above method can also count the number of original messages sent by each airline. If the number of original messages sent by an airline exceeds a preset threshold, the management platform creates a separate target airline message queue and a target airport message queue to receive and distribute the messages of the airline, which is convenient for optimizing resource allocation and improving the response efficiency of the management platform.
[0068] By implementing the above-mentioned steps S210 to S260, by verifying the message type and file type of the original message, it can be ensured that the message type and file type of the original message sent by the target airline meet the requirements of the management platform, and the uniformity of the data format received by the management platform is achieved, so as to solve the problem of relatively complex docking methods between the target airline and the target airport, and can effectively improve the efficiency of data exchange between the target airline and the target airport; the original message sent by the airline is uniformly received through the target airline message queue, a first message is generated through the original message, a second message is generated through the first message, the target airport message queue is determined through the second message and a pre-established airport-airline mapping relationship, and the second message is uniformly sent to the airport through the target airport message queue, so that data exchange can be achieved between the target airline and the target airport without directly establishing a communication connection, reducing the complexity of direct data exchange between the target airline and the target airport, and can further improve the efficiency of data exchange between the target airline and the target airport.
[0069] After introducing the method of the exemplary embodiment of the present application, next, refer to Figure 3An airport message management device according to an exemplary embodiment of the present application is described. The airport message management device 300 includes: an acquisition module 310, a verification module 320, a parsing module 330, a generation module 340, a determination module 350, and a sending module 360;
[0070] The acquisition module 310 is used to acquire the original message sent by the target airline from the target airline message queue;
[0071] A verification module 320, used to verify the message type and file type of the acquired original message;
[0072] The parsing module 330 is used to parse the obtained original message to generate a first message when the message type and the file type of the original message are both verified;
[0073] A generating module 340, configured to decompose the first message by flight unit to generate a second message;
[0074] A determination module 350, configured to determine a target airport message queue based on the second message and a pre-established airport-airline mapping relationship;
[0075] The sending module 360 is used to send the second message to the target airport message queue, so that the target airport associated with the second message obtains the second message from the target airport message queue.
[0076] As an optional implementation, the verification module 320 is also used to read the message type of the original message sent by the target airline; to verify whether the message type of the original message conforms to the message processing type of the management platform; if the message type of the original message conforms to the message processing type of the management platform, to verify the file format of the original message; if the file format of the original message conforms to the target file format of the management platform, to verify the file structure of the original message; if the file structure of the original message conforms to the target file structure of the management platform, the original message passes the verification.
[0077] As an optional implementation, the above-mentioned airport message management device 300 is also used to, when the message type and / or file type verification of the original message fails, record the content of the original message, the source of the original message and the transmission process of the original message in the log of the management platform; send a prompt message of verification failure to the user end of the management platform to prompt the management personnel of the management platform to manually handle the abnormal status of the original message; and / or, when the file format and file structure verification of the original message fails, send feedback information of verification failure to the target airline, so that the target airline generates a second original message that conforms to the target file format and the target file structure in response to the feedback information, and sends the second original message to the target airline message queue.
[0078] As an optional implementation, the above-mentioned airport message management device 300 is also used to verify whether the target airline sending the original message exists in the airline directory of the management platform; if so, the obtained original message is parsed to generate a first message; if not, the content of the original message, the source of the original message and the transmission process of the original message are recorded in the log of the management platform, and the management personnel of the management platform are notified to check for system vulnerabilities.
[0079] As an optional implementation, the second message includes flight information, and the above-mentioned determination module 350 is also used to extract the departure airport keyword, destination airport keyword and airline keyword in the flight information; based on the departure airport keyword, the destination airport keyword and the airline keyword, query the pre-established airport-airline mapping relationship; if the departure airport keyword, the destination airport keyword and the airline keyword conform to the pre-established airport-airline mapping relationship, then determine the target airport message queue based on the departure airport keyword and the destination airport keyword.
[0080] As an optional implementation, the above-mentioned airport message management device 300 is also used to obtain request information sent by the target airport, the request information including a request for reissue of lost flight information; obtain a third message based on the database of the lost flight information query management platform; and send the third message to the target airport message queue associated with the target airport so that the target airport obtains the third message.
[0081] As an optional implementation, the airport message management device 300 is also used to obtain adjustment instructions input by the management personnel through the user terminal of the management platform; in response to the adjustment instructions, the pre-established airport-airline mapping relationship is adjusted.
[0082] After introducing the method and apparatus of the exemplary embodiment of the present application, next, reference is made to Figure 4 For a description of the computer-readable storage medium of the exemplary embodiment of the present application, please refer to Figure 4 , the computer-readable storage medium shown is a CD 40, on which a computer program (i.e., a program product) is stored. When the computer program is executed by the processor, the steps recorded in the above method implementation are implemented, for example, obtaining the original message sent by the target airline from the target airline message queue; verifying the message type and file type of the obtained original message; when the message type and file type of the original message are both verified, parsing the obtained original message to generate a first message; disassembling the first message in units of flights to generate a second message; determining the target airport message queue based on the second message and the pre-established airport-airline mapping relationship; sending the second message to the target airport message queue, so that the target airport associated with the second message obtains the second message from the target airport message queue; the specific implementation method of each step is not repeated here.
[0083] It should be noted that examples of the computer-readable storage medium may also 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 optical or magnetic storage media, which are not listed here one by one.
[0084] After introducing the method, apparatus and medium of the exemplary embodiments of the present application, next, reference is made to Figure 5 A computing device for model processing according to an exemplary embodiment of the present application.
[0085] Figure 5 A block diagram of an exemplary computing device 50 suitable for implementing embodiments of the present application is shown. The computing device 50 may be a computer system or a server. Figure 5 The computing device 50 shown is merely an example and should not bring any limitation to the functionality and scope of use of the embodiments of the present application.
[0086] like Figure 5 As shown, the components of the computing device 50 may include, but are not limited to: one or more processors or processing units 501 , a system memory 502 , and a bus 503 connecting different system components (including the system memory 502 and the processing unit 501 ).
[0087] The computing device 50 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computing device 50, including volatile and non-volatile media, removable and non-removable media.
[0088] The system memory 502 may include computer system readable media in the form of volatile memory, such as RAM 5021 and / or cache memory 5022, where RAM is a random access memory. The computing device 50 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, ROM 5023 may be used to read and write non-removable, non-volatile magnetic media ( Figure 5 is not shown in the Figure 5 As shown in the figure, a disk drive for reading and writing a removable non-volatile disk (such as a "floppy disk") and an optical disk drive for reading and writing a removable non-volatile optical disk (such as a CD-ROM, DVD-ROM or other optical media) can be provided. In these cases, each drive can be connected to the bus 503 through one or more data medium interfaces. The system memory 502 may include at least one program product, which has a set (such as at least one) of program modules, which are configured to perform the functions of each embodiment of the present application.
[0089] A program / utility 5025 having a set (at least one) of program modules 5024 may be stored, for example, in system memory 502, and such program modules 5024 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 5024 generally perform the functions and / or methods of the embodiments described herein.
[0090] The computing device 50 may also communicate with one or more external devices 504 (e.g., a keyboard, a pointing device, a display, etc.). Such communication may be performed via an I / O interface 505, which is an input / output interface. Furthermore, the computing device 50 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 506. Figure 5 As shown, the network adapter 506 communicates with other modules (such as the processing unit 501, etc.) of the computing device 50 via the bus 503. It should be understood that although Figure 5 Not shown, other hardware and / or software modules may be used in conjunction with computing device 50 .
[0091] The processing unit 501 executes various functional applications and data processing by running the program stored in the system memory 502, for example, obtaining the original message sent by the target airline from the target airline message queue; verifying the message type and file type of the obtained original message; parsing the obtained original message to generate a first message when the message type and file type of the original message are verified; disassembling the first message in units of flights to generate a second message; determining the target airport message queue based on the second message and the pre-established airport-airline mapping relationship; sending the second message to the target airport message queue so that the target airport associated with the second message obtains the second message from the target airport message queue. The specific implementation of each step is not repeated here. It should be noted that although several units / modules or sub-units / sub-modules of the airport message management device are mentioned in the above detailed description, this division is only exemplary and not mandatory. In fact, according to the embodiment of the present application, the features and functions of two or more units / modules described above can be concretized in one unit / module. On the contrary, the features and functions of one unit / module described above may be further divided into multiple units / modules to be embodied.
[0092] In the description of the present application, it should be noted that the terms "first", "second" and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0093] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0094] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0095] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0096] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0097] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0098] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
[0099] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
Claims
1. An airport message management method, characterized in that: The method comprises: Obtaining an original message sent by the target airline from the target airline message queue, where the original message includes at least one of flight information, sender, receiver, timestamp, and message ID; Verifying the message type and file type of the acquired original message; When the message type and the file type of the original message are both verified, the obtained original message is parsed to generate a first message, where the first message includes flight information; Decomposing the first message in units of flights to generate a second message, where the second message includes flight information; Determine a target airport message queue based on the second message and a pre-established airport-airline mapping relationship; sending the second message to the target airport message queue, so that the target airport associated with the second message obtains the second message from the target airport message queue; The file type includes a file format and a file structure; and the verifying the message type and the file type of the acquired original message includes: Read the message type of the original message sent by the target airline; Verify whether the message type of the original message conforms to the message processing type of the management platform; If the message type of the original message conforms to the message processing type of the management platform, verifying the file format of the original message; If the file format of the original message conforms to the target file format of the management platform, verifying the file structure of the original message; If the file structure of the original message conforms to the target file structure of the management platform, the original message passes the verification; The determining the target airport message queue based on the second message and the pre-established airport-airline mapping relationship includes: Extracting the departure airport keyword, the destination airport keyword and the airline keyword from the flight information; Based on the departure airport keyword, the destination airport keyword and the airline keyword, query the pre-established airport-airline mapping relationship; If the departure airport keyword, the destination airport keyword and the airline keyword conform to the pre-established airport-airline mapping relationship, the target airport message queue is determined based on the departure airport keyword and the destination airport keyword.
2. The method according to claim 1, characterized in that The method further comprises: If the message type and / or file type verification of the original message fails, recording the content of the original message, the source of the original message and the transmission process of the original message in a log of the management platform; Sending a verification failure prompt message to the user terminal of the management platform to prompt the administrator of the management platform to manually handle the abnormal state of the original message; and / or, In the event that the file format and file structure verification of the original message fails, feedback information indicating verification failure is sent to the target airline, so that the target airline generates a second original message that conforms to the target file format and the target file structure in response to the feedback information, and sends the second original message to the target airline message queue.
3. The method according to claim 2, characterized in that When verifying the message type and file type of the acquired original message, the method further includes: Verify whether the target airline that sent the original message exists in the airline directory of the management platform; If it exists, parsing the obtained original message to generate the first message; If not, the content of the original message, the source of the original message and the transmission process of the original message are recorded in the log of the management platform, and the administrator of the management platform is notified to check for system vulnerabilities.
4. The method according to claim 1, characterized in that The method further comprises: Obtaining request information sent by the target airport, the request information including information of lost flight requested for reissue; Based on the database of the lost flight information query management platform, obtaining a third message; The third message is sent to the target airport message queue associated with the target airport, so that the target airport obtains the third message.
5. The method according to claim 1, characterized in that The method further comprises: Obtaining adjustment instructions input by managers through the user end of the management platform; In response to the adjustment instruction, the pre-established airport-airline mapping relationship is adjusted.
6. An airport message management device, characterized in that: The device comprises: An acquisition module, used to acquire the original message sent by the target airline from the target airline message queue, wherein the original message includes at least one of flight information, sender, receiver, timestamp, and message ID; A verification module, used to verify the message type and file type of the acquired original message; A parsing module, configured to parse the acquired original message to generate a first message when both the message type and the file type of the original message are verified to be passed, wherein the first message includes flight information; A generating module, configured to decompose the first message by flight to generate a second message, wherein the second message includes flight information; A determination module, configured to determine a target airport message queue based on the second message and a pre-established airport-airline mapping relationship; A sending module, configured to send the second message to the target airport message queue, so that the target airport associated with the second message obtains the second message from the target airport message queue; The verification module is also used to read the message type of the original message sent by the target airline; verify whether the message type of the original message conforms to the message processing type of the management platform; if the message type of the original message conforms to the message processing type of the management platform, verify the file format of the original message; if the file format of the original message conforms to the target file format of the management platform, verify the file structure of the original message; if the file structure of the original message conforms to the target file structure of the management platform, the original message verification passes; The determination module is also used to extract the departure airport keyword, destination airport keyword and airline keyword in the flight information; based on the departure airport keyword, the destination airport keyword and the airline keyword, query the pre-established airport-airline mapping relationship; if the departure airport keyword, the destination airport keyword and the airline keyword conform to the pre-established airport-airline mapping relationship, determine the target airport message queue based on the departure airport keyword and the destination airport keyword.
7. A computer-readable storage medium, characterized in that: The method comprises instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 5.
8. A computing device, characterized in that The computing device comprises: at least one processor, memory, and input-output unit; The memory is used to store a computer program, and the processor is used to call the computer program stored in the memory to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Information batch scheduling control method and system
CN102739564A
GNSS message conversion verification method
CN107707629A
