CN112561105A - Hotel reservation transfer transaction system and method based on block chain technology - Google Patents

Hotel reservation transfer transaction system and method based on block chain technology Download PDF

Info

Publication number
CN112561105A
CN112561105A CN202011493839.5A CN202011493839A CN112561105A CN 112561105 A CN112561105 A CN 112561105A CN 202011493839 A CN202011493839 A CN 202011493839A CN 112561105 A CN112561105 A CN 112561105A
Authority
CN
China
Prior art keywords
hotel
information
reservation
user
module
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.)
Withdrawn
Application number
CN202011493839.5A
Other languages
Chinese (zh)
Inventor
刘炜
黄国良
张翼
黄盛鼎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Great China Blockchain Technology Co ltd
Original Assignee
Shenzhen Great China Blockchain 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 Shenzhen Great China Blockchain Technology Co ltd filed Critical Shenzhen Great China Blockchain Technology Co ltd
Priority to CN202011493839.5A priority Critical patent/CN112561105A/en
Publication of CN112561105A publication Critical patent/CN112561105A/en
Withdrawn legal-status Critical Current

Links

Images

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/02Reservations, e.g. for tickets, services or events
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Abstract

The invention discloses a hotel reservation transfer transaction system based on a block chain technology, which comprises an initial module, a transfer module and a transfer module, wherein the initial module creates a key pair and a user address for a user; the identity authentication module authenticates the identity of the user and binds the user address; the method comprises the following steps that a evidence obtaining and issuing module obtains and uploads hotel information to a block chain, and non-homogeneous evidence of each hotel room is generated and issued; the platform docking module generates an API interface, and is docked with each hotel reservation platform; the hotel reservation module acquires hotel reservation information of a user and gives a user a reservation pass; the assignment uploading module acquires and sends assignment information to the block chain; and the reservation transfer module acquires the user transaction information, generates new hotel reservation information, and gives a reservation pass to a final buyer in the new wine shop reservation information to finish hotel reservation transfer. The invention also discloses a hotel reservation transfer transaction method based on the block chain technology. The invention can carry out flexible assignment on the predetermined hotel rooms and simultaneously ensure the security of assignment transaction.

Description

