CN110782380B - Aviation change information management method and device and storage medium - Google Patents

Aviation change information management method and device and storage medium Download PDF

Info

Publication number
CN110782380B
CN110782380B CN201911046437.8A CN201911046437A CN110782380B CN 110782380 B CN110782380 B CN 110782380B CN 201911046437 A CN201911046437 A CN 201911046437A CN 110782380 B CN110782380 B CN 110782380B
Authority
CN
China
Prior art keywords
information
aviation
flight
supplier
variation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911046437.8A
Other languages
Chinese (zh)
Other versions
CN110782380A (en
Inventor
叱宏涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Chuangxin Journey Network Technology Co ltd
Original Assignee
Beijing Chuangxin Journey Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Chuangxin Journey Network Technology Co ltd filed Critical Beijing Chuangxin Journey Network Technology Co ltd
Priority to CN201911046437.8A priority Critical patent/CN110782380B/en
Publication of CN110782380A publication Critical patent/CN110782380A/en
Application granted granted Critical
Publication of CN110782380B publication Critical patent/CN110782380B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • G06Q50/40
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures

Abstract

The embodiment of the invention provides a method, a device and a storage medium for managing aeroderivative information, wherein the aeroderivative information pushed by different suppliers is obtained, wherein the aeroderivative information of the suppliers comprises the identification of the suppliers and flight change information; the method comprises the steps of processing the aviation variable information of each supplier into standardized aviation variable information according to a preset aviation variable information data structure, wherein the data structure of the standardized aviation variable information is the same as the preset aviation variable information data structure, so that the aviation variable information pushed by different suppliers is managed in a unified mode, the aviation variable information pushed by the suppliers is not required to be managed in a targeted mode aiming at each supplier, the management efficiency of the aviation variable information pushed by different suppliers is improved, the processing pressure of the aviation variable information is reduced, and the cost of the suppliers for accessing an aviation variable system is reduced.

Description

Aeroderivative information management method, aeroderivative information management device and storage medium
Technical Field
The embodiment of the invention relates to a data processing technology, in particular to a method and a device for managing aeroderivative information and a storage medium.
Background
The internet company air ticket trading system comprises a forward trading system, a reverse trading system, an aviation transformer system and the like, wherein the aviation transformer system is used for counting and analyzing aviation transformer information of each third-party air ticket supplier and pushing the aviation transformer information to a user.
In the prior art, different suppliers have different expression modes for the aeroderivative information, so that in the aeroderivative system, the suppliers need to be set in a customized manner to acquire the aeroderivative information pushed by the suppliers. Therefore, when a new supplier needs to access the aerovariant system, the aerovariant system needs to be modified according to the representation mode of the supplier on the aerovariant information, namely, an aerovariant information processing branch corresponding to the supply is added to the aerovariant system.
However, as the number of access providers increases, the processing capacity of the aeronautical variant system increases, which is not favorable for the stable operation of the aeronautical variant system and also brings about very high maintenance cost.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a storage medium for managing aviation change information, which are used for uniformly managing the aviation change information pushed by different suppliers, but do not need to respectively manage the aviation change information pushed by each supplier in a targeted manner, so that the management efficiency of the aviation change information pushed by different suppliers is improved, and the processing pressure of the aviation change information is reduced.
In a first aspect, an embodiment of the present invention provides a method for managing aeronautical variation information, including:
acquiring aviation change information pushed by different suppliers, wherein the aviation change information of the suppliers comprises identifications of the suppliers and flight change information;
and processing the aviation variant information of each supplier into standardized aviation variant information according to a preset aviation variant information data structure, wherein the standardized aviation variant information data structure is the same as the preset aviation variant information data structure.
In some embodiments, processing the aerovariant information of each supplier into standardized aerovariant information according to a preset aerovariant information data structure comprises:
and processing the aviation variable information of each supplier into standardized aviation variable information according to a preset aviation variable information data structure and the corresponding relation between the data structure of the aviation variable information of each supplier and the preset aviation variable information data structure.
In some embodiments, the aerovariant information includes a plurality of data segments, and each data segment corresponds to a data segment in a preset aerovariant information data structure in a one-to-one manner;
the processing the aviation variant information of each supplier into standardized aviation variant information according to the corresponding relation between the preset aviation variant information data structure and the data structure of the aviation variant information of each supplier and the preset aviation variant information data structure comprises the following steps:
determining data segments in a preset aeroderivative information data structure corresponding to the data segments respectively according to the data segments in the aeroderivative information;
and respectively filling the information of each data segment in the aviation variation information into the corresponding data segment in the preset aviation variation information data structure so as to generate the standardized aviation variation information.
In some embodiments, before processing the aeronautical variation information of each supplier into standardized aeronautical variation information according to a preset aeronautical variation information data structure, the method further includes:
and acquiring the corresponding relation between the data structure of the aviation variant information of each supplier and the preset aviation variant information data structure.
In some embodiments, the method further comprises:
standardized aeronautical variation information of each supplier is saved.
In some embodiments, the aeronautical variation information of each supplier further comprises: the order identification is set by the supplier for the air ticket transaction system when the user orders the air ticket through the air ticket transaction system;
before the step of storing the standardized aviation variation information of each supplier, the method further comprises the following steps:
inquiring an order corresponding to each order mark in the at least one order according to the mark of the supplier and the at least one order mark;
the step of storing standardized aviation variation information of each supplier comprises the following steps:
and if the order corresponding to each order mark in the at least one order is inquired, storing the standardized aviation variation information.
In some embodiments, after querying the order corresponding to each order identifier in the at least one order, the method further includes:
judging whether the flight variation information pushed by the supplier is effective flight variation information or not according to the flight information before flight variation corresponding to the flight variation information and the flight reference information of the flight; the flight reference information comprises flight information when the user orders the flight, or the flight reference information comprises the flight information when the user orders the flight and the flight information after the last flight change;
the step of saving the standardized aeronautical variation information comprises the following steps:
and if the aviation variation information pushed by the supplier is effective aviation variation information, storing the standardized aviation variation information.
In some embodiments, the standardized aviation variant information comprises an aviation variant type and an aviation variant information state identifier, the aviation variant information state identifier is used for indicating whether to send aviation variant notification information to a user who subscribes a flight corresponding to the aviation variant information, and the aviation variant notification information is used for prompting the user that the subscribed flight is changed in flight information;
after the storing of the standardized aviation variation information of each supplier, the method further comprises:
traversing each piece of aviation variation information in the aviation variation library, and determining the aviation variation information which does not send aviation variation notification information according to the aviation variation information state identification of each piece of aviation variation information;
and sending the navigation change notification information to the user according to the navigation change type of the navigation change information which is not sent with the navigation change notification information.
In a second aspect, an embodiment of the present invention provides an aeronautical variation information management apparatus, including:
the acquisition module is used for acquiring aerovariant information pushed by different suppliers, wherein the aerovariant information of the suppliers comprises identifiers of the suppliers and flight change information;
and the standardization module is used for processing the aviation change information of each supplier into standardized aviation change information according to a preset aviation change information data structure, wherein the standardized aviation change information data structure is the same as the preset aviation change information data structure.
In some embodiments, the normalization module is specifically configured to:
and processing the aviation variable information of each supplier into standardized aviation variable information according to a preset aviation variable information data structure and the corresponding relation between the data structure of the aviation variable information of each supplier and the preset aviation variable information data structure.
In some embodiments, the aerovariant information includes a plurality of data segments, and each data segment corresponds to a data segment in a preset aerovariant information data structure one to one;
the standardization module is specifically configured to:
determining data segments in a preset aeroderivative information data structure corresponding to the data segments respectively according to the data segments in the aeroderivative information;
and filling the information of each data segment in the aeroderivative information into the corresponding data segment in the preset aeroderivative information data structure respectively to generate the standardized aeroderivative information.
In some embodiments, the obtaining module is further configured to, before the normalizing module presets the aeronautical variation information data structure and processes the aeronautical variation information of each supplier into normalized aeronautical variation information:
and acquiring the corresponding relation between the data structure of the aviation variant information of each supplier and the preset aviation variant information data structure.
In some embodiments, the apparatus further comprises: a storage module;
and the storage module is used for storing the standardized aviation variation information of each supplier.
In some embodiments, the apparatus further comprises: a processing module; wherein the content of the first and second substances,
in some embodiments, the aeronautical variation information of each supplier further comprises: the order identification is the order identification set by the supplier for the air ticket transaction system when the user orders the air ticket through the air ticket transaction system;
the processing module is used for inquiring the order corresponding to each order mark in the at least one order;
the storage module is specifically configured to store the standardized aviation variation information if the processing module queries the order corresponding to each order identifier in the at least one order.
In some embodiments, the processing module, after querying the order corresponding to each order identification in the at least one order, is further configured to:
judging whether the flight variation information pushed by the supplier is effective flight variation information or not according to the flight information before flight variation corresponding to the flight variation information and the flight reference information of the flight; the flight reference information comprises flight information when the user orders the flight, or the flight reference information comprises the flight information when the user orders the flight and the flight information after the last flight change;
correspondingly, the saving module is specifically configured to:
and if the aviation variation information pushed by the supplier is effective aviation variation information, storing the standardized aviation variation information.
In some embodiments, the standardized aviation variant information comprises an aviation variant type and an aviation variant information state identifier, the aviation variant information state identifier is used for indicating whether to send aviation variant notification information to a user who subscribes a flight corresponding to the aviation variant information, and the aviation variant notification information is used for prompting the user that the subscribed flight is changed in flight information;
correspondingly, after the saving module saves the standardized aviation variation information of each supplier, the processing module is further configured to:
traversing each piece of navigation change information in the navigation change library, and determining the navigation change information which does not send navigation change notification information according to the navigation change information state identification of each piece of navigation change information;
and sending the navigation change notification information to the user according to the navigation change type of the navigation change information which is not sent with the navigation change notification information.
In a third aspect, an embodiment of the present invention provides an electronic device, including: at least one processor and memory;
the memory stores computer-executable instructions; the at least one processor executes computer-executable instructions stored by the memory to perform the method of any one of the first aspect of the embodiments of the invention.
In a fourth aspect, the present invention provides a computer-readable storage medium, in which program instructions are stored, and when the program instructions are executed by a processor, the method according to any one of the first aspect of the present invention is implemented.
In a fifth aspect, this application embodiment provides a program product, which includes a computer program, where the computer program is stored in a readable storage medium, and the computer program can be read by at least one processor of an electronic device from the readable storage medium, and the computer program is executed by the at least one processor to enable the electronic device to implement the method according to any one of the first aspect of the application embodiment.
The embodiment of the invention provides a method, a device and a storage medium for managing aeroderivative information, wherein the aeroderivative information pushed by different suppliers is obtained, wherein the aeroderivative information of the suppliers comprises the identification of the suppliers and flight change information; the method comprises the steps of processing the aviation variable information of each supplier into standardized aviation variable information according to a preset aviation variable information data structure, wherein the data structure of the standardized aviation variable information is the same as the preset aviation variable information data structure, so that the aviation variable information pushed by different suppliers is managed in a unified mode, the aviation variable information pushed by each supplier does not need to be managed in a targeted mode aiming at each supplier, the management efficiency of the aviation variable information pushed by different suppliers is improved, the processing pressure of the aviation variable information is reduced, and the cost of the suppliers for accessing an aviation variable system is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on the drawings without inventive labor.
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present invention;
fig. 2 is a flowchart of a method for managing aeronautical variation information according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for managing aeronautical variation information according to another embodiment of the present invention;
fig. 4 is a flowchart of a method for managing aeronautical variation information according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of an aeronautical variation information management apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present invention, and as shown in fig. 1, an aviation variant system 110 is taken as an example for explanation, the aviation variant system 110 communicates with a supplier 121, suppliers 122, …, and a supplier 12n, the supplier 121, the supplier 122, the supplier …, and the supplier 12n push respective aviation variant information to the aviation variant system 110, and the aviation variant system 110 performs unified management on the aviation variant information pushed by each supplier according to a aviation variant information management method provided in any one of the following embodiments, so as to reduce data processing amount.
Fig. 2 is a flowchart of a method for managing aeronautical variation information according to an embodiment of the present invention, and as shown in fig. 2, the method according to the embodiment may include:
s201, acquiring the aviation variation information pushed by different suppliers.
The aviation variation information of the supplier comprises the identification of the supplier and the flight variation information.
In this embodiment, when the flight information of any flight is changed, a supplier of the flight needs to push the aerovariant information of the corresponding flight to the aerovariant system, where the aerovariant information includes an identifier of the supplier and the flight change information. The identifier of the provider is used to identify the provider pushing the flight change information, and the flight change information is used to indicate specific information of a change in the flight information of the corresponding flight, for example, a change in registration time and a change in a takeoff terminal. The flight change information may include only flight information after flight change, only information before and after change corresponding to the changed flight information, or all flight information before and after change, and the information before and after change is the same as the information after change for the information without change in the flight information.
S202, processing the aviation variant information of each supplier into standardized aviation variant information according to a preset aviation variant information data structure.
The data structure of the standardized aviation variation information is the same as the data structure of the preset aviation variation information.
In this embodiment, the flight variation information sent by different suppliers includes the identification of the supplier and the flight change information, but for example, the data format of the flight variation information and the identification name corresponding to each flight information are not uniform. Therefore, in the prior art, an interface is required to be arranged for each supplier in the aerovariant system, and the aerovariant information sent by the interface is received and processed, so that the processing capacity and the system pressure of the aerovariant system are increased, and the instability of the system is improved. According to the invention, the data structure of the aeronautical variation information pushed by the suppliers in the aeronautical variation system is preset, so that the aeronautical variation information pushed by each supplier is standardized according to the preset aeronautical variation information data structure, the data structure of the standardized aeronautical variation information is the same as the preset aeronautical variation information data structure, and the aeronautical variation information can be conveniently read. One example of code representation in the preset aeroderivative information data structure is as follows:
CREATE TABLE`fdtrade_flight_change_info`(
`id`bigint(30)NOT NULL AUTO_INCREMENT,
"order _ id" varchar (45) NOT NULL COMMENT 'order number',
"merchant _ id ' int (11) NOT NULL COMMENT ' supplier order number ',
the "receive _ data time" data time DEFAULT complete command 'receives the navigation change notification time',
'pre _ flight _ no' char (20) NOT NULL COMMENT 'pre-change navigation number',
' pre _ dep _ airport _ code ' char (8) NOT NULL COMMENT ' changes the number of the front takeoff airport,
' pre _ dep _ airport _ quay ' varchar (45) DEFAULT NULL COMMENT ' change the forward take-off terminal,
' pre _ arr _ airport _ code ' varchar (45) NOT NULL COMMENT ' changes the number of the front takeoff airport,
the station before the "pre _ arr _ airport _ quay 'varchar (45) DEFAULT NULL COMMENT' change,
the pre _ dep _ data ' data NOT NULL COMMENT ' changes the pre-takeoff time ',
the pre _ arr _ data ' data NOT NULL COMMENT ' pre-change arrival time ',
'fol _ flight _ no' varchar (45) DEFAULT NULL COMMENT 'modified flight number',
'fol _ dep _ airport _ code' varchar (45) DEFAULT NULL COMMENT 'modified takeoff airport number',
' fol _ dep _ airport _ quay ' varchar (45) DEFAULT NULL COMMENT ' modified take-off terminal,
the changed arrival of the airport number 'of the "fol _ arr _ airport _ code" varchar (45) DEFAULT NULL COMMENT',
' fol _ ar _ airport _ quay ' varchar (45) DEFAULT NULL COMMENT ' post-change terminal,
'fol _ dep _ data' data time DEFAULT NULL COMMENT 'changed takeoff time',
'FOL _ arr _ data' data DEFAULT NULL COMMENT 'post-change arrival time',
"status" int (11) NOT NULL COMMENT 'state (0, unprocessed 1, processed)',
change _ type int (11) NOT NULL COMMENT 'flight change type 1 segment change 2 flight cancel 3 flight lead 4 flight delay 5 terminal station change 6 flight cancel restore',
'dep _ city _ name' varchar (45) DEFAULT NULL COMMENT 'takeoff city',
"arr _ city _ name ' varchar (45) DEFAULT NULL COMMENT ' to a city ',
"ctime" date NOT NULL DEFAULT CURRENT _ TIMESTAMP COMMENT 'creation time',
"mtime ' data NOT NULL DEFAULT CURRENT _ TIMESTAMP ON UPDATE CURRENT _ TIMESTAMP COMMENT ' modification time ',
PRIMARY KEY(`id`),
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
in this embodiment, the aviation variant information pushed by different providers is obtained, where the aviation variant information of a provider includes an identifier of the provider and flight change information; the method comprises the steps of processing the aviation variable information of each supplier into standardized aviation variable information according to a preset aviation variable information data structure, wherein the data structure of the standardized aviation variable information is the same as the preset aviation variable information data structure, so that the aviation variable information pushed by different suppliers is managed in a unified mode, the aviation variable information pushed by each supplier does not need to be managed in a targeted mode aiming at each supplier, the management efficiency of the aviation variable information pushed by different suppliers is improved, the processing pressure of the aviation variable information is reduced, and the cost of the suppliers for accessing an aviation variable system is reduced.
Fig. 3 is a flowchart of a method for managing aeronautical variation information according to another embodiment of the present invention, and based on the embodiment shown in fig. 2, as shown in fig. 3, the method of this embodiment may include:
s301, acquiring the aviation variation information pushed by different suppliers.
In this embodiment, S201 may be referred to as a specific implementation manner of S301, which is not described herein again.
S302, processing the aviation variable information of each supplier into standardized aviation variable information according to a preset aviation variable information data structure and the corresponding relation between the data structure of the aviation variable information of each supplier and the preset aviation variable information data structure.
In this embodiment, because the data structures of the aviation variant information pushed by each provider are different, a corresponding relationship between the data structure of the aviation variant information of each provider and the standardized data structure needs to be established, after the aviation variant information pushed by any provider is obtained, the corresponding relationship is directly obtained according to the provider identifier of the provider, and according to the corresponding relationship, the data structure of the aviation variant information is standardized into the standardized data structure.
In some possible embodiments, one possible implementation manner of S302 is:
and S3021, determining data segments in the preset aeronautical variation information data structure corresponding to the data segments respectively according to the data segments in the aeronautical variation information.
The aeroderivative information comprises a plurality of data segments, and each data segment corresponds to a data segment in a preset aeroderivative information data structure one to one
In this embodiment, the flight variation information pushed by each provider includes a plurality of data segments, where the data segments are used to indicate the meanings of the corresponding information, for example, the identifier of the provider corresponds to one data segment, each piece of information (including each piece of information after flight variation, or each piece of information before and after flight variation) in the flight variation information corresponds to one data segment, for example, the departure time of a flight after variation corresponds to one data segment, and the arrival time of a flight at an airport terminal after variation corresponds to one data segment. A plurality of data segments are also arranged in the preset aerovariant information data structure, and the data segments correspond to the data segments in the aerovariant information one to one, for example, the data segment of the supplier identifier in the aerovariant information corresponds to the data segment of the supplier identifier in the preset aerovariant information data structure.
And S3022, respectively filling the information of each data segment in the aeroderivative information into the corresponding data segment in the preset aeroderivative information data structure to generate the standardized aeroderivative information.
In this embodiment, information corresponding to each data segment in the aviation variation information is obtained, and the information of each data segment is filled into the data segment in the preset aviation variation information data structure corresponding to the information according to the corresponding relationship, so as to generate the standardized aviation variation information. Through the one-to-one correspondence relationship between each data segment in the aviation change information and the data segment in the preset aviation change information data structure, the information of each data segment in the aviation change information is directly filled into the corresponding data segment in the preset aviation change information data structure, and the efficiency of acquiring the standardized aviation change information is improved.
As can be seen in S302, before S302, a corresponding relationship between the data structure of the aviation variant information of each supplier and the preset aviation variant information data structure needs to be set, that is, before S302, the method may further include: and acquiring the corresponding relation between the data structure of the aviation variant information of each supplier and the preset aviation variant information data structure.
In this embodiment, when a new supplier needs to access to the aerovariant system, a system developer sets a corresponding relationship between a data structure of the aerovariant information of the supplier and a preset aerovariant information data structure according to a log document of the supplier. The log document records an explanation of a data segment corresponding to each piece of information in the flight variation information pushed by the provider, for example, if the data segment 1 is used to represent an identifier of the provider, the information of the data segment 1 represents the information of the provider, and if the data segment 2 is used to represent a departure time before the flight information is changed, the information of the data segment 2 represents a departure time after the flight information is changed. After the corresponding relation is set, when the supplier pushes the navigation side information again, the standardized navigation change information is directly obtained according to the corresponding relation, namely the corresponding relation is set only when the supplier accesses the system for the first time, then the navigation change information pushed by the supplier can be standardized into the standardized navigation change information according to the corresponding relation, for different suppliers, the navigation change information of the supplier can be standardized into the standardized navigation change information only according to the corresponding relation corresponding to the supplier, and the compatibility and the stability of the system are improved.
And S303, storing the standardized aviation variation information of each supplier.
In this embodiment, after obtaining the standardized flight information, the standardized flight information is stored, wherein the standardized flight information of different suppliers may be stored in an aviation database, for example, and different suppliers are distinguished according to the identifier of the supplier.
S304, traversing each piece of aviation variation information in the aviation variation library, and determining the aviation variation information which does not send aviation variation notification information according to the aviation variation information state identification of each piece of aviation variation information.
And S305, sending the navigation change notification information to the user according to the navigation change type of the navigation change information which does not send the navigation change notification information.
The standardized aviation variation information comprises an aviation variation type and an aviation variation information state identification, wherein the aviation variation information state identification is used for indicating whether aviation variation notification information is sent to a user who orders a flight corresponding to the aviation variation information, and the aviation variation notification information is used for prompting the user that the ordered flight of the user is changed in flight information.
In this embodiment, the standardized airline information may further include a aerovariant type, for example, and when the standardized airline information is saved, a state identifier of the aerovariant information may be further set in the standardized airline information. The flight change type includes at least one of flight cancellation, flight advance, flight delay, station change and flight cancellation recovery. In some embodiments, the aviation variant information pushed by the provider includes an aviation variant type, and the aviation variant type may be obtained from standardized aviation variant information, for example, the standardized aviation variant information indicates that the arrival terminal of the flight has a change, and the type of the airline is a change of the terminal.
In this embodiment, for example, the standardized inflexion information stored in the inflexion library is periodically traversed, and whether inflexion notification information has been sent to the user ordering the flight with inflexion according to the standardized inflexion information corresponding to the state identifier of the inflexion information is determined. If the unnoticed standardized aviation change information is not acquired, the aviation change library is continuously traversed when the next period is reached according to the timing task word, the user can be informed of the warehoused standardized aviation change information in time, and if the unnoticed aviation change information is traversed, aviation change notification information is sent to the user according to the aviation change type. For example, if the navigation change information status flag is represented by a numeral, where a numeral 1 represents that the user has been notified of the navigation change information and a numeral 0 represents that the user has not been notified of the navigation change information, then the navigation change notification information is transmitted to the user who ordered the flight corresponding to the flight based on the standardized navigation change information whose navigation change information status flag is the numeral 0, and then the navigation change information status flag is changed from the numeral 0 to the numeral 1. The navigation information may be, for example:
the message pushed by the type of flight change for flight cancellation is "(flight cancellation Notification) lovely bee you good! Very sorry notification you: the CZ3418 flights whose Cheng order number is 51180503008044593, 2018-05-0719: 35:00 all fly to Guangzhou, cancel for reasons, and if doubtful, please contact the hornet cell service 4006345678 to turn to 2. Inconvenience is brought to you, give ease. "
The message pushed by the flight change type for flight change is "(flight change Notification) lovely bee you good! Very sorry notification you: the CZ6568 flight that Wuhan with the order number of 51180426007812581 flies to Shenyang changes due to reasons, and the original takeoff time is as follows: 2018-05-0712:20:00, and the original falling time is as follows: 2018-05-0714: 45: 00; the adjusted flight number is CZ6568, the takeoff time is 2018-05-0713: 45:00, the landing time is 2018-05-0716: 10:00, the takeoff airport is the Wuhan Tianhe airport, and the landing airport is the Shenyang peach immortal airport. If the question is asked to contact the hornet cell service 4006345678 to change to 2. Inconvenience is brought to you, give ease. "
The message of the aviation change type of the push for protecting the flight cancellation is 'notification of the flight cancellation with protection') lovely bees you good! Very sorry notification you: the CZ6568 flights that Wuhan with the order number of 51180426007812581 flies to Shenyang are cancelled for reasons, the number of the protected flights is CZ6568, the takeoff time is 2018-05-0713: 45:00, the landing time is 2018-05-0716: 10:00, the takeoff airport is the Wuhan Tianhe airport, and the landing airport is the Shenyang Tanxian airport. If the question is asked, the horse honeycomb service 4006345678 is contacted to change to 2. Inconvenience for your worship and forgiveness "
The message of the aviation change type of recovering push after the flight cancellation is 'recovering notification after the flight cancellation') lovely bee you good! Very sorry notification you: wuhan with an order number of 51180426007812581 recovers after canceling the CZ6568 flights flying to Shenyang, and the original takeoff time is as follows: 2018-05-0712:20:00, the original landing time is as follows: 2018-05-0714: 45:00, wherein the original take-off airport is the Wuhan Tianhe airport, and the original landing airport is the Shenyang Tao Xian airport. If the question is asked to contact the hornet cell service 4006345678 to change to 2. Inconvenience and forgiveness to your mind. "
It should be noted that, for example, the standard aerovariant information stored in the ergodic aerovariant library may also be a loop ergodic.
In this embodiment, according to the correspondence between the aviation variant information data structure pushed by each provider and the preset aviation variant information data structure, the aviation variant information of each provider is processed into the standardized aviation variant information, and the aviation variant information pushed by the providers is managed in a unified manner, so that the management efficiency of the aviation variant information pushed by the providers and the efficiency of acquiring the aviation variant information are improved. And each piece of standardized aerovariant information is stored and traversed, and aerovariant notification information is sent to the user according to the aerovariant type and the aerovariant information state identification, so that the user ordering the flight can be notified in time when the flight information is changed, and the missed sending and delayed sending of the aerovariant information are avoided.
Fig. 4 is a flowchart of a method for managing aeronautical variation information according to another embodiment of the present invention, and based on the embodiment shown in fig. 2 and/or fig. 3, as shown in fig. 4, the method of this embodiment may include:
s401, acquiring the aviation variation information pushed by different suppliers.
In this embodiment, S201 may be referred to for a specific implementation manner of S401, and details are not described here.
S402, processing the aviation variant information of each supplier into standardized aviation variant information according to a preset aviation variant information data structure.
In this embodiment, S202 may be referred to for a specific implementation manner of S401, and is not described herein again.
S403, judging whether an order corresponding to each order mark in at least one order can be inquired according to the mark of the supplier and the at least one order mark, and if so, executing S404 or S405; otherwise, ending.
If the aerovariant information of each supplier further comprises: and the order mark is set by the supplier for the air ticket transaction system when the user orders the air ticket through the air ticket transaction system.
In this embodiment, the aviation change information pushed by the provider may further include at least one order identifier, when the user orders an air ticket through the air ticket transaction system, the air ticket transaction system generates one order identifier for the user, and since the air ticket transaction system needs to obtain the air ticket ordered by the user from the provider, the provider also sets one order identifier for the air ticket transaction system. The air ticket trading system generates order identifications for users in one-to-one correspondence with the order identifications set by the suppliers for the air ticket trading system, and after the air change information pushed by the suppliers is standardized, the order identifications generated by the air ticket trading system for the users can be determined through the order identifications set by the suppliers in the standardized air change information for the air ticket trading system, so that the information of the users is determined.
Therefore, the information of the provider is determined according to the identifier of the provider, then whether an order identifier which is matched with the provider and generated by the ticket transaction system for the user exists is inquired according to the order identifier which is pushed by the provider, if the order identifier which is matched with the provider and generated by the ticket transaction system for the user is matched, it is indicated that the user orders flights corresponding to the provider and the information of the flights pushed by the provider through the ticket transaction system, and S404 is executed or S405 is executed; if the matched ticket transaction system does not match the order identifier generated by the user by the ticket transaction system, the situation that the user does not order the flight corresponding to the supplier and the flight information pushed by the supplier through the ticket transaction system or the flight is not sold on the ticket transaction system is indicated, the standardized aviation variant information does not need to be stored and ended, and the standardized aviation variant information can also be deleted, so that the situation that the supplier pushes wrong aviation variant information is avoided.
S404, judging whether the flight variation information pushed by the supplier is effective flight variation information or not according to the flight information before flight variation corresponding to the flight variation information and the flight reference information of the flights, and if so, executing S405; if not, ending.
The flight reference information comprises flight information when the user orders a flight, or the flight reference information comprises the flight information when the user orders the flight and the flight information after the last flight change.
And S405, storing the standardized aeronautical variation information.
In this embodiment, after the flight corresponding to the standardized inflexion information is matched, it is necessary to determine whether the flight is changed in flight information, and the flight information of the flight before the inflexion can be obtained through the flight change information in the standardized inflexion information, so as to compare the flight information with the flight information when the user orders the flight. Since the time when the user orders the ticket is different, the flight information may be changed before the user orders the ticket, and therefore, when comparing the flight information before the flight change with the flight information when the user orders the flight, the comparison is not performed with the initial flight information of the flight, but is performed with the flight information when the user orders the flight. When the flight information before the flight change is the same as the flight information when the user orders the flight, the flight change does not occur on the flight, and the flight change information pushed by the supplier is invalid flight change information, namely the supplier pushes wrong flight change information, the standardized flight change information does not need to be stored, and the standardized flight change information can be deleted. When the flight information before the flight change is different from the flight information when the user orders the flight, comparing the flight information before the flight change with the flight information after the flight change in the standardized flight change information stored last time, if the flight information before the flight change is the same as the flight information after the flight change in the standardized flight change information stored last time, indicating that the flight change does not occur, and pushing wrong flight change information by a supplier without storing the standardized flight change information and deleting the standardized flight change information; if not, the standardized aviation variation information is saved.
In this embodiment, whether an order corresponding to each order identifier in at least one order exists is determined according to the identifier of the provider and at least one order identifier, and whether the aviation change information pushed by the provider is valid aviation change information is determined according to the flight information before the aviation change of the flight corresponding to the aviation change information and the flight reference information of the flight, so as to determine whether the provider pushes wrong and invalid aviation change information.
Fig. 5 is a schematic structural diagram of an aeronautical variation information management apparatus according to an embodiment of the present invention, and as shown in fig. 5, the apparatus of this embodiment may include: an acquisition module 51 and a normalization module 52. In some embodiments, the aeronautical variation information management apparatus may further include: a save module 53. In some embodiments, the aeronautical variation information management apparatus may further include: a processing module 54.
The acquiring module 51 is configured to acquire aerovariant information pushed by different providers, where the aerovariant information of a provider includes an identifier of the provider and flight change information;
and the normalizing module 52 is configured to process the aeroderivative information of each supplier into normalized aeroderivative information according to a preset aeroderivative information data structure, where the data structure of the normalized aeroderivative information is the same as the preset aeroderivative information data structure.
In some embodiments, the normalization module 52 is specifically configured to:
and processing the aviation variation information of each supplier into standardized aviation variation information according to the preset aviation variation information data structure and the corresponding relation between the data structure of the aviation variation information of each supplier and the preset aviation variation information data structure.
In some embodiments, the aerovariant information includes a plurality of data segments, and each data segment corresponds to a data segment in a preset aerovariant information data structure one to one;
the normalization module 52 is specifically configured to:
determining data segments in a preset aeroderivative information data structure corresponding to the data segments respectively according to the data segments in the aeroderivative information;
and respectively filling the information of each data segment in the aeroderivative information into the corresponding data segment in the preset aeroderivative information data structure to generate the standardized aeroderivative information.
In some embodiments, the obtaining module 51 is further configured to, before the normalizing module 52 presets the aeronautical variation information data structure and processes the aeronautical variation information of each supplier into the normalized aeronautical variation information:
and acquiring the corresponding relation between the data structure of the aviation variant information of each supplier and the preset aviation variant information data structure.
In some embodiments, the saving module 53 is configured to save standardized aeronautical variation information of each supplier.
In some embodiments, the aeronautical variant information of each vendor further includes: the order mark is set by a supplier for the air ticket transaction system when the user orders the air ticket through the air ticket transaction system;
the processing module 54 is configured to query an order corresponding to each order identifier in at least one order;
the storing module 53 is specifically configured to store the standardized aviation variation information if the processing module 54 queries the order corresponding to each order identifier in the at least one order.
In some embodiments, the processing module 54, after querying the order corresponding to each order identification in the at least one order, is further configured to:
judging whether the flight variation information pushed by the supplier is effective flight variation information or not according to the flight information before flight variation of the flights corresponding to the flight variation information and the flight reference information of the flights; the flight reference information comprises flight information when the user orders a flight, or the flight reference information comprises the flight information when the user orders the flight and the flight information after the last flight change;
correspondingly, the saving module 53 is specifically configured to:
and if the aviation variation information pushed by the supplier is effective aviation variation information, storing the standardized aviation variation information.
In some embodiments, the standardized aerovariant information includes an aerovariant type and an aerovariant information state identifier, the aerovariant information state identifier is used for indicating whether to send aerovariant notification information to a user who orders a flight corresponding to the aerovariant information, and the aerovariant notification information is used for prompting the user that the ordered flight is changed in flight information;
accordingly, after the saving module 53 saves the standardized aviation variation information of each supplier, the processing module 54 is further configured to:
traversing each navigation change information in the navigation change library, and determining the navigation change information which does not send navigation change notification information according to the navigation change information state identification of each navigation change information;
and sending the navigation change notification information to the user according to the navigation change type of the navigation change information which does not send the navigation change notification information.
The aeroderivative information management apparatus described in this embodiment may be configured to implement the technical solutions of the above method embodiments, and the implementation principle and the technical effects are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 6, the electronic device according to the embodiment may include: at least one processor 61 and a memory 62. Fig. 6 shows an electronic device as an example of a processor, wherein,
and a memory 62 for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory 62 may comprise a Random Access Memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
A processor 61 for executing the computer-executable instructions stored in the memory 62 to implement the navigation information management method shown in the above-mentioned embodiments.
The processor 61 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement the embodiments of the present Application.
Alternatively, in a specific implementation, if the memory 62 and the processor 61 are implemented independently, the memory 62 and the processor 61 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The buses may be divided into address buses, data buses, control buses, etc., but do not represent only one bus or one type of bus.
Alternatively, in a specific implementation, if the memory 62 and the processor 61 are integrated on a chip, the memory 62 and the processor 61 may complete the same communication through an internal interface.
The electronic device described above in this embodiment may be configured to execute the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A method for managing aeroderivative information, comprising:
acquiring aerovariant information pushed by different suppliers, wherein the aerovariant information of the suppliers comprises identifiers of the suppliers and flight change information;
processing the aviation variation information of each supplier into standardized aviation variation information according to a preset aviation variation information data structure, wherein the standardized aviation variation information data structure is the same as the preset aviation variation information data structure;
storing standardized aviation variation information of each supplier;
the aeronautical variation information of each supplier further comprises: the order identification is the order identification set by the supplier for the air ticket transaction system when the user orders the air ticket through the air ticket transaction system;
before the step of storing the standardized aviation variation information of each supplier, the method further comprises the following steps:
inquiring an order corresponding to each order mark in the at least one order according to the mark of the supplier and the at least one order mark;
the step of storing standardized aviation variation information of each supplier comprises the following steps:
and if the order corresponding to each order mark in the at least one order is inquired, storing the standardized aviation variation information.
2. The method of claim 1, wherein processing the aeroderivative information of each supplier into standardized aeroderivative information according to a preset aeroderivative information data structure comprises:
and processing the aviation variable information of each supplier into standardized aviation variable information according to a preset aviation variable information data structure and the corresponding relation between the data structure of the aviation variable information of each supplier and the preset aviation variable information data structure.
3. The method according to claim 2, wherein the aerovariant information includes a plurality of data segments, each data segment corresponding to a data segment in a preset aerovariant information data structure;
the processing the aviation variant information of each supplier into standardized aviation variant information according to the corresponding relation between the preset aviation variant information data structure and the data structure of the aviation variant information of each supplier and the preset aviation variant information data structure comprises the following steps:
determining data segments in a preset aeroderivative information data structure corresponding to the data segments respectively according to the data segments in the aeroderivative information;
and filling the information of each data segment in the aeroderivative information into the corresponding data segment in the preset aeroderivative information data structure respectively to generate the standardized aeroderivative information.
4. The method according to claim 2 or 3, wherein before processing the aeronautical variation information of each supplier into standardized aeronautical variation information according to a preset aeronautical variation information data structure, the method further comprises:
and acquiring the corresponding relation between the data structure of the aviation variant information of each supplier and the preset aviation variant information data structure.
5. The method of claim 1, wherein after querying the order corresponding to each order identifier of the at least one order, further comprising:
judging whether the flight variation information pushed by the supplier is effective flight variation information or not according to the flight information before flight variation corresponding to the flight variation information and the flight reference information of the flight; the flight reference information comprises flight information when the user orders the flight, or the flight reference information comprises the flight information when the user orders the flight and the flight information after the last flight change;
the step of saving the standardized aeronautical variation information comprises the following steps:
and if the aviation variation information pushed by the supplier is effective aviation variation information, storing the standardized aviation variation information.
6. The method according to claim 1, wherein the standardized aerovariant information includes an aerovariant type and an aerovariant information status identifier, the aerovariant information status identifier is used for indicating whether to send aerovariant notification information to a user who subscribes to a flight corresponding to the aerovariant information, and the aerovariant notification information is used for prompting the user that the subscribed flight has a flight information change;
after the storing of the standardized aviation variation information of each supplier, the method further comprises:
traversing each navigation change information in a navigation change library, and determining the navigation change information which does not send navigation change notification information according to the navigation change information state identification of each navigation change information;
and sending the navigation change notification information to the user according to the navigation change type of the navigation change information which is not sent with the navigation change notification information.
7. An aeronautical variation information management device, characterized by comprising:
the acquisition module is used for acquiring aerovariant information pushed by different suppliers, wherein the aerovariant information of the suppliers comprises identifiers of the suppliers and flight change information;
the standardization module is used for processing the aviation variation information of each supplier into standardized aviation variation information according to a preset aviation variation information data structure, wherein the standardized aviation variation information data structure is the same as the preset aviation variation information data structure;
the storage module is used for storing the standardized aviation variation information of each supplier;
the aviation variation information of each supplier further comprises: the order identification is the order identification set by the supplier for the air ticket transaction system when the user orders the air ticket through the air ticket transaction system;
the processing module is used for inquiring the order corresponding to each order mark in the at least one order according to the mark of the supplier and the at least one order mark;
the storage module is specifically configured to store the standardized aviation change information if an order corresponding to each order identifier in the at least one order is found.
8. An electronic device, comprising: a memory for storing program instructions and a processor for calling the program instructions in the memory to perform the aeronautical variant information management method of any of claims 1-6.
9. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program; the computer program, when executed, implements a method of aeronautical variability information management according to any of claims 1-6.
CN201911046437.8A 2019-10-30 2019-10-30 Aviation change information management method and device and storage medium Active CN110782380B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911046437.8A CN110782380B (en) 2019-10-30 2019-10-30 Aviation change information management method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911046437.8A CN110782380B (en) 2019-10-30 2019-10-30 Aviation change information management method and device and storage medium

