Air ticket information generation method and device, electronic equipment and storage medium
By obtaining and analyzing the air ticket query requests and historical data of the target customers, building customer portraits, and generating target air ticket combinations, the problem of low accuracy of air ticket combination products in the existing technology is solved, and higher personalized services and value-added service sales are achieved.
Patent Information
- Application Number
- CN202411792292.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-04
AI Technical Summary
The air ticket combination products recommended for users in the prior art match the needs and preferences of users, resulting in a low accuracy of the generated air ticket combination products.
By obtaining the target customer's air ticket query request, retrieving the air ticket information that meets the requirements from the air ticket database, obtaining the customer's historical data and behavioral data, building a customer portrait, and generating a target air ticket combination, including air ticket price information and value-added service information based on the customer portrait and air ticket query results.
It improves the recommendation accuracy of air ticket combination products, meets customers' personalized needs, enhances customer experience, and provides airlines with opportunities for value-added service sales.
Smart Images

Figure CN119760224A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data information processing, and in particular to a method, device, electronic device and storage medium for generating air ticket information. Background Art
[0002] In today's highly competitive aviation industry, passengers' needs are becoming increasingly diverse. They no longer expect only a safe and fast flight experience, but more personalized and considerate services. At present, most airlines use the basic brand ticket sales model. The basic brand only contains separate ticket products. When passengers need to purchase other additional products, they need to add the products they want to buy to the shopping cart after selecting the basic brand ticket, and then submit the order in a unified manner to complete the payment and ticket issuance. Some airlines also combine air tickets with some popular additional products based on their own conditions to form air ticket combination products for sale. However, simply combining air tickets and additional products to generate air ticket combination products is difficult to meet the actual needs of passengers. Therefore, airlines need to analyze the preferences of each passenger, so as to recommend suitable air ticket combination products for each passenger, so as to achieve accurate recommendations and personalized services.
[0003] Currently, no effective solution has been proposed to the problem that the air ticket combination products recommended to users in the related art have a low match with the users' needs and preferences, resulting in low accuracy of the generated air ticket combination products. Summary of the invention
[0004] The main purpose of the present application is to provide a method, device, electronic device and storage medium for generating air ticket information, so as to solve the problem in the related art that the air ticket combination products recommended to users have a low match with the users' needs and preferences, resulting in low accuracy of the generated air ticket combination products.
[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for generating air ticket information is provided. The method comprises: obtaining an air ticket query request input by a target customer, wherein the air ticket query request at least includes departure place information, destination information and departure time information; retrieving air ticket information that meets the requirements from an air ticket database based on the air ticket query request to obtain an air ticket query result; obtaining a customer portrait corresponding to the target customer, and generating a target air ticket combination based on the customer portrait and the air ticket query result, wherein the target air ticket combination at least includes: air ticket price information and value-added service information corresponding to the customer.
[0006] Furthermore, generating a target air ticket combination based on the customer portrait and the air ticket query result includes: searching for a brand code that matches the type of the customer portrait from a brand fare matching table by analyzing the customer portrait; based on the brand code, retrieving value-added service information associated with the brand code from a brand rights matching table, wherein the brand rights matching table records the correspondence between different brand codes and various value-added service information; generating a target air ticket combination based on the air ticket query result and the value-added service information.
[0007] Furthermore, before obtaining the customer portrait corresponding to the target customer, the method also includes: obtaining historical data information of the target customer, wherein the historical data information at least includes: historical ticket purchase records, browsing behavior information, and preference information corresponding to the target customer; preprocessing the historical data information to obtain preprocessed data information; training a machine learning model based on the preprocessed data information to obtain a target model.
[0008] Furthermore, obtaining a customer portrait corresponding to the target customer includes: when it is detected that the target customer triggers an air ticket query request, collecting behavior data information of the target customer; inputting the behavior data information into a target model, and outputting a customer portrait corresponding to the target customer.
[0009] Furthermore, based on the ticket query results and the value-added service information, generating a target ticket combination includes: determining the basic ticket price for each cabin class in each route based on the ticket query results; determining the price information corresponding to the additional services in the value-added service information; determining the original total ticket price information based on the basic ticket price and the price information; dynamically adjusting the original total ticket price information based on the customer portrait to obtain the adjusted total ticket price information; and using the adjusted total ticket price information as the ticket price information in the target ticket combination.
[0010] Furthermore, the method also includes: when it is detected that the target customer triggers an air ticket query request, obtaining the brand air ticket information corresponding to the air ticket query request, and displaying the brand air ticket information; after using the adjusted total fare information as the fare information in the target air ticket combination, the method also includes: displaying the adjusted total fare information and the brand air ticket information in parallel.
[0011] Furthermore, the method also includes: if it is detected that the target customer triggers an upgrade request, adjusting the adjusted total fare information based on the target customer portrait to obtain target total fare information, wherein the target total fare information is not lower than the adjusted total fare information.
[0012] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a device for generating air ticket information is provided. The device comprises: a first acquisition unit, used to acquire an air ticket query request input by a target customer, wherein the air ticket query request at least includes departure place information, destination information and departure time information; a retrieval unit, used to retrieve air ticket information that meets the requirements from an air ticket database based on the air ticket query request, and obtain an air ticket query result; a second acquisition unit, used to acquire a customer portrait corresponding to the target customer, and generate a target air ticket combination based on the customer portrait and the air ticket query result, wherein the target air ticket combination at least includes: air ticket price information and value-added service information corresponding to the customer.
[0013] Furthermore, the second acquisition unit includes: a first retrieval module, used to search for a brand code that matches the type of customer portrait from a brand fare matching table by analyzing the customer portrait, wherein the brand code is used to uniquely identify different brand air ticket packages; a second retrieval module, used to retrieve value-added service information associated with the brand air ticket package from a brand rights matching table based on the brand code, wherein the brand rights matching table records the correspondence between different brand air ticket packages and various value-added service information; a generation module, used to generate a target air ticket combination based on the air ticket query result and the value-added service information.
[0014] Furthermore, the device also includes: a third acquisition unit, used to obtain historical data information of the target customer before obtaining the customer portrait corresponding to the target customer, wherein the historical data information at least includes: historical ticket purchase records, browsing behavior information, and preference information corresponding to the target customer; a preprocessing unit, used to preprocess the historical data information to obtain preprocessed data information; and a training unit, used to train a machine learning model based on the preprocessed data information to obtain a target model.
[0015] Furthermore, the third acquisition unit includes: a collection module, which is used to collect behavior data information of the target customer when it is detected that the target customer triggers a ticket query request; an output module, which is used to input the behavior data information into the target model and output a customer portrait corresponding to the target customer.
[0016] Furthermore, the second acquisition unit includes: a first determination module, used to determine the basic fare of each cabin class in each route based on the air ticket query result; a second determination module, used to determine the price information corresponding to the additional service in the value-added service information; a third determination module, used to determine the original total fare information based on the basic fare and the price information; an adjustment module, used to dynamically adjust the original total fare information based on the customer portrait to obtain the adjusted total fare information; and use the adjusted total fare information as the fare information in the target air ticket combination.
[0017] Furthermore, the device also includes: a first display unit, which is used to obtain the brand ticket information corresponding to the ticket query request when it is detected that the target customer triggers the ticket query request, and display the brand ticket information; the device also includes: a second display unit, which is used to use the adjusted total ticket price information as the ticket price information in the target ticket combination, and then display the adjusted total ticket price information in parallel with the brand ticket information.
[0018] Furthermore, the device also includes: an adjustment unit, which is used to adjust the adjusted total fare information according to the target customer portrait to obtain target total fare information if it is detected that the target customer triggers an upgrade request, wherein the target total fare information is not lower than the adjusted total fare information.
[0019] According to another aspect of the present application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the methods for generating air ticket information.
[0020] According to another aspect of the present application, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include a method for executing any one of the methods for generating air ticket information.
[0021] According to another aspect of the present application, a computer program product is provided, comprising computer instructions, which implement the steps of any one of the above-mentioned methods for generating air ticket information when executed by a processor.
[0022] In an embodiment of the present application, by obtaining an air ticket query request input by a target customer, wherein the air ticket query request includes at least departure place information, destination information and departure time information; based on the air ticket query request, the air ticket information that meets the requirements is retrieved from the air ticket database to obtain the air ticket query result; the customer portrait corresponding to the target customer is obtained, and based on the customer portrait and the air ticket query result, a target air ticket combination is generated, wherein the target air ticket combination includes at least: the price information of the air ticket and the value-added service information corresponding to the customer, thereby solving the problem that the air ticket combination products recommended for users in the related art have a low match with the user's needs and preferences, resulting in the recommendation of the provided air ticket combination products not being accurate enough. In the present application, by obtaining an air ticket query request input by a target customer, based on the air ticket query request, the air ticket information that meets the query request requirements is retrieved from the air ticket database, the customer portrait of the target customer is obtained, and based on the target portrait and the retrieved air ticket information, a target air ticket combination is generated, thereby achieving the technical effect of improving the accuracy of the recommendation of the target air ticket combination. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0024] Figure 1 A hardware structure block diagram of a computer terminal for implementing a method for generating air ticket information is shown;
[0025] Figure 2 is a flow chart of a method for generating air ticket information provided in an embodiment of the present application;
[0026] Figure 3 is a flow chart of generating a target air ticket combination according to an embodiment of the present application;
[0027] Figure 4 is a flowchart of training a machine learning model according to an embodiment of the present application;
[0028] Figure 5 is a flowchart of obtaining a customer portrait corresponding to a target customer provided in an embodiment of the present application;
[0029] Figure 6 is a flow chart of adjusting the target air ticket package price provided in accordance with an embodiment of the present application;
[0030] Figure 7 is a schematic diagram of a device for generating air ticket information according to an embodiment of the present application;
[0031] Figure 8 It is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set up between this system and the relevant user or organization. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0035] Example 1
[0036] According to an embodiment of the present application, a method embodiment for generating air ticket information is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0037] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal (or mobile device) for implementing a method for generating air ticket information is shown. Figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0038] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0039] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the method for generating ticket information in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the method for generating ticket information described above is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0040] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0041] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).
[0042] Under the above operating environment, this application provides Figure 2The method of generating the flight information shown. Figure 2 It is a flowchart of the method for generating air ticket information according to Example 1 of the present application.
[0043] Step S201, obtaining an air ticket query request input by a target customer, wherein the air ticket query request at least includes departure place information, destination information and departure time information.
[0044] Optionally, the above-mentioned air ticket query request may also include: return time, passenger type, number of passengers, cabin class, etc. Return time: If the passenger plans a round-trip trip, the return date and time can be entered. Passenger types may include: adults, children or infants, and whether there are special passengers (such as unaccompanied children, wheelchair passengers). The number of passengers is used to determine how many people are traveling together, to calculate group fares, or to find out whether there are enough seats to meet the needs of the entire team. Cabin class: Passengers may have specific seat class preferences, such as economy class, business class or first class.
[0045] For example, Mr. Zhang (the target customer mentioned above) enters a ticket query request on the official website of the airline: the departure place is Beijing, the destination is Shanghai, and the departure time is April 10, 2024. This ticket query request contains basic departure place information, destination information, and departure time information, which are necessary elements for ticket query.
[0046] Step S202: based on the air ticket query request, retrieve the air ticket information that meets the requirements from the air ticket database to obtain the air ticket query result.
[0047] For example, after receiving Mr. Zhang's ticket query request, the ticket database is immediately started to retrieve the ticket information that meets the requirements. Query all flight information from Beijing to Shanghai on April 10, 2024, including but not limited to flight number, take-off time, landing time, flight duration, price, cabin class, etc. Assuming that 3 eligible flights are found, it will organize this information into ticket query results, including detailed information and prices for each flight. For example, the ticket query results that may be found are shown in Table 1 below:
[0048] Table 1
[0049] Flight number Departure Time Arrival time Travel class Base Price CA123 2024-04-10 08:00 2024-04-10 10:30 Economy Class 1000 NTD CA456 2024-04-10 10:00 2024-04-10 12:30 Economy Class 1050 NTD MU789 2024-04-10 14:00 2024-04-10 16:30 Business Class 3000 NTD
[0050] Step S203, obtaining a customer portrait corresponding to the target customer, and generating a target air ticket combination based on the customer portrait and the air ticket query result, wherein the target air ticket combination at least includes: air ticket price information and value-added service information corresponding to the customer.
[0051] In an optional embodiment, if Figure 3As shown in the figure, based on the customer profile and ticket query results, the target ticket combination is generated, including:
[0052] Step S301 , by analyzing the customer profile, searching the brand code matching the type of the customer profile from the brand fare matching table.
[0053] For example, the analysis shows that the customer profile of the target customer is domestic business travel, so the corresponding persona is domestic_business. Based on this value as well as the sales channel and the sales start and end dates, it can be determined in the brand fare matching table (Table 2) that the corresponding brand code brand_code is DOS_BUS.
[0054] For example, the analysis shows that the customer profile of the target customer is family international vacation travel, so the corresponding persona is international_family. Based on this value as well as the sales channel and sales start and end dates, it can be determined in the brand fare matching table (Table 2) that its corresponding brand code brand_code is INR_FAL.
[0055] For example, the analysis shows that the customer profile of the target customer is a honeymoon trip to the Maldives, so the corresponding persona is international_honeymoon. Based on this value as well as the sales channel and the sales start and end dates, it can be determined in the brand fare matching table (such as Table 2) that its corresponding brand code brand_code is INR_HOY.
[0056] Table 2
[0057] channel sales_date_start sales_date_end persona brand_code AGP 01 / 01 / 2024 31 / 12 / 2024 domestic_business DOS_BUS AGP 01 / 01 / 2024 31 / 12 / 2024 international_family INR_FAL AGP 01 / 01 / 2024 31 / 12 / 2024 international_honeymoon INR_HOY
[0058] Step S302: retrieve the value-added service information associated with the brand code from the brand equity matching table according to the brand code, wherein the brand equity matching table records the correspondence between different brand codes and various value-added service information.
[0059] Optionally, in the aviation field, additional benefits and additional services can generally be collectively referred to as value-added services. Value-added services refer to services or benefits provided by airlines in addition to basic services (such as flight services provided by the ticket itself) in order to enhance passenger experience and meet the personalized needs of passengers. The above value-added services may include: VIP lounges, high-speed Wi-Fi services, priority boarding, additional baggage allowance, in-flight meal selection, seat priority selection, fast security check lanes, free upgrades, etc. By providing these value-added services, airlines can better differentiate their products and meet the specific needs of different passenger groups, thereby increasing revenue, enhancing brand image and passenger loyalty.
[0060] For example, in the brand benefit matching table (such as Table 3), multiple data can be queried based on the brand_code of DOS_BUS, the sales channel and the sales start and end dates, and the benefit_code fields are 055 (the code of the airport VIP lounge) and 056 (the code of the high-speed Wi-Fi service).
[0061] The benefit_code fields are 057 (children's meals), 058 (parent-child activities) and 059 (children's entertainment facilities).
[0062] Table 3
[0063] channel sales_date_start sales_date_end persona brand_code benefit_code mandatory AGP 01 / 01 / 2024 31 / 12 / 2024 * DOS_BUS 055 FALSE AGP 01 / 01 / 2024 31 / 12 / 2024 * DOS_BUS 056 FALSE AGP 01 / 01 / 2024 31 / 12 / 2024 * INR_FAL 057 FALSE AGP 01 / 01 / 2024 31 / 12 / 2024 * INR_FAL 058 FALSE AGP 01 / 01 / 2024 31 / 12 / 2024 * INR_FAL 059 FALSE
[0064] Step S303, generating a target air ticket combination according to the air ticket query result and the value-added service information.
[0065] For example, Ms. Wang searches for business class tickets from Beijing to Guangzhou through the official website of the airline. The background searches the ticket database to obtain all ticket information that meets the flight date, departure place, destination and cabin class. This information includes but is not limited to flight number, departure time, arrival time, fare, etc. Determine value-added service information: Based on the customer portrait analysis of Ms. Wang, it is known that she is a "domestic business traveler", so in Table 2, find the brand code "DOS_BUS" corresponding to "domestic_business". Next, retrieve the value-added service information associated with the "DOS_BUS" brand code from Table 3. For example: 055 (code for airport VIP lounge) and 056 (code for high-speed Wi-Fi service). One or more suitable flights will be selected as the basis based on the ticket information queried by Ms. Wang. Then, the value-added service information related to the "DOS_BUS" brand code is added to the ticket combination. For example, the business class ticket price that Ms. Wang inquired about is 2,000 yuan. The airport VIP lounge service of 200 yuan and the high-speed Wi-Fi service of 100 yuan are automatically added to the ticket package, while considering whether the price needs to be adjusted (such as adding a certain percentage of service fees based on the ticket price).
[0066] Through the above technical solution, not only a target air ticket combination that meets the personalized needs of target customers is generated, but also the customer experience is enhanced by adding value-added services. At the same time, it provides airlines with opportunities to sell value-added services, which is conducive to increasing the sales of airlines.
[0067] In summary, in the embodiment of the present application, by obtaining the air ticket query request input by the target customer, wherein the air ticket query request at least includes the departure place information, the destination information and the departure time information; based on the air ticket query request, the air ticket information that meets the requirements is retrieved from the air ticket database to obtain the air ticket query result; the customer portrait corresponding to the target customer is obtained, and based on the customer portrait and the air ticket query result, a target air ticket combination is generated, wherein the target air ticket combination at least includes: the price information of the air ticket and the value-added service information corresponding to the customer, which solves the problem that the air ticket combination products recommended to the user in the related art have a low match with the user's needs and preferences, resulting in the recommendation of the provided air ticket combination products not being accurate enough. In the present application, by obtaining the air ticket query request input by the target customer, based on the air ticket query request, the air ticket information that meets the query request requirements is retrieved from the air ticket database, the customer portrait of the target customer is obtained, and based on the target portrait and the retrieved air ticket information, a target air ticket combination is generated, thereby achieving the technical effect of improving the accuracy of the recommendation of the target air ticket combination.
[0068] In an optional embodiment, if Figure 4 As shown, before obtaining the customer portrait corresponding to the target customer, the method further includes:
[0069] Step S401, obtaining historical data information of the target customer, wherein the historical data information at least includes: historical ticket purchase records, browsing behavior information, and preference information corresponding to the target customer.
[0070] Optionally, the above historical data information may also include travel patterns, membership level and points history, payment history, refund and change records, travel companion information, etc. Travel patterns: including travel frequency, travel time (such as weekdays, weekends, holidays), frequently flown routes, and frequently visited cities or airports. Member level and points history: If the passenger is a member of an airline, the historical data information will include their membership level, points accumulation, points redemption records, etc. Payment history: information such as the payment method, payment time, and payment amount of the passenger's previous ticket purchases, which helps to understand the passenger's payment preferences and budget. Refund and change records: record the passenger's refund, change, and transfer history operations to understand the passenger's itinerary flexibility needs. Travel companion information: If the passenger often travels with specific companions, this information can be recorded to provide family packages or group discounts. By collecting and analyzing this historical data information, airlines can build a more detailed and comprehensive customer portrait, thereby providing services that better meet the personalized needs of passengers. This not only helps to improve the travel experience of passengers, but also enhances the market competitiveness and customer service capabilities of airlines.
[0071] For example, first retrieve the historical data information of Mr. Zhang (corresponding to the target customer mentioned above) from the database. This information at least includes his historical ticket purchase records, browsing behavior information, preference information, etc. Historical ticket purchase records: Mr. Zhang’s ticket purchase records show that he often buys round-trip tickets from Beijing to Shanghai on weekdays, an average of more than 12 times a year, and usually chooses business class or economy class front seats. Browsing behavior information: When searching for air tickets on the airline website, Mr. Zhang often browses and compares air tickets from different airlines and cabin classes, and pays attention to flight schedules and in-flight services. Preference information: In Mr. Zhang’s account settings, he prefers services such as business class, fast security check lanes, and lounge access. He also prefers to use credit cards to pay when booking air tickets.
[0072] Step S402, preprocessing the historical data information to obtain preprocessed data information.
[0073] Optionally, preprocessing can be done in the form of data cleaning, data conversion, feature engineering, data standardization / normalization, etc. Data cleaning: remove duplicate data, handle missing values (for example, by filling, deleting, predicting, etc.), identify and correct erroneous data (such as incorrect date format, input errors, etc.). Data conversion: convert non-numeric data into numerical format, etc. Feature engineering: create new features or modify existing features to better reflect the potential information of the data. For example, extract the number of days in advance for travel from the ticket purchase date and the travel date, or convert the cabin class to a numerical class. Data standardization / normalization: scale the data so that it falls into the same numerical range to avoid some features having an uneven impact on model training due to excessively large numerical ranges.
[0074] Step S403, training a machine learning model based on the preprocessed data information to obtain a target model.
[0075] Optionally, a machine learning model is trained based on the preprocessed data information. The goal is to obtain a target model that can accurately predict and classify the target customer's behavior and preferences. This model will play a key role in the step of obtaining the corresponding customer profile of the target customer.
[0076] Optionally, the training method for training the machine learning model can be supervised learning, unsupervised learning, reinforcement learning, deep learning, ensemble learning, etc. Supervised learning is the most common type of machine learning, which is based on labeled training data sets. Unsupervised learning is different from supervised learning. It learns the structure and pattern of data without labels and is usually used for data exploration, cluster analysis, and dimensionality reduction. Reinforcement learning is a goal-oriented learning method that learns optimal behavior strategies through interaction with the environment. Deep learning is a subset of machine learning that focuses on using multi-layer neural networks to process complex data sets such as images, sounds, and text. Ensemble learning is a strategy that improves prediction accuracy and stability by combining predictions from multiple models. Based on the above training methods, the target model obtained by training the machine learning model can build a more detailed and comprehensive customer portrait, thereby providing more personalized and accurate air ticket package products.
[0077] In summary, the target model obtained through the above technical solution can more accurately identify the customer portraits corresponding to the target customers, so as to more accurately understand the personalized needs of the target customers, provide more intimate and personalized services to the target customers, improve the satisfaction and loyalty of the target customers, and also create more sales opportunities for value-added services for airlines.
[0078] In an optional embodiment, if Figure 5 As shown, obtaining the customer portrait corresponding to the target customer includes:
[0079] Step S501, when it is detected that a target customer triggers a flight ticket query request, the behavior data information of the target customer is collected.
[0080] For example, when Ms. Li (corresponding to the target customer) enters query conditions such as departure place, destination, departure date, etc. on the official website or application of the airline, it is immediately detected that Ms. Li has triggered a flight ticket query request. At this point, the behavioral data information of Ms. Li begins to be collected. These behavioral data information may include query conditions: Ms. Li enters the departure place as Shanghai, the destination as New York, and the departure date as the 12th of the next month; search history: records the routes, cabin preferences, travel time, etc. that Ms. Li has searched for in the past, such as she has searched for international routes many times in the past, prefers business class, and often travels on holidays; click and browse behavior: when Ms. Li browses the flight ticket list, track the flight ticket details she browses, the length of stay, the additional service options she clicks (such as lounges, extra baggage), etc.; instant feedback: if Ms. Li gives feedback on the recommended flight ticket package, such as "add to cart", "favorite" or "compare", record these feedback information.
[0081] Step S502, input the behavior data information into the target model, and output the customer portrait corresponding to the target customer.
[0082] For example, the behavioral data information collected in step S501 is input into the previously trained target model. In the target model, the input data includes Ms. Li's query conditions, search history, click and browse behavior, and any immediate feedback information. The target model is a trained machine learning model that can predict and analyze customer needs and preferences based on real-time behavioral data. For example, by analyzing Ms. Li's query conditions and behavioral data, the target model identifies that she is an "international business traveler" who prefers to travel on holidays and often pays attention to lounge and extra baggage services. Based on this information, the model generates a customer portrait of Ms. Li, which includes travel preferences: international routes, business class; service requirements: lounge access, extra baggage; time preference: traveling on holidays; budget considerations: willingness to pay extra for high-quality services.
[0083] In summary, through the above technical solutions, customer portraits can be generated and updated in real time and accurately, providing customers with more personalized and considerate services, improving customer experience, and at the same time enhancing the market competitiveness and customer satisfaction of airlines.
[0084] In an optional embodiment, if Figure 6 As shown, based on the ticket query results and value-added service information, the target ticket combination is generated including:
[0085] Step S601, determining the basic fare for each cabin class in each route according to the ticket query result.
[0086] For example, when Mr. Chen (target customer) enters query conditions on the official website of an airline, such as departure point Beijing, destination Shanghai, and departure date on the 10th of the next month, all flights that meet the conditions are first searched in the ticket database. Assume that two flights that meet the requirements are found, and the basic fares of the economy class are 1,200 yuan and 1,300 yuan respectively. One of the flights will be selected as the basis for Mr. Chen's ticket query, and here it is assumed that the flight with a basic fare of 1,200 yuan is selected.
[0087] Step S602: determine the price information corresponding to the additional service in the value-added service information.
[0088] Optionally, determine the price information corresponding to the additional services in the value-added service information. You can set prices for each additional service (such as airport VIP lounges, in-flight Wi-Fi, priority boarding, etc.), taking into account market acceptance, cost and service quality to ensure that the pricing of additional services is reasonable and attractive.
[0089] For example, the relevant value-added service information is retrieved based on the brand code (such as "CAS_LEI") that matches Mr. Chen's customer profile (assuming it is a "leisure traveler") in the brand equity matching table, assuming that it includes an increase in free baggage allowance (benefit_code 060, with a price of 100 yuan) and an upgrade in-flight entertainment (benefit_code 061, with a price of 50 yuan).
[0090] Step S603, determining the original total fare information according to the basic fare and price information.
[0091] For example, based on the basic fare of 1,200 yuan and the value-added service price of 150 yuan (100 yuan + 50 yuan), the original total fare information is calculated to be 1,350 yuan (basic fare of 1,200 yuan + value-added service price of 150 yuan).
[0092] Step S604, dynamically adjust the original total fare information based on the customer portrait to obtain the adjusted total fare information.
[0093] Optionally, the original total fare information can be dynamically adjusted to check whether the target customer meets the conditions of the preferential policy, such as member discounts, points deductions, holiday promotions, etc. If they meet the conditions, the total fare can be adjusted according to the relevant rules.
[0094] For example, considering that Mr. Chen's customer profile is a "leisure traveler" and it is currently in the off-season, the original total fare is dynamically adjusted according to the price adjustment strategy in the price adjustment table. Assume that the price adjustment table stipulates that for leisure travelers, during the off-season, the air ticket price is reduced by 5% and the value-added service price is reduced by 10%. Therefore, the original total fare of 1,350 yuan will be adjusted to 1,282.5 yuan (the basic fare of 1,200 yuan is reduced by 5%, and the value-added service price of 150 yuan is reduced by 10%).
[0095] Step S605: The adjusted total fare information is used as the fare information in the target ticket combination.
[0096] For example, the adjusted total fare of 1,282.5 yuan is used as the final fare information of the target air ticket combination. This means that Mr. Chen will see an economy class air ticket package from Beijing to Shanghai, including the basic fare, increased free baggage allowance, and upgraded in-flight entertainment, with a total price of 1,282.5 yuan.
[0097] In summary, through the above technical solution, a target ticket combination with reasonable price and full of personalized services can be dynamically generated based on ticket query results and value-added service information, combined with customer portraits and market strategies. This method not only meets the personalized needs of customers, but also provides airlines with opportunities to sell value-added services, while enhancing market competitiveness and customer satisfaction through flexible pricing strategies.
[0098] In an optional embodiment, the method further includes:
[0099] When it is detected that the target customer triggers an air ticket query request, the brand air ticket information corresponding to the air ticket query request is obtained and the brand air ticket information is displayed.
[0100] For example, when Ms. Liu (target customer) enters the query condition "Chengdu to Hangzhou business class", the system immediately responds by retrieving all ticket information that meets the query condition from the ticket database. This information may include business class tickets from different airlines, flights at different time points, and branded tickets with various additional services, such as:
[0101] Airline A: Chengdu to Hangzhou, business class, departure date: December 10, 1,200 yuan, including meals and 20kg luggage;
[0102] Airline B: Chengdu to Hangzhou, business class, departure date: December 11, 1,250 yuan, including priority boarding and 30kg luggage;
[0103] Airline C: Chengdu to Hangzhou, business class, departure date: December 10, 1,280 yuan, including lounge access and high-speed Wi-Fi service.
[0104] These branded air ticket information will be displayed on the query results page for Ms. Liu to view and compare.
[0105] After using the adjusted total fare information as the fare information in the target air ticket combination, the method further includes: displaying the adjusted total fare information and the brand air ticket information in parallel.
[0106] For example, based on Ms. Liu's customer profile (assuming it is a "business woman"), the brand code and value-added services that match Ms. Liu are determined through the brand fare matching table and the brand equity matching table, and then a personalized ticket combination is generated. Assume that the generated ticket combination includes a flight of Air C, with a base fare of 1,280 yuan, additional lounge access (50 yuan) and high-speed Wi-Fi service (100 yuan), and in the price adjustment table, a 5% discount is given to business female customers during the off-season. Therefore, the adjusted total fare is 1,353 yuan (that is, 1,280 yuan + 150 yuan - 64 yuan, of which 64 yuan is a 5% discount of 1,330 yuan). After the adjusted ticket combination is generated, it will not only display this one option, but will display the personalized ticket combination in parallel with the brand ticket information. This means that Ms. Liu will see the following information on the query result page:
[0107] Personalized ticket packages:
[0108] Chengdu to Hangzhou, business class, departure date: December 10, RMB 1,353 (includes lounge access and high-speed Wi-Fi service, 5% discount);
[0109] Ticket Information:
[0110] Airline A: Chengdu to Hangzhou, business class, departure date: December 10, 1,200 yuan, including meals and 20kg luggage;
[0111] Airline B: Chengdu to Hangzhou, business class, departure date: December 11, 1,250 yuan, including priority boarding and 30kg luggage;
[0112] Airline C: Chengdu to Hangzhou, business class, departure date: December 10, 1,280 yuan, including lounge access and high-speed Wi-Fi service (excluding discounts).
[0113] In summary, based on the above technical solution, the design of displaying the adjusted total fare information in parallel with the brand ticket information provides target customers with a more comprehensive comparison and selection, which helps target customers make the most suitable decision for themselves. At the same time, airlines can attract and retain more target customers and improve market competitiveness and customer satisfaction by displaying additional services and price discounts of personalized ticket combinations.
[0114] In an optional embodiment, the method further includes: if it is detected that the target customer triggers an upgrade request, adjusting the adjusted total fare information based on the target customer portrait to obtain target total fare information, wherein the target total fare information is not lower than the adjusted total fare information.
[0115] For example, Ms. Zhang (target customer) submitted a request to upgrade from economy class to business class through the "Upgrade Application" function on the airline's official website, and this operation was immediately detected. First, the economy class ticket information currently held by Ms. Zhang was obtained, including the fare (assuming it is 800 yuan), departure place (Beijing), destination (Guangzhou), departure date (next Friday), and cabin class (economy class).
[0116] Analyze Ms. Zhang's customer profile (assuming it is "business woman") and find the matching brand code based on her profile. In the brand fare matching table, the brand code corresponding to the "business woman" profile may be "BUS_FEM". Then, query the brand benefit matching table to determine the value-added services associated with the "BUS_FEM" brand code, such as priority boarding (benefit_code070), lounge access (benefit_code 071), and extra baggage allowance (benefit_code 072). Then, you need to calculate the cost of upgrading from economy class to business class and the price of the selected value-added services. Assume that the upgrade fee is 400 yuan and the total price of the value-added services is 150 yuan, including priority boarding (50 yuan), lounge access (80 yuan), and extra baggage allowance (20 yuan). After determining the upgrade fee and the total price of the value-added services, the original total fare information is calculated, that is, the current fare of 800 yuan plus the upgrade fee of 400 yuan and the total price of the value-added services of 150 yuan, totaling 1,350 yuan. For customers with the "business woman" profile, when upgrading to business class, a 10% service fee should be added to the original total fare information to reflect the added value of business class. Therefore, a 10% service fee, that is, 135 yuan, is added to the original total fare information of 1,350 yuan, resulting in a target total fare information of 1,485 yuan. In order to ensure that the target total fare information is not lower than the adjusted total fare information, it is necessary to determine whether additional adjustments to the price are required. After adding the service fee, the target total fare information of 1,485 yuan is still higher than the adjusted total fare information (that is, the total price of Ms. Zhang's current economy class ticket plus the price of the value-added service). This ensures that the processing of the upgrade request does not result in a reduction in the total fare, which is in line with the business logic that upgrade operations usually require additional fees. Finally, the target total fare information of 1,485 yuan is presented to Ms. Zhang as the total cost of upgrading to business class and including priority boarding, lounge access, and additional baggage allowance. Ms. Zhang can decide whether to accept the upgrade request and value-added services based on her budget and needs and complete the payment process.
[0117] In summary, through the above technical solution, when processing the target customer's upgrade request, dynamic price adjustment can be performed to ensure that the target total fare information not only reflects the added value of the upgrade, but is not lower than the original adjusted total fare information, thereby achieving the rationality of business logic.
[0118] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0119] Example 2
[0120] The embodiment of the present application also provides a device for generating ticket information. It should be noted that the device for generating ticket information in the embodiment of the present application can be used to execute the method for generating ticket information provided in the embodiment of the present application. The device for generating ticket information provided in the embodiment of the present application is introduced below.
[0121] According to an embodiment of the present application, a device for implementing the above-mentioned method for generating ticket information is also provided. Figure 7 As shown, the device includes: a first acquisition unit 701, a retrieval unit 702 and a second acquisition unit 703.
[0122] Specifically, the first acquisition unit 701 is used to obtain the air ticket query request input by the target customer, wherein the air ticket query request at least includes the departure place information, the destination information and the departure time information; the retrieval unit 702 is used to retrieve the air ticket information that meets the requirements from the air ticket database based on the air ticket query request to obtain the air ticket query result; the second acquisition unit 703 is used to obtain the customer portrait corresponding to the target customer, and generate a target air ticket combination based on the customer portrait and the air ticket query result, wherein the target air ticket combination at least includes: the price information of the air ticket and the value-added service information corresponding to the customer.
[0123] In summary, the generation device of air ticket information provided in the embodiment of the present application obtains the air ticket query request input by the target customer through the first acquisition unit 701, wherein the air ticket query request at least includes the departure place information, the destination information and the departure time information; the retrieval unit 702 retrieves the air ticket information that meets the requirements from the air ticket database based on the air ticket query request to obtain the air ticket query result; the second acquisition unit 703 obtains the customer portrait corresponding to the target customer, and generates the target air ticket combination based on the customer portrait and the air ticket query result, wherein the target air ticket combination at least includes: the price information of the air ticket and the value-added service information corresponding to the customer, which solves the problem that the air ticket combination products recommended for users in the related art have a low matching degree with the user's needs and preferences, resulting in the recommendation of the provided air ticket combination products not being accurate enough. In the present application, the air ticket query request input by the target customer is obtained through the first acquisition unit 701, the air ticket information that meets the query request requirements is retrieved from the air ticket database based on the air ticket query request in the retrieval unit 702, the customer portrait of the target customer is obtained in the second acquisition unit, and the target air ticket combination is generated based on the target portrait and the retrieved air ticket information in the third acquisition unit 703, thereby achieving the technical effect of improving the accuracy of the recommendation of the target air ticket combination.
[0124] Optionally, in the device for generating air ticket information provided in the embodiment of the present application, the second acquisition unit 703 includes: a first retrieval module, used to search for a brand code that matches the type of customer portrait from the brand fare matching table by analyzing the customer portrait, wherein the brand code is used to uniquely identify different brand air ticket packages; a second retrieval module, used to retrieve value-added service information associated with the brand air ticket package from the brand rights matching table based on the brand code, wherein the brand rights matching table records the correspondence between different brand air ticket packages and various value-added service information; a generation module, used to generate a target air ticket combination based on the air ticket query result and the value-added service information.
[0125] Optionally, in the device for generating air ticket information provided in the embodiment of the present application, the device also includes: a third acquisition unit, used to obtain historical data information of the target customer before obtaining the customer portrait corresponding to the target customer, wherein the historical data information includes at least: historical ticket purchase records, browsing behavior information, and preference information corresponding to the target customer; a preprocessing unit, used to preprocess the historical data information to obtain preprocessed data information; and a training unit, used to train a machine learning model based on the preprocessed data information to obtain a target model.
[0126] Optionally, in the device for generating air ticket information provided in the embodiment of the present application, the third acquisition unit includes: a collection module, used to collect behavioral data information of the target customer when it is detected that the target customer triggers an air ticket query request; an output module, used to input the behavioral data information into the target model and output a customer portrait corresponding to the target customer.
[0127] Optionally, in the device for generating air ticket information provided in the embodiment of the present application, the second acquisition unit 703 includes: a first determination module, used to determine the basic fare of each cabin class in each route based on the air ticket query result; a second determination module, used to determine the price information corresponding to the additional service in the value-added service information; a third determination module, used to determine the original total fare information based on the basic fare and the price information; an adjustment module, used to dynamically adjust the original total fare information based on the customer portrait to obtain the adjusted total fare information; and use the adjusted total fare information as the fare information in the target air ticket combination.
[0128] Optionally, in the device for generating air ticket information provided in the embodiment of the present application, the device also includes: a first display unit, used to obtain brand air ticket information corresponding to the air ticket query request when it is detected that the target customer triggers the air ticket query request, and display the brand air ticket information; a second display unit, used to use the adjusted total fare information as the fare information in the target air ticket combination, and then display the adjusted total fare information in parallel with the brand air ticket information.
[0129] Optionally, in the device for generating air ticket information provided in the embodiment of the present application, the device also includes: an adjustment unit, which is used to adjust the adjusted total fare information according to the target customer portrait to obtain target total fare information if it is detected that the target customer triggers an upgrade request, wherein the target total fare information is not lower than the adjusted total fare information.
[0130] It should be noted that the first acquisition unit 701, the retrieval unit 702, and the second acquisition unit 703 described above correspond to steps S201 to S203 in Embodiment 1, and the three units and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in Embodiment 1. It should be noted that the above modules or units may be hardware components or software components stored in a memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n), and the above modules may also be part of a device and may be run in the computer terminal 10 provided in Embodiment 1.
[0131] Example 3
[0132] The embodiment of the present application may provide a computer terminal, which may be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal may also be replaced by a terminal device such as a mobile terminal or an electronic device.
[0133] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
[0134] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the method for generating air ticket information: obtaining an air ticket query request input by a target customer, wherein the air ticket query request at least includes departure place information, destination information and departure time information; retrieving air ticket information that meets the requirements from an air ticket database based on the air ticket query request to obtain an air ticket query result; obtaining a customer portrait corresponding to the target customer, and generating a target air ticket combination based on the customer portrait and the air ticket query result, wherein the target air ticket combination at least includes: air ticket price information and value-added service information corresponding to the customer.
[0135] Optionally, the computer terminal may execute the program code of the following steps in the method for generating air ticket information: generating a target air ticket combination based on the customer portrait and the air ticket query result, including: searching for a brand code that matches the type of the customer portrait from a brand fare matching table by analyzing the customer portrait; based on the brand code, retrieving value-added service information associated with the brand code from a brand rights matching table, wherein the brand rights matching table records the correspondence between different brand codes and various value-added service information; generating a target air ticket combination based on the air ticket query result and the value-added service information.
[0136] Optionally, the above-mentioned computer terminal can execute the program code of the following steps in the method for generating air ticket information: before obtaining the customer portrait corresponding to the target customer, the method also includes: obtaining historical data information of the target customer, wherein the historical data information at least includes: historical ticket purchase records, browsing behavior information, and preference information corresponding to the target customer; preprocessing the historical data information to obtain preprocessed data information; training a machine learning model based on the preprocessed data information to obtain a target model.
[0137] Optionally, the above-mentioned computer terminal can execute the program code of the following steps in the method for generating air ticket information: Obtaining the customer portrait corresponding to the target customer includes: when it is detected that the target customer triggers an air ticket query request, collecting the target customer's behavior data information; inputting the behavior data information into the target model, and outputting the customer portrait corresponding to the target customer.
[0138] Optionally, the computer terminal may execute the program code of the following steps in the method for generating air ticket information: generating a target air ticket combination based on the air ticket query results and the value-added service information, including: determining the basic fare for each cabin class in each route based on the air ticket query results; determining the price information corresponding to the additional services in the value-added service information; determining the original total fare information based on the basic fare and the price information; dynamically adjusting the original total fare information based on the customer portrait to obtain the adjusted total fare information; and using the adjusted total fare information as the fare information in the target air ticket combination.
[0139] Optionally, the above-mentioned computer terminal can execute the program code of the following steps in the method for generating air ticket information: the method also includes: when it is detected that the target customer triggers a ticket query request, obtaining the brand ticket information corresponding to the ticket query request, and displaying the brand ticket information; after using the adjusted total fare information as the fare information in the target ticket combination, the method also includes: displaying the adjusted total fare information and the brand ticket information in parallel.
[0140] Optionally, the computer terminal may execute the program code of the following steps in the method for generating air ticket information: the method further includes: if it is detected that the target customer triggers an upgrade request, adjusting the adjusted total fare information based on the target customer portrait to obtain the target total fare information, wherein the target total fare information is not lower than the adjusted total fare information.
[0141] Optionally, Figure 8 is a structural block diagram of an electronic device according to an embodiment of the present application. Figure 8 As shown, the electronic device may include: one or more ( Figure 8 (only one is shown) processor 802, memory 804, storage controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.
[0142] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and device for generating ticket information in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned method for generating ticket information. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0143] The processor can call the information and application program stored in the memory through the transmission device to execute the above steps in the above method for generating the air ticket information.
[0144] By adopting the embodiment of the present application, a scheme of a method for generating air ticket information is provided. By obtaining an air ticket query request input by a target customer, wherein the air ticket query request at least includes departure place information, destination information and departure time information; based on the air ticket query request, the air ticket information that meets the requirements is retrieved from the air ticket database to obtain the air ticket query result; the customer portrait corresponding to the target customer is obtained, and based on the customer portrait and the air ticket query result, a target air ticket combination is generated, wherein the target air ticket combination at least includes: the price information of the air ticket and the value-added service information corresponding to the customer, which solves the problem that the air ticket combination products recommended to users in the related technology have a low matching degree with the user's needs and preferences, resulting in the recommendation of the provided air ticket combination products not being accurate enough. In the present application, by obtaining the air ticket query request input by the target customer, based on the air ticket query request, the air ticket information that meets the query request requirements is retrieved from the air ticket database, the customer portrait of the target customer is obtained, and based on the target portrait and the retrieved air ticket information, the target air ticket combination is generated, thereby achieving the technical effect of improving the accuracy of the recommendation of the target air ticket combination.
[0145] It can be understood by those skilled in the art that Figure 8 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Figure 8 The structure of the electronic device is not limited. Figure 8 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 8 Different configurations are shown.
[0146] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0147] Example 4
[0148] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the method for generating air ticket information provided in the first embodiment.
[0149] Optionally, in this embodiment, the above storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0150] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps: obtaining a ticket query request input by a target customer, wherein the ticket query request includes at least departure place information, destination information and departure time information; retrieving ticket information that meets the requirements from a ticket database based on the ticket query request to obtain a ticket query result; obtaining a customer portrait corresponding to the target customer, and generating a target ticket combination based on the customer portrait and the ticket query result, wherein the target ticket combination includes at least: ticket price information and value-added service information corresponding to the customer.
[0151] Optionally, the storage medium is also configured to store program code for executing the following steps: generating a target air ticket combination based on the customer portrait and the air ticket query results, including: searching for a brand code that matches the type of the customer portrait from a brand fare matching table by analyzing the customer portrait; based on the brand code, retrieving value-added service information associated with the brand code from a brand rights matching table, wherein the brand rights matching table records the correspondence between different brand codes and various value-added service information; generating a target air ticket combination based on the air ticket query results and the value-added service information.
[0152] Optionally, the storage medium is also configured to store program codes for executing the following steps: before obtaining the customer portrait corresponding to the target customer, the method also includes: obtaining historical data information of the target customer, wherein the historical data information includes at least: historical ticket purchase records, browsing behavior information, and preference information corresponding to the target customer; preprocessing the historical data information to obtain preprocessed data information; training a machine learning model based on the preprocessed data information to obtain a target model.
[0153] Optionally, the storage medium is also configured to store program code for executing the following steps: obtaining a customer portrait corresponding to the target customer includes: when it is detected that the target customer triggers a ticket query request, collecting behavioral data information of the target customer; inputting the behavioral data information into a target model, and outputting a customer portrait corresponding to the target customer.
[0154] Optionally, the storage medium is also configured to store program code for executing the following steps: generating a target ticket combination based on the ticket query results and the value-added service information, including: determining the basic fare for each cabin class in each route based on the ticket query results; determining the price information corresponding to the additional services in the value-added service information; determining the original total fare information based on the basic fare and the price information; dynamically adjusting the original total fare information based on the customer portrait to obtain the adjusted total fare information; and using the adjusted total fare information as the fare information in the target ticket combination.
[0155] Optionally, the storage medium is also configured to store program codes for executing the following steps: when it is detected that the target customer triggers a ticket query request, obtaining the brand ticket information corresponding to the ticket query request, and displaying the brand ticket information; after using the adjusted total fare information as the fare information in the target ticket combination, the method also includes: displaying the adjusted total fare information in parallel with the brand ticket information.
[0156] Optionally, the storage medium is also configured to store program codes for executing the following steps: if it is detected that the target customer triggers an upgrade request, the adjusted total fare information is adjusted based on the target customer portrait to obtain target total fare information, wherein the target total fare information is not lower than the adjusted total fare information.
[0157] Example 5
[0158] The embodiments of the present application further provide a storage medium and a computer program product, which, when executed on a data processing device, is suitable for executing the steps of the method for generating air ticket information.
[0159] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0160] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0161] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0162] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0163] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0164] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0165] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for generating air ticket information, characterized in that: include: Acquire a flight ticket query request input by a target customer, wherein the flight ticket query request at least includes departure place information, destination information, and departure time information; Retrieving the ticket information that meets the requirements from the ticket database based on the ticket query request to obtain the ticket query result; A customer portrait corresponding to the target customer is obtained, and a target air ticket combination is generated based on the customer portrait and the air ticket query result, wherein the target air ticket combination at least includes: air ticket price information and value-added service information corresponding to the customer.
2. The method according to claim 1, characterized in that Generating a target air ticket combination according to the customer profile and the air ticket query result includes: By analyzing the customer profile, searching a brand code matching the type of the customer profile from a brand fare matching table; According to the brand code, the value-added service information associated with the brand code is retrieved from the brand equity matching table, wherein the brand equity matching table records the correspondence between different brand codes and various value-added service information; A target air ticket combination is generated according to the air ticket query result and the value-added service information.
3. The method according to claim 1, characterized in that Before obtaining the customer portrait corresponding to the target customer, the method further includes: Acquire historical data information of the target customer, wherein the historical data information at least includes: historical ticket purchase records, browsing behavior information, and preference information corresponding to the target customer; Preprocessing the historical data information to obtain preprocessed data information; The machine learning model is trained based on the preprocessed data information to obtain a target model.
4. The method according to claim 3, characterized in that Obtaining the customer profile corresponding to the target customer includes: When it is detected that the target customer triggers the air ticket query request, collecting the behavior data information of the target customer; The behavior data information is input into the target model, and the customer profile corresponding to the target customer is output.
5. The method according to claim 2, characterized in that: Generating a target air ticket combination according to the air ticket query result and the value-added service information includes: Determine the basic fare for each cabin class on each route based on the ticket query results; Determine price information corresponding to the additional service in the value-added service information; Determining original total fare information based on the basic fare and the price information; According to the customer portrait, dynamically adjust the original total fare information to obtain adjusted total fare information; The adjusted total fare information is used as the fare information in the target ticket combination.
6. The method according to claim 1, characterized in that The method further comprises: When it is detected that the target customer triggers the air ticket query request, obtaining brand air ticket information corresponding to the air ticket query request, and displaying the brand air ticket information; After using the adjusted total fare information as the fare information in the target air ticket combination, the method further includes: displaying the adjusted total fare information and the brand air ticket information in parallel.
7. The method according to claim 5, characterized in that The method further comprises: If it is detected that the target customer triggers an upgrade request, the adjusted total fare information is adjusted according to the customer portrait to obtain target total fare information, wherein the target total fare information is not lower than the adjusted total fare information.
8. A device for generating air ticket information, characterized in that: include: A first acquisition unit is used to acquire a flight ticket query request input by a target customer, wherein the flight ticket query request at least includes departure place information, destination information and departure time information; A retrieval unit, configured to retrieve the ticket information that meets the requirements from the ticket database based on the ticket query request to obtain the ticket query result; The second acquisition unit is used to acquire the customer portrait corresponding to the target customer, and generate a target air ticket combination according to the customer portrait and the air ticket query result, wherein the target air ticket combination at least includes: air ticket price information and value-added service information corresponding to the customer.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for generating air ticket information according to any one of claims 1 to 7.
10. An electronic device, characterized in that: include: A memory storing an executable program; A processor is used to run the program, wherein the program, when running, executes the method for generating air ticket information as described in any one of claims 1 to 7.
11. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps of the method for generating air ticket information described in any one of claims 1 to 7 are implemented.