Consigned luggage processing method and device, computer program product and electronic equipment

By receiving and analyzing baggage checked messages, matching the message sending rule table, determining the target address and sending messages, the problem of insufficient support for data items in the civil aviation departure system does not meet the standard format and terminating report type, and improving the checked baggage Processing efficiency and standardization of message sending.

CN119130298APending Publication Date: 2024-12-13TRAVELSKY TECHNOLOGY LIMITED
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411363521.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

When sending BSM messages by the existing civil aviation departure system, the data items do not meet the standard format and cannot be resolved normally. It does not support the termination report type and email address sending, resulting in low efficiency in handling checked baggage.

Method used

By receiving and parsing baggage consignment messages, matching the preset message sending rule table, determining the target message sending address, and sending the message to the target terminal, ensuring that the data format and type meet the requirements, and supporting termination of the report type and email address termination Address send.

Benefits of technology

It improves the efficiency of checked baggage processing, ensures the standardization and availability of message sending, fills in the capability defects of the host departure system, and improves the overall processing capacity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119130298A_ABST
    Figure CN119130298A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for processing consigned luggage, a computer program product and electronic equipment. Relates to the field of civil aviation passenger check-in, and comprises the following steps: receiving and analyzing a luggage check-in message to obtain check-in information which at least comprises one of luggage check-in navigation station information and airline company information; the consignment information is matched with a preset message sending rule table, a matching result is obtained, the message sending rule table comprises a plurality of message sending rules, and each message sending rule comprises at least one piece of consignment information; under the condition that the matching result represents that the matching is successful, determining a target message sending rule matched with the luggage check-in message, and extracting a message sending address from the target message sending rule; and sending the luggage consignment message to the message sending address, and controlling the target navigation station corresponding to the message sending address to process the target luggage. Through the method and the device, the problem of low consigned luggage processing efficiency in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of civil aviation passenger check-in, and more specifically, to a method, device, computer program product and electronic device for processing checked baggage. Background Art

[0002] With the development of the civil aviation industry, civil aviation information technology is also constantly improving. Information systems play a supporting and guaranteeing role in improving the efficiency and sincere service of the civil aviation industry. When the departure system handles baggage consignment business, it needs to transmit data with the external system by sending baggage messages. BSM (Baggage Source Message) is the message used by the departure system to transmit data with the airport sorting system.

[0003] In the related art, the BSM messages of airlines are mainly sent through the host departure system. However, the BSM messages sent by the host departure system have the following problems: the data items in the message do not meet the standard format requirements of the BSM message, which will cause the BSM receiving system of the airline or airport to be unable to parse the message normally, thereby affecting the subsequent processing of related baggage services; the host departure system does not support the sending of BSM messages of the termination message type in the BSM message; the systems for airlines and airports to receive BSM messages are not unified, and some airports require that the receiving address of the message is an email address, but the host departure system cannot support sending messages to email addresses.

[0004] With respect to the problem of low efficiency in handling checked baggage in related technologies, no effective solution has been proposed so far. Summary of the invention

[0005] The main purpose of the present application is to provide a checked baggage processing method, device, computer program product and electronic device to solve the problem of low efficiency in checked baggage processing in related technologies.

