CN112965904A - Seat map system testing method and device, storage medium and electronic equipment - Google Patents

Seat map system testing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112965904A
CN112965904A CN202110260543.7A CN202110260543A CN112965904A CN 112965904 A CN112965904 A CN 112965904A CN 202110260543 A CN202110260543 A CN 202110260543A CN 112965904 A CN112965904 A CN 112965904A
Authority
CN
China
Prior art keywords
seat
information
flight
row
information corresponding
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.)
Granted
Application number
CN202110260543.7A
Other languages
Chinese (zh)
Other versions
CN112965904B (en
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 Holding Co
Original Assignee
China Travelsky Holding Co
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 Holding Co filed Critical China Travelsky Holding Co
Priority to CN202110260543.7A priority Critical patent/CN112965904B/en
Publication of CN112965904A publication Critical patent/CN112965904A/en
Application granted granted Critical
Publication of CN112965904B publication Critical patent/CN112965904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • G06Q50/40

Abstract

The invention provides a test method and a test device of a seat map system, a storage medium and electronic equipment, wherein first flight information, second flight information, first section information and second section information corresponding to a flight are determined through message information of a flight seat map before and after system upgrading and a preset information processing strategy, and first cabin information, second cabin information, first seat information and second seat information corresponding to each section of the flight are determined. And comparing the first flight information and the first section information with second flight information and second section information respectively, and comparing the first cabin space information and the first seat information corresponding to each section with the second cabin space information and the second seat information corresponding to each section respectively. And determining the test result of the system according to each comparison result. Based on the method provided by the invention, in the testing process of the system, manual information comparison is not needed, the consumed time is less, and the testing efficiency and accuracy are higher.

Description

Seat map system testing method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and an apparatus for testing a seating chart system, a storage medium, and an electronic device.
Background
In the management and control system of flight, the seat map system of flight is one of the important components. The seat map system of the flight not only comprises a graphical display interface facing passengers and flight management and control personnel, but also bears the processing work of various aviation services.
With the development of aviation business, the functions that need to be implemented by a seat map system are increasing, and the system needs to be upgraded frequently, so that the system can implement new business functions. In order to ensure the normal operation of the system, the upgraded system is usually tested.
In the existing testing process of the seat map system, a worker usually compares the data of the flight seat map after the system is upgraded with the data of the original flight seat map to test whether the system can realize the basic service function of the original system. The manual comparison method usually consumes a lot of time and has low test accuracy.
Disclosure of Invention
In view of this, the embodiment of the present invention provides a method for testing a bitmap system, so as to solve the problems that a lot of time is consumed and the testing accuracy is low in a manner of manually comparing data to realize testing.
The embodiment of the invention also provides a testing device of the seating chart system, which is used for ensuring the actual realization and application of the method.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
the invention discloses a test method of a seat map system in a first aspect, which comprises the following steps:
determining first seat map information and second seat map information corresponding to a flight under the condition that a seat map system finishes a current upgrading process, wherein the first seat map information is message information of a flight seat map corresponding to the flight before the current upgrading process, and the second seat map information is message information of the flight seat map corresponding to the flight after the current upgrading process;
determining first flight information and first section information corresponding to the flight and first cabin information and first seat information corresponding to each section of the flight according to a preset information processing strategy and the first seat map information;
determining second flight information and second section information corresponding to the flight and second cabin information and second seat information corresponding to each section of the flight according to the information processing strategy and the second seat map information;
comparing the first flight information with the second flight information to obtain a first comparison result;
comparing the first air traffic control information with the second air traffic control information to obtain a second comparison result;
for each air node, comparing the first cabin information corresponding to the air node with the second cabin information corresponding to the air node to obtain a third comparison result, and comparing the first seat information corresponding to the air node with the second seat information corresponding to the air node to obtain a fourth comparison result;
and determining a test result corresponding to the current upgrading process of the seating chart system according to the first comparison result, the second comparison result, the third comparison result and the fourth comparison result.
The second aspect of the present invention discloses a testing apparatus for a seating chart system, comprising:
the first determining unit is used for determining first seat map information and second seat map information corresponding to a flight under the condition that a seat map system finishes a current upgrading process, wherein the first seat map information is message information of a flight seat map corresponding to the flight before the current upgrading process, and the second seat map information is message information of a flight seat map corresponding to the flight after the current upgrading process;
a second determining unit, configured to determine, according to a preset information processing policy and the first seat map information, first flight information and first seat information corresponding to the flight, and first cabin information and first seat information corresponding to each seat of the flight;
a third determining unit, configured to determine, according to the information processing policy and the second seat map information, second flight information and second seat information corresponding to the flight, and second cabin information and second seat information corresponding to each of the seats of the flight;
the first comparison unit is used for comparing the first flight information with the second flight information to obtain a first comparison result;
the second comparison unit is used for comparing the first air festival information with the second air festival information to obtain a second comparison result;
the third comparison unit is used for comparing the first cabin information corresponding to each of the cabins with the second cabin information corresponding to the cabin information to obtain a third comparison result, and comparing the first seat information corresponding to the cabin with the second seat information corresponding to the first seat information to obtain a fourth comparison result;
and the fourth determining unit is used for determining a test result corresponding to the current upgrading process of the seating chart system according to the first comparison result, the second comparison result, the third comparison result and the fourth comparison result.
The third aspect of the present invention discloses a storage medium, which includes stored instructions, wherein when the instructions are executed, the apparatus on which the storage medium is located is controlled to execute the above test method for the bitmap system.
In a fourth aspect of the present invention, an electronic device is disclosed, which comprises a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by one or more processors to perform the method for testing a seating chart system.
Compared with the prior art, the invention has the following advantages:
the invention provides a method and a device for testing a seating chart system, a storage medium and electronic equipment, wherein the method comprises the following steps: and under the condition that the system finishes the current upgrading process, determining the message information of the flight seat diagram corresponding to the flight before the system is upgraded and the message information of the flight seat diagram corresponding to the flight after the system is upgraded, and respectively using the message information as the first seat diagram information and the second seat diagram information. And determining first flight information, second flight information, first section information and second section information corresponding to the flight, and first cabin space information, second cabin space information, first seat information and second seat information corresponding to each section of the flight according to the first seat map information, the second seat map information and a preset information processing strategy. Comparing the first flight information with the second flight information, comparing the first cabin information with the second cabin information, comparing the first cabin information corresponding to each cabin with the second cabin information corresponding to each cabin, comparing the first seat information corresponding to each cabin with the second seat information corresponding to each cabin, and determining a test result corresponding to the current upgrading process of the seat map system according to each comparison result. Based on the scheme provided by the invention, under the condition that the system finishes upgrading, the information to be compared is determined based on the message information of the flight seat maps before and after upgrading and the preset information processing strategy, and the information to be compared is respectively compared to determine the test result, so that manual comparison is not needed, the time consumption is less, the test efficiency is high, manual misjudgment can be avoided, and the test accuracy is higher.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for testing a seating chart system according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for testing a seating chart system according to an embodiment of the present invention;
FIG. 3 is a flow chart of another method for testing a seating chart system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a testing apparatus of a seating chart system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
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 invention 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 the present invention are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The flight seat map refers to a seat layout condition representing a flight, and comprises cabin space, seats, seat rows, passageways, various pieces of onboard equipment and the like, and is a graphical display tool, and a corresponding seat map system of the flight seat map system realizes a flight service function based on the flight seat map. It can be known from the background art that a seat map system is subject to continuous upgrading and reconstruction of functions, for example, various types of seat-booking upgrading services are added, the interface design is changed after the system is upgraded, interface messages corresponding to new and old flight seat maps need to be compared to test whether the system can realize the original basic functions, the actual flight seat maps relate to various information, the comparison by manpower is very time-consuming, logical judgment work exists in the comparison process, and if a worker has logical understanding deviation, the comparison result may be inaccurate, and the test result is inaccurate.
Therefore, an embodiment of the present invention provides a method for testing a seat bitmap system, where the method is applicable to a test system of a seat bitmap system, an execution subject of the method may be a processor running on a computer, and a flowchart of the method for testing a seat bitmap system is shown in fig. 1, and includes:
s101: determining first seat map information and second seat map information corresponding to a flight under the condition that a seat map system finishes a current upgrading process, wherein the first seat map information is message information of a flight seat map corresponding to the flight before the current upgrading process, and the second seat map information is message information of the flight seat map corresponding to the flight after the current upgrading process;
in the method provided by the embodiment of the invention, after the user upgrades the seat map system according to the service requirement, the test request can be sent through the front end of the test system, and after the processor of the test system receives the test request, the test request can be analyzed to obtain the message information of the flight seat map imported by the user through the front end and before the current upgrade process and after the upgrade of the seat map system, wherein the message information is the interface message of the flight seat map.
S102: determining first flight information and first section information corresponding to the flight and first cabin information and first seat information corresponding to each section of the flight according to a preset information processing strategy and the first seat map information;
in the method provided by the embodiment of the invention, a user can preset an information processing strategy according to the interface message design before and after the seat map system is upgraded. And according to a preset information processing strategy, performing information analysis processing on the first seat map information, and determining first flight information, first section information, first cabin information and first seat information corresponding to the flight. The flight information is basic information of the flight, such as flight number, flight date, and the like. The section information is the basic information of each section of the flight, and the section of the flight refers to an actual flight section, also called a flight leg, from the departure point to the corresponding landing point of the airplane carrying on the flight. The cabin space information corresponding to each bay is basic information of each cabin space level of the cabin in the bay, and the seat information is basic information about seat layout in the cabin in the bay.
It should be noted that in the actual processing process, there may be multiple sections for one flight, or there may be only one section, and the number of sections does not affect the implementation function of the method provided in the embodiment of the present invention.
S103: determining second flight information and second section information corresponding to the flight and second cabin information and second seat information corresponding to each section of the flight according to the information processing strategy and the second seat map information;
in the method provided by the embodiment of the present invention, the information analysis processing may be performed on the second flight seat map information according to the preset information processing policy mentioned in step S102, and the second flight information, the second bay information, and the second seat information corresponding to the flight, and the second bay information corresponding to each bay are determined from the second flight seat map information. The specific meaning of each type of information is the same as that of the corresponding type of information in step S102, and reference may be made to the above description, which is not repeated herein.
S104: comparing the first flight information with the second flight information to obtain a first comparison result;
in the method provided in the embodiment of the present invention, the contents corresponding to the same attribute in the first flight information and the second flight information may be respectively compared, for example, the flight number suffix, the flight date and other information in the first flight information may be respectively compared with the flight number, the flight number suffix, the flight date and other information in the second flight information. The flight number suffix is a character that characterizes the flight attributes, and if the flight is an interim flight, there will be a special character that characterizes it as an interim flight.
After comparison, determining the comparison result of the two flight information, if different data items exist in the comparison process of each data item, outputting specific data information which fails in comparison, and if all the information is the same, outputting the result which succeeds in comparison.
S105: comparing the first air traffic control information with the second air traffic control information to obtain a second comparison result;
in the method provided by the embodiment of the present invention, the first and second pieces of section information may be respectively compared with each other, for example, the data item representing the number of sections of the flight in the first piece of section information is compared with the data item representing the number of sections of the flight in the second piece of section information, and the data item representing the flight information of the first section of the flight in the first piece of section information is compared with the data item representing the flight information of the first section of the flight in the second piece of section information. The process of determining the comparison result is the same as the principle of determining the comparison result in step S104, and reference may be made to the description in step S104, which is not repeated herein.
S106: for each air node, comparing the first cabin information corresponding to the air node with the second cabin information corresponding to the air node to obtain a third comparison result, and comparing the first seat information corresponding to the air node with the second seat information corresponding to the air node to obtain a fourth comparison result;
in the method provided by the embodiment of the invention, two pieces of cabin information corresponding to each air node can be compared, two pieces of seat information corresponding to each air node are compared, and the compared information corresponds to the same type information of the same air node. The comparison process of the first cabin information and the second cabin information corresponding to each bay also compares the contents corresponding to the same attribute in the two pieces of information, for example, compares the data items representing the number of the cabins in the two pieces of information, compares the cabin codes representing the same cabin, and so on.
In the method provided by the embodiment of the invention, the seat information comprises information corresponding to each seat row in the cabin and information of each seat, and data contents representing the same attribute in the two pieces of seat information can be compared, for example, the row number and the row attribute representing the same seat row in the two pieces of information are compared, the seat number and the seat attribute representing the same seat are compared, and the like.
S107: and determining a test result corresponding to the current upgrading process of the seating chart system according to the first comparison result, the second comparison result, the third comparison result and the fourth comparison result.
In the method provided by the embodiment of the invention, the corresponding test result can be determined according to the comparison result of various information, and the test result is fed back to the user. If all the comparison results represent that the compared information is consistent, determining that the test result corresponding to the bitmap system in the current upgrading process is a test pass, if the compared information has inconsistent data items, determining that the test result is a test fail, integrating all inconsistent specific data contents in the compared information, and sending all inconsistent specific data contents and the test result to the user.
Based on the method provided by the embodiment of the invention, under the condition that the seat map system finishes the current upgrading process, various types of information corresponding to the flight can be respectively determined according to the message information of the flight seat map before and after the system upgrading and the preset information processing strategy, the information of the same type of data of the corresponding flight is compared to obtain each comparison result, and the test result is determined based on each comparison result. By applying the method provided by the embodiment of the invention, the information representing the same meaning in the message information of the flight seat diagram before and after system upgrade can be compared, so as to test whether the corresponding function can be realized after the system upgrade, and in the process, the data comparison and judgment are not needed manually, so that the time consumption is less, the test efficiency is high, the manual misjudgment can be avoided, and the test accuracy is effectively improved. In addition, under the condition that the information with inconsistent comparison exists, the inconsistent information can be fed back to the user, so that the user can conveniently position the functional defects of the system according to the information, and the functional design of the system is perfected.
In the method provided in the embodiment of the present invention, the principle of determining various types of information corresponding to a flight according to the preset information processing policy and the first seat map information in step S102 is the same as the principle of determining various types of information corresponding to the flight according to the policy and the second seat map information in step S103, and data representing the same attribute in the first seat map information and the second seat map information are processed into a unified data structure mainly through a unified information processing manner, so as to perform comparison. To better explain the information processing procedure provided by the embodiment of the present invention, the procedure of determining various types of information from the first seating chart information mentioned in step S102 will be explained next by various embodiments. The manner for determining various types of information according to the second seat map information in step S103 may be the manner mentioned in each embodiment for determining various types of information according to the first seat map information, and is not described herein again.
On the basis of the method shown in fig. 1, an embodiment of the present invention provides another method for testing a seat mapping system, where the determining process of the first flight information corresponding to the flight mentioned in step S102 includes:
acquiring flight basic information corresponding to the flight from the first seating chart information;
in the method provided by the embodiment of the invention, the first seat map information can be analyzed, and basic flight information, such as flight number, flight date and the like, can be extracted from the first seat map information.
Determining the first digital character of the flight number in the flight basic information, and judging whether the first digital character is zero or not;
in the method provided by the embodiment of the invention, whether the first digital character of the flight number is zero is judged. In the data processing process of a business system in the civil aviation field, sometimes, when the characters of the flight number of a flight are less than three digits, zero padding is carried out on the high position of the flight number. For example, the flight number is CA11, and the field of the message may be defined as CA011, or CA 11.
If the first digital character is zero, deleting the first digital character of the flight number in the flight basic information to obtain processed flight basic information;
in the method provided by the embodiment of the invention, if the first digital character of the flight number is zero, the first character of the flight number in the flight basic information is deleted, and the processed flight basic information is obtained. For example, the flight basic information obtained by the analysis is "CA 011, 2021.1.1", and the flight basic information after the processing is "CA 11, 2021.1.1".
Judging whether a preset flight attribute character exists in the first seating chart information or not;
in the method provided by the embodiment of the invention, whether a field for representing the preset flight attribute character exists in the first seat map information can be analyzed through the preset flight attribute character information, wherein the flight attribute character refers to a character for representing the special attribute of a flight, for example, the character A represents the flight as a temporary flight. Usually the character will be in the form of a flight suffix in its flight number, but in the message design it may be in the form of a flight number suffix or in a separate field.
If the first seat map information contains preset flight attribute characters, acquiring flight attribute characters contained in the first seat map information;
in the method provided by the embodiment of the present invention, if a field representing a flight attribute character exists in the first seating chart information after the analysis, the flight attribute character is obtained from the first seating chart information.
And generating first flight information corresponding to the flight based on the processed flight basic information and flight attribute characters contained in the first seat map information.
In the method provided by the embodiment of the present invention, the flight attribute character may be used as a flight number suffix in the processed flight basic information. For example, based on the flight attribute character a and the processed flight basic information "CA 11, 2021.1.1", we obtain "CA 11A, 2021.1.1", which is the first flight information corresponding to the flight.
Based on the method provided by the embodiment of the invention, the definition mode of the flight information can be designed based on different messages, the flight number and the flight number suffix in the flight information are processed, the formats of data items expressing the same attribute content in the flight information are unified, the flight information comparison is convenient, and the comparison efficiency is improved.
Further, on the basis of the method shown in fig. 1, an embodiment of the present invention provides a method for testing a seat mapping system, where the determining process of the first section information corresponding to the flight mentioned in step S102 includes:
determining the number of the sections corresponding to the flights and the section information corresponding to each section based on the first seating chart information, wherein the section information corresponding to each section comprises a takeoff airport mark, an arrival airport mark, an airplane model, sales layout information and departure system version information corresponding to the section;
and sequentially integrating the number of the sections and the section information of each section to obtain first section information corresponding to the flight.
In the method provided by the embodiment of the invention, the first seat map information can be analyzed, the number of the corresponding sections of the flight is determined from the first seat map information, the information of all the sections in the first seat map information is traversed, the section information corresponding to each section is obtained from the first seat map information, and the data items representing the number of the sections and the section information of each section are sequentially spliced and integrated according to the preset data splicing sequence to form a preset data structure, such as 'the number of the sections, the takeoff airport identifier, the arrival airport identifier, the airplane model … …, the takeoff airport identifier, the arrival airport identifier and the airplane model … …' of the second section. And taking the spliced and integrated data as first section information corresponding to the flight.
Based on the method provided by the embodiment of the invention, the information corresponding to each section in the first flight seat map can be spliced and integrated to obtain the information expressed according to the preset data structure, so that the comparison of the section information is facilitated, and the comparison efficiency is improved.
Further, on the basis of the method shown in fig. 1, another method for testing a seat mapping system is provided in the embodiment of the present invention, wherein the determining process of the first cabin information corresponding to each flight leg of the flight mentioned in step S102 includes:
for each section of the flight, determining the number of cabin spaces corresponding to the section and basic cabin space information corresponding to each cabin space according to the first seat map information;
in the method provided by the embodiment of the present invention, in the process of analyzing the first bitmap information and traversing the information of all the sections, the operations of the steps in the embodiment of the present invention are performed on the information of each section. Specifically, the number of cabin slots corresponding to each bay needs to be determined, and basic information of the cabin slots corresponding to each cabin slot corresponding to the bay is acquired, where the basic information of the cabin slots includes a cabin slot name, a cabin slot code, a cabin slot sequence, and a line number range corresponding to the cabin slot, that is, which lines of seats the cabin slots include, and the like. The names of the slots usually include first class, business class or economy class, each class of slot also corresponds to a letter as a slot code, for example, F represents the first class, J represents the business class and Y represents the economy class, and each class of slot also includes seats of different slot levels, these slot levels are also identified by response codes, and the slot sequence corresponding to each slot is a sequence including all slot level codes of the slot.
Determining a seat map type corresponding to the first seat map information, and judging whether the seat map type corresponding to the first seat map information is a seat map of a reservation system;
in the method provided by the embodiment of the present invention, an identifier representing a seat map type in the first seat map information may be obtained, and the seat map type of the seat map corresponding to the first seat map information imported by the user is determined according to the identifier, such as a seat map of a reservation system or a seat map of an departure system. And judging whether the seat map type is a seat map of the reservation system, namely judging whether the message corresponding to the first seat map information is a message corresponding to a flight seat map applied to the reservation system.
If the type of the seat map corresponding to the first seat map information is a seat map of a seat reservation system, acquiring cabin column label information corresponding to each cabin of the engine room;
in the method provided by the embodiment of the present invention, if the type of the seat map is a seat map of a seat reservation system, cabin row label information corresponding to each cabin is obtained, where the information includes a label identifier of each row in a cabin layout of the cabin, and for example, the cabin row label information may be "a, C, _ B, E, D, _, J, K", where capital letters indicate that the row has an actual seat, the characters indicate the row identifier of the row of seats, and underlines indicate a corridor.
Judging whether a preset cabin attribute exists in the cabin of the engine room for each cabin of the engine room corresponding to the navigation node, if so, determining an attribute parameter corresponding to the preset cabin attribute, and integrating the attribute parameter corresponding to the preset cabin attribute, the basic information of the cabin corresponding to the cabin of the engine room and the cabin column label information to obtain cabin information corresponding to the cabin of the engine room;
in the method provided by the embodiment of the present invention, it may be determined whether attribute parameters representing preset cabin attributes exist in the associated information of each cabin corresponding to the knuckle in the first seat map information, so as to determine whether preset cabin attributes exist in the cabin, where the preset cabin attributes generally refer to upper deck cabins, and when the attribute parameters exist, the attribute parameters may be obtained, and the attribute parameters and other information corresponding to the cabin are integrated according to a preset sequence, so as to obtain cabin information represented by a predetermined data structure.
In an actual business process, more specific cabin attributes such as an upper deck cabin are generally identified by letters, for example, the letter U represents the attribute of the upper deck cabin, in message design, the attribute may be an independent field, or may be directly integrated with a cabin code into a field, for example, a cabin code of one cabin is J, and if the cabin is an upper deck cabin, a field corresponding to the cabin code is UJ. Therefore, if the field in the message is an independent field, it needs to be integrated.
And sequentially integrating the cabin space information corresponding to each cabin space corresponding to the air section to obtain first cabin space information corresponding to the air section.
In the method provided by the embodiment of the invention, the cabin information of each cabin is spliced and integrated according to a preset sequence to obtain the first cabin information corresponding to the navigation joint.
Based on the method provided by the embodiment of the invention, the cabin information of each cabin can be spliced and integrated to obtain the information expressed according to the preset data structure, so that the cabin information of each bay can be conveniently compared, the comparison efficiency can be improved, the format unification treatment can be carried out on the information possibly with different message designs in the process, and the comparison accuracy is further ensured.
To better illustrate the method provided by the embodiment of the present invention, in conjunction with fig. 2, on the basis of the method shown in fig. 1, the embodiment of the present invention provides another method for testing a seat mapping system, wherein the process for determining the first seat information corresponding to each flight leg of the flight in step S102 includes:
s201: for each section of the flight, determining basic information of each seat row corresponding to the section according to the first seat map information;
in the method provided by the embodiment of the invention, each section corresponding to the flight is subjected to data processing by adopting each step provided by the embodiment of the invention. Specifically, basic information of each seat row of the section is acquired from the first seat map information, including the row number, row attribute, and row front-rear information of the seat row, and the like. A seat row is to be understood as a row of seats in the seating arrangement, i.e. a row of seats. The row attribute refers to an attribute identifier corresponding to the seat characteristic of the row, for example, BBR for baby priority row, QER for quiet row and WCR for seat row near the toilet. The pre-flight and post-flight information refers to the description of several air rows in front of and behind the seat in the row, and the spatial layout in the cabin is represented in rows and columns in the flight seat map, namely the row space without the seat.
S202: judging whether the first seat map information meets a preset row attribute processing condition or not;
in the method provided by the embodiment of the invention, the test request sent by the user can be analyzed to judge whether the test request contains the preset line attribute processing parameter, and the parameter represents that the line attribute data in the bitmap information needs to be correspondingly processed. When the user inputs the parameter through the test request, determining that the seating chart information meets the preset row attribute processing condition.
S203: if the first seat map information meets a preset row attribute processing condition, determining a seat map type corresponding to the first seat map information and a row attribute processing rule corresponding to the seat map type corresponding to the first seat map information;
in the method provided in the embodiment of the present invention, in an actual service processing process, attributes corresponding to flight seat maps applied to different services are different, for example, in a message of a seat position map and an departure seat position map, some attribute data about a seat row are different, and some row attribute data that may exist in the message of the seat position map do not exist in the message of the departure seat position map. Therefore, if the compared bitmap information is the messages of the bitmap of two different service fields, the compared data attributes need to be unified according to the preset processing rule. If the first seating chart information does not meet the line attribute processing condition, the process proceeds to step S205.
S204: processing the basic information of each seat row based on the row attribute processing rule, and taking the processed basic information of each seat row as first basic information corresponding to the seat row;
in the method provided by the embodiment of the invention, the basic information of each seat row is processed according to the preset row attribute processing rule, for example, some attribute data are removed. The line attribute processing rule is specifically determined according to the requirements of the service. For example, some row attributes related to sales do not exist in the message of the departure seat bitmap, and for the information of the reservation seat bitmap, the attribute data needs to be removed.
S205: judging whether the first seat map information meets a preset line data conversion condition or not;
in the method provided by the embodiment of the invention, whether the data expression mode in the first bitmap information meets the preset row data conversion condition can be judged by determining the data expression mode in the first bitmap information. For example, the information comparison is performed in the form of a character string, and if the data in the first bitmap information is expressed in a digital manner, it is determined that the data meets the preset line data conversion condition.
S206: if the first seat map information meets a preset line data conversion condition, performing data conversion on first basic information corresponding to each seat line according to a preset data conversion rule, and taking the first basic information corresponding to the seat line subjected to the data conversion as seat line information corresponding to the seat line;
in the method provided by the embodiment of the invention, the expression mode of the first basic information corresponding to each seat row can be converted into the character string from the number through the preset corresponding relation, and the converted information is used as the seat row information corresponding to the seat row. If the first seat map information does not meet the line attribute processing condition, in this step, data conversion is performed on the basic information corresponding to each seat line.
S207: integrating seat row information corresponding to each seat row corresponding to the air festival in sequence to obtain seat row total information corresponding to the air festival;
according to the method provided by the embodiment of the invention, the seat row information corresponding to each seat row is spliced and integrated in sequence according to the preset sequence.
S208: determining seat information corresponding to each seat row corresponding to the air section;
in the method provided by the embodiment of the present invention, seat information corresponding to each seat row may be further determined, where the seat information includes information of all seats in the row.
S209: and determining the total seat row information corresponding to the sections and the seat information corresponding to all the seat rows as first seat information corresponding to the sections of the flight.
In the method provided by the embodiment of the invention, the total seat row information and the seat information corresponding to all the seat rows are used as the first seat information corresponding to the section.
Based on the method provided by the embodiment of the invention, the seat row information corresponding to each seat row can be integrated to obtain the information expressed by the preset data structure, so that the comparison of the first seat information is facilitated, the seat row information and the seat information of the seat row are respectively determined, the content with larger data volume is split, and the subsequent comparison efficiency is further improved.
On the basis of the method shown in fig. 2, in combination with fig. 3, an embodiment of the present invention provides another method for testing a seat mapping system, where the process of determining seat information corresponding to each seat row corresponding to the corresponding knuckle in step S208 includes:
s301: for each seat row corresponding to the air section, determining basic information of each seat corresponding to the seat row according to the first seat map information;
in the method provided by the embodiment of the invention, each seat row in each section is subjected to data processing by adopting the steps provided by the embodiment of the invention. Specifically, the basic information of each seat corresponding to the seat row is obtained from the first seat map information, and includes a seat number, a seat attribute, a seat value identifier, a seat value priority flag, and the like. The seat number is an identifier represented by a row number and a column identifier corresponding to the seat, such as "12A". The seat attributes are three-letter codes characterizing the corresponding special attributes of the seat, for example, IRS means important passengers reserve seats, UMA means unmanned accompanying child seats, and the like. The seat value labels are capital alphabetic characters, different letters characterize different seat values, and the seat value priority labels are represented by numbers, with small to large representing low to high priority.
S302: judging whether the first seat map information meets a preset seat attribute processing condition or not;
in the method provided by the embodiment of the invention, whether the test request contains the preset seat attribute processing parameters or not can be judged, and the parameter representation needs to carry out corresponding processing on the seat attribute data in the seat map information. And if the parameter exists in the test request, determining that the first seat map information meets the preset seat attribute processing condition. If the condition is not met, the process proceeds to step S305.
S303: if the first seat map information meets a preset seat attribute processing condition, determining a seat attribute processing rule corresponding to the seat map type corresponding to the first seat map information;
in the method provided by the embodiment of the invention, different seat attribute processing rules are preset for different types of seat maps, and the rules are also determined according to actual service requirements and mainly process repellent seat attributes. For example, in the seat attribute data of the departure seat bitmap, if there is some attribute data, another attribute data is ignored, and it is removed in the processing.
S304: processing the basic information of each seat based on the seat attribute processing rule, and taking the processed basic information of each seat as first basic information corresponding to the seat;
in the method provided by the embodiment of the invention, the corresponding attribute data in the basic information of each seat is processed according to the preset seat attribute processing rule.
S305: judging whether the first seat map information meets a preset seat data conversion condition or not;
in the method provided in the embodiment of the present invention, the implementation principle of this step is the same as the implementation principle of step S205 in the above embodiment, and reference may be made to the above description, which is not repeated herein.
S306: if the first seat map information meets a preset seat data conversion condition, performing data conversion on first basic information corresponding to each seat according to the data conversion rule, and taking the first basic information corresponding to each seat subjected to data conversion as seat information corresponding to the seat;
in the method provided in the embodiment of the present invention, the implementation principle of this step is the same as the implementation principle of step S206 in the above embodiment, and reference may be made to the above description, which is not repeated herein. It should be noted that, if the seat map information step does not meet the preset seat attribute processing condition, in this step, data conversion is performed on the basic information of each seat.
S307: and integrating the seat information corresponding to each seat corresponding to the seat row in sequence to obtain the seat information corresponding to the seat row.
In the method provided by the embodiment of the invention, the seat information corresponding to each seat row can be spliced and integrated in sequence according to the preset sequence.
Based on the method provided by the embodiment of the invention, the seat information corresponding to each seat can be integrated to obtain the information expressed by the preset data structure, so that the comparison of the first seat information is facilitated, and the comparison efficiency is improved.
Further, on the basis of the above method, an embodiment of the present invention provides a method for testing a seat mapping system, where the process of comparing the first seat information corresponding to the knuckle with the second seat information corresponding to the knuckle in step S106 includes:
determining first row information and second row information, wherein the first row information is seat row total information corresponding to the seat festival in the first seat information, and the second row information is seat row total information corresponding to the seat festival in the second seat information, and comparing the first row information with the second row information to obtain a fifth comparison result;
in the method provided by the embodiment of the invention, each step in the method provided by the embodiment of the invention is adopted for each section of the flight, and the corresponding information is compared. Specifically, the seat row general information corresponding to the seat in the first seat information is compared with the seat row general information corresponding to the seat in the second seat information, and the two pieces of information having unified data structures are compared.
Determining seat information corresponding to the seat row in the first seat information, taking the seat information corresponding to the seat row in the first seat information as the first seat information corresponding to the seat row, determining seat information corresponding to the seat row in the second seat information, taking the seat information corresponding to the seat row in the second seat information as the second seat information corresponding to the seat row, and comparing the first seat information corresponding to each seat row with the second seat information corresponding to the seat row to obtain a comparison result corresponding to each seat row;
in the method provided by the embodiment of the invention, the seat information corresponding to the air station in the first seat information is compared with the seat information corresponding to the air station in the second seat information. Specifically, it is possible to determine whether the data sets representing the two pieces of information, which have been unified in the data structure by the above-described determination method, are the same.
And determining the fourth comparison result according to the fifth comparison result and the comparison results corresponding to all the seat rows.
In the method provided by the embodiment of the invention, the comparison result of the total information of the seat rows and the comparison results corresponding to all the seat rows are used as the fourth comparison result.
Based on the method provided by the embodiment of the invention, two types of information represented by the same data structure in the first seat information and the second seat information can be respectively compared, so that the comparison efficiency can be improved, and the test efficiency can be further improved.
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 invention 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 invention is not limited in this respect.
Corresponding to the method for testing the seat map system shown in fig. 1, an embodiment of the present invention further provides a device for testing the seat map system, which is used to implement the method shown in fig. 1 specifically, the device for testing the seat map system provided in the embodiment of the present invention may be applied to a computer terminal or various mobile devices, and a schematic structural diagram of the device is shown in fig. 4, and includes:
a first determining unit 401, configured to determine first seat map information and second seat map information corresponding to a flight when a seat map system completes a current upgrade process, where the first seat map information is message information of a flight seat map corresponding to the flight before the current upgrade process, and the second seat map information is message information of a flight seat map corresponding to the flight after the current upgrade process;
a second determining unit 402, configured to determine, according to a preset information processing policy and the first seat map information, first flight information and first seat information corresponding to the flight, and first cabin information and first seat information corresponding to each of the seats of the flight;
a third determining unit 403, configured to determine, according to the information processing policy and the second seat map information, second flight information and second seat information corresponding to the flight, and second cabin information and second seat information corresponding to each of the seats of the flight;
a first comparing unit 404, configured to compare the first flight information with the second flight information to obtain a first comparison result;
a second comparing unit 405, configured to compare the first air traffic control information with the second air traffic control information to obtain a second comparison result;
a third comparing unit 406, configured to compare, for each of the knuckles, the first cabin information corresponding to the knuckle with the second cabin information corresponding to the knuckle to obtain a third comparison result, and compare the first seat information corresponding to the knuckle with the second seat information corresponding to the knuckle to obtain a fourth comparison result;
a fourth determining unit 407, configured to determine a test result corresponding to the current upgrade process of the seating chart system according to the first comparison result, the second comparison result, the third comparison result, and the fourth comparison result.
By applying the device provided by the embodiment of the invention, the information representing the same meaning in the message information of the flight seat diagram before and after system upgrade can be compared, so as to test whether the corresponding function can be realized after the system upgrade, and in the process, the data comparison and judgment are not needed manually, so that the time consumption is less, the test efficiency is high, the manual misjudgment can be avoided, and the test accuracy is effectively improved. In addition, under the condition that the information with inconsistent comparison exists, the inconsistent information can be fed back to the user, so that the user can conveniently position the functional defects of the system according to the information, and the functional design of the system is perfected.
In an apparatus provided by the embodiment of the present invention, on the basis of the above apparatus, the second determining unit 402 includes:
the first obtaining subunit is configured to obtain flight basic information corresponding to the flight from the first seating chart information;
the first judgment subunit is used for determining the first digital character of the flight number in the flight basic information and judging whether the first digital character is zero or not;
a deleting subunit, configured to delete the first digital character of the flight number in the flight basic information if the first digital character is zero, so as to obtain processed flight basic information;
the second judging subunit is used for judging whether the first seat map information contains preset flight attribute characters or not;
a second obtaining subunit, configured to obtain a flight attribute character included in the first seat map information if a preset flight attribute character exists in the first seat map information;
and the generating subunit is configured to generate first flight information corresponding to the flight based on the processed flight basic information and the flight attribute character included in the first seating chart information.
In an apparatus provided by the embodiment of the present invention, on the basis of the above apparatus, the second determining unit 402 includes:
the first determining subunit is configured to determine, based on the first seating chart information, the number of the knuckles corresponding to the flight and the knuckle information corresponding to each of the knuckles, where the knuckle information corresponding to each of the knuckles includes a departure airport identifier, an arrival airport identifier, an airplane model, sales layout information, and departure system version information corresponding to the knuckle;
and the first integration subunit is used for sequentially integrating the number of the sections and the section information of each section to obtain first section information corresponding to the flight.
In an apparatus provided by the embodiment of the present invention, on the basis of the above apparatus, the second determining unit 402 includes:
the second determining subunit is used for determining the number of cabin spaces corresponding to the flight section and basic cabin space information corresponding to each cabin space according to the first seat map information for each flight section of the flight;
a third judging subunit, configured to determine a seat map type corresponding to the first seat map information, and judge whether the seat map type corresponding to the first seat map information is a seat map of a reservation system;
a third obtaining subunit, configured to obtain, if the type of the seat map corresponding to the first seat map information is a seat map of a seat reservation system, cabin row label information corresponding to each cabin of the cabin;
a third determining subunit, configured to determine, for each cabin space corresponding to the knuckle, whether a preset cabin space attribute exists in the cabin space, determine an attribute parameter corresponding to the preset cabin space attribute if the preset cabin space attribute exists in the cabin space, and integrate the attribute parameter corresponding to the preset cabin space attribute, the cabin space basic information corresponding to the cabin space, and the cabin space column label information to obtain cabin space information corresponding to the cabin space;
and the second integration subunit is used for sequentially integrating the cabin space information corresponding to each cabin space corresponding to the knuckle to obtain the first cabin space information corresponding to the knuckle.
In an apparatus provided by the embodiment of the present invention, on the basis of the above apparatus, the second determining unit 402 includes:
a fourth determining subunit, configured to determine, for each of the sectors of the flight, basic information of each seat row corresponding to the sector according to the first seat map information;
a fourth judging subunit, configured to judge whether the first bitmap information meets a preset line attribute processing condition;
a fifth determining subunit, configured to determine, if the first seat diagram information meets a preset row attribute processing condition, a seat diagram type corresponding to the first seat diagram information and a row attribute processing rule corresponding to the seat diagram type corresponding to the first seat diagram information;
a sixth determining subunit, configured to process the basic information of each seat row based on the row attribute processing rule, and use the processed basic information of each seat row as the first basic information corresponding to the seat row;
a fifth judging subunit, configured to judge whether the first bitmap information meets a preset line data conversion condition;
a first conversion subunit, configured to perform data conversion on first basic information corresponding to each seat row according to a preset data conversion rule if the first seat map information meets a preset row data conversion condition, and use the first basic information corresponding to the seat row subjected to the data conversion as seat row information corresponding to the seat row;
the third integration subunit is used for sequentially integrating the seat row information corresponding to each seat row corresponding to the air festival to obtain the seat row total information corresponding to the air festival;
a seventh determining subunit, configured to determine seat information corresponding to each seat row corresponding to the knuckle;
an eighth determining subunit, configured to determine, as the first seat information corresponding to the section of the flight, the total seat row information corresponding to the section and the seat information corresponding to all the seat rows.
On the basis of the foregoing apparatus, in an apparatus provided in an embodiment of the present invention, the seventh determining subunit includes:
a ninth determining subunit, configured to determine, for each seat row corresponding to the knuckle, basic information of each seat corresponding to the seat row according to the first seat map information;
a sixth judging subunit, configured to judge whether the first seat map information meets a preset seat attribute processing condition;
a tenth determining subunit, configured to determine, if the first seat diagram information meets a preset seat attribute processing condition, a seat attribute processing rule corresponding to a seat diagram type corresponding to the first seat diagram information;
an eleventh determining subunit, configured to process the basic information of each seat based on the seat attribute processing rule, and use the processed basic information of each seat as the first basic information corresponding to the seat;
a seventh judging subunit, configured to judge whether the first seating diagram information meets a preset seating data conversion condition;
a second conversion subunit, configured to perform data conversion on the first basic information corresponding to each seat according to the data conversion rule if the first seat map information meets a preset seat data conversion condition, and use the first basic information corresponding to each seat after the data conversion as seat information corresponding to the seat;
and the fourth integration subunit is used for sequentially integrating the seat information corresponding to each seat corresponding to the seat row to obtain the seat information corresponding to the seat row.
On the basis of the foregoing apparatus, in the apparatus provided in the embodiment of the present invention, the third comparing unit 406 includes:
a twelfth determining subunit, configured to determine first row information and second row information, where the first row information is seat row total information corresponding to the seat in the first seat information, and the second row information is seat row total information corresponding to the seat in the second seat information;
the first comparison subunit is used for comparing the first line of information with the second line of information to obtain a fifth comparison result;
a thirteenth determining unit, configured to determine, for each seat row of the knuckle, seat information corresponding to the seat row in the first seat information, use the seat information corresponding to the seat row in the first seat information as the first seat information corresponding to the seat row, determine seat information corresponding to the seat row in the second seat information, and use the seat information corresponding to the seat row in the second seat information as the second seat information corresponding to the seat row;
the second comparison subunit is used for comparing the first seat information corresponding to each seat row with the second seat information corresponding to the first seat information to obtain a comparison result corresponding to each seat row;
a fourteenth determining subunit, configured to determine the fourth comparison result according to the fifth comparison result and the comparison results corresponding to all the seat rows.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The embodiment of the present invention further provides an electronic device of a method for testing a seating chart system, and a schematic structural diagram of the electronic device is shown in fig. 5, where the electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the application range of the embodiment of the present invention.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 506 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 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 embodiment of the invention also provides a storage medium, which comprises a stored instruction, wherein when the instruction runs, the equipment where the storage medium is located is controlled to execute the test method of the seating chart system.
The storage medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: determining first seat map information and second seat map information corresponding to a flight under the condition that a seat map system finishes a current upgrading process, wherein the first seat map information is message information of a flight seat map corresponding to the flight before the current upgrading process, and the second seat map information is message information of the flight seat map corresponding to the flight after the current upgrading process; determining first flight information and first section information corresponding to the flight and first cabin information and first seat information corresponding to each section of the flight according to a preset information processing strategy and the first seat map information; determining second flight information and second section information corresponding to the flight and second cabin information and second seat information corresponding to each section of the flight according to the information processing strategy and the second seat map information; comparing the first flight information with the second flight information to obtain a first comparison result; comparing the first air traffic control information with the second air traffic control information to obtain a second comparison result; for each air node, comparing the first cabin information corresponding to the air node with the second cabin information corresponding to the air node to obtain a third comparison result, and comparing the first seat information corresponding to the air node with the second seat information corresponding to the air node to obtain a fourth comparison result; and determining a test result corresponding to the current upgrading process of the seating chart system according to the first comparison result, the second comparison result, the third comparison result and the fourth comparison result.
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 invention. 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 invention 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 is encompassed without departing from the spirit of the disclosure. For example, the above features and (but not limited to) features having similar functions disclosed in the present invention are mutually replaced to form the technical solution.
In the detailed description section, this application will repeat, in part, all of the claims as issued:
in accordance with one or more embodiments disclosed herein, fig. 1 provides a method for testing a seating chart system, comprising: determining first seat map information and second seat map information corresponding to a flight under the condition that a seat map system finishes a current upgrading process, wherein the first seat map information is message information of a flight seat map corresponding to the flight before the current upgrading process, and the second seat map information is message information of the flight seat map corresponding to the flight after the current upgrading process; determining first flight information and first section information corresponding to the flight and first cabin information and first seat information corresponding to each section of the flight according to a preset information processing strategy and the first seat map information; determining second flight information and second section information corresponding to the flight and second cabin information and second seat information corresponding to each section of the flight according to the information processing strategy and the second seat map information; comparing the first flight information with the second flight information to obtain a first comparison result; comparing the first air traffic control information with the second air traffic control information to obtain a second comparison result; for each air node, comparing the first cabin information corresponding to the air node with the second cabin information corresponding to the air node to obtain a third comparison result, and comparing the first seat information corresponding to the air node with the second seat information corresponding to the air node to obtain a fourth comparison result; and determining a test result corresponding to the current upgrading process of the seating chart system according to the first comparison result, the second comparison result, the third comparison result and the fourth comparison result.
Acquiring flight basic information corresponding to the flight from the first seating chart information; determining the first digital character of the flight number in the flight basic information, and judging whether the first digital character is zero or not; if the first digital character is zero, deleting the first digital character of the flight number in the flight basic information to obtain processed flight basic information; judging whether a preset flight attribute character exists in the first seating chart information or not; if the first seat map information contains preset flight attribute characters, acquiring flight attribute characters contained in the first seat map information; and generating first flight information corresponding to the flight based on the processed flight basic information and flight attribute characters contained in the first seat map information.
Determining the number of the sections corresponding to the flights and the section information corresponding to each section based on the first seating chart information, wherein the section information corresponding to each section comprises a takeoff airport mark, an arrival airport mark, an airplane model, sales layout information and departure system version information corresponding to the section; and sequentially integrating the number of the sections and the section information of each section to obtain first section information corresponding to the flight.
For each section of the flight, determining the number of cabin spaces corresponding to the section and basic cabin space information corresponding to each cabin space according to the first seat map information; determining a seat map type corresponding to the first seat map information, and judging whether the seat map type corresponding to the first seat map information is a seat map of a reservation system; if the type of the seat map corresponding to the first seat map information is a seat map of a seat reservation system, acquiring cabin column label information corresponding to each cabin of the engine room; judging whether a preset cabin attribute exists in the cabin of the engine room for each cabin of the engine room corresponding to the navigation node, if so, determining an attribute parameter corresponding to the preset cabin attribute, and integrating the attribute parameter corresponding to the preset cabin attribute, the basic information of the cabin corresponding to the cabin of the engine room and the cabin column label information to obtain cabin information corresponding to the cabin of the engine room; and sequentially integrating the cabin space information corresponding to each cabin space corresponding to the air section to obtain first cabin space information corresponding to the air section.
Fig. 2 provides yet another seating chart system testing method, according to one or more embodiments disclosed herein, including: for each section of the flight, determining basic information of each seat row corresponding to the section according to the first seat map information; judging whether the first seat map information meets a preset row attribute processing condition or not; if the first seat map information meets a preset row attribute processing condition, determining a seat map type corresponding to the first seat map information and a row attribute processing rule corresponding to the seat map type corresponding to the first seat map information; processing the basic information of each seat row based on the row attribute processing rule, and taking the processed basic information of each seat row as first basic information corresponding to the seat row; judging whether the first seat map information meets a preset line data conversion condition or not; if the first seat map information meets a preset line data conversion condition, performing data conversion on first basic information corresponding to each seat line according to a preset data conversion rule, and taking the first basic information corresponding to the seat line subjected to the data conversion as seat line information corresponding to the seat line; integrating seat row information corresponding to each seat row corresponding to the air festival in sequence to obtain seat row total information corresponding to the air festival; determining seat information corresponding to each seat row corresponding to the air section; and determining the total seat row information corresponding to the sections and the seat information corresponding to all the seat rows as first seat information corresponding to the sections of the flight.
FIG. 3 provides another seating chart system testing method, according to one or more embodiments disclosed herein, including: for each seat row corresponding to the air section, determining basic information of each seat corresponding to the seat row according to the first seat map information; judging whether the first seat map information meets a preset seat attribute processing condition or not; if the first seat map information meets a preset seat attribute processing condition, determining a seat attribute processing rule corresponding to the seat map type corresponding to the first seat map information; processing the basic information of each seat based on the seat attribute processing rule, and taking the processed basic information of each seat as first basic information corresponding to the seat; judging whether the first seat map information meets a preset seat data conversion condition or not; if the first seat map information meets a preset seat data conversion condition, performing data conversion on first basic information corresponding to each seat according to the data conversion rule, and taking the first basic information corresponding to each seat subjected to data conversion as seat information corresponding to the seat; and integrating the seat information corresponding to each seat corresponding to the seat row in sequence to obtain the seat information corresponding to the seat row.
Determining first row information and second row information, wherein the first row information is seat row total information corresponding to the seat in the first seat information, and the second row information is seat row total information corresponding to the seat in the second seat information; comparing the first row information with the second row information to obtain a fifth comparison result; for each seat row of the air station, determining seat information corresponding to the seat row in the first seat information, taking the seat information corresponding to the seat row in the first seat information as the first seat information corresponding to the seat row, determining seat information corresponding to the seat row in the second seat information, and taking the seat information corresponding to the seat row in the second seat information as the second seat information corresponding to the seat row; comparing the first seat information corresponding to each seat row with the second seat information corresponding to the seat row to obtain a comparison result corresponding to each seat row; and determining the fourth comparison result according to the fifth comparison result and the comparison results corresponding to all the seat rows.
Fig. 4 provides a test apparatus of a seating chart system, according to one or more embodiments disclosed in the present application, including: the first determining unit is used for determining first seat map information and second seat map information corresponding to a flight under the condition that a seat map system finishes a current upgrading process, wherein the first seat map information is message information of a flight seat map corresponding to the flight before the current upgrading process, and the second seat map information is message information of a flight seat map corresponding to the flight after the current upgrading process; a second determining unit, configured to determine, according to a preset information processing policy and the first seat map information, first flight information and first seat information corresponding to the flight, and first cabin information and first seat information corresponding to each seat of the flight; a third determining unit, configured to determine, according to the information processing policy and the second seat map information, second flight information and second seat information corresponding to the flight, and second cabin information and second seat information corresponding to each of the seats of the flight; the first comparison unit is used for comparing the first flight information with the second flight information to obtain a first comparison result; the second comparison unit is used for comparing the first air festival information with the second air festival information to obtain a second comparison result; the third comparison unit is used for comparing the first cabin information corresponding to each of the cabins with the second cabin information corresponding to the cabin information to obtain a third comparison result, and comparing the first seat information corresponding to the cabin with the second seat information corresponding to the first seat information to obtain a fourth comparison result; and the fourth determining unit is used for determining a test result corresponding to the current upgrading process of the seating chart system according to the first comparison result, the second comparison result, the third comparison result and the fourth comparison result.
According to one or more embodiments disclosed herein, a storage medium is provided, where the storage medium includes stored instructions, and when the instructions are executed, a device where the storage medium is located is controlled to execute the test method of the seating chart system.
In accordance with one or more embodiments disclosed herein, fig. 5 provides an electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the above-described method for testing a seating chart system.

Claims (10)

1. A method for testing a seating chart system, comprising:
determining first seat map information and second seat map information corresponding to a flight under the condition that a seat map system finishes a current upgrading process, wherein the first seat map information is message information of a flight seat map corresponding to the flight before the current upgrading process, and the second seat map information is message information of the flight seat map corresponding to the flight after the current upgrading process;
determining first flight information and first section information corresponding to the flight and first cabin information and first seat information corresponding to each section of the flight according to a preset information processing strategy and the first seat map information;
determining second flight information and second section information corresponding to the flight and second cabin information and second seat information corresponding to each section of the flight according to the information processing strategy and the second seat map information;
comparing the first flight information with the second flight information to obtain a first comparison result;
comparing the first air traffic control information with the second air traffic control information to obtain a second comparison result;
for each air node, comparing the first cabin information corresponding to the air node with the second cabin information corresponding to the air node to obtain a third comparison result, and comparing the first seat information corresponding to the air node with the second seat information corresponding to the air node to obtain a fourth comparison result;
and determining a test result corresponding to the current upgrading process of the seating chart system according to the first comparison result, the second comparison result, the third comparison result and the fourth comparison result.
2. The method of claim 1, wherein the determining the first flight information corresponding to the flight comprises:
acquiring flight basic information corresponding to the flight from the first seating chart information;
determining the first digital character of the flight number in the flight basic information, and judging whether the first digital character is zero or not;
if the first digital character is zero, deleting the first digital character of the flight number in the flight basic information to obtain processed flight basic information;
judging whether a preset flight attribute character exists in the first seating chart information or not;
if the first seat map information contains preset flight attribute characters, acquiring flight attribute characters contained in the first seat map information;
and generating first flight information corresponding to the flight based on the processed flight basic information and flight attribute characters contained in the first seat map information.
3. The method of claim 1, wherein the determining the first section information corresponding to the flight comprises:
determining the number of the sections corresponding to the flights and the section information corresponding to each section based on the first seating chart information, wherein the section information corresponding to each section comprises a takeoff airport mark, an arrival airport mark, an airplane model, sales layout information and departure system version information corresponding to the section;
and sequentially integrating the number of the sections and the section information of each section to obtain first section information corresponding to the flight.
4. The method of claim 1, wherein the determining first slot information corresponding to each of the legs of the flight comprises:
for each section of the flight, determining the number of cabin spaces corresponding to the section and basic cabin space information corresponding to each cabin space according to the first seat map information;
determining a seat map type corresponding to the first seat map information, and judging whether the seat map type corresponding to the first seat map information is a seat map of a reservation system;
if the type of the seat map corresponding to the first seat map information is a seat map of a seat reservation system, acquiring cabin column label information corresponding to each cabin of the engine room;
judging whether a preset cabin attribute exists in the cabin of the engine room for each cabin of the engine room corresponding to the navigation node, if so, determining an attribute parameter corresponding to the preset cabin attribute, and integrating the attribute parameter corresponding to the preset cabin attribute, the basic information of the cabin corresponding to the cabin of the engine room and the cabin column label information to obtain cabin information corresponding to the cabin of the engine room;
and sequentially integrating the cabin space information corresponding to each cabin space corresponding to the air section to obtain first cabin space information corresponding to the air section.
5. The method of claim 1, wherein the determining first seat information corresponding to each leg of the flight comprises:
for each section of the flight, determining basic information of each seat row corresponding to the section according to the first seat map information;
judging whether the first seat map information meets a preset row attribute processing condition or not;
if the first seat map information meets a preset row attribute processing condition, determining a seat map type corresponding to the first seat map information and a row attribute processing rule corresponding to the seat map type corresponding to the first seat map information;
processing the basic information of each seat row based on the row attribute processing rule, and taking the processed basic information of each seat row as first basic information corresponding to the seat row;
judging whether the first seat map information meets a preset line data conversion condition or not;
if the first seat map information meets a preset line data conversion condition, performing data conversion on first basic information corresponding to each seat line according to a preset data conversion rule, and taking the first basic information corresponding to the seat line subjected to the data conversion as seat line information corresponding to the seat line;
integrating seat row information corresponding to each seat row corresponding to the air festival in sequence to obtain seat row total information corresponding to the air festival;
determining seat information corresponding to each seat row corresponding to the air section;
and determining the total seat row information corresponding to the sections and the seat information corresponding to all the seat rows as first seat information corresponding to the sections of the flight.
6. The method of claim 5, wherein the determining seat information corresponding to each of the seat rows corresponding to the knuckle comprises:
for each seat row corresponding to the air section, determining basic information of each seat corresponding to the seat row according to the first seat map information;
judging whether the first seat map information meets a preset seat attribute processing condition or not;
if the first seat map information meets a preset seat attribute processing condition, determining a seat attribute processing rule corresponding to the seat map type corresponding to the first seat map information;
processing the basic information of each seat based on the seat attribute processing rule, and taking the processed basic information of each seat as first basic information corresponding to the seat;
judging whether the first seat map information meets a preset seat data conversion condition or not;
if the first seat map information meets a preset seat data conversion condition, performing data conversion on first basic information corresponding to each seat according to the data conversion rule, and taking the first basic information corresponding to each seat subjected to data conversion as seat information corresponding to the seat;
and integrating the seat information corresponding to each seat corresponding to the seat row in sequence to obtain the seat information corresponding to the seat row.
7. The method according to claim 6, wherein the comparing the first seat information corresponding to the festival with the second seat information corresponding to the festival comprises:
determining first row information and second row information, wherein the first row information is seat row total information corresponding to the seat in the first seat information, and the second row information is seat row total information corresponding to the seat in the second seat information;
comparing the first row information with the second row information to obtain a fifth comparison result;
for each seat row of the air station, determining seat information corresponding to the seat row in the first seat information, taking the seat information corresponding to the seat row in the first seat information as the first seat information corresponding to the seat row, determining seat information corresponding to the seat row in the second seat information, and taking the seat information corresponding to the seat row in the second seat information as the second seat information corresponding to the seat row;
comparing the first seat information corresponding to each seat row with the second seat information corresponding to the seat row to obtain a comparison result corresponding to each seat row;
and determining the fourth comparison result according to the fifth comparison result and the comparison results corresponding to all the seat rows.
8. A seating chart system testing apparatus, comprising:
the first determining unit is used for determining first seat map information and second seat map information corresponding to a flight under the condition that a seat map system finishes a current upgrading process, wherein the first seat map information is message information of a flight seat map corresponding to the flight before the current upgrading process, and the second seat map information is message information of a flight seat map corresponding to the flight after the current upgrading process;
a second determining unit, configured to determine, according to a preset information processing policy and the first seat map information, first flight information and first seat information corresponding to the flight, and first cabin information and first seat information corresponding to each seat of the flight;
a third determining unit, configured to determine, according to the information processing policy and the second seat map information, second flight information and second seat information corresponding to the flight, and second cabin information and second seat information corresponding to each of the seats of the flight;
the first comparison unit is used for comparing the first flight information with the second flight information to obtain a first comparison result;
the second comparison unit is used for comparing the first air festival information with the second air festival information to obtain a second comparison result;
the third comparison unit is used for comparing the first cabin information corresponding to each of the cabins with the second cabin information corresponding to the cabin information to obtain a third comparison result, and comparing the first seat information corresponding to the cabin with the second seat information corresponding to the first seat information to obtain a fourth comparison result;
and the fourth determining unit is used for determining a test result corresponding to the current upgrading process of the seating chart system according to the first comparison result, the second comparison result, the third comparison result and the fourth comparison result.
9. A storage medium comprising stored instructions, wherein the instructions, when executed, control a device on which the storage medium resides to perform a method of testing a seating chart system according to any one of claims 1 to 7.
10. An electronic device comprising a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by one or more processors to perform a method of testing a seating chart system according to any one of claims 1-7.
CN202110260543.7A 2021-03-10 2021-03-10 Seat map system testing method and device, storage medium and electronic equipment Active CN112965904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110260543.7A CN112965904B (en) 2021-03-10 2021-03-10 Seat map system testing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110260543.7A CN112965904B (en) 2021-03-10 2021-03-10 Seat map system testing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112965904A true CN112965904A (en) 2021-06-15
CN112965904B CN112965904B (en) 2024-04-05

Family

ID=76277250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110260543.7A Active CN112965904B (en) 2021-03-10 2021-03-10 Seat map system testing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112965904B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080167909A1 (en) * 2007-01-05 2008-07-10 De Marcken Carl Updating a database of travel information
CN104765669A (en) * 2015-04-24 2015-07-08 昆明船舶设备集团有限公司 New airport information system parallel testing method for copying AFTN messages synchronously
US20170091069A1 (en) * 2015-09-25 2017-03-30 International Business Machines Corporation Testing of software upgrade
US20170192873A1 (en) * 2015-12-31 2017-07-06 Oracle International Corporation Upgrade verification tool
CN111192090A (en) * 2019-12-31 2020-05-22 广州优策科技有限公司 Seat allocation method and device for flight, storage medium and electronic equipment
CN112214693A (en) * 2020-10-12 2021-01-12 中国民航信息网络股份有限公司 Seating chart display method and device, storage medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080167909A1 (en) * 2007-01-05 2008-07-10 De Marcken Carl Updating a database of travel information
CN104765669A (en) * 2015-04-24 2015-07-08 昆明船舶设备集团有限公司 New airport information system parallel testing method for copying AFTN messages synchronously
US20170091069A1 (en) * 2015-09-25 2017-03-30 International Business Machines Corporation Testing of software upgrade
US20170192873A1 (en) * 2015-12-31 2017-07-06 Oracle International Corporation Upgrade verification tool
CN111192090A (en) * 2019-12-31 2020-05-22 广州优策科技有限公司 Seat allocation method and device for flight, storage medium and electronic equipment
CN112214693A (en) * 2020-10-12 2021-01-12 中国民航信息网络股份有限公司 Seating chart display method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN112965904B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
US10607499B2 (en) Simulation device for a flight management system
US6606544B2 (en) Electronic flight kit and method
US9019128B1 (en) Augmented reality aircraft management system
US9310204B2 (en) Route modeler for improving desired environmental and economic flight characteristics
CN111506614B (en) Method and device for identifying civil aviation transfer baggage and storage medium
EP3734575A1 (en) System and method for rendering dynamic data and controlling the visual form of the data on a cockpit display without altering the certified software
US20200348148A1 (en) System and method for rendering dynamic data and controlling the visual form of the data on a cockpit display without altering the certified software
CN113297178B (en) Aviation product data processing method and related equipment
CN112232653A (en) Method, device, server and computer storage medium for processing reserve landing flight
CN112966846A (en) Passenger signing and transferring method and device, storage medium and electronic equipment
CN112965904B (en) Seat map system testing method and device, storage medium and electronic equipment
EP3644258A1 (en) Systems and methods to update shared databases using blockchain technology
US11156475B2 (en) Method and system for packing an electronic flight bag
CN112347112B (en) Aviation data management method, aviation data management device and storage medium
CN112231560B (en) Flight information query method, device, equipment and readable storage medium
CN113312420A (en) Flight data processing method, device, equipment and storage medium
CN112967030A (en) Flight passenger transfer method, flight passenger transfer device, electronic equipment and computer storage medium
Frazza et al. MBSA in Aeronautics: A Way to Support Safety Activities
CN115062022B (en) Aircraft manual splitting method, device, electronic equipment and computer readable medium
US11881114B2 (en) Method and system for visualizing aircraft communications
CN112347113B (en) Aviation data fusion method, aviation data fusion device and storage medium
CN113313391B (en) Flight space resource allocation method, device and server
CN115953002A (en) Method and device for establishing departure flight plan, electronic equipment and storage medium
CN114372070B (en) Data consistency checking method and device
Kloster et al. Engineering the man-machine interface for Air Traffic Control

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
GR01 Patent grant
GR01 Patent grant