CN115422610A - Flight seat simulation diagram generation method and device, storage medium and electronic equipment - Google Patents

Flight seat simulation diagram generation method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115422610A
CN115422610A CN202211017664.XA CN202211017664A CN115422610A CN 115422610 A CN115422610 A CN 115422610A CN 202211017664 A CN202211017664 A CN 202211017664A CN 115422610 A CN115422610 A CN 115422610A
Authority
CN
China
Prior art keywords
seat
flight
rule
departure
locking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211017664.XA
Other languages
Chinese (zh)
Inventor
刘欣
关圣涛
侯培
郭素
马庆莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Travelsky Technology Co Ltd
Original Assignee
China Travelsky Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Travelsky Technology Co Ltd filed Critical China Travelsky Technology Co Ltd
Priority to CN202211017664.XA priority Critical patent/CN115422610A/en
Publication of CN115422610A publication Critical patent/CN115422610A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Mathematical Optimization (AREA)
  • Human Resources & Organizations (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computational Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Mathematical Analysis (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The method comprises the steps of firstly obtaining locking rules of all flight sections in target departure flights after departure flight query information is received and target departure flights are found, then determining flight seat maps, and processing the locking rules of all the flight sections according to preset processing rules before the rules are applied to locking properties, so that the locking rules applied to all the seats are combined or processed in a coexistence mode, the conditions that the rules are applied to the departure flight seat maps and conflict and the like are avoided, and the reliability and the accuracy of flight seat control results are improved.

Description

Flight seat simulation diagram generation method and device, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of data processing, in particular to a flight seat simulation diagram generation method, a flight seat simulation diagram generation device, a storage medium and electronic equipment.
Background
The control personnel of the airline ground services need to control the seats on the departure link according to the national policy, the airline's own management policy, and the actual situation of the seats on the airplane that executes the flight. Such as adjusting the number of seats of a security officer for a certain airline according to international and domestic situations or controlling the separation of available seats and the like.
Generally, a controller sets seat locking rules of various departure flights, and the rules are validated on a departure flight seat map after the flight is initialized so as to realize the control of the flight seats. However, as the management requirements of the flight seats are gradually refined, the set attribute rules of the departure flight seats are more and more complex, and when the rules are applied to the departure flight seat map, situations such as conflicts easily occur, so that the attribute rules cannot be accurately loaded on the flight seats, and the reliability and the accuracy of the flight seat control results are influenced.
Disclosure of Invention
In view of this, the invention provides a method, an apparatus, a storage medium and an electronic device for generating a flight seat simulation diagram, and the specific solution is as follows:
a flight seat simulation diagram generation method comprises the following steps:
receiving departure flight inquiry information, and searching a target departure flight corresponding to the departure flight inquiry information, wherein the target departure flight comprises one or more sections, and the inquiry information comprises: flight date, departure model and departure version;
under the condition that the target departure flight is found, acquiring a locking seat rule of each section in the target departure flight;
determining flight seat maps corresponding to the target departure flights according to seat locking rules of all the sections;
processing the lock seat rule of each air node according to a preset processing rule, wherein the processing rule comprises the following steps: merging rules and coexistence rules;
setting the lock seat attribute in the flight seat diagram by using the lock seat rule processed by each section to generate the simulation diagram of the target departure flight seat, wherein the simulation diagram contains information for displaying the lock seat attribute.
A flight seat simulation map generation apparatus comprising:
the query information receiving module is used for receiving departure flight query information and searching a target departure flight corresponding to the departure flight query information, wherein the target departure flight comprises one or more sections, and the query information comprises: flight date, departure model and departure version;
the rule obtaining module is used for obtaining the locking seat rule of each section in the target departure flight under the condition that the target departure flight is found;
the seat map determining module is used for determining a flight seat map corresponding to the target departure flight according to the seat locking rule of each section;
a processing module, configured to process the seat locking rule of each air node according to a preset processing rule, where the processing rule includes: merging rules and coexistence rules;
and the generating module is used for setting the lock seat attribute in the flight seat diagram by using the lock seat rule processed by each section so as to generate the simulation diagram of the target departure flight seat, wherein the simulation diagram contains information for displaying the lock seat attribute.
An electronic device, the electronic device comprising: 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, wherein the application program is used for realizing the flight seat simulation diagram generation method.
A storage medium storing computer program code which, when executed, implements a flight seat simulation diagram generation method.
Compared with the prior art, the beneficial effects realized by the present disclosure are:
according to the method, after departure flight inquiry information is received and a target departure flight is found, the seat locking rule of each section in the target departure flight is firstly obtained, then the flight seat map is determined, and before the rule is applied to the seat locking attribute, the seat locking rule of each section is processed according to a preset processing rule, so that the seat locking rule applied to each seat is guaranteed to be merged or coexisted, the conditions that the rule is applied to the departure flight seat map and conflicts and the like are avoided, and the reliability and the accuracy of a flight seat control result are improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a flowchart of a flight seat simulation diagram generation method provided in an embodiment of the present disclosure;
fig. 2 is a diagram illustrating an example format of departure flight query information according to an embodiment of the disclosure;
FIG. 3 is an exemplary illustration of seat attribute information provided by an embodiment of the present disclosure;
FIG. 4 is a flow chart of another flight seat simulation diagram generation method provided by the embodiment of the disclosure;
FIG. 5 is a flow chart of another flight seat simulation diagram generation method provided by the embodiment of the disclosure;
fig. 6 is a schematic structural diagram of a flight seat simulation diagram generation apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the disclosure;
fig. 8 is another schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, 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". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The invention provides a flight seat simulation diagram generation method, as shown in fig. 1, comprising the following steps:
step S11, receiving departure flight inquiry information, and searching a target departure flight corresponding to the departure flight inquiry information, wherein the target departure flight comprises one or more sections, and the inquiry information comprises: flight date, departure model, and departure version.
According to the method for generating the departure flight SEAT simulation diagram, flight SEATs of airplanes to be actually subjected to departure are simulated through a SEAT management subsystem SEAT system, so that after receiving departure flight query information, the SEAT system firstly searches flight dates in the query information, and whether departure models and departure versions can be matched with target departure flights or not. If the match is not found, namely the target departure flight corresponding to the query information cannot be found, the process is automatically ended, and information such as a user input information error or a target which cannot be queried can be output to prompt the user.
After the SEAT system queries the corresponding departure flight according to the flight date, the departure machine type and the departure version, if the departure flight comprises a plurality of sections, whether the sections 'departure machine type' + 'departure version' are the same or not is also verified, and therefore the authenticity of the query result is further ensured.
Furthermore, in the application, the physical layout of the flight is kept consistent under each air section, namely, the layout conditions of each channel, seat and equipment in the cabin are kept consistent under different air sections, so that the reliability and accuracy of the seat simulation diagram of the departure flight can be further ensured. Therefore, in this embodiment, the query information may further include an airplane registration number, and check whether the airplane registration numbers of the respective sections are in the same physical layout, and if they are in the same physical layout, determine that the target departure flight is queried, and if they are not, return an error report.
Further, the querying information further includes: flight number, origin station, arrival station, type of simulation, airline, etc
Fig. 2 shows an example of the format of the departure flight query information in this step. The key traffic field content and format in this example are for illustration only and not for limitation.
Step S12: under the condition that the target departure flight is found, acquiring a locking seat rule of each section in the target departure flight;
if the target departure flight has a section, such as Beijing-Shanghai, only the seat locking rule under the section needs to be acquired.
If the target departure flight has multiple sectors, for example, the CA985 beijing to shanghai flight segment, the sea system sends query information to the FLT system, and when the CA985 beijing to shanghai flight segment is the long-range beijing-guangzhou-shanghai, the SEAT locking rules of the sectors beijing-guangzhou and guangzhou-shanghai are configured respectively, so that the SEAT locking rules of each sector need to be acquired.
The lock seat rule comprises: a temporary keybed rule or a long-term keybed rule.
Searching temporary lock seat record information corresponding to the query information in a temporary lock seat rule table;
if the destination departure flight section is found, using the temporary locking seat record information as a locking seat rule of the destination departure flight section;
if the destination departure flight section is not found, finding a seat reserving rule and a bad seat rule of the destination departure flight in the long-term seat locking rule to serve as a seat locking rule of the destination departure flight section.
The temporary locking seat rule is a rule which is temporarily increased on the basis of the past simulation diagram according to the current situation or some sudden requirements to solve the situations or meet the requirements, and therefore the priority of the temporary locking seat rule is higher. The long-term seat-lock rule involves two parts: bad seat rules and flight seat reservation rules.
If a certain seat in a certain air festival has both the temporary seat locking rule and the long-term seat locking rule, the temporary seat locking rule is preferentially used.
Step S13: determining flight seat maps corresponding to the target departure flights according to seat locking rules of all the sections;
if the rule is a temporary seat locking rule, the flight seat diagram is a physical layout diagram of the target departure flight;
and if the long-term seat locking rule is adopted, the flight seat map is the departure main map of the target departure flight.
In this step, the departure main map may be used as the flight seat map. However, considering that some flights have not generated a departure main map but only a physical layout map, in this case, there is usually only a temporary locking rule for this flight, and if a departure main map is to be acquired, the step of generating the departure main map for the flight needs to be added, which results in an increase in processing flow and an extension of processing events.
Therefore, in order to solve the above problem, it is ensured that the simulation request can be responded as much as possible, and the simulation process can be implemented as soon as possible, so in this embodiment, if the temporary keylock rule is obtained, the physical layout diagram is directly obtained, and the physical layout diagram is used to perform subsequent operations, thereby ensuring that the subsequent operations are performed sequentially.
Step S14: processing the lock seat rule of each air section according to a preset processing rule, wherein the processing rule comprises the following steps: merging rules and coexistence rules.
The purpose of merging is to merge multiple keyboarder rules under the same attribute, while the purpose of merging is to keep rules under different attributes to exist simultaneously. The processing ensures the uniqueness of the lock seat rule under the same attribute, thereby ensuring the accurate and reliable result of the simulation diagram, ensuring the diversity of the lock seat attribute and enriching the display effect of the simulation diagram.
The merging aims to remove possible lock-seat attribute conflicts, and for a seat configured with multiple lock-seat attributes, the lock-seat rules with low priority under the same attribute are removed according to the priority definition, and only one group of lock-seat rules with the highest priority is reserved.
The departure flight seat map supports multiple attribute settings, namely X and C. If 31A seats on the departure flight seat diagram can be X locks (a security officer, a pilot, a crew member, a common X, and the mutual exclusion inside the X locks can be only one type); or may be a C-lock (eventually with a seat available).
The lock seat attribute priorities under these two attributes are merged:
x lock (Pilot, crew, safety personnel, crew, general X lock)
Finally, can utilize (pilot > crew > safety personnel > crew > general c-lock)
The X-lock and C-lock retain only the highest priority one.
For example, CA1135 beijing-shanghai 20210501 day flight, departure model 737, departure version TEST, aircraft registration number B3213, if pilot X lock and last available c are set for seat 1A matching into the temporal rules, the departure attributes for the final seat 1A are pilot X lock and last available c.
If no temporal rules are matched, the long-term seat-lock rules are queried to find that the 1A seat is set to pilot X-lock, and in the departure main graph its attributes are crew X and last available c, and finally the departure attributes of the logical 1A seats are merged according to the seat attributes to be pilot X-lock and last available c.
If the 11A seat fails, set to X-lock, and 11A is the last available c in the long-term seat-lock-seat-lock rule, then the departure attribute of the merged logical 11A seat is bad sitting X-lock and last available c.
Step S15: and setting the lock seat attribute in the flight seat diagram by using the lock seat rule processed by each section to generate the target departure flight seat simulation diagram.
According to the processing result of the seat locking rule in the last step, the seat locking attribute of each position can be determined, the attribute is configured to the seat in the flight seat diagram, and then a simulation diagram can be obtained.
According to the method, after departure flight inquiry information is received and a target departure flight is found, the seat locking rule of each section in the target departure flight is firstly obtained, then the flight seat map is determined, and before the rule is applied to the seat locking attribute, the seat locking rule of each section is processed according to a preset processing rule, so that the seat locking rule applied to each seat is guaranteed to be merged or coexisted, the conditions that the rule is applied to the departure flight seat map and conflicts and the like are avoided, and the reliability and the accuracy of a flight seat control result are improved.
Furthermore, when the simulation diagram is used for subsequent processing, such as counting the number of seats available on a flight, the subsequent analysis processing result is correspondingly more accurate due to the improvement of the accuracy and reliability of the simulation diagram.
In a possible implementation manner, after the seat locking rules of each air node are processed according to the preset processing rules, the rules may be further stored in a form of a data structure table, so as to facilitate subsequent use.
The data structure table is indexed by the seat number of the target departure flight and each entry in the list describes a set of seat locking rules for the merged seat.
Furthermore, the simulation map of the seats of the target departure flight may include physical attributes of the seats, which coexist with the lock attributes, in addition to the information for showing the lock attributes. Device attributes and row attributes may be included in addition to those. An example of seat attribute information is shown in fig. 3.
In the example shown in fig. 3, the respective attributes also have a predetermined priority, such as a line physical attribute priority: e exit row > Q quiet row > I baby priority row; seat physical attribute priority: b (baby cradle seat) > N (invisible seat) > U (unmanned accompanying child seat) > R (seat with immovable backrest) > H (disabled person preferred) > L (seat with wide legs).
When there are multiple physical attributes, the process is ordered according to the priority levels described above.
In the above embodiment, if the target departing flight has multiple sections, the process of setting the lock attribute in the flight seat map by using the lock rule processed by each section to generate the target departing flight seat simulation map is shown in fig. 4, and includes:
step S41: setting the seat locking attribute of each seat in the flight seat diagram of the section by using the seat locking rule processed by each section;
step S42: respectively generating departure seat simulation diagrams of all the air links;
step S43: and merging the departure seat simulation diagrams of all the sections to obtain the destination departure flight seat simulation diagram.
In this embodiment, first, a corresponding departure flight seat simulation diagram is generated for each section, and then these simulation diagrams are combined to obtain a final departure flight seat simulation diagram. Since the physical layout of the different knuckles is the same, when the simulation graphs are merged, it is primarily the information that characterizes the seat-lock attributes that are merged.
Based on this, fig. 5 shows another process of setting the lock attributes in the flight seat map by using the processed lock rules of each node to generate the target departure flight seat simulation map, which includes:
step S51: setting the seat locking attribute of each seat in the flight seat diagram of the section by using the seat locking rule processed by each section;
step S52: combining the lock seat attributes of the same seat in the flight seat diagram of each section to obtain an attribute set;
step S53: and setting a lock seat attribute in a flight seat map corresponding to the target departure flight according to the attribute set to obtain the target departure flight seat simulation map.
In this embodiment, the seat locking attributes of the seats under each of the navigations are merged to obtain an attribute set, and then a simulation diagram including the seat locking attributes of all the navigations is generated by using the attribute set.
It is to be noted that the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Although the operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Based on the flight seat simulation diagram generation method provided by the above embodiment, the embodiment of the present disclosure correspondingly provides a device for executing the flight seat simulation diagram generation method, and a schematic structural diagram of the device is shown in fig. 6, and the device includes:
the query information receiving module 61 is configured to receive departure flight query information, and search for a target departure flight corresponding to the departure flight query information, where the target departure flight includes one or more sections, and the query information includes: flight date, departure model and departure version;
a rule obtaining module 62, configured to obtain a seat locking rule of each flight section in the target departure flight when the target departure flight is found;
the seating chart determining module 63 is used for determining a flight seating chart corresponding to the target departure flight according to the locking rule of each section;
a processing module 64, configured to process the seat locking rule of each air node according to a preset processing rule, where the processing rule includes: merging rules and coexistence rules;
a generating module 65, configured to set a lock seat attribute in the flight seat map by using the lock seat rule processed by each flight segment to generate the simulation map of the target departure flight seat, where the simulation map includes information for showing the lock seat attribute.
It should be noted that, for detailed functions of each module in the embodiment of the present disclosure, reference may be made to a corresponding disclosure part of the embodiment of the flight seat simulation diagram generation method, and details are not described herein again.
It should be further noted that the modules described in the embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The name of a module does not in some cases constitute a limitation of the module itself, and for example, a query information receiving module may also be described as a "receiving module".
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device provided in the 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, the processor calls the application program stored in the memory, and the application program is used for realizing the flight seat simulation diagram generation method.
The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 8, an electronic device 800 may include a processing means (e.g., central processing unit, graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage means 806 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing apparatus 801, the ROM802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 806 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 8 illustrates an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
The disclosed embodiment also provides a storage medium, which stores computer program codes, and when the computer program codes are executed, the flight seat simulation diagram generation method is realized.
In the context of this disclosure, a storage medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The storage medium may be a machine-readable signal medium or a machine-readable storage medium. A storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the storage media described above in this disclosure can be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any storage medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present 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 method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 806, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
According to one or more embodiments of the present disclosure, there is provided a flight seat simulation diagram generation method, including:
receiving departure flight inquiry information, and searching a target departure flight corresponding to the departure flight inquiry information, wherein the target departure flight comprises one or more sections, and the inquiry information comprises: flight date, departure model and departure version;
under the condition that the target departure flight is found, acquiring a locking seat rule of each section in the target departure flight;
determining flight seat maps corresponding to the target departure flights according to seat locking rules of all the sections;
processing the lock seat rule of each air node according to a preset processing rule, wherein the processing rule comprises the following steps: merging rules and coexistence rules;
setting the lock seat attribute in the flight seat diagram by using the lock seat rule processed by each section to generate the simulation diagram of the target departure flight seat, wherein the simulation diagram contains information for displaying the lock seat attribute.
According to one or more embodiments of the present disclosure, the method further includes:
storing the lock seat rule in a data structure table indexed by seat number.
According to one or more embodiments of the present disclosure, the key seat rule in the above method includes: a temporary keybed rule or a long-term keybed rule.
According to one or more embodiments of the disclosure, obtaining the seat locking rule of each section in the target departure flight comprises:
searching temporary lock seat record information corresponding to the query information in a temporary lock seat rule table;
if the destination departure flight section is found, using the temporary locking seat record information as a locking seat rule of the destination departure flight section;
if the destination departure flight section is not found, finding a seat reserving rule and a bad seat rule of the destination departure flight in the long-term seat locking rule to serve as a seat locking rule of the destination departure flight section.
According to one or more embodiments of the disclosure, determining a flight seat map corresponding to the locking seat rule includes:
under the condition that the seat locking rule is a temporary seat locking rule, the flight seat map is a physical layout map of the target departure flight;
and under the condition that the seat locking rule is a long-term seat locking rule, the flight seat map is an departure main map of the target departure flight.
According to one or more embodiments of the present disclosure, a merge rule includes: according to the preset priority under each attribute, the seat locking rule of the seat with a plurality of seat locking rules under the same attribute is determined as follows: the lock seat rule with the highest priority;
the coexistence rule includes: the keyseating rules of different attributes coexist.
According to one or more embodiments of the disclosure, setting the lock attributes in the flight seat map by using the processed lock rules of each flight section to generate the target departure flight seat simulation map, includes:
setting the seat locking attribute of each seat in the flight seat diagram of the section by using the seat locking rule processed by each section;
respectively generating an outbound flight seat simulation diagram of each section;
and merging the departure flight seat simulation diagrams of all the sections to obtain the target departure flight seat simulation diagram.
According to one or more embodiments of the disclosure, setting a lock attribute in the flight seat map by using the processed lock rule of each section to generate the target departure flight seat simulation map includes: setting the seat locking attribute of each seat in the flight seat diagram of the section by using the seat locking rule processed by each section;
combining the lock seat attributes of the same seat in the flight seat diagram of each section to obtain an attribute set;
and setting a lock seat attribute in a flight seat map corresponding to the target departure flight according to the attribute set to obtain the target departure flight seat simulation map.
According to one or more embodiments of the present disclosure, there is provided an airline seat simulation diagram generation apparatus including:
the query information receiving module is used for receiving departure flight query information and searching a target departure flight corresponding to the departure flight query information, wherein the target departure flight comprises one or more sections, and the query information comprises: flight date, departure model and departure version;
the rule obtaining module is used for obtaining the locking seat rule of each section in the target departure flight under the condition that the target departure flight is found;
determining flight seat maps corresponding to the target departure flights according to seat locking rules of all the sections;
a processing module, configured to process the seat locking rule of each air node according to a preset processing rule, where the processing rule includes: merging rules and coexistence rules;
and the generating module is used for setting the lock seat attribute in the flight seat diagram by using the lock seat rule processed by each section so as to generate the simulation diagram of the target departure flight seat, wherein the simulation diagram contains information for displaying the lock seat attribute.
According to one or more embodiments of the present disclosure, there is provided an electronic apparatus, characterized in that the electronic apparatus includes: at least one memory and at least one processor; the memory stores an application program, the processor calls the application program stored in the memory, and the application program is used for realizing the flight seat simulation diagram generation method.
According to one or more embodiments of the disclosure, a storage medium is provided, wherein the storage medium stores computer program code, and the computer program code realizes the flight seat simulation map generation method when executed.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
While several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (11)

1. A flight seat simulation diagram generation method is characterized by comprising the following steps:
receiving departure flight inquiry information, and searching a target departure flight corresponding to the departure flight inquiry information, wherein the target departure flight comprises one or more sections, and the inquiry information comprises: flight date, departure model and departure version;
under the condition that the target departure flight is found, acquiring a locking seat rule of each section in the target departure flight;
determining a flight seat map corresponding to the target departure flight according to a seat locking rule of each flight section;
processing the lock seat rule of each air node according to a preset processing rule, wherein the processing rule comprises the following steps: merging rules and coexistence rules;
setting the lock seat attribute in the flight seat diagram by using the lock seat rule processed by each section to generate the simulation diagram of the target departure flight seat, wherein the simulation diagram contains information for displaying the lock seat attribute.
2. The method according to claim 1, wherein the processing the seat locking rule of each of the plurality of navigations according to the preset processing rule further comprises:
and storing the lock seat rule in a data structure table with the seat number as an index.
3. The method of claim 2, wherein the key seating rule comprises: a temporary keybed rule or a long-term keybed rule.
4. The method of claim 3, wherein obtaining the locking rules for each of the legs of the target departure flight comprises:
searching temporary lock seat record information corresponding to the query information in a temporary lock seat rule table;
if the destination departure flight section is found, using the temporary locking seat record information as a locking seat rule of the destination departure flight section;
if the destination departure flight section is not found, finding a seat reserving rule and a bad seat rule of the destination departure flight in the long-term seat locking rule to serve as a seat locking rule of the destination departure flight section.
5. The method of claim 4, wherein determining a flight seat map corresponding to the locking rule comprises:
under the condition that the locking seat rule is a temporary locking seat rule, the flight seat map is a physical layout map of the target departure flight;
and under the condition that the seat locking rule is a long-term seat locking rule, the flight seat map is an departure main map of the target departure flight.
6. The method of claim 5, wherein the merge rule comprises: according to the preset priority under each attribute, the seat locking rule of the seat with a plurality of seat locking rules under the same attribute is determined as follows: the lock seat rule with the highest priority;
the coexistence rule includes: the keyseating rules of different attributes coexist.
7. The method of claim 6, wherein the setting the lock attributes in the flight seat map using the processed lock rules of each of the plurality of nodes to generate the target outbound flight seat simulation map comprises:
setting the seat locking attribute of each seat in the flight seat diagram of the section by using the seat locking rule processed by each section;
respectively generating an outbound flight seat simulation diagram of each section;
and merging the departure flight seat simulation diagrams of all the sections to obtain the target departure flight seat simulation diagram.
8. The method of claim 6, wherein the setting the lock attributes in the flight seat map using the processed lock rules of each of the plurality of nodes to generate the target outbound flight seat simulation map comprises:
setting the seat locking attribute of each seat in the flight seat diagram of the section by using the seat locking rule processed by each section;
combining the lock seat attributes of the same seat in the flight seat diagram of each section to obtain an attribute set;
and setting a lock seat attribute in a flight seat diagram corresponding to the target departure flight according to the attribute set to obtain the target departure flight seat simulation diagram.
9. An apparatus for generating a flight seat simulation diagram, comprising:
the query information receiving module is used for receiving departure flight query information and searching a target departure flight corresponding to the departure flight query information, wherein the target departure flight comprises one or more sections, and the query information comprises: flight date, departure model and departure version;
the rule obtaining module is used for obtaining the locking seat rule of each section in the target departure flight under the condition that the target departure flight is found;
the seating chart determining module is used for determining flight seating charts corresponding to the target departure flights according to the locking seat rules of all the sections;
a processing module, configured to process the seat locking rule of each air node according to a preset processing rule, where the processing rule includes: merging rules and coexistence rules;
and the generating module is used for setting the lock seat attribute in the flight seat diagram by using the lock seat rule processed by each section so as to generate the simulation diagram of the target departure flight seat, wherein the simulation diagram contains information for displaying the lock seat attribute.
10. An electronic device, characterized in that the electronic device comprises: 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, wherein the application program is used for realizing the flight seat simulation diagram generation method of any one of claims 1 to 8.
11. A storage medium, characterized in that the storage medium stores computer program code, and when the computer program code is executed, the flight seat simulation diagram generation method of any one of claims 1 to 8 is realized.
CN202211017664.XA 2022-08-23 2022-08-23 Flight seat simulation diagram generation method and device, storage medium and electronic equipment Pending CN115422610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211017664.XA CN115422610A (en) 2022-08-23 2022-08-23 Flight seat simulation diagram generation method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211017664.XA CN115422610A (en) 2022-08-23 2022-08-23 Flight seat simulation diagram generation method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115422610A true CN115422610A (en) 2022-12-02

Family

ID=84199163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211017664.XA Pending CN115422610A (en) 2022-08-23 2022-08-23 Flight seat simulation diagram generation method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115422610A (en)

Similar Documents

Publication Publication Date Title
CN111316262B (en) System, apparatus and method for providing passenger or user information
CN111338797A (en) Task processing method and device, electronic equipment and computer readable storage medium
CN113297178B (en) Aviation product data processing method and related equipment
CN115757400B (en) Data table processing method, device, electronic equipment and computer readable medium
CN109508361A (en) Method and apparatus for output information
CN111241137B (en) Data processing method, device, electronic equipment and storage medium
CN110852720A (en) Document processing method, device, equipment and storage medium
CN116150216A (en) Stroke search method, device, electronic equipment and storage medium
CN112214693A (en) Seating chart display method and device, storage medium and electronic equipment
EP3644258A1 (en) Systems and methods to update shared databases using blockchain technology
CN112231327B (en) Flight information updating method, device, server and storage medium
CN112215141A (en) Biological feature recognition method and device, electronic equipment and storage medium
CN112232653A (en) Method, device, server and computer storage medium for processing reserve landing flight
CN113760386A (en) Access control system, access control method and storage medium
CN115422610A (en) Flight seat simulation diagram generation method and device, storage medium and electronic equipment
WO2023124910A1 (en) Data processing method and apparatus, and electronic device and storage medium
CN115952471A (en) Method, apparatus, computing device and medium for fusing data of different data sources
CN114036218A (en) Data model switching method and device, server and storage medium
CN111899071A (en) Order data processing method and device, storage medium and electronic equipment
CN112967030A (en) Flight passenger transfer method, flight passenger transfer device, electronic equipment and computer storage medium
CN112422648A (en) Data synchronization method and system
CN118170965A (en) Flight meal data pushing method and related equipment
CN116596096A (en) Seat information matching control method and device, electronic equipment and storage medium
CN112579832B (en) Grouping verification method and device for voyage transportation data
CN116757728B (en) Method and related device for processing sales data of historical flights

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination