Method and device for processing airline passenger additional service packet
By processing passenger additional service messages sent by foreign flight booking systems in the civil aviation open passenger booking system, and different processing is carried out according to the action code type, the system has low validity and high probability of work orders when processing passenger additional service messages sent by foreign flight booking systems, and has achieved more accurate order information and more efficient additional service management.
Patent Information
- Application Number
- PCT/CN2024/136143
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-30
- Filing Date
- 2024-12-02
- Publication Date
- 2025-06-05
AI Technical Summary
After booking a segment of a foreign airline, the civil aviation open passenger booking system cannot effectively handle the different action code types in the passenger additional service messages sent by the foreign flight booking system, resulting in errors in the status of additional services in the unified order, reducing the effectiveness of additional services and increasing the probability of problem work orders.
Provide a method for processing an air passenger additional service message. By receiving passenger additional service messages sent by a foreign flight booking system, obtaining corresponding unified orders, and performing different processing according to the action code type in the message: if it is the first type, add additional service information and action code; if it is the second type, retain additional service information and update action code; if it is the third type, update additional service information is invalid and update action code.
By analyzing the action code type and performing targeted processing, the accuracy of additional service information in a unified order is improved, the accuracy of order information is enhanced, thereby reducing the probability of problem work orders and improving the effectiveness of additional services.
Smart Images