Publications (2)

Publication Number Publication Date
CN110782380A CN110782380A (en) 2020-02-11
CN110782380B true CN110782380B (en) 2022-07-08

Family

ID=69387853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911046437.8A Active CN110782380B (en) 2019-10-30 2019-10-30 Aviation change information management method and device and storage medium

Country Status (1)

Country Link
CN (1) CN110782380B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112651722A (en) * 2021-01-18 2021-04-13 中国民航信息网络股份有限公司 Flight time changing method, device, computer readable medium and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014004486A2 (en) * 2012-06-26 2014-01-03 Dunling Li Low delay low complexity lossless compression system
CN104023072A (en) * 2014-06-13 2014-09-03 中国民航信息网络股份有限公司 Device and method for pushing data
CN106777309A (en) * 2016-12-30 2017-05-31 中国民航信息网络股份有限公司 Non-scheduled flight passenger notifies the processing method and system of data
CN108595430A (en) * 2018-04-26 2018-09-28 携程旅游网络技术(上海)有限公司 Boat becomes information extracting method and system
CN110322233A (en) * 2019-07-10 2019-10-11 中国民航信息网络股份有限公司 A kind of method and system for forbidding sale of ticket based on flight cancellation message

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014004486A2 (en) * 2012-06-26 2014-01-03 Dunling Li Low delay low complexity lossless compression system
CN104023072A (en) * 2014-06-13 2014-09-03 中国民航信息网络股份有限公司 Device and method for pushing data
CN106777309A (en) * 2016-12-30 2017-05-31 中国民航信息网络股份有限公司 Non-scheduled flight passenger notifies the processing method and system of data
CN108595430A (en) * 2018-04-26 2018-09-28 携程旅游网络技术(上海)有限公司 Boat becomes information extracting method and system
CN110322233A (en) * 2019-07-10 2019-10-11 中国民航信息网络股份有限公司 A kind of method and system for forbidding sale of ticket based on flight cancellation message

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
航班数据统一处理平台关键技术研究;张秀明;《中国优秀博硕士学位论文全文数据库(硕士)》;20090215(第2期);C031-75 *

