Flight seat simulation map generation method and device, storage medium and electronic equipment
By receiving departure flight query information, acquiring and processing flight segment lock-in rules, and generating flight seat simulation diagrams, the problem of flight seat control rule conflicts is resolved, and the accuracy and reliability of control results are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-23
- Publication Date
- 2026-03-24
AI Technical Summary
In existing technologies, flight seat control rules are prone to conflicts when applied to departing flight seat maps, affecting the reliability and accuracy of control results.
By receiving departure flight query information, the system obtains the seat locking rules for each flight segment, and merges and coexists these rules according to pre-set processing rules to generate a flight seat simulation diagram, ensuring the accuracy of rule application.
This improved the reliability and accuracy of flight seating control results, avoided rule application conflicts, and enhanced the accuracy of subsequent analysis and processing.
Smart Images

Figure CN115422610B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, storage medium, and electronic device for generating flight seat simulation diagrams. Background Technology
[0002] Airline ground service control personnel must manage onboard seating during departure based on national policies, the airline's own management strategies, and the actual seating situation on the aircraft. This may include adjusting the number of security officer seats on a particular route or implementing seat spacing controls based on international and domestic circumstances.
[0003] Typically, control personnel set seat-locking rules for various departing flights and apply these rules to the departing flight seating chart after flight initialization to control flight seats. However, as the management needs for flight seats become increasingly sophisticated, the set departing flight seat attribute rules become more complex. Applying these rules to the departing flight seating chart can easily lead to conflicts, causing the attribute rules to fail to be accurately loaded onto flight seats, thus affecting the reliability and accuracy of flight seat control results. Summary of the Invention
[0004] In view of the above, the present invention provides a method, apparatus, storage medium, and electronic device for generating flight seat simulation diagrams, the specific solutions of which are as follows:
[0005] A method for generating a flight seat simulation diagram includes:
[0006] Receive departure flight query information, find the target departure flight corresponding to the departure flight query information, the target departure flight includes one or more flight sections, and the query information includes: flight date, departure aircraft type and departure version;
[0007] If the target departing flight is found, obtain the seat locking rules for each segment of the target departing flight;
[0008] Based on the seat locking rules of each flight section, determine the flight seating chart corresponding to the target departing flight;
[0009] According to the pre-set processing rules, the locking rules of each flight section are processed, including: merging rules and coexistence rules;
[0010] The seat lock attributes in the flight seating chart are set using the seat lock rules processed by each flight section to generate a simulated seating chart of the target departing flight. The simulated chart contains information for displaying the seat lock attributes.
[0011] A flight seat simulation diagram generation device, comprising:
[0012] The query information receiving module is used to receive departure flight query information and find the target departure flight corresponding to the departure flight query information. The target departure flight includes one or more flight sections. The query information includes: flight date, departure aircraft type and departure version.
[0013] The rule acquisition module is used to acquire the seat lock rules for each segment of the target departing flight when the target departing flight is found.
[0014] The seat map determination module determines the flight seat map corresponding to the target departing flight based on the seat locking rules of each flight section;
[0015] The processing module is used to process the locking rules of each flight section according to the pre-set processing rules, which include: merging rules and coexistence rules;
[0016] The generation module is used to set the lock seat attributes in the flight seat map using the lock seat rules processed by each flight section, so as to generate a simulated seat map of the target departing flight, which contains information for displaying the lock seat attributes.
[0017] An electronic device includes: at least one memory and at least one processor; the memory stores an application program, and the processor calls the application program stored in the memory, the application program being used to implement a method for generating flight seat simulation diagrams.
[0018] A storage medium storing computer program code, which, when executed, implements a method for generating flight seat simulation diagrams.
[0019] Compared to existing technologies, the beneficial effects achieved by this disclosure are as follows:
[0020] In this method, after receiving the departure flight query information and finding the target departure flight, the seat locking rules for each segment of the target departure flight are first obtained. Then, the flight seating chart is determined. Before applying the rules to the seat locking attributes, the seat locking rules for each segment are processed according to the pre-set processing rules. This ensures that the seat locking rules applied to each seat are merged or coexisted, avoiding conflicts when applying the rules to the departure flight seating chart and improving the reliability and accuracy of the flight seat control results. Attached Figure Description
[0021] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0022] Figure 1 This is a flowchart of a method for generating a flight seat simulation diagram provided in an embodiment of the present disclosure;
[0023] Figure 2 This is an example diagram illustrating the format of departing flight query information provided in an embodiment of this disclosure;
[0024] Figure 3 This is an example diagram of seat attribute information provided in an embodiment of this disclosure;
[0025] Figure 4 This is a flowchart of another method for generating flight seat simulation diagrams provided in this embodiment of the disclosure;
[0026] Figure 5 This is a flowchart of another method for generating flight seat simulation diagrams provided in this embodiment of the disclosure;
[0027] Figure 6 This is a schematic diagram of the structure of a flight seat simulation diagram generation device provided in an embodiment of the present disclosure;
[0028] Figure 7 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this disclosure;
[0029] Figure 8 This is another structural schematic diagram of the electronic device provided in an embodiment of the present disclosure. Detailed Implementation
[0030] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0031] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0032] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0033] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0034] This invention provides a method for generating flight seat simulation diagrams, such as... Figure 1 As shown, it includes:
[0035] Step S11: Receive departure flight query information, find the target departure flight corresponding to the departure flight query information, the target departure flight includes one or more flight sections, and the query information includes: flight date, departure aircraft type and departure version.
[0036] The method for generating a simulated departure flight seat map disclosed in this application simulates the actual flight seats of the aircraft to be departing through the Seat Management Subsystem (SEAT). Therefore, after receiving the departure flight query information, the SEAT system first checks whether the flight date, departure aircraft type, and departure version in the query information match the target departure flight. If no match is found, that is, if no target departure flight corresponding to the query information is found, the process automatically ends, and information such as "Incorrect user input" or "No target flight found" can be output to prompt the user.
[0037] After the SEAT system finds the corresponding departing flight based on the flight date, departing aircraft type, and departing version, if the departing flight includes multiple segments, it will also verify whether the "departing aircraft type" + "departing version" of each segment are the same, thereby further ensuring the authenticity of the query results.
[0038] Furthermore, in this application, the physical layout of the flights remains consistent across all flight sections. This means the layout of the aisles, seats, and equipment within the cabin remains consistent across different flight sections, thus further ensuring the reliability and accuracy of the simulated seating arrangement for departing flights. Therefore, in this embodiment, the query information may also include the aircraft registration number, and it is verified whether the aircraft registration numbers for each flight section have the same physical layout. If they are the same, the target departing flight is found; otherwise, an error is returned.
[0039] Further query information includes: flight number, departure station, arrival station, simulation type, airline, etc.
[0040] Figure 2This example illustrates the format of departure flight query information in this step. The key business field content and format in this example are for illustrative purposes only and are not intended to be limiting.
[0041] Step S12: If the target departing flight is found, obtain the seat locking rules for each segment of the target departing flight;
[0042] If the target departing flight exists within a single flight segment, such as Beijing-Shanghai, then only the seat-locking rules for that flight segment need to be obtained.
[0043] The target departing flight may also have multiple segments. For example, for the CA985 Beijing to Shanghai segment, the SEAT system sends query information to the FLT system. If it can be found that the CA985 Beijing to Shanghai segment is a long segment Beijing-Guangzhou-Shanghai, then the seat lock rules need to be configured separately for the Beijing-Guangzhou segment and the Guangzhou-Shanghai segment. Therefore, it is necessary to obtain the seat lock rules for each segment.
[0044] The lock seat rules include: temporary lock seat rules or long-term lock seat rules.
[0045] In the temporary lock seat rule table, find the temporary lock seat record information corresponding to the query information;
[0046] If found, the temporary seat lock record information will be used as the seat lock rule for the target departing flight segment;
[0047] If not found, then search for the seat reservation rules and bad seat rules of the target departing flight in the long-term seat lock rules, and use them as the seat lock rules for the target departing flight segment.
[0048] Temporary seat-locking rules are rules added temporarily based on previous simulations to address current situations or unforeseen needs, and therefore have higher priority. Long-term seat-locking rules consist of two parts: bad seat rules and flight seat-reservation rules.
[0049] If a seat in a particular flight segment has both temporary and permanent seat lock rules, the temporary seat lock rule shall prevail.
[0050] Step S13: Determine the flight seating chart corresponding to the target departing flight based on the seat locking rules of each flight section;
[0051] If it is a temporary seat lock rule, the flight seating chart is the physical layout of the target departing flight;
[0052] If it is a long-term seat lock rule, the flight seating chart will be the departure main chart of the target departing flight.
[0053] In this step, the departure master map can also be used as the flight seating chart. However, considering that some flights have not yet generated a departure master map and only have a physical layout map, and in this case, there are usually only temporary seat lock rules for this flight, if the departure master map is to be obtained, an additional step of generating the departure master map is required, which will increase the processing flow and prolong the processing time.
[0054] Therefore, in order to solve the above problems and ensure that simulation requests are responded to as quickly as possible and the simulation process can be implemented as soon as possible, in this embodiment, if a temporary lock seat rule is obtained, the physical layout diagram is directly obtained and the subsequent operations are performed using the physical layout diagram, thereby ensuring the sequential execution of subsequent operations.
[0055] Step S14: Process the locking rules of each section according to the preset processing rules, including merging rules and coexistence rules.
[0056] The purpose of merging is to combine multiple lock seat rules under the same attribute, while the purpose of coexistence is to preserve rules under different attributes. This approach ensures both the uniqueness of lock seat rules under the same attribute, thus making the simulation results accurate and reliable, and the diversity of lock seat attributes, enriching the display effect of the simulation.
[0057] The purpose of merging is to remove potential lock seat attribute conflicts. For a seat configured with multiple lock seat attributes, the lower priority lock seat rules under the same attribute are removed according to the priority definition, and only the highest priority set of lock seat rules is retained.
[0058] The departure flight seating chart supports multiple attribute settings, meaning it can be both an X and a C lock. For example, seat 31A on the departure flight seating chart can be either an X lock (security officer, pilot, flight attendant, maintenance personnel, or regular X; X locks are mutually exclusive and can only be one type) or a C lock (last available seat).
[0059] The priority of the lock seat attributes under these two properties is merged:
[0060] X lock (Pilot > Flight Attendant > Security Officer > Maintenance Personnel > Standard X Lock)
[0061] Finally, the following can be used: (Pilot > Flight Attendant > Security Officer > Aircraft Maintenance Personnel > Standard C Lock)
[0062] Only the highest priority X lock and C lock are retained.
[0063] For example, for flight CA1135 Beijing-Shanghai on May 1, 2021, the departing aircraft type is 737, the departing version is TEST, and the aircraft registration number is B3213. If the temporary rules set pilot X lock and last available c for seat 1A, then the final departure attributes of seat 1A will be pilot X lock and last available c.
[0064] If no temporary rule is matched, querying the long-term locked seat rule reveals that seat 1A is set to pilot X lock, while its attributes in the departure main chart are flight attendant X and last available c. Finally, according to the seat attribute merging logic, the departure attributes of seat 1A are pilot X lock and last available c.
[0065] If seat 11A malfunctions and is set to X lock, and in the long-term lock seat rule 11A is the last available seat c, then the departure attribute of seat 11A in the combined logic is both faulty seat X lock and last available seat c.
[0066] Step S15: Use the locked seat rules processed by each flight section to set the locked seat attributes in the flight seat map to generate the target departing flight seat simulation map.
[0067] Based on the processing results of the seat locking rules in the previous step, the seat locking attribute of each position can be determined. By configuring this attribute to the seat in the flight seating chart, a simulation diagram can be obtained. In the simulation diagram, in addition to showing the physical layout of the seats in the flight, the seat locking attribute of each seat is displayed, which can be intuitively observed by users or used for subsequent analysis.
[0068] In this method, after receiving the departure flight query information and finding the target departure flight, the seat locking rules for each segment of the target departure flight are first obtained. Then, the flight seating chart is determined. Before applying the rules to the seat locking attributes, the seat locking rules for each segment are processed according to the pre-set processing rules. This ensures that the seat locking rules applied to each seat are merged or coexisted, avoiding conflicts when applying the rules to the departure flight seating chart and improving the reliability and accuracy of the flight seat control results.
[0069] Furthermore, when using simulation graphs for subsequent processing, such as counting the number of available seats on a flight, the improved accuracy and reliability of the simulation graphs lead to more accurate analysis and processing results.
[0070] In one possible implementation, after processing the locking rules of each section according to the pre-set processing rules, these rules can also be stored in the form of a data structure table for later use.
[0071] This data structure table is indexed by the seat number of the target departing flight. Each item in the list describes a set of seat-locking rules after the seats are merged.
[0072] Furthermore, the simulated seating chart for the target departing flight can include not only information displaying seat lock attributes, but also physical seat attributes, with both physical and seat lock attributes present. In addition, it can also include device attributes and row attributes. For example... Figure 3 Example of seat attribute information shown.
[0073] exist Figure 3 In the example shown, each attribute also has a pre-defined priority. For example, the priority of row physical attributes is: E Exit row > Q Quiet row > I Infant priority row; the priority of seat physical attributes is: B (infant bassinet seat) > N (non-movie-viewing seat) > U (unaccompanied child seat) > R (seat with fixed backrest) > H (disabled person priority) > L (seat with ample legroom).
[0074] When multiple physical properties exist, they are processed according to the priority order mentioned above.
[0075] In the above embodiments, if the target departing flight has multiple segments, the process of setting the seat lock attributes in the flight seating chart using the seat lock rules processed for each segment to generate the target departing flight seating simulation chart is as follows: Figure 4 As shown, it includes:
[0076] Step S41: Using the seat-locking rules processed for each flight segment, set the seat-locking attributes for each seat in the flight seating chart for that flight segment;
[0077] Step S42: Generate departure seat simulation diagrams for each flight segment;
[0078] Step S43: Merge the departure seat simulation diagrams of each flight segment to obtain the target departure flight seat simulation diagram.
[0079] In this embodiment, a corresponding departure flight seat simulation diagram is first generated for each flight segment. These simulation diagrams are then merged to obtain the final departure flight seat simulation diagram. Since the physical layout of different flight segments is the same, the information representing seat lock-in attributes is mainly merged during the simulation diagram merging process.
[0080] Based on this Figure 5 This paper illustrates another process for setting the seat lock attributes in the flight seating chart using the seat lock rules processed by the various flight sections, in order to generate a simulated seating chart for the target departing flight, including:
[0081] Step S51: Using the seat-locking rules processed for each flight segment, set the seat-locking attributes for each seat in the flight seating chart for that flight segment.
[0082] Step S52: Merge the seat lock attributes of the same seat in the flight seating chart of each flight section to obtain an attribute set;
[0083] Step S53: Based on the attribute set, set the lock seat attribute in the flight seat map corresponding to the target departing flight to obtain the simulated seat map of the target departing flight.
[0084] In this embodiment, the seat lock attributes of each flight section are first merged to obtain an attribute set, and then the attribute set is used to generate a simulation diagram containing the seat lock attributes of all flight sections.
[0085] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0086] Although the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous.
[0087] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0088] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0089] Based on the flight seat simulation diagram generation method provided in the above embodiments, this disclosure provides an apparatus for performing the above flight seat simulation diagram generation method, the structural schematic diagram of which is shown below. Figure 6 As shown, it includes:
[0090] The query information receiving module 61 is used to receive departure flight query information and find the target departure flight corresponding to the departure flight query information. The target departure flight includes one or more flight sections. The query information includes: flight date, departure aircraft type and departure version.
[0091] The rule acquisition module 62 is used to acquire the seat lock rules for each segment of the target departing flight when the target departing flight is found.
[0092] The seating chart determination module 63 determines the flight seating chart corresponding to the target departing flight based on the seat locking rules of each flight section;
[0093] The processing module 64 is used to process the locking rules of each flight section according to the preset processing rules, the processing rules including: merging rules and coexistence rules;
[0094] The generation module 65 is used to set the lock seat attributes in the flight seat map using the lock seat rules processed by each flight section, so as to generate the target departing flight seat simulation map, which contains information for displaying the lock seat attributes.
[0095] It should be noted that the detailed functions of each module in this embodiment can be found in the corresponding disclosure section of the above-mentioned flight seat simulation diagram generation method embodiment, and will not be repeated here.
[0096] It should also be noted that the modules described in the embodiments of this disclosure can be implemented in software or hardware. Furthermore, the name of a module does not necessarily limit the module itself; for example, a query information receiving module can also be described as a "receiving module".
[0097] See Figure 7 , Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. The electronic device includes: at least one memory 71 and at least one processor 72; the memory stores an application program, and the processor calls the application program stored in the memory, the application program being used to implement a method for generating flight seat simulation diagrams.
[0098] The electronic devices in this disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0099] like Figure 8 As shown, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. The RAM 803 also stores various programs and data required for the operation of the electronic device 800. The processing device 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0100] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 807 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 808 including, for example, magnetic tapes, hard disks, etc.; and communication devices 809. Communication device 809 allows electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 8 An electronic device 800 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0101] This disclosure also provides a storage medium storing computer program code, which, when executed, implements a method for generating flight seat simulation diagrams.
[0102] In the context of this disclosure, a storage medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A storage medium can be a machine-readable signal medium or a machine-readable storage medium. Storage media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0103] It should be noted that the storage medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any storage medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the storage medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0104] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0105] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by a processing device 801, it performs the functions defined in the methods of embodiments of this disclosure.
[0106] According to one or more embodiments of this disclosure, a method for generating a flight seat simulation diagram is provided, characterized in that it includes:
[0107] Receive departure flight query information, find the target departure flight corresponding to the departure flight query information, the target departure flight includes one or more flight sections, and the query information includes: flight date, departure aircraft type and departure version;
[0108] If the target departing flight is found, obtain the seat locking rules for each segment of the target departing flight;
[0109] Based on the seat locking rules of each flight section, determine the flight seating chart corresponding to the target departing flight;
[0110] According to the pre-set processing rules, the locking rules of each flight section are processed, including: merging rules and coexistence rules;
[0111] The seat lock attributes in the flight seating chart are set using the seat lock rules processed by each flight section to generate a simulated seating chart of the target departing flight. The simulated chart contains information for displaying the seat lock attributes.
[0112] According to one or more embodiments of this disclosure, the method further includes:
[0113] The step of storing the lock seat rules in a data structure table indexed by seat number.
[0114] According to one or more embodiments of this disclosure, the lock seat rules in the above method include: temporary lock seat rules or long-term lock seat rules.
[0115] According to one or more embodiments of this disclosure, obtaining the seat-locking rules for each segment of the target departing flight includes:
[0116] In the temporary lock seat rule table, find the temporary lock seat record information corresponding to the query information;
[0117] If found, the temporary seat lock record information will be used as the seat lock rule for the target departing flight segment;
[0118] If not found, then search for the seat reservation rules and bad seat rules of the target departing flight in the long-term seat lock rules, and use them as the seat lock rules for the target departing flight segment.
[0119] According to one or more embodiments of this disclosure, determining the flight seating chart corresponding to the seat-locking rules includes:
[0120] When the seat-locking rule is a temporary seat-locking rule, the flight seating chart is the physical layout of the target departing flight;
[0121] When the seat lock rule is a long-term seat lock rule, the flight seating chart is the departure main chart of the target departing flight.
[0122] According to one or more embodiments of this disclosure, the merging rule includes: determining the seat locking rule of a seat with multiple seat locking rules under the same attribute as the seat locking rule with the highest priority based on a pre-set priority under each attribute;
[0123] The coexistence rules include: coexistence of lock seat rules with different attributes.
[0124] According to one or more embodiments of this disclosure, the seat lock attributes in the flight seating chart are set using the seat lock rules processed by each flight section to generate the target departing flight seating simulation chart, including:
[0125] Using the seat-locking rules processed for each flight segment, set the seat-locking attributes for each seat in the flight seating chart for that flight segment;
[0126] Generate simulated seating diagrams for departing flights for each flight segment;
[0127] The simulated seat diagrams of departing flights from each of the aforementioned flight sections are merged to obtain the simulated seat diagram of the target departing flight.
[0128] According to one or more embodiments of this disclosure, the locked seat attributes in the flight seat diagram are set using the locked seat rules processed by each flight segment to generate the target departing flight seat simulation diagram, including: setting the locked seat attributes of each seat in the flight seat diagram of the flight segment using the locked seat rules processed by each flight segment respectively.
[0129] The seat lock attributes of the same seat in the flight seating chart of each flight section are merged to obtain an attribute set;
[0130] Based on the attribute set, the lock seat attribute is set in the flight seat map corresponding to the target departing flight to obtain the simulated seat map of the target departing flight.
[0131] According to one or more embodiments of this disclosure, an apparatus for generating flight seat simulation diagrams is provided, comprising:
[0132] The query information receiving module is used to receive departure flight query information and find the target departure flight corresponding to the departure flight query information. The target departure flight includes one or more flight sections. The query information includes: flight date, departure aircraft type and departure version.
[0133] The rule acquisition module is used to acquire the seat lock rules for each segment of the target departing flight when the target departing flight is found.
[0134] Based on the seat locking rules of each flight section, determine the flight seating chart corresponding to the target departing flight;
[0135] The processing module is used to process the locking rules of each flight section according to the pre-set processing rules, which include: merging rules and coexistence rules;
[0136] The generation module is used to set the lock seat attributes in the flight seat map using the lock seat rules processed by each flight section, so as to generate a simulated seat map of the target departing flight, which contains information for displaying the lock seat attributes.
[0137] According to one or more embodiments of the present disclosure, an electronic device is provided, characterized in that the electronic device includes: at least one memory and at least one processor; the memory stores an application program, and the processor calls the application program stored in the memory, the application program being used to implement a method for generating flight seat simulation diagrams.
[0138] According to one or more embodiments of the present disclosure, a storage medium is provided, characterized in that the storage medium stores computer program code, which, when executed, implements a method for generating flight seat simulation diagrams.
[0139] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
[0140] While several specific implementation details are included in the foregoing discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0141] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
Claims
1. A method for generating a flight seat simulation diagram, characterized in that, include: Receive departure flight query information, find the target departure flight corresponding to the departure flight query information, the target departure flight includes one or more flight sections, and the query information includes: flight date, departure aircraft type and departure version; If the target departing flight is located, the seat-locking rules for each segment of the target departing flight are obtained. These seat-locking rules include temporary seat-locking rules or long-term seat-locking rules. Temporary seat-locking rules are rules added temporarily based on historical simulations to address current situations or sudden needs. Obtaining the seat-locking rules for each segment of the target departing flight involves: searching for temporary seat-locking records corresponding to the query information in the temporary seat-locking rule table; if found, using the temporary seat-locking record as the seat-locking rule for the target departing flight segment; if not found, searching for the reserved seat rules and unreserved seat rules for the target departing flight in the long-term seat-locking rules, and using these as the seat-locking rules for the target departing flight segment. Based on the seat locking rules of each flight section, determine the flight seating chart corresponding to the target departing flight; According to pre-set processing rules, the seat locking rules for each flight segment are processed. These processing rules include: merging rules and coexistence rules. The merging rules include: determining the seat locking rule with the highest priority for seats with multiple seat locking rules under the same attribute based on the pre-set priority for each attribute. The coexistence rules include: seat locking rules with different attributes coexist. The purpose of the merging rules is to merge multiple seat locking rules under the same attribute, and the purpose of the coexistence rules is to preserve the simultaneous existence of rules under different attributes. The seat lock attributes in the flight seating chart are set using the seat lock rules processed by each flight section to generate a simulated seating chart of the target departing flight. The simulated chart contains information for displaying the seat lock attributes.
2. The method according to claim 1, characterized in that, The process of processing the locking rules for each flight section according to pre-set processing rules further includes: The lock seat rules are stored in a data structure table indexed by seat number.
3. The method according to claim 1, characterized in that, The determination of the flight seating chart corresponding to the seat-locking rule includes: When the seat-locking rule is a temporary seat-locking rule, the flight seating chart is the physical layout of the target departing flight; When the seat lock rule is a long-term seat lock rule, the flight seating chart is the departure main chart of the target departing flight.
4. The method according to claim 1, characterized in that, The step of setting the seat lock attributes in the flight seating chart using the seat lock rules processed by each flight section to generate the target departing flight seating simulation chart includes: Using the seat-locking rules processed for each flight segment, set the seat-locking attributes for each seat in the flight seating chart for that flight segment; Generate simulated seating diagrams for departing flights for each flight segment; The simulated seat diagrams of departing flights from each of the aforementioned flight sections are merged to obtain the simulated seat diagram of the target departing flight.
5. The method according to claim 1, characterized in that, The step of setting the seat lock attributes in the flight seating chart using the seat lock rules processed by each flight section to generate the target departing flight seating simulation chart includes: Using the seat-locking rules processed for each flight segment, set the seat-locking attributes for each seat in the flight seating chart for that flight segment; The seat lock attributes of the same seat in the flight seating chart of each flight section are merged to obtain an attribute set; Based on the attribute set, the lock seat attribute is set in the flight seat map corresponding to the target departing flight to obtain the simulated seat map of the target departing flight.
6. A device for generating flight seat simulation diagrams, characterized in that, include: The query information receiving module is used to receive departure flight query information and find the target departure flight corresponding to the departure flight query information. The target departure flight includes one or more flight sections. The query information includes: flight date, departure aircraft type and departure version. The rule acquisition module is used to acquire the seat-locking rules for each segment of the target departing flight when the target departing flight is found. The seat-locking rules include temporary seat-locking rules or long-term seat-locking rules. The temporary seat-locking rules are rules temporarily added based on the historical simulation diagram to solve the current situation or meet the sudden needs, according to the current situation or sudden needs. The acquisition of the seat-locking rules for each segment of the target departing flight includes: searching for the temporary seat-locking record information corresponding to the query information in the temporary seat-locking rule table; if found, the temporary seat-locking record information is used as the seat-locking rule for the segment of the target departing flight; if not found, the flight reservation rules and bad seat rules of the target departing flight are searched in the long-term seat-locking rules and used as the seat-locking rules for the segment of the target departing flight. The seat map determination module is used to determine the flight seat map corresponding to the target departing flight based on the seat locking rules of each flight section; The processing module is used to process the seat locking rules of each flight segment according to pre-set processing rules. The processing rules include: merging rules and coexistence rules. The merging rules include: determining the seat locking rule with the highest priority for seats with multiple seat locking rules under the same attribute based on the pre-set priority under each attribute. The coexistence rules include: seat locking rules with different attributes coexist. The purpose of the merging rules is to merge multiple seat locking rules under the same attribute, and the purpose of the coexistence rules is to preserve the simultaneous existence of rules under different attributes. The generation module is used to set the lock seat attributes in the flight seat map using the lock seat rules processed by each flight section, so as to generate a simulated seat map of the target departing flight, which contains information for displaying the lock seat attributes.
7. An electronic device, characterized in that, The electronic device includes: at least one memory and at least one processor; the memory stores an application program, and the processor calls the application program stored in the memory, the application program being used to implement the flight seat simulation diagram generation method according to any one of claims 1-5.
8. A storage medium, characterized in that, The storage medium stores computer program code, which, when executed, implements the flight seat simulation diagram generation method according to any one of claims 1-5.
Citation Information
Patent Citations
Seating chart data processing method and system
CN110322384A
Flight seat control method and device, storage medium and equipment
CN112966847A
Differentiated automatic seat reservation method, related device and computer storage medium
CN114372600A