CN115796903B - Air ticket processing method, device and platform based on blockchain - Google Patents

Air ticket processing method, device and platform based on blockchain Download PDF

Info

Publication number
CN115796903B
CN115796903B CN202310069771.5A CN202310069771A CN115796903B CN 115796903 B CN115796903 B CN 115796903B CN 202310069771 A CN202310069771 A CN 202310069771A CN 115796903 B CN115796903 B CN 115796903B
Authority
CN
China
Prior art keywords
ticket
user
flight
air
blockchain
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
CN202310069771.5A
Other languages
Chinese (zh)
Other versions
CN115796903A (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 CN202310069771.5A priority Critical patent/CN115796903B/en
Publication of CN115796903A publication Critical patent/CN115796903A/en
Application granted granted Critical
Publication of CN115796903B publication Critical patent/CN115796903B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a ticket processing method, device and platform based on a block chain. Applied to a blockchain processing platform, the method comprising: verifying whether the flight corresponding to the air ticket is a normal flight or not, and obtaining a verification result; when the verification result shows that the flight corresponding to the ticket is an abnormal flight, determining a target ticket meeting the ticket returning condition from the blockchain; and according to the target air ticket, interacting with a sales front end, a marketing center and a settlement center, and carrying out ticket refunding processing on the target air ticket. The scheme of the invention can improve the data circulation speed between the user and each mechanism.

Description

Air ticket processing method, device and platform based on blockchain
Technical Field
The invention relates to the technical field of computer information processing, in particular to an air ticket processing method, device and platform based on a block chain.
Background
Under some objective environments, the airline company often causes abnormal flights due to various reasons and cannot execute the flights normally;
when the passenger puts forward the demand of changing or returning, the airline company needs to deal with the change or returning for the passenger according to the actual situation of the flight, and the change or returning of the passenger due to the abnormal flight is regarded as involuntary of the passenger, and no fee is charged.
The passenger support service when the flight is abnormal has extremely important influence on the benefits and brands of airlines, and the passenger support service not only has the loss of seat space caused by passenger ticket withdrawal, but also has the loss of long-term benefits caused by the loss of loyalty of passengers caused by untimely and out-of-place service.
The current operation systems of various airlines need excessive manual operation processing, and when facing a large number of ticket refunds, change labels and line scheme preparation, the workload of the airlines call centers and ground service personnel and the service cost of payment related agents are greatly increased.
The conventional abnormal flight judgment system cannot thoroughly open data circulation among people, institutions and the like, such as civil aviation passengers, airline company call centers, airline company settlement centers and the like, cannot provide high-quality services for passengers from the system, and cannot ensure efficient circulation of information among institutions.
Disclosure of Invention
The invention aims to provide a ticket processing method, device and platform based on a block chain, which can improve the data circulation speed between a user and each mechanism.
In order to solve the technical problems, the technical scheme of the invention is as follows:
a blockchain-based ticket processing method applied to a blockchain processing platform, the method comprising:
verifying whether the flight corresponding to the air ticket is a normal flight or not, and obtaining a verification result;
when the verification result shows that the flight corresponding to the ticket is an abnormal flight, determining a target ticket meeting the ticket returning condition from the blockchain;
and according to the target air ticket, interacting with a sales front end, a marketing center and a settlement center, and carrying out ticket refunding processing on the target air ticket.
Optionally, verifying whether the flight corresponding to the air ticket is a normal flight, to obtain a verification result, including:
receiving an air ticket query request sent by a user through an application program interface;
inquiring the air ticket of the user according to the user identification carried in the air ticket inquiring request;
and verifying whether the flight of the air ticket is a normal flight according to the flight number and the flight date of the air ticket, and obtaining a verification result.
Optionally, verifying whether the flight corresponding to the air ticket is a normal flight, to obtain a verification result, including:
acquiring inquiry authorization information of a user and an identification of the user;
according to the identification of the user, checking the travel itinerary on the intelligent contract;
after the travel ticket checking, inquiring the air ticket of the user according to the identification of the user;
and verifying whether the flight of the air ticket is a normal flight according to the flight number and the flight date of the air ticket, and obtaining a verification result.
Optionally, determining the target air ticket meeting the ticket refund condition from the blockchain includes:
querying all air tickets which are not used by a user from personal assets corresponding to the user of the blockchain;
and selecting the air ticket meeting the ticket refunding condition from all the unused air tickets, and sending the air ticket to the user.
Optionally, the air ticket processing method further includes:
and receiving a ticket refund request of a user aiming at a target air ticket, signing the ticket refund request through a private key in a blockchain, and directly storing the ticket refund request into the blockchain through an intelligent contract.
Optionally, according to the target air ticket, interacting with a sales front end, a marketing center and a settlement center, and performing ticket refunding processing on the target air ticket, including:
acquiring a settlement rule of the marketing center for the target air ticket of the user according to the ticket refunding request and the target air ticket;
sending a ticket refund request to the front end of the sales of the airline company according to the settlement rule;
and receiving a message of successful ticket refund returned by the sales front end of the airline company, and sending the message of successful ticket refund to a settlement center for ticket refund settlement.
Optionally, after sending the ticket refund request to the front end of the sales of the airline company, the method further includes:
receiving a ticket refund state and ticket refund information returned by the sales front end of the airline company, wherein the ticket refund state and ticket refund information are encrypted by using a public key;
decrypting the ticket refund state and ticket refund information through a private key corresponding to the public key;
and carrying out hash verification on the ticket refund state and the ticket refund information, and if the verification is passed, writing the ticket refund state and the ticket refund information into the block chain.
The invention also provides a ticket processing device based on the block chain, which is applied to a block chain processing platform and comprises:
the verification module is used for verifying whether the flight corresponding to the air ticket is a normal flight or not, and obtaining a verification result;
the processing module is used for determining a target air ticket which meets the ticket returning condition from the blockchain when the verification result shows that the flight corresponding to the air ticket is an abnormal flight; and according to the target air ticket, interacting with a sales front end, a marketing center and a settlement center, and carrying out ticket refunding processing on the target air ticket.
The invention also provides an air ticket blockchain processing platform, which comprises: a processor, a memory storing a computer program which, when executed by the processor, performs the method as described above.
The present invention also provides a readable storage medium having stored thereon a program or instructions which when executed by a processor performs the steps of the method as described above.
The scheme of the invention at least comprises the following beneficial effects:
according to the scheme, whether the flight corresponding to the air ticket is the normal flight or not is verified, and a verification result is obtained; when the verification result shows that the flight corresponding to the ticket is an abnormal flight, determining a target ticket meeting the ticket returning condition from the blockchain; and according to the target air ticket, interacting with a sales front end, a marketing center and a settlement center, and carrying out ticket refunding processing on the target air ticket. The data circulation speed between the user and each mechanism can be improved.
Drawings
FIG. 1 is a flow chart of a blockchain-based ticket processing method provided by an embodiment of the present invention;
FIG. 2 is a block chain processing platform architecture diagram of an embodiment of the present invention;
FIG. 3 is yet another architecture diagram of a blockchain processing platform in accordance with embodiments of the present invention;
FIG. 4 is a block diagram of a block chain based ticket processing apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
As shown in fig. 1, an embodiment of the present invention provides a method for processing an air ticket based on a blockchain, which is applied to a blockchain processing platform, and the method includes:
step 11, verifying whether the flight corresponding to the air ticket is a normal flight or not, and obtaining a verification result;
step 12, when the verification result shows that the flight corresponding to the ticket is an abnormal flight, determining a target ticket meeting the ticket returning condition from the blockchain;
and 13, according to the target air ticket, interacting with the front sales end, the marketing center and the settlement center, and carrying out ticket refunding treatment on the target air ticket.
In the embodiment of the invention, when the verification result shows that the flight corresponding to the verification ticket is an abnormal flight, a target ticket meeting the ticket refunding condition is determined from the blockchain, and interaction is carried out with the front sales end, the marketing center and the settlement center according to the target ticket, so that ticket refunding processing is carried out on the target ticket. Thus, the data circulation speed between the user and each mechanism can be improved.
It should be noted that, the method of verifying the air ticket includes, but is not limited to, personal independent verification of the user, verification of other third party authorities such as an airline call center, and the like.
In an alternative embodiment of the present invention, when the method of verifying the ticket includes personal authentication of the user, step 11 may include:
step 111, receiving an air ticket query request sent by a user through an application program interface;
step 112, inquiring the air ticket of the user according to the user identification carried in the air ticket inquiring request;
and step 113, verifying whether the flight of the air ticket is a normal flight according to the flight number and the flight date of the air ticket, and obtaining a verification result.
It should be noted that the identification of the user includes, but is not limited to: personal information, flight information, ticket information, and leg information;
wherein the personal information includes, but is not limited to: user name, mobile phone number, certificate type, certificate number;
the flight information includes, but is not limited to: flight number, aircraft registration number, flight leg, planned flight date, flight status, unusual type;
the ticket information includes, but is not limited to: ticket number, user type, agent number, date of ticket, course, protocol number;
the leg information includes, but is not limited to: ticket serial number, ticket number, flight number, departure airport, arrival airport, flight date, flight time, cabin space, and freight rate foundation.
In this embodiment, a user may interact with the blockchain processing platform through an API interface at a mobile App (Application) end according to its own certificate number or ticket number, and query all ticket information of the passenger individual through sales data of a sales front-end system of an airline company according to the certificate number or other personal information in the API interface (Application Programming Interface ), and match the flight number and flight date of the ticket information with the flight information of an airport, so as to verify whether the flight corresponding to the user ticket relates to an abnormal flight, and query whether the user's ticket can handle a change or return of the ticket of the abnormal flight. This can help the user verify his own flights and ticket facts on the blockchain processing platform.
In yet another alternative embodiment of the present invention, step 11 may include, in the case of authentication by another third party authority such as an airline call center, the following steps:
step 114, obtaining the inquiry authorization information of the user and the identification of the user;
step 115, checking the travel itinerary on the intelligent contract according to the identification of the user;
step 116, after the travel ticket checking, inquiring the air ticket of the user according to the identification of the user;
step 117, according to the flight number and the flight date of the air ticket, verifying whether the flight of the air ticket is a normal flight, and obtaining a verification result.
In this embodiment, after an abnormal flight blockchain is applied for by other third party institutions such as an air company call center, according to a certificate number or other personal information provided by a user and the authorized inquiry condition of the user for personal digital assets, abnormal flight verification of the user for flights is performed, if the user grants the third party institution verification rights, the blockchain processing platform performs travel information verification on an intelligent contract, according to the certificate number or other personal information in an API interface, all the individual ticket information of the user is inquired out through sales data of a sales front end system of an air company, whether the flights of the user ticket are related to abnormal flights or not is verified by matching the flight number of the ticket information with the flight information of an airport, the verification result is returned to the third party institution, and if the user does not grant the third party institution verification rights or inquires that errors are present, the corresponding prompt is returned to the third party institution. Therefore, the actual conditions of flights and tickets of the user can be verified on the blockchain processing platform through other third party institutions such as the airline call center, and convenience and rapidness are achieved.
As shown in fig. 2, in an alternative embodiment of the present invention, the verification process for verifying whether the flight corresponding to the ticket is a normal flight may include:
the block chain processing platform receives an air ticket query request sent by a user or other third party institutions such as an airline call center;
the block chain processing platform stores information such as organic field flight information, air ticket information provided by the sales front end of an airline company, settlement rules provided by the marketing center of the airline company and the like;
when the blockchain processing platform receives an air ticket query request sent by a user, the blockchain processing platform queries the air ticket of the user according to the user identification carried in the air ticket query request; and verifying whether the flight of the air ticket is a normal flight according to the flight number of the air ticket, and pushing the obtained verification result to a user on line.
When the blockchain processing platform receives an air ticket query request sent by other third party institutions such as an airline company call center, the blockchain processing platform checks a travel ticket on an intelligent contract according to query authorization information of a user and an identifier of the user carried in the air ticket query request; after the travel ticket checking, inquiring the air ticket of the user according to the identification of the user; and verifying whether the flight of the air ticket is a normal flight according to the flight number of the air ticket, and pushing the obtained verification result to a user on line.
In yet another alternative embodiment of the present invention, step 12 may include:
step 121, inquiring all air tickets which are not used by the user from the personal assets corresponding to the user of the blockchain;
and step 122, selecting the air ticket meeting the ticket refunding condition from all the unused air tickets and sending the air ticket to the user.
In this embodiment, the user performs authorization on the blockchain processing platform to uplink the ticket data, the airline company can write the personal trip data of the user into the personal digital asset of the blockchain processing platform, and then the user can inquire all the tickets which are not used by the user from the personal asset of the blockchain processing platform under the condition that an abnormal flight occurs, and then select the tickets which meet the ticket returning condition from the tickets and send the tickets to the user. Therefore, the target air ticket meeting the ticket refunding conditions is accurately determined, and subsequent ticket refunding processing is facilitated.
In yet another optional embodiment of the present invention, the method for processing an air ticket may further include:
and 14, receiving a ticket refund request of a user aiming at a target air ticket, signing the ticket refund request through a private key in a blockchain, and directly storing the ticket refund request into the blockchain through an intelligent contract.
In this embodiment, by receiving a ticket refund request for a target ticket from a user, the ticket refund request is signed by a private key in the blockchain and directly stored in the blockchain processing platform through an intelligent contract. The private key can prove that the passengers voluntarily offer abnormal flight to return the ticket, thereby playing a role in confirming the ticket returning operation.
In yet another alternative embodiment of the present invention, step 13 may include:
step 131, according to the ticket refunding request and the target ticket, acquiring a settlement rule of the marketing center for the target ticket of the user;
step 132, sending a ticket refund request to the front end of the sales of the airline company according to the settlement rule;
and step 133, receiving a message of successful ticket refund returned by the sales front end of the airline company, and sending the message of successful ticket refund to a settlement center for ticket refund settlement.
In this embodiment, the event mechanism of the blockchain processing platform may asynchronously notify the airline clearing house of the receipt information of the user to perform the clearing process. This can break the limitations of the connection between the airport and the airline.
In yet another alternative embodiment of the present invention, as shown in fig. 3, the specific process of performing the ticket refunding process on the target ticket may include:
the method comprises the steps that a blockchain processing platform receives a ticket refunding request sent by a user, signs the ticket refunding request through a private key in a blockchain, directly stores the ticket refunding request into the blockchain through an intelligent contract, and obtains a settlement rule of a marketing center for a target ticket of the user according to the ticket refunding request and the target ticket; sending a ticket refund request to the front end of the sales of the airline company according to the settlement rule; and receiving a message of successful ticket refund returned by the sales front end of the airline company, sending the message of successful ticket refund to a settlement center for ticket refund settlement processing, and pushing the message to a user on line.
In yet another optional embodiment of the present invention, after step 131, the method may further include:
step 1311, receiving a ticket refund state and ticket refund information returned by the sales front end of the airline company, wherein the ticket refund state and ticket refund information are encrypted by using a public key;
step 1312, decrypting the ticket refund state and ticket refund information by a private key corresponding to the public key;
and 1313, performing hash verification on the ticket refund state and the ticket refund information, and if the verification is passed, writing the ticket refund state and the ticket refund information into the blockchain.
In this embodiment, the front end of the sales of the airline company continues to provide the user with the ticket refunding interaction, if the user refunds successfully, the user performs the blockchain write-back through the intelligent contract, after the ticket refunds successfully, the public key of the blockchain platform is used for encrypting the ticket refunding information and the ticket refunding state through the public key, and then the platform decrypts through the private key to ensure the data security, and meanwhile, according to the hash code in the interaction information, the verification information is not tampered, so that the written-back data is determined to be safe, reliable and traceable.
In the embodiment of the invention, a trusted platform, namely a blockchain processing platform, is built for users, airports, airlines and other third party institutions through the regional centralization air ticket processing method, all data generation, transmission and verification are carried out on the platform, all links can be traced back clearly, any data in each link cannot be tampered, the data can be endowed with value based on the basis of the true credibility of the data, the abnormal flight user service is truly oriented to the end user, the limitation of connection between the airports and the airlines is broken, and the characteristics of blockchains are utilized to enable each business department of the airlines to execute cross-system cooperation service.
As shown in fig. 4, an embodiment of the present invention further provides a ticket processing apparatus 40 based on a blockchain, which is applied to a blockchain processing platform, the apparatus 40 includes:
the verification module 41 is configured to verify whether a flight corresponding to the air ticket is a normal flight, and obtain a verification result;
a processing module 42, configured to determine a target air ticket that meets a ticket refund condition from the blockchain when the verification result indicates that the flight corresponding to the air ticket is an abnormal flight; and according to the target air ticket, interacting with a sales front end, a marketing center and a settlement center, and carrying out ticket refunding processing on the target air ticket.
Optionally, verifying whether the flight corresponding to the air ticket is a normal flight, to obtain a verification result, including:
receiving an air ticket query request sent by a user through an application program interface;
inquiring the air ticket of the user according to the user identification carried in the air ticket inquiring request;
and verifying whether the flight of the air ticket is a normal flight according to the flight number and the flight date of the air ticket, and obtaining a verification result.
Optionally, verifying whether the flight corresponding to the air ticket is a normal flight, to obtain a verification result, including:
acquiring inquiry authorization information of a user and an identification of the user;
according to the identification of the user, checking the travel itinerary on the intelligent contract;
after the travel ticket checking, inquiring the air ticket of the user according to the identification of the user;
and verifying whether the flight of the air ticket is a normal flight according to the flight number and the flight date of the air ticket, and obtaining a verification result.
Optionally, determining the target air ticket meeting the ticket refund condition from the blockchain includes:
querying all air tickets which are not used by a user from personal assets corresponding to the user of the blockchain;
and selecting the air ticket meeting the ticket refunding condition from all the unused air tickets, and sending the air ticket to the user.
Optionally, the processing module 42 is further configured to:
and receiving a ticket refund request of a user aiming at a target air ticket, signing the ticket refund request through a private key in a blockchain, and directly storing the ticket refund request into the blockchain through an intelligent contract.
Optionally, according to the target air ticket, interacting with a sales front end, a marketing center and a settlement center, and performing ticket refunding processing on the target air ticket, including:
acquiring a settlement rule of the marketing center for the target air ticket of the user according to the ticket refunding request and the target air ticket;
sending a ticket refund request to the front end of the sales of the airline company according to the settlement rule;
and receiving a message of successful ticket refund returned by the sales front end of the airline company, and sending the message of successful ticket refund to a settlement center for ticket refund settlement.
Optionally, after sending the ticket refund request to the front end of the sales front end of the airline, the processing module 42 is further configured to:
receiving a ticket refund state and ticket refund information returned by the sales front end of the airline company, wherein the ticket refund state and ticket refund information are encrypted by using a public key;
decrypting the ticket refund state and ticket refund information through a private key corresponding to the public key;
and carrying out hash verification on the ticket refund state and the ticket refund information, and if the verification is passed, writing the ticket refund state and the ticket refund information into the block chain.
It should be noted that, the device is a device corresponding to the above method, and all implementation manners in the above method embodiments are applicable to the embodiment of the device, so that the same technical effects can be achieved.
The embodiment of the invention also provides an air ticket blockchain processing platform, which comprises: a processor, a memory storing a computer program which, when executed by the processor, performs the method as described above. All the implementation manners in the method embodiment are applicable to the embodiment, and the same technical effect can be achieved.
Embodiments of the present invention also provide a computer-readable storage medium comprising instructions which, when run on a computer, cause the computer to perform a method as described above. All the implementation manners in the method embodiment are applicable to the embodiment, and the same technical effect can be achieved.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
Furthermore, it should be noted that in the apparatus and method of the present invention, it is apparent that the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent aspects of the present invention. Also, the steps of performing the series of processes described above may naturally be performed in chronological order in the order of description, but are not necessarily performed in chronological order, and some steps may be performed in parallel or independently of each other. It will be appreciated by those of ordinary skill in the art that all or any of the steps or components of the methods and apparatus of the present invention may be implemented in hardware, firmware, software, or a combination thereof in any computing device (including processors, storage media, etc.) or network of computing devices, as would be apparent to one of ordinary skill in the art after reading this description of the invention.
The object of the invention can thus also be achieved by running a program or a set of programs on any computing device. The computing device may be a well-known general purpose device. The object of the invention can thus also be achieved by merely providing a program product containing program code for implementing said method or apparatus. That is, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. It is apparent that the storage medium may be any known storage medium or any storage medium developed in the future. It should also be noted that in the apparatus and method of the present invention, it is apparent that the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent aspects of the present invention. The steps of executing the series of processes may naturally be executed in chronological order in the order described, but are not necessarily executed in chronological order. Some steps may be performed in parallel or independently of each other.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (4)

1. A blockchain-based ticket processing method, for use with a blockchain processing platform, the method comprising:
verifying whether the flight corresponding to the air ticket is a normal flight or not, and obtaining a verification result;
when the verification result shows that the flight corresponding to the ticket is an abnormal flight, determining a target ticket meeting the ticket returning condition from the blockchain;
according to the target air ticket, interacting with a sales front end, a marketing center and a settlement center, and carrying out ticket refunding treatment on the target air ticket;
according to the target air ticket, interacting with a sales front end, a marketing center and a settlement center, and carrying out ticket refunding processing on the target air ticket, wherein the method comprises the following steps:
acquiring a settlement rule of the marketing center for the target air ticket of the user according to the ticket refunding request and the target air ticket;
sending a ticket refund request to the front end of the sales of the airline company according to the settlement rule;
receiving a message of successful ticket refund returned by the sales front end of the airline company, and sending the message of successful ticket refund to a settlement center for ticket refund settlement; the specific process of carrying out the ticket refunding treatment on the target air ticket comprises the following steps:
the method comprises the steps that a blockchain processing platform receives a ticket refunding request sent by a user, signs the ticket refunding request through a private key in a blockchain, directly stores the ticket refunding request into the blockchain through an intelligent contract, and obtains a settlement rule of a marketing center for a target ticket of the user according to the ticket refunding request and the target ticket; sending a ticket refund request to the front end of the sales of the airline company according to the settlement rule; receiving a message of successful ticket refund returned by the sales front end of the airline company, sending the message of successful ticket refund to a settlement center for ticket refund settlement processing, and pushing the message to a user on line;
after sending the ticket refund request to the front end of the sales of the airline company, the method further comprises:
receiving a ticket refund state and ticket refund information returned by the sales front end of the airline company, wherein the ticket refund state and ticket refund information are encrypted by using a public key;
decrypting the ticket refund state and ticket refund information through a private key corresponding to the public key; carrying out hash verification on the ticket refund state and the ticket refund information, and if the verification is passed, writing the ticket refund state and the ticket refund information into the block chain;
the system comprises a block chain processing platform, an airline company settlement center, a user ticket return information processing platform, a ticket return information processing platform and a ticket return information processing platform, wherein the ticket return information of the user is asynchronously notified to the airline company settlement center through the event mechanism of the block chain processing platform to carry out settlement processing;
the verification process for verifying whether the flight corresponding to the air ticket is a normal flight comprises the following steps:
the block chain processing platform receives an air ticket query request sent by a user or a third party mechanism;
the block chain processing platform stores the organic field flight information, the air ticket information provided by the sales front end of the airline company and the settlement rule information provided by the marketing center of the airline company;
when the blockchain processing platform receives an air ticket query request sent by a user, the blockchain processing platform queries the air ticket of the user according to the user identification carried in the air ticket query request; according to the flight number of the air ticket, verifying whether the flight of the air ticket is a normal flight, and pushing the obtained verification result to a user on line;
when the blockchain processing platform receives an air ticket query request sent by a third party mechanism, the blockchain processing platform checks a travel ticket on an intelligent contract according to query authorization information of a user and an identifier of the user carried in the air ticket query request; after the travel ticket checking, inquiring the air ticket of the user according to the identification of the user; according to the flight number of the air ticket, verifying whether the flight of the air ticket is a normal flight, and returning the obtained verification result to a third party mechanism;
wherein determining a target ticket from the blockchain that meets the ticket refund condition comprises:
querying all air tickets which are not used by a user from personal assets corresponding to the user of the blockchain;
selecting air tickets which meet ticket refunding conditions from all unused air tickets and sending the air tickets to a user;
receiving a ticket refund request of a user aiming at a target air ticket, signing the ticket refund request through a private key in a blockchain, and directly storing the ticket refund request into the blockchain through an intelligent contract;
the private key is used for confirming ticket refunding operation;
the method for verifying the air ticket comprises the following steps: user personal independent verification and third party mechanism verification; the third party authority includes: an airline call center;
when the method for verifying the air ticket is that a user independently verifies the air ticket, verifying whether the flight corresponding to the air ticket is a normal flight or not, and obtaining a verification result comprises the following steps:
receiving an air ticket query request sent by a user through an application program interface;
inquiring the air ticket of the user according to the user identification carried in the air ticket inquiring request;
according to the flight number and the flight date of the air ticket, verifying whether the flight of the air ticket is a normal flight or not, and obtaining a verification result;
under the condition that the air ticket is verified by the airline call center, verifying whether the flight corresponding to the air ticket is a normal flight or not, and obtaining a verification result comprises the following steps:
acquiring inquiry authorization information of a user and an identification of the user;
according to the identification of the user, checking the travel itinerary on the intelligent contract;
after the travel ticket checking, inquiring the air ticket of the user according to the identification of the user;
according to the flight number and the flight date of the air ticket, verifying whether the flight of the air ticket is a normal flight or not, and obtaining a verification result;
wherein, the personal autonomous verification of the ticket by the user comprises:
the user interacts with the blockchain processing platform through an application programming interface according to the certificate number or the ticket number of the user at the client, so that the blockchain processing platform inquires all personal ticket information of the user through sales data of a sales front-end system of an airline company according to the certificate number or the ticket number in the application programming interface, and the flight number of the ticket information is matched with flight information of an airport to verify whether flights corresponding to the user tickets relate to abnormal flights or not and inquire whether the user tickets have ticket changing or ticket returning conditions for handling the abnormal flights or not;
wherein the process of the third party institution verifying the ticket comprises:
after the air company call center applies for joining an abnormal flight blockchain, according to the certificate number or the air ticket number provided by the user and the authorized inquiry condition of the user on the personal digital asset, carrying out abnormal flight verification of the user related to the flight, if the user grants the verification right to the third party institution, executing travel information check on the intelligent contract by the blockchain processing platform, inquiring all the individual air ticket information of the user according to the certificate number or the air ticket number in the application programming interface through the sales data of the sales front end system of the air company, matching the flight number and the flight information of the airport through the air ticket information so as to verify whether the flight of the user ticket relates to the abnormal flight, returning the check result to the air company call center, and if the user does not grant the verification right to the air company call center or has errors in inquiry, returning the corresponding prompt to the air company call center;
the method comprises the steps that a user performs authorization on the upper chain of ticket data on a blockchain processing platform, an airline company writes personal trip data of the user into personal digital assets of the blockchain processing platform, and under the condition that abnormal flights occur, all unused tickets of the user are inquired from the personal assets of the blockchain processing platform, and tickets which meet ticket returning conditions are selected from the unused tickets and sent to the user;
if the user returns a ticket successfully, the public key of the blockchain platform is written back through an intelligent contract, after the ticket is returned successfully, the ticket returned information and the ticket returned state are encrypted through the public key, then the blockchain platform decrypts through the private key, and meanwhile, the hash code in the interaction information is root, so that verification information is not tampered.
2. A blockchain-based ticket processing device for use with a blockchain processing platform, the device comprising:
the verification module is used for verifying whether the flight corresponding to the air ticket is a normal flight or not, and obtaining a verification result;
the processing module is used for determining a target air ticket which meets the ticket returning condition from the blockchain when the verification result shows that the flight corresponding to the air ticket is an abnormal flight; according to the target air ticket, interacting with a sales front end, a marketing center and a settlement center, and carrying out ticket refunding treatment on the target air ticket;
according to the target air ticket, interacting with a sales front end, a marketing center and a settlement center, and carrying out ticket refunding processing on the target air ticket, wherein the method comprises the following steps:
acquiring a settlement rule of the marketing center for the target air ticket of the user according to the ticket refunding request and the target air ticket;
sending a ticket refund request to the front end of the sales of the airline company according to the settlement rule;
receiving a message of successful ticket refund returned by the sales front end of the airline company, and sending the message of successful ticket refund to a settlement center for ticket refund settlement;
the specific process of carrying out the ticket refunding treatment on the target air ticket comprises the following steps:
the method comprises the steps that a blockchain processing platform receives a ticket refunding request sent by a user, signs the ticket refunding request through a private key in a blockchain, directly stores the ticket refunding request into the blockchain through an intelligent contract, and obtains a settlement rule of a marketing center for a target ticket of the user according to the ticket refunding request and the target ticket; sending a ticket refund request to the front end of the sales of the airline company according to the settlement rule; receiving a message of successful ticket refund returned by the sales front end of the airline company, sending the message of successful ticket refund to a settlement center for ticket refund settlement processing, and pushing the message to a user on line;
after sending the ticket refund request to the front end of the sales of the airline company, the method further comprises:
receiving a ticket refund state and ticket refund information returned by the sales front end of the airline company, wherein the ticket refund state and ticket refund information are encrypted by using a public key;
decrypting the ticket refund state and ticket refund information through a private key corresponding to the public key; carrying out hash verification on the ticket refund state and the ticket refund information, and if the verification is passed, writing the ticket refund state and the ticket refund information into the block chain;
the system comprises a block chain processing platform, an airline company settlement center, a user ticket return information processing platform, a ticket return information processing platform and a ticket return information processing platform, wherein the ticket return information of the user is asynchronously notified to the airline company settlement center through the event mechanism of the block chain processing platform to carry out settlement processing;
the verification process for verifying whether the flight corresponding to the air ticket is a normal flight comprises the following steps:
the block chain processing platform receives an air ticket query request sent by a user or a third party mechanism;
the block chain processing platform stores the organic field flight information, the air ticket information provided by the sales front end of the airline company and the settlement rule information provided by the marketing center of the airline company;
when the blockchain processing platform receives an air ticket query request sent by a user, the blockchain processing platform queries the air ticket of the user according to the user identification carried in the air ticket query request; according to the flight number of the air ticket, verifying whether the flight of the air ticket is a normal flight, and pushing the obtained verification result to a user on line;
when the blockchain processing platform receives an air ticket query request sent by a third party mechanism, the blockchain processing platform checks a travel ticket on an intelligent contract according to query authorization information of a user and an identifier of the user carried in the air ticket query request; after the travel ticket checking, inquiring the air ticket of the user according to the identification of the user; according to the flight number of the air ticket, verifying whether the flight of the air ticket is a normal flight, and returning the obtained verification result to a third party mechanism;
wherein determining a target ticket from the blockchain that meets the ticket refund condition comprises:
querying all air tickets which are not used by a user from personal assets corresponding to the user of the blockchain;
selecting air tickets which meet ticket refunding conditions from all unused air tickets and sending the air tickets to a user;
receiving a ticket refund request of a user aiming at a target air ticket, signing the ticket refund request through a private key in a blockchain, and directly storing the ticket refund request into the blockchain through an intelligent contract;
the private key is used for confirming ticket refunding operation;
the method for verifying the air ticket comprises the following steps: user personal independent verification and third party mechanism verification; the third party authority includes: an airline call center;
when the method for verifying the air ticket is that a user independently verifies the air ticket, verifying whether the flight corresponding to the air ticket is a normal flight or not, and obtaining a verification result comprises the following steps:
receiving an air ticket query request sent by a user through an application program interface;
inquiring the air ticket of the user according to the user identification carried in the air ticket inquiring request;
according to the flight number and the flight date of the air ticket, verifying whether the flight of the air ticket is a normal flight or not, and obtaining a verification result;
under the condition that the air ticket is verified by the airline call center, verifying whether the flight corresponding to the air ticket is a normal flight or not, and obtaining a verification result comprises the following steps:
acquiring inquiry authorization information of a user and an identification of the user;
according to the identification of the user, checking the travel itinerary on the intelligent contract;
after the travel ticket checking, inquiring the air ticket of the user according to the identification of the user;
according to the flight number and the flight date of the air ticket, verifying whether the flight of the air ticket is a normal flight or not, and obtaining a verification result;
wherein, the personal autonomous verification of the ticket by the user comprises:
the user interacts with the blockchain processing platform through an application programming interface according to the certificate number or the ticket number of the user at the client, so that the blockchain processing platform inquires all personal ticket information of the user through sales data of a sales front-end system of an airline company according to the certificate number or the ticket number in the application programming interface, and the flight number of the ticket information is matched with flight information of an airport to verify whether flights corresponding to the user tickets relate to abnormal flights or not and inquire whether the user tickets have ticket changing or ticket returning conditions for handling the abnormal flights or not;
wherein the process of the third party institution verifying the ticket comprises:
after the air company call center applies for joining an abnormal flight blockchain, according to the certificate number or the air ticket number provided by the user and the authorized inquiry condition of the user on the personal digital asset, carrying out abnormal flight verification of the user related to the flight, if the user grants the verification right to the third party institution, executing travel information check on the intelligent contract by the blockchain processing platform, inquiring all the individual air ticket information of the user according to the certificate number or the air ticket number in the application programming interface through the sales data of the sales front end system of the air company, matching the flight number and the flight information of the airport through the air ticket information so as to verify whether the flight of the user ticket relates to the abnormal flight, returning the check result to the air company call center, and if the user does not grant the verification right to the air company call center or has errors in inquiry, returning the corresponding prompt to the air company call center;
the method comprises the steps that a user performs authorization on the upper chain of ticket data on a blockchain processing platform, an airline company writes personal trip data of the user into personal digital assets of the blockchain processing platform, and under the condition that abnormal flights occur, all unused tickets of the user are inquired from the personal assets of the blockchain processing platform, and tickets which meet ticket returning conditions are selected from the unused tickets and sent to the user;
if the user returns a ticket successfully, the public key of the blockchain platform is written back through an intelligent contract, after the ticket is returned successfully, the ticket returned information and the ticket returned state are encrypted through the public key, then the blockchain platform decrypts through the private key, and meanwhile, the hash code in the interaction information is root, so that verification information is not tampered.
3. An air ticket blockchain processing platform, comprising: a processor, a memory storing a computer program which, when executed by the processor, performs the method of claim 1.
4. A readable storage medium, characterized in that it stores thereon a program or instructions, which when executed by a processor, implement the steps of the method according to claim 1.
CN202310069771.5A 2023-02-07 2023-02-07 Air ticket processing method, device and platform based on blockchain Active CN115796903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310069771.5A CN115796903B (en) 2023-02-07 2023-02-07 Air ticket processing method, device and platform based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310069771.5A CN115796903B (en) 2023-02-07 2023-02-07 Air ticket processing method, device and platform based on blockchain

Publications (2)

Publication Number Publication Date
CN115796903A CN115796903A (en) 2023-03-14
CN115796903B true CN115796903B (en) 2023-12-26

Family

ID=85430114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310069771.5A Active CN115796903B (en) 2023-02-07 2023-02-07 Air ticket processing method, device and platform based on blockchain

Country Status (1)

Country Link
CN (1) CN115796903B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077682A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Method and device for inquiring state information of electronic ticket and block link point
CN107292635A (en) * 2017-08-10 2017-10-24 中国民航信息网络股份有限公司 The returned ticket method and apparatus of electronic passenger ticket
CN109274496A (en) * 2018-08-01 2019-01-25 何世容 A kind of electronic passenger ticket storage system and electronic passenger ticket storage method based on block chain
CN110555029A (en) * 2019-09-06 2019-12-10 腾讯科技(深圳)有限公司 ticket management method and device based on block chain and storage medium
CN110866755A (en) * 2019-11-19 2020-03-06 腾讯科技(深圳)有限公司 Processing method, equipment and medium for bill data
KR20200090591A (en) * 2019-01-21 2020-07-29 한상혁 Method for product transaction based on blockchain and apparatus for performing the method
CN112163917A (en) * 2020-09-28 2021-01-01 财付通支付科技有限公司 Bill processing method, device, medium and electronic equipment based on block chain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077682A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Method and device for inquiring state information of electronic ticket and block link point
CN107292635A (en) * 2017-08-10 2017-10-24 中国民航信息网络股份有限公司 The returned ticket method and apparatus of electronic passenger ticket
CN109274496A (en) * 2018-08-01 2019-01-25 何世容 A kind of electronic passenger ticket storage system and electronic passenger ticket storage method based on block chain
KR20200090591A (en) * 2019-01-21 2020-07-29 한상혁 Method for product transaction based on blockchain and apparatus for performing the method
CN110555029A (en) * 2019-09-06 2019-12-10 腾讯科技(深圳)有限公司 ticket management method and device based on block chain and storage medium
CN110866755A (en) * 2019-11-19 2020-03-06 腾讯科技(深圳)有限公司 Processing method, equipment and medium for bill data
CN112163917A (en) * 2020-09-28 2021-01-01 财付通支付科技有限公司 Bill processing method, device, medium and electronic equipment based on block chain

Also Published As

Publication number Publication date
CN115796903A (en) 2023-03-14

Similar Documents

Publication Publication Date Title
US11488161B2 (en) Systems and methods for providing transaction provenance of off-chain transactions using distributed ledger transactions with secured representations of distributed ledger addresses of transacting parties
US11271908B2 (en) Systems and methods for hiding identity of transacting party in distributed ledger transaction by hashing distributed ledger transaction ID using secured representation of distributed ledger address of transacting party as a key
US11233641B2 (en) Systems and methods for using distributed attestation to verify claim of attestation holder
US6671813B2 (en) Secure on-line PC postage metering system
CN102422295A (en) Interaction model to migrate states and data
CN115398417A (en) Secure method and system for environmental credit scoring
US20060174104A1 (en) Consumer internet authentication device
CN104915829B (en) Exchange method and device are applied based on NFC technique
CN105612543A (en) Methods and systems for provisioning mobile devices with payment credentials
CN104106276A (en) Multi-tiered secure mobile transactions enabling platform
CN103186851A (en) Electronic payment system based on cloud data processing technology
US20100223188A1 (en) Online Payment System and Method
CN103186860A (en) Electronic payment system based on cloud data processing technology
JP5160205B2 (en) Method and system for file transfer management
US20070067633A1 (en) Method for securely managing an inventory of secure coprocessors in a distributed system
CN112492533B (en) 5G rich media message pushing method and device based on block chain technology
CN100473002C (en) Physical access control
CN114219490A (en) Transaction behavior data updating method, device, equipment and storage medium
CN113435876A (en) Payment processing method, system, device and storage medium
CN116157818A (en) Electronic wallet allowing virtual currency expiration date
US20160078575A1 (en) Software resale method, apparatus, and system
JP2007141005A (en) Electronic application system having official document acquiring function
JP2013101670A (en) System and method for providing electronic license
CN106228281A (en) Exempt to examine finance and cash methods, devices and systems
CN108921628A (en) A kind of implementation method for supporting to issue electronic invoice online

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