Also Published As

Publication number Publication date
CN110782380A (en) 2020-02-11

Similar Documents

Publication Publication Date Title
CN109656999B (en) Method, device, storage medium and apparatus for synchronizing large data volume data
CN111274052A (en) Data distribution method, server, and computer-readable storage medium
CN110968478B (en) Log acquisition method, server and computer storage medium
CN110335022B (en) Automatic auditing method, device, equipment and storage medium
CN109460841B (en) User account opening method, system and storage medium
CN110599093B (en) Airport luggage whole-flow tracking method and system
CN109947729B (en) Real-time data analysis method and device
CN111782728B (en) Data synchronization method, device, electronic equipment and medium
CN110659259A (en) Database migration method, server and computer storage medium
CN110782380B (en) Aviation change information management method and device and storage medium
US20210216516A1 (en) Management of a secondary vertex index for a graph
CN111355765A (en) Network request processing and sending method and device
WO2006026483A2 (en) Presentation and management of aircraft availability data
CN114896337A (en) Data uplink method, system, equipment and computer readable storage medium
CN112711623A (en) Data pull-through method and device, storage medium and electronic device
CN108460078B (en) Auxiliary function execution method and device, storage medium and terminal
CN108206933B (en) Video data acquisition method and device based on video cloud storage system
CN111258728A (en) Task execution method and device, storage medium and electronic device
CN111767299A (en) Database operation method, device and system, storage medium and electronic equipment
CN110543470A (en) Message early warning method and device, storage medium and electronic device
CN117635081B (en) Data processing method, device, equipment and storage medium
CN116166735B (en) Aviation data processing method and device, electronic equipment and storage medium
US10936571B1 (en) Undo based logical rewind in a multi-tenant system
CN116150037B (en) Method and device for managing user login state in use case
CN110515923B (en) Data migration method and system between distributed databases

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant