CN111784158B - Processing method and device for lifting cabin data and electronic equipment - Google Patents

Processing method and device for lifting cabin data and electronic equipment Download PDF

Info

Publication number
CN111784158B
CN111784158B CN202010618982.6A CN202010618982A CN111784158B CN 111784158 B CN111784158 B CN 111784158B CN 202010618982 A CN202010618982 A CN 202010618982A CN 111784158 B CN111784158 B CN 111784158B
Authority
CN
China
Prior art keywords
cabin
user
lifting
target
information
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.)
Active
Application number
CN202010618982.6A
Other languages
Chinese (zh)
Other versions
CN111784158A (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 Technology Co Ltd
Original Assignee
China Travelsky Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Travelsky Technology Co Ltd filed Critical China Travelsky Technology Co Ltd
Priority to CN202010618982.6A priority Critical patent/CN111784158B/en
Publication of CN111784158A publication Critical patent/CN111784158A/en
Application granted granted Critical
Publication of CN111784158B publication Critical patent/CN111784158B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q50/40

Abstract

The invention provides a method, a device and electronic equipment for processing lifting cabin data, wherein the time for generating lifting cabin reference information and the time for acquiring the lifting cabin reference information and executing lifting cabin operation are in two different times. In the invention, the elevator cabin reference information is generated in advance, the elevator cabin reference information acquired at the current moment is known and fixed, and the data volume is fixed when the elevator cabin reference information is subjected to the elevator cabin operation in sequence, so that the problems that the data processing is easy to be wrong and the accuracy of the data processing is lower due to the temporary addition of the elevator cabin data when the elevator cabin operation is sequentially executed, and the processing capacity of a ticket purchasing server is excessively large instantly caused by executing the elevator cabin operation on a plurality of users at the same time, thereby aggravating the burden of the server and even causing the paralysis of the server can be avoided.

Description

Processing method and device for lifting cabin data and electronic equipment
Technical Field
The present invention relates to the field of lift cabins, and in particular, to a method and an apparatus for processing lift cabin data, and an electronic device.
Background
With the vigorous development of the aviation industry, more and more users select aviation travel, and most of users purchase cabin tickets suitable for themselves, such as economy cabin tickets or first class cabin tickets, during aviation travel.
When some cabin positions are free and the users agree to lift the cabin, the server can provide lift service for the users, and if a plurality of users transact lift service at the same time, the processing capacity of the server executing the lift flow is excessively large instantaneously, so that the burden of the server is increased, and even the server is paralyzed. And when the processing capacity of the server is increased, the probability of error when the server executes the cabin lifting process is increased, so that the probability of cabin lifting failure or cabin lifting error when the user executes the cabin lifting process is increased, and the user experience is reduced.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In view of this, the present invention provides a method, an apparatus and an electronic device for processing cabin lifting data, so as to solve the problems that if a plurality of users transact cabin lifting service at the same time, the processing capacity of a server executing a cabin lifting process is instantaneously excessive, the burden of the server is increased, and the user experience is reduced.
In order to solve the technical problems, the invention adopts the following technical scheme:
a method of processing lift-cabin data, comprising:
Under the condition that the current moment accords with a preset processing condition, acquiring cabin lifting reference information of each target user generated before the current moment, wherein the preset processing condition is that the time difference between the current moment and the target moment is not larger than a first preset value;
according to the cabin lifting reference information of each target user, sequencing the cabin lifting priority of the plurality of target users to obtain a cabin lifting reference sequence of the plurality of target users;
and acquiring a preset cabin lifting rule, and executing sequential cabin lifting operation on the plurality of target users according to the cabin lifting reference sequence, the preset cabin lifting rule and the cabin lifting reference information of each target user.
A device for processing lift-cabin data, comprising:
The system comprises a data acquisition module, a processing module and a processing module, wherein the data acquisition module is used for acquiring the cabin lifting reference information of each target user generated before the current moment when the current moment accords with a preset processing condition, and the preset processing condition is that the time difference between the current moment and the target moment is not larger than a first preset value;
The cabin lifting sorting module is used for sorting the cabin lifting priority of the plurality of target users according to the cabin lifting reference information of each target user to obtain the cabin lifting reference sequence of the plurality of target users;
And the cabin lifting executing module is used for acquiring a preset cabin lifting rule and executing sequential cabin lifting operation on the plurality of target users according to the cabin lifting reference sequence, the preset cabin lifting rule and the cabin lifting reference information of each target user.
An electronic device, comprising: a memory and a processor;
Wherein the memory is used for storing programs;
the processor invokes the program and is configured to:
Under the condition that the current moment accords with a preset processing condition, acquiring cabin lifting reference information of each target user generated before the current moment, wherein the preset processing condition is that the time difference between the current moment and the target moment is not larger than a first preset value;
according to the cabin lifting reference information of each target user, sequencing the cabin lifting priority of the plurality of target users to obtain a cabin lifting reference sequence of the plurality of target users;
and acquiring a preset cabin lifting rule, and executing sequential cabin lifting operation on the plurality of target users according to the cabin lifting reference sequence, the preset cabin lifting rule and the cabin lifting reference information of each target user.
Compared with the prior art, the invention has the following beneficial effects:
The invention provides a method, a device and electronic equipment for processing cabin lifting data, wherein when cabin lifting operation is carried out, under the condition that the current moment accords with preset processing conditions, cabin lifting reference information of each target user generated before the current moment is acquired, and the preset processing conditions are that the time difference between the current moment and the target moment is not more than a first preset value; namely, the time for generating the elevator cabin reference information and the time for acquiring the elevator cabin reference information and executing the elevator cabin operation are in two different times, the elevator cabin reference information is generated and the elevator cabin operation is executed separately, and the problems that the processing capacity of a server for executing an elevator cabin process is instantaneously overlarge, the burden of the server is increased, and even the server is paralyzed caused due to the fact that the elevator cabin reference information is generated and the elevator cabin operation is executed simultaneously are avoided. Further, in the invention, the elevator cabin reference information is generated in advance, the elevator cabin reference information acquired at the current moment is known and fixed, and the data volume is fixed when the elevator cabin reference information is sequentially carried out for elevator cabin operation, so that the problems that the data processing is easy to be wrong and the accuracy of the data processing is lower due to temporary addition of elevator cabin data when the elevator cabin operation is sequentially carried out, and the ticket purchasing server processing capacity is excessively high instantly and aggravates the burden of the server and even leads to paralysis of the server caused by executing the elevator cabin operation on a plurality of users at the same time can be avoided.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for processing lift cabin data according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for processing lift-cabin data according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for processing lift-cabin data according to another embodiment of the present invention;
FIG. 4 is a flowchart of a method for processing lift-cabin data according to another embodiment of the present invention;
Fig. 5 is a schematic structural diagram of a device for processing lift cabin data according to an embodiment of the present invention.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
The term "including" and variations thereof as used herein are intended to be 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. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units. [ ordinal words ]
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise. [ Single plural ]
When a user takes an airplane to go out, if the user has purchased an airplane ticket, but the user wants to change the airplane ticket cabin, if the user wants to change the cabin with spare seats, the server can provide cabin lifting service for the user, if a plurality of users transact the cabin lifting service at the same time, the server executing the cabin lifting process needs to issue a large number of cabin lifting invitation requests, process the cabin lifting for the user who carries out cabin lifting, and feed back cabin lifting results to the user, namely, the server needs to issue a large number of cabin lifting invitation requests and process the cabin lifting requests at the same time, so that the processing capacity of the server is instantaneously excessive, the burden of the server is increased, and even the server is paralyzed. And when the processing capacity of the server is increased, the probability of error when the server executes the cabin lifting process is increased, so that the probability of cabin lifting failure or cabin lifting error when the user executes the cabin lifting process is increased, and the user experience is reduced.
In order to solve the problem that the processing capacity of the server is instantaneously excessive and the user experience is reduced, the inventor finds that if the operation of issuing the cabin inviting request to obtain the cabin lifting reference information and the operation of carrying out cabin lifting processing on the user who carries out cabin lifting are separated, the cabin inviting request is issued in one time period and the cabin lifting reference information is obtained, and the cabin lifting processing is carried out on the user who carries out cabin lifting in another time period, namely, the task of processing the server at the same time is divided into two time periods to be completed, the business capacity of the server at the same time is reduced, and therefore the problem that the processing capacity of the server is instantaneously excessive, the burden of the server is increased and even the server is paralyzed is avoided.
Further, in the invention, the elevator cabin reference information is generated in advance, the elevator cabin reference information acquired at the current moment is known and fixed, and the data volume is fixed when the elevator cabin reference information is sequentially carried out for elevator cabin operation, so that the problems that the data processing is easy to be wrong and the accuracy of the data processing is lower due to temporary addition of elevator cabin data when the elevator cabin operation is sequentially carried out, and the ticket purchasing server processing capacity is excessively high instantly and aggravates the burden of the server and even leads to paralysis of the server caused by executing the elevator cabin operation on a plurality of users at the same time can be avoided.
Further, the cabin lifting invitation information is pushed to the terminals of a plurality of target users in one time period, and the sequential cabin lifting operation is executed on the plurality of target users in another time period. In addition, in the invention, the latter period can be 3 days before take-off, so that the cabin lifting operation is performed in advance, and thus, some low-grade cabins can be released for subsequent passengers to purchase, and the sales performance of airlines is improved.
Specifically, in the embodiment of the invention, the server can configure the offer rule through the offer rule system according to the situation of the boarding rate of the cabin. The system sends the cabin raising invitation information for the passengers purchasing flights conforming to the offer rules according to the offer rules at regular time. The passengers can apply for the elevator in the effective period, and when the elevator transacting date is reached, the system can sequentially carry out elevator for the passengers according to the value of the passengers. Referring to fig. 1, a method for processing lift cabin data may include:
And S11, under the condition that the current moment accords with the preset processing condition, acquiring the cabin lifting reference information of each target user generated before the current moment.
In this embodiment, the target user is a user who needs to lift the cabin. The lift cabin reference information may include: passenger ticket state information, flight state information, target cabin positions, cabin lifting number, cabin position grade values of purchased air tickets corresponding to each target user, user grade values and the like.
The ticket status information may be valid or invalid, if the user purchases the air ticket, the ticket status information is valid, and if the user returns the ticket, the ticket status information is invalid.
The flight status information may be valid or invalid, and if the flight takes off normally, the flight status information is valid, and if the flight is cancelled, the flight status information is invalid.
The target cabin is the cabin of the cabin to be lifted by the user, and if the user lifts from the economy cabin to the business cabin, the target cabin is the business cabin.
The cabin lifting number refers to the cabin lifting number handled by the user, if the user only handles the user himself in the travel, the cabin lifting number handled is one person, and if the user himself and the two persons in the same row are handled in the travel, the cabin lifting number handled is three.
The class value of the purchased ticket corresponding to the target user is the class of the ticket purchased by the user, such as economy class, can be represented by the identifier 01, and the business class can be represented by the identifier 02.
The user class value may be VIP, general user, etc., each represented by a different identifier.
It should be noted that the current time accords with a preset processing condition, and the preset processing condition is that a time difference value between the current time and the target time is not greater than a first preset value.
In this embodiment, the target time is an aircraft takeoff time, the time difference between the current time and the target time is not greater than a first preset value, and the first preset value may be three days, for example, 72 hours, that is, the current time is a time corresponding to 72 hours before the aircraft takeoff time, and the generation time of the cabin lifting reference information of each target user is before the current time, for example, a time corresponding to 86 hours before the current time. That is, the period of time for generating the cabin lifting reference information may be 7 days before the aircraft takes off, and the period of time for acquiring the cabin lifting reference information may be 3 days before the aircraft takes off. I.e. 7 days to 4 days before the aircraft takes off, it is determined whether the user agrees to perform the cabin lifting operation. Then, on the first 3 days, the cabin lifting process is started to be executed for the user who handles the cabin lifting operation.
The cabin lifting reference information is acquired after the cabin lifting invitation information is issued for the user and the user pays the cabin lifting fee. Specifically, referring to fig. 2, the process for generating the cabin lifting reference information includes:
S21, acquiring ticket purchase information of each user purchasing the ticket.
In this embodiment, the ticket purchase information of the user who purchased the present flight is acquired, such as the flight information (flight number, bunk number, flight date, etc.) of the purchased flight, and the user information (user name, user class value, user type, user number, etc.).
S22, acquiring preset user screening rules, screening users meeting the user screening rules from a plurality of users according to the air ticket purchase information of each user, and taking the users as target users.
In this embodiment, the user screening rule defines for which users the cabin raising invitation information may be pushed, for example, only economy cabins are purchased, the user type is adult, and the user with flight date 5.20 allows for cabin raising. The user allowed to ascend the cabin is referred to as the target user.
S23, determining cabin lifting invitation information of the target user according to the ticket purchase information of the target user, and pushing the cabin lifting invitation information to the terminal of the corresponding target user.
Wherein, the cabin lifting invitation information may include:
Flight information (flight number, bunk number, flight date, etc.), preferential rise price, and rise identification code for flights purchased by the user.
The cabin lifting identification code is a preferential code when a user purchases an offer product, such as a cabin lifting ticket to make up a gap, and the cost of the gap spent by the user when the user purchases the cabin lifting ticket by using the preferential code is smaller than the gap between the cabin lifting ticket and the current cabin ticket, namely the cabin lifting preferential is given to the user.
The flight information of the flights purchased by the user can be obtained from the ticket purchase information of the user, and the preferential cabin lifting price and the cabin lifting identification code can be obtained from a freight price system in the server by the server.
The cabin lifting invitation information of different target users is different, and after the cabin lifting invitation information is determined, the cabin lifting invitation information is sent to the terminal of the corresponding target user in a short message mode, such as a mobile phone, a tablet, a notebook and the like.
S24, based on user operation executed by the terminal of the target user after receiving the cabin lifting invitation information, cabin lifting reference information of the target user is determined.
When the terminal of the user receives the cabin lifting invitation information and wants to perform cabin lifting operation, the user can go to a corresponding air ticket purchasing system (such as a TRP system) to perform cabin lifting operation.
In practical applications, step S24 may include:
1) And judging whether the data input by the target user on a preset identification code verification interface is the cabin lifting identification code in the cabin lifting invitation information received by the terminal of the target user for each target user.
After the terminal of the user jumps to the cabin lifting interface in the ticket purchasing system, a preset identification code verification interface appears on the cabin lifting interface, and the user is required to input a cabin lifting identification code in cabin lifting invitation information on the interface. After the user inputs the elevator identification code, the server verifies whether the numerical value input by the user is the elevator identification code in the elevator invitation information, namely, verifies whether the user receives the elevator invitation information.
Before verifying the elevator identification code, the server will verify the login status of the user, and the purchase of the offered product must be in the passenger login status.
2) If yes, the display interface of the terminal of the target user is controlled to be changed into a preset air ticket modification interface.
If the numerical value input by the user is the elevator cabin identification code in the elevator cabin invitation information, the user jumps to a preset air ticket modification interface, namely an elevator cabin payment interface, and the user can select the number of elevator cabin people on the interface, wherein the number of the selectable elevator cabin people is not larger than the number of the user when buying the air ticket, namely the user can purchase the invited products for the same person at the same time. And then the user performs payment operation, and when the user performs payment, a credit card pre-authorization mode is selected, namely in the embodiment, the ticket changing operation is performed in the credit card pre-authorization mode, so that the user has cabin lifting authority. The user can check the purchased offer products on the order detail page, unpaid products, and can initiate payment again on the order, and pre-authorize the successful products.
Note that one coupon code may only be purchased for one offer product. After the passenger purchases, the payment is made by means of credit card pre-authorization.
3) And if the target user performs the air ticket changing operation in the preset air ticket changing interface in a credit card preauthorization mode, determining cabin lifting reference information of the target user according to user operation information when the air ticket changing operation is executed.
The user operation information in the present embodiment may include: the above-mentioned cabin lifting reference information can be obtained by user information (passenger ticket status information, flight status information, cabin level value of purchased air ticket corresponding to each target user, user level value, etc.), cabin lifting operation information (cabin lifting number, target cabin level), etc.
S12, sorting the ascending cabins of the plurality of target users according to ascending cabins of the target users, and obtaining ascending cabins of the plurality of target users.
In this embodiment, when the user performs the cabin raising operation, the operations are not performed simultaneously, but are performed in the order of the user value, so that the target users need to be sorted according to the user value.
In practical applications, step S12 may include:
S31, acquiring a weight value of the cabin level value of the purchased air ticket and a weight value of the user level value corresponding to each target user.
Specifically, corresponding weight values are set for each of the cabin level value and the user level value in advance, and in this embodiment, the weight value of the cabin level value and the weight value of the user level value of the purchased air ticket corresponding to each target user are directly obtained.
S32, calculating to obtain a user weight value of each target user according to the cabin level value of the purchased air ticket corresponding to each target user, the weight value of the cabin level value of the purchased air ticket corresponding to each target user, the user level value corresponding to each target user and the weight value of the user level value corresponding to each target user.
In this embodiment, for a target user, a result of a weight value of a bilge level value of a purchased air ticket + a weight value of a user level value of a purchased air ticket is calculated and used as a user weight value of the target user.
S33, sorting the ascending cabin priority of each target user according to the user weight value of each target user to obtain ascending cabin reference sequences of a plurality of target users.
After the user weight value of each target user is calculated, the larger the user weight value is, the more important the user is, so that the priority is required to be the user cabin lifting. And further, carrying out cabin lifting sorting according to the sequence of the user weight values from large to small to obtain cabin lifting reference information.
S13, acquiring a preset cabin lifting rule, and executing sequential cabin lifting operation on the plurality of target users according to the cabin lifting reference sequence, the preset cabin lifting rule and the cabin lifting reference information of each target user.
In practical application, the preset cabin raising rules may include:
And if the passenger ticket state information and the flight state information are valid, the stock remaining amount of the target cabin position corresponding to the current cabin lifting user is not less than the cabin lifting number, allowing the user to lift the cabin. If at least one of the ticket status information and the flight status information is invalid, or the stock remaining amount of the target cabin is smaller than the number of the cabin lifting persons, the user is not allowed to lift the cabin, and the cabin lifting order is marked as failed in cabin lifting.
Referring to fig. 4, step S13 may include:
s41, determining a target user to be subjected to cabin lifting operation according to the cabin lifting reference sequence, and taking the target user as a current cabin lifting user.
In practical application, the lift cabin reference sequence is preferentially selected as the current lift cabin user, and then the second and third lift cabin users … … are sequentially selected as the current lift cabin user according to the lift cabin reference sequence.
S42, judging whether the passenger ticket state information and the flight state information corresponding to the current cabin lifting user are valid or not. If both are in the valid state, executing step S43; if the unevenness is in the effective state, the process is ended.
Specifically, whether the ticket status information and the flight status information are both valid or not is checked.
S43, judging whether the stock remaining quantity of the target cabin corresponding to the current cabin lifting user is smaller than the cabin lifting number. If not, the process is ended, and if not, the process proceeds to step S44.
If the stock remaining quantity of the target cabin corresponding to the current cabin lifting user is smaller than the number of the cabin lifting people, the idle cabin of the target cabin is insufficient to ensure that the current cabin lifting user lifts the cabin, the user is not allowed to lift the cabin, and the server releases the credit card pre-authorization of the user.
If the stock remaining quantity of the target cabin corresponding to the current cabin lifting user is not less than the number of the cabin lifting people, the idle cabin position of the target cabin is indicated to be enough to ensure that the current cabin lifting user lifts the cabin, and the user is allowed to lift the cabin at the moment.
S44, judging whether the cabin lifting operation is executed for all the target users, if yes, ending, and if not, executing step S45.
S45, carrying out cabin lifting operation on the current cabin lifting user.
In practical applications, step S45 may include:
1) And performing a fee deduction operation on the credit card account when the target user performs the ticket change operation in a credit card pre-authorization mode.
2) After the fee deduction operation is successfully executed, changing the cabin identification in the passenger cabin information of the current lifting cabin user into the cabin identification of the target cabin;
3) And sending the cabin lifting success information to the terminal of the current cabin lifting user.
Specifically, the passenger with successful cabin lifting deducts the credit card pre-authorized payment amount, and after the payment is completed, the cabin identification in the passenger cabin information of the current cabin lifting user is changed to be the cabin identification of the target cabin, and the user can find the corresponding seat to be seated by means of the cabin identification. And then the short message informs the passenger that the cabin lifting is successful. The passenger with failed cabin lifting will release credit card preauthorization and inform the passenger of failed cabin lifting.
In addition, if the user chooses to cancel the offer product (i.e., the target bilge ticket described above) before the cabin ascent is successful. After the offer product is cancelled, the system will de-authorize the passenger's credit card pre-authorization.
After step S45 is performed, step S41 is performed again, and the steps are sequentially performed until the cabin raising operation is performed for all the target users.
In this embodiment, when a cabin lifting operation is performed, under a condition that a current time accords with a preset processing condition, cabin lifting reference information of each target user generated before the current time is obtained, where the preset processing condition is that a time difference value between the current time and the target time is not greater than a first preset value; namely, the time for generating the elevator cabin reference information and the time for acquiring the elevator cabin reference information and executing the elevator cabin operation are in two different times, the elevator cabin reference information is generated and the elevator cabin operation is executed separately, and the problems that the processing capacity of a server for executing an elevator cabin process is instantaneously overlarge, the burden of the server is increased, and even the server is paralyzed caused due to the fact that the elevator cabin reference information is generated and the elevator cabin operation is executed simultaneously are avoided. Further, in the invention, the elevator cabin reference information is generated in advance, the elevator cabin reference information acquired at the current moment is known and fixed, and the data volume is fixed when the elevator cabin reference information is sequentially carried out for elevator cabin operation, so that the problems that the data processing is easy to be wrong and the accuracy of the data processing is lower due to temporary addition of elevator cabin data when the elevator cabin operation is sequentially carried out, and the ticket purchasing server processing capacity is excessively high instantly and aggravates the burden of the server and even leads to paralysis of the server caused by executing the elevator cabin operation on a plurality of users at the same time can be avoided.
In addition, passengers may enjoy higher service at lower prices, thereby deepening acceptance of airlines.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information. [ Nap is not limiting ]
Although 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. In certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Optionally, on the basis of the embodiment of the method for processing the cabin lifting data, another embodiment of the present invention provides a device for processing cabin lifting data, referring to fig. 5, which may include:
The data acquisition module 11 is configured to acquire, when a current time accords with a preset processing condition, cabin lifting reference information of each target user generated before the current time, where the preset processing condition is that a time difference value between the current time and the target time is not greater than a first preset value;
The cabin lifting sorting module 12 is configured to sort the cabin lifting priorities of the plurality of target users according to the cabin lifting reference information of each target user, so as to obtain a cabin lifting reference sequence of the plurality of target users;
And the cabin lifting executing module 13 is configured to obtain a preset cabin lifting rule, and execute sequential cabin lifting operations on the plurality of target users according to the cabin lifting reference sequence, the preset cabin lifting rule and the cabin lifting reference information of each target user.
Further, the system further comprises a cabin lifting information generating module, wherein the cabin lifting information generating module comprises:
the information acquisition sub-module is used for acquiring the ticket purchase information of each user who purchases the ticket;
The user screening sub-module is used for acquiring preset user screening rules, screening out users conforming to the user screening rules from a plurality of users according to the ticket purchase information of each user, and taking the users as target users;
The cabin lifting invitation sub-module is used for determining cabin lifting invitation information of the target user according to ticket purchase information of the target user and pushing the cabin lifting invitation information to a terminal of the corresponding target user;
And the information determination submodule is used for determining the cabin lifting reference information of the target user based on user operation which is executed by the terminal of the target user after receiving the cabin lifting invitation information.
Further, the cabin inviting information comprises a cabin lifting identification code; the information determination submodule includes:
the judging unit is used for judging whether the data input by the target user on a preset identification code verification interface is the cabin lifting identification code in the cabin lifting invitation information received by the terminal of the target user for each target user;
The interface jump unit is used for controlling the display interface of the terminal of the target user to be changed into a preset air ticket modification interface if the interface jump unit is the cabin lifting identification code in the cabin lifting invitation information received by the terminal of the target user;
the information determining unit is used for determining cabin lifting reference information of the target user according to user operation information when the air ticket changing operation is executed if the air ticket changing operation is performed by the target user in a credit card preauthorization mode on the preset air ticket changing interface.
Further, the lift cabin reference information includes: the bilge level value of the purchased air ticket corresponding to each target user and the user level value;
The lift bin sequencing module may include:
The weight acquisition sub-module is used for acquiring the weight value of the cabin level value of the purchased air ticket corresponding to each target user and the weight value of the user level value;
The weight calculation sub-module is used for calculating to obtain the user weight value of each target user according to the cabin level value of the purchased air ticket corresponding to each target user, the weight value of the cabin level value of the purchased air ticket corresponding to each target user, the user level value corresponding to each target user and the weight value of the user level value corresponding to each target user;
And the sequencing sub-module is used for sequencing the ascending cabin priority of the target users according to the user weight value of each target user to obtain ascending cabin reference sequences of a plurality of target users.
Further, the lift cabin reference information further includes: passenger ticket status information, flight status information, target cabin positions and cabin lifting people;
The lift cabin execution module includes:
the user determination submodule is used for determining a target user for carrying out the cabin lifting operation according to the cabin lifting reference sequence and taking the target user as a current cabin lifting user;
the state judging sub-module is used for judging whether the passenger ticket state information and the flight state information corresponding to the current cabin lifting user are valid or not;
The people number determination submodule is used for judging whether the stock remaining quantity of the target cabin corresponding to the current cabin lifting user is smaller than the number of the cabin lifting people if the stock remaining quantity is valid;
And the cabin lifting sub-module is used for executing cabin lifting operation on the current cabin lifting user if not, returning to the step of determining the target user to be executed with the cabin lifting operation according to the cabin lifting reference sequence, and sequentially executing until the cabin lifting operation is executed on all the target users.
Further, the cabin lifting sub-module is specifically configured to:
Performing a fee deduction operation on a credit card account when the target user performs an air ticket changing operation in a credit card pre-authorization mode; after the fee deduction operation is successfully executed, changing the cabin identification in the passenger cabin information of the current lifting cabin user into the cabin identification of the target cabin; and sending the cabin lifting success information to the terminal of the current cabin lifting user.
In this embodiment, when a cabin lifting operation is performed, under a condition that a current time accords with a preset processing condition, cabin lifting reference information of each target user generated before the current time is obtained, where the preset processing condition is that a time difference value between the current time and the target time is not greater than a first preset value; namely, the time for generating the elevator cabin reference information and the time for acquiring the elevator cabin reference information and executing the elevator cabin operation are in two different times, the elevator cabin reference information is generated and the elevator cabin operation is executed separately, and the problems that the processing capacity of a server for executing an elevator cabin process is instantaneously overlarge, the burden of the server is increased, and even the server is paralyzed caused due to the fact that the elevator cabin reference information is generated and the elevator cabin operation is executed simultaneously are avoided. Further, in the invention, the elevator cabin reference information is generated in advance, the elevator cabin reference information acquired at the current moment is known and fixed, and the data volume is fixed when the elevator cabin reference information is sequentially carried out for elevator cabin operation, so that the problems that the data processing is easy to be wrong and the accuracy of the data processing is lower due to temporary addition of elevator cabin data when the elevator cabin operation is sequentially carried out, and the ticket purchasing server processing capacity is excessively high instantly and aggravates the burden of the server and even leads to paralysis of the server caused by executing the elevator cabin operation on a plurality of users at the same time can be avoided.
It should be noted that, in the working process of each module, sub-module and unit in this embodiment, please refer to the corresponding description in the above embodiment, and the description is omitted here.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The name of the unit does not in any way constitute a limitation of the unit itself, for example the first acquisition unit may also be described as "unit acquiring at least two internet protocol addresses".
The functions described above herein 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: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In addition to the embodiments of the method and apparatus for processing cabin raising data, another embodiment of the present invention provides a storage medium having a program stored thereon, which when executed by a processor, implements the method for processing cabin raising data.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
Optionally, on the basis of the embodiments of the above mentioned method and apparatus for processing the cabin lifting data, the present application further provides a computer program product adapted to perform the above mentioned method for processing the cabin lifting data when executed on a data processing device.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from ROM. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by a processing device.
Optionally, based on the embodiment of the method and the device for processing the cabin raising data, another embodiment of the present invention provides an electronic device, including: a memory and a processor;
Wherein the memory is used for storing programs;
the processor invokes the program and is configured to:
Under the condition that the current moment accords with a preset processing condition, acquiring cabin lifting reference information of each target user generated before the current moment, wherein the preset processing condition is that the time difference between the current moment and the target moment is not larger than a first preset value;
according to the cabin lifting reference information of each target user, sequencing the cabin lifting priority of the plurality of target users to obtain a cabin lifting reference sequence of the plurality of target users;
and acquiring a preset cabin lifting rule, and executing sequential cabin lifting operation on the plurality of target users according to the cabin lifting reference sequence, the preset cabin lifting rule and the cabin lifting reference information of each target user.
Further, the generation process of the cabin lifting reference information comprises the following steps:
acquiring ticket purchase information of each user purchasing the ticket;
Acquiring preset user screening rules, screening users conforming to the user screening rules from a plurality of users according to the air ticket purchasing information of each user, and taking the users as target users;
determining cabin lifting invitation information of the target user according to the ticket purchase information of the target user, and pushing the cabin lifting invitation information to a terminal of the corresponding target user;
And determining the cabin lifting reference information of the target user based on user operation executed by the terminal of the target user after receiving the cabin lifting invitation information.
Further, the cabin inviting information comprises a cabin lifting identification code;
based on user operation performed by the terminal of the target user after receiving the cabin lifting invitation information, determining cabin lifting reference information of the target user includes:
For each target user, judging whether the data input by the target user on a preset identification code verification interface is a cabin lifting identification code in the cabin lifting invitation information received by the terminal of the target user;
if yes, controlling the display interface of the terminal of the target user to be changed into a preset air ticket modification interface;
And if the target user performs the air ticket changing operation in the preset air ticket changing interface in a credit card preauthorization mode, determining cabin lifting reference information of the target user according to user operation information when the air ticket changing operation is executed.
Further, the lift cabin reference information includes: the bilge level value of the purchased air ticket corresponding to each target user and the user level value;
According to the cabin lifting reference information of each target user, sequencing the cabin lifting priority of the plurality of target users to obtain the cabin lifting reference sequence of the plurality of target users, wherein the cabin lifting reference sequence comprises the following steps:
acquiring a weight value of a cabin level value of the purchased air ticket and a weight value of a user level value corresponding to each target user;
calculating to obtain a user weight value of each target user according to the cabin level value of the purchased air ticket corresponding to each target user, the weight value of the cabin level value of the purchased air ticket corresponding to each target user, the user level value corresponding to each target user and the weight value of the user level value corresponding to each target user;
and sequencing the ascending cabin priority of the target users according to the user weight value of each target user to obtain ascending cabin reference sequences of a plurality of target users.
Further, the lift cabin reference information further includes: passenger ticket status information, flight status information, target cabin positions and cabin lifting people;
Executing sequential cabin lifting operation on the plurality of target users according to the cabin lifting reference sequence, the preset cabin lifting rules and the cabin lifting reference information of each target user, wherein the method comprises the following steps:
Determining a target user for carrying out the cabin lifting operation according to the cabin lifting reference sequence, and taking the target user as a current cabin lifting user;
judging whether the passenger ticket state information and the flight state information corresponding to the current cabin lifting user are valid or not;
If the target cabin positions are all valid, judging whether the stock remaining quantity of the target cabin positions corresponding to the current cabin lifting user is smaller than the number of cabin lifting people;
If not, executing the cabin lifting operation on the current cabin lifting user, returning to the step of determining the target user to be executed with the cabin lifting operation according to the cabin lifting reference sequence, and executing the steps sequentially until all the target users are executed with the cabin lifting operation.
Further, performing a lift operation on the current lift user, including:
Performing a fee deduction operation on a credit card account when the target user performs an air ticket changing operation in a credit card pre-authorization mode;
after the fee deduction operation is successfully executed, changing the cabin identification in the passenger cabin information of the current lifting cabin user into the cabin identification of the target cabin;
and sending the cabin lifting success information to the terminal of the current cabin lifting user.
In this embodiment, when a cabin lifting operation is performed, under a condition that a current time accords with a preset processing condition, cabin lifting reference information of each target user generated before the current time is obtained, where the preset processing condition is that a time difference value between the current time and the target time is not greater than a first preset value; namely, the time for generating the elevator cabin reference information and the time for acquiring the elevator cabin reference information and executing the elevator cabin operation are in two different times, the elevator cabin reference information is generated and the elevator cabin operation is executed separately, and the problems that the processing capacity of a server for executing an elevator cabin process is instantaneously overlarge, the burden of the server is increased, and even the server is paralyzed caused due to the fact that the elevator cabin reference information is generated and the elevator cabin operation is executed simultaneously are avoided. Further, in the invention, the elevator cabin reference information is generated in advance, the elevator cabin reference information acquired at the current moment is known and fixed, and the data volume is fixed when the elevator cabin reference information is sequentially carried out for elevator cabin operation, so that the problems that the data processing is easy to be wrong and the accuracy of the data processing is lower due to temporary addition of elevator cabin data when the elevator cabin operation is sequentially carried out, and the ticket purchasing server processing capacity is excessively high instantly and aggravates the burden of the server and even leads to paralysis of the server caused by executing the elevator cabin operation on a plurality of users at the same time can be avoided.
According to one or more embodiments of the present disclosure, the foregoing embodiments provide a method for processing lift cabin data, including:
Under the condition that the current moment accords with a preset processing condition, acquiring cabin lifting reference information of each target user generated before the current moment, wherein the preset processing condition is that the time difference between the current moment and the target moment is not larger than a first preset value;
according to the cabin lifting reference information of each target user, sequencing the cabin lifting priority of the plurality of target users to obtain a cabin lifting reference sequence of the plurality of target users;
and acquiring a preset cabin lifting rule, and executing sequential cabin lifting operation on the plurality of target users according to the cabin lifting reference sequence, the preset cabin lifting rule and the cabin lifting reference information of each target user.
Further, the generation process of the cabin lifting reference information comprises the following steps:
acquiring ticket purchase information of each user purchasing the ticket;
Acquiring preset user screening rules, screening users conforming to the user screening rules from a plurality of users according to the air ticket purchasing information of each user, and taking the users as target users;
determining cabin lifting invitation information of the target user according to the ticket purchase information of the target user, and pushing the cabin lifting invitation information to a terminal of the corresponding target user;
And determining the cabin lifting reference information of the target user based on user operation executed by the terminal of the target user after receiving the cabin lifting invitation information.
Further, the cabin inviting information comprises a cabin lifting identification code;
based on user operation performed by the terminal of the target user after receiving the cabin lifting invitation information, determining cabin lifting reference information of the target user includes:
For each target user, judging whether the data input by the target user on a preset identification code verification interface is a cabin lifting identification code in the cabin lifting invitation information received by the terminal of the target user;
if yes, controlling the display interface of the terminal of the target user to be changed into a preset air ticket modification interface;
And if the target user performs the air ticket changing operation in the preset air ticket changing interface in a credit card preauthorization mode, determining cabin lifting reference information of the target user according to user operation information when the air ticket changing operation is executed.
Further, the lift cabin reference information includes: the bilge level value of the purchased air ticket corresponding to each target user and the user level value;
According to the cabin lifting reference information of each target user, sequencing the cabin lifting priority of the plurality of target users to obtain the cabin lifting reference sequence of the plurality of target users, wherein the cabin lifting reference sequence comprises the following steps:
acquiring a weight value of a cabin level value of the purchased air ticket and a weight value of a user level value corresponding to each target user;
calculating to obtain a user weight value of each target user according to the cabin level value of the purchased air ticket corresponding to each target user, the weight value of the cabin level value of the purchased air ticket corresponding to each target user, the user level value corresponding to each target user and the weight value of the user level value corresponding to each target user;
and sequencing the ascending cabin priority of the target users according to the user weight value of each target user to obtain ascending cabin reference sequences of a plurality of target users.
Further, the lift cabin reference information further includes: passenger ticket status information, flight status information, target cabin positions and cabin lifting people;
Executing sequential cabin lifting operation on the plurality of target users according to the cabin lifting reference sequence, the preset cabin lifting rules and the cabin lifting reference information of each target user, wherein the method comprises the following steps:
Determining a target user for carrying out the cabin lifting operation according to the cabin lifting reference sequence, and taking the target user as a current cabin lifting user;
judging whether the passenger ticket state information and the flight state information corresponding to the current cabin lifting user are valid or not;
If the target cabin positions are all valid, judging whether the stock remaining quantity of the target cabin positions corresponding to the current cabin lifting user is smaller than the number of cabin lifting people;
If not, executing the cabin lifting operation on the current cabin lifting user, returning to the step of determining the target user to be executed with the cabin lifting operation according to the cabin lifting reference sequence, and executing the steps sequentially until all the target users are executed with the cabin lifting operation.
Further, performing a lift operation on the current lift user, including:
Performing a fee deduction operation on a credit card account when the target user performs an air ticket changing operation in a credit card pre-authorization mode;
after the fee deduction operation is successfully executed, changing the cabin identification in the passenger cabin information of the current lifting cabin user into the cabin identification of the target cabin;
and sending the cabin lifting success information to the terminal of the current cabin lifting user.
According to one or more embodiments of the present disclosure, the foregoing embodiments provide a device for processing lift cabin data, including:
The system comprises a data acquisition module, a processing module and a processing module, wherein the data acquisition module is used for acquiring the cabin lifting reference information of each target user generated before the current moment when the current moment accords with a preset processing condition, and the preset processing condition is that the time difference between the current moment and the target moment is not larger than a first preset value;
The cabin lifting sorting module is used for sorting the cabin lifting priority of the plurality of target users according to the cabin lifting reference information of each target user to obtain the cabin lifting reference sequence of the plurality of target users;
And the cabin lifting executing module is used for acquiring a preset cabin lifting rule and executing sequential cabin lifting operation on the plurality of target users according to the cabin lifting reference sequence, the preset cabin lifting rule and the cabin lifting reference information of each target user.
Further, the system further comprises a cabin lifting information generating module, wherein the cabin lifting information generating module comprises:
the information acquisition sub-module is used for acquiring the ticket purchase information of each user who purchases the ticket;
The user screening sub-module is used for acquiring preset user screening rules, screening out users conforming to the user screening rules from a plurality of users according to the ticket purchase information of each user, and taking the users as target users;
The cabin lifting invitation sub-module is used for determining cabin lifting invitation information of the target user according to ticket purchase information of the target user and pushing the cabin lifting invitation information to a terminal of the corresponding target user;
And the information determination submodule is used for determining the cabin lifting reference information of the target user based on user operation which is executed by the terminal of the target user after receiving the cabin lifting invitation information.
Further, the cabin inviting information comprises a cabin lifting identification code; the information determination submodule includes:
the judging unit is used for judging whether the data input by the target user on a preset identification code verification interface is the cabin lifting identification code in the cabin lifting invitation information received by the terminal of the target user for each target user;
The interface jump unit is used for controlling the display interface of the terminal of the target user to be changed into a preset air ticket modification interface if the interface jump unit is the cabin lifting identification code in the cabin lifting invitation information received by the terminal of the target user;
the information determining unit is used for determining cabin lifting reference information of the target user according to user operation information when the air ticket changing operation is executed if the air ticket changing operation is performed by the target user in a credit card preauthorization mode on the preset air ticket changing interface.
According to one or more embodiments of the present disclosure, the above-described embodiments provide an electronic device including: a memory and a processor;
Wherein the memory is used for storing programs;
the processor invokes the program and is configured to:
Under the condition that the current moment accords with a preset processing condition, acquiring cabin lifting reference information of each target user generated before the current moment, wherein the preset processing condition is that the time difference between the current moment and the target moment is not larger than a first preset value;
according to the cabin lifting reference information of each target user, sequencing the cabin lifting priority of the plurality of target users to obtain a cabin lifting reference sequence of the plurality of target users;
and acquiring a preset cabin lifting rule, and executing sequential cabin lifting operation on the plurality of target users according to the cabin lifting reference sequence, the preset cabin lifting rule and the cabin lifting reference information of each target user.
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 example forms of implementing the claims.
While several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).

