Search

CN-115345334-B - Processing method and device of code sharing relationship, electronic equipment and storage medium

CN115345334BCN 115345334 BCN115345334 BCN 115345334BCN-115345334-B

Abstract

The method is applied to an open flight data control system, a code sharing message sent by the open flight plan management system under the condition that the code sharing relationship is changed is received, a change type and a target field corresponding to the change type in the code sharing message are analyzed, further, the target code sharing relationship meeting the target field in the open flight data control system is determined, and the target code sharing relationship is processed according to the change type. The open flight data control system disclosed by the disclosure can process related code sharing relations in real time according to the code sharing message sent by the open flight plan management system, so that accuracy of the departure flight code sharing relations is ensured, and smooth travel of passengers is ensured.

Inventors

  • XING TONGKUN
  • CHEN YING
  • WANG YOU
  • QU SHUJIE
  • ZHU YUETONG

Assignees

  • 中国民航信息网络股份有限公司

Dates

Publication Date
20260508
Application Date
20220823

Claims (10)

  1. 1. A method for processing a code sharing relationship, wherein the method is applied to an open flight data control system, the method comprising: Receiving a code sharing message sent by an open flight plan management system under the condition that the code sharing relation is changed; Analyzing the change type in the code sharing message and a target field corresponding to the change type, wherein the target field is a field matched with the open flight data control system and the open flight plan management system, and comprises a carrier, a market, a sharing aviation section, a code sharing relation date range, a shift and a code sharing type, and the process of analyzing the change type in the code sharing message is that the change type of the code sharing relation is identified based on a change type label defined in the code sharing message; Comparing the data of the open flight data control system with the data of the open flight data control system according to a carrier, a market, a shared aviation node, a code sharing relationship date range and a shift period, and comparing the code sharing type with an operation and maintenance identifier again according to different needs of an intersection or no intersection for the code sharing relationship with the intersection, wherein the code sharing relationship is based on the manual operation and maintenance code if the code sharing relationship is inconsistent with the manual operation and maintenance code sharing relationship of the open flight data control system; And determining an object code sharing relation meeting the object field in the open flight data control system, and processing the object code sharing relation according to the change type, wherein different change types correspond to different processes, and the change types comprise addition and/or deletion.
  2. 2. The method according to claim 1, wherein the method further comprises: And checking the code sharing message, and executing the analysis of the change type and the target field in the code sharing message under the condition that the check is passed.
  3. 3. The method according to claim 1, wherein the method further comprises: and sending the processed target code sharing relation to an departure system.
  4. 4. The method of claim 1, wherein the change type comprises a delete; The determining the target code sharing relation meeting the target field in the open flight data control system, and processing the target code sharing relation according to the change type comprises the following steps: Determining a first code sharing relationship in the open flight data control system intersecting a carrier, a market, a shared air section, a code sharing relationship date range and a shift in the target field; determining a first sub-code sharing relation with a new operation and maintenance identifier in the first code sharing relation; the sharing relation of the first subcode is not changed; and deleting other code sharing relationships except the first subcode sharing relationship in the first code sharing relationship.
  5. 5. The method of claim 4, wherein said determining a first code sharing relationship in the open flight data control system that intersects a carrier, a market share, a shared leg, a code sharing relationship date range, and a lead in the target field comprises: Determining a code sharing relation of intersection with a carrier, a market share and a sharing air section in the target field in the open flight data control system; And according to the date range and the shift of the code sharing relation in the target field, carrying out data segmentation on the code sharing relation which has intersection with the carrier, the market and the sharing aviation section in the target field to obtain the first code sharing relation.
  6. 6. The method of claim 1, wherein the change type comprises a new addition; The determining the target code sharing relation meeting the target field in the open flight data control system, and processing the target code sharing relation according to the change type comprises the following steps: Determining a second code sharing relation which is different from the code sharing relation in the open flight data control system in the code sharing message, and adding the second code sharing relation into the open flight data control system; Determining a third code sharing relationship in the open flight data control system intersecting a carrier, a market, a shared air section, a code sharing relationship date range and a shift in the target field; determining that a second sub-code sharing relation with the operation and maintenance identifier deleted, a third sub-code sharing relation with the new operation and maintenance identifier and a fourth sub-code sharing relation without the operation and maintenance identifier exist in the third code sharing relation; Determining a first partial code sharing relation with the same code sharing type in the target field and a second partial code sharing relation with different code sharing type in the target field from the third sub-code sharing relation, and covering the fourth sub-code sharing relation by using the same code sharing relation with the fourth sub-code sharing relation in the code sharing message; And deleting the new operation and maintenance identifier of the first part of code sharing relation, and not changing the second part of code sharing relation.
  7. 7. The method of claim 6, wherein said determining a third code sharing relationship in the open flight data control system that intersects a carrier, a market share, a shared leg, a code sharing relationship date range, and a shift in the target field comprises: Determining a code sharing relation of intersection with a carrier, a market share and a sharing air section in the target field in the open flight data control system; and according to the date range and the shift of the code sharing relation in the target field, carrying out data segmentation on the code sharing relation which has intersection with the carrier, the market and the sharing aviation section in the target field to obtain the third code sharing relation.
  8. 8. A processing apparatus for code sharing relationships, the apparatus being applied to an open flight data control system, the apparatus comprising: The message receiving module is used for receiving a code sharing message sent by the open flight plan management system under the condition that the code sharing relation is changed; The message processing module is used for analyzing the change type in the code sharing message and a target field corresponding to the change type, wherein the target field is a field matching the open flight data control system and the open flight plan management system, the target field comprises a carrier, a market air, a shared air node, a code sharing relationship date range, a shift and a code sharing type, the process of analyzing the change type in the code sharing message is that the change type of the code sharing relationship is identified based on a change type label defined in the code sharing message, the open flight data control system is compared with the data of the open flight plan management system according to the carrier, the market air, the shared air node, the code sharing relationship date range and the shift, the code sharing relationship with or without the intersection is compared again according to different requirements of the change type, if the code sharing relationship with the open flight data control system is inconsistent, the code sharing relationship with the open flight is determined to be in a manual operation mode, if the open flight data control system is not consistent with the control system, the open flight data control system is manually processed according to the change type, the open flight data control system is manually processed by the open flight control system, the open flight data control system is not corresponding to the open flight control relationship is manually processed according to the change type, the open flight control relationship is manually processed by the open flight control system, the open flight control system is not consistent with the open flight control data control relationship is manually, the change types include new additions and/or deletions.
  9. 9. An electronic device comprising at least one memory and at least one processor, the memory storing an application program, the processor invoking the application program stored in the memory, the application program for implementing the method of processing a code sharing relationship according to any of claims 1-7.
  10. 10. A storage medium storing computer program code which when executed implements the method of processing a code sharing relationship of any of claims 1-7.