Hotel reservation transfer transaction system and method based on block chain technology
Technical Field
The invention relates to the technical field of block chains, in particular to a hotel reservation transfer transaction system and a hotel reservation transfer transaction method based on a block chain technology.
Background
The existing hotel reservation systems only meet the reservation function and can achieve the functions of online screening, reservation, ordering, payment and the like for customers. However, many hotel room reservations, especially when preferential room sources are available, are "never changed", and are very inflexible. If the planned change cannot be timely checked in, the client is limited by the provision, economic loss is caused, the enthusiasm of the hotel reservation for the next time is also hindered, and the hotel can reduce the corresponding cash flow. The existing hotel reservation system does not set a block for handling such situations, and is not thorough enough for the customer to consider.
On the other hand, some second-hand market trading platforms, such as leisure fish, etc., may perform low-priced transfer of reserved rooms. However, the hotel reservation system is separated, so that the authenticity of hotel and room reservation information is proved, the trust degree of the identity of an transferee is established, and the like are very difficult, and the success rate and the efficiency of transfer are greatly reduced. The second-hand market trading platform is established on the Internet technology implementation means, the uniqueness of the trading cannot be ensured due to the centralized and falsifiable technical characteristics, even if the transfer trading is successful, the transfer process and the rights and interests of new entrants cannot be reflected on the booking system of the hotel, the right of the transfer cannot be reflected, and the hidden trouble of dispute is 'multi-selling in one house'.
Disclosure of Invention
In order to overcome the above problems or at least partially solve the above problems, embodiments of the present invention provide a system and a method for hotel reservation transfer transaction based on a blockchain technology, which can flexibly transfer predetermined hotel rooms, reduce economic loss of users, and ensure security of transfer transaction.
The embodiment of the invention is realized by the following steps:
in a first aspect, an embodiment of the present invention provides a hotel reservation transfer transaction system based on a block chain technology, including an initial module, an identity verification module, a certification issuing module, a platform docking module, a hotel reservation module, a transfer uploading module, and a reservation transfer module, wherein:
the initial module is used for acquiring initial login information of a user and creating a key pair and a user address for the user;
the identity authentication module is used for acquiring user identity information, authenticating the user identity and binding a user address to the user after the authentication is successful;
the system comprises a certificate issuing module, a certificate receiving module and a certificate issuing module, wherein the certificate issuing module is used for acquiring and uploading hotel information to a block chain, and generating and issuing a non-homogeneous certificate of each hotel room according to hotel room information in the hotel information;
the platform docking module is used for generating an API (application programming interface) according to the non-homogeneous certification of each hotel room and docking with each hotel reservation platform through the API;
the hotel reservation platform is used for generating a hotel reservation number through hash calculation according to a public key in a key pair of a user in the hotel reservation information of the user, binding the hotel reservation number with a corresponding non-homogeneous permit of a hotel room, associating the hotel reservation number with the corresponding user, giving a corresponding user reservation permit and finishing the hotel reservation of the user;
the transfer uploading module is used for acquiring and transmitting transfer information of the user with the reservation permit to the block chain;
and the reservation transfer module is used for acquiring the transaction information of the user, generating new hotel reservation information, endowing the reservation permit to a final buyer in the new wine shop reservation information, and finishing hotel reservation transfer.
When each user enters the system, initial login information of the user is obtained through an initial module, then a key pair and an address are created for the user, the key pair comprises a private key and a public key, the address refers to a string of characters obtained through Hash calculation of the public key, the characters correspond to the key pair one by one and are used for representing the user, and the user can use the private key to generate a digital signature to prove that the user is the owner of the address. Before the secret key is stored, the system prompts a user to input a string of random characters (mnemonics) as a private key, the private key is encrypted by combining a symmetric encryption algorithm AES, and the encrypted private key is stored in a local browser of the user. After the key pair and the user address are created for the user, the user can use the system to perform hotel reservation transfer operation in the subsequent process, and the use safety of the user is ensured. The method comprises the steps that user identity information is obtained through an identity verification module, the user identity is verified, and user address binding is carried out on a user after verification is successful, wherein the user identity information comprises identity information of a hotel legal representative or responsible person and hotel worker information; after the identity of the legal representative or responsible person of the hotel is verified and the information of the hotel workers and workers passes, hotel information sent by the legal representative or responsible person of the hotel is acquired and uploaded to a block chain through a pass-certificate issuing module, and a non-homogeneous pass-certificate of each hotel room is generated and issued according to hotel room information in the hotel information, wherein the hotel information comprises information such as hotel name, hotel address, hotel room type and the like; then, generating an API interface according to the non-homogeneous certification of each hotel room through a platform docking module, and docking with each hotel reservation platform through the API interface; after the hotel booking platform is successfully connected with the hotel booking platform, the hotel booking information of the user is acquired through the hotel booking module, the hotel booking platform generates a hotel booking number through hash calculation according to a public key in a key pair of the user in the hotel booking information of the user, the hotel booking number is bound with the non-homogeneous permit of a corresponding hotel room and is associated with the corresponding user, the corresponding user is endowed with a booking permit, and the hotel booking of the user is completed. When transfer is carried out on a non-quit and unchangeable pre-order of the hotel after reservation is finished, transfer information of a user with a reservation pass certificate is acquired and sent to a block chain through a transfer uploading module, and a client with the reservation pass certificate uses a client to carry out pass certificate transfer; and acquiring user transaction information through the reservation transfer module, generating new hotel reservation information, and endowing the reservation permit to a final buyer in the new wine shop reservation information to complete hotel reservation transfer. The buyer who wants to buy negotiates with a client who holds the reservation evidence and carries out transaction on the chain, the buyer gives the payment of the legal currency to the transaction system in advance before the transaction, the transaction system generates the evidence consistent with the quantity of the legal currency, the transaction of the system is completed after the buyer pays the full price, and the hash value of the successful transaction is stored on the block chain through the digital signature; and additionally generating a hotel reservation voucher for storing in a buyer by the new reservation information, wherein the buyer only needs to obtain the address of the hotel before the client confirms the check-in, and digitally signing the voucher and the related check-in data to complete the system transaction and check in the hotel after the hotel checks in the check-in procedure.
The system comprises a client and a back end which is mainly a block chain system, and based on the core characteristics of centralization and non-tampering of a block chain technology, the system ensures that the user identity information chain, the hotel information chain and the reservation information chain generate certificates, and establishes trust between the user and a merchant and between the user and the user; based on block chain technology encryption and intelligent contract characteristics, ensuring the right of hotel reservation information and corresponding to the obligee; based on block chain technology encryption and intelligent contract characteristics, the unique non-homogeneous general evidence generated by hotel reservation information can be circulated and traded, so that 'no return and no change' is changed into 'returnable and changeable'; the reservation non-homogeneous certificate contains hash codes of the reservation orders, time stamps, hotel and reservation house type information and is paid, the information is comprehensive and cannot be tampered, and the transaction safety is guaranteed.
Based on the first aspect, in some embodiments of the present invention, the identity verification module includes a first verification sub-module and a second verification sub-module, where:
the first verification submodule is used for acquiring the identity information of the hotel legal representative and verifying the identity of the hotel legal representative to generate a first verification result, and binding the identity information of the hotel legal representative with the address of the hotel legal representative according to the first verification result;
and the second verification submodule is used for acquiring hotel information of the hotel legal representative, performing industrial and commercial qualification verification on the hotel, generating a second verification result, and binding the hotel information with the address of the hotel legal representative according to the second verification result.
Based on the first aspect, in some embodiments of the present invention, the aforementioned certification issuing module includes an information sub-module, a certification sub-module, and a certification adjustment sub-module, wherein:
the information submodule is used for acquiring and uploading hotel information to the block chain;
the evidence-passing sub-module is used for generating and sending non-homogeneous evidence passing of each hotel room according to the room type in the hotel information;
and the adjusting submodule is used for adjusting the non-homogeneous general evidence of each hotel room according to different time, and generating and issuing new non-homogeneous general evidence.
Based on the first aspect, in some embodiments of the present invention, the subscription assignment module includes a negotiation sub-module, a payment sub-module, a hash signature sub-module, and a general certificate assignment sub-module, where:
the negotiation sub-module is used for acquiring transaction negotiation information between a user holding the reservation voucher and a buyer;
the payment submodule is used for acquiring payment amount information of the buyer according to the transfer price in the transfer information;
the hash signature submodule is used for generating and sending transaction information according to the transaction negotiation information and the payment amount information, carrying out hash calculation on the transaction information, then carrying out digital signature on the transaction information, and storing the digital signature in a block chain;
and the voucher transfer sub-module is used for generating new hotel reservation information according to the transaction information, endowing the reservation voucher to a final buyer in the new wine shop reservation information, and finishing hotel reservation transfer.
Based on the first aspect, in some embodiments of the present invention, the hotel reservation transfer transaction system based on the blockchain technology further includes a purchase module, an information sending module, and a transfer transaction module, wherein:
the purchasing module is used for acquiring a purchasing appeal sheet of a user, inquiring hotel room information to be pre-sold according to the purchasing appeal sheet, and generating and sending an inquiry result;
the information sending module is used for acquiring and sending assignment information of the user with the reservation permit according to the query result;
and the transfer transaction module is used for acquiring the transfer transaction information of the user, performing reservation and evidence transfer and finishing hotel reservation transfer.
In a second aspect, an embodiment of the present invention provides a hotel reservation transfer transaction method based on a block chain technology, including the following steps:
acquiring initial login information of a user, and creating a key pair and a user address for the user;
acquiring user identity information, verifying the user identity, and binding a user address to the user after the user identity is successfully verified;
obtaining and uploading hotel information to a block chain, and generating and issuing non-homogeneous certificates of each hotel room according to hotel room information in the hotel information;
generating an API (application programming interface) according to the non-homogeneous certification of each hotel room, and butting with each hotel reservation platform through the API;
the hotel reservation information of the user is obtained, the hotel reservation platform generates a hotel reservation number through Hash calculation according to a public key in a key pair of the user in the hotel reservation information of the user, the hotel reservation number is bound with a non-homogeneous permit of a corresponding hotel room and is associated with the corresponding user, the corresponding user is endowed with a reservation permit, and the hotel reservation of the user is completed;
acquiring and sending transfer information of a user with a reservation certificate to a block chain;
and acquiring user transaction information, generating new hotel reservation information, and endowing a reservation permit to a final buyer in the new wine shop reservation information to complete hotel reservation transfer.
The method comprises the steps of obtaining initial login information of a user, then creating a key pair and an address for the user, wherein the key pair comprises a private key and a public key, the address refers to a string of characters obtained by carrying out hash calculation on the public key, the characters correspond to the key pair one to one and are used for representing the user, and the user can use the private key to generate a digital signature to prove that the user is the owner of the address. Before the secret key is stored, prompting a user to input a string of random characters (mnemonics) as a private key, encrypting the private key by combining a symmetric encryption algorithm AES, and storing the encrypted private key in a local browser of the user. After the key pair and the user address are created for the user, the user can perform hotel reservation transfer operation in the follow-up process, and the use safety of the user is ensured. The method comprises the steps of obtaining user identity information, verifying the user identity, and binding the user address after the user identity information is successfully verified, wherein the user identity information comprises identity information of a hotel legal representative or responsible person and hotel worker information, and the user identity verification specifically comprises identity verification of the hotel legal representative or responsible person and verification of the hotel worker information, so that the real effectiveness of the hotel legal representative or responsible person and the hotel is ensured; when the identity of the legal representative or responsible person of the hotel passes the verification and the information of the hotel workers passes the verification, hotel information sent by the legal representative or responsible person of the hotel is acquired and uploaded to a block chain, and a non-homogeneous general evidence of each hotel room is generated and issued according to the hotel room information in the hotel information, wherein the hotel information comprises information such as the name of the hotel, the address of the hotel, the type of the hotel room and the like; then, generating an API interface according to the non-homogeneous certification of each hotel room, and butting with each hotel reservation platform through the API interface; after the hotel booking platform is successfully connected with the hotel booking platform, the hotel booking information of the user is obtained, the hotel booking platform generates a hotel booking number through Hash calculation according to a public key in a key pair of the user in the hotel booking information of the user, the hotel booking number is bound with the non-homogeneous permit of the corresponding hotel room and is associated with the corresponding user, the corresponding user is endowed with the booking permit, and the hotel booking of the user is completed. When transfer is carried out on a non-quit and unchangeable pre-order of the hotel after reservation is finished, transfer information of a user with a reservation pass certificate is acquired and sent to a block chain, and the client with the reservation pass certificate uses a client side to carry out pass certificate transfer; and acquiring user transaction information, generating new hotel reservation information, and endowing a reservation permit to a final buyer in the new wine shop reservation information to complete hotel reservation transfer. The buyer who wants to buy negotiates with a client who holds the reservation evidence and carries out transaction on the chain, the buyer gives the payment of the legal currency to the transaction system in advance before the transaction, the transaction system generates the evidence consistent with the quantity of the legal currency, the transaction is completed after the buyer pays the full price, and the hash value of the successful transaction is stored on the block chain after being digitally signed; and additionally generating a hotel reservation voucher for storing in a buyer by the new reservation information, wherein the buyer only needs to obtain the address of the hotel before the client confirms the check-in, and digitally signing the voucher and the related check-in data to complete the system transaction and check in the hotel after the hotel checks in the check-in procedure.
The method is realized on the basis of a client and a back end which mainly uses a block chain system, and based on the core characteristics of centralization and non-tampering and the like of a block chain technology, the user identity information uplink, hotel information uplink and reservation information uplink are ensured to generate certificates, and the trust between the user and a merchant and the trust between the user and the user are established; based on block chain technology encryption and intelligent contract characteristics, ensuring the right of hotel reservation information and corresponding to the obligee; based on block chain technology encryption and intelligent contract characteristics, the unique non-homogeneous general evidence generated by hotel reservation information can be circulated and traded, so that 'no return and no change' is changed into 'returnable and changeable'; the reservation non-homogeneous certificate contains hash codes of the reservation orders, time stamps, hotel and reservation house type information and is paid, the information is comprehensive and cannot be tampered, and the transaction safety is guaranteed.
Based on the second aspect, in some embodiments of the present invention, the method for obtaining the user identity information, verifying the user identity, and binding the user address to the user after successful verification includes the following steps:
acquiring identity information of a hotel legal representative and performing identity authentication on the hotel legal representative to generate a first authentication result, and binding the identity information of the hotel legal representative with an address of the hotel legal representative according to the first authentication result;
obtaining hotel information of the hotel legal representative and carrying out industrial and commercial qualification verification on the hotel to generate a second verification result, and binding the hotel information with the address of the hotel legal representative according to the second verification result.
Based on the second aspect, in some embodiments of the present invention, the method for acquiring and uploading hotel information to a blockchain, and generating and issuing a non-homogeneous certificate for each hotel room according to hotel room information in the hotel information includes the following steps:
obtaining and uploading hotel information to a block chain;
generating and issuing non-homogeneous general certificates of each hotel room according to the room types in the hotel information;
and adjusting the non-homogeneous general certificates of each hotel room according to different time, and generating and issuing new non-homogeneous general certificates.
Based on the second aspect, in some embodiments of the present invention, the method for acquiring user transaction information, generating new hotel reservation information, and giving a reservation pass to a final buyer in the new wine shop reservation information includes the following steps:
acquiring transaction negotiation information between a user holding a reservation voucher and a buyer;
acquiring payment amount information of the buyer according to the transfer price in the transfer information;
generating and sending transaction information according to the transaction negotiation information and the payment amount information, carrying out hash calculation on the transaction information, then carrying out digital signature, and storing the digital signature in a block chain;
and generating new hotel reservation information according to the transaction information, and endowing the reservation pass to a final buyer in the new wine shop reservation information to complete hotel reservation transfer.
Based on the second aspect, in some embodiments of the present invention, the hotel reservation transfer transaction method based on the block chain technology further comprises the following steps:
acquiring a purchase requisition of a user, inquiring hotel room information to be pre-sold according to the purchase requisition, and generating and sending an inquiry result;
acquiring and sending assignment information of a user with a reservation certificate according to the query result;
and acquiring the user transfer transaction information, and performing reservation and evidence transfer to complete hotel reservation transfer.
The embodiment of the invention at least has the following advantages or beneficial effects:
the embodiment of the invention provides a hotel reservation and transfer transaction system based on a block chain technology, wherein when each user enters the system, initial login information of the user is obtained through an initial module, and then a key pair and an address are created for the user; after the key pair and the user address are created for the user, the user can use the system to perform hotel reservation transfer operation in the subsequent process, and the use safety of the user is ensured. The identity authentication module acquires user identity information, authenticates the user identity, and binds the user address after the authentication is successful; after the identity of the legal representative or responsible person of the hotel is verified and the information of the hotel workers and workers passes, hotel information sent by the legal representative or responsible person of the hotel is acquired and uploaded to the block chain through the evidence-passing issuing module, and non-homogeneous evidence passing of each hotel room is generated and issued according to hotel room information in the hotel information; then, generating an API interface according to the non-homogeneous certification of each hotel room through a platform docking module, and docking with each hotel reservation platform through the API interface; after the hotel booking platform is successfully connected with the hotel booking platform, the hotel booking information of the user is acquired through the hotel booking module, the hotel booking platform generates a hotel booking number through hash calculation according to a public key in a key pair of the user in the hotel booking information of the user, the hotel booking number is bound with the non-homogeneous permit of a corresponding hotel room and is associated with the corresponding user, the corresponding user is endowed with a booking permit, and the hotel booking of the user is completed. When transfer is carried out on a non-quit and unchangeable pre-order of the hotel after reservation is finished, transfer information of a user with a reservation pass certificate is acquired and sent to a block chain through a transfer uploading module, and a client with the reservation pass certificate uses a client to carry out pass certificate transfer; and acquiring user transaction information through the reservation transfer module, generating new hotel reservation information, and endowing the reservation permit to a final buyer in the new wine shop reservation information to complete hotel reservation transfer. The system comprises a client and a back end which is mainly a block chain system, and based on the core characteristics of centralization and non-tampering of a block chain technology, the system ensures that the user identity information chain, the hotel information chain and the reservation information chain generate certificates, and establishes trust between the user and a merchant and between the user and the user; based on block chain technology encryption and intelligent contract characteristics, ensuring the right of hotel reservation information and corresponding to the obligee; based on block chain technology encryption and intelligent contract characteristics, the unique non-homogeneous general evidence generated by hotel reservation information can be circulated and traded, so that 'no return and no change' is changed into 'returnable and changeable'; the reservation non-homogeneous certificate contains hash codes of the reservation orders, time stamps, hotel and reservation house type information and is paid, the information is comprehensive and cannot be tampered, and the transaction safety is guaranteed.
The embodiment of the invention also provides a hotel reservation transfer transaction method based on the block chain technology, which comprises the steps of obtaining the initial login information of a user, and then creating a key pair and an address for the user; after the key pair and the user address are created for the user, the user can perform hotel reservation transfer operation in the follow-up process, and the use safety of the user is ensured. Acquiring user identity information, verifying the user identity, and binding a user address to the user after the user identity is successfully verified; when the identity of the legal representative or the responsible person of the hotel passes the verification and the information of the hotel workers passes the verification, hotel information sent by the legal representative or the responsible person of the hotel is acquired and uploaded to a block chain, and non-homogeneous pass-certificates of each hotel room are generated and issued according to hotel room information in the hotel information; then, generating an API interface according to the non-homogeneous certification of each hotel room, and butting with each hotel reservation platform through the API interface; after the hotel booking platform is successfully connected with the hotel booking platform, the hotel booking information of the user is obtained, the hotel booking platform generates a hotel booking number through Hash calculation according to a public key in a key pair of the user in the hotel booking information of the user, the hotel booking number is bound with the non-homogeneous permit of the corresponding hotel room and is associated with the corresponding user, the corresponding user is endowed with the booking permit, and the hotel booking of the user is completed. When transfer is carried out on a non-quit and unchangeable pre-order of the hotel after reservation is finished, transfer information of a user with a reservation pass certificate is acquired and sent to a block chain, and the client with the reservation pass certificate uses a client side to carry out pass certificate transfer; and acquiring user transaction information, generating new hotel reservation information, and endowing a reservation permit to a final buyer in the new wine shop reservation information to complete hotel reservation transfer. The method is realized on the basis of a client and a back end which mainly uses a block chain system, and based on the core characteristics of centralization and non-tampering and the like of a block chain technology, the user identity information uplink, hotel information uplink and reservation information uplink are ensured to generate certificates, and the trust between the user and a merchant and the trust between the user and the user are established; based on block chain technology encryption and intelligent contract characteristics, ensuring the right of hotel reservation information and corresponding to the obligee; based on block chain technology encryption and intelligent contract characteristics, the unique non-homogeneous general evidence generated by hotel reservation information can be circulated and traded, so that 'no return and no change' is changed into 'returnable and changeable'; the reservation non-homogeneous certificate contains hash codes of the reservation orders, time stamps, hotel and reservation house type information and is paid, the information is comprehensive and cannot be tampered, and the transaction safety is guaranteed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic block diagram of a hotel reservation transfer transaction system based on a blockchain technology according to an embodiment of the invention;
fig. 2 is a flowchart of a hotel reservation transfer transaction method based on a block chain technology according to an embodiment of the present invention;
figure 3 is a schematic diagram of transfer of hotel reservation transactions in an embodiment of the present invention.
Icon: 100. an initial module; 200. an identity verification module; 210. a first verification sub-module; 220. a second verification sub-module; 300. a certificate issuing module; 310. an information submodule; 320. a certificate passing submodule; 330. a certificate passing adjustment submodule; 400. a platform docking module; 500. a hotel reservation module; 600. transferring an uploading module; 700. a reservation transfer module; 710. a negotiation sub-module; 720. a payment submodule; 730. a hash signature submodule; 740. a general certificate assignment submodule; 800. a purchasing module; 900. an information sending module; 1000. the transaction module is transferred.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the same element.
Examples
As shown in fig. 1, in a first aspect, an embodiment of the present invention provides a hotel reservation transfer transaction system based on a block chain technology, including an initial module 100, an identity verification module 200, a voucher issuance module 300, a platform docking module 400, a hotel reservation module 500, a transfer upload module 600, and a reservation transfer module 700, where:
an initial module 100, configured to obtain initial login information of a user, and create a key pair and a user address for the user;
the identity authentication module 200 is used for acquiring user identity information, authenticating the user identity, and binding a user address to the user after the authentication is successful;
the evidence obtaining and issuing module 300 is configured to obtain and upload hotel information to a block chain, and generate and issue a non-homogeneous evidence for each hotel room according to hotel room information in the hotel information;
the platform docking module 400 is configured to generate an API interface according to the non-homogeneous certification of each hotel room, and dock the API interface with each hotel booking platform;
the hotel reservation module 500 is configured to obtain hotel reservation information of a user, generate a hotel reservation number through hash calculation according to a public key in a key pair of the user in the hotel reservation information of the user by a hotel reservation platform, bind the hotel reservation number with a non-homogeneous permit of a corresponding hotel room, associate the hotel reservation number with the corresponding user, give a corresponding user reservation permit, and complete hotel reservation of the user;
the assignment uploading module 600 is configured to acquire and send assignment information of a user holding a subscription permit to a blockchain;
and the reservation transfer module 700 is configured to acquire user transaction information, generate new hotel reservation information, and give a reservation pass to a final buyer in the new wine shop reservation information to complete hotel reservation transfer.
When each user enters the system, initial login information of the user is obtained through the initial module 100, then a key pair and an address are created for the user, the key pair comprises a private key and a public key, the address refers to a string of characters obtained by carrying out hash calculation on the public key (the system adopts a RIPEMD160 algorithm to carry out encryption calculation on a file document, adopts a 160 standard and outputs a string of characters by taking 20 bytes as an output length unit), the characters correspond to the key pair one by one and are used for representing the user, and the user can generate a digital signature by using the private key to prove that the user is the owner of the address. Before the key is saved, the system prompts the user to input a string of random characters (mnemonics) as a private key, and the private key is encrypted by combining a symmetric encryption algorithm AES. The mnemonic words are automatically generated by de-duplication permutation and combination in 2048 independent English words according to a one-time random algorithm; the encrypted private key is stored in the local browser of the user. The data packet length of the AES is unified into 128 bits, the key space can adopt three different lengths of 128 bits, 192 bits and 256 bits according to requirements, and the round function of the AES is not designed by a Feistel structure unlike most block encryption algorithms, but 3 different reversible uniform transformations are used. The AES algorithm mainly comprises the following steps: key Expansion (Key Expansion), which expands a 128-bit user master Key into R round keys using a Key Expansion algorithm; an initial Round (Init Round), which is a Round key plus; repeated Rounds (Rounds), each round comprising: byte replacement (SubBytes), row Shift (Shift Rows), column Mix (Mix Columns), Round Key Add (Add Round Key) four steps; final Round (Final Round) with fewer steps of column mixing than the repeat Round. The encrypted private key is stored in the local browser of the user so that the user can log in and use the private key, and the user can log in the system by using the private key, so that the use safety is ensured.
The system binds the mobile phone number of the user with the user address through the mobile phone number and the mobile phone verification code provided by the user. After the key pair and the user address are created for the user, the user can use the system to perform hotel reservation transfer operation in the subsequent process, and the use safety of the user is ensured. The identity authentication method comprises the steps that user identity information is obtained through an identity authentication module 200, the user identity is authenticated, and user address binding is carried out on a user after authentication is successful, wherein the user identity information comprises identity information of a hotel legal representative or responsible person and hotel worker information; after the identity of the legal representative or responsible person of the hotel is verified and the information of the hotel workers and merchants passes, obtaining and uploading hotel information sent by the legal representative or responsible person of the hotel into a block chain through a permit issuing module 300, generating and issuing a non-homogeneous permit of each hotel room according to hotel room information in the hotel information, wherein the hotel information comprises information such as hotel name, hotel address and hotel room type, the non-homogeneous permit is an intelligent contract issued at the bottom layer of the chain, the intelligent contract is issued according to the hotel rooms, each permit corresponds to the corresponding room and the corresponding date, and the permit comprises corresponding data such as room type, specification, terms and the like; then, generating an API interface according to the non-homogeneous certification of each hotel room through the platform docking module 400, and docking with each hotel booking platform through the API interface; after the hotel booking platform is successfully connected with the hotel booking platform, the hotel booking information of the user is acquired through the hotel booking module 500, the hotel booking platform generates a hotel booking number through hash calculation according to a public key in a key pair of the user in the hotel booking information of the user, the hotel booking number is bound with a non-homogeneous permit of a corresponding hotel room and is associated with the corresponding user, the corresponding user booking permit is given, the hotel booking of the user is completed, and hotel booking record information is generated and recorded; the booking number is bound with the permit, and the system transaction can be carried out only by using a private key of a buyer, the hotel booking record information comprises a booking timestamp, hotel and room type information, entrance time, a bargaining price and the like, and the hotel booking record information records a chain and is recorded in a block chain; when the user carries out system transaction, the user only needs to subscribe the non-homogeneous general evidence of the corresponding room subscription after selecting the heart instrument hotel room type, determining the time and paying the subscription according to the client. When the transfer is carried out aiming at the non-changeable pre-order of the hotel after the booking is finished, the transfer uploading module 600 acquires and sends the transfer information of the user with the booking pass to the blockchain, the client with the booking pass uses the client to carry out the pass transfer, and the system uses the address of the pre-buyer to carry out the system transaction when the user buys the room in advance, so the pre-buyer can carry out the hang-up sale by using the private key of the pre-buyer at any time. And uploading the list hanging information to the block chain, and storing the list hanging information to a decentralized block chain storage server. The bill hanging information comprises a complete display of the certificate of currency, a transfer price, a transaction validity period and the like; the reservation transfer module 700 is used for acquiring user transaction information, generating new hotel reservation information, and giving a reservation pass to a final buyer in the new wine shop reservation information to complete hotel reservation transfer. The buyer who wants to buy negotiates with a client who holds a reservation certificate and carries out transaction on a chain, the buyer gives the payment of the legal currency to a transaction system in advance before the transaction, the transaction system generates the certificate which is consistent with the quantity of the legal currency, after the buyer pays a full price, the system transaction is completed, and the hash value which is successful in the transaction is stored on a block chain through a digital signature, wherein the digital signature is a result obtained by encrypting the hash value of transaction information by a private key by a user, and the message is sent by a master of the private key, and any person can verify the legality of the signature result by the public key of the user without modification. And additionally generating a hotel reservation voucher for storing in a buyer by the new reservation information, wherein the buyer only needs to obtain the address of the hotel before the client confirms the check-in, and digitally signing the voucher and the related check-in data to complete the system transaction and check in the hotel after the hotel checks in the check-in procedure.
The system comprises a client and a back end which is mainly a block chain system, and based on the core characteristics of centralization and non-tampering of a block chain technology, the system ensures that the user identity information chain, the hotel information chain and the reservation information chain generate certificates, and establishes trust between the user and a merchant and between the user and the user; based on block chain technology encryption and intelligent contract characteristics, ensuring the right of hotel reservation information and corresponding to the obligee; based on block chain technology encryption and intelligent contract characteristics, the unique non-homogeneous general evidence generated by hotel reservation information can be circulated and traded, so that 'no return and no change' is changed into 'returnable and changeable'; the reservation non-homogeneous certificate contains hash codes of the reservation order, time stamps, hotel and reservation house type information and forms a transaction price, the information is comprehensive and cannot be tampered, and the transaction safety is guaranteed; and a two-dimensional code capable of checking whether the certificate is invalid or not is attached, and if the certificate is assigned, the hotel foreground displays the word of 'the single is invalid' when scanning and checking, so that the rights and interests of the assignees are guaranteed.
Based on the first aspect, as shown in fig. 1, in some embodiments of the present invention, the identity verification module 200 includes a first verification sub-module 210 and a second verification sub-module 220, where:
the first verification sub-module 210 is configured to obtain identity information of the hotel statutory representative, perform identity verification on the hotel statutory representative, generate a first verification result, and bind the identity information of the hotel statutory representative with an address of the hotel statutory representative according to the first verification result;
and the second verification sub-module 220 is configured to obtain hotel information of the hotel statutory representative, perform industrial and commercial qualification verification on the hotel, generate a second verification result, and bind the hotel information with the address of the hotel statutory representative according to the second verification result.
In order to ensure the authenticity of the hotel, the identity information of the legal representative of the hotel and the information of the hotel workers are verified and confirmed.
The method specifically comprises the following steps: the hotel legal representative or the responsible person logs in the system, and the identity information of the hotel legal representative is obtained through the first verification sub-module 210, wherein the identity information comprises the name and the identification number of the hotel legal representative or the responsible person; then the system uses the official personal information identification API to verify the name and the identification number, if the name and the identification number are successful, the system binds the name and the identification number with the address of the legal person or the responsible person; then, hotel information such as a named hotel name, a hotel management registration number and a unified social credit code provided by the hotel legal representative is obtained through the second verification sub-module 220, the system uses a business information identification API called by official permission to obtain hotel business information corresponding to the hotel legal person, then the hotel business information is compared with company information provided by the hotel legal representative or a responsible person, and if the hotel business information is successful, the hotel business information is bound with the address of the hotel legal representative.
Based on the first aspect, as shown in fig. 1, in some embodiments of the present invention, the aforementioned certification issuing module 300 includes an information sub-module 310, a certification sub-module 320, and a certification adjustment sub-module 330, where:
the information sub-module 310 is configured to acquire and upload hotel information to a block chain;
the evidence-passing sub-module 320 is used for generating and sending non-homogeneous evidence passing of each hotel room according to the room type in the hotel information;
and the adjusting submodule is used for adjusting the non-homogeneous general evidence of each hotel room according to different time, and generating and issuing new non-homogeneous general evidence.
The hotel information and room type introduction uploaded by a legal representative or a responsible person of the hotel are acquired and uploaded to the block chain system through the information submodule 310, the evidence obtaining submodule 320 generates and issues non-homogeneous evidence of each hotel room according to the room type in the hotel information in advance through a hotel port according to the room type, each evidence takes the hotel room type as a target object, the non-homogeneous evidence of each hotel room is adjusted according to different time through the adjusting submodule, new non-homogeneous evidence is generated and issued, different evidence is generated on different dates, the system supports the issue of hotel room evidence in 365 days in the future, and the transaction can be conducted in the transaction system freely.
Based on the first aspect, as shown in fig. 1, in some embodiments of the present invention, the subscription transfer module 700 includes a negotiation sub-module 710, a payment sub-module 720, a hash signature sub-module 730, and a general certificate transfer sub-module 740, where:
a negotiation sub-module 710 for acquiring transaction negotiation information between the user holding the subscription voucher and the buyer;
the payment submodule 720 is used for acquiring payment amount information of the buyer according to the transfer price in the transfer information;
the hash signature submodule 730 is used for generating and sending transaction information according to the transaction negotiation information and the payment amount information, performing hash calculation on the transaction information, then performing digital signature on the transaction information, and storing the digital signature in a block chain;
and the voucher transfer sub-module 740 is configured to generate new hotel reservation information according to the transaction information, and assign a reservation voucher to a final buyer in the new wine shop reservation information to complete hotel reservation transfer.
The customer who holds the booking pass uses the customer end to carry out the pass assignment, because the system uses the address of the pre-buyer to carry out the system transaction when the user buys the room in advance, the pre-buyer can carry out the hang-up sale with the private key of the pre-buyer at any time. And uploading the list hanging information to the block chain, and storing the list hanging information to a decentralized block chain storage server. The hang ticket information includes: the certification is complete in display, price transfer and transaction validity period. Acquiring transaction negotiation information between a user (client A) holding a subscription voucher and a buyer through a negotiation sub-module 710, and negotiating with the client A and performing transaction negotiation on a chain by a client B who wants to purchase; then, the payment submodule 720 acquires the payment amount information of the buyer according to the transfer price in the transfer information, the buyer gives the payment of the legal currency to the transaction system in advance before the transaction, and the transaction system generates a voucher which is consistent with the quantity of the legal currency. After the purchased customer B pays the full price, the system transaction is completed; then, transaction information is generated and sent through a Hash signature sub-module 730 according to the transaction negotiation information and the payment amount information, and digital signatures are carried out on the transaction information after Hash calculation and are stored in a block chain; the new hotel reservation information is generated according to the transaction information through the voucher assignment sub-module 740, the reservation voucher is assigned to the final buyer in the new wine shop reservation information, the reservation voucher is stored in the client B, the hotel reservation assignment is completed, the client B only needs to obtain the address of the hotel before the check-in is confirmed, the voucher and the relevant check-in data are digitally signed, and the system transaction is completed and the hotel is checked in after the check-in procedure is handled.
Based on the first aspect, as shown in fig. 1, in some embodiments of the present invention, the hotel reservation transfer transaction system based on the blockchain technology further includes a purchase module 800, an information sending module 900, and a transfer transaction module 1000, wherein:
the purchasing module 800 is configured to obtain a purchasing appeal sheet of a user, query hotel room information to be pre-sold according to the purchasing appeal sheet, and generate and send a query result;
an information sending module 900, configured to obtain and send assignment information of a user holding a subscription permit according to a query result;
and the transfer transaction module 1000 is used for acquiring the user transfer transaction information, performing reservation and evidence transfer and completing hotel reservation transfer.
The hotel room source buyer can send out a shopping appeal sheet, the shopping appeal sheet of the user is obtained through the shopping module 800, hotel room information to be pre-sold is inquired according to the shopping appeal sheet, a query result is generated and sent, the client shows expected specific hotel room certificates, the certificates are non-homogeneous certificates, and the system can limit units with specific certificates to perform system transaction.
As shown in fig. 2 and fig. 3, in a second aspect, an embodiment of the present invention provides a hotel reservation transfer transaction method based on a block chain technology, including the following steps:
s1, acquiring initial login information of the user, and creating a key pair and a user address for the user;
s2, obtaining user identity information, verifying the user identity, and binding the user address after the user identity is successfully verified;
s3, obtaining and uploading hotel information to a block chain, and generating and issuing non-homogeneous certificates of each hotel room according to the hotel room information in the hotel information;
s4, generating an API interface according to the non-homogeneous certification of each hotel room, and butting with each hotel reservation platform through the API interface;
s5, obtaining hotel reservation information of a user, generating a hotel reservation number by the hotel reservation platform through hash calculation according to a public key in a key pair of the user in the hotel reservation information of the user, binding the hotel reservation number with a corresponding non-homogeneous permit of a hotel room, associating the hotel reservation number with the corresponding user, giving a corresponding user reservation permit, and finishing hotel reservation of the user;
s6, acquiring and sending the assignment information of the user with the subscription permit to the blockchain;
and S7, acquiring the user transaction information, generating new hotel reservation information, and endowing the reservation permit to a final buyer in the new wine shop reservation information to complete hotel reservation transfer.
The method comprises the steps of obtaining initial login information of a user, then creating a key pair and an address for the user, wherein the key pair comprises a private key and a public key, the address refers to a string of characters obtained by carrying out hash calculation on the public key, the characters correspond to the key pair one to one and are used for representing the user, and the user can use the private key to generate a digital signature to prove that the user is the owner of the address. Before the secret key is stored, prompting a user to input a string of random characters (mnemonics) as a private key, encrypting the private key by combining a symmetric encryption algorithm AES, and storing the encrypted private key in a local browser of the user. After the key pair and the user address are created for the user, the user can perform hotel reservation transfer operation in the follow-up process, and the use safety of the user is ensured. The method comprises the steps of obtaining user identity information, verifying the user identity, and binding the user address after the user identity information is successfully verified, wherein the user identity information comprises identity information of a hotel legal representative or responsible person and hotel worker information, and the user identity verification specifically comprises identity verification of the hotel legal representative or responsible person and verification of the hotel worker information, so that the real effectiveness of the hotel legal representative or responsible person and the hotel is ensured; when the identity of the legal representative or responsible person of the hotel passes the verification and the information of the hotel workers passes the verification, hotel information sent by the legal representative or responsible person of the hotel is acquired and uploaded to a block chain, and a non-homogeneous general evidence of each hotel room is generated and issued according to the hotel room information in the hotel information, wherein the hotel information comprises information such as the name of the hotel, the address of the hotel, the type of the hotel room and the like; then, generating an API interface according to the non-homogeneous certification of each hotel room, and butting with each hotel reservation platform through the API interface; after the hotel booking platform is successfully connected with the hotel booking platform, the hotel booking information of the user is obtained, the hotel booking platform generates a hotel booking number through Hash calculation according to a public key in a key pair of the user in the hotel booking information of the user, the hotel booking number is bound with the non-homogeneous permit of the corresponding hotel room and is associated with the corresponding user, the corresponding user is endowed with the booking permit, and the hotel booking of the user is completed. When transfer is carried out on a non-quit and unchangeable pre-order of the hotel after reservation is finished, transfer information of a user with a reservation pass certificate is acquired and sent to a block chain, and the client with the reservation pass certificate uses a client side to carry out pass certificate transfer; and acquiring user transaction information, generating new hotel reservation information, and endowing a reservation permit to a final buyer in the new wine shop reservation information to complete hotel reservation transfer. The buyer who wants to buy negotiates with a client who holds the reservation evidence and carries out transaction on the chain, the buyer gives the payment of the legal currency to the transaction system in advance before the transaction, the transaction system generates the evidence consistent with the quantity of the legal currency, the transaction is completed after the buyer pays the full price, and the hash value of the successful transaction is stored on the block chain after being digitally signed; and additionally generating a hotel reservation voucher for storing in a buyer by the new reservation information, wherein the buyer only needs to obtain the address of the hotel before the client confirms the check-in, and digitally signing the voucher and the related check-in data to complete the system transaction and check in the hotel after the hotel checks in the check-in procedure.
The method is realized on the basis of a client and a back end which mainly uses a block chain system, and based on the core characteristics of centralization and non-tampering and the like of a block chain technology, the user identity information uplink, hotel information uplink and reservation information uplink are ensured to generate certificates, and the trust between the user and a merchant and the trust between the user and the user are established; based on block chain technology encryption and intelligent contract characteristics, ensuring the right of hotel reservation information and corresponding to the obligee; based on block chain technology encryption and intelligent contract characteristics, the unique non-homogeneous general evidence generated by hotel reservation information can be circulated and traded, so that 'no return and no change' is changed into 'returnable and changeable'; the reservation non-homogeneous certificate contains hash codes of the reservation orders, time stamps, hotel and reservation house type information and is paid, the information is comprehensive and cannot be tampered, and the transaction safety is guaranteed.
Based on the second aspect, in some embodiments of the present invention, the method for obtaining the user identity information, verifying the user identity, and binding the user address to the user after successful verification includes the following steps:
acquiring identity information of a hotel legal representative and performing identity authentication on the hotel legal representative to generate a first authentication result, and binding the identity information of the hotel legal representative with an address of the hotel legal representative according to the first authentication result;
obtaining hotel information of the hotel legal representative and carrying out industrial and commercial qualification verification on the hotel to generate a second verification result, and binding the hotel information with the address of the hotel legal representative according to the second verification result.
In order to ensure the authenticity of the hotel, the identity information of the legal representative of the hotel and the information of the hotel workers are verified and confirmed.
The method specifically comprises the following steps: the hotel legal representative or the responsible person logs in the transaction system to obtain the identity information of the hotel legal representative, including the name and the identification number of the hotel legal representative or the responsible person; then, using an official personal information identification API to verify the name and the identity card number, and if the name and the identity card number are successful, binding the name and the identity card number with the address of a legal person or a responsible person; then, hotel information such as the name of the famous hotel, the hotel management registration number and the unified social credit code provided by the legal representative of the hotel is obtained, the business information identification API called by official permission is used for obtaining the hotel business information corresponding to the hotel legal person, then the hotel business information is compared with the company information provided by the legal representative of the hotel or the responsible person, and if the hotel business information is successful, the hotel business information is bound with the address of the legal representative of the hotel.
Based on the second aspect, in some embodiments of the present invention, the method for acquiring and uploading hotel information to a blockchain, and generating and issuing a non-homogeneous certificate for each hotel room according to hotel room information in the hotel information includes the following steps:
obtaining and uploading hotel information to a block chain;
generating and issuing non-homogeneous general certificates of each hotel room according to the room types in the hotel information;
and adjusting the non-homogeneous general certificates of each hotel room according to different time, and generating and issuing new non-homogeneous general certificates.
The method comprises the steps of obtaining and uploading hotel information and room type introduction uploaded by legal representatives or responsible persons of the hotel to a block chain system, generating and issuing non-homogeneous certificates of each hotel room in parallel by a hotel port according to the room type in the hotel information in advance according to the room type, adjusting the non-homogeneous certificates of each hotel room according to different time by using the hotel room type as a target object by each certificate, generating and issuing new non-homogeneous certificates, generating different certificates on different dates, issuing the certificates of the hotel rooms in 365 days in the future, and freely carrying out transaction in the transaction system.
Based on the second aspect, in some embodiments of the present invention, the method for acquiring user transaction information, generating new hotel reservation information, and giving a reservation pass to a final buyer in the new wine shop reservation information includes the following steps:
acquiring transaction negotiation information between a user holding a reservation voucher and a buyer;
acquiring payment amount information of the buyer according to the transfer price in the transfer information;
generating and sending transaction information according to the transaction negotiation information and the payment amount information, carrying out hash calculation on the transaction information, then carrying out digital signature, and storing the digital signature in a block chain;
and generating new hotel reservation information according to the transaction information, and endowing the reservation pass to a final buyer in the new wine shop reservation information to complete hotel reservation transfer.
The customer (customer A) with the booking pass uses the client to carry out the pass assignment, and the system uses the address of the pre-buyer to carry out the system transaction when the user buys the room in advance, so the pre-buyer can carry out the hang-up sale with the private key of the pre-buyer at any time. And uploading the list hanging information to the block chain, and storing the list hanging information to a decentralized block chain storage server. The hang ticket information includes: the certification is complete in display, price transfer and transaction validity period. The client B who wants to buy negotiates with the client A and conducts transaction on the chain, the buyer gives the payment of the legal currency to the transaction system in advance before the transaction, and the transaction system generates a general evidence which is consistent with the quantity of the legal currency. And after the purchased customer B pays the full price, the system transaction is completed, and the hash value of the successful transaction is stored on the blockchain after being digitally signed. And additionally generating a hotel reservation pass certificate by the new reservation information, storing the new reservation information in a client B, and only needing to obtain the address of the hotel before confirming the check-in, digitally signing the pass certificate and the related check-in data to complete the system transaction and check in the hotel after the hotel checks in the check-in procedure.
Based on the second aspect, in some embodiments of the present invention, the hotel reservation transfer transaction method based on the block chain technology further comprises the following steps:
acquiring a purchase requisition of a user, inquiring hotel room information to be pre-sold according to the purchase requisition, and generating and sending an inquiry result;
acquiring and sending assignment information of a user with a reservation certificate according to the query result;
and acquiring the user transfer transaction information, and performing reservation and evidence transfer to complete hotel reservation transfer.
As shown in fig. 3, the hotel room source buyer can send out a shopping appeal sheet, obtain the shopping appeal sheet of the user through the shopping module 800, query hotel room information to be pre-sold according to the shopping appeal sheet, generate and send a query result, the client shows an expected specific hotel room pass certificate, the pass certificates are non-homogeneous pass certificates, and the system restricts a unit with the specific pass certificate to perform system transaction.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (10)