[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for processing checked baggage is provided. The method comprises: receiving and parsing a baggage check-in message to obtain check-in information, wherein the check-in information includes at least one of the following: baggage check-in terminal information and airline information; matching the check-in information with a preset message sending rule table to obtain a matching result, wherein the message sending rule table includes multiple message sending rules, and each message sending rule includes at least one type of check-in information; when the matching result indicates a successful match, determining a target message sending rule that matches the baggage check-in message, and extracting a message sending address from the target message sending rule; sending the baggage check-in message to the message sending address, and controlling the target terminal corresponding to the message sending address to process the target baggage, wherein the target baggage is the baggage indicated to be checked in by the check-in information.

[0007] Optionally, the check-in information is matched with a preset message sending rule table to obtain a matching result including: for each message sending rule in the message sending rule table, determining whether the message sending rule contains the check-in information, and determining whether the message type of the baggage check-in message is the target message type set in the message sending rule; when all message sending rules in the message sending rule table do not contain the check-in information, or the target message type set in all message sending rules is different from the message type of the baggage check-in message, determining that the matching result is a match failure; when any message sending rule in the message sending rule table contains the check-in information, and the target message type set in the message sending rule containing the check-in information is the same as the message type of the baggage check-in message, determining that the matching result is a match success.

[0008] Optionally, after sending the baggage check-in message to the message sending address, the method further includes: determining whether the target airport has received the baggage check-in message; if the baggage check-in message is received, executing the step of controlling the target airport corresponding to the message sending address to process the target baggage; if the baggage check-in message is not received within a preset time period, issuing a first prompt message and updating the target message sending rule in the message sending rule table, wherein the first prompt message is used to prompt that the message reception fails.

[0009] Optionally, the method also includes: receiving a message sending rule update message, and parsing the message sending rule update message, wherein the message sending rule update message includes at least one of the following: adding a rule message, deleting a rule message, modifying a rule message and querying a rule message; judging whether there is an abnormality in the parsing process of the message sending rule update message; in case of an abnormality in the parsing process, issuing a second prompt message, and in case of no abnormality in the parsing process, verifying the parameters in the message sending rule update message, wherein the second prompt message is used to prompt that the rule update fails; in case of failure of the parameter verification, issuing a second prompt message, and in case of passing the parameter verification, judging whether there is a conflict between the rule to be updated and the existing message sending rule; in case of a conflict between the rule to be updated and the existing message sending rule, issuing a second prompt message, and in case of no conflict between the rule to be updated and the existing message sending rule, updating the message sending rule table based on the rule to be updated.

[0010] Optionally, before sending the baggage check-in message to the message sending address, the method further includes: determining whether the data format in the baggage check-in message is a target format; if the data format in the baggage check-in message is the target format, executing the step of sending the baggage check-in message to the message sending address; if the data format in the baggage check-in message is not the target format, updating the data in the baggage check-in message that is not in the target format to obtain an updated baggage check-in message, and executing the step of sending the baggage check-in message to the message sending address based on the updated baggage check-in message.

[0011] Optionally, before sending the baggage check-in message to the message sending address, the method also includes: determining whether the message type of the baggage check-in message needs to be converted; if the message type of the baggage check-in message needs to be converted, converting the message type of the baggage check-in message into a target message type supported by the target terminal for reception; if the message type of the baggage check-in message does not need to be converted, executing the step of sending the baggage check-in message to the message sending address.

[0012] Optionally, determining whether the message type of the baggage check-in message needs to be converted includes: acquiring multiple target types of messages supported by the target terminal to obtain a message type set; determining the message type of the baggage check-in message, and determining whether the message type belongs to the message type set; if the message type belongs to the message type set, determining that the message type of the baggage check-in message does not need to be converted; if the message type does not belong to the message type set, determining that the message type of the baggage check-in message needs to be converted.

[0013] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a device for processing checked baggage is provided. The device includes: a receiving unit, which is used to receive and parse the baggage check-in message to obtain the check-in information, wherein the check-in information includes at least one of the following: baggage check-in terminal information and airline information; a matching unit, which is used to match the check-in information with a preset message sending rule table to obtain a matching result, wherein the message sending rule table includes multiple message sending rules, and each message sending rule includes at least one kind of check-in information; a first determining unit, which is used to determine the target message sending rule that matches the baggage check-in message when the matching result indicates that the match is successful, and extract the message sending address from the target message sending rule; a sending unit, which is used to send the baggage check-in message to the message sending address, and control the target terminal corresponding to the message sending address to process the target baggage, wherein the target baggage is the baggage indicated to be checked in by the check-in information.

[0014] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps of the checked baggage processing method described in each embodiment of the present application.

[0015] Through this application, the following steps are adopted: receiving and parsing a baggage check-in message to obtain the check-in information, wherein the check-in information includes at least one of the following: baggage check-in terminal information and airline information; matching the check-in information with a preset message sending rule table to obtain a matching result, wherein the message sending rule table contains multiple message sending rules, and each message sending rule contains at least one kind of check-in information; when the matching result indicates a successful match, determining the target message sending rule that the baggage check-in message matches, and extracting the message sending address from the target message sending rule; sending the baggage check-in message to the message sending address, and controlling the target terminal corresponding to the message sending address to process the target baggage, wherein the target baggage is the baggage indicated to be checked by the check-in information, thereby solving the problem of low efficiency in handling checked baggage in the related art. By configuring the message sending rule table, matching the check-in information in the baggage check-in message with the message sending rule table, obtaining the message sending address, sending the baggage check-in message to the target terminal corresponding to the message sending address, and having the target terminal process the target baggage, thereby achieving the effect of improving the efficiency of handling checked baggage. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 is a flowchart of a method for processing checked baggage provided in an embodiment of the present application;

[0018] Figure 2 It is a flowchart of adding message sending rules provided in an embodiment of the present application;

[0019] Figure 3 It is a flowchart of deleting message sending rules provided according to an embodiment of the present application;

[0020] Figure 4 It is a flowchart of modifying message sending rules provided in an embodiment of the present application;

[0021] Figure 5 It is a flowchart of a query message sending rule provided in an embodiment of the present application;

[0022] Figure 6 is a schematic diagram of a checked baggage processing system provided according to an embodiment of the present application;

[0023] Figure 7 It is a schematic diagram of a method for sending a baggage check-in message according to an embodiment of the present application;

[0024] Figure 8is a schematic diagram of a checked baggage processing device provided according to an embodiment of the present application;

[0025] Fig. 9 is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION

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

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

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

[0029] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0030] It should be noted that the information collected is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0031] The present invention is described below in conjunction with preferred implementation steps. Figure 1 is a flowchart of a method for processing checked baggage according to an embodiment of the present application, such as Figure 1As shown, the method comprises the following steps:

[0032] Step S101, receiving and parsing a baggage check-in message to obtain check-in information, wherein the check-in information includes at least one of the following: baggage check-in terminal information and airline information.

[0033] Specifically, the baggage check-in message may be a BSM message, and the check-in information may include the baggage check-in terminal information and the airline information. After the passenger's baggage is checked in, the host departure system may send a BSM message to the airport sorting system. The sorting system parses the BSM message and delivers the baggage to the correct aircraft accurately and timely according to the check-in information in the message.

