CN112241476A - Method and related device for processing user request result in NDC (network data center) scene - Google Patents

Method and related device for processing user request result in NDC (network data center) scene Download PDF

Info

Publication number
CN112241476A
CN112241476A CN202011306516.0A CN202011306516A CN112241476A CN 112241476 A CN112241476 A CN 112241476A CN 202011306516 A CN202011306516 A CN 202011306516A CN 112241476 A CN112241476 A CN 112241476A
Authority
CN
China
Prior art keywords
flight
flight information
data
backhaul
result
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
CN202011306516.0A
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
China Travelsky Holding Co
Original Assignee
China Travelsky Holding Co
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 Holding Co filed Critical China Travelsky Holding Co
Priority to CN202011306516.0A priority Critical patent/CN112241476A/en
Publication of CN112241476A publication Critical patent/CN112241476A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9035Filtering based on additional data, e.g. user or group profiles
    • 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/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • 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/21Design, administration or maintenance of databases
    • G06F16/219Managing data history or versioning
    • 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/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0621Item configuration or customization

Abstract

The invention provides a processing method of a user request result in an NDC scene and a related device, for a user request, the processor acquires target data which accords with an OWD mode in the data to be aggregated corresponding to the user request, performing data cleaning operation on the target data to obtain data to be processed, according to a preset combination rule, flight and freight rate of the outbound and return are combined to obtain a whole flight freight rate combination result set, the invention realizes the conversion of the data in the OWD mode to the data in the ITI mode, obtains the result data in the ITI mode, and then carries out the aggregation operation on the data in the data to be aggregated which accords with the ITI mode and the whole-journey flight freight rate combination result set to obtain the data in all the ITI modes of the complete journey and output the data to the user, thereby avoiding the need for the user to carry out data combination and simplifying the user operation.

Description

