A search method and system based on real-time flight seat inventory rule matching
By matching real-time flight cabin availability information with fare rules, the problem of existing systems being unable to detect seat availability in real time has been solved. This enables dynamic and accurate pricing and flexible application of fare rules, improving airline revenue management and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TRAVELSKY TECHNOLOGY LIMITED
- Filing Date
- 2026-02-04
- Publication Date
- 2026-06-05
AI Technical Summary
Existing airline ticketing systems cannot detect the availability of seats on flights in real time, resulting in a disconnect between price calculations and market supply and demand. This prevents intelligent price adjustments and profit maximization, leading to revenue losses for airlines and a decline in user experience.
By acquiring users' search requests, determining the path, and obtaining flight availability information based on the path, the system matches and verifies the fare rules to determine whether the fare rules can be used in the fare search process, including judging the number or proportion of remaining seats to meet the conditions of different fare types.
It enables dynamic and accurate pricing, enhances airlines' flexibility and revenue management capabilities, ensures rigorous fare rule verification logic, meets diverse operational needs, and optimizes the ticket price calculation process.
Smart Images

Figure CN122152885A_ABST
Abstract
Description
Technical Field
[0001] This application pertains to the field of air ticket booking, and specifically relates to a search method and system based on real-time flight cabin availability rule matching. Background Technology
[0002] In the current airfare booking industry, flight pricing systems generally rely on fixed fare rules, primarily using static information such as cabin class, travel date, and advance booking days as the core calculation basis. These systems often employ a predefined rule base matched with basic data in their architecture, lacking the ability to deeply integrate real-time dynamic data. For example, when calculating fares, the system only uses a preset cabin class base price table and date discount coefficients, failing to incorporate dynamic factors such as the number of remaining seats and real-time booking trends into the calculation logic. This static calculation method makes the pricing mechanism ill-suited to the rapid changes in the supply and demand relationship in the aviation market, resulting in a severe disconnect between the calculated prices and the actual market supply and demand situation.
[0003] From an airline operations management perspective, the limitations of existing systems are particularly pronounced. Airlines face numerous challenges in revenue management because they cannot integrate real-time seat availability into pricing calculations. In actual operations, flight seat inventory is highly dynamic. For example, demand surges on popular routes during peak travel seasons, while off-peak times or routes may see a large number of vacant seats. When a flight is close to departure but still has many seats available, traditional systems, lacking real-time awareness and intelligent pricing capabilities, cannot trigger price reduction strategies in time, leading to idle seat resources and direct revenue losses for airlines. According to industry statistics, seat vacancy losses due to unreasonable pricing account for 3%-5% of annual revenue for some airlines. Conversely, when flight seats are in short supply, the system cannot automatically identify peak demand and cannot maximize revenue through premium pricing rules, missing opportunities to increase profits. Furthermore, while some existing systems have attempted to introduce dynamic pricing mechanisms, they simply refer to historical booking data or market average prices, lacking real-time awareness and accurate matching of current flight seat availability. This approach cannot adapt to the complex and ever-changing demands of flight operations and makes it difficult to achieve effective linkage between fare rules and actual seat inventory status.
[0004] Therefore, there is an urgent need for a method that can obtain the seat availability of booked flights in real time during the price calculation process and match it with the preset rules for the range of remaining seats on flights, so as to accurately confirm whether the fare rules meet the conditions, in order to optimize the air ticket price calculation system, improve the airline's revenue management capabilities and user booking experience. Summary of the Invention
[0005] To address the aforementioned issues, this application provides a search method based on real-time flight cabin availability rule matching, the method comprising: Obtain the user's search request and determine the path, wherein the search request includes the origin and destination; Obtain flight cabin availability information based on flight route; The cabin availability information is matched and verified with the fare rules, which include the range of remaining seats on the flight, and the matching result includes the fare type. Based on the verification results, determine whether the fare rules can be used in the fare search process.
[0006] According to some embodiments of this disclosure, obtaining flight cabin availability information based on a route includes: Call the flight inventory system to obtain the cabin class code, total number of seats, and number of sold seats for each flight segment; The cabin availability information includes at least the remaining seat data for the flight class or cabin class.
[0007] According to some embodiments of this disclosure, the remaining seat range conditions for a flight include: a range of the number of remaining seats or a range of the proportion of remaining seats.
[0008] According to some embodiments of this disclosure, matching cabin availability information with the range of remaining seats on a flight includes: Based on the remaining seat type identifier set in the remaining seat range conditions, determine whether to match by flight or cabin class; If by flight, determine the number or proportion of remaining seats for that flight; If by cabin class, then determine the number or proportion of remaining seats in the cabin class to which the reserved cabin belongs.
[0009] According to some embodiments of this disclosure, determining the number of remaining seats on a flight includes: The number of remaining seats on a flight is determined by the total number of seats in all cabin classes and the total number of seats sold in all cabin classes.
[0010] According to some embodiments of this disclosure, determining the remaining seat ratio of a flight includes: The percentage of remaining seats on a flight is determined by comparing the number of remaining seats with the total number of seats in all cabin classes.
[0011] According to some embodiments of this disclosure, determining the number or proportion of remaining seats in the cabin class to which the predetermined cabin belongs includes: Determine the cabin class to which the reserved cabin in the request belongs; The number or proportion of remaining seats is determined based on the total number of seats in that class and the number of seats already sold.
[0012] According to some embodiments of this disclosure, the matching results are verified, including: If the fare type is single segment or single segment sum, the seating situation of a single flight must meet the rule settings; If the fare type is a package type, then the seating situation of all flight segments must meet the rule settings.
[0013] According to some embodiments of this disclosure, when both the range of the number of remaining seats and the range of the proportion of remaining seats are set in the fare rules, the proportion range is used for matching.
[0014] According to some embodiments of this disclosure, determining whether a fare rule can be used in the fare search process based on the verification results includes: If the verification result is successful, the fare rule will be marked as available and used for subsequent fare calculations; If the verification result is unsuccessful, the fare rule will be abandoned.
[0015] This application also provides a search system based on real-time flight cabin availability rule matching, the system comprising: The first acquisition module is used to acquire the user's search request and determine the path, wherein the search request includes the origin and destination; The second acquisition module is used to obtain cabin availability information for flights based on the route. The matching and verification module is used to match and verify cabin availability information with fare rules, which include the range of remaining seats on the flight, and the matching result includes the fare type. The determination module is used to determine whether the fare rules can be used in the fare search process based on the verification results.
[0016] Compared with the prior art, this application has the following advantages: This application deeply integrates real-time flight seat availability data into price calculation. By acquiring cabin availability information in real time and matching it with preset seat availability rules, it achieves dynamic and accurate pricing. In terms of fare rule setting, it grants airlines a high degree of flexibility, allowing them to freely choose to set seat availability limits based on quantity or proportion, either by flight or cabin class. Simultaneously, the system can accurately compare seat availability with rules based on different fare types, such as single-segment, single-segment summation, and package fares, ensuring rigorous rule verification logic, meeting diverse operational needs, and enhancing the autonomy and sophistication of airline revenue management.
[0017] Other features and advantages of this application will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures pointed out in the description, claims and drawings. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 A diagram illustrating a search method based on real-time flight cabin availability rule matching according to an embodiment of this application is shown. Figure 2 A detailed flowchart of a search method based on real-time flight cabin availability rule matching according to an embodiment of this application is shown; Figure 3 A diagram of a search system based on real-time flight cabin availability rule matching according to an embodiment of this application is shown. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0021] technical terms Airfare: The cost incurred in transferring passengers, cargo, or mail from point A to point B using a certain mode of transportation. Airfares include ticket price, taxes, and additional service fees.
[0022] One-way: refers to a journey from the origin to the destination in a single direction without returning to the origin; including direct travel between two points, or travel between multiple points, such as Beijing-Hong Kong.
[0023] Round trip: This refers to a trip where the origin and destination are the same location, entirely by air with no ground segment, and is divided into outbound and return trips, such as Beijing-Hong Kong-Beijing.
[0024] Gap section: Ground transportation section, which can be divided into three cases: origin gap OOJ (such as Beijing-Hong Kong / Hong Kong-Tianjin), turnaround gap TOJ (such as Beijing-Hong Kong / Macau-Beijing), and both ends gap DOJ (such as Beijing-Hong Kong / Macau-Tianjin).
[0025] Fare Search System: Applied to the fare inquiry stage when passengers purchase air tickets, it provides domestic airlines and agent clients with price search services based on available cabin class for flights, and provides an interface for clients' e-commerce sales platforms.
[0026] Low-price flight search: Based on the user's request message containing information such as origin, destination, and travel date, return a message showing the lowest price of available flights.
[0027] like Figure 1 As shown, this application provides a search method based on real-time flight cabin availability rule matching, the method comprising: Obtain the user's search request and determine the path, wherein the search request includes the origin and destination; Obtain flight cabin availability information based on flight route; The cabin availability information is matched and verified with the fare rules, which include the range of remaining seats on the flight, and the matching result includes the fare type. Based on the verification results, determine whether the fare rules can be used in the fare search process.
[0028] Specifically, the information on available cabin space for flights is obtained based on the flight route, including: Call the flight inventory system to obtain the cabin class code, total number of seats, and number of sold seats for each flight segment; The cabin availability information includes at least the remaining seat data for the flight class or cabin class.
[0029] Specifically, the remaining seat range conditions for the flight include: a range of the number of remaining seats or a range of the proportion of remaining seats.
[0030] Specifically, the cabin availability information is matched with the range of remaining seats on the flight, including: Based on the remaining seat type identifier set in the remaining seat range conditions, determine whether to match by flight or cabin class; If by flight, determine the number or proportion of remaining seats for that flight; If by cabin class, then determine the number or proportion of remaining seats in the cabin class to which the reserved cabin belongs.
[0031] Specifically, determining the number of remaining seats on a flight includes: The number of remaining seats on a flight is determined by the total number of seats in all cabin classes and the total number of seats sold in all cabin classes.
[0032] Specifically, determining the remaining seat percentage for a flight includes: The percentage of remaining seats on a flight is determined by comparing the number of remaining seats with the total number of seats in all cabin classes.
[0033] Specifically, determining the number or proportion of remaining seats in the cabin class to which the reserved cabin belongs includes: Determine the cabin class to which the reserved cabin in the request belongs; The number or proportion of remaining seats is determined based on the total number of seats in that class and the number of seats already sold.
[0034] Specifically, the matching result is validated, including: If the fare type is single segment or single segment sum, the seating situation of a single flight must meet the rule settings; If the fare type is a package type, then the seating situation of all flight segments must meet the rule settings.
[0035] Specifically, when both the range of remaining seats and the range of remaining seat percentages are set in the fare rules, the percentage range will be used for matching.
[0036] Specifically, based on the verification results, it is determined whether the fare rules can be used in the fare search process, including: If the verification result is successful, the fare rule will be marked as available and used for subsequent fare calculations; If the verification result is unsuccessful, the fare rule will be abandoned.
[0037] like Figure 2 As shown, the detailed technical content of this method is as follows: Flight setup: First, construct the route based on the departure and arrival cities input by the user. Then, based on the constructed route, search for flights for each segment of the route, obtain flight and cabin information, construct the flight route, and assign cabin information to each flight.
[0038] Trip Breakdown: Based on the user's actual trip, it is broken down into one or more fare combination schemes. Fare combination schemes can be used to attach fare information and flight information, and it is the smallest unit of calculation for domestic fare search. The created fare combinations can be divided into one-way full fare, one-way multi-segment fare, round-trip full fare, and round-trip multi-segment fare.
[0039] Get freight rates: Obtain freight rate data based on freight rate combination schemes.
[0040] Freight rate verification: This includes verifying freight rates by capacity, access rights, rules, and routes. These verifications ensure that the travel solutions are accurate and compliant; only travel solutions that pass the freight rate verification can be returned.
[0041] Freight Calculation: The results of the freight fare combination scheme calculation are processed item by item. The freight prices in each itinerary scheme are combined and calculated to generate the itinerary scheme price result.
[0042] Results generated: After combining and calculating fares, the results are processed and displayed based on the information specified in the user's input message, including flight information and its corresponding fares. The tiered refund and change rules are also displayed here.
[0043] 1. Data definition and acquisition method The implementation of this solution mainly relies on two parts of data: first, obtaining real-time cabin availability data, and second, setting the range of remaining seats for flights in the fare rules.
[0044] (1) Obtain real-time cabin data The system retrieves real-time flight availability information from the flight inventory system, including the cabin class code and number of seats for that flight.
[0045] If the inventory system returns the following data: J32G24Y255:J0G0Y5, it represents [total number of premium cabin seats returned: number of premium cabin seats sold]. Total number of seats in cabin J: 32, 0 sold; Total number of seats in cabin G: 24, 0 sold; Total number of seats in cabin Y: 255, 5 sold.
[0046] (2) The fare rules set the range of remaining seats for flights The fare publishing front-end maintenance interface allows airlines to set limits on the remaining seat range when configuring fare rules. These limits can be set by flight or cabin class, and can be based on quantity or percentage. This data will be used during subsequent rule validation.
[0047] 2. Search Implementation Principle In the fare verification process, the real-time flight cabin availability data is matched with the preset rules for the range of remaining seats on flights to determine whether the fare rule is valid.
[0048] (1) Determine which flight's remaining seat range to use If the rule is set to "Remaining Seat Quantity Range" based on the flight, then the total number of seats in all cabin classes for that flight needs to be added together, and the sum of the number of sold seats in all cabin classes needs to be subtracted to get the number of remaining available seats for that flight; for example, if class J has 32 / 11 seats and class Y has 192 / 138 seats, then the number of seats for the flight is 32 + 192 - 138 = 224, 11 + 138 = 149, and 224 - 149 = 75 available seats.
[0049] If the rule is set to "Remaining Seat Percentage Range" based on the flight, then the total number of seats in all cabin classes for that flight needs to be added together, and the sum of the number of sold seats in all cabin classes needs to be subtracted to get the number of remaining available seats for that flight. Then, divide by the total number of flights to get the available seat percentage. For example, if class J has 32 / 11 seats and class Y has 192 / 138 seats, then the number of seats for the flight is 32 + 192 = 224, 11 + 138 = 149, 224 - 149 = 75, and 75 / 224 = 0.3348214257 ≈ 0.33, which is 33% remaining seat percentage.
[0050] If the rule is set to be based on cabin class, then it is necessary to determine the cabin class to which the reserved cabin class in the request belongs. After determining the cabin class, the number of remaining seats and the percentage of remaining seats in that cabin class are calculated and compared with the conditions set in the rule.
[0051] (2) Compare according to freight rate type If the fare is for a single segment or a combination of segments, the seat availability for a single flight is compared with the range (number / proportion) of remaining seats for the flight in the fare rules.
[0052] If it is a package fare, the seat availability of all flight segments must match the range (quantity / proportion) of flight seats in the fare rules.
[0053] If the above verification logic is satisfied, the verification passes and the rule is used for subsequent logic; if it is not satisfied, the verification fails and the rule is abandoned.
[0054] Example 1. Calculate the number of remaining seats for each flight segment in the request. Input item: Information on the total number of premium cabins and the number of premium cabins already sold for each flight segment; For example: Class J, 32 / 11, where the total number and the number sold are separated by a forward slash " / ", the number before the forward slash is the total number, and the number after the forward slash is the number sold.
[0055] Processing logic: The number of seats remaining on this flight = the sum of the total number of seats in all cabin classes on this flight - the sum of the number of seats already sold in all cabin classes. For example: Requests for class J (32 / 11) and class Y (192 / 138) are incomplete. Total number of seats across all cabin classes: 32 + 192 = 224 [Sum of seats sold across all cabin classes]: 11 + 138 = 149 [Number of seats remaining]: 224 - 149 = 75 2. Calculate the percentage of remaining seats for each flight segment in the request. Input item: Information on the total number of premium cabins and the number of premium cabins already sold for each flight segment; For example: Class J, 32 / 11, where the total number and the number sold are separated by a forward slash " / ", the number before the forward slash is the total number, and the number after the forward slash is the number sold.
[0056] Processing logic: The percentage of seats remaining on this flight = the number of seats remaining on this flight / the sum of the total number of seats in all cabin classes. For example: Requests for class J (32 / 11) and class Y (192 / 138) are incomplete. Total number of seats across all cabin classes: 32 + 192 = 224 [Sum of seats sold across all cabin classes]: 11 + 138 = 149 [Number of seats remaining]: 224 - 149 = 75 [Remaining seat percentage]: 75 / 224 = 0.33482142857 ≈ 0.33, or 33%. 3. Calculate the number of remaining seats in the cabin class to which each segment of the flight reservation belongs in the request. Input item: The airline, reserved cabin class, sales date, and flight date for each segment in the request are the same as above.
[0057] Processing logic: Determine the cabin class of the reserved cabin. The number of remaining seats in this cabin class is equal to the total number of seats in this cabin class minus the number of seats sold. This number serves as the basis for subsequent verification of fare rules.
[0058] For example: the booked cabin class is S (S class belongs to Y class, etc.), J class 32 / 11, Y class 192 / 138. Class Y (Total Seats): 192 Class Y (Seats Sold): 138 Remaining seats in Class Y, etc.: 192 - 138 = 54 4. Calculate the percentage of remaining seats in the cabin class for each segment of the flight request. Input item: The airline, reserved cabin class, sales date, and flight date for each segment in the request are the same as above.
[0059] Processing logic: Determine the cabin class of the reserved cabin; The percentage of remaining seats in this cabin class is calculated as the number of remaining seats in this cabin class divided by the total number of seats. This serves as the basis for subsequent verification of fare rules.
[0060] For example: the booked cabin class is S (S class belongs to Y class, etc.), J class 32 / 11, Y class 192 / 138. Class Y (Total Seats): 192 Class Y (Seats Sold): 138 Remaining seats in Class Y, etc.: 192 - 138 = 54 The percentage of remaining seats in Class Y and other classes is approximately 54 / 192 = 0.28125 ≈ 0.28, or 28%. 5. Check if there are any remaining seat restrictions. For each fare combination in the itinerary, retrieve the value of the remaining seat type identifier from the corresponding rule data. If the "Remaining Seat Type Identifier" is empty, it is assumed that there are no remaining seat restrictions in the rules, and this fare combination passes the verification. If the "Remaining Seat Type Identifier" is not empty, it is assumed that there is a remaining seat restriction in the rule, and a check will be performed.
[0061] 6. The selection of the remaining seat range type in the rule data is shown in Table 1.
[0062] Table 1
[0063] If both values in the "Remaining Seat Quantity Range" field are not empty, then the remaining seat limit set in the rule is considered to be a quantity range limit; the following "Remaining Seat Quantity Range" validation will then be performed. If both values of the "Remaining Seats Percentage Range" field are not empty, then the remaining seat limit set in the rule is considered to be a percentage range limit; the following "Remaining Seats Percentage Range" validation will then be performed. If the values of all four fields, "Remaining Seat Quantity Range" and "Remaining Seat Ratio Range", are not empty, then the remaining seat restriction set in the rule is considered to be a ratio range restriction (ratio is preferred).
[0064] 7. Rule setting: Validation of the range of remaining seats. This verification is involved for each fare combination during the trip: (1) If the remaining seats are labeled as "Flight" If each segment in the fare package satisfies the condition that the "number of remaining seats on the flight" is within the range of remaining seats [closed interval] set by the rules, the fare package passes the verification. Otherwise, the verification of this freight rate combination will fail.
[0065] (2) If the remaining seat type is identified as "Class 1" or other values If each segment in the fare package satisfies the condition that the "remaining number of seats in the cabin class of the booked cabin" is within the range of remaining seats set by the rules [closed interval], the fare package passes the verification. Otherwise, the verification of this freight rate combination will fail.
[0066] 8. Rule setting: Validation of the remaining seat ratio range This verification is involved for each fare combination during the trip: (1) If the remaining seats are labeled as "Flight" If each segment in the fare package satisfies the condition that the "remaining seat percentage of the flight" is within the range of remaining seat percentages set by the rules [closed interval], the fare package passes the verification. Otherwise, the verification of this freight rate combination will fail.
[0067] (2) If the remaining seat type is identified as "Class 1" or other values If each segment in the fare package satisfies the condition that the "remaining seat percentage of the cabin class to which the booked cabin belongs" is within the range of remaining seat percentages set by the rules [closed interval], the fare package passes the verification. Otherwise, the verification of this freight rate combination will fail.
[0068] It should be noted that the main business scenarios addressed in this application can be summarized as follows: Targeting domestic flight search scenarios, including airlines and sales agents.
[0069] Applicable to one-way, round-trip, and gap-in trips. Supports adult and child passenger types.
[0070] The problem to be solved is: when searching for air tickets across all channels, to implement a search method that matches real-time flight seat availability with preset rules for remaining flight seats, accurately confirms whether the fare rules meet the conditions, optimizes the air ticket price calculation process, and improves airline revenue management capabilities and user booking experience.
[0071] like Figure 3 As shown, this application also provides a search system based on real-time flight cabin availability rule matching, the system comprising: The first acquisition module is used to acquire the user's search request and determine the path, wherein the search request includes the origin and destination; The second acquisition module is used to obtain cabin availability information for flights based on the route. The matching and verification module is used to match and verify cabin availability information with fare rules, which include the range of remaining seats on the flight, and the matching result includes the fare type. The determination module is used to determine whether the fare rules can be used in the fare search process based on the verification results.
[0072] Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions 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 this application.
Claims
1. A search method based on real-time flight cabin availability rule matching, characterized in that, The method includes: Obtain the user's search request and determine the path, wherein the search request includes the origin and destination; Obtain flight cabin availability information based on flight route; The cabin availability information is matched and verified with the fare rules, which include the range of remaining seats on the flight, and the matching result includes the fare type. Based on the verification results, determine whether the fare rules can be used in the fare search process.
2. The search method based on real-time flight cabin availability rule matching according to claim 1, characterized in that, Information on available cabin space for flights is obtained based on flight routes, including: Call the flight inventory system to obtain the cabin class code, total number of seats, and number of sold seats for each flight segment; The cabin availability information includes at least the remaining seat data for the flight class or cabin class.
3. The search method based on real-time flight cabin availability rule matching according to claim 1, characterized in that, The conditions for the remaining seats on a flight include: the range of the number of remaining seats and / or the range of the percentage of remaining seats.
4. The search method based on real-time flight cabin availability rule matching according to claim 1, characterized in that, Match cabin availability information with the range of remaining seats on the flight, including: Based on the remaining seat type identifier set in the remaining seat range conditions, determine whether to match by flight or cabin class; If by flight, determine the number or proportion of remaining seats for that flight; If by cabin class, then determine the number or proportion of remaining seats in the cabin class to which the reserved cabin belongs.
5. The search method based on real-time flight cabin availability rule matching according to claim 4, characterized in that, Determining the number of remaining seats on a flight includes: The number of remaining seats on a flight is determined by the total number of seats in all cabin classes and the total number of seats sold in all cabin classes.
6. The search method based on real-time flight cabin availability rule matching according to claim 4, characterized in that, Determining the remaining seat percentage for a flight includes: The percentage of remaining seats on a flight is determined by comparing the number of remaining seats with the total number of seats in all cabin classes.
7. The search method based on real-time flight cabin availability rule matching according to claim 4, characterized in that, Determining the remaining number or proportion of seats in the cabin class to which the reserved cabin belongs includes: Determine the cabin class to which the reserved cabin in the request belongs; The number or proportion of remaining seats is determined based on the total number of seats in that class and the number of seats already sold.
8. The search method based on real-time flight cabin availability rule matching according to claim 1, characterized in that, The matching results are validated, including: If the fare type is single segment or single segment sum, the seating situation of a single flight must meet the rule settings; If the fare type is a package type, then the seating situation of all flight segments must meet the rule settings.
9. The search method based on real-time flight cabin availability rule matching according to claim 2, characterized in that, When both the number of remaining seats and the percentage of remaining seats are set in the conditions for the remaining seats of a flight, the percentage range will be used for matching.
10. The search method based on real-time flight cabin availability rule matching according to claim 1, characterized in that, Based on the verification results, determine whether the fare rules can be used in the fare search process, including: If the verification result is successful, the fare rule will be marked as available and used for subsequent fare calculations; If the verification result is unsuccessful, the fare rule will be abandoned.
11. A search system based on real-time flight cabin availability rule matching, characterized in that, The system includes: The first acquisition module is used to acquire the user's search request and determine the path, wherein the search request includes the origin and destination; The second acquisition module is used to obtain cabin availability information for flights based on the route. The matching and verification module is used to match and verify cabin availability information with fare rules, which include the range of remaining seats on the flight, and the matching result includes the fare type. The determination module is used to determine whether the fare rules can be used in the fare search process based on the verification results.