[0034] The BSM message can be in the following format:

[0035] BSM, message type;

[0036] 18JUL18 074059148, message sending timestamp;

[0037] .V / 1LTGO, the sending airport of the message is TGO;

[0038] .F / CA1124 / 30JAN / PEK / Y, the flight number of the baggage in the message is CA1124, the flight date is January 30, the flight destination is PEK airport, and the cabin is Y;

[0039] .N / 3999935202002, luggage tag number;

[0040] .D / TGO / / 29JAN / 0911 / / PEK30113, the baggage was received and processed at TGO airport by work number PEK30113 on January 29;

[0041] .S / Y / 23A / C / 001 / / Y, baggage data confirmation information: the baggage can be transferred, has been checked in, the passenger seat number is 23A, and the boarding number is 001;

[0042] .W / K / 2 / 20, the number of luggage is 2 pieces, and the weight is 20KG;

[0043] .P / 1CHENQING, passenger name is CHENQING;

[0044] .L / MFW1QX, the passenger's PNR (record number) is MFW1QX;

[0045] .T / 1016, the printer device number is 1016;

[0046] ENDBSM, end of message;

[0047] Step S102, matching the consignment information with a preset message sending rule table to obtain a matching result, wherein the message sending rule table includes a plurality of message sending rules, and each message sending rule includes at least one type of consignment information.

[0048] Specifically, the message sending rule table is a data table containing multiple message sending rules set based on expert experience. After parsing the baggage check-in message, the check-in information is matched with the preset message sending rule table, for example, by judging whether the airline information, terminal information, and message type in the baggage check-in message match the message sending rules.

[0049] The field content and format of the message sending rule may be as shown in Table 1.

[0050] Table 1

[0051]

[0052] The message in the message sending rule table can be modified through the message sending rule update message. The message sending rule update message can be as follows:

[0053]

[0054] Step S103: when the matching result indicates a successful match, a target message sending rule that matches the baggage check-in message is determined, and a message sending address is extracted from the target message sending rule.

[0055] Specifically, if any message sending rule in the message sending rule table contains the consignment information, it means that the match is successful, and if all message sending rules in the message sending rule table do not contain the consignment information, it means that the match fails. If the match is successful, the matching target message sending rule is determined from the message sending rule table, and the message sending address is extracted from it.

[0056] Step S104, sending the baggage check-in message to the message sending address, and controlling the target terminal corresponding to the message sending address to process the target baggage, wherein the target baggage is the baggage checked in as indicated by the check-in information.

[0057] Specifically, according to the message sending address in the target message sending rule, the baggage check-in message is sent to the target terminal corresponding to the target message sending address, and then the target terminal checks the target baggage according to the baggage check-in message. Records of successful and failed message forwarding are stored in the database.

[0058] The method for processing checked baggage provided in the embodiment of the present application receives and parses the baggage check-in message to obtain the check-in information, wherein the check-in information includes at least one of the following: baggage check-in terminal information and airline information; matches the check-in information with the preset message sending rule table to obtain a matching result, wherein the message sending rule table contains multiple message sending rules, and each message sending rule contains at least one kind of check-in information; when the matching result indicates a successful match, determines the target message sending rule that the baggage check-in message matches, and extracts the message sending address from the target message sending rule; sends the baggage check-in message to the message sending address, and controls the target terminal corresponding to the message sending address to process the target baggage, wherein the target baggage is the baggage indicated to be checked by the check-in information, thereby solving the problem of low efficiency in processing checked baggage in the related art. By configuring the message sending rule table, matching the check-in information in the baggage check-in message with the message sending rule table, obtaining the message sending address, sending the baggage check-in message to the target terminal corresponding to the message sending address, and the target terminal processes the target baggage, thereby achieving the effect of improving the efficiency of processing checked baggage.

[0059] The matching result is determined by whether there is checked-in information in the message sending rule. Optionally, in the checked-in baggage processing method provided in the embodiment of the present application, the checked-in information is matched with a preset message sending rule table to obtain the matching result including: for each message sending rule in the message sending rule table, judging whether the message sending rule contains the checked-in information, and judging whether the message type of the baggage checked-in message is the target message type set in the message sending rule; when all message sending rules in the message sending rule table do not contain the checked-in information, or the target message type set in all the message sending rules is different from the message type of the baggage checked-in message, the matching result is determined to be a matching failure; when any message sending rule in the message sending rule table contains the checked-in information, and the target message type set in the message sending rule containing the checked-in information is the same as the message type of the baggage checked-in message, the matching result is determined to be a matching success.

[0060] Specifically, the message sending rule table sets multiple message sending rules for different airlines, different airports and different message processing systems. For the received baggage check-in message, after the check-in information is extracted, it is matched one by one with the message sending rules in the message sending rule table. If there is any message sending rule containing the check-in information and the target message type is the same as the message type of the baggage check-in message, it is determined that the match is successful. If there is no message sending rule containing the check-in information in the message sending rule table, it is determined that the match fails.

