CN109800897A - Hotel occupancy processing method, device, system and calculating equipment based on block chain - Google Patents

Hotel occupancy processing method, device, system and calculating equipment based on block chain Download PDF

Info

Publication number
CN109800897A
CN109800897A CN201811599074.6A CN201811599074A CN109800897A CN 109800897 A CN109800897 A CN 109800897A CN 201811599074 A CN201811599074 A CN 201811599074A CN 109800897 A CN109800897 A CN 109800897A
Authority
CN
China
Prior art keywords
user
information
room
block chain
hotel
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
CN201811599074.6A
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.)
Suzhou Lang run innovation intellectual property operation Co.,Ltd.
Original Assignee
Chain 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 Chain Technology Co Ltd filed Critical Chain Technology Co Ltd
Priority to CN201811599074.6A priority Critical patent/CN109800897A/en
Publication of CN109800897A publication Critical patent/CN109800897A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

The present invention relates to block chain technical field, in particular discloses a kind of hotel occupancy processing method based on block chain, device, system and to calculate device, method include: the identity information for receiving the user that user node is sent;The identity information is distributed to the block chain;The room predetermined request that the user node is sent is received, the room predetermined request carries the room requirement of user;When determining the room for existing and meeting room requirement, Xiang Suoshu user node returns to predetermined successful information;When determination moves in the room to the user, the identity information of the user is extracted from the block chain;According to the identity information of the room information in the room and the user extracted, the information of checking in of the user is generated, and the information of checking in of the user is distributed to the block chain.By the above-mentioned means, the present invention can be realized user in hotel occupancy, without the identity information in hotel's registration user, may be implemented conveniently to move in.

Description