Claims (8)

1. A method of processing lift cabin data, comprising:
Under the condition that the current moment accords with a preset processing condition, acquiring cabin lifting reference information of each target user generated before the current moment, wherein the preset processing condition is that the time difference between the current moment and the target moment is not larger than a first preset value; the lift cabin reference information includes: the cabin level value, the user level value, the ticket state information, the flight state information, the target cabin level and the cabin lifting number of each purchased ticket corresponding to each target user; the generation process of the lift cabin reference information comprises the following steps: acquiring ticket purchase information of each user purchasing the ticket; acquiring preset user screening rules, screening users conforming to the user screening rules from a plurality of users according to the air ticket purchasing information of each user, and taking the users as target users; determining cabin lifting invitation information of the target user according to the ticket purchase information of the target user, and pushing the cabin lifting invitation information to a terminal of the corresponding target user; determining cabin lifting reference information of the target user based on user operation executed by the terminal of the target user after receiving the cabin lifting invitation information; the cabin lifting invitation information comprises a cabin lifting identification code;
according to the cabin lifting reference information of each target user, sequencing the cabin lifting priority of the plurality of target users to obtain a cabin lifting reference sequence of the plurality of target users;
Acquiring a preset cabin lifting rule, and executing sequential cabin lifting operation on the plurality of target users according to the cabin lifting reference sequence, the preset cabin lifting rule and the cabin lifting reference information of each target user; the preset cabin lifting rule comprises the following steps: if the ticket state information and the flight state information are valid, the stock remaining amount of the target cabin is not less than the number of the cabin lifting people, allowing the user to lift the cabin; and if at least one of the ticket state information and the flight state information is invalid, or the stock remaining amount of the target cabin is smaller than the cabin lifting number, not allowing the user to lift the cabin.
2. The processing method according to claim 1, wherein determining the cabin lifting reference information of the target user based on a user operation performed by the terminal of the target user after receiving the cabin lifting invitation information, comprises:
For each target user, judging whether the data input by the target user on a preset identification code verification interface is a cabin lifting identification code in the cabin lifting invitation information received by the terminal of the target user;
if yes, controlling the display interface of the terminal of the target user to be changed into a preset air ticket modification interface;
And if the target user performs the air ticket changing operation in the preset air ticket changing interface in a credit card preauthorization mode, determining cabin lifting reference information of the target user according to user operation information when the air ticket changing operation is executed.
3. The processing method according to claim 1, wherein the step of sorting the plurality of target users by step-up priority according to step-up reference information of each of the target users to obtain step-up reference sequences of the plurality of target users includes:
acquiring a weight value of a cabin level value of the purchased air ticket and a weight value of a user level value corresponding to each target user;
calculating to obtain a user weight value of each target user according to the cabin level value of the purchased air ticket corresponding to each target user, the weight value of the cabin level value of the purchased air ticket corresponding to each target user, the user level value corresponding to each target user and the weight value of the user level value corresponding to each target user;
and sequencing the ascending cabin priority of the target users according to the user weight value of each target user to obtain ascending cabin reference sequences of a plurality of target users.
4. A processing method according to claim 3, wherein performing sequential lifting operations on the plurality of target users in accordance with the lifting reference sequence, the preset lifting rules, and lifting reference information for each of the target users, comprises:
Determining a target user for carrying out the cabin lifting operation according to the cabin lifting reference sequence, and taking the target user as a current cabin lifting user;
judging whether the passenger ticket state information and the flight state information corresponding to the current cabin lifting user are valid or not;
If the target cabin positions are all valid, judging whether the stock remaining quantity of the target cabin positions corresponding to the current cabin lifting user is smaller than the number of cabin lifting people;
If not, executing the cabin lifting operation on the current cabin lifting user, returning to the step of determining the target user to be executed with the cabin lifting operation according to the cabin lifting reference sequence, and executing the steps sequentially until all the target users are executed with the cabin lifting operation.
5. The method of processing of claim 4, wherein performing a lift operation on the current lift user comprises:
Performing a fee deduction operation on a credit card account when the target user performs an air ticket changing operation in a credit card pre-authorization mode;
after the fee deduction operation is successfully executed, changing the cabin identification in the passenger cabin information of the current lifting cabin user into the cabin identification of the target cabin;
and sending the cabin lifting success information to the terminal of the current cabin lifting user.
6. A device for processing lift cabin data, comprising:
The system comprises a data acquisition module, a processing module and a processing module, wherein the data acquisition module is used for acquiring the cabin lifting reference information of each target user generated before the current moment when the current moment accords with a preset processing condition, and the preset processing condition is that the time difference between the current moment and the target moment is not larger than a first preset value; the lift cabin reference information includes: the cabin level value, the user level value, the ticket state information, the flight state information, the target cabin level and the cabin lifting number of each purchased ticket corresponding to each target user;
The cabin lifting sorting module is used for sorting the cabin lifting priority of the plurality of target users according to the cabin lifting reference information of each target user to obtain the cabin lifting reference sequence of the plurality of target users;
The cabin lifting executing module is used for acquiring preset cabin lifting rules and executing sequential cabin lifting operation on the plurality of target users according to the cabin lifting reference sequence, the preset cabin lifting rules and the cabin lifting reference information of each target user; the preset cabin lifting rule comprises the following steps: if the ticket state information and the flight state information are valid, the stock remaining amount of the target cabin is not less than the number of the cabin lifting people, allowing the user to lift the cabin; if at least one of the ticket state information and the flight state information is invalid, or the stock remaining amount of the target cabin is smaller than the cabin lifting number, not allowing the user to lift the cabin;
The cabin lifting information generation module is used for generating cabin lifting reference information; the lift cabin information generating module comprises: the information acquisition sub-module is used for acquiring the ticket purchase information of each user who purchases the ticket; the user screening sub-module is used for acquiring preset user screening rules, screening out users conforming to the user screening rules from a plurality of users according to the ticket purchase information of each user, and taking the users as target users; the cabin lifting invitation sub-module is used for determining cabin lifting invitation information of the target user according to ticket purchase information of the target user and pushing the cabin lifting invitation information to a terminal of the corresponding target user; the information determination submodule is used for determining cabin lifting reference information of the target user based on user operation which is executed by the terminal of the target user after receiving the cabin lifting invitation information; the elevator cabin invitation information includes an elevator cabin identification code.
7. The processing apparatus of claim 6, wherein the information determination submodule comprises:
the judging unit is used for judging whether the data input by the target user on a preset identification code verification interface is the cabin lifting identification code in the cabin lifting invitation information received by the terminal of the target user for each target user;
The interface jump unit is used for controlling the display interface of the terminal of the target user to be changed into a preset air ticket modification interface if the interface jump unit is the cabin lifting identification code in the cabin lifting invitation information received by the terminal of the target user;
the information determining unit is used for determining cabin lifting reference information of the target user according to user operation information when the air ticket changing operation is executed if the air ticket changing operation is performed by the target user in a credit card preauthorization mode on the preset air ticket changing interface.
8. An electronic device, comprising: a memory and a processor;
Wherein the memory is used for storing programs;
the processor invokes the program and is configured to:
Under the condition that the current moment accords with a preset processing condition, acquiring cabin lifting reference information of each target user generated before the current moment, wherein the preset processing condition is that the time difference between the current moment and the target moment is not larger than a first preset value; the lift cabin reference information includes: the cabin level value, the user level value, the ticket state information, the flight state information, the target cabin level and the cabin lifting number of each purchased ticket corresponding to each target user; the generation process of the lift cabin reference information comprises the following steps: acquiring ticket purchase information of each user purchasing the ticket; acquiring preset user screening rules, screening users conforming to the user screening rules from a plurality of users according to the air ticket purchasing information of each user, and taking the users as target users; determining cabin lifting invitation information of the target user according to the ticket purchase information of the target user, and pushing the cabin lifting invitation information to a terminal of the corresponding target user; determining cabin lifting reference information of the target user based on user operation executed by the terminal of the target user after receiving the cabin lifting invitation information; the cabin lifting invitation information comprises a cabin lifting identification code;
according to the cabin lifting reference information of each target user, sequencing the cabin lifting priority of the plurality of target users to obtain a cabin lifting reference sequence of the plurality of target users;
Acquiring a preset cabin lifting rule, and executing sequential cabin lifting operation on the plurality of target users according to the cabin lifting reference sequence, the preset cabin lifting rule and the cabin lifting reference information of each target user; the preset cabin lifting rule comprises the following steps: if the ticket state information and the flight state information are valid, the stock remaining amount of the target cabin is not less than the number of the cabin lifting people, allowing the user to lift the cabin; and if at least one of the ticket state information and the flight state information is invalid, or the stock remaining amount of the target cabin is smaller than the cabin lifting number, not allowing the user to lift the cabin.
CN202010618982.6A 2020-06-30 2020-06-30 Processing method and device for lifting cabin data and electronic equipment Active CN111784158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010618982.6A CN111784158B (en) 2020-06-30 2020-06-30 Processing method and device for lifting cabin data and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010618982.6A CN111784158B (en) 2020-06-30 2020-06-30 Processing method and device for lifting cabin data and electronic equipment