[0061] This embodiment obtains the sending address of the baggage check-in message by matching the check-in information with the preset message sending rule table. By configuring the message sending rules supporting different systems, the defects of the BSM message capability of the host departure system are filled, and the overall processing efficiency of the open departure system for baggage messages is improved.

[0062] Whether the message is sent successfully is determined by judging whether the baggage check-in message is received within a preset time period. Optionally, in the checked baggage processing method provided in the embodiment of the present application, after sending the baggage check-in message to the message sending address, the method further includes: judging whether the target airport has received the baggage check-in message; if the baggage check-in message is received, executing the step of controlling the target airport corresponding to the message sending address to process the target baggage; if the baggage check-in message is not received within the preset time period, issuing a first prompt message and updating the target message sending rule in the message sending rule table, wherein the first prompt message is used to prompt that the message reception fails.

[0063] Specifically, the target terminal needs to process the target baggage through the baggage check-in message, but there are other special circumstances such as network instability that cause the target terminal to be unable to receive the baggage check-in message. Therefore, a preset time is set as the reception time of the baggage check-in message. If the target terminal does not receive the message within the preset time after sending the baggage check-in message to the message sending address, the first prompt information is used to prompt that the message reception fails. At this time, the target message sending rule needs to be updated.

[0064] This embodiment promptly prompts that the message reception has failed after the target terminal fails to receive the baggage check-in message, and updates the message sending rules, thereby ensuring the accuracy of the message sending address and avoiding affecting the efficiency of the terminal in handling baggage.

[0065] The message sending rule table can be updated in real time through a message sending rule update message. Optionally, in the checked baggage processing method provided in an embodiment of the present application, the method further includes: receiving a message sending rule update message, and parsing the message sending rule update message, wherein the message sending rule update message includes at least one of the following: adding a rule message, deleting a rule message, modifying a rule message, and querying a rule message; judging whether there is an abnormality in the parsing process of the message sending rule update message; in the case of an abnormality in the parsing process, issuing a second prompt message, and in the case of no abnormality in the parsing process, verifying the parameters in the message sending rule update message, wherein the second prompt message is used to prompt that the rule update fails; in the case of failure to pass the parameter verification, issuing a second prompt message, and in the case of passing the parameter verification, judging whether there is a conflict between the rule to be updated and the existing message sending rule; in the case of a conflict between the rule to be updated and the existing message sending rule, issuing a second prompt message, and in the case of no conflict between the rule to be updated and the existing message sending rule, updating the message sending rule table based on the rule to be updated.

[0066] Specifically, the message sending rules can be updated at any time through the message sending rule update message, and the update method may include adding rules, deleting rules, modifying rules, and querying rules, etc. For example, Figure 2 is a flow chart of adding message sending rules according to an embodiment of the present application, such as Figure 2 As shown, a message for adding rules is received. The received message is parsed. If a parsing exception occurs, the second prompt message indicating failure to add rules is returned. If no exception occurs, the legality of each parameter in the message is checked. If an illegal field occurs, the second prompt message is returned. If no exception occurs, the rules of the message content are compared with the existing rules in the database. There should be no overlap with the existing rules. If there is, it is considered that the inserted rule conflicts with the existing rule, and the second prompt message is returned. If no exception occurs, the rule is inserted into the database. If an insertion exception occurs, the second prompt message is returned. If no exception occurs, a prompt message indicating successful rule addition is returned.

[0067] Figure 3 is a flowchart of deleting message sending rules provided in an embodiment of the present application, such as Figure 3 As shown, a message for deleting rules is received. The received message is parsed. If a parsing exception occurs, the second prompt message is returned. If no exception occurs, the legality of each parameter in the message is checked. If an illegal field occurs, the second prompt message is returned. If no exception occurs, the rule is deleted from the database according to the unique primary key in the message. If a deletion exception occurs, the second prompt message is returned. If no exception occurs, a prompt message indicating that the rule is successfully deleted is returned.

[0068] Figure 4 is a flowchart of modifying message sending rules provided in an embodiment of the present application, such as Figure 4 As shown, a message for modifying rules is received. The received message is parsed. If a parsing exception occurs, the second prompt message is returned. If no exception occurs, the legality of each parameter in the message is checked. If an illegal field occurs, the second prompt message is returned. If no exception occurs, the rules of the message content are compared with the existing rules in the database. There should be no overlap with the existing rules. If there is, it is considered that the modified rules conflict with the existing rules, and the second prompt message is returned. If no exception occurs, the rules are updated to the database. If an update exception occurs, the second prompt message is returned. If no exception occurs, a prompt message indicating that the rule modification is successful is returned.

[0069] Figure 5 is a flow chart of a query message sending rule provided in an embodiment of the present application, such as Figure 5 As shown, a query rule message is received. The received message is parsed. If a parsing exception occurs, the second prompt information is returned. If no exception occurs, the legality of each parameter in the message is checked. If an illegal field occurs, the second prompt information is returned. If no exception occurs, the database is queried according to the message conditions. If a query exception occurs, the second prompt information is returned. If no exception occurs, the queried rule list is returned.

[0070] This embodiment updates the message sending rules so that users can configure and manage the message sending rules according to flight dimensions, airline dimensions, and passenger type dimensions according to their own business needs, thereby improving the flexibility of baggage check-in message sending.