Method and related device for processing user request result in NDC (network data center) scene
Technical Field
The invention relates to the field of aviation request processing, in particular to a method and a related device for processing a user request result in an NDC scene.
Background
In a sales model defined by the new aviation distribution standard NDC (new distribution capability), the agregator is used as a content Aggregator, generally, an air shopping interface is used to obtain a user request, then NDC data of different airlines corresponding to the request, such as flights, freight rates and services (i.e., offer) of NDC channels, is queried, NDC contents returned by the different airlines are aggregated, and the aggregated result is fed back to the user. When the user query request is a query round trip, the data mode of the content returned by some of the NDC contents returned by different navigation systems is an ITI mode, and the data mode of the content returned by some of the navigation systems is an OWD mode. The data in the ITI mode comprises whole-course data with combined outbound and return flight freight rates, and the data in the OWD mode is not whole-course data but two one-way flight freight rate data with outbound and return flights, and needs to be combined by a user.
After receiving the returned result, the user needs to combine the one-way data in the data of the OWD mode in the returned result to obtain complete journey data, and can realize the unified display with other navigation driver NDC contents on the distribution website page.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In view of this, the present invention provides a method and a related device for processing a user request result in an NDC scenario, so as to solve the problem that after a user receives a returned result, the user needs to combine one-way result data of a forward trip and a return trip in data of an OWD mode in the returned result to obtain complete trip result data, and the user operation is complex and difficult.
In order to solve the technical problems, the invention adopts the following technical scheme:
a processing method of a user request result in an NDC scene is applied to a processor, and comprises the following steps:
acquiring target data which accords with an OWD mode in data to be aggregated corresponding to a user request; the target data comprises a trip data set and a backhaul data set; the departure data set comprises a departure flight information set and a departure freight rate set; the backhaul data set comprises a backhaul flight information set and a backhaul freight rate set;
performing data cleaning operation on the target data to obtain data to be processed;
combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the data to be processed according to a preset combination rule to obtain a whole flight combination set, and combining the outbound freight rate corresponding to the outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to the backhaul flight information to obtain a whole flight freight rate combination result set; the whole-journey flight freight rate combination result in the whole-journey flight freight rate combination result set comprises a freight rate combination result corresponding to the departure flight information, the return flight information, the departure flight information and the return flight information;
and carrying out aggregation operation on the data which accords with the ITI mode in the data to be aggregated and the whole flight freight rate combination result set, and outputting a result obtained by the aggregation operation.
A processing device of a user request result in an NDC scene is applied to a processor and comprises:
the data acquisition module is used for acquiring target data which accords with an OWD (ontology of web page) mode in the data to be aggregated corresponding to the user request; the target data comprises a trip data set and a backhaul data set; the departure data set comprises a departure flight information set and a departure freight rate set; the backhaul data set comprises a backhaul flight information set and a backhaul freight rate set;
the data cleaning module is used for carrying out data cleaning operation on the target data to obtain data to be processed;
the data combination module is used for combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the data to be processed according to a preset combination rule to obtain a whole flight combination set, and combining the outbound freight rate corresponding to the outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to the backhaul flight information to obtain a whole flight freight rate combination result set; the whole-journey flight freight rate combination result in the whole-journey flight freight rate combination result set comprises a freight rate combination result corresponding to the departure flight information, the return flight information, the departure flight information and the return flight information;
and the data aggregation module is used for performing aggregation operation on the data which accords with the ITI mode in the data to be aggregated and the whole flight freight rate combination result set, and outputting a result obtained by the aggregation operation.
An electronic device, comprising: a memory and a processor;
wherein the memory is used for storing programs;
the processor calls a program and is used to:
acquiring target data which accords with an OWD mode in data to be aggregated corresponding to a user request; the target data comprises a trip data set and a backhaul data set; the departure data set comprises a departure flight information set and a departure freight rate set; the backhaul data set comprises a backhaul flight information set and a backhaul freight rate set;
performing data cleaning operation on the target data to obtain data to be processed;
combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the data to be processed according to a preset combination rule to obtain a whole flight combination set, and combining the outbound freight rate corresponding to the outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to the backhaul flight information to obtain a whole flight freight rate combination result set; the whole-journey flight freight rate combination result in the whole-journey flight freight rate combination result set comprises a freight rate combination result corresponding to the departure flight information, the return flight information, the departure flight information and the return flight information;
and carrying out aggregation operation on the data which accords with the ITI mode in the data to be aggregated and the whole flight freight rate combination result set, and outputting a result obtained by the aggregation operation.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a processing method of a user request result in an NDC scene and a related device, for a user request, the processor acquires target data which accords with an OWD mode in the data to be aggregated corresponding to the user request, performing data cleaning operation on the target data to obtain data to be processed, according to a preset combination rule, flight and freight rate of the outbound and return are combined to obtain a whole flight freight rate combination result set, the invention realizes the conversion of the data in the OWD mode to the data in the ITI mode, obtains the result data in the ITI mode, and then carries out the aggregation operation on the data in the data to be aggregated which accords with the ITI mode and the whole-journey flight freight rate combination result set to obtain the data in all the ITI modes of the complete journey and output the data to the user, thereby avoiding the need for the user to carry out data combination and simplifying the user operation.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a flowchart of a method for processing a user request result in an NDC scenario according to an embodiment of the present invention;
FIG. 2 is a flow chart of data cleansing according to an embodiment of the present invention;
FIG. 3 is a flow chart of another data cleansing method according to an embodiment of the present invention;
FIG. 4 is a flow chart of another data cleansing method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a device for processing a user request result in an NDC scenario according to an embodiment of the present invention.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
In order that those skilled in the art will be better able to understand the present invention, the words that may be used in the present invention are now explained, with the following particulars:
1) NDC: the new distribution capability is a new distribution industry standard which is motivated by the international air transport association IATA in recent years. The method mainly establishes a uniform data transmission standard (XML), and data interaction can be carried out between an airline company and its partners through the uniform standard. The airline department can dynamically construct flight fare airline ticket products and auxiliary products (namely offer commonly spoken in NDC) in real time according to the request of the seller and the information of the seller and passengers, and then the flight fare airline ticket products and the auxiliary products are provided for the seller through a unified standard, so that the distribution mode of the offer mainly constructed by GDS in the traditional airline ticket field is changed, the dominant position of the airline company in the trade is returned, and the direct sale of the airline department is promoted.
2) Aggregator: the content aggregator, which is a new role in the NDC sales model. Because the NDC standard versions of the interface applications of all navigation systems are different, the business understanding is different, and the application modes are different, the navigation system interfaces are different, and the cost and the difficulty of the downstream channel user for connecting the navigation system interfaces are high. Therefore, the Aggregator is created, which is used for butting the NDC interfaces of all navigation departments, summarizing, analyzing, converting and fusing the NDC contents to generate aggregated contents, then providing a uniform interface for downstream channel customers according to the NDC standard, and the downstream customers can quickly realize the butting and selling of the multiple navigation departments only by butting the uniform interface.
3) Airshipping interface: the interface defined by the NDC standard of the IATA is the first step of the NDC sales process, and the flight space, the brand freight rate, the enjoyed service and the rule information corresponding to the query condition can be obtained by inputting the starting place, the destination, the travel time and the passenger information (such as the number of people, the type of passengers and the like) through the Shopping interface.
4) offfer: the flight space, the brand freight rate, the additional service, the use rule and other information returned by the navigation department are called offer. There may be multiple OfferItems per offer, one for each passenger type, and one for each additional service.
5) An ITI mode: the ITI mode is that when the journey is a round trip, the airline department's AirShopping interface returns the packaged combined result of the fare of the go/return flight, and each offer is the quoted result of the whole journey (i.e. a combination of the go/return flight).
6) An OWD mode: the OWD mode means that the AirShoppen interface respectively returns the respective flight freight rate results of the return trip/return trip, namely, each trip has one offer, and the offers of the return trip/return trip need to be automatically combined into an offer of the whole trip when the user uses the system.
7) OD: o is the starting point, original. D is the arrival point, destination. An OD represents an airline route, a trip that the user wants to query. One round trip consists of at least two ODs, one OD for the forward trip and one OD for the return trip.
8) Directly reaching the following steps: from O to D, there is only one flight, flying straight.
9) Transfer: from O to D, instead of flying straight, the flight first flies to a third place, stays for a period of time (generally no more than 24 hours for transfer, and 24 hours for Stop), and then is transferred to the flight to continue flying, and the number of transfers of the flight in one OD can be multiple times.
10) The code sharing flight refers to a code sharing flight if the market department and the actual carrier department of a flight in a certain flight segment are different. The market department is the department who carries out marketing sales, and the carrier department is the airline company who actually carries out flight on the flight. The market department airline drivers help the carrier airline drivers to sell the airline tickets, and finally the carrier airline drivers actually carry out flying, and then the two airline drivers share the income.
11) The joint transportation is a transfer joint journey, a plurality of navigation sections are provided and are actually carried by different navigation departments respectively, the two navigation departments have joint transportation protocols, the transfer joint journey is sold together, and then the income proportion is shared.
12) Brand freight rate: namely a set of fares and corresponding services issued by the airline. The brand freight rate breaks the original limit of pricing according to the compartment code (26 letters), can be issued more flexibly, and can be issued in a brand freight rate mode as long as a group of freight rates and corresponding services are defined.
13) A main flight section: in an international air ticket journey, a journey may have a plurality of legs, and the leg with the highest cross-regional level is defined as a main leg, which is often the international leg with the farthest mileage. The inter-regional standard is the regional division standard of the IATA, the IATA divides the world into three large regions, each large region has several sub-regions, and each sub-region includes different countries. The cross-region level is in the order from high to low: and (3) preferably selecting the segment with the highest cross-regional level, such as the cross-regional segment, as the main segment of the journey, across the large region, across the sub-region and across the country. During the return trip, the return trip is provided with a main flight segment.
14) And MCT: the shortest transit connection time of an airport, issued by an airline department via an OAG, for transit of different airports, different flight types (e.g., domestic or international flights), two flights exceeding the shortest transit connection time may be combined.
15) OAG: an unofficial organization provides a solution for global flight planning data, flight dynamic data and professional aviation data for global civil aviation.
In a sales mode defined by NDC (new aviation distribution standard) of aviation proposed by IATA (International Air Transport Association), Aggregator plays a role of a content Aggregator, interfaces NDC interfaces of all navigation systems, efficiently and accurately summarizes, analyzes, converts and fuses NDC contents of different NDC standard versions and different display forms of all navigation systems, and provides the aggregated contents for downstream channel users in a uniform content display form through the interfaces conforming to the IATA standard for the interfacing. Therefore, downstream channel users only need to be connected with the interfaces once to acquire the NDC contents of the plurality of navigation departments in a unified content acquisition mode, and the NDC contents can be quickly accessed and sold on the premise of not increasing much investment.
Agregator as a content Aggregator typically uses the air shopping interface to get user requests, and different airlines return flights, rates and services (i.e., offer) from their NDC channels. In the process of aggregating the NDC contents of different navigation systems, some navigation systems return the offer in an ITI mode, and some navigation systems return the offer in an OWD mode, and although the return contents and the return modes are all in accordance with the interface standard defined by IATA, the return contents and the return modes are not uniform. The ITI mode is that when the journey is a round trip, the airline will return the go/return flight freight rate package combination result, and each offer is an offer result of a go/return flight combination. In the OWD mode, the respective flight freight rate results of the go/return trip are returned respectively, each flight freight rate result is a quote offer, and the offers of the go/return trip need to be combined into an offer of the whole trip by a user.
The above-mentioned returned result has both data in the OWD mode and data in the ITI mode, and there are the following problems:
1) when a user initiates a Shopping query without restricting navigation, and the result has both an OWD result and an ITI result, the user application is extremely difficult.
2) The OWD can return a lot of results, and the user can only return hundreds of offers in the ITI mode, for example, tens of thousands of offers in the whole journey combined by the OWD mode can be returned, and the user is difficult to combine, display and select when the user front-end system is applied, and the user operation is complicated at this time.
The inventor finds that the main navigation department adopts an ITI mode at present, only a few navigation departments adopt an OWD mode, and if a user has no special requirements on the mode for returning the result, the Aggregator can unify the returned results in different modes, for example, data in the OWD mode can be converted into data in the ITI mode, so that the results returned to the user are all complete strokes, the user does not need to combine the strokes, and the user operation is simplified. Further, during the conversion process, the offer may also be screened to ensure that the number of results returned is limited, controllable and should be optimal.
Specifically, in the invention, for a user request, a processor obtains target data which accords with an OWD mode in data to be aggregated corresponding to the user request, performs data cleaning operation on the target data to obtain data to be processed, combines flights and freight rates of a departure trip and a return trip according to a preset combination rule to obtain a whole-journey flight freight rate combination result set, namely, the invention realizes conversion of the data of the OWD mode to the data of an ITI mode to obtain result data of the ITI mode, and then performs aggregation operation on the data which accords with the ITI mode in the data to be aggregated and the whole-journey flight freight rate combination result set to obtain data of all the ITI modes of a complete journey and outputs the data to a user, and the user does not need to perform data combination any more, thereby simplifying user operation.
On the basis of the above content, an embodiment of the present invention provides a method for processing a user request result in an NDC scenario, which is applied to a processor, and the processor in the embodiment may be the above agregator server.
Referring to fig. 1, the processing method includes:
and S11, acquiring target data which accords with the OWD mode in the data to be aggregated and corresponds to the user request.
In practical application, the agregator server receives a user request through an AirShopping interface, wherein the user request carries a starting place, a destination, travel time and passenger information (such as number of people, type of passengers and the like), and can obtain flight space, brand freight rate, enjoyed service and rule information corresponding to query conditions.
In this embodiment, the airshotping interface is improved, and the user can select the data return mode in addition to inputting the information through the airshotping interface, specifically, for a shotping query that does not limit the driver, the OWD mode is uniformly and acquiescently converted into the ITI mode, and the final results are all the ITI modes.
For the Shopping query of a designated single navigation department, adding a self-defined node in the input parameters, and enabling a user to select to return to an OWD mode or an ITI mode: defaulting to an ITI mode, and returning a result according to the conversion and screening method; or the OWD mode, and when the OWD mode is used, all the results of the navigation driver interface are directly returned to the user without the above-mentioned various screens. If the navigation is in the ITI mode, the result of the ITI mode is also returned when the OWD mode is specified.
The Aggregator server receives a user request through the airship interface, calls the airship interface to obtain an airline driver result, analyzes the airline driver result, and obtains information such as a go/return route, a flight, a cabin space, a brand freight rate and the like.
In this embodiment, data in the OWD mode needs to be converted into the ITI mode, and in practical application, target data conforming to the OWD mode in data to be aggregated needs to be determined. The target data comprises a trip data set and a backhaul data set; the departure data set comprises a departure flight information set and a departure freight rate set; the backhaul data set includes a backhaul flight information set and a backhaul freight rate set.
In this embodiment, not only the flight combination but also the freight rates are combined according to a preset combination rule (that is, the same brand freight rate combination, if the same brand freight rate combination includes a plurality of bay combinations, and the prices corresponding to different bay combinations are different, only the lowest-price bay combination is reserved), and then the combined result of all the brand freight rates of each flight combination is returned as a final result.
The outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set may have the same flight location. If the outbound flight information is flight information from beijing to shanghai, there may be an outbound flight or a transit flight, and the return flight information is flight information from shanghai to beijing, there may be an inbound flight or a transit flight. In addition, the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set may not have the same flight place, for example, if the outbound flight is from beijing to shanghai, and the backhaul flight is from tin-free to tianjin, in the present invention, it is sufficient if the flight satisfying the user query is a round-trip flight.
In addition, the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in this embodiment are returned results of each airline department, and the general data volume is large.
It should be noted that if the stroke is one-way, the OWD mode is not different from the ITI mode, and no conversion is required.
And S12, performing data cleaning operation on the target data to obtain data to be processed.
In practical application, the invention mainly aims to realize packaging return of the return offer, but the inventor finds that although some packaging rules are set, the results finally returned to the user are still many, and meanwhile, the inventor also notices that the flight driver has many flight route results returned, and some flight route flight combinations do not particularly meet the requirements of customers, so that a data cleaning link is added in the embodiment, for example, a flight screening link is added, and the purpose of reducing the number of final results is realized through data cleaning, so that the returned results are in a limited numerical range.
S13, according to a preset combination rule, combining the outbound flight information in the outbound flight information set and the return flight information in the return flight information set in the data to be processed to obtain a whole flight combination set, and combining the outbound freight rate corresponding to the outbound flight information in the whole flight combination set and the return freight rate corresponding to the return flight information to obtain a whole flight freight rate combination result set.
In practical application, the data in the OWD mode only includes one-way data, such as outbound flight information or backhaul flight information, and for convenience of use by a user, the data in the OWD mode needs to be converted into data in the ITI mode, that is, outbound flight information in an outbound flight information set and backhaul flight information in a backhaul flight information set in the to-be-processed data are combined to obtain a full flight combination set, and an outbound freight rate corresponding to the outbound flight information in the full flight combination set and a backhaul freight rate corresponding to the backhaul flight information are combined.
And the whole-journey flight freight rate combination result in the whole-journey flight freight rate combination result set comprises a freight rate combination result corresponding to the departure flight information, the return flight information, the departure flight information and the return flight information.
For example, the outbound flight information is from beijing to shanghai, the return flight information is from shanghai to beijing, and the combined result of the flight prices includes the flights from beijing to shanghai, the flights from shanghai to beijing, and the combined result of the prices of the two flights (such as offer information of each flight, the slot, and the corresponding freight information of the requested passenger type (fare, tax, belonging brand freight, entitled equity service, freight usage rule, etc.)).
Specifically, step S13 may include:
acquiring at least one preset flight combination rule, and combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the to-be-processed data according to the preset flight combination rule to obtain a whole flight combination set; the whole-journey flight combination in the whole-journey flight combination set comprises at least one outbound flight and at least one return flight;
acquiring at least one preset freight rate combination rule, and combining the outbound freight rate corresponding to outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to backhaul flight information according to the preset freight rate combination rule to obtain a freight rate combination result corresponding to the whole flight combination;
combining the whole-journey flight combination and the freight rate combination result corresponding to the whole-journey flight combination to obtain a whole-journey flight freight rate combination result; the whole-journey flight freight rate combination result comprises a departure flight information, a return flight information, a freight rate combination result corresponding to the departure flight information and the return flight information;
and combining all the whole-journey flight freight rate combination results to obtain a whole-journey flight freight rate combination result set.
In practical application, the conversion process is to combine the defer/return respective defer in the OWD mode to obtain a return-to-return packed defer, i.e., a defer in the ITI mode. The conversion from OWD to ITI is accomplished following several principles:
1) combining the defer of the direct flight and the defer flight to form the defer of the ITI mode and returning the defer of the ITI mode, wherein the defer and the defer are not combined respectively.
2) The defers of the same route are combined with each other for the outbound/return trip, e.g., if the outbound trip is a-B-C-D, then the return trip should be D-C-B-a. If one route only has a forward trip or only has a return trip, different route offer can not be combined according to the background setting; it can also be combined with the deferers of other airlines to return the deferers of the lowest price combined with other airlines. The principle of converting OWD into ITI described in this embodiment needs to be satisfied when combining.
3) And (4) combining the offer corresponding to the same brand freight rate in the forward/backward trip to form the offer in the ITI mode and returning the offer. If there are multiple slots in the same brand's portfolio (each slot actually corresponding to an offer), then the offer for the ITI mode for that brand's portfolio should be the combination of the outbound/inbound lowest-cost slot-corresponding offers.
4) If a certain go/return flight combination does not have the same brand freight rate, different brand freight rates offer are not combined or only two brand freight rates with the lowest price in each cabin and the like are combined according to the background setting and are returned as the final ITI packaging offer.
Through the combination mode, all final packaged offer are obtained, and conversion from an OWD mode to an ITI mode is achieved.
When flight combination is carried out, flights are combined according to the mode, and the preset flight combination rule is that direct follow-through, transit follow-transfer and transit and return routes are the same; and combining the freight rate and the service offer on the basis of flight combination, wherein an offer combination rule is preset, namely the combination rule is combined for the freight rates of the same brand, and if a plurality of freight spaces exist in the freight rate of the same brand, the freight rate combination result returned for the freight rate of the brand is the lowest-price freight space combination result.
For example, if a round trip flight, a departure flight and a return flight all have a brand freight rate of "BASIC", but a plurality of slots all belong to the brand freight rate, for example, the departure flight returns K slots, W slots are all applicable slots of the brand freight rate, and the return flight returns K, T, W slots of the brand freight rate, then for the brand freight rate of BASIC, the combination of the slots with the lowest price needs to be found as the final combination return, and if the price is the lowest when the departure flight and the return flight are K slots, the final freight combination result of the flight combination is the K slot freight rate combination in the brand freight rate of BASIC.
And S14, carrying out aggregation operation on the data which accords with the ITI mode in the data to be aggregated and the whole flight freight rate combination result set, and outputting the result obtained by the aggregation operation.
In practical application, the aggregation operation in this embodiment refers to operations such as integration and format adjustment of data returned by different airlines, and the aggregation operation in this embodiment may be a conventional aggregation operation, and the aggregated data is returned to the user, where the data viewed by the user is data in the ITI mode.
In this embodiment, for a user request, a processor obtains target data which conforms to an OWD mode in data to be aggregated corresponding to the user request, performs data cleaning operation on the target data to obtain data to be processed, combines flights and freight rates of outbound and return trips according to a preset combination rule to obtain a full-journey flight freight rate combination result set, that is, conversion of the data in the OWD mode to data in an ITI mode is achieved through the method and the device, result data in the ITI mode is obtained, and then, aggregation operation is performed on the data which conforms to the ITI mode in the data to be aggregated and the full-journey flight freight rate combination result set to obtain and output all data in the ITI mode of a complete journey to a user, so that data combination of the user is not required any more, and user operation is simplified.
In addition, in the invention, in addition to the technical effect of simplifying the user operation, for the Aggregator, different mode results returned by different navigation systems are provided for the downstream channel users in a unified manner, so that the user operation is simplified, and the functionality of the Aggregator is improved.
The above embodiment describes that the data cleansing operation needs to be performed on the target data, and now a specific cleansing process is described, referring to fig. 2, step S12 may include:
s21, acquiring preset data screening rules, and screening intermediate data meeting the preset data screening rules from the target data.
In order to reduce the amount of data finally returned to the user and avoid the influence of some inapplicable data on the user, the inapplicable data may be data whose intermediate time does not meet the requirement of the shortest transit connection time MCT of the airport, and the like, and such a flight is not applicable in the actual life, so a preset data screening rule is set in the embodiment to screen the data.
In the screening, the following principles are followed:
1) the through flights remain because they are one of the preferred ways of the user and are much fewer in number relative to the transit flights.
2) The transit time interval of the transit flight should be larger than the MCT shortest transit connection time, and actually, the flight will return some flight combinations with short transit time, such as half-hour transit, and the risk of misordering the second flight by taking the flight combinations is large, so that the priority selected by the guest is low, and when the flight results are many, the front-end system generally does not show the flights.
3) In the flight combination of the transit point switching airport, on one hand, the passenger switching airport is inconvenient, and the transit time generally needs a long time, and on the other hand, if the transit point switching airport is an overseas airport, the problems of visa and the like are also considered, so the passenger generally cannot select the flight of the transit point switching airport or has lower priority.
4) The transition to an overnight flight requires the passenger to stay at the local overnight, which involves problems such as visa, transit time, etc., and the passenger is likely to stay at the airport overnight, so the selection priority is also low.
Theoretically, the driver's NDC system should return that the main leg is the result of the flight combination actually carried by the driver. In actual business, the airline company is found to return a flight with a code sharing main range (namely, the market is the airline company, but the other airline companies are under the carrier), and the sales of the airline company is not high.
Based on the above considerations, such unreasonable or low priority flights are filtered to preferentially exclude them, reducing the number of flights in the result. Of course, these can be set by the background to reserve or not, and only the default setting is to filter out. And subsequently, adding a new screening rule according to the actual situation.
Specifically, the outbound/inbound airline flights are pre-screened respectively. Pre-screening was performed according to the following principle:
1) all flights to the route remain.
2) For the transit route, the combined filtering principle of the transit flights is as follows:
2.1) the transit time interval does not meet the MCT requirement, and deleting. Wherein, MCT refers to the shortest transit connection time of an airport, a flight department issues through OAG, the shortest connection time of transit (such as domestic or international flights) of different airports and different flight types, and two flights exceeding the connection time are possible to be combined. This is a criterion, and it is reasonable that the returned result of the navigation department should meet the requirement of the MCT, but actually it is found that the returned result of the AC is not met, so the screening condition is added.
2.2) switching the airport in the transit point and deleting.
2.3) overnight flights, deleted or sorted to the end. And defining the transfer flight at the night, wherein the landing and taking-off time at the transfer airport is around 0 point, and the interval time exceeds 4 hours.
3) And deleting the flight of the main flight segment, which is not the self-supporting flight. Except for allied navigators, such as CX and KA, AF and KL, SQ and MI, etc.
S22, sequentially sequencing the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the intermediate data according to a preset sequencing rule to obtain a sequencing result of the outbound flight information and a sequencing result of the backhaul flight information.
In practical application, in the returned results of the navigation department, if the different flights have different advantages and disadvantages, the flights can be sorted according to the advantages and disadvantages of the flights, and the better and more reasonable flights are arranged in front of the flights, so that when the flights are returned to the user, the user firstly sees the better flights, and the user experience is improved.
Specifically, referring to fig. 3, step S22 may include:
and S31, sequentially determining the outbound flight information set and the return flight information set in the intermediate data as a target flight information set.
In practical application, the outbound flight information set and the backhaul flight information set are processed respectively, and during processing, the outbound flight information set and the backhaul flight information set are used as target flight information sets respectively, and then the target flight information sets are processed. When the destination flight information set is a destination flight information set, the destination flight information set or the backhaul flight information set is collectively referred to as flight information.
S32, acquiring the flight type of each flight information in the target flight information set.
For flight information, the corresponding flight types are classified into self-carrying, code sharing flight and intermodal flight.
When judging which of the three flight types a flight information belongs to, judging by a market part airline company and a carrier airline company of each flight, if the flight information is the same, the flight information is self-supporting flight, if the flight information is different, the flight information is code sharing flight, and if the two flight market parts are different, the flight information is intermodal flight. The returned result comprises two parameters of a market navigation department and a carrier navigation department, and can be used for judging the type of the flight.
S33, according to the flight type of the flight information, carrying out classification operation on each flight information in the target flight information set to obtain flight information subsets corresponding to different flight types.
For each flight information, the flight information can be flights or flight combinations on each route, and is divided into three categories of self-carrying flights, code sharing flights and intermodal flights, the priority order of the three categories is that all self-carrying flights or flight combinations are arranged in a first flight team, code sharing flights are arranged in a second flight team, intermodal flights are arranged in a third flight team, and each flight team is taken as a flight information subset.
S34, according to a preset flight information sorting rule, carrying out sorting operation on the flight information in the flight information subset to obtain a sorting result.
After the three flight information subsets are obtained, the three flight information subsets need to be sequenced, and then the flight information in the flight information subsets is sequenced according to a preset flight information sequencing rule to obtain a sequencing result
In practical applications, referring to fig. 4, step S34 may include:
and S41, sequencing each flight information subset according to a preset flight type sequencing rule.
Specifically, in the manner described above, all self-carried flights or flight combinations are arranged in a first flight, a second flight with code sharing flights and a third flight with intermodal flights. The first flight has a higher priority than the second flight, which has a higher priority than the third flight.
S42, sorting the flight information in each flight information subset according to flight attributes to obtain an initial sorting result.
The flight attributes in this embodiment include whether to go straight, whether to transfer, transfer times, total travel time, total transfer dwell time, and the like.
More specifically, in the sorting, for each subset of flight information, the inbound flights are ranked first, preferably in the first flight, since the inbound flights are self-sustaining flights (assuming that the primary flight is the result of the code sharing, and if such a result is returned, in the fourth flight). When a plurality of direct flights exist, sequencing is carried out according to the sequence of the takeoff time of the flights.
After finishing the sequencing of the through flights, sequencing the transit flights in the three ladders respectively, and sequencing the transit flights in the first step according to the sequence of the transit times from small to large (namely the sequence of first transit for one time and then transit for two times and then the condition of multiple transit).
In different transfer times echelons, sorting according to the time of the total travel time from small to large, if the total travel time is the same, sorting according to the sequence of the total transfer residence time from small to large, if the transfer residence time is the same, sorting according to the sequence of the takeoff time, and if the takeoff time is also the same, sorting randomly. The total travel time length, the time difference between the time of the destination (Arrival) and the time of the start (Dep) can be directly calculated, and the time difference between the start and the end of different routes is the same because the start and the end of the same query are determined. When the total travel time length is calculated, the influence of the time difference can be not considered because only the relative length of the takeoff and landing time interval is considered.
And S43, correcting the initial sorting result according to a preset sorting correction rule to obtain a sorting result.
According to the steps, all the direct flights and the transit flights can be combined to complete the sequencing. At the moment, final adjustment of sequencing is needed, and the adjustment principle is to ensure that the result can be returned to the maximum extent after the final screening link of each route. The flight sequence is divided into three successive fleets according to the full self-carrying, code sharing flight and intermodal flight, and then the first flight combination of each airline is adjusted to the top of the whole flight sequence according to the appearance sequence in the existing flight sequences of the respective fleets. Thereby determining the final ranking.
For example, the department from beijing to shanghai returns 5 airlines, which are ABCDE airlines, respectively, flight screening is performed in step S21, flights of two airlines DE are all filtered, three airlines ABC remain, and the first flight of the three airlines in the flight sorting result of S42 is in the second position of the first flight platoon, the third position of the second flight platoon and the first position of the third flight platoon, because the sequential steps can further screen the ordered set of flights, in order to ensure that the three airlines are included in the final returned result, the first flight of the three airlines ABC is respectively moved to the first three positions of the whole flight sorting sequence, and the sequence of other flights is not changed, so that it can be ensured that flights of the three airlines ABC can be included in the final interface returned result to the maximum extent.
S23, screening a preset number of flight information from the sequencing result of the outbound flight information and the sequencing result of the return flight information respectively, and determining the screened flight information as to-be-processed data.
In practical application, even if some bad flights (such as excessive transit times, excessive total travel time or excessive stay time) are returned to the user, the priority selected by the user is very low, in order to reduce the data volume returned to the user and only display better flights, the background, namely the server can be configured to finally return several flight results, if N is used, the former N flights or flight combination results are finally selected to be returned, and when the number of the screened actual flight results is less than N, the results are all returned. The recommendation N may be set to a number between 6-10. If the number of flights of the actual journey (go journey or return journey) is less than N, the sorting operation is not needed, and the operation of converting OWD into ITI can be directly carried out after pre-screening.
It should be noted that, in the embodiment of the present invention, the adjustment of the richness of the returned result can also be implemented by setting the background, and the dimensions that can be specifically adjusted include:
transition time interval: a specific fixed value, such as 2 hours, may also be set, as determined by MCT by default.
Whether a transit can switch airports: the defaults of different airports in the same city, such as NRT and HND, PEK and PKX, etc. cannot be changed.
Whether the transfer returns to an overnight flight: default is not returned.
Whether or not the return primary leg is a code-shared flight: default is not returned. When the selection returns, all primary legs are code-shared flights and all are queued in the fourth flight fleet, i.e., lower priority than the intermodal flight fleet.
And intercepting the number N of the flights.
In the go/return combination, whether the direct flight can be combined with the transit flight: the options are three, not possible, in any case allowed, combinable with transit airlines only if another journey has no direct flight and only return the lowest priced airline combinations. Default is not possible.
In the go/return combination, whether different transit routes can be combined: the options are three, not possible, in any case allowed, combinable with other airlines only if another journey does not have the same airline and only return the lowest priced airline combination. Default is not possible.
Whether or not to allow a combination between different brands' rates when combined on the go/return trip: the options are three, not possible, in any case allowed, combinable with other brand prices only if another journey does not have the same brand price and only return the lowest price combination. Default is not possible.
When going/returning are combined, whether different cabins in the same brand freight rate are allowed to be combined is: the options are three, not possible, in any case allowed, combinable with other tanks only if another journey does not have the same tank and only return the lowest price combination. Default is not possible.
When the travel/return journey is changed to the flight group combination in the same route, the cabin positions are defined in the same way: the options are that all the cabin positions of the flight sections are the same, and the cabin positions of the main flight sections are the same. The default is the former. Note that all flight sections have the same cabin space, which means that the cabin space of the corresponding flight section is the same. If a round trip and an outward trip are A-B-C-D, wherein the cabin positions corresponding to the A-B, B-C and C-D legs are X/Y/Z respectively, the cabin positions of the three legs of the return trip D-C-B-A should be Z/Y/X.
In order that those skilled in the art will more clearly understand the present invention, specific implementation procedures of the present invention will now be illustrated.
In the existing navigation server for realizing the NDC interface, the result returned by the AirShoppinging interface of the AC adopts an OWD mode, so that the Aggregator needs to convert the OWD result of the AC when the downstream interface is accessed to the AC and the navigation server is not limited to inquire. The following examples are given.
Looking up the YYZ-LHR round trip of the AC, the navigation interface returns 290 deferers, of which 152 deferers and 138 deferers. If the Cartesian product is obtained by simply calculating the return-trip offer and combining the return-trip offer to obtain the packaged offer in the ITI mode, the result is as high as 20976, and the method obviously has no practical application value.
Specific embodiments for performing the conversion according to the method steps herein are listed below.
And sorting the brand freight rate list contained in the airline according to the result returned by the airline driver interface as follows.
TABLE 1
Figure BDA0002788457030000181
And processing the outbound flights: analyzing the results of the navigation department interface to obtain 4 direct flights and 16 transit flights, wherein the specific flight information is as follows:
TABLE 2
Figure BDA0002788457030000182
Figure BDA0002788457030000191
And (4) performing pre-screening, and screening flights with flight numbers of 8, 9, 11, 12, 13, 14, 17 and 19 according to the above rule and default background setting.
And then sequencing is carried out, according to the scheme and default background setting, the sequencing result is as follows:
TABLE 3
Figure BDA0002788457030000192
Figure BDA0002788457030000201
According to the default setting of the background, if N is 8, namely flights of 8 top ranked positions are intercepted as a final result, the final flight group of the departure is as follows: AC868, AC622-AC860, AC462-AC888, AC414-AC2485, AC692-AC822, AC856, AC848, AC 858.
And then processing the return flight: and analyzing the results of the navigation department interface to obtain 4 direct flights and 16 transit flights in the return trip. The specific flight information is as follows:
TABLE 4
Figure BDA0002788457030000202
Figure BDA0002788457030000211
Note:
(1) AC6186(OS), representing a code sharing flight, the marketer is the AC and the carrier is the OS.
(2) YV is a subsidiary of UA and RV is a subsidiary of AC. Therefore, YV and UA, RV and AC are allied navigation departments.
(3) For the flight with the serial number of 9, the landing time for actually returning to the transit point is later than the takeoff time, and the flight driver may return an error.
And (4) pre-screening, and screening flights with the sequence numbers of 5, 6, 9, 13, 14, 16, 17, 19 and 20 of the return flights by referring to a forward screening mode.
And then sequencing is carried out, according to the scheme and the default setting of the background parameters, the sequencing result is as follows:
TABLE 5
Figure BDA0002788457030000212
Figure BDA0002788457030000221
The default N of the background parameters is 8, and the first 8 are intercepted as the final return flight combination result: AC869, AC889-AC459, AC865-AC9994, AC861-AC621, AC823-AC697, AC857, AC849 and AC 859.
And then combining return trip offer to realize conversion from OWD to ITI, and arranging the brand freight rate number of each flight as follows:
TABLE 6
Figure BDA0002788457030000222
The brand freight rate and the corresponding lowest price slot of each flight are returned, as shown in the following table:
TABLE 7
Figure BDA0002788457030000231
Figure BDA0002788457030000232
So according to the above scheme and the background default parameter settings, the final combined offer case is as follows:
through to
Each return trip has 4 flights and 8 same-bay brand rates, so the integrated ITI round trip package offer has 4 x 8-128 offers.
Transfer of data
Considering the same-route combination, each route only has one flight combination, 4 routes are provided in total, the number of the same-bay brand freight rates is respectively 8, 6 and 6, and therefore 8+8+6+6 is 30 offer.
After the final ITI mode results, there were 158 offfers. The offer number is in a limited range, has front-end availability, and comprises the main routes returned by the airline department and the corresponding lowest cabin space combination result of the freight rates of various brands.
The embodiment provides a scheme for switching OWD to ITI, when a user wants to obtain a Shopping result in an ITI mode, the conversion from the OWD result to the ITI can be realized through the scheme, when the navigation driver does not inquire a Shopping interface, the system can automatically unify the results in the two modes and return the result in the ITI mode, the condition that the result called by the same interface returns the results in different modes is avoided, optional custom request parameters are provided when the navigation driver inquires the Shopping interface, the user can obtain the self-combination of the OWD mode results according to the self-requirement, and the ITI result of the logic combination can also be obtained. In addition, the embodiment can realize that the number of the results is controlled within a limited value, and can adjust the number of the final results according to background parameter control, thereby meeting different user requirements.
In addition, the invention ensures reasonable and optimal results on the basis of ensuring the convenience of user application. The returned results can cover most routes returned by the airline department, including the freight rates of all brands. And unreasonable flights and routes returned by the navigation department are filtered. The combination of the outgoing/return route flight positions is reasonable, and the optimal overall offer combination result and the lowest price are ensured.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Although the operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Optionally, on the basis of the embodiment of the method described above, another embodiment of the present invention provides a processing apparatus for a user request result in an NDC scenario, and with reference to fig. 5, the processing apparatus is applied to a processor, and includes:
the data acquisition module 11 is configured to acquire target data that conforms to the OWD mode in the to-be-aggregated data corresponding to the user request; the target data comprises a trip data set and a backhaul data set; the departure data set comprises a departure flight information set and a departure freight rate set; the backhaul data set comprises a backhaul flight information set and a backhaul freight rate set;
the data cleaning module 12 is configured to perform data cleaning operation on the target data to obtain data to be processed;
the data combination module 13 is configured to combine the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the to-be-processed data according to a preset combination rule to obtain a whole flight combination set, and combine the outbound freight rate corresponding to the outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to the backhaul flight information to obtain a whole flight freight rate combination result set; the whole-journey flight freight rate combination result in the whole-journey flight freight rate combination result set comprises a freight rate combination result corresponding to the departure flight information, the return flight information, the departure flight information and the return flight information;
and the data aggregation module 14 is configured to perform aggregation operation on the data meeting the ITI mode in the data to be aggregated and the whole flight freight rate combination result set, and output a result obtained by the aggregation operation.
Further, the data cleansing module includes:
the first data screening submodule is used for acquiring a preset data screening rule and screening intermediate data meeting the preset data screening rule from the target data;
the data sorting submodule is used for sequentially carrying out sorting operation on the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the intermediate data according to a preset sorting rule to obtain a sorting result of the outbound flight information and a sorting result of the backhaul flight information;
and the second data screening submodule is used for screening a preset number of flight information from the sequencing result of the outbound flight information and the sequencing result of the return flight information respectively, and determining the screened flight information as the data to be processed.
Further, the data sorting sub-module includes:
a set determining unit, configured to sequentially determine a outbound flight information set and a backhaul flight information set in the intermediate data as a target flight information set;
the type acquisition unit is used for acquiring flight types of all flight information in the target flight information set;
the classification unit is used for performing classification operation on each flight information in the target flight information set according to the flight type of the flight information to obtain flight information subsets corresponding to different flight types;
and the ordering unit is used for carrying out ordering operation on the flight information in the flight information subset according to a preset flight information ordering rule to obtain an ordering result.
Further, the sorting unit is specifically configured to:
and according to a preset ordering rule, ordering the flight information subsets, ordering the flight information in each flight information subset according to flight attributes to obtain an initial ordering result, and according to a preset ordering correction rule, correcting the initial ordering result to obtain an ordering result.
Further, the data combination module is specifically configured to:
the first combination sub-module is used for acquiring at least one preset flight combination rule, and combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the to-be-processed data according to the preset flight combination rule to obtain a whole-journey flight combination set; the whole-journey flight combination in the whole-journey flight combination set comprises at least one outbound flight and at least one return flight;
the second combination sub-module is used for acquiring at least one preset freight rate combination rule, and combining the departure freight rate corresponding to the departure flight information and the return freight rate corresponding to the return flight information in the whole flight combination set according to the preset freight rate combination rule to obtain a freight rate combination result corresponding to the whole flight combination;
the third combination sub-module is used for combining the whole-journey flight combination and the freight combination result corresponding to the whole-journey flight combination to obtain a whole-journey flight freight combination result; the whole-journey flight freight rate combination result comprises a departure flight information, a return flight information, a freight rate combination result corresponding to the departure flight information and the return flight information;
and the fourth combination sub-module is used for combining all the whole-journey flight freight rate combination results to obtain a whole-journey flight freight rate combination result set.
In this embodiment, for a user request, a processor obtains target data which conforms to an OWD mode in data to be aggregated corresponding to the user request, performs data cleaning operation on the target data to obtain data to be processed, combines flights and freight rates of outbound and return trips according to a preset combination rule to obtain a full-journey flight freight rate combination result set, that is, conversion of the data in the OWD mode to data in an ITI mode is achieved through the method and the device, result data in the ITI mode is obtained, and then, aggregation operation is performed on the data which conforms to the ITI mode in the data to be aggregated and the full-journey flight freight rate combination result set to obtain and output all data in the ITI mode of a complete journey to a user, so that data combination of the user is not required any more, and user operation is simplified.
It should be noted that, for the working processes of each module, sub-module, and unit in this embodiment, please refer to the corresponding description in the above embodiments, which is not described herein again.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
An embodiment of the present invention provides a storage medium on which a program is stored, the program implementing the processing method when executed by a processor.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The present application also provides a computer program product, which, when being executed on a data processing device, is adapted to carry out the above-mentioned method steps.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means, or installed from a storage means, or installed from a ROM. The computer program, when executed by a processing device, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
Optionally, on the basis of the embodiments of the processing method and apparatus, another embodiment of the present invention provides an electronic device, including: a memory and a processor;
wherein the memory is used for storing programs;
the processor calls a program and is used to:
acquiring target data which accords with an OWD mode in data to be aggregated corresponding to a user request; the target data comprises a trip data set and a backhaul data set; the departure data set comprises a departure flight information set and a departure freight rate set; the backhaul data set comprises a backhaul flight information set and a backhaul freight rate set;
performing data cleaning operation on the target data to obtain data to be processed;
combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the data to be processed according to a preset combination rule to obtain a whole flight combination set, and combining the outbound freight rate corresponding to the outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to the backhaul flight information to obtain a whole flight freight rate combination result set; the whole-journey flight freight rate combination result in the whole-journey flight freight rate combination result set comprises a freight rate combination result corresponding to the departure flight information, the return flight information, the departure flight information and the return flight information;
and carrying out aggregation operation on the data which accords with the ITI mode in the data to be aggregated and the whole flight freight rate combination result set, and outputting a result obtained by the aggregation operation.
Further, performing data cleaning operation on the target data to obtain data to be processed, including:
acquiring a preset data screening rule, and screening intermediate data which accord with the preset data screening rule from the target data;
sequentially sequencing the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the intermediate data according to a preset sequencing rule to obtain a sequencing result of the outbound flight information and a sequencing result of the backhaul flight information;
and respectively screening a preset number of flight information from the sequencing result of the outbound flight information and the sequencing result of the return flight information, and determining the screened flight information as data to be processed.
Further, according to a preset ordering rule, sequentially ordering the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the intermediate data to obtain an ordering result of the outbound flight information and an ordering result of the backhaul flight information, including:
sequentially determining a outbound flight information set and a return flight information set in the intermediate data as a target flight information set;
acquiring flight types of all flight information in the target flight information set;
according to the flight type of the flight information, carrying out classification operation on each flight information in the target flight information set to obtain flight information subsets corresponding to different flight types;
and carrying out sequencing operation on the flight information in the flight information subset according to a preset flight information sequencing rule to obtain a sequencing result.
Further, according to a preset flight information sorting rule, performing sorting operation on the flight information in the flight information subset to obtain a sorting result, including:
according to a preset flight type sorting rule, sorting operation is carried out on each flight information subset;
ordering the flight information in each flight information subset according to flight attributes to obtain an initial ordering result;
and correcting the initial sequencing result according to a preset sequencing correction rule to obtain a sequencing result.
Further, according to a preset combination rule, combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the data to be processed to obtain a whole flight combination set, and combining the outbound freight rate corresponding to the outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to the backhaul flight information to obtain a whole flight freight rate combination result set, including:
acquiring at least one preset flight combination rule, and combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the to-be-processed data according to the preset flight combination rule to obtain a whole flight combination set; the whole-journey flight combination in the whole-journey flight combination set comprises at least one outbound flight and at least one return flight;
acquiring at least one preset freight rate combination rule, and combining the outbound freight rate corresponding to outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to backhaul flight information according to the preset freight rate combination rule to obtain a freight rate combination result corresponding to the whole flight combination;
combining the whole-journey flight combination and the freight rate combination result corresponding to the whole-journey flight combination to obtain a whole-journey flight freight rate combination result; the whole-journey flight freight rate combination result comprises a departure flight information, a return flight information, a freight rate combination result corresponding to the departure flight information and the return flight information;
and combining all the whole-journey flight freight rate combination results to obtain a whole-journey flight freight rate combination result set.
In this embodiment, for a user request, a processor obtains target data which conforms to an OWD mode in data to be aggregated corresponding to the user request, performs data cleaning operation on the target data to obtain data to be processed, combines flights and freight rates of outbound and return trips according to a preset combination rule to obtain a full-journey flight freight rate combination result set, that is, conversion of the data in the OWD mode to data in an ITI mode is achieved through the method and the device, result data in the ITI mode is obtained, and then, aggregation operation is performed on the data which conforms to the ITI mode in the data to be aggregated and the full-journey flight freight rate combination result set to obtain and output all data in the ITI mode of a complete journey to a user, so that data combination of the user is not required any more, and user operation is simplified.
According to one or more embodiments of the present disclosure, an embodiment of the present invention provides a processing method for a user request result in an NDC scenario, which is applied to a processor, and the processing method includes:
acquiring target data which accords with an OWD mode in data to be aggregated corresponding to a user request; the target data comprises a trip data set and a backhaul data set; the departure data set comprises a departure flight information set and a departure freight rate set; the backhaul data set comprises a backhaul flight information set and a backhaul freight rate set;
performing data cleaning operation on the target data to obtain data to be processed;
combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the data to be processed according to a preset combination rule to obtain a whole flight combination set, and combining the outbound freight rate corresponding to the outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to the backhaul flight information to obtain a whole flight freight rate combination result set; the whole-journey flight freight rate combination result in the whole-journey flight freight rate combination result set comprises a freight rate combination result corresponding to the departure flight information, the return flight information, the departure flight information and the return flight information;
and carrying out aggregation operation on the data which accords with the ITI mode in the data to be aggregated and the whole flight freight rate combination result set, and outputting a result obtained by the aggregation operation.
Further, performing data cleaning operation on the target data to obtain data to be processed, including:
acquiring a preset data screening rule, and screening intermediate data which accord with the preset data screening rule from the target data;
sequentially sequencing the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the intermediate data according to a preset sequencing rule to obtain a sequencing result of the outbound flight information and a sequencing result of the backhaul flight information;
and respectively screening a preset number of flight information from the sequencing result of the outbound flight information and the sequencing result of the return flight information, and determining the screened flight information as data to be processed.
Further, according to a preset ordering rule, sequentially ordering the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the intermediate data to obtain an ordering result of the outbound flight information and an ordering result of the backhaul flight information, including:
sequentially determining a outbound flight information set and a return flight information set in the intermediate data as a target flight information set;
acquiring flight types of all flight information in the target flight information set;
according to the flight type of the flight information, carrying out classification operation on each flight information in the target flight information set to obtain flight information subsets corresponding to different flight types;
and carrying out sequencing operation on the flight information in the flight information subset according to a preset flight information sequencing rule to obtain a sequencing result.
Further, according to a preset flight information sorting rule, performing sorting operation on the flight information in the flight information subset to obtain a sorting result, including:
according to a preset flight type sorting rule, sorting operation is carried out on each flight information subset;
ordering the flight information in each flight information subset according to flight attributes to obtain an initial ordering result;
and correcting the initial sequencing result according to a preset sequencing correction rule to obtain a sequencing result.
Further, according to a preset combination rule, combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the data to be processed to obtain a whole flight combination set, and combining the outbound freight rate corresponding to the outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to the backhaul flight information to obtain a whole flight freight rate combination result set, including:
acquiring at least one preset flight combination rule, and combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the to-be-processed data according to the preset flight combination rule to obtain a whole flight combination set; the whole-journey flight combination in the whole-journey flight combination set comprises at least one outbound flight and at least one return flight;
acquiring at least one preset freight rate combination rule, and combining the outbound freight rate corresponding to outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to backhaul flight information according to the preset freight rate combination rule to obtain a freight rate combination result corresponding to the whole flight combination;
combining the whole-journey flight combination and the freight rate combination result corresponding to the whole-journey flight combination to obtain a whole-journey flight freight rate combination result; the whole-journey flight freight rate combination result comprises a departure flight information, a return flight information, a freight rate combination result corresponding to the departure flight information and the return flight information;
and combining all the whole-journey flight freight rate combination results to obtain a whole-journey flight freight rate combination result set.
According to one or more embodiments of the present disclosure, an embodiment of the present invention provides a processing apparatus for a user request result in an NDC scenario, which is applied to a processor, and the processing apparatus includes:
the data acquisition module is used for acquiring target data which accords with an OWD (ontology of web page) mode in the data to be aggregated corresponding to the user request; the target data comprises a trip data set and a backhaul data set; the departure data set comprises a departure flight information set and a departure freight rate set; the backhaul data set comprises a backhaul flight information set and a backhaul freight rate set;
the data cleaning module is used for carrying out data cleaning operation on the target data to obtain data to be processed;
the data combination module is used for combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the data to be processed according to a preset combination rule to obtain a whole flight combination set, and combining the outbound freight rate corresponding to the outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to the backhaul flight information to obtain a whole flight freight rate combination result set; the whole-journey flight freight rate combination result in the whole-journey flight freight rate combination result set comprises a freight rate combination result corresponding to the departure flight information, the return flight information, the departure flight information and the return flight information;
and the data aggregation module is used for performing aggregation operation on the data which accords with the ITI mode in the data to be aggregated and the whole flight freight rate combination result set, and outputting a result obtained by the aggregation operation.
Further, the data cleansing module includes:
the first data screening submodule is used for acquiring a preset data screening rule and screening intermediate data meeting the preset data screening rule from the target data;
the data sorting submodule is used for sequentially carrying out sorting operation on the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the intermediate data according to a preset sorting rule to obtain a sorting result of the outbound flight information and a sorting result of the backhaul flight information;
and the second data screening submodule is used for screening a preset number of flight information from the sequencing result of the outbound flight information and the sequencing result of the return flight information respectively, and determining the screened flight information as the data to be processed.
Further, the data sorting sub-module includes:
a set determining unit, configured to sequentially determine a outbound flight information set and a backhaul flight information set in the intermediate data as a target flight information set;
the type acquisition unit is used for acquiring flight types of all flight information in the target flight information set;
the classification unit is used for performing classification operation on each flight information in the target flight information set according to the flight type of the flight information to obtain flight information subsets corresponding to different flight types;
and the ordering unit is used for carrying out ordering operation on the flight information in the flight information subset according to a preset flight information ordering rule to obtain an ordering result.
Further, the sorting unit is specifically configured to:
and according to a preset ordering rule, ordering the flight information subsets, ordering the flight information in each flight information subset according to flight attributes to obtain an initial ordering result, and according to a preset ordering correction rule, correcting the initial ordering result to obtain an ordering result.
According to one or more embodiments of the present disclosure, an embodiment of the present invention provides an electronic device, including: a memory and a processor;
wherein the memory is used for storing programs;
the processor calls a program and is used to:
acquiring target data which accords with an OWD mode in data to be aggregated corresponding to a user request; the target data comprises a trip data set and a backhaul data set; the departure data set comprises a departure flight information set and a departure freight rate set; the backhaul data set comprises a backhaul flight information set and a backhaul freight rate set;
performing data cleaning operation on the target data to obtain data to be processed;
combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the data to be processed according to a preset combination rule to obtain a whole flight combination set, and combining the outbound freight rate corresponding to the outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to the backhaul flight information to obtain a whole flight freight rate combination result set; the whole-journey flight freight rate combination result in the whole-journey flight freight rate combination result set comprises a freight rate combination result corresponding to the departure flight information, the return flight information, the departure flight information and the return flight information;
and carrying out aggregation operation on the data which accords with the ITI mode in the data to be aggregated and the whole flight freight rate combination result set, and outputting a result obtained by the aggregation operation.
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 processing method of a user request result in an NDC scene is applied to a processor, and the processing method comprises the following steps:
acquiring target data which accords with an OWD mode in data to be aggregated corresponding to a user request; the target data comprises a trip data set and a backhaul data set; the departure data set comprises a departure flight information set and a departure freight rate set; the backhaul data set comprises a backhaul flight information set and a backhaul freight rate set;
performing data cleaning operation on the target data to obtain data to be processed;
combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the data to be processed according to a preset combination rule to obtain a whole flight combination set, and combining the outbound freight rate corresponding to the outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to the backhaul flight information to obtain a whole flight freight rate combination result set; the whole-journey flight freight rate combination result in the whole-journey flight freight rate combination result set comprises a freight rate combination result corresponding to the departure flight information, the return flight information, the departure flight information and the return flight information;
and carrying out aggregation operation on the data which accords with the ITI mode in the data to be aggregated and the whole flight freight rate combination result set, and outputting a result obtained by the aggregation operation.
2. The processing method according to claim 1, wherein performing a data cleansing operation on the target data to obtain data to be processed comprises:
acquiring a preset data screening rule, and screening intermediate data which accord with the preset data screening rule from the target data;
sequentially sequencing the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the intermediate data according to a preset sequencing rule to obtain a sequencing result of the outbound flight information and a sequencing result of the backhaul flight information;
and respectively screening a preset number of flight information from the sequencing result of the outbound flight information and the sequencing result of the return flight information, and determining the screened flight information as data to be processed.
3. The processing method according to claim 2, wherein the sequentially performing a sorting operation on the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the intermediate data according to a preset sorting rule to obtain a sorting result of the outbound flight information and a sorting result of the backhaul flight information includes:
sequentially determining a outbound flight information set and a return flight information set in the intermediate data as a target flight information set;
acquiring flight types of all flight information in the target flight information set;
according to the flight type of the flight information, carrying out classification operation on each flight information in the target flight information set to obtain flight information subsets corresponding to different flight types;
and carrying out sequencing operation on the flight information in the flight information subset according to a preset flight information sequencing rule to obtain a sequencing result.
4. The processing method according to claim 3, wherein the performing a sorting operation on the flight information in the flight information subset according to a preset flight information sorting rule to obtain a sorting result comprises:
according to a preset flight type sorting rule, sorting operation is carried out on each flight information subset;
ordering the flight information in each flight information subset according to flight attributes to obtain an initial ordering result;
and correcting the initial sequencing result according to a preset sequencing correction rule to obtain a sequencing result.
5. The processing method according to claim 1, wherein according to a preset combination rule, combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the data to be processed to obtain a global flight combination set, and combining the outbound freight rate corresponding to the outbound flight information in the global flight combination set and the backhaul freight rate corresponding to the backhaul flight information to obtain a global flight freight rate combination result set, includes:
acquiring at least one preset flight combination rule, and combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the to-be-processed data according to the preset flight combination rule to obtain a whole flight combination set; the whole-journey flight combination in the whole-journey flight combination set comprises at least one outbound flight and at least one return flight;
acquiring at least one preset freight rate combination rule, and combining the outbound freight rate corresponding to outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to backhaul flight information according to the preset freight rate combination rule to obtain a freight rate combination result corresponding to the whole flight combination;
combining the whole-journey flight combination and the freight rate combination result corresponding to the whole-journey flight combination to obtain a whole-journey flight freight rate combination result; the whole-journey flight freight rate combination result comprises a departure flight information, a return flight information, a freight rate combination result corresponding to the departure flight information and the return flight information;
and combining all the whole-journey flight freight rate combination results to obtain a whole-journey flight freight rate combination result set.
6. An apparatus for processing a user request result in an NDC scenario, applied to a processor, the apparatus comprising:
the data acquisition module is used for acquiring target data which accords with an OWD (ontology of web page) mode in the data to be aggregated corresponding to the user request; the target data comprises a trip data set and a backhaul data set; the departure data set comprises a departure flight information set and a departure freight rate set; the backhaul data set comprises a backhaul flight information set and a backhaul freight rate set;
the data cleaning module is used for carrying out data cleaning operation on the target data to obtain data to be processed;
the data combination module is used for combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the data to be processed according to a preset combination rule to obtain a whole flight combination set, and combining the outbound freight rate corresponding to the outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to the backhaul flight information to obtain a whole flight freight rate combination result set; the whole-journey flight freight rate combination result in the whole-journey flight freight rate combination result set comprises a freight rate combination result corresponding to the departure flight information, the return flight information, the departure flight information and the return flight information;
and the data aggregation module is used for performing aggregation operation on the data which accords with the ITI mode in the data to be aggregated and the whole flight freight rate combination result set, and outputting a result obtained by the aggregation operation.
7. The processing device of claim 6, wherein the data cleansing module comprises:
the first data screening submodule is used for acquiring a preset data screening rule and screening intermediate data meeting the preset data screening rule from the target data;
the data sorting submodule is used for sequentially carrying out sorting operation on the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the intermediate data according to a preset sorting rule to obtain a sorting result of the outbound flight information and a sorting result of the backhaul flight information;
and the second data screening submodule is used for screening a preset number of flight information from the sequencing result of the outbound flight information and the sequencing result of the return flight information respectively, and determining the screened flight information as the data to be processed.
8. The processing apparatus as in claim 7 wherein the data ordering submodule comprises:
a set determining unit, configured to sequentially determine a outbound flight information set and a backhaul flight information set in the intermediate data as a target flight information set;
the type acquisition unit is used for acquiring flight types of all flight information in the target flight information set;
the classification unit is used for performing classification operation on each flight information in the target flight information set according to the flight type of the flight information to obtain flight information subsets corresponding to different flight types;
and the ordering unit is used for carrying out ordering operation on the flight information in the flight information subset according to a preset flight information ordering rule to obtain an ordering result.
9. The processing apparatus according to claim 8, wherein the sorting unit is specifically configured to:
and according to a preset ordering rule, ordering the flight information subsets, ordering the flight information in each flight information subset according to flight attributes to obtain an initial ordering result, and according to a preset ordering correction rule, correcting the initial ordering result to obtain an ordering result.
10. An electronic device, comprising: a memory and a processor;
wherein the memory is used for storing programs;
the processor calls a program and is used to:
acquiring target data which accords with an OWD mode in data to be aggregated corresponding to a user request; the target data comprises a trip data set and a backhaul data set; the departure data set comprises a departure flight information set and a departure freight rate set; the backhaul data set comprises a backhaul flight information set and a backhaul freight rate set;
performing data cleaning operation on the target data to obtain data to be processed;
combining the outbound flight information in the outbound flight information set and the backhaul flight information in the backhaul flight information set in the data to be processed according to a preset combination rule to obtain a whole flight combination set, and combining the outbound freight rate corresponding to the outbound flight information in the whole flight combination set and the backhaul freight rate corresponding to the backhaul flight information to obtain a whole flight freight rate combination result set; the whole-journey flight freight rate combination result in the whole-journey flight freight rate combination result set comprises a freight rate combination result corresponding to the departure flight information, the return flight information, the departure flight information and the return flight information;
and carrying out aggregation operation on the data which accords with the ITI mode in the data to be aggregated and the whole flight freight rate combination result set, and outputting a result obtained by the aggregation operation.
CN202011306516.0A 2020-11-19 2020-11-19 Method and related device for processing user request result in NDC (network data center) scene Pending CN112241476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011306516.0A CN112241476A (en) 2020-11-19 2020-11-19 Method and related device for processing user request result in NDC (network data center) scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011306516.0A CN112241476A (en) 2020-11-19 2020-11-19 Method and related device for processing user request result in NDC (network data center) scene