Hotel occupancy processing method, device, system and calculating equipment based on block chain
Technical field
The present invention relates to block chain technical fields, and in particular to a kind of hotel occupancy processing method based on block chain, dress Set, system and calculate equipment.
Background technique
Traditional hotel reservation mode is on-line checking hotel information, and subscribes a certain hotel on line, after the completion of reservation, Rent can be paid using on line or under line, after user reaches subscribed hotel, the scheduled reception counter of hotel of institute be needed to do Reason moves in formality.
The present inventor in the implementation of the present invention, discovery: under traditional hotel reservation mode, arrives every time New hotel, which handles to move in, will re-register personal information, pay cash pledge, for personal outgoing and hotel accommodations bring it is many not Just.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State a kind of hotel occupancy method, apparatus based on block chain, system and calculating equipment of problem.
In order to solve the above technical problems, a technical solution used in the embodiment of the present invention is: providing a kind of based on block The hotel occupancy method of chain, comprising: receive the identity information for the user that user node is sent;The identity information is distributed to institute State block chain;The room predetermined request that the user node is sent is received, the room that the room predetermined request carries user is wanted It asks;When determining the room for existing and meeting the room requirement, Xiang Suoshu user node returns to predetermined successful information;It is arrived in determination When the user moves in the room, the identity information of the user is extracted from the block chain;According to the room in the room The identity information of information and the user extracted generates the information of checking in of the user, and by the user's Information of checking in is distributed to the block chain.
Optionally, when determining the room for existing and meeting the room requirement, the method also includes: it generates pairing and uses Public key and private key;
The private key is pushed to the corresponding smart lock in the room, and pushes the public key to the user node;Institute Stating and determining that the user moves in the room includes: the successful unlocking information for receiving the smart lock and sending, wherein the success Unlocking information is the smart lock after receiving unlocking message, by sending out when unlocking message described in the private key good authentication The information sent, the unlocking message are by the public key encryption.
Optionally, the identity information includes ID card information and physiologic information;The successfully unlocking information is specifically institute Smart lock is stated after receiving unlocking message, by message of unlocking described in the private key good authentication, and, good authentication exists The information sent when the physiologic information of user when unlocking in front of the room, the unlocking message are by the public key Encryption.
Optionally, the physiologic information includes face information, finger print information or pupil information.
Optionally, the method also includes: receive the request of checking out that the user node sends;According to checking out request, Determine meet check out condition when, according to the identity information of the room information in the room and the user, generate the user's It checks out information, and the information of checking out is distributed to the block chain.
Optionally, the method also includes: calculate the user use room expense;From the corresponding user of the user The expense is deducted in account, and the expense deducted is transferred in hotel's account of hotel's node belonging to the room.
In order to solve the above technical problems, another technical solution used in the embodiment of the present invention is: providing a kind of based on area The hotel occupancy device of block chain is applied to block chain, comprising:
First receiving module: for receiving the identity information of the user of user node transmission;Release module: being used for will be described Identity information is distributed to the block chain;Second receiving module: the booking request sent for receiving the user node, The booking request carries the room requirement of user;Return module: meet the room requirement for existing in determination When room, Xiang Suoshu user node returns to predetermined successful information;Extraction module: for moving in the room to the user determining Between when, the identity information of the user is extracted from the block chain;First generation module: for being believed according to the room in the room The identity information of the user for ceasing and extracting, generates the information of checking in of the user, and entering the user Firmly register information is distributed to the block chain.
In order to solve the above technical problems, another technical solution used in the embodiment of the present invention is: providing a kind of calculate and set It is standby, comprising: processor, memory, communication interface and communication bus, the processor, the memory and the communication interface Mutual communication is completed by the communication bus;
The memory makes described in the processor execution for storing an at least executable instruction, the executable instruction A kind of hotel occupancy method based on block chain operation.
In order to solve the above technical problems, another technical solution used in the embodiment of the present invention is: providing a kind of computer Storage medium, is stored with an at least executable instruction in the storage medium, and the executable instruction makes described in processor executes The hotel occupancy method based on block chain.
In order to solve the above technical problems, another technical solution used in the embodiment of the present invention is: providing a kind of based on area The hotel check-in system of block chain, including user node, hotel's node, smart lock and platform management node;The platform management section Point includes processor, memory, communication interface and communication bus, and the processor, the memory and the communication interface are logical It crosses the communication bus and completes mutual communication;The memory is described executable for storing an at least executable instruction Instruction makes the processor execute the operation such as a kind of above-mentioned hotel occupancy method based on block chain.
The beneficial effect of the embodiment of the present invention is: being in contrast to the prior art, the embodiment of the present invention can be realized use Family, without the identity information in hotel's registration user, may be implemented conveniently to move in hotel occupancy;In addition, user It can be deducted from user account automatically using the expense in room, reduce complicated payment procedure.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, it is special below to lift specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the hotel occupancy embodiment of the method based on block chain of the present invention;
Fig. 2 is a kind of flow chart of another embodiment of hotel occupancy method based on block chain of the present invention;
Fig. 3 is a kind of functional block diagram of the hotel occupancy device based on block chain of the present invention;
Fig. 4 is a kind of structural schematic diagram for calculating equipment of the present invention;
Fig. 5 is a kind of schematic diagram of the hotel check-in system based on block chain of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Fig. 1 shows a kind of flow chart of hotel occupancy method based on block chain according to an embodiment of the invention. As shown in Figure 1, method includes the following steps:
Step S101: the identity information for the user that user node is sent is received.
Identity information refers to the information that can confirm the identity of user, such as: ID card information, passport information etc..With Family node and user, which match, to be used, and has corresponding relationship between the rwo.
Step S102: the identity information is distributed to the block chain.
In some embodiments, platform management node, can also be to described when receiving the identity information of the user The identity information of user is verified, and after being only proved to be successful, the identity information is just distributed to the block chain.In user Identity information is distributed to after block chain, and all nodes can share the identity information of the user on block chain.Certainly, in order to The risk for avoiding the identity information of user from occurring leaking, after the identity information of user can encrypt among redistribution block chain, When other nodes are wanted to check the identity information of user, needs the audit by user node and decrypt.
Step S103: receiving the room predetermined request that the user node is sent, and the room predetermined request carries user Room requirement.
The hotel of all access block chains of platform management node administration.Room predetermined request is for the user described flat The corresponding room type in hotel and hotel is selected in platform management node, after completing selection, the request that automatically generates.
Step S104: when determining the room for existing and meeting the room requirement, the return of Xiang Suoshu user node makes a reservation for into Function information.
Platform management node carries out true after receiving the booking request of user node transmission with hotel's node Recognize the room with the presence or absence of the requirement, subscribes successful information if it is present returning to the user node, and change wine The room quantity of the remaining requirement of shop node.Such as: user has selected the 603 of the hotel A to mark on the platform management node Between standard, moving in the date is on December 5,2 days to 2017 December in 2017, and platform management node is interacted with the hotel A node, Determine that the hotel A whether there is the room met the requirements, and if it exists, then return to predetermined successful information to user node;Certainly, A wine Shop node also can 603 standard rooms on December 5th, 2 days 1 December in 2017 the right to use be user lock, avoid weight Multiple room is subscribed to repetition.
Step S105: when determination moves in the room to the user, the body of the user is extracted from the block chain Part information.
Step S106: according to the room information in the room and the identity information of the user extracted, described in generation The information of checking in of user, and the information of checking in of the user is distributed to the block chain.
In this step, hotel that the identity information of the user and the user subscribe and room type are matched, it is raw At the information of checking in of the user, and the information of checking in of the user is distributed to the block chain and deposits card.
The embodiment of the present invention is by by the identity information of user and hotel reservation synchronizing information to block chain, so that user Identity information and hotel reservation information are deposited card in entire block chain and are shared, when user reaches hotel occupancy, without registration again People's information, to simplify the cumbersome formality moved in.
Fig. 2 shows a kind of processes of the hotel occupancy method based on block chain in accordance with another embodiment of the present invention Figure.This method:
Step S201: the identity information for the user that user node is sent is received.
Step S202: the identity information is distributed to the block chain.
Step S203: receiving the room predetermined request that the user node is sent, and the room predetermined request carries user Room requirement.
Step S204: when determining the room for existing and meeting the room requirement, the return of Xiang Suoshu user node makes a reservation for into Function information.
Step S205: public key and private key that pairing uses are generated.
It matches the public key used and private key refers to that a pair of of pairing uses password, can only be used using the ciphertext of public key encryption should Private key is decrypted, and the public key can only be used to be decrypted using the ciphertext of private key encryption.
The corresponding smart lock in the step room S206: Xiang Suoshu pushes the private key, and pushes institute to the user node State public key.
It is pushed to user node in public key, private key is pushed to after smart lock, since the public key and private key are the close of pairing Code, therefore, smart lock can be verified by private key dual lock message, verified in the unlocking message for receiving encryption By when, then can be confirmed that the unlocking message comes from the user node, be legal protection message, execute unlocking.Instead For it, because only that the user node possess with the public key of smart lock pairing private key, so also only have the user node can To unlock.Also just because of using this private key and private key, with by the way of dual lock, user can be a variety of by voice, sliding etc. Mode is unlocked, such as: user to user node says " unlocking " voice, then user node passes through according to " unlocking " voice, generation The unlocking message of the private key encryption, or, when triggering slide on the user node, generation is added user by the private key Close unlocking message.
It should be understood that due to user's reservation be usually with the time limit, platform management node is to user Node pushes public key, when pushing private key to the smart lock in room, can be attached to the upper corresponding time limit, user node is unlocked in generation It is to be encrypted according to the time limit selection public key being presently in, and smart lock is when receiving unlocking message when message, according to working as Preceding locating time limit selection private key is verified.
In some embodiments, the public key can be and send in a specified pattern when being pushed to the user node To user node, such as: two dimensional code, bar code etc..
Step S207: receiving the successful unlocking information that the smart lock is sent, determine that the user moves in the room, and And the identity information of the user is extracted from the block chain.
Success unlocking information is the smart lock after receiving unlocking message, by described in the private key good authentication The information sent when unlocking message.When verifying by the unlocking message by the private key, then illustrate that the unlocking message is to pass through The public key encryption of pairing, it is from the user node, is legal node.
In some embodiments, hotel is moved in order to avoid other users hold the corresponding user node replacement of the user When, on block chain after the identity information of registration user, the physiologic information of user can be registered, in user to the intelligence in room When lock is unlocked, the physiologic information of the user when unlocking in front of the room can be also acquired, smart lock is receiving To after unlocking message, by message of unlocking described in the private key good authentication, and, when good authentication physiologic information ability, is sent out Give the information of successfully unlocking.Certainly, do not pass through in physiologic information verifying, registration can also be sent to user and reminded, to arrive hotel Foreground carries out information registration.And physiologic information includes face information, finger print information or pupil information etc..
Step S208: according to the room information in the room and the identity information of the user extracted, described in generation The information of checking in of user, and the information of checking in of the user is distributed to the block chain.
Further, method further include:
Step 209: receiving the request of checking out that the user node is sent;
Request of checking out is that user operates generation directly on user node, is arranged woth no need to user to reception counter of hotel Team, request are checked out, very convenient.
Step S300: according to checking out request, determine satisfaction check out condition when, according to the room information in the room and institute The identity information for stating user generates the information of checking out of the user, and the information of checking out is distributed to the block chain.
After the condition of checking out refers to that hotel staff verifies hotel room, room facilities are not damaged, it is determined that satisfaction is moved back Room condition.Certainly, when being unsatisfactory for checking out condition, such as: damage room facilities can notify user to return room confirmation, in user After confirmation, corresponding expense directly is deducted from the user account of user.
Certainly, after information is checked out in publication, the expense that the user uses room can also be calculated, and by the user couple The expense is deducted in the user account answered, and the expense deducted is transferred to the hotel of hotel's node belonging to the room In account.
By way of directly from the user account of user to hotel's account appropriation, realize that rent deducts, woth no need to user It is manually settled accounts to foreground, facilitates user.Certainly, in further embodiments, the deduction of the rent can also be described User receives and directly deducts when reserving a room successfully.
It is operated it is to be understood that being deducted for rent, block chain can also be written by way of intelligent contract, by intelligence It can the automatic execution of contract triggering.
In some embodiments, it after user checks out, can mutually be evaluated between user and hotel, the evaluation etc. of user The hotel Ji Shiyou generates the evaluation of user, and the opinion rating in hotel is to be generated by user to the evaluation in hotel.Certainly, The third-party supervisory node of conduct that the consumers' association can also be accessed on block chain, when there are frauds in hotel, and When user can upload fraud evidence, supervisory node starting investigation, and after investigation when confirmation fraud, it can be by the wine Shop section pulls in blacklist or shields hotel's node in the hotel.
In some embodiments, a kind of digital asset token can also be set on block chain, and user can pass through user Node buys the digital asset token, pays for hotel's rent;The digital asset for the user payment that hotel receives enables Board can convert to cash.It is associated in addition, the digital asset token can also be generated with the opinion rating in user and hotel, The conversion price of the more high then digital asset token of opinion rating is higher, the conversion price of the more low then digital asset token of opinion rating It is lower, the evaluation of itself is safeguarded to promote user and hotel to do the best.
In embodiments of the present invention, it is unlocked by generating public key and private key, realizes that user is convenient and efficient voluntarily to open Lock;In addition, user can be checked out and be paid rent by user node, user time is saved, so that entire hotel occupancy mistake Journey is more convenient.
Fig. 3 shows a kind of functional block diagram of hotel occupancy device based on block chain according to an embodiment of the present invention, such as Shown in Fig. 3, which includes: the first receiving module 301, release module 302, the second receiving module 303, return module 304, mentions Modulus block 305 and the first generation module 306.Wherein, the first receiving module 301, for receiving the user of user node transmission Identity information;Release module 302, for the identity information to be distributed to the block chain;Second receiving module 303, is used for The booking request that the user node is sent is received, the booking request carries the room requirement of user;Return to mould Block 304, for when determining the room for existing and meeting the room requirement, Xiang Suoshu user node to return to predetermined successful information; Extraction module 305, for extracting the identity of the user from the block chain when determination moves in the room to the user Information;First generation module 306, for the identity information according to the room information in the room and the user extracted, The information of checking in of the user is generated, and the information of checking in of the user is distributed to the block chain.
Wherein, described device further include: the second generation module 307, pushing module 308 and third receiving module 309.Its In, the second generation module 307, the public key and private key used for generating pairing;Pushing module 308 is used for the room pair The smart lock answered pushes the private key, and pushes the public key to the user node;Third receiving module 309, for connecing Receive the successful unlocking information that the smart lock is sent, wherein the successfully unlocking information is that the smart lock is receiving unlocking After message, by the information sent when unlocking message described in the private key good authentication, the unlocking message is by described Public key encryption.
Wherein, the identity information includes ID card information and physiologic information;The successfully unlocking information is specifically described Smart lock is after receiving unlocking message, by message of unlocking described in the private key good authentication, and, good authentication is being opened The information sent when the physiologic information of user when lock in front of the room, the unlocking message are added by the public key Close.
Wherein, the physiologic information includes face information, finger print information or pupil information.
Wherein, described device further include: the 4th receiving module 310 and third generation module 311, wherein the 4th receives mould Block 310, the request of checking out sent for receiving the user node;Third generation module 311, for according to checking out request, Determine meet check out condition when, according to the identity information of the room information in the room and the user, generate the user's It checks out information, and the information of checking out is distributed to the block chain.
Wherein, described device further include: computing module 312 and fee flows revolving die block 313, wherein computing module 312 is used The expense in room is used in calculating the user;Fee flows revolving die block 313, for being detained from the corresponding user account of the user It is transferred in hotel's account of hotel's node belonging to the room except the expense, and by the expense deducted.
In embodiments of the present invention, by release module by the identity information of user and hotel reservation synchronizing information to block Chain, so that the identity information of user and hotel reservation information are deposited card in entire block chain and are shared, when user reaches hotel occupancy, nothing Personal information need to be registered again, to simplify the cumbersome formality moved in;In addition, generating moving back for user by third generation module Room information, and the information of checking out is published to block chain, user may be implemented and check out automatically in user node, and pass through expense The module that circulates realizes the circulation of hotel's rent, simplifies entire hotel occupancy process, provides convenience for user's hotel occupancy.
The embodiment of the present application provides a kind of nonvolatile computer storage media, and the computer storage medium is stored with The wine based on block chain in above-mentioned any means embodiment can be performed in an at least executable instruction, the computer executable instructions The operation of method is moved in shop.
Fig. 4 shows a kind of structural schematic diagram for calculating equipment according to an embodiment of the present invention, the specific embodiment of the invention The specific implementation for calculating equipment is not limited.
As shown in figure 4, the calculating equipment may include: processor (processor) 402, communication interface (Communications Interface) 404, memory (memory) 406 and communication bus 408.
Wherein:
Processor 402, communication interface 404 and memory 406 complete mutual communication by communication bus 408.
Communication interface 404, for being communicated with the network element of other equipment such as client or other servers etc..
Processor 402 can specifically execute a kind of above-mentioned hotel occupancy side based on block chain for executing program 410 Correlation step in method embodiment.
Specifically, program 410 may include program code, which includes computer operation instruction.
Processor 402 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.The one or more processors that equipment includes are calculated, can be same type of processor, such as one or more CPU;It can also To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 406, for storing program 410.Memory 406 may include high speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 410 specifically can be used for so that processor 402 executes following operation:
Receive the identity information for the user that user node is sent;
The identity information is distributed to the block chain;
The room predetermined request that the user node is sent is received, the room that the room predetermined request carries user is wanted It asks;
When determining the room for existing and meeting the room requirement, Xiang Suoshu user node returns to predetermined successful information;
When determination moves in the room to the user, the identity information of the user is extracted from the block chain;
According to the identity information of the room information in the room and the user extracted, moving in for the user is generated Register information, and the information of checking in of the user is distributed to the block chain.
Program 410 specifically can be also used for so that processor 402 executes following operation:
Generate public key and private key that pairing uses;
The private key is pushed to the corresponding smart lock in the room, and pushes the public key to the user node;
It includes: the successful unlocking information for receiving the smart lock and sending that the determination user, which moves in the room, In, the successfully unlocking information is the smart lock after receiving unlocking message, by described in the private key good authentication The information sent when unlocking message, the unlocking message are by the public key encryption.
In a kind of optional way, the identity information includes ID card information and physiologic information;The letter of successfully unlocking Breath is specifically the smart lock after receiving unlocking message, by message of unlocking described in the private key good authentication, and, The information sent when the physiologic information of user of the good authentication when unlocking in front of the room, the unlocking message is logical Cross the public key encryption.
In a kind of optional way, the physiologic information includes face information, finger print information or pupil information.
Program 410 specifically can be also used for so that processor 402 executes following operation:
Receive the request of checking out that the user node is sent;
According to checking out request, determine satisfaction check out condition when, according to the room information in the room and the user Identity information generates the information of checking out of the user, and the information of checking out is distributed to the block chain.
Program 410 specifically can be also used for so that processor 402 executes following operation:
Calculate the expense that the user uses room;
The expense is deducted from the corresponding user account of the user, and the expense deducted is transferred to the room In hotel's account of affiliated hotel's node.
The present invention also provides the hotel check-in systems based on block chain, as shown in figure 5, the hotel occupancy system based on block chain System 60, including user node 601, hotel's node 602, smart lock 603, platform management node 604, monitoring node 605 and bank Node 606;
The platform management node 604 includes processor (not shown), memory (not shown), communication interface (not shown) With communication bus (not shown), the processor, the memory and the communication interface complete phase by the communication bus Communication between mutually;
For the memory for storing an at least executable instruction, it is above-mentioned that the executable instruction executes the processor A kind of hotel occupancy method based on block chain operation.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it One can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize that a kind of hotel based on block chain according to an embodiment of the present invention enters The firmly some or all functions of some or all components in device.The present invention is also implemented as executing institute here Some or all device or device programs of the method for description are (for example, computer program and computer program produce Product).It is such to realize that program of the invention can store on a computer-readable medium, or can have one or more The form of signal.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or to appoint What other forms provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (10)

