CN114297183A - Data processing method and device for additional service - Google Patents

Data processing method and device for additional service Download PDF

Info

Publication number
CN114297183A
CN114297183A CN202111612417.XA CN202111612417A CN114297183A CN 114297183 A CN114297183 A CN 114297183A CN 202111612417 A CN202111612417 A CN 202111612417A CN 114297183 A CN114297183 A CN 114297183A
Authority
CN
China
Prior art keywords
additional service
data
flight
preset
service data
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.)
Pending
Application number
CN202111612417.XA
Other languages
Chinese (zh)
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.)
China Travelsky Technology Co Ltd
Original Assignee
China Travelsky 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 China Travelsky Technology Co Ltd filed Critical China Travelsky Technology Co Ltd
Priority to CN202111612417.XA priority Critical patent/CN114297183A/en
Publication of CN114297183A publication Critical patent/CN114297183A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a data processing method and device of additional services, the acquired historical data of the additional services are stored into an additional service table according to a preset format requirement, data cleaning is carried out on the historical data of the additional services through a preset cleaning rule to obtain target additional service data, when a flight query request is received, a query result corresponding to the flight query request and the target additional service data meeting the preset requirement are integrated, and the flight query result with the additional service data is obtained and displayed. Based on the above, the customer does not need to check the flight by querying the flight list and then choose to purchase the additional service from the flight, and can obtain and display the flight query result with the additional service data by only querying the flight query request, so that the efficiency of obtaining the additional service data by the customer and the user experience are improved, and the diversified requirements of the customer are met. In addition, the system can help the navigation department to improve the additional service sale possibility, improve the product competitiveness and increase the enterprise profit.

Description