Publications (1)

Publication Number Publication Date
CN112241476A true CN112241476A (en) 2021-01-19

Family

ID=74175214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011306516.0A Pending CN112241476A (en) 2020-11-19 2020-11-19 Method and related device for processing user request result in NDC (network data center) scene

Country Status (1)

Country Link
CN (1) CN112241476A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113029175A (en) * 2021-03-11 2021-06-25 东莞职业技术学院 Fast path planning method considering two-way multi-path points

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882279A (en) * 2009-05-06 2010-11-10 赵一宁 Method for acquiring ticket source information and carrying out price comparison processing and application
CN107844611A (en) * 2017-12-15 2018-03-27 携程旅游网络技术(上海)有限公司 Multiple spot to multiple spot flight search method, system, equipment and storage medium
CN110309440A (en) * 2019-07-10 2019-10-08 中国民航信息网络股份有限公司 Ticket price searching method and relevant device
CN111383043A (en) * 2018-12-29 2020-07-07 携程旅游网络技术(上海)有限公司 Freight rate calculation method and system
US20200320153A1 (en) * 2019-04-02 2020-10-08 International Business Machines Corporation Method for accessing data records of a master data management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882279A (en) * 2009-05-06 2010-11-10 赵一宁 Method for acquiring ticket source information and carrying out price comparison processing and application
CN107844611A (en) * 2017-12-15 2018-03-27 携程旅游网络技术(上海)有限公司 Multiple spot to multiple spot flight search method, system, equipment and storage medium
CN111383043A (en) * 2018-12-29 2020-07-07 携程旅游网络技术(上海)有限公司 Freight rate calculation method and system
US20200320153A1 (en) * 2019-04-02 2020-10-08 International Business Machines Corporation Method for accessing data records of a master data management system
CN110309440A (en) * 2019-07-10 2019-10-08 中国民航信息网络股份有限公司 Ticket price searching method and relevant device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113029175A (en) * 2021-03-11 2021-06-25 东莞职业技术学院 Fast path planning method considering two-way multi-path points
CN113029175B (en) * 2021-03-11 2021-09-10 东莞职业技术学院 Fast path planning method considering two-way multi-path points

