A method and system for displaying ticket purchase scheme
By obtaining a variety of tag code information and using a tag database to display ticket purchase plans and tag search results, the problem of unsatisfied user personalized needs in the existing technology is solved and the user experience is improved.
Patent Information
- Application Number
- CN202010811882.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-13
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-08-13
AI Technical Summary
When existing airline official websites display ticket purchase plans, they only display them in text form and fail to meet the personalized needs of users, resulting in poor user service experience.
By obtaining tag code information including price prediction tag codes, passenger portrait tag codes, popular city tag codes, flight and airport information tag codes, and additional service information tag codes, the preset tag class database is used to determine the corresponding tag search results, and Ticket purchase plans and tag search results are fed back to users to meet their personalized needs.
It improves the user's service experience and meets the diverse needs of users by displaying personalized ticket purchase plans and related label information.
Smart Images

Figure CN111951077B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of civil aviation passenger transport, and in particular to a method and system for displaying a ticket purchase plan. Background Art
[0002] With the development of the Internet, users usually buy air tickets through the official website of airlines. When users buy air tickets on the official website of airlines, the official website of airlines will show users the corresponding ticket purchase plan.
[0003] Currently, airline official websites usually display ticket purchase plans to users in the form of text. However, the information content that text can carry is limited, and only cheap ticket purchase plans are recommended to users without considering the purchasing needs of different users. In other words, the ticket purchase plans displayed to users cannot meet the personalized needs of the users, resulting in a poor service experience for users. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a method and system for displaying ticket purchase plans to solve the problems that the current way of displaying ticket purchase plans to users cannot meet the personalized needs of users and the user service experience is poor.
[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0006] A first aspect of an embodiment of the present invention discloses a method for displaying a ticket purchase plan, the method comprising:
[0007] Obtaining a ticket purchase plan query request and tag code information, wherein the tag code information includes one or more of a price prediction tag code, a passenger profile tag code, a popular city tag code, a flight airport information tag code, an itinerary tag code, and an additional service information tag code;
[0008] Determine a ticket purchase plan that at least includes a fare result according to the ticket purchase plan query request;
[0009] Determine the tag search results corresponding to the tag code information by using a preset tag database and the ticket purchase plan, wherein the tag database includes: tag information corresponding to the price prediction tag code, the passenger portrait tag code, the popular city tag code, the flight airport information tag code, the itinerary tag code, and the additional service information tag code;
[0010] Feedback the tag search results and the ticket purchase plan to the user, and display the ticket purchase plan and the tag search results to the user.
[0011] Preferably, if the tag code information includes a price prediction tag code, the process of obtaining a tag search result corresponding to the price prediction tag code includes:
[0012] Obtain the itinerary type, origin, destination and departure date corresponding to the ticket purchase plan;
[0013] According to the itinerary type, the departure place, the destination and the departure date, a preset tag database is queried to obtain a price prediction result corresponding to the price prediction tag code.
[0014] Preferably, if the tag code information includes a popular city tag code, the process of obtaining a tag search result corresponding to the popular city tag code includes:
[0015] Obtain the origin and destination corresponding to the ticket purchase plan;
[0016] Using the priority of the source data in the preset master data table, the origin and the destination are matched, the source data that matches the origin and the destination and has the highest priority is determined, and matching source data is obtained, wherein the matching source data at least includes a subtable number, a first city tag of the origin and a second city tag of the destination;
[0017] Using the sub-table number, determining the sub-data table corresponding to the matching source data;
[0018] If the sub-data table does not contain a preset tag restriction condition, query a preset tag database according to the first city tag and the second city tag to obtain first city tag information corresponding to the first city tag and / or second city tag information of the second city tag pair;
[0019] If the sub-data table contains the tag restriction condition and the first city tag and the second city tag meet the tag restriction condition, query the tag database to obtain the first city tag information corresponding to the first city tag and / or the second city tag information of the second city tag pair.
[0020] Preferably, if the tag code information includes a flight airport information tag code, the process of obtaining a tag search result corresponding to the flight airport information tag code includes:
[0021] Obtain the origin and destination corresponding to the ticket purchase plan;
[0022] Determine the direct flights and direct flight schedules corresponding to the origin and destination;
[0023] A preset tag database is queried to obtain tag information related to the direct flight and the corresponding flight airport, wherein the flight airport tag information at least includes flight information of the direct flight in multiple display forms.
[0024] Preferably, if the tag code information includes an additional service information tag code, the process of obtaining a tag search result corresponding to the additional service information tag code includes:
[0025] Obtaining flight itinerary information corresponding to the ticket purchase plan;
[0026] A preset tag database is queried to obtain restriction information and service information corresponding to the flight itinerary information, wherein the restriction information and the service information are composed of icons and list-style text.
[0027] Preferably, if the tag code information includes a passenger portrait tag code and an itinerary tag code, the process of obtaining a tag search result corresponding to the passenger portrait tag code and the itinerary tag code includes:
[0028] Obtaining flight itinerary information corresponding to the ticket purchase plan;
[0029] A preset tag database is queried to obtain itinerary tag information and passenger portrait tag information corresponding to the flight itinerary information, wherein the itinerary tag information at least includes optimal route information, and the passenger portrait tag information at least includes passenger preference information.
[0030] A second aspect of an embodiment of the present invention discloses a system for displaying a ticket purchase solution, the system comprising:
[0031] An acquisition unit, used to acquire a ticket purchase plan query request and tag code information, wherein the tag code information includes one or more of a price prediction tag code, a passenger profile tag code, a popular city tag code, a flight airport information tag code, an itinerary tag code, and an additional service information tag code;
[0032] A first determining unit, configured to determine a ticket purchasing scheme including at least a fare result according to the ticket purchasing scheme query request;
[0033] A second determining unit is used to determine a tag search result corresponding to the tag code information by using a preset tag database and the ticket purchase plan, wherein the tag database includes tag information corresponding to the price prediction tag code, the passenger portrait tag code, the popular city tag code, the flight airport information tag code, the itinerary tag code, and the additional service information tag code;
[0034] A processing unit is used to feed back the tag search results and the ticket purchase plan to the user, and display the ticket purchase plan and the tag search results to the user.
[0035] Preferably, if the label code information includes a price prediction label code, the second determination unit for obtaining the label search result corresponding to the price prediction label code is specifically used to: obtain the itinerary type, departure place, destination and departure date corresponding to the ticket purchase plan, and query the preset label database according to the itinerary type, the departure place, the destination and the departure date to obtain the price prediction result corresponding to the price prediction label code.
[0036] Preferably, if the tag code information includes a popular city tag code, the second determining unit for obtaining a tag search result corresponding to the popular city tag code includes:
[0037] An acquisition module, used to acquire the origin and destination corresponding to the ticket purchase plan;
[0038] a matching module, configured to match the origin and the destination by using the priority of the source data in the preset master data table, determine the source data that matches the origin and the destination and has the highest priority, and obtain matching source data, wherein the matching source data at least includes a subtable number, a first city tag of the origin and a second city tag of the destination;
[0039] A determination module, configured to determine a sub-data table corresponding to the matching source data using the sub-table number;
[0040] an acquisition module, configured to query a preset tag database according to the first city tag and the second city tag to acquire first city tag information corresponding to the first city tag and / or second city tag information of the second city tag pair if the sub-data table does not have a preset tag restriction condition;
[0041] The acquisition module is further used to query the tag database to obtain the first city tag information corresponding to the first city tag and / or the second city tag information of the second city tag pair if the tag restriction condition exists in the sub-data table and the first city tag and the second city tag meet the tag restriction condition.
[0042] Preferably, if the label code information includes a flight airport information label code, the second determination unit for obtaining a label search result corresponding to the flight airport information label code is specifically used to: obtain the departure and destination corresponding to the ticket purchase plan, determine the direct flights and direct flight schedules corresponding to the departure and destination, query a preset label database, and obtain the direct flights and corresponding flight airport label information, wherein the flight airport label information at least includes flight information of the direct flight in multiple display forms.
[0043] Based on the above-mentioned embodiment of the present invention, a method and system for displaying a ticket purchase plan is provided. The method comprises: obtaining a ticket purchase plan query request and label code information containing more than one label code; determining a ticket purchase plan that at least contains a fare result according to the ticket purchase plan query request; determining a label search result corresponding to the label code information using a preset label class database and the ticket purchase plan; feeding back the label search result and the ticket purchase plan to the user, and displaying the ticket purchase plan and the label search result to the user. In this scheme, the user types in the label code information containing more than one label code while querying the ticket purchase plan. After determining the ticket purchase plan, the label class database and the ticket purchase plan are used to determine the label search result corresponding to the label code information, and the label search result and the ticket purchase plan are fed back to the user together. When displaying the ticket purchase plan to the user, the corresponding label search result is also displayed, thereby meeting the personalized needs of the user and improving the user's service experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0045] Figure 1 A flowchart of a method for displaying a ticket purchase solution provided by an embodiment of the present invention;
[0046] Figure 2 A flowchart of obtaining tag search results corresponding to popular city tag codes provided by an embodiment of the present invention;
[0047] Figure 3 A schematic diagram showing a ticket purchase solution provided by an embodiment of the present invention;
[0048] Figure 4 A structural block diagram of a system for displaying a ticket purchasing solution provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0051] From the background technology, we can know that currently, when airline official websites display ticket purchase plans to users, they only display ticket purchase plans in the form of text and only recommend cheap ticket purchase plans to users. The purchase needs of different users are not considered, and the personalized needs of users cannot be met, resulting in poor service experience for users.
[0052] Therefore, an embodiment of the present invention provides a method and system for displaying ticket purchasing plans. When a user queries for ticket purchasing plans, the user enters label code information containing more than one label code. The label database and the ticket purchasing plans are used to determine the label search results corresponding to the label code information. While displaying the ticket purchasing plans to the user, the corresponding label search results are also displayed to meet the user's personalized needs and provide the user with a service experience.
[0053] See also Figure 1 , showing a flow chart of a method for displaying a ticket purchase solution provided by an embodiment of the present invention, the display method comprising:
[0054] Step S101: Obtain a ticket purchase plan query request and label code information.
[0055] It should be noted that the label code information includes one or more of price prediction label codes, passenger portrait label codes, popular city label codes, flight and airport information label codes, itinerary label codes and additional service information label codes.
[0056] It can be understood that each tag corresponds to a tag code, for example, the popular city tag corresponds to the popular city tag code, and the passenger portrait tag code corresponds to the passenger portrait tag, that is, the tag is indicated by the tag code.
[0057] In the process of implementing step S101, when the user queries the ticket purchase plan (for example, through the official website of the airline), the user types in the tag (one or more) corresponding to the tag information that needs to be obtained. For example, if the user needs to obtain passenger portrait tag information, the user types in the passenger portrait tag. That is, when the user queries the ticket purchase plan and types in the tag to be obtained, the user obtains the ticket purchase plan query request and tag code information, and the tag code information includes the tag code corresponding to the tag that the user needs to obtain.
[0058] Step S102: According to the ticket purchase plan query request, determine a ticket purchase plan that at least includes a fare result.
[0059] In the specific implementation of step S102, the ticket purchasing plan required by the user is determined according to the obtained ticket purchasing plan query request, and the ticket purchasing plan at least includes flight information search results and fare results.
[0060] Step S103: using a preset tag database and ticket purchase plan, determine the tag search results corresponding to the tag code information.
[0061] It should be noted that a tag database is pre-set, and the tag database includes: tag information of price prediction tag codes, tag information of passenger portrait tag codes, tag information of popular city tag codes, tag information of flight and airport information tag codes, tag information of itinerary tag codes, and tag information of additional service information tag codes.
[0062] By pre-setting and loading the tag database, the time for users to query ticket purchase plans and obtain tag information corresponding to the tags is reduced.
[0063] It should be further explained that the tag data in the tag database is in the CSV file format, and the data structure is read into the memory to form a key-value pair. The data in the tag database is usually divided into: data linked to the number of flights in the pre-sales display stage, tag data related to the ticket purchase plan, itinerary tag data, and data in the pre-sales collection stage. Among them, the sources and processing methods of different types of data in the tag database are different.
[0064] For pre-sales display data linked to the number of flights, this type of data mainly comes from airline websites, press releases, social channels, travel blogs (websites), industry publications, traditional print publications, social media and suppliers.
[0065] For label data related to ticket purchase plans, this type of data comes from ATPCO (Airline Tariff Publishing Company). For data with high real-time nature, such as entertainment facilities in flights, it is necessary to update it at a high frequency (for example, 4 times a week) so that this type of data complies with the flight schedule published by OAG (official airline Guide). It is understandable that as flight time and equipment change, label data will also be refreshed in real time, and the validity period of label data is usually 330 days (just an example). For rule-based labels such as brand information labels, since the data of rule-based labels comes from ATPCO, the content in ATPCO will be displayed intuitively, and the data of rule-based labels is usually updated on a daily basis.
[0066] Itinerary tag data and data collected before sales usually come from analysis and collation files after industry data is aggregated. The update frequency and method of this type of data are updated according to the actual situation of each tag category, either in full or incremental mode.
[0067] In the process of implementing step S103, the ticket purchasing plan is used to query the label information corresponding to each label code in the label code information (the label code corresponding to the label information that the user needs to obtain) in the label database, and obtain the label search result corresponding to the label code information, that is, query the label database for the label information corresponding to each label that the user needs to obtain, and the label information obtained by the query is the label search result.
[0068] If the label code information contains a price prediction label code, the process of obtaining the label search result corresponding to the price prediction label code is: obtain the itinerary type, origin, destination and departure date corresponding to the ticket purchase plan, and query the preset label database according to the itinerary type, origin, destination and departure date to obtain the price prediction result corresponding to the price prediction label code.
[0069] It should be noted that the departure and destination of the ticket purchase plan have both city three-letter codes and airport three-letter codes. Each airport three-letter code is converted into a city three-letter code, and the CSV is parsed according to the constructed key-value pairs and stored in the tag database in sequence. The tag database includes multiple price prediction trend curves (i.e., price prediction results). The itinerary type, departure place, destination, and departure date of the ticket purchase plan are used as keywords. The four key values corresponding to the four keywords can lock a price prediction trend curve in the tag database.
[0070] It should be further explained that, since the departure and destination of the ticket purchase plan are both three-letter city codes, it is necessary to convert the three-letter city codes of the departure and destination into three-letter airport codes respectively. Since the prediction time point needs to be verified when making price predictions, the current date of the ticket purchase plan query (if the day before the current date) is used as a reference to predict the price within a preset time in the future (for example, within the next 7 days). When the user queries the ticket purchase plan later than the preset time point, the price within the preset time in the future is predicted based on the next day of the current date of the ticket purchase plan query.
[0071] The price prediction results can be used by airlines, that is, airlines can determine price fluctuations based on the price prediction results and thus price ticket plans in the pre-sales stage.
[0072] If the label code information includes a popular city label code, the process of obtaining the label search result corresponding to the popular city label code is as follows: using the preset main data table, sub-data table and ticket purchase plan, determine the first city label corresponding to the departure place and the second city label corresponding to the destination, query the label database, and obtain the first city label information corresponding to the first city label and / or the second city label information of the second city label pair.
[0073] It can be understood that the city label information involved above (first city label information and second city label information) is the city portrait of the corresponding city, and the content of the city portrait includes: islands, honeymoons, shopping, parent-child, visa-free, humanities and history, sea fishing, food, hot springs, beaches, hiking, cruise ships, surfing, diving, golf, temples, mountaineering, deserts and grasslands, etc.
[0074] If the tag code information contains a flight airport information tag code, the process of obtaining the tag search result corresponding to the flight airport information tag code is: obtaining the departure and destination corresponding to the ticket purchase plan, determining the direct flights and direct flight schedules corresponding to the departure and destination, querying the tag database, and obtaining the direct flights and corresponding flight airport tag information. The flight airport tag information at least includes flight information of direct flights in multiple display forms.
[0075] It should be noted that the flight airport label information that different airline users need to obtain covers different origins, destinations and airlines. For example, an airline user needs the flight airport label information to include whether there is a direct flight, seat information on the flight, aircraft information, etc.
[0076] Among them, the seat information includes the actual seat type in each sub-cabin in each cabin of the aircraft. The seat information also includes quality, legroom, pitch angle, bandwidth, flatness and type.
[0077] Aircraft information includes: cabin pressure, window size, aircraft layout (cabin configuration and other information), Wi-Fi, entertainment facilities, power information, food information and beverage information, etc.
[0078] It should be further explained that the flight airport tag information is information calculated in real time. Each request segment containing a set of origins and destinations corresponds to a direct flight and a direct flight schedule. That is, if the flight airport tag entered by the user contains multiple sets of origins and destinations, the direct flights and direct flight schedules corresponding to each set of origins and destinations are calculated separately. Among them, the range of airlines covered by the flight data information corresponding to the direct flights is determined according to the airline field corresponding to the specified scheme in the request to obtain the flight airport tag, and the remaining information is determined according to the specific flight. When calculating the direct flights and direct flight schedules corresponding to each set of origins and destinations, the calculation is performed in the order of each set of origins and destinations. If the airline corresponding to the origin and destination does not have direct flights, NULL is returned. If the request to obtain direct flights and direct flight schedules lacks the allowed airline field corresponding to the specified scheme, NA is returned.
[0079] The flight airport label information is read from the label database through a preset function, and the flight airport label information is imported into the result message for display. The display format is multimedia information display methods such as pictures, videos and 360-degree panoramic views. The aforementioned multimedia information display methods are brought out through URL connections.
[0080] The direct flight schedules are aggregated and merged, and the flight schedules within the range of x (integer) days before and y (integer) days after the user's travel date are calculated and displayed in the request for display, such as displaying the flight schedules one week before the travel date (x=0, y=7).
[0081] When displaying flight airport label information, users can be informed through pictures, videos, 360-degree panoramic views, matrices, and flight cabin breakdown structure diagrams: the services and hardware facilities included by the airline, and the airline's popular routes, optimal routes, preferred direct flights and other information can be recommended to the user.
[0082] If the tag code information contains an additional service information tag code, the process of obtaining the tag search result corresponding to the additional service information tag code is as follows: obtaining the flight itinerary information corresponding to the ticket purchase plan, wherein the flight itinerary information is divided into plan-type tags and flight-type tags, querying the tag database, obtaining the restriction information and service information corresponding to the flight itinerary information, and the restriction information and service information are composed of icons and list-style text. That is, in the form of icons and list-style text, the restrictions in the ticket purchase plan and the services that the user can enjoy are displayed to the user, and the ATPCO refund and change information is converted into a matrix mode for different brand models, thereby achieving the purpose of reducing messages and improving readability.
[0083] If the label code information includes a passenger portrait label code and an itinerary label code, the process of obtaining the label search results corresponding to the passenger portrait label code and the itinerary label code is: obtaining the flight itinerary information corresponding to the ticket purchase plan, querying the label database, obtaining the itinerary label information and passenger portrait label information corresponding to the flight itinerary information, the itinerary label information at least includes the optimal route information and high-quality transfer points, etc., and the passenger portrait label information at least includes passenger preference information.
[0084] It is understandable that the passenger portrait label information provides customer positioning information, which includes but is not limited to: the proportion of business passengers, the proportion of tourist passengers, the proportion of child passengers, the proportion of male passengers, the proportion of female passengers, the proportion of elderly passengers, the proportion of middle-aged passengers and the proportion of group passengers.
[0085] In a specific implementation, different components can be set and used to obtain corresponding tag search results, such as: using the price prediction tag component to obtain price prediction results, using the passenger portrait tag component to obtain passenger portrait tag information, using the popular city tag component to obtain the first city tag information and / or the second city tag information, using the flight airport tag component to obtain flight information, using the itinerary information tag component to obtain itinerary tag information, and using the attachment service data tag component to obtain restriction information and service information. Among them, the flight airport tag component refines the content of the flight information based on the flight granularity and cabin granularity.
[0086] Step S104: Feedback the tag search results and ticket purchase plan to the user, and display the ticket purchase plan and tag search results to the user.
[0087] In the specific implementation process of step S104, the tag search results and the ticket purchase plan are returned to the user together, and the ticket purchase plan and the tag search results are displayed to the user.
[0088] In an embodiment of the present invention, when searching for a ticket purchase plan, the user enters label code information containing more than one label code. After determining the ticket purchase plan, the label database and the ticket purchase plan are used to determine the label search results corresponding to the label code information, and the label search results and the ticket purchase plan are fed back to the user together. While displaying the ticket purchase plan to the user, the label search results are also displayed to meet the user's personalized needs and improve the user's service experience.
[0089] The above embodiments of the present invention Figure 1 For the process of obtaining the tag search results corresponding to the popular city tag codes involved in step S103, see Figure 2 , shows a flowchart of obtaining tag search results corresponding to hot city tag codes provided by an embodiment of the present invention, including the following steps:
[0090] Step S201: Obtain the origin and destination corresponding to the ticket purchase plan.
[0091] Step S202: using the priority of the source data in the preset master data table, matching the origin and the destination, determining the source data that matches the origin and the destination and has the highest priority, and obtaining the matching source data.
[0092] It should be noted that a master data table is preset, and the keywords of the source data in the master data table are the origin and the destination, and the origin and the destination of the source data can be empty.
[0093] In the specific implementation of step S202, the origin and destination corresponding to the ticket purchase plan need to be matched with the keywords in the main data table. When the origin and destination corresponding to the ticket purchase plan match multiple source data in the main data table, the source data matched is taken from high to low according to the priority of the matched source data. When the source data with high priority is matched, the source data is no longer taken downward. When the source data with the same priority is matched, the source data with the same priority is output together. That is, after matching the origin and destination of the ticket purchase plan, the output matching source data is: the source data that matches the origin and destination and has the highest priority.
[0094] In order to better explain the matching process between the source data in the master data table and the origin and destination of the ticket purchase plan, Table 1 is used as an example.
[0095] Table 1:
[0096]
[0097]
[0098] It can be understood that each source data in the main data table includes a corresponding sub-table number, and each sub-table number corresponds to a sub-data table, that is, the main data table and the sub-data table establish a mapping relationship through the sub-table number.
[0099] It should be noted that the obtained matching source data at least includes the subtable number, the first city tag of the origin and the second city tag of the destination. It can be understood that the city tag included in the source data can be empty.
[0100] Step S203: using the sub-table number, determine the sub-data table corresponding to the matching source data.
[0101] Step S204: Determine whether the sub-data table has a corresponding tag restriction condition. If yes, execute step S205; if no, execute step S206.
[0102] It should be noted that there may be corresponding label restrictions on the sub-data table. When the sub-table number corresponding to a source data in the main data table is empty or there is no sub-data table corresponding to the sub-table number, it is determined that the sub-data table corresponding to the sub-table number has no label restrictions.
[0103] In the specific implementation of step S204, it is determined whether the sub-data table has corresponding label restriction conditions. If the sub-data table does not have label restriction conditions, step S206 is executed. If the sub-data table has label restriction conditions, step S205 is executed.
[0104] Step S205: Determine whether the first city tag and the second city tag meet the tag restriction condition. If so, execute step S206; if not, execute step S207.
[0105] In the specific implementation of step S205, it is determined whether the first city tag and the second city tag meet the tag restriction condition. For a city tag that meets the tag restriction condition, the city tag is output; for a city tag that does not meet the tag restriction condition, the city tag is not output.
[0106] It should be noted that if the tag restriction condition is a travel date restriction condition, it can be determined whether the travel date restriction condition is met based on the query time of the ticket purchase plan and the local time of the sales place of the ticket purchase plan, such as determining whether the departure time of the origin is within the travel time range.
[0107] Step S206: query the tag database to obtain the first city tag information corresponding to the first city tag and / or the second city tag information of the second city tag pair.
[0108] It should be noted that, in the tag database, not every city tag has corresponding city tag information. In the specific implementation of step S206, the tag database is queried to obtain the first city tag information corresponding to the first city tag and / or the second city tag information of the second city tag pair. That is, only when the city tag information corresponding to any city tag (the first city tag or the second city tag) is obtained, the obtained city tag information is output.
[0109] If the first city tag information and the second city tag information cannot be obtained, the corresponding city tag information will not be fed back.
[0110] Step S207: Do not output the first city label and the second city label.
[0111] It should be noted that when airlines process ticket purchase plans and tag search results, they usually divide it into two stages: pre-sale collection and pre-sale display. Figure 3, showing a schematic diagram of a ticket purchase solution provided by an embodiment of the present invention.
[0112] In the pre-sale collection stage (stage 1), the price prediction results of the price prediction tag, the passenger profile tag information of the passenger profile tag, and the city tag information of the popular city tag are displayed through the airline's front-end interface.
[0113] In the pre-sales display stage (Stage 2), the flight information of the flight airport information label, the restriction information and service information of the additional service information label and the itinerary label information of the itinerary label are displayed through the airline's front-end interface, so as to carry out differentiated sales and make purchase recommendations to passengers.
[0114] Corresponding to the method for displaying a ticket purchase solution provided in the above embodiment of the present invention, see Figure 4 , the embodiment of the present invention also provides a structural block diagram of a display system for a ticket purchase solution, the display system includes: an acquisition unit 401, a first determination unit 402, a second determination unit 403 and a processing unit 404;
[0115] The acquisition unit 401 is used to obtain a ticket purchase plan query request and label code information, wherein the label code information includes one or more of a price prediction label code, a passenger portrait label code, a popular city label code, a flight airport information label code, an itinerary label code and an additional service information label code.
[0116] The first determining unit 402 is used to determine a ticket purchasing plan that at least includes a fare result according to the ticket purchasing plan query request.
[0117] The second determination unit 403 is used to use a preset tag database and a ticket purchase plan to determine the tag search results corresponding to the tag code information. The tag database includes: tag information corresponding to price prediction tag codes, passenger portrait tag codes, popular city tag codes, flight airport information tag codes, itinerary tag codes and additional service information tag codes.
[0118] In a specific implementation, if the label code information includes a price prediction label code, the second determination unit 403 for obtaining the label search result corresponding to the price prediction label code is specifically used to: obtain the itinerary type, departure place, destination and departure date corresponding to the ticket purchase plan, and query the preset label database according to the itinerary type, departure place, destination and departure date to obtain the price prediction result corresponding to the price prediction label code.
[0119] In another specific implementation, if the tag code information includes a flight airport information tag code, the second determination unit 403 for obtaining a tag search result corresponding to the flight airport information tag code is specifically used to: obtain the departure and destination corresponding to the ticket purchase plan, determine the direct flights and direct flight schedules corresponding to the departure and destination, query a preset tag database, and obtain the direct flights and corresponding flight airport tag information, where the flight airport tag information at least includes flight information of direct flights in multiple display forms.
[0120] In another specific implementation, if the label code information includes an additional service information label code, the second determination unit 403 for obtaining the label search result corresponding to the additional service information label code is specifically used to: obtain the flight itinerary information corresponding to the ticket purchase plan, query the preset label database, and obtain the restriction information and service information corresponding to the flight itinerary information, wherein the restriction information and service information are composed of icons and list text.
[0121] In another specific implementation, if the label code information includes a passenger portrait label code and an itinerary label code, the second determination unit 403 for obtaining label search results corresponding to the passenger portrait label code and the itinerary label code is specifically used to: obtain flight itinerary information corresponding to the ticket purchase plan, query a preset label database, obtain itinerary label information and passenger portrait label information corresponding to the flight itinerary information, the itinerary label information at least includes the optimal route information, and the passenger portrait label information at least includes the passenger preference information.
[0122] The processing unit 404 is used to feed back the tag search results and the ticket purchase plan to the user, and display the ticket purchase plan and the tag search results to the user.
[0123] Preferably, combined Figure 4 As shown in the content, if the tag code information includes a hot city tag code, the second determination unit 403 for obtaining a tag search result corresponding to the hot city tag code includes: an acquisition module, a matching module, a determination module and an acquisition module, and the execution principle of each module is as follows:
[0124] The acquisition module is used to obtain the origin and destination corresponding to the ticket purchase plan.
[0125] The matching module is used to match the origin and destination by using the priority of the source data in the preset main data table, determine the source data that matches the origin and destination and has the highest priority, and obtain matching source data. The matching source data at least includes the subtable number, the first city label of the origin and the second city label of the destination.
[0126] The determination module is used to determine the sub-data table corresponding to the matching source data by using the sub-table number.
[0127] The acquisition module is used to query the preset tag database according to the first city tag and the second city tag to obtain the first city tag information corresponding to the first city tag and / or the second city tag information of the second city tag pair if there is no preset tag restriction condition in the sub-data table.
[0128] The acquisition module is also used to query the tag database to obtain the first city tag information corresponding to the first city tag and / or the second city tag information of the second city tag pair if there is a tag restriction condition in the sub-data table and the first city tag and the second city tag meet the tag restriction condition.
[0129] To summarize, an embodiment of the present invention provides a method and system for displaying ticket purchasing plans. When querying ticket purchasing plans, a user enters label code information containing more than one label code. After determining the ticket purchasing plan, the label database and the ticket purchasing plan are used to determine the label search results corresponding to the label code information, and the label search results and the ticket purchasing plan are fed back to the user together. While displaying the ticket purchasing plan to the user, the label search results are also displayed to meet the user's personalized needs and improve the user's service experience.
[0130] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0131] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0132] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for displaying a ticket purchase plan, characterized in that: The method comprises: Obtaining a ticket purchase plan query request and tag code information, wherein the tag code information includes one or more of a price prediction tag code, a passenger profile tag code, a popular city tag code, a flight airport information tag code, an itinerary tag code, and an additional service information tag code, wherein the tag is a tag corresponding to the tag information entered by the user; Determine a ticket purchase plan that at least includes a fare result according to the ticket purchase plan query request; Using a preset tag database and the ticket purchase plan, determine the tag search results corresponding to the tag code information, wherein the tag database includes: tag information corresponding to the price prediction tag code, the passenger portrait tag code, the popular city tag code, the flight airport information tag code, the itinerary tag code, and the additional service information tag code; wherein the flight airport tag information is information calculated in real time, and each flight airport tag information includes a set of origin and destination request segments corresponding to a direct flight and a direct flight schedule, and the airline range covered by the flight data information corresponding to the direct flight is determined according to the airline field corresponding to the specified plan in the request for obtaining the flight airport tag; Summarize and merge the direct flight schedules, and display the flight schedules of the direct flight schedules within a preset time period; Read tag information from the tag database, and import the tag information into the result message for display in the form of pictures, videos and 360-degree panoramic views; Feeding back the tag search results and the ticket purchase plan to the user, and displaying the ticket purchase plan and the tag search results to the user; If the tag code information includes a popular city tag code, the process of obtaining a tag search result corresponding to the popular city tag code includes: Obtain the origin and destination corresponding to the ticket purchase plan; Using the priority of the source data in the preset master data table, the origin and the destination are matched, the source data that matches the origin and the destination and has the highest priority is determined, and matching source data is obtained, wherein the matching source data at least includes a subtable number, a first city tag of the origin and a second city tag of the destination; Using the sub-table number, determining the sub-data table corresponding to the matching source data; Determine whether the sub-data table has a corresponding tag restriction condition; If the sub-data table does not have a preset tag restriction condition, querying a preset tag database according to the first city tag and the second city tag to obtain first city tag information corresponding to the first city tag and / or second city tag information corresponding to the second city tag; If the sub-data table has a corresponding tag restriction condition, determining whether the first city tag and the second city tag meet the tag restriction condition; If the first city tag and the second city tag meet the tag restriction condition, query the tag database to obtain first city tag information corresponding to the first city tag and / or second city tag information corresponding to the second city tag; If the first city tag and the second city tag do not meet the tag restriction condition, the first city tag and the second city tag are not output; Among them, the tag data format in the tag database is a CSV file format, and the tag database contains data related to the number of flights in the pre-sales display link, tag data related to the ticket purchase plan, itinerary tag data and data in the pre-sales collection stage. The data related to the number of flights in the pre-sales display link comes from at least one of: airline websites, press releases, social channels, travel blogs, industry publications, traditional print publications, social media and suppliers; the tag data related to the ticket purchase plan comes from the ATPCO system of the airline fare publishing company and is updated on a daily basis.
2. The method according to claim 1, characterized in that If the label code information includes a price prediction label code, the process of obtaining a label search result corresponding to the price prediction label code includes: Obtain the itinerary type, origin, destination and departure date corresponding to the ticket purchase plan; According to the itinerary type, the departure place, the destination and the departure date, a preset tag database is queried to obtain a price prediction result corresponding to the price prediction tag code.
3. The method according to claim 1, characterized in that If the tag code information includes a flight airport information tag code, the process of obtaining a tag search result corresponding to the flight airport information tag code includes: Obtain the origin and destination corresponding to the ticket purchase plan; Determine the direct flights and direct flight schedules corresponding to the origin and destination; A preset tag database is queried to obtain tag information related to the direct flight and the corresponding flight airport, wherein the flight airport tag information at least includes flight information of the direct flight in multiple display forms.
4. The method according to claim 1, characterized in that: If the tag code information includes an additional service information tag code, the process of obtaining a tag search result corresponding to the additional service information tag code includes: Obtaining flight itinerary information corresponding to the ticket purchase plan; A preset tag database is queried to obtain restriction information and service information corresponding to the flight itinerary information, wherein the restriction information and the service information are composed of icons and list-style text.
5. The method according to claim 1, characterized in that If the tag code information includes a passenger profile tag code and an itinerary tag code, the process of obtaining a tag search result corresponding to the passenger profile tag code and the itinerary tag code includes: Obtaining flight itinerary information corresponding to the ticket purchase plan; A preset tag database is queried to obtain itinerary tag information and passenger portrait tag information corresponding to the flight itinerary information, wherein the itinerary tag information at least includes optimal route information, and the passenger portrait tag information at least includes passenger preference information.
6. A ticket purchase scheme display system, characterized in that: The system comprises: an acquisition unit, used to acquire a ticket purchase plan query request and label code information, wherein the label code information includes one or more of a price prediction label code, a passenger profile label code, a popular city label code, a flight airport information label code, an itinerary label code, and an additional service information label code, wherein the label is a label corresponding to the label information entered by the user; A first determining unit, configured to determine a ticket purchasing scheme including at least a fare result according to the ticket purchasing scheme query request; A second determination unit is used to determine the tag search result corresponding to the tag code information by using a preset tag database and the ticket purchase plan, wherein the tag database includes: tag information corresponding to the price prediction tag code, the passenger portrait tag code, the popular city tag code, the flight airport information tag code, the itinerary tag code and the additional service information tag code; wherein the flight airport tag information is information calculated in real time, each flight airport tag information includes a set of request segments of the origin and the destination corresponding to a direct flight and a direct flight schedule, and the airline range covered by the flight data information corresponding to the direct flight is determined according to the airline field corresponding to the specified plan in the request for obtaining the flight airport tag; A processing unit, configured to feed back the tag search results and the ticket purchase plan to the user, and display the ticket purchase plan and the tag search results to the user; If the tag code information includes a popular city tag code, the second determining unit for obtaining a tag search result corresponding to the popular city tag code includes: An acquisition module, used to acquire the origin and destination corresponding to the ticket purchase plan; a matching module, configured to match the origin and the destination by using the priority of the source data in the preset master data table, determine the source data that matches the origin and the destination and has the highest priority, and obtain matching source data, wherein the matching source data at least includes a subtable number, a first city tag of the origin and a second city tag of the destination; A determination module, configured to determine the sub-data table corresponding to the matching source data by using the sub-table number; and determine whether the sub-data table has a corresponding label restriction condition; an acquisition module, configured to query a preset tag database according to the first city tag and the second city tag to acquire first city tag information corresponding to the first city tag and / or second city tag information corresponding to the second city tag if the sub-data table does not have a preset tag restriction condition; The acquisition module is further configured to determine whether the first city tag and the second city tag meet the tag restriction condition if the sub-data table has a corresponding tag restriction condition; if the first city tag and the second city tag meet the tag restriction condition, query the tag database to obtain the first city tag information corresponding to the first city tag and / or the second city tag information corresponding to the second city tag; if the first city tag and the second city tag do not meet the tag restriction condition, not output the first city tag and the second city tag; The system is also used to aggregate and merge the direct flight schedules and display the flight schedules of the direct flight schedules within a preset time period; read the tag information from the tag database, import the tag information into the result message for display, and the display form is a picture, a video and a 360-degree panoramic view; Among them, the tag data format in the tag database is a CSV file format, and the tag database contains data related to the number of flights in the pre-sales display link, tag data related to the ticket purchase plan, itinerary tag data and data in the pre-sales collection stage. The data related to the number of flights in the pre-sales display link comes from at least one of: airline websites, press releases, social channels, travel blogs, industry publications, traditional print publications, social media and suppliers; the tag data related to the ticket purchase plan comes from the ATPCO system of the airline fare publishing company and is updated on a daily basis.
7. The system according to claim 6, characterized in that If the label code information includes a price prediction label code, the second determination unit for obtaining the label search result corresponding to the price prediction label code is specifically used to: obtain the itinerary type, departure place, destination and departure date corresponding to the ticket purchase plan, and query the preset label database according to the itinerary type, the departure place, the destination and the departure date to obtain the price prediction result corresponding to the price prediction label code.
8. The system according to claim 6, characterized in that If the label code information includes a flight airport information label code, the second determination unit for obtaining a label search result corresponding to the flight airport information label code is specifically used to: obtain the departure and destination corresponding to the ticket purchase plan, determine the direct flights and direct flight schedules corresponding to the departure and destination, query a preset label database, and obtain the direct flights and corresponding flight airport label information, wherein the flight airport label information at least includes flight information of the direct flight in multiple display forms.
