Invention content
In order to solve problem of the prior art, the present invention provides a kind of hotel's application systems and wine based on mobile terminalShop device systems realize whole cashless payment experience of the user in hotel and the remote control to hotel guest room state, instituteIt is as follows to state technical solution:
On the one hand, the present invention provides a kind of hotel's application system based on mobile terminal, including with lower module:
Supplement module with money, for being supplemented with money to the electronic account of user, including supplemented with money on line and/or line under supplement with money;
Payment module for buying the article of consumption in hotel, and is completed to deduct consumption value from the electronic account;
Inquiry into balance module, for checking the balance amount information of Current electronic account;
Detailed enquiry module, for checking the income information of electronic account and/or information of entering an item of expenditure in the accounts;
It transfers accounts module, for all or part of remaining sum in Current electronic account to be transferred to other electronic accounts;
Room state operation module, for setting or changing the dispaly state of the state display device outside room.
Further, the system also includes access control module, for obtaining authorization code according to authentication result, andGate inhibition's scanning means to the outside of room provides the authorization code, and gate inhibition's scanning means is according to the authorization code access controlIt opens.
Further, the dispaly state of the state display device includes cleaning need state or does not disturb need state;
If the state display device display cleans need state, award corresponding with corresponding gate inhibition is sent to the second personnelWeighted code;
If the state display device, which is shown, does not disturb need state, the authorization code is banned to the second personnel.
Further, the system also includes registration modules, are registered for the user in white list.
Further, it is further included before the authorization code corresponding with corresponding gate inhibition to the second personnel transmission:
Server receives the authentication information of user;
If the authentication information of the user is simultaneously sent it to by verification, server generation gate inhibition's License InfoThe user, gate inhibition's License Info include gate inhibition's number and the authorization code.
Further, it is described to include to the second personnel transmission authorization code corresponding with corresponding gate inhibition:
Copy function is carried out to the gate inhibition's License Info for being sent to the user, obtains backup information;
The backup information is sent to the second personnel.
Further, it is described to ban the authorization code to the second personnel and include:
Judge whether the second personnel received authorization code, if so, gate inhibition's License Info that generation is new, and send it toUser.
Further, generation gate inhibition's License Info includes:
By the O/No. that user books rooms base64 transcodings, and combine to obtain combining characters with the unique mark of userString;
To the combining characters string using AES encryption, room identification code is obtained;
The room identification code is converted into two-dimension code image.
Further, the payment module, which includes sweeping, sweeps Payment Unit and/or payment code Payment Unit.
On the other hand, the present invention also provides a kind of hotel equipment system, including mating with above-mentioned hotel's application systemHardware device.
What technical solution provided by the invention was brought has the beneficial effect that:
A. realize Hotel Staff emolument diversification and member user hotel cash-free consumption experience;
B. it realizes remote control of the user to hotel guest room state, improves user experience;
C. combine access control system, realize user go out hotel when entrance guard management.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present inventionThe technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is onlyThe embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill peopleMember's all other embodiments obtained without making creative work should all belong to the model that the present invention protectsIt encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, "Two " etc. be the object for distinguishing similar, and specific sequence or precedence are described without being used for.It should be appreciated that it uses in this wayData can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein orSequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that coverCover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, apparatus, product or equipmentThose steps or unit clearly listed, but may include not listing clearly or for these processes, method, productOr the intrinsic other steps of equipment or unit.
The member card in present hotel is all entity card, and client needs to show when hotel consumes entity card, and when use is inadequateIt is convenient, it can not easily inquire the consumption of oneself.Today's society, smart mobile phone are popularized, and mobile network is flourishing, then opensIt sends out mobile APP a, to replace existing entity member card, becomes a kind of good solution.
In one embodiment of the invention, a kind of hotel's application system based on mobile terminal, the application are providedSystem is loaded in the form of APP on mobile terminal, and referring to Fig. 1, the system comprises with lower module:
Module 100 is supplemented with money, for being supplemented with money to the electronic account of user.
Specifically, client can be to supplement integration with money in selection line or under line, and Alipay or wechat can be selected by being supplemented with money on lineIt is paid, after paying successfully, you can obtain in APP accounts and supplement with money accordingly;It is supplemented with money under line, the corresponding work of trade connectionMake personnel, give staff cash, staff can help client to be supplemented with money from the background.
Payment module 200 for buying the article of consumption in hotel, and is completed to deduct consumption value from the electronic account.
Specifically, the payment module 200, which includes sweeping, sweeps Payment Unit 210 and/or payment code Payment Unit 220,In, it sweeps and sweeps Payment Unit 210 to be opened after client's consumption " sweep and sweep " in APP, the gathering bar code scan of opposite businessman, soSpending amount is inputted in the obtained payment page of scanning afterwards, and after inputting payment cipher, i.e. successful payment;Payment code Payment UnitAfter 220 consume for client in hotel, APP is opened, shows the payment code of client, after staff's barcode scanning, inputs spending amount, thenConfirmed by client itself, after inputting payment cipher, i.e. successful payment.
Inquiry into balance module 300, for checking the balance amount information of Current electronic account.
Specifically, client can be directly viewable the remaining integration of current account in APP.
Detailed enquiry module 400, for checking the income information of electronic account and/or information of entering an item of expenditure in the accounts.
Specifically, client can check all consumer records in hotel in APP, grasp consumption in real time.
Module of transferring accounts 500, for all or part of remaining sum in Current electronic account to be transferred to other electronic accounts.
Specifically, client can input the account number of friend in APP, and all or part of remaining sum value in oneself account is givenFriend is given, the remaining sum produced can be transferred to account of transferring accounts by server according to transfer request.
Room state operation module 600, for setting or changing the dispaly state of the state display device outside room.
For example, user downloads an application APP docked with moving in hotel service device interface in advance, moved in by paymentAfterwards, in " my guest room " module in APP, it may appear that corresponding room information establishes user terminal and room informationRelated information, such as room number and its corresponding current state etc..
Wherein, room state operation module 600 is further included in " my guest room " module, such as (tactile there are two select buttonShield button), one is " please sweep ", the other is " Do not disturb ", when user clicks " please sweep " button in terminal APP,Then server receives the cleaning requirement command of user, and when user clicks " Do not disturb " button in terminal APP, then server connectsThat receives user does not disturb requirement command, and server is instructed according to corresponding demand immediately, changes the correspondence room number institute in databaseCorresponding conditional code (conditional code of the state display device in database show accordingly), and then control correspondingState display device outside room shows or is switched to dbjective state.
In a preferred embodiment of the invention, the system also includes access control module 700, for according to identityVerification result obtains authorization code, and gate inhibition's scanning means to the outside of room provides the authorization code, gate inhibition's scanning meansIt is opened according to the authorization code access control.
Server can be according to authentication as a result, the authorization code of gate inhibition can be opened to user's transmission, for example, user existsThe upper predetermined guest rooms of APP, and after the registration of foreground, server (is awarded to sending gate inhibition's License Info after the authentication of userWeighted code) to user, the authorization code can be 2 D code information.Gate inhibition's scanning means outside room scans the 2 D code information,And scanning result is sent to server, it is proofreaded by server, if check and correction is correct, the electronic lock in the room is controlled to beatIt opens.
If the state display device display cleans need state, assert that user allows cleaning worker to enter cleaning, i.e.,Indicate that server sends authorization code corresponding with corresponding gate inhibition to cleaning worker, specially:The gate inhibition for being sent to user is permittedInformation carries out copy function, obtains backup information;The backup information is sent to cleaning worker.
If the state display device, which is shown, does not disturb need state, assert that user refuses cleaning worker and arbitrarily passes in and out,In this case, corresponding room gate inhibition has unique opening qualification, unique opening qualification, which belongs to, sends room state demandThe state of instruction.Situation about banning is divided to two kinds, the first is that the second personnel were not yet connected to any License Info, then bans gate inhibitionLicense Info is not send gate inhibition's License Info to the second personnel;
The second situation is that received move into one's husband's household upon marriage of the second personnel prohibits License Info, and the second personnel are before banning in order to preventRelevant information is saved to terminal local, therefore, server should generate new gate inhibition's License Info at this time, and be sent toGate inhibition's License Info in first user APP is updated to the information being newly generated by the first user, in this way, even if the second peopleMember can not also open corresponding gate inhibition, the generating principle of gate inhibition's authorization code is as follows using local old gate inhibition's License Info is stored in:
Server generates a string of encrypted identification codes for corresponding room, for example, the order that specifically the first user books roomsNumber combines with the unique mark of the first user to obtain combining characters string with base64 transcodings, wherein the first user's is uniqueMark is present in system database, and outside can not be known, therefore the unique mark is key information.Then to the combinationCharacter string uses AES encryption, obtains the encrypted identification code, the identification code is converted to two-dimension code image, is sent to theIt is shown in the APP of one user.Wherein, BASE64 codings and AES encryption and decryption principles are as follows:
Base64 coding principles:(character string, picture etc. may be converted into binary format table to the binary system that will be encodedShow) 3 octets with the byte representation of 46, each 6 bit byte is then converted into one and individually number and is reflectedA character being mapped in base64 code tables.If last remaining byte mends 0 below less than 3, the word of 0 conversion is mendedSymbol is represented with "=", therefore the character string end exported after encoding might have one or two "=".
AES encryption function:If AES encryption function is E, then C=E (K, P), wherein P is in plain text, K is key, and C is ciphertext.That is, being inputted using plaintext P and key K as the parameter of encryption function, then encryption function E can export ciphertext C.
AES decryption functions:If AES decryption functions are D, then P=D (K, C), wherein C is ciphertext, and K is key, and P is in plain text.That is, being inputted using ciphertext C and key K as the parameter of decryption function, then decryption function can export plaintext P.
It should be noted that AES encryption is a kind of encryption method enumerated in the present embodiment, the present invention is to encrypted toolBody algorithm is not construed as limiting.
Access control principle is as follows:Guest room doorway is equipped with gate inhibition's scanning means, and gate inhibition's scanning means is to the two dimensionCode picture scans and recognizes, and obtains identification code, by the identification code and the identification code stored when generating encrypted identification codeIt is proofreaded, if unanimously, server sends open instructions to electronic lock, door is opened.
Except this, hotel's application system further includes registration module 800, is registered for the user in white list.
Unlike most of application APP of the prior art, the hotel APP in the present invention is only oriented to hotel's work peopleMember and specific consumers open, and not all client can arbitrarily register, and client is needed first to submit the real information of oneself, then byAfter hotel's staff's input system, client could register use.The above persons can add in system white list, when server connectsWhen receiving registration request, first have to confirm the personnel identity information of registration whether in the white list, if allowing thisOtherwise user's registration refuses its registration request.
On the other hand, the present invention also provides a kind of hotel equipment system, referring to Fig. 2, including being applied with above-mentioned hotelThe hardware device of system support, the hardware device include but not limited to server, state display device and door outside roomProhibit scanning means.
Existing member card is all entity card, and client is required for when consumption is supplemented with money with entity card, carries not sideJust, and remaining sum cannot check at any time, and it is even more impossible to check previous consumer record, use is very inconvenient.It is and present, it is only necessary toChinese rank of nobility promotion treasured APP is installed on mobile phone, it is possible to mobile phone directly in hotel, be consumed, without the guarantor for worrying entity cardPipe problem.And it can check that remaining integration and consumer record, convenience have obtained very big promotion whenever and wherever possible.
On the other hand, entity card does not need to password in consumption therefore in the case where card is lost, and safety is comparedIt is low.And Chinese rank of nobility promotion treasured APP needs to input payment cipher in consumption, therefore safety has obtained very big promotion.
To sum up, it is booked rooms by the related App in this hotel realizations, the relevant operations such as pre-payment, clients is waited to reach hotel, are only neededShow identity document, after public security system registration, hotel can use reception counter of hotel according to customer's identity card Rapid matching AppFamily, among electronic access card is sent to the App of client in the form of Quick Response Code, client need to only come corresponding room, on door lockIt is provided with Response Code scan module with our hotel backstage management systems to be connected, scanning can be moved in quickly;It can also pass throughApp setting rooms do not disturb and please sweep state, can not be into even if the auntie that keeps a public place clean wants to sweep in the room of state is not disturbedEnter;It can be equally rapidly completed on App when checking out, can effectively solve to move in the situation of peak period foreground congestion.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit andWithin principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.