An AVS message sending method and system, a storage medium and an electronic device
By setting preset sending rules and aggregating flight booking data, the data inconsistency problem caused by asynchronous interaction of AVS messages in international flight bookings was solved, which improved the booking success rate and controlled costs.
Patent Information
- Application Number
- CN202411644001.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2044-11-15
AI Technical Summary
During the international flight booking process, the use of AVS messages for asynchronous interaction results in inconsistencies between flight inventory data and actual data, leading to inconsistencies between passenger inquiries and bookings, low booking success rates, and even passenger complaints.
Provided is an AVS message sending method, which sets preset sending rules by receiving rule request messages, aggregates flight booking data, generates flight booking summary information, and generates and sends AVS messages according to the preset sending rules to ensure timely update and accuracy of data.
It reduces the inconsistency between flight inventory data and actual data, improves the success rate of passengers booking flight seats, controls the number of AVS messages sent, and reduces costs.
Smart Images

Figure CN119520648B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure belongs to the field of aviation technology, and particularly relates to an AVS message sending method and system, a storage medium and an electronic device. BACKGROUND
[0002] In the process of flight booking, real-time flight inventory query function can be provided. This real-time query method avoids the problem of data inconsistency and can maximize the success rate of passenger booking. However, in the process of international flight booking, agents (domestic and international), domestic and foreign OTA (online travel agency) websites, and foreign airline websites do not use real-time query methods due to cost or technical reasons, but use asynchronous message interaction methods.
[0003] Currently, the AVS (Availability Status Message) message is an internationally used inventory data asynchronous interaction message. Flight inventory information is sent by a flight inventory control system to external related systems in the form of an AVS message. When these systems provide query or booking functions for passengers, the data source is the content of the AVS message. The higher the update frequency of the AVS message, the closer to the use effect of real-time query. The lower the update frequency of the AVS message, the greater the difference between the flight inventory data of the external system and the real data. Compared with the real-time query method, the use of the AVS message is indeed simpler in technology and cheaper in price. However, users also have to face the phenomenon of inventory data interaction being not timely and not accurate, which further leads to the inconsistency of passenger booking and low success rate of booking, and even leads to passenger complaints in serious cases. Therefore, there is an urgent need for a method to reduce the inconsistency between flight inventory data and real data and improve the success rate of international passenger booking of flight seats. SUMMARY
[0004] To solve the above problems, the present disclosure provides an AVS message sending method, system, storage medium and electronic device. A rule request message of a target user is received, a preset sending message is set, flight booking data of the target user is counted and flight booking summary information is determined, and whether an AVS message carrying flight seat information needs to be sent to the target user is determined according to the flight booking summary information and the preset sending message.
[0005] The present disclosure is implemented by the following technical solutions:
[0006] In a first aspect, the present disclosure provides an AVS message sending method, which comprises:
[0007] A rule request message is received, and a preset sending rule of an AVS message is set according to the received rule request message;
[0008] receiving a flight booking message of a target user, and storing flight booking data in the flight booking message;
[0009] aggregating the flight booking data, generating flight booking aggregation information corresponding to the target user according to a preset period, and storing the flight booking aggregation information in a booking aggregation table;
[0010] determining flight booking aggregation information meeting a preset sending rule, generating an AVS message according to flight seat information in inventory data, and sending the AVS message to the corresponding target user.
[0011] Further,
[0012] receiving a rule request message, setting a preset sending rule of the AVS message according to the rule request message, and adding the preset sending rule to a rule parameter table.
[0013] Further,
[0014] receiving a query request message, and feeding back the preset sending rule of the AVS message in the rule parameter table to the target user;
[0015] receiving a rule request message, and changing and / or deleting the preset sending rule of the AVS message in the rule parameter table according to the rule request message.
[0016] Further,
[0017] receiving a flight query message of a target user, and adding flight query data in the flight query message to a query record table;
[0018] receiving a flight booking message of a target user, and adding flight booking data in the flight booking message to a booking record table.
[0019] Further,
[0020] determining a target user through a user data table, wherein the target user includes a foreign airline, a foreign agent system, a domestic airline, and a third-party ticketing system;
[0021] aggregating flight booking data corresponding to the target user from the booking record table, generating flight booking aggregation information corresponding to the target user according to a preset period, and storing the flight booking aggregation information in a booking aggregation table.
[0022] Further,
[0023] obtaining flight booking aggregation information, determining flight booking aggregation information meeting a preset sending rule according to the preset sending rule, generating and temporarily storing an AVS sending strategy;
[0024] generating an AVS message according to the AVS sending strategy in combination with flight seat information in inventory data, and sending the AVS message to the corresponding target user at a preset time.
[0025] Further,
[0026] The flight reservation quantity threshold and / or the flight query quantity threshold within a preset time period are set as the preset sending rule of the AVS message.
[0027] Further,
[0028] The time threshold for not receiving the flight reservation message and / or the flight query message is set as the preset sending rule of the AVS message.
[0029] In a second aspect, based on the same inventive concept, the embodiments of the present disclosure further provide an AVS message sending system, which comprises a query module, a reservation module, a rule module, an inventory data module, an AVS message publishing module, a basic data module, a data statistics module, a data analysis module, a timing task module and a monitoring module.
[0030] The query module is configured to receive a flight query message of a target user and feed back a flight query result to the target user.
[0031] The reservation module is configured to receive a flight reservation message of a target user and feed back a flight reservation result to the target user.
[0032] The rule module is configured to receive a rule request message and set a preset sending rule of the AVS message according to the received rule request message.
[0033] The basic data module is configured to store target users, wherein the target users include foreign airlines, foreign agent systems, domestic airlines and third-party ticketing systems.
[0034] The data statistics module is configured to store flight query data of the flight query message and flight reservation data of the flight reservation message.
[0035] The inventory data module is configured to store inventory data, wherein the inventory data includes flight seat information of all flight numbers and flight dates in all airlines.
[0036] The data analysis module is configured to obtain flight reservation summary information, determine flight reservation summary information meeting the preset sending rule according to the preset sending rule, and generate and temporarily store an AVS sending strategy.
[0037] The AVS message publishing module is configured to generate an AVS message according to the AVS sending strategy and in combination with flight seat information in the inventory data, and send the AVS message to a corresponding target user at a preset time.
[0038] The timing task module is configured to aggregate flight booking data and send flight booking aggregation information to the data analysis module, and is further configured to temporarily store an AVS sending strategy and send an AVS message to a corresponding target user according to the AVS sending strategy at a preset time.
[0039] In a third aspect, based on the same inventive concept, the embodiments of the present disclosure further provide a computer-readable storage medium storing one or more programs, which, when executed, can implement the aforementioned AVS message sending method.
[0040] In a fourth aspect, based on the same inventive concept, the embodiments of the present disclosure further provide an electronic device, which includes a processor, a communication interface, the aforementioned computer-readable storage medium, and a communication bus. The processor, the communication interface, and the computer-readable storage medium communicate with each other through the communication bus. The processor is configured to execute the program stored in the computer-readable storage medium.
[0041] Compared with the prior art, the present disclosure has the following advantages:
[0042] The present disclosure provides a sending rule of an AVS message, which can be set according to the needs of a target user. Whether the AVS message needs to be sent can be determined according to the preset sending rule, and the AVS message can be sent in a timely manner according to the needs of the target user, thereby reducing the phenomenon that the target user queries the flight seat and the inventory data of the flight seat is inconsistent with the flight seat booked, improving the success rate of the target user booking the flight seat, and effectively controlling the number of AVS messages sent to control the cost.
[0043] Other features and advantages of the present disclosure will be described in the following description, and some will become apparent from the description, or will be understood through implementation of the present disclosure. The purpose and other advantages of the present disclosure can be achieved and obtained through the structure indicated in the specification, claims, and drawings. BRIEF DESCRIPTION OF DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present disclosure, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.
[0045] Figure 1 A flowchart of an AVS message sending method provided by an embodiment of the present disclosure is provided.
[0046] Figure 2 A schematic diagram of an AVS message sending system provided by an embodiment of the present disclosure is provided. DETAILED DESCRIPTION
[0047] The technical solutions and advantages of the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are only some of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present disclosure.
[0048] In a first aspect, the embodiments of the present disclosure provide an AVS message sending method, Figure 1 As shown in the flowchart of the AVS message sending method provided by the embodiments of the present disclosure, Figure 1 The AVS message sending method provided by the embodiments of the present disclosure comprises:
[0049] S1: receiving a rule request message, and setting preset sending rules of an AVS message according to the received rule request message.
[0050] S2: receiving a flight booking message of a target user, and storing flight booking data in the flight booking message.
[0051] S3: summarizing the flight booking data, and generating flight booking summary information corresponding to the target user according to a preset period.
[0052] S4: determining flight booking summary information meeting the preset sending rules, generating an AVS message according to flight seat information in inventory data, and sending the AVS message to the corresponding target user.
[0053] In the embodiments of the present disclosure, the target user mainly includes foreign airlines, foreign agent systems and third-party ticketing systems, and also includes some domestic airlines. The information of the foreign airlines, the foreign agent systems, the third-party ticketing systems and the some domestic airlines is stored in a user data table. A rule request message sent by the target user is received, preset sending rules are added according to the received rule request message, the preset sending rules are modified and deleted on the basis of the existing preset sending rules, and the preset sending rules of the AVS message are determined. Before the target user sends the rule request message, the target user can send the rule request message to request to query the existing preset sending rules.
[0054] The flight booking message of the target user is received, and the flight booking data in the flight booking message is stored. Among all the users, the target user, i.e., the foreign airline, the foreign agent system and the third-party ticketing system that need services, and part of the domestic airlines, the stored flight booking data is summarized, the flight booking summary information corresponding to the target user is generated according to the preset period, and the flight booking summary information includes the target user name, the flight number, the flight date and the reservation quantity and the like.
[0055] According to the preset sending rule, the flight booking summary information meeting the preset sending rule is determined, the AVS sending strategy is generated, and the AVS sending strategy is stored. The task is started according to the AVS sending strategy, and the AVS message is generated according to the flight seat information in the flight inventory data. At this time, the AVS message includes the real-time updated flight seat information, and the AVS message is sent to the corresponding target user.
[0056] In some examples, a rule request message is received, and the preset sending rule of the AVS message is set according to the received rule request message, and the preset sending rule of the AVS message is added to the rule parameter table.
[0057] S11: A rule request message is received, and the preset sending rule of the AVS message is set according to the rule request message, and the preset sending rule of the AVS message is added to the rule parameter table.
[0058] Specifically, the rule parameter table includes rule ID, target user name, airline, flight number and flight booking quantity and the like; wherein the target user name includes: foreign airline name, foreign agent system name and third-party ticketing system name, and part of the domestic airline name. The target user sets the preset sending rule of the AVS message through the rule request message, and adds the preset sending rule to the rule parameter table. The rule parameter table is a data table in the rule module, which is stored in the rule module and is increased, deleted and changed by the rule module according to the instruction.
[0059] In some examples, a rule request message is received, and the preset sending rule of the AVS message is set according to the received rule request message, and the preset sending rule of the AVS message is added to the rule parameter table.
[0060] S11': A query request message is received, and the preset sending rule of the AVS message in the rule parameter table is fed back to the target user.
[0061] Specifically, the target user can send a query request message to the rule module, and feed back the existing preset sending rule in the rule parameter table to the target user according to the query request message.
[0062] S12': A rule request message is received, and the preset sending rule of the AVS message in the rule parameter table is changed and / or deleted according to the rule request message.
[0063] Specifically, after the target user inquires the preset sending rule in the rule parameter table, the target user can modify and delete the preset sending rule of the existing AVS message through the rule request message.
[0064] In some examples, the AVS message sending method further includes: performing target user behavior analysis and target user data analysis according to the preset sending rule of the existing AVS message of the target user, and updating the preset sending rule of the AVS message. When the target user has the preset sending rule of the existing AVS message, or according to the historical data of sending the AVS message to the target user, the target user behavior analysis and the target user data analysis are performed using artificial intelligence, and the preset sending rule of the AVS message is automatically updated.
[0065] In some examples, receiving the flight booking message of the target user and storing the flight booking data in the flight booking message further includes:
[0066] S21: receiving the flight query message of the target user, and adding the flight query data in the flight query message to the query record table.
[0067] Specifically, the flight query message of the target user is received, the flight seat information in the inventory data is fed back to the target user as the flight query result, and the flight query data in the flight query message is added to the query record table. The query record table includes target user name, query time, query flight number, query flight segment, query flight segment date, query seat, query result and the like, wherein the query time is recorded in seconds. The query record table is a data table in the data statistics module, is stored in the data statistics module, and is added, deleted and changed by the data statistics module according to instructions.
[0068] S22: receiving the flight booking message of the target user, and adding the flight booking data in the flight booking message to the booking record table.
[0069] Specifically, the flight booking message of the target user is received, the flight seat information in the inventory data is fed back to the target user as the flight booking result, and the flight booking data in the flight booking message is added to the booking record table of the data statistics module. The booking record table includes target user name, booking time, booking flight number, booking flight segment, booking flight segment date, booking seat, booking result and the like, wherein the booking time is recorded in seconds. The booking record table is a data table in the data statistics module, is stored in the data statistics module, and is added, deleted and changed by the data statistics module according to instructions.
[0070] The following illustrates the steps S21 and S22. There is a flight date, a flight with a flight number YY001, a target user A, 10000 queries of flight seat information, and 100 reservations of seats; a target user B, 30000 queries of flight seat information, and 1 reservation of seats; there is also a flight YY002, a target user A, 10 queries of flight seat information, and 0 reservations of seats; a target user C, 50000 queries of flight seat information, and 300 reservations of seats. The foregoing new record corresponding to the target user is stored in the query record table, and the foregoing reservation record corresponding to the target user is stored in the reservation record table.
[0071] In some examples, the flight reservation data is summarized, flight reservation summary information corresponding to the target user is generated according to a preset period, and specifically includes:
[0072] S31: Determine the target user through the user data table, wherein the target user includes foreign airlines, foreign agent systems, domestic airlines and third-party ticketing systems, and part of domestic airlines.
[0073] Specifically, all foreign airlines, foreign agent systems and third-party ticketing systems, and part of domestic airlines are stored in the user data table, and the target user is determined from the user data table; the user data table is a data table in the basic data module, stored in the basic data module, and increased, deleted and changed by the basic data module according to instructions.
[0074] S32: Real-time summary of flight reservation data corresponding to the target user is performed from the reservation record table, flight reservation summary information corresponding to the target user is generated according to a preset period, and stored in the reservation summary table.
[0075] Specifically, in the booking record table, the flight booking data corresponding to the target user is summarized, the data in the booking record table is summarized according to a preset period, flight booking summary information corresponding to the names of foreign airlines, foreign agent system names, and third-party ticketing system names, and part of the names of domestic airlines is generated and stored in the booking summary table; the preset period can be a natural day or set according to the time of night maintenance. In the process of summarizing the flight booking data corresponding to the target user to generate the flight booking summary information corresponding to the target user, one or more types of information can be counted, for example: flight booking data with the same target user name, booking flight number and booking flight segment date are counted as the same flight booking summary information. Understandably, the booking summary table is a data form in the data analysis module, stored in the data analysis module, and increased, deleted and changed by the data analysis module according to instructions. The booking summary table includes ID, target user name, airline, flight number, flight date, booking date, booking quantity and other information. The flight booking summary information includes ID, target user name, airline, flight number, flight date, booking date, booking quantity and other information; the flight booking summary information can be limited according to one or more types of information when dividing ID, for example, the ID is divided according to the target user name, airline, flight number and flight date. It should be understood that the user system can also summarize flight query data from the query record table, generate flight query summary information corresponding to foreign airlines, foreign agent systems and third-party ticketing systems, and part of domestic airlines according to a preset period, and generate a query summary table. The query summary table is a data form in the data analysis module, stored in the data analysis module, and increased, deleted and changed by the data analysis module according to instructions.
[0076] In some examples, flight booking summary information meeting the preset sending rules is determined, AVS messages are generated according to flight seat information in the inventory data, and the AVS messages are sent to the corresponding target user, specifically including:
[0077] S41: Obtain flight booking summary information, determine flight booking summary information meeting the preset sending rules according to the preset sending rules, and generate and temporarily store AVS sending strategies.
[0078] Specifically, flight booking summary information is obtained from the booking summary table, flight booking summary information meeting the preset sending rules is determined according to the preset sending rules in the rule parameter table, and AVS sending strategies are generated through the target user name recorded in the flight booking summary information to determine the target user corresponding to the flight booking summary information; the AVS sending strategy includes sending content, sending time and sending target user; for example: for the airline YY, send the AVS message with flight number XX1234 and flight date from August 26 to August 31.
[0079] S42: According to the AVS sending strategy, the flight seat information in the inventory data is combined to generate an AVS message, and the AVS message is sent to the corresponding target user at a preset time.
[0080] Specifically, according to the sending content and target user in the AVS sending strategy, the user data table and the flight seat information in the inventory data are combined to generate an AVS message, the sending time in the AVS sending strategy is determined as the preset time, and the AVS message is sent to the corresponding target user at the preset time. The target user is notified that a new AVS message has been sent. The AVS message includes specific flight seat information, a flight number, and a flight date, for example: flight seat information for flight number XX1234 on August 26, 2024; the flight is divided into different cabins according to different regions, including cabin F, cabin A, and cabin B; cabin F can sell 5 seats, cabin A can sell 3 seats, and cabin B cannot sell seats.
[0081] In some examples, the preset sending rule of the AVS message further includes a basic rule, which includes: 1. periodically send the AVS message to the target user, set a time length, and periodically send the AVS message to the target user. 2. Send the AVS message to the target user after the flight seat booking fails; after receiving the flight booking message of the target user, the flight seat booking fails, for example: receiving the flight booking message of the target user, and the corresponding flight seat in the flight booking message is searched in the inventory data and is found to be a booked seat, then it is determined that the flight seat booking fails; at this time, it is indicated that the database of the target user storing the flight seat information needs to be updated, therefore, after the flight seat booking fails, the AVS message is sent to the target user.
[0082] In some examples, the flight booking quantity threshold and / or the flight query quantity threshold are used as the preset sending rule of the AVS message within a preset time period. Within the preset time period, when the flight booking quantity reaches the flight booking quantity threshold and / or the flight query quantity reaches the flight query quantity threshold, the AVS message is sent to the target user, so that the database of the target user storing the flight seat information keeps the latest flight seat information; wherein the preset time period can be set according to the natural day flight condition or according to the time of night maintenance. For example: the preset sending rule is a natural day flight booking quantity threshold m; flight booking data of a certain flight is obtained, flight booking summary information is generated according to the flight booking data, and it is judged whether the booking quantity in the flight booking summary information reaches m. If m is reached, the AVS message needs to be sent to the corresponding target user; if m is not reached, the AVS message does not need to be sent. For example: the preset sending rule of the target user is to send the AVS message when the seat booking times are greater than 200 times; the number of times of booking the flight seat of a certain flight of the target user is counted, and if the number of times of booking the seat is greater than 200 times, the AVS message is sent to the target user.
[0083] In some examples, a time threshold for not receiving the flight booking message and / or the flight query message is set as the preset sending rule of the AVS message. When no flight booking message and flight query message is received for a long time, it is considered that the database storing the flight seat information in the user system may not be able to update in time or lack of flight data, and the AVS message is sent to the user system. For example: the preset sending rule is that no flight booking message is received within n natural days; the number of days of not receiving the flight booking message sent by the target user is counted; if n natural days are reached and no flight booking message of the target user is received, the AVS message needs to be sent to the target user; if n is not reached, the AVS message does not need to be sent. For example: the preset sending rule of the target user is to send the AVS message when there is no new booking for 7 days; the flight booking data of a certain flight of the target user is counted, the date of the last time the target user books the flight seat is confirmed, and if the last time the seat is booked is 7 days ago, the AVS message is sent to the target user.
[0084] Embodiment 1:
[0085] The target user is determined by querying the user data table, and the target user includes foreign airlines, foreign agent systems, domestic airlines and third-party ticketing systems, and part of domestic airlines. In this embodiment, YY001 and YY002 flights of YY Airlines are included; the flight dates of YY001 include October 1, 2023 and October 2, 2023; the flight dates of YY002 include October 1, 2023 and October 2, 2023. Foreign airlines LH (hereinafter referred to as foreign airline LH) and foreign airlines UA (hereinafter referred to as foreign airline UA) are also included, both of which are target users.
[0086] Table 1 is a rule parameter table, and the rule with rule ID 1 is a preset sending rule for AVS messages of foreign airline LH. "*" indicates that it works for all flight numbers of YY Airlines, and when the number of reservations of foreign airline LH for a certain flight on a certain date is greater than 50 times, an AVS message is sent to foreign airline LH. The rule with rule ID 2 is a preset sending rule for AVS messages of foreign airline UA, which works for flight number 002 of YY Airlines, and when the number of reservations of foreign airline UA for a certain flight on a certain date is greater than 30 times, an AVS message is sent to foreign airline UA.
[0087] It should be noted that the rule parameter table is stored in the rule module, and the rule module will check the data authority and field constraint indicating the preset sending rule before saving the preset sending rule. If the content filled by the target user does not meet the requirements, an error will be prompted, and the target user will be prompted to fill in again.
[0088] Rule ID Target User Airline Flight Number Number of Flight Reservations 1 LH YY * 50 2 UA YY 002 30
[0089] Table 1
[0090] On September 19, 2023, the night maintenance work was started in the early morning, and the reservation record table was searched to extract all records in the reservation record table with date range from 00:00:00 on September 18, 2023 to 23:59:59 on September 18, 2023, and the reservation parties were LH foreign airlines and UA foreign airlines. After the records of the reservation parties LH foreign airlines and UA foreign airlines were summarized, they were stored in the reservation summary table.
[0091] Get flight booking summary information. Table 2 shows the booking summary. On September 18, 2023, LH Airlines booked 40 flights for flight YY001 on October 1, 2023, and 200 flights for flight YY001 on October 2, 2023. It did not book flight YY002 on October 1 or October 2, 2023. On September 18, 2023, LH Airlines booked 50 flights for flight YY002 on October 1, 2023, and 10 flights for flight YY002 on October 2, 2023. It did not book flight YY001 on October 1 or October 2, 2023.
[0092] ID Reserving Party Flight Number Flight Date Reservation Date Number of Reservations 1 LH YY001 2023-10-1 2023-9-18 40 2 LH YY001 2023-10-2 2023-9-18 200 3 UA YY002 2023-10-1 2023-9-18 50 4 UA YY002 2023-10-2 2023-9-18 10
[0093] Table 2
[0094] According to the preset sending rules in the rule parameter table, the flight booking summary information and the corresponding target users for which the AVS message needs to be sent are determined in the booking summary table. Based on the preset dispatching rules configured by the foreign airline, the system searches for flight booking summary information in the reservation summary table that meets the preset dispatching rules for AVS messages. The number of reservations for ID2 in Table 2 exceeds the number of flight reservations for rule ID1 in Table 1, and both ID2 in Table 2 and rule ID1 in Table 1 correspond to the foreign airline LH. The number of reservations for ID3 in Table 2 exceeds the number of flight reservations for rule ID2 in Table 1, and both ID3 in Table 2 and rule ID2 in Table 1 correspond to the foreign airline UA. Therefore, ID2 and ID3 in the reservation summary table meet the preset dispatching rules for AVS dispatching, and AVS messages need to be sent to the foreign airline LH and foreign airline UA. An AVS dispatching policy is generated, which includes dispatching information, such as the specific flight number and date, dispatching time, and target users, i.e., the foreign airline LH and foreign airline UA. The AVS dispatching policy is temporarily stored, and based on the AVS dispatching policy and the flight seat information in the inventory data, an AVS message is generated and dispatched to the corresponding target users according to the dispatching time specified in the AVS dispatching policy. Specifically, the AVS message sent to foreign airline LH includes flight number YY001 and seat information for a flight date of October 2, 2023. The AVS message sent to foreign airline UA includes flight number YY002 and seat information for a flight date of October 1, 2023.
[0095] In a second aspect, the present disclosure also provides an AVS message sending system, such as Figure 2 As shown, the AVS message sending system includes: a query module, a reservation module, a rule module, an inventory data module, an AVS message publishing module, a basic data module, a data statistics module, a data analysis module, a scheduled task module and a monitoring module.
[0096] The query module is configured to receive a flight query message of a target user and feed back a flight query result to the target user.
[0097] The booking module is configured to receive a flight booking message of a target user and feed back a flight booking result to the target user.
[0098] The rule module is configured to receive a rule request message, set a preset sending rule of an AVS message according to the received rule request message, and feed back a stored preset sending rule to the target user according to the received query request message.
[0099] The basic data module is configured to store target users, wherein the target users include foreign airlines, foreign agent systems and third-party ticket booking systems, and part of domestic airlines.
[0100] The data statistics module is configured to store flight query data of a flight query message and flight booking data of a flight booking message.
[0101] The inventory data module is configured to store inventory data, wherein the inventory data includes flight seat information of all flight numbers and flight dates in all airlines.
[0102] The data analysis module is configured to obtain flight booking summary information, determine flight booking summary information meeting a preset sending rule according to the preset sending rule, generate and temporarily store an AVS sending strategy, receive flight booking summary information sent by the timing task module, and store the flight booking summary information in a booking summary table of the data analysis module, so that the data analysis module can directly obtain the flight booking summary information from the booking summary table. Understandably, the data analysis module can also receive real-time flight booking summary information sent by the timing task module.
[0103] The AVS message publishing module is configured to generate an AVS message according to the AVS sending strategy and in combination with flight seat information in the inventory data, and send the AVS message to a corresponding target user at a preset time.
[0104] The timing task module is configured to summarize flight booking data, send flight booking summary information to the data analysis module, temporarily store an AVS sending strategy, and send the AVS message to a corresponding target user at a preset time according to the AVS sending strategy.
[0105] Further, the data statistics module, the data analysis module and other modules can be started by the timing task module.
[0106] The monitoring module is configured to monitor running conditions of the modules, and issue a warning when the running conditions of the modules are abnormal.
[0107] In a third aspect, based on the same inventive concept, the present disclosure further provides a computer-readable storage medium storing one or more programs, which when executed, implement the AVS message sending method described above.
[0108] In a fourth aspect, based on the same inventive concept, the present disclosure further provides an electronic device, which includes a processor, a communication interface, the computer-readable storage medium described above, and a communication bus. The processor, the communication interface, and the computer-readable storage medium communicate with each other through the communication bus. The processor is configured to execute the program stored in the computer-readable storage medium.
[0109] It should be noted that the electrical connection between the above-mentioned various units does not necessarily mean the connection between the lines, the indirect connection mode, as long as the purpose of the present disclosure can be achieved.
[0110] Although the present disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can still be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure.
Claims
1. A method for sending an AVS message, characterized in that: The method comprises: Receive a rule request message, and set a preset sending rule for the AVS message according to the received rule request message, including: setting a flight booking quantity threshold and / or a flight query quantity threshold within a preset time period as the preset sending rule for the AVS message; setting a time threshold for not receiving a flight booking message and / or a flight query message as the preset sending rule for the AVS message; Receive a flight booking message from a target user and store the flight booking data in the flight booking message; Aggregating flight booking data and generating flight booking summary information corresponding to a target user based on a preset period, including: determining a target user through a user data table; aggregating flight booking data corresponding to the target user from a booking record table, generating flight booking summary information corresponding to the target user based on a preset period, and storing the information in a booking summary table; Determine flight booking summary information that meets the preset sending rules, generate an AVS message based on the flight seat information in the inventory data, and send the AVS message to the corresponding target user, including: obtaining flight booking summary information, determining flight booking summary information that meets the preset sending rules based on the preset sending rules, generating and temporarily storing an AVS sending strategy; generating an AVS message based on the AVS sending strategy and the flight seat information in the inventory data, and sending the AVS message to the corresponding target user at a preset time; in, The target users include foreign airlines, foreign agent systems, domestic airlines and third-party booking systems.
2. The method according to claim 1, characterized in that The receiving rule request message and setting a preset sending rule of the AVS message according to the received rule request message include: Receive a rule request message, set a preset sending rule for the AVS message according to the rule request message, and add the preset sending rule to the rule parameter table.
3. The method according to claim 1, characterized in that The receiving rule request message and setting a preset sending rule of the AVS message according to the received rule request message also includes: Receive the query request message and feedback the preset sending rules of the AVS message in the rule parameter table to the target user; Receive a rule request message, and modify and / or delete the preset sending rule of the AVS message in the rule parameter table according to the rule request message.
4. The method according to claim 1, wherein The receiving of a flight reservation message from a target user and storing flight reservation data in the flight reservation message includes: Receive a flight query message from a target user and add the flight query data in the flight query message to a query record table; Receive the flight booking message of the target user, and add the flight booking data in the flight booking message to the booking record table.
5. An AVS message sending system, configured to execute an AVS message sending method according to any one of claims 1 to 4, characterized in that: The system includes: a query module, a reservation module, a rule module, an inventory data module, an AVS message publishing module, a basic data module, a data statistics module, a data analysis module, a scheduled task module and a monitoring module; The query module is used to receive flight query messages from target users and feedback flight query results to the target users; The booking module is used to receive flight booking messages from target users and provide feedback on flight booking results to the target users; A rule module is used to receive a rule request message and set a preset sending rule for the AVS message according to the received rule request message; The basic data module is used to store target users, including foreign airlines, foreign agent systems, domestic airlines, and third-party booking systems; A data statistics module, used to store flight query data of flight query messages and flight reservation data of flight reservation messages; Inventory data module, used to store inventory data, including flight seat information for all flight numbers and flight dates of all airlines; The data analysis module is used to obtain flight booking summary information, determine the flight booking summary information that meets the preset sending rules according to the preset sending rules, and generate and temporarily store the AVS sending strategy; The AVS message publishing module is used to generate AVS messages based on the AVS sending strategy and the flight seat information in the inventory data, and send the AVS messages to the corresponding target users at the preset time; The timing task module is used to summarize flight booking data and send the flight booking summary information to the data analysis module; it is also used to temporarily store the AVS sending strategy and send the AVS message to the corresponding target user at the preset time according to the AVS sending strategy.
6. A computer-readable storage medium storing one or more programs, characterized in that: When the one or more programs are executed, the AVS message sending method according to any one of claims 1 to 4 can be implemented.
7. An electronic device comprising a processor, a communication interface, the computer-readable storage medium according to claim 6, and a communication bus; wherein: The processor, the communication interface, and the computer-readable storage medium communicate with each other via a communication bus; It is characterized by: The processor is configured to execute a program stored in a computer-readable storage medium.
Citation Information
Patent Citations
Passenger shipping space verification method and device thereof, electronic equipment and storage medium
CN112990864A
Flight cache updating method and device, storage medium and equipment
CN118245511A