1. a kind of hotel occupancy processing method based on block chain characterized by comprising
Receive the identity information for the user that user node is sent;
The identity information is distributed to the block chain;
The room predetermined request that the user node is sent is received, the room predetermined request carries the room requirement of user;
When determining the room for existing and meeting the room requirement, Xiang Suoshu user node returns to predetermined successful information;
When determination moves in the room to the user, the identity information of the user is extracted from the block chain;
According to the identity information of the room information in the room and the user extracted, checking in for the user is generated Information, and the information of checking in of the user is distributed to the block chain.
2. the method according to claim 1, wherein
When determining the room for existing and meeting the room requirement, the method also includes:
Generate public key and private key that pairing uses;
The private key is pushed to the corresponding smart lock in the room, and pushes the public key to the user node;
It includes: the successful unlocking information for receiving the smart lock and sending that the determination user, which moves in the room, wherein institute Stating successfully unlocking information is the smart lock after receiving unlocking message, is reported by unlocking described in the private key good authentication The information sent when literary, the unlocking message are by the public key encryption.
3. according to the method described in claim 2, it is characterized in that,
The identity information includes ID card information and physiologic information;
The successfully unlocking information is specifically the smart lock after receiving unlocking message, passes through the private key good authentication The unlocking message, and, the letter that good authentication is sent when the physiologic information of user in front of the room when unlocking Breath.
4. according to the method described in claim 3, it is characterized in that,
The physiologic information includes face information, finger print information or pupil information.
5. method described in any one of -4 according to claim 1, which is characterized in that the method also includes:
Receive the request of checking out that the user node is sent;
According to checking out request, determine satisfaction check out condition when, according to the identity of the room information in the room and the user Information generates the information of checking out of the user, and the information of checking out is distributed to the block chain.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
Calculate the expense that the user uses the room;
The expense is deducted from the corresponding user account of the user, and the expense deducted is transferred to belonging to the room Hotel's node hotel's account in.
7. a kind of hotel occupancy processing unit based on block chain, it is applied to block chain, which is characterized in that described device includes:
First receiving module: for receiving the identity information of the user of user node transmission;
Release module: for the identity information to be distributed to the block chain;
Second receiving module: the booking request sent for receiving the user node, the booking request carry The room requirement of user;
Return module: for when determining the room for existing and meeting the room requirement, the return of Xiang Suoshu user node to make a reservation for into Function information;
Extraction module: for extracting the body of the user from the block chain when determination moves in the room to the user Part information;
First generation module: for generating according to the room information in the room and the identity information of the user extracted The information of checking in of the user, and the information of checking in of the user is distributed to the block chain.
8. a kind of calculating equipment characterized by comprising processor, memory, communication interface and communication bus, the processing Device, the memory and the communication interface complete mutual communication by the communication bus;
The memory executes the processor as right is wanted for storing an at least executable instruction, the executable instruction Ask a kind of operation of the hotel occupancy processing method based on block chain described in any one of 1-6.
9. a kind of computer storage medium, which is characterized in that an at least executable instruction is stored in the storage medium, it is described Executable instruction makes processor execute such as the hotel occupancy processing method of any of claims 1-6 based on block chain Operation.
10. a kind of hotel check-in system based on block chain, which is characterized in that including user node, hotel's node, smart lock and Platform management node;
The platform management node includes processor, memory, communication interface and communication bus, the processor, the storage Device and the communication interface complete mutual communication by the communication bus;
The memory executes the processor as right is wanted for storing an at least executable instruction, the executable instruction Ask a kind of operation of the hotel occupancy processing method based on block chain described in any one of 1-6.
CN201811599074.6A 2018-12-26 2018-12-26 Hotel occupancy processing method, device, system and calculating equipment based on block chain Withdrawn CN109800897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811599074.6A CN109800897A (en) 2018-12-26 2018-12-26 Hotel occupancy processing method, device, system and calculating equipment based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811599074.6A CN109800897A (en) 2018-12-26 2018-12-26 Hotel occupancy processing method, device, system and calculating equipment based on block chain