Data processing method and device for additional service
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data processing method and apparatus for an additional service.
Background
The New Distribution Capability project (NDC) is a New Distribution industry standard that the International Air Transport Association (IATA) has pursued in recent years. The NDC uses a set of unified communication standards to realize that an airline company provides more product and service choices for customers in real time and accurately in a wider distribution channel. Under the NDC communication standard, an airline closely associates additional services with flight data, so that a passenger can purchase various additional services (other services provided by the airline outside the core business of an air ticket, such as food on a vending machine, heavy luggage, entertainment on the aircraft, insurance, and the like) on the basis of an air ticket order according to personal needs while purchasing the air ticket.
At present, most NDC airlines provide an additional service inquiry process for downstream customers, wherein the departure place and the destination selected by a passenger are required to inquire a flight list meeting conditions, a specific flight is selected from the flight list to be checked, the additional service of the flight is checked, and the additional service is selected to be purchased.
The customer needs to check a specific flight from the flight list by querying the flight list meeting the conditions, check the additional service of the flight, and finally choose to purchase the additional service, which results in poor user experience.
Disclosure of Invention
In view of this, the present application discloses a data processing method and device for additional services, which aim to improve the efficiency and user experience of obtaining additional service data by a client and meet the diversified demands of the client. In addition, the system can help the navigation department to improve the additional service sale possibility, improve the product competitiveness and increase the enterprise profit.
In order to achieve the purpose, the technical scheme is as follows:
a first aspect of the present application discloses a data processing method for an additional service, the method including:
acquiring additional service historical data in a preset time period;
storing the additional service historical data into a pre-constructed additional service table according to the requirement of a preset format;
performing data cleaning on the additional service historical data in the additional service table through a preset cleaning rule to obtain target additional service data;
when a flight inquiry request is received, integrating an inquiry result corresponding to the flight inquiry request and target additional service data meeting preset requirements to obtain and display a flight inquiry result with the additional service data.
Preferably, the acquiring additional service history data in the preset time period includes:
and acquiring additional service historical data from a preset information source through a preset service list interface in a preset time period.
Preferably, the performing data cleaning on the additional service history data in the additional service table by using a preset cleaning rule to obtain target additional service data includes:
determining duplicate additional service history data and invalid additional service history data of additional service history data in the additional service table;
and deleting the invalid additional service historical data, and screening the repeated additional service historical data according to the latest timestamp to obtain target additional service data.
Preferably, when receiving a flight query request, integrating a query result corresponding to the flight query request with target additional service data meeting preset requirements to obtain and display a flight query result with the additional service data, including:
when a flight inquiry request is received, acquiring flight information corresponding to the flight inquiry request;
determining target additional service data matched with the flight information;
integrating the flight information and the target additional service data matched with the flight information in a multithreading parallel processing mode to obtain a flight inquiry result with additional service data;
and displaying the flight inquiry result with the additional service data in a preset form.
Preferably, the method further comprises the following steps:
when the returned data in the database of the additional service table are monitored, if the returned data contain additional service data of different types of the same flight, the additional service data of different types of the same flight are screened according to the latest timestamp, and the screening result is updated to the database of the additional service table.
A second aspect of the present application discloses a data processing apparatus for attaching a service, the apparatus comprising:
the acquisition unit is used for acquiring additional service historical data in a preset time period;
the storage unit is used for storing the additional service historical data into a pre-constructed additional service table according to the requirement of a preset format;
the data cleaning unit is used for cleaning the additional service historical data in the additional service table through a preset cleaning rule to obtain target additional service data;
and the integration display unit is used for integrating the query result corresponding to the flight query request and the target additional service data meeting the preset requirement when the flight query request is received, obtaining the flight query result with the additional service data and displaying the flight query result.
Preferably, the obtaining unit is specifically configured to:
and acquiring additional service historical data from a preset information source through a preset service list interface in a preset time period.
Preferably, the data cleansing unit includes:
a first determination module for determining repeated additional service history data and invalid additional service history data of the additional service history data in the additional service table;
and the deleting and screening module is used for deleting the invalid additional service historical data and screening the repeated additional service historical data according to the latest timestamp to obtain target additional service data.
Preferably, the integrated display unit comprises:
the acquisition module is used for acquiring flight information corresponding to the flight inquiry request when the flight inquiry request is received;
the second determining module is used for determining target additional service data matched with the flight information;
the integration module is used for integrating the flight information and the target additional service data matched with the flight information in a multithreading parallel processing mode to obtain a flight inquiry result with additional service data;
and the display module is used for displaying the flight inquiry result with the additional service data in a preset form.
Preferably, the method further comprises the following steps:
and the screening unit is used for screening the different types of additional service data of the same flight according to the latest timestamp and updating the screening result to the database of the additional service table if the returned data in the database of the additional service table has different types of additional service data of the same flight.
According to the technical scheme, the additional service historical data in the preset time period are obtained, the additional service historical data are stored into the pre-constructed additional service table according to the preset format requirement, the additional service historical data in the additional service table are subjected to data cleaning through the preset cleaning rule to obtain target additional service data, when the flight query request is received, the query result corresponding to the flight query request and the target additional service data meeting the preset requirement are integrated to obtain and display the flight query result with the additional service data. By the scheme, a customer does not need to check flights by inquiring the flight list and purchase additional services from the flights, and can obtain and display flight inquiry results with additional service data by sending flight inquiry requests, so that the efficiency of obtaining the additional service data by the customer is improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a data processing method for an additional service according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of an additional service and icon mapping relationship disclosed in an embodiment of the present application;
FIG. 3 is an exemplary diagram illustrating additional service types for a flight query interface disclosed in an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a data processing apparatus for additional services according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
As known from the background art, a customer needs to check a specific flight from a flight list by querying the flight list meeting the condition, check the additional service of the flight, and finally choose to purchase the additional service, which results in poor user experience.
In order to solve the above problems, the embodiments of the present application disclose a data processing method and apparatus for additional services, a customer does not need to select to check a flight from a flight list and then select to purchase an additional service from the flight, and only needs to make a flight query request, a flight query result with additional service data can be obtained and displayed, so that efficiency of obtaining the additional service data by the customer is improved, and user experience is improved. The specific implementation is illustrated by the following examples.
The application can be applied to a day post polymerization platform (AggSky). The AggSky aggregation platform is used as an NDC content aggregator, and in order to show rich content data of an airline company more comprehensively, the method is started from two aspects, namely, existing airline rich content under an NDC standard is aggregated, and rich content data of a third party company is fused with an NDC result.
The AggSky aggregation platform is used as an NDC content aggregator, can provide aggregated NDC content for customers, and meanwhile conducts specialized processing aiming at the situations that the airlines are low in additional service sales exposure rate in the NDC application field and the like, and the additional service content is inquired and displayed in a flight inquiry link. The whole processing process has no perception on downstream customers, so that the use experience of the customers is improved, and the diversified requirements of the customers are met. Meanwhile, the method helps the airline companies to improve the additional service sale possibility, improve the product competitiveness and increase the enterprise profits.
Referring to fig. 1, a schematic flow chart of a data processing method of an additional service disclosed in an embodiment of the present application is shown, where the data processing method of the additional service mainly includes the following steps:
s101: acquiring additional service history data in a preset time period.
In S101, additional service history data is obtained from a preset information source through a preset service list interface within a preset time period.
Since the airline does not return information including the additional service list in the airhopping interface query result, it is necessary to obtain related content from other links, and thus it is necessary to obtain additional service content based on the airline and its flight.
The AirShoppin interface is an interface defined by NDC standard of IATA, and inputs starting place, destination, travel time and passenger information (such as number of people, type of passengers and the like) through the AirShoppin interface, so that flight space, brand freight rate, enjoyed service and rule information corresponding to query conditions can be obtained.
The additional service content is other services provided by the airline outside of the core business of the ticket. Such as vending machines for meals, overweight luggage, in-flight entertainment, insurance, etc.
The preset time period may be within half a year or within 1 year, and the determination of the preset time period is set by a technician according to an actual situation, which is not specifically limited in the present application. The preset time period of the application is preferably within half a year.
And reading a result message returned by the ServiceList interface of each airline company in half a year from a log system of the AggSky aggregation platform. Since the flight schedule is not invariable, the change frequency of the flight schedule is generally twice a year, and therefore, it is not practical to select historical data with too large time span for reference.
According to the scheme, the returned result (additional service historical data) of each ServiceList interface call recorded by the log system of the AggSky aggregation platform is fully utilized, and the additional service historical data is used as a basis of basic data.
The ServiceList interface is an interface defined by the ndic standard of the IATA, and can query an additional service list that can be sold by an Offer.
Offer is the flight hold, brand freight rate, additional service, rules of use, etc. information returned by the navigation department. There may be multiple OfferItems per Offer, one OfferItem for each passenger type, and one OfferItem for each additional service.
S102: and storing the additional service historical data into a pre-constructed additional service table according to the preset format requirement.
In S102, an additional service table is created in the additional service database.
The additional service database includes at least information of an airline company, a departure place, a destination OD, a departure date, a flight number, a slot, a service type, a service issue code, a service issue subcode, an additional service inquiry time, and the like.
The table result of the additional service table at least includes a field of a result returned by the ServiceList interface, and the field of the result returned by the ServiceList interface in the additional service table is specifically shown in table 1.
Figure BDA0003435860870000061
Figure BDA0003435860870000071
TABLE 1
Wherein the value of n is an integer greater than 1.
Additional service history data is stored in table 1, resulting in table 2. The data in table 2 are examples only.
Figure BDA0003435860870000072
TABLE 2
S103: and cleaning the additional service historical data in the additional service table by presetting a cleaning rule to obtain target additional service data.
And the preset cleaning rule is used for eliminating the repeated data and the invalid data in the additional service table.
Specifically, by presetting a cleaning rule, data cleaning is performed on the additional service historical data in the additional service table, and a process of obtaining target additional service data is as follows:
first, duplicate additional service history data and invalid additional service history data of the additional service history data in the additional service table are determined.
Where invalid additional service history data, such as expired flights, airline departments specify additional services that are not allowed to be sold in certain specific areas.
And then deleting the invalid additional service history data, and screening the repeated additional service history data according to the latest timestamp to obtain target additional service data.
And for the additional service codes of the same department, flight and cabin, only the latest data is reserved and inquired through the latest timestamp, the rest similar data are discarded, and the cleaned data is put into an additional service database for standby according to the format requirement.
And cleaning and warehousing the collected data to form additional service basic data. Because the collected data may have repeated or invalid data (for example, expired flights, and the department specifies additional services that are not allowed to be sold in certain specific regions), the data needs to be cleaned before being put into the warehouse, the cleaning includes the data being deduplicated and the latest data being kept, for example, the additional service codes of the same department, flight, and cabin only keep the latest data to be inquired, the rest of similar data are discarded, and the cleaned data is put into the warehouse for standby according to the format requirement.
Observing table 2, it is found that duplicate or similar data occurs, and the 2 nd row data is identical to the 3 rd row data, so the 2 nd row data should be deleted. The flight information (flight number, destination, origin, airline, planned flight date) in line 4 and line 5 are the same, while the additional service content (service code, service name, service issue subcode) is different, indicating that the flight is provided to a plurality of additional services, requiring retention of line 4 and line 5. The target additional service data is obtained from table 2 after data cleaning.
S104: and when a flight inquiry request is received, integrating an inquiry result corresponding to the flight inquiry request and target additional service data meeting the preset requirement to obtain and display a flight inquiry result with the additional service data.
In the step S104, in the NDC standard flow, an Airshopping interface is called in the flight inquiry link to obtain a flight inquiry result corresponding to the flight inquiry request, and the flight inquiry result is directly returned. However, in order to enrich the flight query result, additional service data matched with the query result corresponding to the flight query request, that is, target additional service data meeting the preset requirement, needs to be inserted before returning the result.
Specifically, when a flight query request is received, integrating a query result corresponding to the flight query request and target additional service data meeting preset requirements to obtain and display a flight query result with the additional service data, wherein the process comprises the following steps:
firstly, when a flight inquiry request is received, flight information corresponding to the flight inquiry request is obtained.
When AirShopping requests (flight query requests) are sent to a plurality of airlines, return results (flight query results corresponding to the flight query requests) are obtained.
And reading the additional service database data at preset time every day, and writing the read additional service database data into a Redis cache. This step is to avoid the decrease of system operation efficiency caused by repeated database reading.
The preset time may be early morning or 8 hours, and the specific preset time is determined by a technician according to an actual situation, which is not specifically limited in the present application. The preset time for the present application is preferably early in the morning.
Second, target additional service data matching the flight information is determined.
And reading the flight information in the query result, searching for additional service data matched with the flight information in Redis, and writing the additional service data matched with the flight information into an AirShoppinging custom field.
And then integrating the flight information and the target additional service data matched with the flight information in a multithreading parallel processing mode to obtain a flight query result with additional service data.
Because the number of navigation systems involved in the query is large, and the flight data volume returned by each navigation system is large, in order to guarantee the processing speed, a multi-thread parallel processing mode is adopted here.
Because flight query results returned by the AirShoppinging interfaces of all airlines have different structures, flight query results returned by the AirShoppinging interfaces processed by a plurality of airlines need to be aggregated through an AggSky translation and aggregation module to obtain flight query results with additional service data, and then the flight query results are returned to the front end.
And finally, displaying the flight inquiry result with the additional service data in a preset form.
Wherein, the flight inquiry result with the additional service data is displayed at the front end.
And inquiring the AggSky additional data table, and forming a corresponding relation table of the additional service name and the icon on the basis. The method aims to more intuitively express the additional service content through the icons when the additional service content is displayed at the front end, and the downstream passenger purchase probability is increased. Fig. 2 is a simplified diagram of several exemplary additional services and icon relationships (in practice, these may be adjusted according to the front-end style).
In fig. 2, the additional service names include overweight luggage, paid meals, paid pick-up seats and pet entry; the additional service icons comprise an additional service icon corresponding to the oversteped goods, an additional service icon corresponding to the paid meals, an additional service icon corresponding to the paid seats and an additional service icon corresponding to the pet entering the cabin.
The airshotping return result combined with the additional service content is transmitted to the front end, the content of the service self-defined node is added to the front-end configuration airshotping, the configuration additional service type is translated into an icon, and the icon is displayed on the flight query interface, specifically as shown in fig. 3, and fig. 3 is an exemplary diagram showing the additional service type on the flight query interface.
In fig. 3, the content within the dashed box is the additional service icon.
The customer of the downstream system is assisted in selecting the appropriate flight by the pre-effect of the additional service icon.
And the front end classifies the additional service according to the AggSky additional service table and creates a matching icon. For example, the airline additional service code may be WIEP, WIEH, wiss, PDBG, etc., but the service code may be attributed to purchasing baggage and purchasing WIFI on the airplane. Therefore, when the flight is displayed, as long as the luggage icon and the WIFI icon are displayed in the flight content at the same time, and the mouse-over event is set on the icon to give a corresponding note, the additional service content provided by the flight is clear to the downstream client.
For convenience of understanding, when a flight query request is received, a query result corresponding to the flight query request is integrated with target additional service data meeting preset requirements, so as to obtain and display a flight query result with the additional service data, which is described here by way of example:
for example, the table A contents are read into Redis. Suppose that a user sends an Airshopping query request to an AggSky aggregation platform, and the AggSky aggregation platform judges which airlines NDC query authority the user has, and then sends flight query requests to the airlines. And after receiving a flight query return result of one airline company, the AggSky aggregation platform analyzes the air Shoppeping return result of the airline company, reads the content of the PaxSegmentList node in the return result, and searches whether matching data exists according to the departure place, the destination, the flight number, the carrier airline company and the flight number in a table A cache of Redis. Assuming that the query condition of the airtiming request (flight query request) of the user is that OD is PEK-HEL, departure time is 2021, 9, 25, and the query result returned by the airline company includes the QQ1234 flight number, then in Redis, line 4 and line 5 can be found. Then, according to the IATA NDC standard, adding a custom node, automentionpoint, to the flight query result returned to the user, adding an additional service basic information list, and writing the contents of the 4 th line and the 5 th line into the list. And if the returned result relates to a plurality of airlines, repeating the operations until all the airlines return the query result, add additional service content to return and continue to process, and aggregating the result by the AggSky aggregation platform and returning the result to the front-end user.
In the embodiment of the application, a customer does not need to check a flight by querying a flight list and then choose to purchase additional service from the flight, and can obtain and display a flight query result with additional service data by only needing a flight query request, so that the efficiency of obtaining the additional service data by the customer is improved, and the user experience is improved.
Optionally, when the returned data in the database of the additional service table is monitored, if the returned data contains additional service data of different types for the same flight, the additional service data of different types for the same flight is screened according to the latest timestamp, and the screening result is updated to the database of the additional service table.
The method comprises the steps that the collection of additional service historical data of the ServiceList interface through a log library is only the most basic step, and as the additional service provided by an airline company for a flight is updated at any time, a ServiceList monitoring function is added in a log system of the AggSky aggregation platform, and when a flight query request of one ServiceList interface occurs, whether a flight query result corresponding to the flight query request is the same as the content in the database is judged, and if not, the flight query result is written into the database. Meanwhile, data with the takeoff date earlier than the current date in the database are deleted, and generation of redundant data is avoided.
In the embodiment of the application, a customer does not need to check flights by inquiring the flight list and purchase additional services from the flights, and can obtain and display flight inquiry results with additional service data only by a flight inquiry request, so that the efficiency of obtaining the additional service data by the customer is improved, the user experience is improved, and the diversified requirements of the customer are met. In addition, the scheme can help the airline companies to improve the additional service sale possibility, improve the product competitiveness and increase the enterprise profit.
Based on the data processing method of the additional service disclosed in the embodiment fig. 1, the embodiment of the present application also discloses a data processing apparatus of the additional service correspondingly, and as shown in fig. 4, the data processing apparatus of the additional service mainly includes an obtaining unit 401, a storage unit 402, a data cleaning unit 403, and an integrated display unit 404.
An obtaining unit 401, configured to obtain additional service history data in a preset time period.
A storage unit 402, configured to store the additional service history data into a pre-constructed additional service table according to a preset format requirement.
And a data cleaning unit 403, configured to perform data cleaning on the additional service history data in the additional service table according to a preset cleaning rule, so as to obtain target additional service data.
And the integration and display unit 404 is configured to, when a flight query request is received, integrate a query result corresponding to the flight query request and target additional service data meeting preset requirements, obtain a flight query result with additional service data, and display the flight query result.
Further, the obtaining unit 401 is specifically configured to obtain, within a preset time period, additional service history data from a preset information source through a preset service list interface.
Further, the data cleansing unit 403 includes a first determination module and a deletion screening module.
A first determination module for determining repeated additional service history data and invalid additional service history data of the additional service history data in the additional service table.
And the deleting and screening module is used for deleting the invalid additional service historical data and screening the repeated additional service historical data according to the latest timestamp to obtain target additional service data.
Further, the integrated display unit 404 includes an obtaining module, a second determining module, an integrating module, and a displaying module.
And the acquisition module is used for acquiring flight information corresponding to the flight inquiry request when the flight inquiry request is received.
The second determining module is used for determining target additional service data matched with the flight information;
and the integration module is used for integrating the flight information and the target additional service data matched with the flight information in a multithreading parallel processing mode to obtain a flight inquiry result with additional service data.
And the display module is used for displaying the flight inquiry result with the additional service data in a preset form.
Optionally, the data processing apparatus of the additional service further includes a screening unit.
And the screening unit is used for screening the different types of additional service data of the same flight according to the latest timestamp and updating the screening result to the database of the additional service table if the returned data in the database of the additional service table has different types of additional service data of the same flight.
In the embodiment of the application, a customer does not need to check flights by inquiring the flight list and purchase additional services from the flights, and can obtain and display flight inquiry results with additional service data only by a flight inquiry request, so that the efficiency of obtaining the additional service data by the customer is improved, the user experience is improved, and the diversified requirements of the customer are met. In addition, the scheme can help the airline companies to improve the additional service sale possibility, improve the product competitiveness and increase the enterprise profit.
The embodiment of the application also provides a storage medium, wherein the storage medium comprises stored instructions, and when the instructions are executed, the data processing method for controlling the equipment where the storage medium is located to execute the additional service is provided.
Referring now to FIG. 5, shown is a schematic diagram of an electronic device 500 suitable for use in implementing embodiments of the present application. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM502, and the RAM503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
While several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. A method for processing data of an additional service, the method comprising:
acquiring additional service historical data in a preset time period;
storing the additional service historical data into a pre-constructed additional service table according to the requirement of a preset format;
performing data cleaning on the additional service historical data in the additional service table through a preset cleaning rule to obtain target additional service data;
when a flight inquiry request is received, integrating an inquiry result corresponding to the flight inquiry request and target additional service data meeting preset requirements to obtain and display a flight inquiry result with the additional service data.
2. The method of claim 1, wherein the obtaining additional service history data within a preset time period comprises:
and acquiring additional service historical data from a preset information source through a preset service list interface in a preset time period.
3. The method of claim 1, wherein the performing data cleansing on the additional service history data in the additional service table by using a preset cleansing rule to obtain target additional service data comprises:
determining duplicate additional service history data and invalid additional service history data of additional service history data in the additional service table;
and deleting the invalid additional service historical data, and screening the repeated additional service historical data according to the latest timestamp to obtain target additional service data.
4. The method of claim 1, wherein when a flight query request is received, integrating a query result corresponding to the flight query request and target additional service data meeting preset requirements to obtain and display a flight query result with additional service data, and the method comprises:
when a flight inquiry request is received, acquiring flight information corresponding to the flight inquiry request;
determining target additional service data matched with the flight information;
integrating the flight information and the target additional service data matched with the flight information in a multithreading parallel processing mode to obtain a flight inquiry result with additional service data;
and displaying the flight inquiry result with the additional service data in a preset form.
5. The method of claim 1, further comprising:
when the returned data in the database of the additional service table are monitored, if the returned data contain additional service data of different types of the same flight, the additional service data of different types of the same flight are screened according to the latest timestamp, and the screening result is updated to the database of the additional service table.
6. A data processing apparatus for attaching a service, the apparatus comprising:
the acquisition unit is used for acquiring additional service historical data in a preset time period;
the storage unit is used for storing the additional service historical data into a pre-constructed additional service table according to the requirement of a preset format;
the data cleaning unit is used for cleaning the additional service historical data in the additional service table through a preset cleaning rule to obtain target additional service data;
and the integration display unit is used for integrating the query result corresponding to the flight query request and the target additional service data meeting the preset requirement when the flight query request is received, obtaining the flight query result with the additional service data and displaying the flight query result.
7. The apparatus according to claim 6, wherein the obtaining unit is specifically configured to:
and acquiring additional service historical data from a preset information source through a preset service list interface in a preset time period.
8. The apparatus of claim 6, wherein the data cleansing unit comprises:
a first determination module for determining repeated additional service history data and invalid additional service history data of the additional service history data in the additional service table;
and the deleting and screening module is used for deleting the invalid additional service historical data and screening the repeated additional service historical data according to the latest timestamp to obtain target additional service data.
9. The apparatus of claim 6, wherein the integrated display unit comprises:
the acquisition module is used for acquiring flight information corresponding to the flight inquiry request when the flight inquiry request is received;
the second determining module is used for determining target additional service data matched with the flight information;
the integration module is used for integrating the flight information and the target additional service data matched with the flight information in a multithreading parallel processing mode to obtain a flight inquiry result with additional service data;
and the display module is used for displaying the flight inquiry result with the additional service data in a preset form.
10. The apparatus of claim 6, further comprising:
and the screening unit is used for screening the different types of additional service data of the same flight according to the latest timestamp and updating the screening result to the database of the additional service table if the returned data in the database of the additional service table has different types of additional service data of the same flight.
CN202111612417.XA 2021-12-27 2021-12-27 Data processing method and device for additional service Pending CN114297183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111612417.XA CN114297183A (en) 2021-12-27 2021-12-27 Data processing method and device for additional service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111612417.XA CN114297183A (en) 2021-12-27 2021-12-27 Data processing method and device for additional service