[0071] After determining the target message sending rule, the baggage check-in message is updated according to the target message sending rule. Optionally, in the checked baggage processing method provided in the embodiment of the present application, before sending the baggage check-in message to the message sending address, the method also includes: determining whether the data format in the baggage check-in message is the target format; if the data format in the baggage check-in message is the target format, executing the step of sending the baggage check-in message to the message sending address; if the data format in the baggage check-in message is not the target format, updating the data in the baggage check-in message that is not in the target format to obtain an updated baggage check-in message, and executing the step of sending the baggage check-in message to the message sending address based on the updated baggage check-in message.

[0072] Specifically, different airlines and different airports may have different message receiving systems, and therefore the corresponding message sending rules are different. After determining the target message sending rules, the baggage check-in message is adjusted according to the target message sending rules. For example, the format of the data items in the baggage check-in message is adjusted to determine whether there are data items in the message that do not meet the standards, that is, to determine whether the data format in the baggage check-in message is the target format. If so, the non-standard data items are corrected and adjusted first, and then the step of sending the baggage check-in message to the message sending address is executed based on the updated baggage check-in message; if not, the step of sending the baggage check-in message to the message sending address is directly executed.

[0073] For example, the first data item in item .D in the baggage check-in message is the baggage location identifier. According to the target format, the data field format is 3 letters. The system will determine whether the format of this data item is 3 letters. If not, it will be modified to CKIN and the letter L will be added after the check-in time. If it is, no processing is required.

[0074] The message after processing can be:

[0075] BSM

[0076] 18JUL18 074059148

[0077] .V / 1LTGO

[0078] .F / CA1124 / 30JAN / PEK / Y

[0079] .N / 3999935202002

[0080] .D / CKIN / / 29JAN / 0911L / / PEK30113

[0081] .S / Y / 23A / C / 001 / / Y

[0082] .W / K / 2 / 20

[0083] .P / 1CHENQING

[0084] .L / MFW1QX

[0085] .T / 1016

[0086] ENDBSM

[0087] This embodiment uses a system automatic processing method to perform standardized verification and correction on the BSM message of the host departure system according to the target message sending rule, thereby ensuring the standardization and availability of the BSM message sent by the departure system to the external system.

[0088] After adjusting the data format of the baggage check-in message, it may also be necessary to convert the message type of the baggage check-in message. Optionally, in the checked baggage processing method provided in the embodiment of the present application, before sending the baggage check-in message to the message sending address, the method also includes: determining whether the message type of the baggage check-in message needs to be converted; if the message type of the baggage check-in message needs to be converted, converting the message type of the baggage check-in message to a target message type supported by the target terminal; if the message type of the baggage check-in message does not need to be converted, executing the step of sending the baggage check-in message to the message sending address.

[0089] Specifically, whether the message type of the baggage check-in message needs to be converted is determined by the message types that the target terminal specified in the target message sending rule can receive. If necessary, the message type is first converted, and then the converted baggage check-in message of the target message type is sent to the message sending address; if no conversion is required, the baggage check-in message is directly sent to the message sending address.

[0090] For example: the message type of the baggage check-in message needs to be converted to a termination message. Convert the .F item to the .I item, and swap the terminal in the .L item with the terminal in the .F item; the .L item becomes the .X item; and the .F item becomes the .I item. If there is an .O item in the message, a termination message cannot be generated.

[0091] The converted message can be:

[0092] 18JUL18 074059148

[0093] .V / 1XPEK

[0094] .I / CA1124 / 30JAN / TGO / Y

[0095] .N / 3999935202002

[0096] .D / CKIN / / 29JAN / 0911L / / PEK30113

[0097] .S / Y / 23A / C / 001 / / Y

[0098] .W / K / 2 / 20

[0099] .P / 1CHENQING

[0100] .L / MFW1QX

[0101] .T / 1016

[0102] ENDBSM

[0103] This embodiment implements a standardized verification and correction mechanism for the BSM message of the host departure system by means of automatic system processing, thereby ensuring the standardization and availability of the BSM message sent by the departure system to the external system.

[0104] Optionally, in the checked baggage processing method provided in an embodiment of the present application, determining whether the message type of the baggage check-in message needs to be converted includes: obtaining multiple target types of messages supported by the target terminal to obtain a message type set; determining the message type of the baggage check-in message, and determining whether the message type belongs to the message type set; if the message type belongs to the message type set, determining that the message type of the baggage check-in message does not need to be converted; if the message type does not belong to the message type set, determining that the message type of the baggage check-in message needs to be converted.

[0105] Specifically, as to whether the baggage check-in message needs to be converted into a message type, it is necessary to obtain the target type supported by the target terminal through the target message sending rule, and then determine whether the message type of the baggage check-in message belongs to the message type set to determine whether the message type needs to be converted. This embodiment timely adjusts the message type by determining whether the message type of the baggage check-in message needs to be converted, thereby ensuring that the baggage check-in message is accurately sent to the target terminal.

[0106] According to another embodiment of the present application, a system for processing checked baggage is also provided. Figure 6 Schematic diagram of a checked baggage processing system provided according to an embodiment of the present application. Figure 6 As shown, the system includes: a message sending rule management component and a message processing component.

[0107] Among them, the message sending rule management component is used to manage the message sending rules, including adding rules, deleting rules, modifying rules, and querying rules. The rules are used to control the dimension, message sending type, and message sending address of baggage message sending. Message sending supports airline dimension and terminal dimension; message sending type supports BSM, BPM (Baggage Processed Message, baggage processing message), XBSM (BSM termination message); message sending address supports seven-character address, Topic address, and email address.

[0108] The message processing component is used to parse the BSM message after receiving it, and match the message sending rules according to the parsed message data. It corrects and adjusts the data item information in the message that does not meet the standards; according to the message sending rules, it converts the message type into the destination message type; and sends the message according to the sending address in the message sending rules.

[0109] This embodiment uses the checked baggage processing system to automatically process the BSM messages of the host departure system, and implements a standardized verification and correction mechanism to ensure the standardization and availability of the BSM messages sent by the departure system to the external system. The support for BSM termination message type and email address fills the gap in the BSM message capability of the host departure system and improves the overall processing capability of the open departure system for baggage messages. The baggage message sending rule management ensures the flexibility of the open departure system in the production application of baggage message sending services.

[0110] According to another embodiment of the present application, a method for sending a baggage check-in message is also provided. Figure 7 Schematic diagram of a method for sending a baggage check-in message according to an embodiment of the present application. Figure 7 As shown, the method includes: receiving a BSM message, parsing the BSM message, matching the BSM message with a baggage message sending rule, directly ending if the match fails, and judging whether the data items in the baggage check-in message meet the standards according to the matched message sending rule if the match succeeds, and correcting and adjusting the data item information if the match does not meet the standards, and judging whether the message type needs to be converted if the conversion is required, and then converting the message type to the target message type, and then sending the message according to the sending address in the baggage message sending rule, and directly sending the message according to the sending address in the baggage message sending rule if the message type does not need to be converted.

[0111] This embodiment ensures the standardization and availability of the BSM message sent by the departure system to the external system through the baggage check-in message sending method. The support of the BSM termination message type and email address fills the defects of the BSM message capability of the host departure system and improves the overall processing capability of the open departure system for baggage messages. The baggage message sending rule management ensures the flexibility of the open departure system in the production application of baggage message sending services.

[0112] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0113] The embodiment of the present application also provides a checked baggage processing device. It should be noted that the checked baggage processing device of the embodiment of the present application can be used to execute the checked baggage processing method provided in the embodiment of the present application. The checked baggage processing device provided in the embodiment of the present application is introduced below.

[0114] Figure 8 Schematic diagram of a checked baggage processing device provided according to an embodiment of the present application. Figure 8As shown, the device comprises:

[0115] The receiving unit 801 is used to receive and parse the baggage check-in message to obtain the check-in information, wherein the check-in information includes at least one of the following: baggage check-in terminal information and airline information;

[0116] A matching unit 802 is used to match the consignment information with a preset message sending rule table to obtain a matching result, wherein the message sending rule table includes multiple message sending rules, and each message sending rule includes at least one consignment information;

[0117] The first determining unit 803 is used to determine the target message sending rule that the baggage check-in message matches when the matching result indicates a successful match, and extract the message sending address from the target message sending rule;

[0118] The sending unit 804 is used to send the baggage check-in message to the message sending address, and control the target terminal corresponding to the message sending address to process the target baggage, wherein the target baggage is the baggage checked in as indicated by the check-in information.

[0119] The checked baggage processing device provided in the embodiment of the present application is configured to receive and parse the baggage check-in message through a receiving unit 801 to obtain the check-in information, wherein the check-in information includes at least one of the following: baggage check-in terminal information and airline information; a matching unit 802 to match the check-in information with a preset message sending rule table to obtain a matching result, wherein the message sending rule table includes multiple message sending rules, and each message sending rule includes at least one kind of check-in information; a first determining unit 803 to determine the target message sending rule that matches the baggage check-in message when the matching result indicates a successful match, and to obtain the matching result from the matching unit 804; The message sending address is extracted from the target message sending rule; the sending unit 804 is used to send the baggage check-in message to the message sending address, and control the target terminal corresponding to the message sending address to process the target baggage, wherein the target baggage is the baggage checked in as indicated by the check-in information, which solves the problem of low efficiency in checked baggage processing in the related art. By configuring the message sending rule table, the check-in information in the baggage check-in message is matched with the message sending rule table, the message sending address is obtained, and the baggage check-in message is sent to the target terminal corresponding to the message sending address, and the target terminal processes the target baggage, thereby achieving the effect of improving the checked baggage processing efficiency.

[0120] Optionally, in the checked baggage processing device provided in the embodiment of the present application, the matching unit 802 includes: a judgment module, used to judge whether the message sending rule contains checked-in information for each message sending rule in the message sending rule table, and judge whether the message type of the baggage checked-in message is the target message type set in the message sending rule; a first determination module, used to determine that the matching result is a matching failure when all message sending rules in the message sending rule table do not contain checked-in information, or the target message type set in all message sending rules is different from the message type of the baggage checked-in message; a second determination module, used to determine that the matching result is a matching success when any message sending rule in the message sending rule table contains checked-in information, and the target message type set in the message sending rule containing the checked-in information is the same as the message type of the baggage checked-in message.