Publications (2)

Publication Number Publication Date
CN111784158A CN111784158A (en) 2020-10-16
CN111784158B true CN111784158B (en) 2024-05-03

Family

ID=72760944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010618982.6A Active CN111784158B (en) 2020-06-30 2020-06-30 Processing method and device for lifting cabin data and electronic equipment

Country Status (1)

Country Link
CN (1) CN111784158B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009015135A1 (en) * 2007-07-23 2009-01-29 Ncl Corporation Ltd Consumer booking engine and method
WO2013065030A1 (en) * 2011-11-04 2013-05-10 DISTEFANO, Luigi Airline tickets upgrade system
CN108009879A (en) * 2017-11-27 2018-05-08 武汉万般上品信息技术有限公司 A kind of method and system that cabin is risen based on price-bidding model
CN108416519A (en) * 2018-02-28 2018-08-17 深圳春沐源控股有限公司 A kind of guest room method for allocating tasks, server and computer readable storage medium
CN108564407A (en) * 2018-04-13 2018-09-21 中国民航信息网络股份有限公司 Recommend to rise cabin system and method in boarding gate

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10262335B2 (en) * 2014-02-21 2019-04-16 Ebay Inc. Systems and methods for real time upgrades

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009015135A1 (en) * 2007-07-23 2009-01-29 Ncl Corporation Ltd Consumer booking engine and method
WO2013065030A1 (en) * 2011-11-04 2013-05-10 DISTEFANO, Luigi Airline tickets upgrade system
CN108009879A (en) * 2017-11-27 2018-05-08 武汉万般上品信息技术有限公司 A kind of method and system that cabin is risen based on price-bidding model
CN108416519A (en) * 2018-02-28 2018-08-17 深圳春沐源控股有限公司 A kind of guest room method for allocating tasks, server and computer readable storage medium
CN108564407A (en) * 2018-04-13 2018-09-21 中国民航信息网络股份有限公司 Recommend to rise cabin system and method in boarding gate

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于会员制营销理论的新西兰航空公司的星点奖励计划研究;沈丹阳;席艳荣;;空运商务(第20期);全文 *