Publications (1)

Publication Number Publication Date
CN114297183A true CN114297183A (en) 2022-04-08

Family

ID=80968634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111612417.XA Pending CN114297183A (en) 2021-12-27 2021-12-27 Data processing method and device for additional service

Country Status (1)

Country Link
CN (1) CN114297183A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116186059A (en) * 2023-04-24 2023-05-30 民航成都信息技术有限公司 Flight data updating method, system, electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060253308A1 (en) * 2005-05-09 2006-11-09 Knauer Richard M Method of marketing for the airline transportation industry
US20130290324A1 (en) * 2012-04-26 2013-10-31 Amadeus S.A.S. Categorizing and ranking travel-related database query results
CN105593887A (en) * 2013-10-01 2016-05-18 李石 Facilitating passenger to manage airline reservation within electronic message
US20190258966A1 (en) * 2018-02-22 2019-08-22 Amadeus S.A.S. Exchanges with automatic consideration of factors associated with the exchanges
CN110766420A (en) * 2019-10-21 2020-02-07 中国民航信息网络股份有限公司 Service information determination method and device
CN112231542A (en) * 2020-10-12 2021-01-15 中国民航信息网络股份有限公司 Method and device for selling additional services of standardized airline company
US20210174266A1 (en) * 2019-12-10 2021-06-10 Amadeus S.A.S. Devices, systems and methods for providing ancillary objects from a cache and categorized provider objects

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060253308A1 (en) * 2005-05-09 2006-11-09 Knauer Richard M Method of marketing for the airline transportation industry
US20130290324A1 (en) * 2012-04-26 2013-10-31 Amadeus S.A.S. Categorizing and ranking travel-related database query results
CN105593887A (en) * 2013-10-01 2016-05-18 李石 Facilitating passenger to manage airline reservation within electronic message
US20190258966A1 (en) * 2018-02-22 2019-08-22 Amadeus S.A.S. Exchanges with automatic consideration of factors associated with the exchanges
CN110766420A (en) * 2019-10-21 2020-02-07 中国民航信息网络股份有限公司 Service information determination method and device
US20210174266A1 (en) * 2019-12-10 2021-06-10 Amadeus S.A.S. Devices, systems and methods for providing ancillary objects from a cache and categorized provider objects
CN112231542A (en) * 2020-10-12 2021-01-15 中国民航信息网络股份有限公司 Method and device for selling additional services of standardized airline company

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙琼巍;李雄清;熊铭;周东琳;李永;: "一种航空附加服务销售中心系统的研究与实现", 电子测试, no. 11, 5 June 2020 (2020-06-05) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116186059A (en) * 2023-04-24 2023-05-30 民航成都信息技术有限公司 Flight data updating method, system, electronic device and storage medium
CN116186059B (en) * 2023-04-24 2023-06-30 民航成都信息技术有限公司 Flight data updating method, system, electronic device and storage medium

