Unit seat calculation method and system, electronic equipment and storage medium
By setting crew-type seat retention rules in airlines and real-time querying flight seat maps, the problem of inefficient seat allocation for temporary crew members is solved, achieving more efficient and accurate seat allocation and flight operation smoothness.
Patent Information
- Application Number
- CN202411884633.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-04-22
AI Technical Summary
In the prior art, when temporarily allocating crew members, the allocation of crew seats is inefficient, prone to errors, and the response time is long in emergency situations, which affects the normal operation of the flight and the passenger experience.
Provide a crew seat calculation method, by setting crew seat retention rules for crew type, obtaining flight crew seat change requests, querying flight seat maps in real time, and matching seats required by computer groups within the ES segment.
Improves the efficiency of crew seat allocation, reduces errors and delays in manual operations, optimizes passenger experience, and ensures smooth flight operations in emergencies.
Smart Images

Figure CN119863068A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and in particular to a crew seat calculation method, system, electronic equipment and storage medium. Background Art
[0002] With the rapid development of social economy and the deepening of globalization, flight has gradually become an indispensable part of people's daily life. Whether it is business trips, sightseeing or visiting relatives and friends, flying has become the preferred mode of transportation for many passengers due to its high efficiency and convenience. In recent years, with the improvement of people's living standards and the vigorous development of the aviation industry, the number of people taking flights has continued to rise, which has put forward higher requirements for the service quality and operational efficiency of airlines. In order to ensure the safety and punctuality of flights and provide passengers with a comfortable and considerate travel experience, each flight will be equipped with professional crew members; the work efficiency and comfort of the crew members directly affect the service quality of the flight and the satisfaction of passengers. Therefore, airlines need to carefully formulate the allocation plan of crew seats according to the specific conditions of the flight, such as flight duration, aircraft configuration, number of passengers, etc., as well as the number and responsibilities of the crew members, to ensure that the crew members can perform their duties efficiently and comfortably during the flight.
[0003] In reality, for fixed crew members on regular flights, their seats are usually locked in advance on the master seat map to ensure that they have a stable working environment. However, during peak periods of air transportation, special flights, or flight training, airlines often need to temporarily deploy crew members to perform flight missions; at this time, the allocation of crew seats becomes particularly complex and critical.
[0004] The seat allocation of temporary crew members needs to take into account a variety of factors, including but not limited to crew duties, flight type, passenger load factor, and aviation safety. For example, flight attendants are usually assigned seats at the back of the economy class so that they can provide services to passengers more conveniently. However, this allocation process has significant shortcomings in the current business environment:
[0005] 1. Low efficiency: After receiving the notification of adding or reducing temporary crew members, the staff of the departure control room need to manually check the flight seat map and manually calculate and adjust the seats of the crew members based on business experience and guidelines. This process is repetitive and cumbersome, taking up a lot of working time and reducing work efficiency.
[0006] 2. Error-prone and difficult to trace: Manual processing of repetitive tasks is prone to errors, especially when dealing with large amounts of data and complex rules; once the crew sits in the wrong seat, it will not only affect the normal operation of the flight, but may also have a negative impact on the passenger experience. In addition, due to the lack of detailed calculation process records in the original process, when an error is found, it is difficult to quickly and accurately trace the cause of the error.
[0007] 3. Long response time: In emergency situations, such as when a crew member suddenly falls ill or a flight delay causes a crew change, the process of manually adjusting seats may become particularly long; this not only delays the normal departure time of the flight, but may also cause unnecessary trouble to the passengers' itinerary arrangements. Summary of the invention
[0008] In view of the above-mentioned technical problems, the present invention provides a crew seat calculation method, system, electronic device and storage medium. The scheme of the present invention can fully cover the current crew reservation business rules and business scenarios of airlines. The specific implementation technical scheme is as follows:
[0009] According to one aspect of an embodiment of the present invention, a method for calculating crew seats is provided, the method comprising the following steps:
[0010] Step 1: Set crew seat reservation rules for different crew types;
[0011] Step 2: Obtain the flight crew seat change request message and parse it to extract the required data information to provide data support for subsequent processing;
[0012] Step 3: Based on the extracted data information, query and obtain the corresponding flight seat map in real time, obtain the corresponding flight seat set, and match the crew seat reservation rule for the corresponding flight seat set in the ES segment;
[0013] Step 4: According to the actual business scenario and the matched crew seat reservation rules, calculate the seats required by the crew in different ES segments.
[0014] Further, in step 1, the setting of crew seat reservation rules for different crew types refers to setting seat number reservation rules or seat area reservation rules based on different crew types, wherein:
[0015] The setting of the seat number reservation rule refers to setting the order of seat reservation from front to back for the corresponding crew type;
[0016] The seat area rule setting means that a flight can set a large cabin, area range, available seat attributes, and disabled seat attributes.
[0017] Furthermore, in setting the seating area rules, it also supports setting specific range formats, including: supporting the area starting from the nth row onwards, supporting the area within a certain range, supporting the area starting from the nth row onwards, and supporting the area within a certain column, where: n∈[1,N], N represents the row of the seating area.
[0018] Furthermore, in step 2, the request message adopts a standardized format, including key fields such as airline code, terminal code, flight date, change type, crew information, etc.; the extraction of required data information is to extract the data information required for subsequent crew seat calculation based on the parsed message, including: airline, terminal, flight date, change type, crew information, etc., wherein the change type refers to the change requirement for the number of crew seats, including increasing the number of crew seats and reducing the number of crew seats.
[0019] Furthermore, in step 3, matching the set of corresponding flight seats with the crew seat reservation rule in the ES segment also includes:
[0020] Step 301: matching crew seat reservation rules in sequence according to the crew flight segment priority order;
[0021] Step 302: According to the flight crew seat change request, the departure aircraft type, departure version and aircraft registration number of each flight segment in the crew flight segment are analyzed, each ES in the crew flight segment is distinguished, and the ES flight segment is obtained;
[0022] Step 303: The obtained ES flight segment is matched with crew seat reservation rules according to information such as airline, flight number, flight number suffix, flight date, international and domestic, departure station, arrival station, aircraft registration number, departure aircraft model, departure version, aircraft model version, market aircraft model, seat control method, rich seat lock type and large cabin.
[0023] Furthermore, step 3 also includes: judging whether the corresponding flight should follow the airline configuration rule or the airport configuration rule according to the extracted data information, that is, matching rule type; wherein:
[0024] The airline configuration rules refer to the rules for airlines to centrally control multiple airports, which can also be expressed as non-centralized control rules; the airport configuration rules refer to the rules for airports to control and manage their own terminals, which can also be expressed as non-centralized control rules.
[0025] Furthermore, in step 4, the actual business scenario includes a scenario of increasing the number of crew members and a scenario of reducing the number of crew members;
[0026] When the actual business scenario is to increase the number of crew members, the seats required by the crew in different ES segments are calculated and the calculation results are returned, including:
[0027] Step 4-A1: If the seat number reservation rule is matched, the seats are directly calculated and allocated from the seat number reservation rule in the order from the front to the back according to the number of units requested to be added;
[0028] Furthermore, the step of calculating and allocating seats in a front-to-back order from the seat number reservation rules further includes:
[0029] When the number of existing crew seats in the seat reservation rule is ≥ the number of requested crew seats, the corresponding number of seat numbers are obtained;
[0030] When the number of existing crew seats in the seat reservation rule is less than the number of requested crew seats, all available seat numbers are calculated and marked as insufficient.
[0031] Step 4-A2: If the seat area reservation rule is matched, the ES segment is first distinguished, and then the available seats are filtered out according to the conditions such as the cabin and seat area set in the seat area reservation rule, and the seats are allocated according to the seat selection method. If there are insufficient seats, additional seats are searched across flight sections or segments, and the calculation results are returned.
[0032] When the actual business scenario is to reduce the number of crew members, the seats required by the crew in different ES segments are calculated and the calculation results are returned, including:
[0033] Step 4-B1: If the seat reservation rule is matched, the seats are directly calculated and allocated from the rules in the order from the front to the back according to the number of units requested to be reduced;
[0034] Step 4-B2: If the seat area reservation rule is matched, first sort the occupied crew seat groups, then determine whether the sorted seat groups meet the seat area reservation rule, and finally calculate and return the calculated seat result based on the best one.
[0035] Furthermore, in step 4-B2, it also includes:
[0036] Sort the occupied crew seat groups;
[0037] Determine whether the sorted seat group meets the seat area reservation rule, and obtain a seat group set that meets the seat area reservation rule;
[0038] According to the requested number of crew seats to be reduced, the crew seats with the highest priority are selected from the seat group set and returned.
[0039] In another aspect of the embodiment of the present invention, based on the inventive concept with the same technical content as disclosed above, a crew seat calculation system is also provided, the system comprising: a rule setting module, a change request processing module, a flight seat map query and rule matching module, and a calculation module; wherein:
[0040] The rule setting module is used to set crew seat reservation rules for different crew types;
[0041] The change request processing module is used to obtain the flight crew seat change request message and perform message parsing, extract data information, and provide data support for subsequent processing;
[0042] The flight seat map query and rule matching module is used to query and obtain the corresponding flight seat map in real time according to the extracted data information, obtain the set of corresponding flight seats, and match the set of corresponding flight seats with the crew seat reservation rule in the ES segment;
[0043] The calculation module is used to calculate the seats required by the crew in different ES segments according to the actual business scenario and the matched crew seat reservation rules.
[0044] According to another aspect of an embodiment of the present invention, there is provided an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes all steps of a crew seat calculation method as described above.
[0045] In another aspect of an embodiment of the present invention, a computer storage medium is provided, on which a computer program is stored. When the computer program is executed by the processor, it is used to implement all the steps of the crew seat calculation method as described above.
[0046] Compared with the prior art, the present invention has the following advantages:
[0047] 1. Improve allocation efficiency: Through automated calculation and allocation, the efficiency of crew seat allocation is significantly improved, reducing errors and delays in manual operations.
[0048] 2. Optimize passenger experience: Reasonable crew seat allocation can ensure that crew members maintain an efficient working state during flight operations, thereby providing passengers with a better service experience.
[0049] 3. Enhance the smoothness of flight operations: When a flight temporarily changes aircraft models, the method of the present invention can quickly and accurately reallocate crew seats to ensure that the normal operation of the flight is not affected.
[0050] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 The present invention is a flowchart of a crew seat calculation method.
[0053] Figure 2 The present invention is a flowchart of a calculation process of a crew seat calculation method.
[0054] Figure 3 The present invention is a structural schematic diagram of a crew seat calculation system. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0056] In one embodiment, see Figure 1 , provides a crew seat calculation method, Figure 1 The present invention is a flow chart of a crew seat calculation method; the method comprises the following steps:
[0057] Step S1: setting crew seat reservation rules for different crew types;
[0058] Further, the setting of crew seat reservation rules for different crew types refers to setting seat number reservation rules or seat area reservation rules based on different crew types, wherein:
[0059] The setting of the seat number reservation rule refers to setting the order of seat reservation from front to back for the corresponding crew type;
[0060] The seat area rule setting means that a flight can set a large cabin, area range, available seat attributes, and disabled seat attributes.
[0061] Furthermore, when setting the seating area rules, it is also possible to set specific range formats, including:
[0062] Supports the area starting from row n, such as "Y cabin, 4, *", which means all seats in cabin Y starting from row 4, where n∈[1, N], N indicates the row number of the seat area.
[0063] Supports a certain range of areas, such as "C cabin, 2, 4", which means all seats from row 2 to row 4 in cabin C;
[0064] Supports the area from the nth row to the front, such as "Y cabin, -4, -2", which means the seats from the 4th to the 2nd to the last row in cabin Y, where n∈[1, N], N indicates the row number of the seat area;
[0065] Supports a certain column area, such as "Y cabin, 2, 3, AC", which means the seats in rows A and C of rows 2 to 3 of cabin Y.
[0066] Step S2: Obtain the flight crew seat change request message and parse the message to extract the required data information to provide data support for subsequent processing;
[0067] Furthermore, the request message adopts a standardized format to include key fields such as airline code, terminal code, flight date, change type, crew information, etc.; the extraction of required data information is to extract the data information required for subsequent crew seat calculation based on the parsed message, including: airline, terminal, flight date, change type, crew information, etc., wherein the change type refers to the change requirement for the number of crew seats, including increasing the number of crew seats and reducing the number of crew seats.
[0068] Step S3: Based on the extracted data information, query and obtain the corresponding flight seat map in real time, obtain the corresponding flight seat set, and match the crew seat reservation rule for the corresponding flight seat set in the ES segment;
[0069] Furthermore, in step S3, matching the set of corresponding flight seats with the crew seat reservation rule in the ES segment also includes the following steps:
[0070] Step S301: matching crew seat reservation rules in order of crew flight segment priority;
[0071] Furthermore, the priority order of the crew segments refers to the priority of the longest crew segments and the priority of the departure station order; specifically: the long segments are processed first, and then the short segments. For the same number of segments, they are processed in the order of departure stations; for example, for a flight with a flight range of PEK-SHA-CAN, the order of processing the segments is: PEK-CAN>PEK-SHA>SHA-CAN.
[0072] Step S302: according to the flight crew seat change request, analyze the departure aircraft type, departure version and aircraft registration number of each flight segment in the crew segment, distinguish each ES in the crew segment, and obtain the ES segment;
[0073] Step S303: The obtained ES flight segment is matched with crew seat reservation rules according to information such as airline, flight number, flight number suffix, flight date, international and domestic, departure station, arrival station, aircraft registration number, departure aircraft model, departure version, aircraft model version, market aircraft model, seat control method, rich seat lock type and large cabin.
[0074] Furthermore, in step S301, if multiple rules are matched, they are sorted according to a preset priority order to ensure that the optimal rule is selected for seat allocation; the priority order includes multiple fields, and the specific priorities are: flight number>aircraft registration number>departure model>origin station>arrival station>market model>model version>international and domestic identification, etc., and for the same field, the specific value is better than the wildcard "*", that is: flight number, departure station, arrival station, market model, model version, departure model, departure version, aircraft registration number and international and domestic identification can all be configured with a wildcard "*".
[0075] Furthermore, in step S301, the crew seat reservation rules are matched in sequence according to the priority order of the crew flight segments, specifically: the departure aircraft model, departure version, aircraft registration number and other information of each flight segment are analyzed to distinguish different ES flight segments, and based on this information and other attributes of the flight (such as international and domestic, market model, etc.), the crew seat reservation rules are accurately matched.
[0076] Furthermore, in step S3, it also includes: judging whether the corresponding flight should follow the airline configuration rule or the airport configuration rule according to the extracted data information, that is, matching rule type;
[0077] Furthermore, the airline configuration rules refer to the rules for the airline to centrally control multiple airports, and can also be expressed as non-centralized control rules, such as: the CA control room is responsible for the rules of all CA airport flights and manages them in a unified manner; the airport configuration rules refer to the rules for the airport to control and manage its own terminals, and can also be expressed as non-centralized control rules, such as: at ZUH airport, the airport maintains and manages the rules of ZUH airport on its own according to the services provided by the aviation cover company.
[0078] Furthermore, the judgment as to whether the corresponding flight should follow the airline configuration rule or the airport configuration rule is based on the following criteria: the airport configuration rule is used first; if there is no airport configuration rule, the airline configuration rule is used; the purpose of the judgment is to facilitate the management of the rule subject.
[0079] Furthermore, if an airline reclaims a certain terminal for business, the airport configuration rules and airline configuration rules for the terminal will not exist at the same time.
[0080] Step S4: According to the actual business scenario and the matched crew seat reservation rules, the seats required by the crew are calculated in different ES segments.
[0081] For further information, see Figure 2 , Figure 2 is a crew seat calculation flow chart, the actual business scenarios include increasing the number of crew members and reducing the number of crew members, where:
[0082] Calculation of seats required for increased crew size scenarios, including:
[0083] Step S4-A1: If the match is the seat number reservation rule, according to the number of units requested to be added, the seats are directly calculated and allocated from the seat number reservation rule in the order from the front to the back;
[0084] Furthermore, the step of calculating and allocating seats in a front-to-back order from the seat number reservation rules further includes:
[0085] When the number of existing crew seats in the seat reservation rule is ≥ the number of requested crew seats, the corresponding number of seat numbers are obtained;
[0086] When the number of existing crew seats in the seat reservation rule is less than the number of requested crew seats, all available seat numbers are calculated and marked as insufficient.
[0087] In this embodiment, for example: the seats reserved for safety officers in an airline are 1A, 31C, and 65J. When the number of safety officer crew members is 2, the returned safety officer seats are 1A and 31C; when the number of safety officer crew members is 4, the returned safety officer seats are 1A, 31C, and 65J, and it is marked that the number of seats is insufficient.
[0088] Step S4-A2: If the match is the seat area reservation rule, the ES segment is first distinguished, and then the available seats are filtered out according to the conditions such as the cabin and seat area set by the seat area reservation rule, and the seats are allocated according to the seat selection method. If there are insufficient seats, additional seats are searched across flight sections or segments, and the calculation results are returned.
[0089] Furthermore, the step S4-A2 further includes:
[0090] Split the ES segment based on whether the departure aircraft model, departure version and aircraft registration number within the crew segment are consistent, and calculate the crew's seats based on the split ES segment seat map;
[0091] Calculate the number of seats that need to be found in the seating area reservation rules;
[0092] Furthermore, the specific calculation method is: the number of seats to be found = the number of requested crew seats - the number of existing crew seats; for example: there are 5 crew members in the request, and seats have been allocated to 3 crew members before, then seats need to be allocated to 2 more crew members;
[0093] According to the main cabin, seat area, available seat attributes and disabled seat attributes set in the seat area reservation rules, the available seat range is filtered out in the main cabin of the corresponding flight seat map; within the available seat range, the seat numbers are calculated on the ES map according to the seat selection method (from front to back / from back to front / from middle to both sides / from both sides to middle) and the number of seats to be found.
[0094] Furthermore, if the number of available seats on the ES chart is less than the number of seats that need to be found, then first find the available seats on the ES, and look for the insufficient seats on the chart of each flight segment. At this time, if the number of available seats on the ES chart is ≥ the difference, the logic is the same as finding seats in the ES segment; if the number of available seats on the ES chart is less than the difference, calculate all available seat numbers and mark that the number of available seats is insufficient, where: difference = number of seats that need to be found - number of available seats on the ES chart.
[0095] Calculation of crew seat requirements for reduced crew scenarios, including:
[0096] Step S4-B1: If the seat reservation rule is matched, the seats are directly calculated and allocated from the rules in the order from the front to the back according to the number of units requested to be reduced;
[0097] Step S4-B2: If the seat area reservation rule is matched, first sort the occupied crew seat groups, then determine whether the sorted seat groups meet the seat area reservation rule, and finally calculate and return the calculated seat result based on the best one.
[0098] Furthermore, the occupied crew seat groups are first sorted, and then it is determined whether the sorted seat groups comply with the seat area reservation rules, and the judgment criteria are: whether the corresponding flight supports setting the large cabin, area range, available seat attributes, and disabled seat attributes, wherein the seat attributes must comply with the available seat attributes, and there must be no disabled seat attributes.
[0099] Furthermore, in step S4-B2, it also includes:
[0100] First, the occupied crew seat groups are sorted;
[0101] Furthermore, the sorting principle is: long segments take precedence over short segments; for segments with the same number, priority is given to the number of originating segments; within the same segment group, seats in the first flight section are used as the basis, and the seats are sorted in the order of seat selection.
[0102] Then, it is determined whether the sorted seat groups meet the seat area reservation rules, and a seat group set meeting the seat area reservation rules is obtained;
[0103] Finally, according to the number of crew seats requested to be reduced, the crew seats with the highest priority are selected from the seat group set and returned.
[0104] Furthermore, in this embodiment, taking the flight of PEK-SHA-CTU as an example:
[0105] Before this, seats had been reserved for the crew members of four PEK-CTUs, namely: crew seat group 1 "PEK-SHA: 31A", "SHA-CTU: 32A"; crew seat group 2 "PEK-CTU: 33A"; crew seat group 3 "PEK-SHA: 37C", "SHA-CTU: 36D"; crew seat group 4 "PEK-CTU: 36C".
[0106] First, the occupied crew seats are sorted. The seat selection method configured in the rule is from back to front, so the sorting results are: crew seat group 4 "PEK-CTU: 36C"; crew seat group 2 "PEK-CTU: 33A"; crew seat group 3 "PEK-SHA: 37C", "SHA-CTU: 36D"; crew seat group 1 "PEK-SHA: 31A", "SHA-CTU: 32A";
[0107] Then, the sorted seat groups are judged whether they meet the seat area reservation rules, and a seat group set meeting the seat area reservation rules is obtained;
[0108] Finally, the number of crew seats requested to be reduced is 2. According to the sorting results, 2 groups of seats with high priority are selected, and the results become: crew seat group 1 "PEK-CTU: 36C"; crew seat group 2 "PEK-CTU: 33A".
[0109] Further, if the number of crew seats requested to be reduced is greater than the number of occupied crew seats, all occupied crew seats are calculated and it is marked that the number of available seats is insufficient.
[0110] In one embodiment, a crew seat calculation system is also provided. Figure 3 , Figure 3 The present invention is a structural diagram of a crew seat calculation system, the system comprising: a rule setting module, a change request processing module, a flight seat map query and rule matching module, and a calculation module; wherein:
[0111] The rule setting module is used to set crew seat reservation rules for different crew types;
[0112] The change request processing module is used to obtain the flight crew seat change request message and perform message parsing, extract data information, and provide data support for subsequent processing;
[0113] Furthermore, the change request processing module also includes a data receiving unit, a data parsing unit and a data verification unit, wherein: the data receiving unit receives a request message for flight crew seat change through an interface or a message queue; the data parsing unit parses the message to extract key information, such as flight number, crew type, request time, etc.; the data verification unit verifies the extracted data to ensure the integrity and accuracy of the data.
[0114] The flight seat map query and rule matching module is used to query and obtain the corresponding flight seat map in real time according to the extracted data information, obtain the set of corresponding flight seats, and match the set of corresponding flight seats with the crew seat reservation rule in the ES segment;
[0115] Furthermore, the flight seat map query and rule matching module also includes a flight seat map query unit and a rule matching unit, wherein: the flight seat map query unit queries the seat map of the corresponding flight in real time according to information such as the flight number, and obtains a set of all available seats from the seat map; the rule matching unit matches the obtained seat set with the crew seat reservation rules to determine which seats meet the crew reservation requirements.
[0116] The calculation module is used to calculate the seats required by the crew in different ES segments according to the actual business scenario and the matched crew seat reservation rules.
[0117] Furthermore, the calculation module also includes a business scenario analysis unit, a seat calculation unit and a result return unit, wherein: the business scenario analysis unit is used to consider special needs in actual operations, such as flight delays, crew changes, etc.; the seat calculation calculates the seats required by the computer crew based on the matched crew seat reservation rules and the current flight seat situation; the result return unit is used to return the calculation results to the requester in an appropriate form.
[0118] In one embodiment, based on the same inventive concept as the above disclosed content, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes all steps of a crew seat calculation method as described above.
[0119] In one embodiment, a computer storage medium is further provided, on which a computer program is stored. When the computer program is executed by the processor, it is used to implement all the steps of the crew seat calculation method as described above.
[0120] In addition, in the description of the present invention, it is necessary to understand that:
[0121] (1) The term "crew" usually refers to a team of different professionals that performs flight missions. In the aviation field, "crew" specifically refers to the flight crew, who are responsible for the driving of the aircraft and cabin services to ensure the safety, punctuality and comfort of the flight. The flight crew usually includes: pilots, flight attendants, maintenance personnel, and safety officers.
[0122] (2) The term "crew segment" means the flight process from one location to another while the crew is performing a flight mission.
[0123] (3) The term "ES" is an abbreviation of "Equipment Segment" in English, which means "equipment segment". Among them, the continuous segments of the same aircraft type in all the segments of a flight are counted as one equipment segment. For example, if the flight segments are "ABCDE" and the same aircraft type is used from beginning to end, then there is one equipment segment; if in the flight segments, the "ABCD" segments use the 737 model and the "DE" segment uses the 777 model, then the flight has two equipment segments. In addition, in the scheme of the present invention, the same seats are calculated for the crew members on the same equipment segment.
[0124] Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent substitutions for some of the technical features therein; and these modifications or substitutions do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for calculating crew seats, characterized in that: include: Set crew seat reservation rules for different crew types; Obtain flight crew seat change request messages and parse them to extract required data information to provide data support for subsequent processing; Based on the extracted data information, query and obtain the corresponding flight seat map in real time, obtain the corresponding flight seat set, and match the crew seat reservation rule for the corresponding flight seat set in the ES segment; According to the actual business scenario and the matched crew seat reservation rules, the seats required by the crew are calculated in different ES segments.
2. A crew seat calculation method as claimed in claim 1, characterized in that: The setting of crew seat reservation rules refers to setting seat number reservation rules and seat area reservation rules, where: The setting of the seat number reservation rule refers to setting the order of seat reservation from front to back for the corresponding crew type; The seat area rule setting means that a flight can set a large cabin, area range, available seat attributes, and disabled seat attributes.
3. A crew seat calculation method as claimed in claim 2, characterized in that: When setting the seating area rules, specific range formats are also supported, including: supporting the area starting from the nth row, supporting the area within a certain range, supporting the area starting from the nth row and supporting the area within a certain column, where: n∈[1,N], N represents the row number of the seating area.
4. The method for calculating crew seats according to claim 1, characterized in that: In the process of obtaining the flight crew seat change request message and parsing the message to extract the required data information: The request message adopts a standardized format and contains key fields such as airline code, terminal code, flight date, change type, and crew information; The extracting of required data information is to extract the data information required for subsequent crew seat calculation based on the parsed message, including: airline, terminal, flight date, change type, crew information; wherein the change type refers to the change demand for the number of crew seats, including increasing the number of crew seats and reducing the number of crew seats.
5. The method for calculating crew seats according to claim 1, characterized in that: The matching of the set of corresponding flight seats to the crew seat reservation rule in the ES segment also includes: Match the crew seat reservation rules in order of crew segment priority; According to the flight crew seat change request, analyze the departure aircraft type, departure version and aircraft registration number of each flight segment in the crew segment, distinguish each ES in the crew segment, and obtain the ES segment; The obtained ES segments are matched with crew seat reservation rules according to airline, flight number, flight number suffix, flight date, international and domestic, departure station, arrival station, aircraft registration number, departure aircraft model, departure version, aircraft version, market aircraft model, seat control method, rich seat lock type and large cabin information.
6. A crew seat calculation method as claimed in claim 1, characterized in that: The actual business scenarios include scenarios of increasing the number of crew members and scenarios of reducing the number of crew members.
7. A crew seat calculation method as claimed in claim 6, characterized in that: Calculation of seats required for increased crew size scenarios, including: If the match is the seat number reservation rule, the seats are directly calculated and allocated from the seat number reservation rule in the order from the front to the back according to the number of units requested to be added; If the match is a seat area reservation rule, the ES segment is first distinguished, and then the available seats are filtered out according to the conditions such as the cabin and seat area set by the seat area reservation rule, and the seats are allocated according to the seat selection method. If there are insufficient seats, additional seats are searched across flight sections or segments, and the calculation results are returned.
8. A crew seat calculation method as claimed in claim 7, characterized in that: The seat allocation is calculated from the seat number reservation rules in the order from front to back, and further includes: When the number of existing crew seats in the seat reservation rule is ≥ the number of requested crew seats, the corresponding number of seat numbers are obtained; When the number of existing crew seats in the seat reservation rule is less than the number of requested crew seats, all available seat numbers are calculated and marked as insufficient.
9. A crew seat calculation method as claimed in claim 6, characterized in that: Calculation of crew seat requirements for reduced crew scenarios, including: If the seat reservation rule is matched, the seats are directly calculated and allocated from the rules in the order from the front to the back according to the number of units requested to be reduced; If the seat area reservation rules are matched, the occupied crew seat groups are sorted first, and then it is determined whether the sorted seat groups meet the seat area reservation rules. Finally, the best seat calculation result is calculated and returned.
10. A crew seat calculation method as claimed in claim 9, characterized in that: If the seat area reservation rule is matched, the occupied crew seat groups are first sorted, and then it is determined whether the sorted seat groups meet the seat area reservation rule, and finally the seat calculation result is calculated and returned, which also includes: Sort the occupied crew seat groups; Determine whether the sorted seat group meets the seat area reservation rule, and obtain a seat group set that meets the seat area reservation rule; According to the requested number of crew seats to be reduced, the crew seats with the highest priority are selected from the seat group set and returned.
11. A crew seat calculation system, characterized in that: The system comprises: A rule setting module, used to set crew seat reservation rules for different crew types; The change request processing module is used to obtain the flight crew seat change request message and parse the message, extract data information, and provide data support for subsequent processing; The flight seat map query and rule matching module is used to query and obtain the corresponding flight seat map in real time according to the extracted data information, obtain the set of corresponding flight seats, and match the crew seat reservation rule for the set of corresponding flight seats in the ES segment; The calculation module is used to calculate the seats required by the crew in different ES segments according to the actual business scenario and the matched crew seat reservation rules.
12. A computer device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor executes a crew seat calculation method according to any one of claims 1 to 10.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, a crew seat calculation method according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Flight seat control method and device, storage medium and equipment
CN112966847A
Seat reservation method and device
CN115345336A
Seat protection method and device, electronic equipment and computer readable medium
CN116029513A
Seat occupying method, system and device for flight unit and storage medium
CN118246692A