Figure CN2024136143_05062025_PF_FP_ABST
Abstract
Description
Method and device for processing aviation passenger additional service message Technical Field
[0001] The present invention belongs to the technical field of message processing, and in particular relates to a method and device for processing an additional service message for an airline passenger. Background Art
[0002] The core data of the Civil Aviation Open Passenger Reservation System (CPR) is a unified Customer Travel Record (CTR) based on open platform storage technology. This CTR records the entire passenger journey, from booking sales, passenger services, to travel delivery. The CPR system is responsible for synchronizing and managing CTR data. Based on this data, it facilitates the booking transaction process, provides airline customers with flight and ancillary service bookings, and offers differentiated booking services to passengers, supporting airlines' booking and retail needs and tracking changes in passenger booking status.
[0003] When the Civil Aviation Open Passenger Reservation System books a flight segment of a foreign airline with a foreign flight reservation system, it will also send additional service information (or special service information of passenger additional service items) to the foreign flight reservation system. When the additional service information of a foreign airline changes, the changes will be transmitted to the Civil Aviation Open Passenger Reservation System in the form of an aviation passenger additional service message, and the Civil Aviation Open Passenger Reservation System will receive and process the message. Additional service information refers to special services provided by the airline, such as meals and special seats. When flight information changes (such as flight time modification, flight cancellation, etc.), the corresponding additional services may change. For example, when a flight is canceled due to extreme weather reasons, the additional services applied for in the unified order for booking the flight will also be canceled accordingly.
[0004] However, the current civil aviation open passenger reservation system is unable to process the different action code types contained in the passenger additional service messages sent by foreign flight reservation systems separately, which may cause errors in the status of additional services in the unified order, thereby reducing the effectiveness of the additional services. At the same time, the unified order becomes a problem work order, which increases the probability of problem work orders appearing. Summary of the Invention
[0005] In view of this, the present invention aims to provide a method and apparatus for processing additional service messages for airline passengers, thereby resolving the current problem in the civil aviation open passenger reservation system, where the availability of additional services ordered by passengers after booking a flight segment with a foreign airline is low, and the probability of problem work orders appearing is high. To address the above issues, this application provides the following technical solutions:
[0006] In a first aspect, the present application provides a method for processing an air passenger additional service message, which is applied to a civil aviation open passenger reservation system, and the method comprises:
[0007] receiving a passenger additional service message sent by a foreign flight reservation system, wherein the passenger additional service message includes a unique order identifier and an action code type;
[0008] Obtain a target unified order containing the unique identifier of the order;
[0009] If the action code type of the passenger additional service message is the first type and the target unified order does not include additional service information, then adding additional service information matching the passenger additional service message and the first type to the target unified order, where the first type indicates that the additional service reservation is successful;
[0010] If the action code type of the passenger additional service message is the second type, retaining the existing additional service information in the target unified order and updating the action code type in the target unified order to the second type, where the second type indicates that the additional service is temporarily rejected;
[0011] If the action code type of the passenger additional service message is the third type, the existing additional service information in the target unified order is updated to invalid, and the action code type in the target unified order is updated to the third type, and the third type indicates that the additional service is formally rejected.
[0012] Compared to existing technologies, the technical solution provided by the present disclosure has the following advantages: After receiving a passenger additional service message, the solution parses the action code type contained in the message and, based on the different action code types, processes the corresponding unified order differently. This enables different processing of unified orders based on the action code type in the message, improving the accuracy of the additional service information in the processed unified order and, consequently, the accuracy of the order information. Specifically, after receiving a passenger additional service message sent by a foreign flight reservation system, the civil aviation open passenger reservation system obtains a target unified order that matches the message. Furthermore, the system parses the message to obtain the action code type. If the action code is of the first type and the target unified order does not contain additional service information, the system adds the corresponding additional service information and the action code of the first type to the target unified order. If the action code in the message is of the second type, the existing additional service information in the order is retained, and the action code in the order is modified to the second type. If the action code in the message is of the third type, the existing additional service information in the order is updated to invalid, and the action code in the order is updated to the third type. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0014] FIG1 is a flowchart of a method for processing an additional service message for an air passenger provided in an embodiment of the present application;
[0015] FIG2 is a flowchart of another method for processing an additional service message for an air passenger provided in an embodiment of the present application;
[0016] FIG3 is a block diagram of a device for processing an additional service message for an airline passenger provided in an embodiment of the present application. DETAILED DESCRIPTION
[0017] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.
[0018] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0019] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0020] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0021] When booking a flight, passengers can request additional services, such as child seats or meals of a certain flavor (e.g., halal). After booking a flight segment with a foreign airline through the Civil Aviation Open Passenger Reservation System, the Civil Aviation Open Passenger Reservation System will also send special service information about the additional services to the foreign flight reservation system. When the foreign airline changes the special service information for the additional services provided to the passenger, it transmits the changes to the Civil Aviation Open Passenger Reservation System via an Air Passenger Additional Services message. However, the Civil Aviation Open Passenger Reservation System cannot perform different processing procedures based on the different action code types in the Air Passenger Additional Services message, resulting in low effectiveness of the additional services for the same order.
[0022] To address the aforementioned issues, this application provides a method for processing airline passenger additional service messages. This method receives passenger additional service messages sent by international flight reservation systems and retrieves the corresponding unified order based on the unique order identifier in the passenger additional service message. The method then parses the action code type in the passenger additional service message and performs different processing procedures based on the type. The following details the different processing procedures corresponding to different action code types, with reference to the accompanying figures.
[0023] Please refer to FIG1 , which shows a flow chart of a method for processing an air passenger additional service message provided in an embodiment of the present application. The method is applied to a civil aviation open passenger reservation system. As shown in FIG1 , the method may include the following steps:
[0024] S101, receiving a passenger additional service message sent by a foreign flight reservation system.
[0025] Exemplarily, the passenger additional service message includes at least an order unique identifier and an action code type. The order unique identifier is used to uniquely identify a unified order in the civil aviation open passenger reservation system, that is, one order unique identifier corresponds to a unique unified order.
[0026] When the international flight reservation system changes the passenger additional services for a flight order, for example, if the passenger's flight is canceled due to extreme weather conditions, or the flight's departure time is changed and combined with another flight, resulting in a change in the passenger additional services corresponding to the flight order, such as the passenger's requested child seat being unavailable, the international flight reservation system will send a passenger additional service message to the Civil Aviation Open Passenger Reservation System. This message contains the passenger additional service change information.
[0027] In an exemplary embodiment, the change information of the passenger additional service may be represented by an action code type.
[0028] For example, when a foreign flight reservation system receives a passenger additional service request from the civil aviation open passenger reservation system and determines that the request can be fulfilled, the action code type in the passenger additional service message returned to the civil aviation open passenger reservation system is type 1, indicating that the additional service reservation is successful. For example, type 1 can be manual reservation (KK) or automatic reservation (HK).
[0029] For example, if a foreign flight reservation system returns a passenger additional service message containing a first-type action code, and the passenger's additional service request is temporarily unavailable due to a change in flight information, the foreign flight reservation system returns a message with a second-type action code to the civil aviation open passenger reservation system. The second-type action code indicates that the passenger's additional service request has been temporarily denied. A temporary denial means that the passenger's additional service request is currently unavailable. However, if other passengers who requested the same additional service subsequently cancel their request or their flight information changes, the passenger's additional service request may become available. For example, the second-type action code could be a "Cancelled Standby" (UC).
[0030] For example, if a passenger's requested additional services cannot be met due to a flight change (e.g., flight cancellation), the action code type in the message returned by the foreign flight reservation system to the civil aviation passenger reservation system is Type 3, which indicates that the passenger's additional services have been formally denied. For example, Type 3 could be Seat Cancellation (HX).
[0031] In an exemplary embodiment, the first type, the second type and the third type may be represented by characters, numbers, etc. For example, "01" represents the first type, "02" represents the second type, and "03" represents the third type.
[0032] S102: Obtain a target unified order including a unique order identifier.
[0033] The civil aviation open passenger reservation system searches the database for a unified order with the same identifier according to the unique identifier of the order in the passenger additional service message, that is, the target unified order.
[0034] S103, determining the action code type contained in the passenger additional service message; if the action code type is the first type, executing S104; if it is the second type, executing S105; if it is the third type, executing S106.
[0035] After receiving the passenger additional service message, the Civil Aviation Open Passenger Reservation System parses the message to obtain the action code type and performs different processing according to the different action code types.
[0036] The embodiment of the present application does not limit the execution order of S102 and S103. For example, they can be executed in parallel, or S102 can be executed first and then S103, or S103 can be executed first and then S102.
[0037] S104: When the target unified order does not include the additional service information, add the additional service information that matches the passenger additional service message to the target unified order, and add the first type.
[0038] If the action code type in the passenger additional service message is determined to be type 1, this indicates that the passenger's additional service reservation was successful. If the target unified order does not contain the corresponding additional service information, it needs to be updated synchronously to the target unified order. Specifically, the corresponding additional service information and type 1 action code must be added to the target unified order.
[0039] In an exemplary embodiment, the additional service information includes general content and specific content. Different action code-specific content is set for different action code types. For example, the specific content corresponding to the first type of action code may be manual reservation (KK) or automatic reservation (HK), the specific content corresponding to the second type of action code may be unacceptable waitlist (UC), and the specific content corresponding to the third type of action code may be seat cancellation (HX).
[0040] Common content may include the active special service item (SSR) type, airline, number of passengers associated with the additional service, whether it is an automatic type, associated flight departure city, associated flight destination city, associated flight number, associated flight suffix, associated flight class, associated flight date, free text, creation sequence number, whether it is an inactive element, whether it is a public item, and the sequence number in the order.
[0041] In an exemplary embodiment, each item contained in the additional service information is represented by a field, and the meaning and content of each field can be set according to actual needs. For example, the first field in the additional service information represents the SSR type, and different SSR types can be represented by numbers.
[0042] Among them, the activity special service item type (SSR type) may include seats, meals, etc. Exemplarily, characters, numbers, etc. may be used to represent the SSR type.
[0043] Whether it is automatic type, indicates whether the unified order is processed automatically or manually. The order data structures corresponding to automatic processing and manual processing are different.
[0044] The creation sequence number indicates the creation order of the additional service information in the unified order. For example, it can be represented by a number. For example, "01" indicates the first creation of the additional service information in the unified order, "02" indicates the second creation of the additional service information in the unified order, and so on. "n" indicates the nth creation of the additional service information.
[0045] Whether it is an inactive element. This field indicates whether the additional service is valid. For example, the value of this field can be "0" or "1". If it is "0", it means that the field is an active element, that is, the additional service in the order is valid. If it is "1", it means that the field is an inactive element, that is, the additional service in the order is invalid.
[0046] S105: retain the existing additional service information in the target unified order, and update the action code type in the target unified order to the second type.
[0047] Typically, the prerequisite for an international flight reservation system to send a passenger additional service message containing a second-type action code to the civil aviation open passenger reservation system is that it has already sent a passenger additional service message containing a first-type action code to the civil aviation open passenger reservation system. Based on this premise, the target unified order that matches the unique order identifier contained in the passenger additional service message is a unified order processed based on the passenger additional service message containing the first-type action code, that is, the order contains additional service information and the action code in the order is of the first type.
[0048] After receiving the passenger additional service message including the second type of action code, the civil aviation open passenger reservation system retains the additional service information in the target unified order and changes the type of the action code in the target unified order to the second type.
[0049] In addition, the creation sequence number in the target unified order is updated to the current latest value. Based on the creation sequence number of the order, it can be determined whether the additional service information in the order is the latest modified information.
[0050] When the action code type in the target unified order is the second type, the sales system connected to the civil aviation open passenger reservation system will identify that the action code type in the unified order is the second type, and will send a corresponding notification to the passenger to inform the passenger that the additional service requested by the passenger cannot be met temporarily.
[0051] S106: Update the existing additional service information in the target unified order to invalid, and update the action code type in the target unified order to the third type.
[0052] Similar to the case where the action code type is the second type, if the action code type included in the passenger additional service message is the third type, the prerequisite for the foreign flight reservation system to send the passenger additional service message containing the third type action code to the civil aviation open passenger reservation system is that the passenger additional service message containing the first type action code has already been sent.
[0053] In one exemplary embodiment, upon receiving a passenger additional service message containing a third-type action code, the Civil Aviation Open Passenger Reservation System modifies the "Is it an inactive element" field in the target unified order to an inactive element, for example, from "0" to "1," indicating that the additional service information in the order is invalid. Simultaneously, the action code type in the target unified order is updated to the third type.
[0054] In addition, the creation sequence number in the target unified order is updated to the current latest value. Based on the creation sequence number of the order, it can be determined whether the additional service information in the order is the latest modified information.
[0055] When the action code type in the target unified order is the third type, the sales system connected to the civil aviation open passenger reservation system will recognize that the action code type in the unified order is the third type and the "Is it an inactive element" field is an inactive element. It will then send a corresponding notification to the passenger, informing the passenger that the additional service requested cannot be met.
[0056] This embodiment provides an aviation service message processing method. After receiving a passenger additional service message from a foreign flight reservation system, the civil aviation open passenger reservation system obtains a target unified order that matches the message. Furthermore, the method parses the message to obtain the action code type contained in the message. If the action code is of the first type and the target unified order does not contain additional service information, the corresponding additional service information and the action code of the first type are added to the target unified order. If the action code in the message is of the second type, the existing additional service information in the order is retained and the action code in the order is modified to the second type. If the action code in the message is of the third type, the existing additional service information in the order is updated to invalid and the action code in the order is updated to the third type. As can be seen from the above, after receiving a passenger additional service message, this solution parses the action code type contained in the message and, based on the different action code types, processes the unified order corresponding to the message differently. This achieves differentiated processing of unified orders based on the action code type in the message, improving the accuracy of the additional service information in the processed unified order and, consequently, the accuracy of the order information.
[0057] Please refer to Figure 2, which shows a flow chart of another method for processing aviation service messages provided by an embodiment of the present application. The method is applied to the civil aviation open passenger reservation system. As shown in Figure 2, the method may include the following steps:
[0058] S201, receiving a passenger additional service message sent by a foreign flight reservation system.
[0059] S202: Obtain a target unified order including a unique order identifier.
[0060] S203, determining the action code type contained in the passenger additional service message; if the action code type is the first type, executing S204; if it is the second type, executing S207; if it is the third type, executing S209.
[0061] The implementation process of S201 to S203 in this embodiment is the same as S101 to S103 in the embodiment shown in FIG1 , and will not be repeated here.
[0062] S204, determining whether the target unified order contains additional service information that matches the passenger's additional service message; if not, executing S205; if yes, executing S206.
[0063] In an exemplary embodiment, S204 may include the following steps:
[0064] 1) Extract the additional service type (SSR type), flight information and action code type from the passenger additional service message.
[0065] For example, the flight information may include flight number, departure city, destination city, flight date, and other information.
[0066] 2) Determine whether the target unified order includes additional service type, flight information, and action code type.
[0067] Determine whether the target unified order includes information that is consistent with the additional service type, flight information, and action code type in the passenger additional service message.
[0068] 3) If the target unified order includes additional service type, flight information, and action code type, it is determined that the target unified order includes additional service information that matches the passenger additional service message.
[0069] 4) If the target unified order does not include at least one of the additional service type, flight information, and action code type, it is determined that the target unified order does not include additional service information matching the passenger additional service message.
[0070] For example, the target unified order includes the same flight information as the passenger additional service message, but does not include the additional service type and action code type, so it is determined that the target unified order does not include additional service information matching the passenger additional service message.
[0071] S205: Add additional service information and a first type of action code to the target unified order based on the additional service items in the passenger additional service message.
[0072] When it is determined that the target unified order does not include additional service information matching the passenger additional service message, the additional service information is added to the target unified order, and an action code of the first type is added.
[0073] For the contents of the additional service information, please refer to the relevant introduction in S104 and will not be repeated here.
[0074] S206: Determine whether additional service information matching the first type already exists in the target unified order.
[0075] When it is determined that the target unified order includes additional service information that matches the passenger additional service message, it is determined that the order already has additional service information that matches the first type.
[0076] For example, to ensure that the Civil Aviation Open Passenger Reservation System receives the Passenger Additional Service Message carrying the first type of action code, the foreign flight reservation system repeatedly sends the Passenger Additional Service Message carrying the first type of action code to the Civil Aviation Open Passenger Reservation System after initially returning the Passenger Additional Service Message to the Civil Aviation Open Passenger Reservation System. In this scenario, it is possible that additional service information matching the Passenger Additional Service Message already exists in the target unified order. In this case, no further processing is required on the target unified order.
[0077] S207, judging whether the target unified order contains additional service information, if so, executing S208. If not, no processing is performed, that is, when the target unified order does not contain additional service information, no processing is performed.
[0078] If the action code carried by the passenger additional service message is the second type, such as not accepting standby (UC), then continue to determine whether the unified order matching the message contains the corresponding additional service information, that is, determine whether the unified order contains the SSR type and flight information contained in the passenger additional service message.
[0079] In an exemplary embodiment, S207 may include the following steps:
[0080] 1) Extract the additional service type (SSR type) and flight information from the passenger additional service message.
[0081] 2) If the target unified order includes additional service types and flight information, it is determined that the target unified order includes the additional service information.
[0082] If the unified order corresponding to the passenger additional service message includes the SSR type and flight information included in the passenger additional service message, it is determined that the target unified order includes the additional service information.
[0083] S208, if the target unified order contains additional service information and the action code type in the target unified order is the first type, retain the additional service information in the target unified order, update the action code type in the target unified order to the second type, and update the creation sequence number in the target unified order.
[0084] In the case where the passenger additional service message includes the second type of action code, if the target unified order contains additional service information and the action code in the order is of the first type, in this case, the additional service information in the target unified order is retained and not deleted, and at the same time, the action code type in the target unified order is updated to the second type.
[0085] Since the action code in the target unified order has been modified, the creation sequence number needs to be updated to the latest value. For example, the original value of the creation sequence number is "01", and it is modified to "02".
[0086] S209, determining whether the target unified order contains additional service information, if so, executing S210; if not, doing nothing, in other words, if the target unified order does not contain additional service information, doing nothing.
[0087] When the passenger additional service message includes the third type of action code, it is further determined whether the unified order corresponding to the passenger additional service message includes additional service information. The determination process is the same as S207 and will not be repeated here.
[0088] S210, if the target unified order contains additional service information and the action code type is the first type, the status of the existing additional service information in the target unified order is updated to invalid, and the action code type in the target unified order is updated to the third type, and the creation sequence number in the target unified order is updated to the current latest value.
[0089] If the passenger additional service message contains a third-type action code, and the target unified order contains additional service information and the action code is of the third type, in one exemplary embodiment, the "Is it an inactive element" field in the order is set to "yes," for example, the value of "Is it an inactive element" is set to "1," indicating that the additional service information in the current order has expired. Simultaneously, the creation sequence number of the order is updated to the third type.
[0090] In addition, since the additional service information in the order has been modified, the "Creation Sequence Number" needs to be updated to the latest value. For example, if the original value of the "Creation Sequence Number" is "02", it will be updated to "03".
[0091] The method for processing airline passenger additional service messages provided in this embodiment includes the following steps: upon receiving a passenger additional service message containing a first-type action code, if it is determined that the unified order corresponding to the message does not contain additional service information, the corresponding additional service information is added to the order. If the unified order contains the corresponding additional service information, the unified order does not need to be processed. Upon receiving a passenger additional service message containing a second-type action code, if the unified order corresponding to the message contains additional service information and the action code is of the first type, the action code in the unified order is modified to the second type, while the additional service information in the order remains unchanged. Upon receiving a passenger additional service message containing a third-type action code, if the unified order corresponding to the message contains additional service information and the action code is of the first type, the "Is Inactive Element" field in the unified order is updated to "Yes" and the action type in the order is modified to the third type. Furthermore, if the passenger additional service message contains either the second or third-type action code, the creation sequence number in the order is updated to the current latest value, allowing the system to determine whether the additional service information in the current order is the latest.
[0092] Corresponding to the above-mentioned embodiment of the method for processing an additional service message for an airline passenger, the embodiment of the present application further provides an embodiment of an apparatus for processing an additional service message for an airline passenger.
[0093] Please refer to Figure 3, which shows a structural block diagram of an apparatus for processing an additional service message for an airline passenger provided in an embodiment of the present application. As shown in Figure 3, the apparatus may include:
[0094] The message receiving module 101 is used to receive a passenger additional service message sent by an overseas flight reservation system. The passenger additional service message includes an order unique identifier and an action code type.
[0095] The order acquisition module 102 is used to acquire a target unified order including a unique order identifier.
[0096] The first processing module 103 is configured to add additional service information matching the passenger additional service message and the first type to the target unified order when the action code type of the passenger additional service message is the first type, wherein the first type indicates that the additional service reservation is successful.
[0097] In an exemplary embodiment, the first processing module includes the following submodules:
[0098] The first judgment submodule is configured to judge whether the target unified order contains additional service information matching the passenger additional service message when the action code type of the passenger additional service message is the first type.
[0099] In an exemplary embodiment, the first judgment submodule is specifically used to: extract the additional service type, flight information and action code type in the passenger additional service message; determine whether the target unified order includes the additional service type, flight information and action code type; if the target unified order includes the additional service type, flight information and action code type, determine that the target unified order contains additional service information that matches the passenger additional service message; if the target unified order does not include at least one of the additional service type, flight information and action code type, determine that the target unified order does not contain additional service information that matches the passenger additional service message.
[0100] The first processing submodule is configured to add additional service information to the target unified order based on the additional service items in the passenger additional service message when the target unified order does not include additional service information matching the passenger additional service message.
[0101] The determination submodule is configured to determine that additional service information matching the first type already exists in the target unified order when the target unified order includes additional service information matching the passenger additional service message.
[0102] The second processing module 104 is configured to retain the existing additional service information in the target unified order and update the action code type in the target unified order to the second type when the action code type of the passenger additional service message is the second type, wherein the second type indicates that the additional service is temporarily rejected.
[0103] In an exemplary embodiment, the second processing module 104 includes the following submodules:
[0104] The second judgment submodule is configured to judge whether the target unified order contains additional service information when the action code type of the passenger additional service message is the second type.
[0105] The second processing sub-module is used to retain the additional service information in the target unified order, update the action code type in the target unified order to the second type, and update the creation sequence number in the target unified order to the current latest value when the target unified order contains additional service information and the action code type in the target unified order is the first type.
[0106] The third processing module 105 is configured to update the existing additional service information in the target unified order to invalid when the action code type of the passenger additional service message is the third type, and to update the action code type in the target unified order to the third type, where the third type indicates that the additional service is formally rejected.
[0107] In an exemplary embodiment, the third processing module includes the following submodules:
[0108] The third judgment submodule is configured to judge whether the target unified order contains additional service information when the action code type of the passenger additional service message is the third type.
[0109] The third processing sub-module is used to update the status of the existing additional service information in the target unified order to invalid, update the action code type in the target unified order to the third type, and update the creation sequence number in the target unified order to the current latest value when the target unified order contains additional service information and the action code type is the first type.
[0110] In an exemplary embodiment, the second judgment submodule and the third judgment submodule are specifically used to: extract the additional service type and flight information in the passenger additional service message; if the target unified order contains the additional service type and flight information, determine that the target unified order contains additional service information.
[0111] As can be seen from the above content, the apparatus for processing aviation passenger additional service messages provided in the embodiment of the present application, after receiving a passenger additional service message, parses the action code type contained in the message, and performs different processing methods on the unified order corresponding to the message according to different action code types, thereby realizing different processing of the unified order according to the action code type in the message, improving the accuracy of the additional service information in the processed unified order, and thereby improving the accuracy of the order information.
[0112] The present application provides a device for processing an additional service message for an airline passenger, the device comprising a processor and a memory, wherein the memory stores a program that can be run on the processor. When the processor runs the program stored in the memory, the above-mentioned method for processing an additional service message for an airline passenger is implemented. For example, the device may be a server, a server cluster, etc.
[0113] The present application also provides a storage medium executable by a computing device, wherein the storage medium stores a program, and when the program is executed by the computing device, the program implements the above-mentioned method for processing the aviation passenger additional service message.
[0114] For simplicity of description, the aforementioned method embodiments are described as a series of actions. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, as certain steps can be performed in other orders or simultaneously according to the present invention. Furthermore, those skilled in the art should also be aware that the embodiments described in this specification are preferred embodiments, and the actions and modules involved are not necessarily required for the present invention.
[0115] It should be noted that the technical features described in the various embodiments in this specification may be substituted for or combined with each other. Each embodiment focuses on the differences from other embodiments, and reference can be made to the common and similar parts between the various embodiments. For device embodiments, since they are basically similar to method embodiments, their description is relatively simple, and relevant parts can be referred to the partial description of the method embodiments.
[0116] The steps in the methods of the various embodiments of the present application can be adjusted in sequence, combined, and deleted according to actual needs.
[0117] The modules and sub-modules in the devices and terminals in the various embodiments of the present application can be merged, divided, and deleted according to actual needs.
[0118] In the several embodiments provided in this application, it should be understood that the disclosed terminals, devices, and methods can be implemented in other ways. For example, the terminal embodiments described above are merely illustrative. For example, the division of modules or submodules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or module, which can be electrical, mechanical or other forms.
[0119] The modules or submodules described as separate components may or may not be physically separate, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place or distributed across multiple network modules or submodules. Some or all of the modules or submodules may be selected to achieve the purpose of this embodiment according to actual needs.
[0120] In addition, each functional module or submodule in each embodiment of the present application may be integrated into a processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into a single module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or software functional modules or submodules.
[0121] The terms "comprises," "comprising," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0122] The above description of the disclosed embodiments will enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein, but is to be construed in the widest manner consistent with the principles and novel features disclosed herein.
[0123] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. A method for processing an additional service message for an airline passenger, characterized in that: Applied to the civil aviation open passenger reservation system, the method comprises: receiving a passenger additional service message sent by a foreign flight reservation system, wherein the passenger additional service message includes an order unique identifier and an action code type; Obtain a target unified order containing the unique identifier of the order; If the action code type of the passenger additional service message is the first type and the target unified order does not contain additional service information, then adding additional service information matching the passenger additional service message and the first type to the target unified order, wherein the first type indicates that the additional service reservation is successful; If the action code type of the passenger additional service message is the second type, retaining the existing additional service information in the target unified order, and updating the action code type in the target unified order to the second type, wherein the second type indicates that the additional service is temporarily rejected; If the action code type of the passenger additional service message is the third type, the existing additional service information in the target unified order is updated to invalid, and the action code type in the target unified order is updated to the third type, and the third type indicates that the additional service is formally rejected.
2. The method according to claim 1, characterized in that If the action code type of the passenger additional service message is the first type, adding additional service information matching the passenger additional service message and the first type to the target unified order includes: If the action code type of the passenger additional service message is the first type, determining whether the target unified order contains additional service information matching the passenger additional service message; If the target unified order does not include additional service information matching the passenger additional service message, adding the additional service information and the first type to the target unified order based on the additional service items in the passenger additional service message; If the target unified order includes additional service information that matches the passenger additional service message, it is determined that additional service information that matches the first type already exists in the target unified order.
3. The method according to claim 2, characterized in that The determining whether the target unified order contains additional service information matching the passenger additional service message includes: Extracting the additional service type, flight information and action code type from the passenger additional service message; Determining whether the target unified order includes the additional service type, flight information, and action code type; If the target unified order includes the additional service type, flight information, and action code type, determining that the target unified order includes additional service information matching the passenger additional service message; If the target unified order does not include at least one of the additional service type, flight information and action code type, it is determined that the target unified order does not include additional service information matching the passenger additional service message.
4. The method according to claim 1, characterized in that: If the action code type of the passenger additional service message is the second type, retaining the existing additional service information in the target unified order, and updating the action code type in the target unified order to the second type, including: If the action code type of the passenger additional service message is the second type, determining whether the target unified order includes additional service information; If the target unified order contains the additional service information and the action code type in the target unified order is the first type, the additional service information in the target unified order is retained, the action code type in the target unified order is updated to the second type, and the creation sequence number in the target unified order is updated to the current latest value.
5. The method according to claim 1, characterized in that If the action code type of the passenger additional service message is the third type, updating the existing additional service information in the target unified order to be invalid, and updating the action code type in the target unified order to the third type, including: If the action code type of the passenger additional service message is the third type, determining whether the target unified order includes additional service information; If the target unified order contains the additional service information and the action code type is the first type, the status of the existing additional service information in the target unified order is updated to invalid, the action code type in the target unified order is updated to the third type, and the creation sequence number in the target unified order is updated to the current latest value.
6. The method according to claim 4 or 5, characterized in that: The determining whether the target unified order contains additional service information includes: Extracting the additional service type and flight information from the passenger additional service message; If the target unified order includes the additional service type and flight information, it is determined that the target unified order includes the additional service information.
7. A device for processing an additional service message for an airline passenger, characterized in that: include: A message receiving module, used to receive a passenger additional service message sent by a foreign flight reservation system, wherein the passenger additional service message includes an order unique identifier and an action code type; An order acquisition module is used to acquire a target unified order including the unique identifier of the order; A first processing module is configured to add additional service information matching the passenger additional service message and the first type to the target unified order when the action code type of the passenger additional service message is a first type, wherein the first type indicates that the additional service reservation is successful; A second processing module is configured to, when the action code type of the passenger additional service message is the second type, retain the existing additional service information in the target unified order, and update the action code type in the target unified order to the second type, wherein the second type indicates that the additional service is temporarily rejected; The third processing module is used to update the existing additional service information in the target unified order to invalid when the action code type of the passenger additional service message is the third type, and to update the action code type in the target unified order to the third type, wherein the third type indicates that the additional service is formally rejected.
8. The device according to claim 7, characterized in that The first processing module comprises: A first judgment submodule, configured to judge whether the target unified order contains additional service information matching the passenger additional service message when the action code type of the passenger additional service message is the first type; A first processing submodule, configured to add additional service information to the target unified order based on the additional service items in the passenger additional service message when the target unified order does not contain additional service information matching the passenger additional service message; A determination submodule is used to determine that additional service information matching the first type already exists in the target unified order when the target unified order contains additional service information matching the passenger additional service message.
9. The device according to claim 7, characterized in that The second processing module comprises: A second judgment submodule is used to judge whether the target unified order contains additional service information when the action code type of the passenger additional service message is the second type; The second processing submodule is used to retain the additional service information in the target unified order, update the action code type in the target unified order to the second type, and update the creation sequence number in the target unified order to the current latest value when the target unified order contains the additional service information and the action code type in the target unified order is the first type.
10. The device according to claim 7, characterized in that The third processing module comprises: A third judgment submodule, configured to judge whether the target unified order contains additional service information when the action code type of the passenger additional service message is the third type; The third processing submodule is used to update the status of the existing additional service information in the target unified order to invalid, update the action code type in the target unified order to the third type, and update the creation sequence number in the target unified order to the current latest value when the target unified order contains the additional service information and the action code type is the first type.
Citation Information
Patent Citations
Telex message processing method and device, electronic equipment and computer storage medium
CN116308616A
Aviation passenger additional service message processing method and device
CN117675972A
Duplicate reservation identification method and apparatus
WO2022105666A1
Method for managing frequent flyer information, and related apparatus
WO2022252853A1