Description

Processing method and device of code sharing relationship, electronic equipment and storage medium Technical Field The present disclosure relates to the field of software technologies, and in particular, to a method, an apparatus, an electronic device, and a storage medium for processing a code sharing relationship. Background Code sharing is a marketing mode commonly used in the international civil aviation at present, and under the background of increasingly competitive international aviation market, the code sharing is increasingly focused and used as an important means for airlines to cooperate in a alliance or among airlines. For passengers, the travel check-in machine can be linked, so that a check is realized, and travel management is facilitated. The booking system (ICS) and the departure system (DCS) share a set of code sharing relations, and for the departure system, timeliness exists in terms of use of data. For example, when a flight leaves a port, the code sharing relationship needs to be changed temporarily, and if the reservation system does not modify the code sharing relationship successfully in time, the passenger cannot handle the departure procedure normally. Currently, an open flight data control system (FDC) receives a code sharing relationship (abbreviated as "auto-sync") synchronized by an open flight schedule management System (SCH), and for the above-mentioned problems, the open flight data control system synchronizes downstream through an open interface manual operation and maintenance code sharing relationship (abbreviated as "manual operation and maintenance"). Thus, there are two approaches to the source of open flight data control system code sharing relationships, automatic synchronization and manual operation and maintenance. With the increase of data sources, complexity of data exists in the processing process, so that accuracy of the data is affected. Disclosure of Invention In view of the above, in order to solve the above problems, the present disclosure provides a method, an apparatus, an electronic device, and a storage medium for processing a code sharing relationship, where the technical scheme is as follows: A method of processing a code sharing relationship, the method being applied to an open flight data control system, the method comprising: Receiving a code sharing message sent by an open flight plan management system under the condition that the code sharing relation is changed; Analyzing a change type and a target field corresponding to the change type in the code sharing message, wherein the target field is a field matched with the open flight data control system and the open flight plan management system; and determining an object code sharing relation meeting the object field in the open flight data control system, and processing the object code sharing relation according to the change type. A processing apparatus of a code sharing relationship, the apparatus comprising: The message receiving module is used for receiving a code sharing message sent by the open flight plan management system under the condition that the code sharing relation is changed; The message processing module is used for analyzing the change type and the target field corresponding to the change type in the code sharing message, wherein the target field is a field matched with the open flight data control system and the open flight plan management system, determining the target code sharing relation meeting the target field in the open flight data control system, and processing the target code sharing relation according to the change type. An electronic device comprises at least one memory and at least one processor, wherein the memory stores application programs, and the processor calls the application programs stored in the memory, and the application programs are used for realizing the processing method of the code sharing relation. A storage medium storing computer program code which when executed implements a method of processing the code sharing relationship. Compared with the prior art, the beneficial effects that this disclosure realized are: The method is applied to an open flight data control system, a code sharing message sent by the open flight plan management system under the condition that the code sharing relationship is changed is received, a change type and a target field corresponding to the change type in the code sharing message are analyzed, further, the target code sharing relationship meeting the target field in the open flight data control system is determined, and the target code sharing relationship is processed according to the change type. The open flight data control system disclosed by the disclosure can process related code sharing relations in real time according to the code sharing message sent by the open flight plan management system, so that accuracy of the departure flight code sharing relations is ensured, and smooth travel of passengers is ensured.