1. The hotel reservation transfer transaction system based on the block chain technology is characterized by comprising an initial module, an identity verification module, a certificate issuing module, a platform docking module, a hotel reservation module, a transfer uploading module and a reservation transfer module, wherein:
the initial module is used for acquiring initial login information of a user and creating a key pair and a user address for the user;
the identity authentication module is used for acquiring user identity information, authenticating the user identity and binding a user address to the user after the authentication is successful;
the system comprises a certificate issuing module, a certificate receiving module and a certificate issuing module, wherein the certificate issuing module is used for acquiring and uploading hotel information to a block chain, and generating and issuing a non-homogeneous certificate of each hotel room according to hotel room information in the hotel information;
the platform docking module is used for generating an API (application programming interface) according to the non-homogeneous certification of each hotel room and docking with each hotel reservation platform through the API;
the hotel reservation platform is used for generating a hotel reservation number through hash calculation according to a public key in a key pair of a user in the hotel reservation information of the user, binding the hotel reservation number with a corresponding non-homogeneous permit of a hotel room, associating the hotel reservation number with the corresponding user, giving a corresponding user reservation permit and finishing the hotel reservation of the user;
the transfer uploading module is used for acquiring and transmitting transfer information of the user with the reservation permit to the block chain;
and the reservation transfer module is used for acquiring the transaction information of the user, generating new hotel reservation information, endowing the reservation permit to a final buyer in the new wine shop reservation information, and finishing hotel reservation transfer.
2. The hotel reservation transfer transaction system based on blockchain technology as claimed in claim 1, wherein the identity verification module comprises a first verification sub-module and a second verification sub-module, wherein:
the first verification submodule is used for acquiring the identity information of the hotel legal representative and verifying the identity of the hotel legal representative to generate a first verification result, and binding the identity information of the hotel legal representative with the address of the hotel legal representative according to the first verification result;
and the second verification submodule is used for acquiring hotel information of the hotel legal representative, performing industrial and commercial qualification verification on the hotel, generating a second verification result, and binding the hotel information with the address of the hotel legal representative according to the second verification result.
3. The system of claim 1, wherein the certification issuing module comprises an information sub-module, a certification sub-module and a certification adjustment sub-module, wherein:
the information submodule is used for acquiring and uploading hotel information to the block chain;
the evidence-passing sub-module is used for generating and sending non-homogeneous evidence passing of each hotel room according to the room type in the hotel information;
and the adjusting submodule is used for adjusting the non-homogeneous general evidence of each hotel room according to different time, and generating and issuing new non-homogeneous general evidence.
4. The hotel reservation transfer transaction system based on blockchain technology of claim 1, wherein the reservation transfer module comprises a negotiation sub-module, a payment sub-module, a hash signature sub-module and a general certificate transfer sub-module, wherein:
the negotiation sub-module is used for acquiring transaction negotiation information between a user holding the reservation voucher and a buyer;
the payment submodule is used for acquiring payment amount information of the buyer according to the transfer price in the transfer information;
the hash signature submodule is used for generating and sending transaction information according to the transaction negotiation information and the payment amount information, carrying out hash calculation on the transaction information, then carrying out digital signature on the transaction information, and storing the digital signature in a block chain;
and the voucher transfer sub-module is used for generating new hotel reservation information according to the transaction information, endowing the reservation voucher to a final buyer in the new wine shop reservation information, and finishing hotel reservation transfer.
5. The hotel reservation transfer transaction system based on blockchain technology as claimed in claim 1, further comprising a purchase module, an information transmission module and a transfer transaction module, wherein:
the purchasing module is used for acquiring a purchasing appeal sheet of a user, inquiring hotel room information to be pre-sold according to the purchasing appeal sheet, and generating and sending an inquiry result;
the information sending module is used for acquiring and sending assignment information of the user with the reservation permit according to the query result;
and the transfer transaction module is used for acquiring the transfer transaction information of the user, performing reservation and evidence transfer and finishing hotel reservation transfer.
6. A hotel reservation transfer transaction method based on a block chain technology is characterized by comprising the following steps:
acquiring initial login information of a user, and creating a key pair and a user address for the user;
acquiring user identity information, verifying the user identity, and binding a user address to the user after the user identity is successfully verified;
obtaining and uploading hotel information to a block chain, and generating and issuing non-homogeneous certificates of each hotel room according to hotel room information in the hotel information;
generating an API (application programming interface) according to the non-homogeneous certification of each hotel room, and butting with each hotel reservation platform through the API;
the hotel reservation information of the user is obtained, the hotel reservation platform generates a hotel reservation number through Hash calculation according to a public key in a key pair of the user in the hotel reservation information of the user, the hotel reservation number is bound with a non-homogeneous permit of a corresponding hotel room and is associated with the corresponding user, the corresponding user is endowed with a reservation permit, and the hotel reservation of the user is completed;
acquiring and sending transfer information of a user with a reservation certificate to a block chain;
and acquiring user transaction information, generating new hotel reservation information, and endowing a reservation permit to a final buyer in the new wine shop reservation information to complete hotel reservation transfer.
7. The hotel reservation transfer transaction method based on the blockchain technology as claimed in claim 6, wherein the method for obtaining the user identity information, verifying the user identity and binding the user address to the user after the user identity information is successfully verified comprises the following steps:
acquiring identity information of a hotel legal representative and performing identity authentication on the hotel legal representative to generate a first authentication result, and binding the identity information of the hotel legal representative with an address of the hotel legal representative according to the first authentication result;
obtaining hotel information of the hotel legal representative and carrying out industrial and commercial qualification verification on the hotel to generate a second verification result, and binding the hotel information with the address of the hotel legal representative according to the second verification result.
8. The hotel reservation transfer transaction method based on the blockchain technology as claimed in claim 6, wherein the method for acquiring and uploading hotel information to the blockchain and generating and issuing non-homogeneous evidence of each hotel room according to the hotel room information in the hotel information comprises the following steps:
obtaining and uploading hotel information to a block chain;
generating and issuing non-homogeneous general certificates of each hotel room according to the room types in the hotel information;
and adjusting the non-homogeneous general certificates of each hotel room according to different time, and generating and issuing new non-homogeneous general certificates.
9. The method for hotel reservation transfer transaction based on blockchain technology as claimed in claim 6, wherein the method for acquiring user transaction information, generating new hotel reservation information and giving a reservation pass to a final buyer in the new hotel reservation information comprises the following steps:
acquiring transaction negotiation information between a user holding a reservation voucher and a buyer;
acquiring payment amount information of the buyer according to the transfer price in the transfer information;
generating and sending transaction information according to the transaction negotiation information and the payment amount information, carrying out hash calculation on the transaction information, then carrying out digital signature, and storing the digital signature in a block chain;
and generating new hotel reservation information according to the transaction information, and endowing the reservation pass to a final buyer in the new wine shop reservation information to complete hotel reservation transfer.
10. The hotel reservation transfer transaction method based on blockchain technology as claimed in claim 6, further comprising the steps of:
acquiring a purchase requisition of a user, inquiring hotel room information to be pre-sold according to the purchase requisition, and generating and sending an inquiry result;
acquiring and sending assignment information of a user with a reservation certificate according to the query result;
and acquiring the user transfer transaction information, and performing reservation and evidence transfer to complete hotel reservation transfer.
CN202011493839.5A 2020-12-16 2020-12-16 Hotel reservation transfer transaction system and method based on block chain technology Withdrawn CN112561105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011493839.5A CN112561105A (en) 2020-12-16 2020-12-16 Hotel reservation transfer transaction system and method based on block chain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011493839.5A CN112561105A (en) 2020-12-16 2020-12-16 Hotel reservation transfer transaction system and method based on block chain technology