Similar Documents

Publication Publication Date Title
CN108475466B (en) System and method for matching and displaying service requests and available vehicles
AU2018388686B2 (en) A method and a computer system for providing a route or a route duration for a journey from a source location to a target location
US8014908B2 (en) Methods and systems for routing mobile vehicles
US8131574B2 (en) Air travel system and method for planning roundtrip flights using one way combinable fares
US20160321607A1 (en) Decision support tool for business rules management in a booking system
JP2020520506A (en) Dynamically Batched Service Provider and Service Request Assignments
US20140108663A1 (en) Control system for real-time complex resource allocation
US20170124489A1 (en) Non-Scheduled Chartered Transportation Reservation Environment
KR20210052499A (en) e-hailing service
US20150294238A1 (en) Travel planning system
CN107992494A (en) A kind of information providing method and device
CN108780554A (en) A kind of share-car method and system
CN105512739A (en) Method and system for online ticket booking
US20120123909A1 (en) Discovering and reserving travel solutions
CN109635980A (en) About vehicle order allocation method and system
TW202038182A (en) Flight schedule adjusting method, device, electronic device, and storage medium in which the method includes acquiring an adjusting parameter for a flight schedule and determining at least one target flight schedule adjusting solution according to the adjusting parameter
CA2759421A1 (en) Meeting location optimization using travel criteria and telepresence cost
CA2686586A1 (en) Improvements in or relating to searching techniques
US11210752B2 (en) Real time travel contingency service
US20140214715A1 (en) Scheduling system and method for distribution of perishable loads of pre-mixed concrete to multiple sites
US10600106B2 (en) Method of comparing goods or services from one or more websites
CN112241476A (en) Method and related device for processing user request result in NDC (network data center) scene
US20110225012A1 (en) System and Method of Travel Itinerary Creation
US20220405653A1 (en) Systems and Methods for Seamless Feedback Between Aviation Services and Multimodal Transportation Services
Fry et al. Demand driven dispatch and revenue management in a competitive network environment

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