Also Published As

Publication number Publication date
CN111784158A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN111492386A (en) System and method for charging electric vehicle
EP3262831B1 (en) Telephone call placement
CN113627792B (en) Unmanned vehicle scheduling management method, device, equipment, storage medium and program
CN106228359A (en) The billing settlement method of driver's client, taxi take system server and related system
CN111861081A (en) Order allocation method and device, electronic equipment and storage medium
CN111784158B (en) Processing method and device for lifting cabin data and electronic equipment
CN108230218B (en) Multi-user-value machine pushing method and system, storage medium and electronic equipment
CN113498533A (en) Information processing apparatus, moving object, program, and method
CN111260840B (en) Information pushing method and device, electronic equipment and computer storage medium
CN113574579B (en) Information processing apparatus, moving body, computer-readable storage medium, and method
CN111127126A (en) Information feedback method and device and computer readable storage medium
CN113487338A (en) Ticket refunding processing method and system, electronic equipment and storage medium
CN113313392A (en) Airline ticket waiting and supplementing ticket registering method, related device and computer storage medium
CN114971121A (en) Matching method, system, equipment and storage medium based on enterprise employee vehicle utilization
CN112967028A (en) Cabin-ascending service management method and related equipment
CN113330467A (en) Method, system, and medium for controlling terminal based on state information of vehicle
CN114372070B (en) Data consistency checking method and device
US11908334B2 (en) Information processing apparatus, method, and non-transitory computer readable medium for UAV package delivery to a parking space
US20210326775A1 (en) Operation management apparatus, operation management system, operation management method, and vehicle
CN114239896B (en) Position locking method and device, electronic equipment and storage medium
CN113614806B (en) Information processing system, moving body, computer readable storage medium, and method
CN115689204A (en) Distribution method, device, medium and electronic equipment for freight flight stop positions
CN116385060A (en) Method and device for acquiring freight rate result, storage medium and electronic equipment
CN116227841A (en) Scheduling method, device and equipment of unmanned buses and storage medium
CN114462657A (en) Method, system, electronic device and storage medium for booking business travel ticket

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