[0121] Optionally, in the checked baggage processing device provided in the embodiment of the present application, the device also includes: a first judgment unit, used to judge whether the target airport has received the baggage check-in message; a first execution unit, used to execute the step of controlling the target airport corresponding to the message sending address to process the target baggage when the baggage check-in message is received; a first prompt unit, used to issue a first prompt message when the baggage check-in message is not received within a preset time period, and update the target message sending rule in the message sending rule table, wherein the first prompt message is used to prompt that the message reception fails.

[0122] Optionally, in the checked baggage processing device provided in the embodiment of the present application, the device also includes: a parsing unit, which is used to receive a message sending rule update message and parse the message sending rule update message, wherein the message sending rule update message includes at least one of the following: an add rule message, a delete rule message, a modify rule message and a query rule message; a second judgment unit, which is used to judge whether there is an abnormality in the parsing process of the message sending rule update message; if there is an abnormality in the parsing process, a second prompt message is issued, and if there is no abnormality in the parsing process, the parameters in the message sending rule update message are verified, wherein the second prompt message is used to prompt that the rule update fails; the second prompt unit is used to issue a second prompt message if the parameter verification fails, and if the parameter verification passes, determine whether there is a conflict between the rule to be updated and the existing message sending rule; the third prompt unit is used to issue a second prompt message if there is a conflict between the rule to be updated and the existing message sending rule, and if there is no conflict between the rule to be updated and the existing message sending rule, update the message sending rule table based on the rule to be updated.

[0123] Optionally, in the checked baggage processing device provided in an embodiment of the present application, the device also includes: a third judgment unit, used to judge whether the data format in the baggage check-in message is a target format; a second execution unit, used to execute the step of sending the baggage check-in message to a message sending address when the data format in the baggage check-in message is the target format; an updating unit, used to update the data in the baggage check-in message that is not in the target format when the data format in the baggage check-in message is not in the target format, obtain an updated baggage check-in message, and execute the step of sending the baggage check-in message to the message sending address based on the updated baggage check-in message.

[0124] Optionally, in the checked baggage processing device provided in the embodiment of the present application, the device also includes: a fourth judgment unit, used to judge whether the message type of the baggage check-in message needs to be converted; a conversion unit, used to convert the message type of the baggage check-in message into a target message type supported by the target terminal when the message type of the baggage check-in message needs to be converted; and a third execution unit, used to execute the step of sending the baggage check-in message to the message sending address when the message type of the baggage check-in message does not need to be converted.

[0125] Optionally, in the checked baggage processing device provided in the embodiment of the present application, the fourth judgment unit includes: an acquisition module, used to acquire multiple target types of messages supported by the target terminal to obtain a message type set; a third determination module, used to determine the message type of the baggage check-in message and determine whether the message type belongs to the message type set; a fourth determination module, used to determine that the message type of the baggage check-in message does not need to be converted when the message type belongs to the message type set; and a fifth determination module, used to determine that the message type of the baggage check-in message needs to be converted when the message type does not belong to the message type set.

[0126] The checked baggage processing device includes a processor and a memory. The above-mentioned receiving unit 801, matching unit 802, first determination unit 803 and sending unit 804 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.

[0127] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the efficiency of checked baggage processing can be improved by adjusting kernel parameters.

[0128] 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.

[0129] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, a method for processing checked baggage is implemented.

[0130] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes a method for processing checked baggage when running.

[0131] Fig. 9 is a schematic diagram of an electronic device provided according to an embodiment of the present application. Fig. 9 As shown, the electronic device 901 includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: receiving and parsing a baggage check-in message to obtain check-in information, wherein the check-in information includes at least one of the following: baggage check-in terminal information and airline information; matching the check-in information with a preset message sending rule table to obtain a matching result, wherein the message sending rule table includes multiple message sending rules, and each message sending rule includes at least one type of check-in information; when the matching result indicates a successful match, determining a target message sending rule that matches the baggage check-in message, and extracting a message sending address from the target message sending rule; sending the baggage check-in message to the message sending address, and controlling the target terminal corresponding to the message sending address to process the target baggage, wherein the target baggage is baggage indicated to be checked in by the check-in information. The device in this article may be a server, a PC, a PAD, a mobile phone, etc.

[0132] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: receiving and parsing a baggage check-in message to obtain check-in information, wherein the check-in information includes at least one of the following: baggage check-in terminal information and airline information; matching the check-in information with a preset message sending rule table to obtain a matching result, wherein the message sending rule table includes multiple message sending rules, and each message sending rule includes at least one type of check-in information; when the matching result indicates a successful match, determining a target message sending rule that matches the baggage check-in message, and extracting a message sending address from the target message sending rule; sending the baggage check-in message to the message sending address, and controlling the target terminal corresponding to the message sending address to process the target baggage, wherein the target baggage is the baggage indicated to be checked in by the check-in information.

[0133] 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.

[0134] 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.

[0135] 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.

[0136] 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. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

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