Publications (1)

Publication Number Publication Date
CN112561105A true CN112561105A (en) 2021-03-26

Family

ID=75064359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011493839.5A Withdrawn CN112561105A (en) 2020-12-16 2020-12-16 Hotel reservation transfer transaction system and method based on block chain technology

Country Status (1)

Country Link
CN (1) CN112561105A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113706175A (en) * 2021-08-31 2021-11-26 江超 Commodity traceability anti-counterfeiting method based on block chain and related equipment
CN117474135A (en) * 2023-12-25 2024-01-30 快住智能科技(苏州)有限公司 Hotel management method and system based on blockchain

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113706175A (en) * 2021-08-31 2021-11-26 江超 Commodity traceability anti-counterfeiting method based on block chain and related equipment
CN117474135A (en) * 2023-12-25 2024-01-30 快住智能科技(苏州)有限公司 Hotel management method and system based on blockchain
CN117474135B (en) * 2023-12-25 2024-05-03 快住智能科技(苏州)有限公司 Hotel management method and system based on blockchain

Similar Documents

Publication Publication Date Title
CN108885745B (en) Blockchain-based exchange with tokenization
CN109074580B (en) Method and system for secure transfer of entities over a blockchain
US9818109B2 (en) User generated autonomous digital token system
US20160125403A1 (en) Offline virtual currency transaction
US20210390549A1 (en) Systems and methods for building blockchains for verifying assets for smart contracts
TWI654574B (en) Block block electronic ticket trading system and electronic ticket trading method thereof
US20130339188A1 (en) Gift token
CN101641707A (en) Authentication system, server used in authentication system, mobile communication terminal, and program
CN117611331A (en) Method and system for efficiently transferring entities on a point-to-point distributed book using blockchains
JP2002109409A (en) Method of electronic commerce in electronic commerce system
HUE029807T2 (en) Systems and methods for conducting secure payment transactions using a formatted data structure
JP2008257721A (en) Token usable in value-based transaction
JPH10149394A (en) Electronic transaction method
KR20200046260A (en) Method and apparatus for managing digital collectable card based block-chain
CN112561105A (en) Hotel reservation transfer transaction system and method based on block chain technology
KR20100034314A (en) Method of issuing and using mobile card
JP2006048390A (en) Method and system for authenticating two-dimensional code user
KR20010051457A (en) A system for certification electronic file for electronic commercial market using card number and a method of the same
US20180285863A1 (en) User generated autonomous digital token system
CN113723951A (en) Rights and interests transfer system based on block chain
YuanJiang et al. Ticketing system based on NFT
CA3154449C (en) A digital, personal and secure electronic access permission
JP2010102726A (en) Two-dimensional code user authentication method and two-dimensional code distribution server
KR20060028070A (en) The circulation method of gift certificate using sms and gift certificate number
KR20080079714A (en) A system and method of certifying cardholder using mobile phone

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210326

WW01 Invention patent application withdrawn after publication