Publications (1)

Publication Number Publication Date
CN109800897A true CN109800897A (en) 2019-05-24

Family

ID=66557686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811599074.6A Withdrawn CN109800897A (en) 2018-12-26 2018-12-26 Hotel occupancy processing method, device, system and calculating equipment based on block chain

Country Status (1)

Country Link
CN (1) CN109800897A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110581860A (en) * 2019-09-19 2019-12-17 腾讯科技(深圳)有限公司 identity authentication method, device, storage medium and equipment based on block chain
CN110598469A (en) * 2019-09-11 2019-12-20 腾讯科技(深圳)有限公司 Information processing method and device and computer storage medium
CN111008718A (en) * 2019-11-28 2020-04-14 腾讯科技(深圳)有限公司 Hotel management method, device, terminal and storage medium based on block chain
CN112862132A (en) * 2021-02-23 2021-05-28 杭州趣链科技有限公司 Hotel management method, system, device, equipment and medium based on block chain
CN112995931A (en) * 2019-12-12 2021-06-18 青岛海尔洗衣机有限公司 Hotel sterilization information prompting method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103971435A (en) * 2014-05-22 2014-08-06 广东欧珀移动通信有限公司 Unlocking method, server, mobile terminal, electronic lock and unlocking system
CN106789024A (en) * 2016-12-30 2017-05-31 深圳市文鼎创数据科技有限公司 A kind of remote de-locking method, device and system
CN108197969A (en) * 2017-12-07 2018-06-22 北京交通大学 A kind of D2D based on block chain shares the system and its implementation of reward
CN108694518A (en) * 2018-06-19 2018-10-23 武汉斑马快跑科技有限公司 One kind is called a taxi evaluation method and system
CN108694654A (en) * 2018-07-02 2018-10-23 浙江大学 A kind of house lease system and rent method based on block chain
CN108764901A (en) * 2018-05-16 2018-11-06 深圳市咕噜科技有限公司 Leasing method, system, equipment and storage medium based on block chain technology
CN109035510A (en) * 2018-07-12 2018-12-18 佛山伊苏巨森科技有限公司 A method of controlling the access of express delivery smart lock by block chain
CN109064291A (en) * 2018-08-08 2018-12-21 平安科技(深圳)有限公司 House lease method, system, computer equipment and storage medium
CN109086628A (en) * 2018-08-14 2018-12-25 广东工业大学 A kind of order processing method and relevant apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103971435A (en) * 2014-05-22 2014-08-06 广东欧珀移动通信有限公司 Unlocking method, server, mobile terminal, electronic lock and unlocking system
CN106789024A (en) * 2016-12-30 2017-05-31 深圳市文鼎创数据科技有限公司 A kind of remote de-locking method, device and system
CN108197969A (en) * 2017-12-07 2018-06-22 北京交通大学 A kind of D2D based on block chain shares the system and its implementation of reward
CN108764901A (en) * 2018-05-16 2018-11-06 深圳市咕噜科技有限公司 Leasing method, system, equipment and storage medium based on block chain technology
CN108694518A (en) * 2018-06-19 2018-10-23 武汉斑马快跑科技有限公司 One kind is called a taxi evaluation method and system
CN108694654A (en) * 2018-07-02 2018-10-23 浙江大学 A kind of house lease system and rent method based on block chain
CN109035510A (en) * 2018-07-12 2018-12-18 佛山伊苏巨森科技有限公司 A method of controlling the access of express delivery smart lock by block chain
CN109064291A (en) * 2018-08-08 2018-12-21 平安科技(深圳)有限公司 House lease method, system, computer equipment and storage medium
CN109086628A (en) * 2018-08-14 2018-12-25 广东工业大学 A kind of order processing method and relevant apparatus

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598469A (en) * 2019-09-11 2019-12-20 腾讯科技(深圳)有限公司 Information processing method and device and computer storage medium
CN110598469B (en) * 2019-09-11 2024-05-17 腾讯科技(深圳)有限公司 Information processing method, device and computer storage medium
CN110581860A (en) * 2019-09-19 2019-12-17 腾讯科技(深圳)有限公司 identity authentication method, device, storage medium and equipment based on block chain
CN111008718A (en) * 2019-11-28 2020-04-14 腾讯科技(深圳)有限公司 Hotel management method, device, terminal and storage medium based on block chain
CN111008718B (en) * 2019-11-28 2023-11-03 腾讯科技(深圳)有限公司 Block chain-based hotel management method, device, terminal and storage medium
CN112995931A (en) * 2019-12-12 2021-06-18 青岛海尔洗衣机有限公司 Hotel sterilization information prompting method and device
CN112862132A (en) * 2021-02-23 2021-05-28 杭州趣链科技有限公司 Hotel management method, system, device, equipment and medium based on block chain
CN112862132B (en) * 2021-02-23 2024-01-23 杭州趣链科技有限公司 Block chain-based hotel management method, system, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN109800897A (en) Hotel occupancy processing method, device, system and calculating equipment based on block chain
US10460397B2 (en) Transaction-history driven counterfeit fraud risk management solution
KR102665646B1 (en) Digital asset management on a decentralized trading consensus network
KR101628007B1 (en) System for dealing a digital currency with block chain
CN104361493B (en) A kind of electric paying method based on biological characteristic
CN110462663A (en) For indicating the static token system and method for dynamic authentic credential
CN104050565B (en) Intelligent payment system and its mobile terminal based on PBOC payment networks
CN108108827A (en) Shared station management method and device
CN108717652B (en) Order processing system and method, order server and second client
CN103186851A (en) Electronic payment system based on cloud data processing technology
CN103186858B (en) Credible service management
CN109242634A (en) Method, apparatus, server and the readable storage medium storing program for executing of smart lock unlock
CN103117856A (en) Method and apparatus for provisioning applications in mobile devices
CN104038924A (en) Method and system for achieving resource exchange information processing
KR101307035B1 (en) Card payment method using representative card
CN103258266A (en) Device and method for settlement payment with mobile devices
CN108701270A (en) Management method, system and the data management server of maintenance factory
CN109272131A (en) Foreign currency reserves enchashment method, client, server, the pre- Ark of the Covenant of foreign currency and system
CN110245925A (en) Electric paying method, system, device and computer readable storage medium
CN109409548A (en) Foreign currency reserves enchashment method, client, server, the pre- Ark of the Covenant of foreign currency and system
CN107466409A (en) Use the binding procedure of electronic telecommunication device
CN108629587A (en) A kind of method, server and terminal device for realizing parking fee e-payment verification
KR102333811B1 (en) System and method for processing card payment based on block-chain
JP2009140199A (en) Point management apparatus, point management method and point management program
CN101197027A (en) Internet service paying method and system based on common terminal

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
TA01 Transfer of patent application right

Effective date of registration: 20210118

Address after: 215163 No. 9 Xuesen Road, Science and Technology City, Suzhou High-tech Zone, Jiangsu Province

Applicant after: Suzhou Lang run innovation intellectual property operation Co.,Ltd.

Address before: 100034 4008, 4 floor, 9 building, 56 half moon street, Xicheng District, Beijing.

Applicant before: SINOCHAIN TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
WW01 Invention patent application withdrawn after publication

Application publication date: 20190524

WW01 Invention patent application withdrawn after publication