Similar Documents

Publication Publication Date Title
EP2840543A1 (en) Contextualized travel offers
WO2007076047A2 (en) Demand tracking system and method for a transportation carrier
US11580584B2 (en) Managing item queries
US20160232626A1 (en) Travel activity tracking system
US20180357732A1 (en) Automatic space exchange opportunity response systems and methods
US11869366B1 (en) Airline flight operations support
WO2003032119A2 (en) Methods, system, and articles of manufacture for providing fare trend information
AU2002332070A1 (en) Methods, system, and articles of manufacture for providing fare trend information
CN114297183A (en) Data processing method and device for additional service
CN113298621B (en) Processing method of civil aviation retail order and related equipment
CN109815266A (en) Express delivery batch query method and apparatus based on big data platform
EP2610788A1 (en) Seamless travel hive engine and method of same
CN113139888A (en) Method and device for intelligently recommending passenger delay service
US20180204294A1 (en) Computer based system and method for developing, managing and distributing mixed media content in the travel services industry
US20180365599A1 (en) Updating an entire itinerary based on modifying a single travel reservation
CN113298581A (en) Information, travel information and flight information processing method, equipment and storage medium
CN113312420A (en) Flight data processing method, device, equipment and storage medium
EP3057041A1 (en) Travel activity tracking system
CA2859643A1 (en) Contextualized travel offers
US20240232728A9 (en) Device, system and method for generating trained models to generate provider objects
US20240135264A1 (en) Device, system and method for generating trained models to generate provider objects
US20150199714A1 (en) Customized in-flight merchandising process over a communications network
CN115794931B (en) Early warning method, system, equipment and storage medium of NDC aggregator
US20240184776A1 (en) Device, system and method for reducing bandwidth usage by performing provider object adjustments at an intermediation server based on historical data
CA2919620A1 (en) Travel activity tracking system

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