[0138] 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.

[0139] 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 temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0140] 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.

[0141] 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.

[0142] 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 handling checked baggage, It is characterized in that include: Receive and parse the baggage check-in message to obtain the check-in information, wherein the check-in information includes at least one of the following: baggage check-in terminal information and airline information; Matching the consignment information with a preset message sending rule table to obtain a matching result, wherein the message sending rule table includes a plurality of message sending rules, and each message sending rule includes at least one consignment information; If the matching result indicates a successful match, determining a target message sending rule that matches the baggage check-in message, and extracting a message sending address from the target message sending rule; The baggage check-in message is sent to the message sending address, and the target terminal corresponding to the message sending address is controlled to process the target baggage, wherein the target baggage is the baggage checked in as indicated by the check-in information.

2. The method according to claim 1, It is characterized in that The consignment information is matched with a preset message sending rule table, and the matching results obtained include: For each message sending rule in the message sending rule table, determining whether the message sending rule contains the consignment information, and determining whether the message type of the baggage consignment message is the target message type set in the message sending rule; In the case that all message sending rules in the message sending rule table do not include the consignment information, or the target message type set in all message sending rules is different from the message type of the baggage consignment message, determining that the matching result is a matching failure; When any one of the message sending rules in the message sending rule table contains the check-in information, and the target message type set in the message sending rule containing the check-in information is the same as the message type of the baggage check-in message, the matching result is determined to be a successful match.

3. The method according to claim 1, It is characterized in that After sending the baggage check-in message to the message sending address, the method further includes: Determining whether the target terminal has received the baggage check-in message; When the baggage check-in message is received, the step of controlling the target terminal corresponding to the message sending address to process the target baggage is executed; When the baggage check-in message is not received within a preset time period, a first prompt message is issued, and the target message sending rule in the message sending rule table is updated, wherein the first prompt message is used to prompt that the message reception fails.

4. The method according to claim 1, It is characterized in that The method further comprises: Receiving a message sending rule update message, and parsing the message sending rule update message, wherein the message sending rule update message includes at least one of the following: adding a rule message, deleting a rule message, modifying a rule message, and querying a rule message; Determine whether an abnormality occurs in the parsing process of the message sending rule update message; In the case of an abnormality in the parsing process, a second prompt message is issued, and in the case of no abnormality in the parsing process, the parameters in the message sending rule update message are verified, wherein the second prompt message is used to prompt that the rule update fails; If the parameter check fails, the second prompt information is issued; if the parameter check passes, it is determined whether the rule to be updated conflicts with the existing message sending rule; When the rule to be updated conflicts with the existing message sending rule, the second prompt information is issued; when the rule to be updated does not conflict with the existing message sending rule, the message sending rule table is updated based on the rule to be updated.

5. The method according to claim 1, It is characterized in that Before sending the baggage check-in message to the message sending address, the method further includes: Determining whether the data format in the baggage check-in message is a target format; When the data format in the baggage check-in message is the target format, executing the step of sending the baggage check-in message to a message sending address; When the data format in the baggage check-in message is not in the target format, the data in the baggage check-in message that is not in the target format is updated to obtain an updated baggage check-in message, and based on the updated baggage check-in message, the step of sending the baggage check-in message to the message sending address is executed.

6. The method according to claim 1, It is characterized in that Before sending the baggage check-in message to the message sending address, the method further includes: Determining whether the message type of the baggage check-in message needs to be converted; In the case where the message type of the baggage check-in message needs to be converted, converting the message type of the baggage check-in message into a target message type supported by the target terminal; When the message type of the baggage check-in message does not need to be converted, the step of sending the baggage check-in message to a message sending address is performed.

7. The method according to claim 6, It is characterized in that Determining whether the message type of the baggage check-in message needs to be converted includes: Acquire multiple target types of messages that the target terminal supports receiving, and obtain a message type set; Determining the message type of the baggage check-in message, and judging whether the message type belongs to the message type set; In a case where the message type belongs to the message type set, determining that the message type of the baggage check-in message does not need to be converted; When the message type does not belong to the message type set, it is determined that the message type of the baggage check-in message needs to be converted.

8. A device for handling checked baggage, It is characterized in that include: A receiving unit, configured to receive and parse the baggage check-in message to obtain the check-in information, wherein the check-in information includes at least one of the following: baggage check-in terminal information and airline information; A matching unit, used for matching the consignment information with a preset message sending rule table to obtain a matching result, wherein the message sending rule table includes a plurality of message sending rules, and each message sending rule includes at least one consignment information; A first determining unit, configured to determine a target message sending rule that matches the baggage check-in message, and extract a message sending address from the target message sending rule, if the matching result indicates a successful match; The sending unit is used to send the baggage check-in message to the message sending address, and control the target terminal corresponding to the message sending address to process the target baggage, wherein the target baggage is the baggage checked in as indicated by the check-in information.

9. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the method for handling checked baggage according to any one of claims 1 to 7 is implemented.

10. An electronic device, It is characterized in that The invention comprises one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the checked baggage processing method described in any one of claims 1 to 7.

Citation Information

Cited By

  • Service message transmission method and device, storage medium, program product and processor

    CN119728632A