Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged, in the appropriate case so that embodiments of the invention described herein.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
It should be noted that, in this application, resource refers to the casing taking up thing, hotel/apartment/dormitory/accommodation resource etc. that can be controlled by intelligent door lock, take up the casing of thing, thing cabinet is got in express delivery as intelligence, resource reservation, refers to the mode by arranging in advance, according to the personal information of user, the start time that agreement resource uses, end time, renewed treaty time or other services request etc.In this application, server does not limit kind, can be centralized server, distributed server, Cloud Server etc., centralized control in the application, refer to that all intelligent door locks are all intensively controlled by server, not the type of Limited service device is centralized server, and in fact, the server carrying out controlling can be various server.
Embodiment one
Embodiments provide a kind of centralized control method of intelligent door lock.
Fig. 1 is the process flow diagram of the centralized control method of intelligent door lock according to the embodiment of the present invention.As shown in Figure 1, to comprise step as follows for the centralized control method of this intelligent door lock:
Step S102, the unlocking cipher that intelligent door lock reception server returns, and store unlocking cipher;
Concrete, in above-mentioned steps S102, intelligent door lock can be first connected with server by network, and sets up correspondence with server, server can be known, and whether intelligent door lock is current can use, the useless operation of server during to avoid intelligent door lock unavailable.In intelligent door lock, there is storer, can be used for storing the such as unlocking cipher that unlocking cipher and server return and use other data such as the term of validity.Optionally, intelligent door lock can store and organize unlocking cipher more.
Step S104, whether the unlocking cipher of the password received when intelligent door lock comparison current request is unblanked and storage is with consistent; When the password received when current request is unblanked is consistent with the unlocking cipher of storage, intelligent door lock performs unlocking action;
Concrete, in above-mentioned steps S104, the password that can unblank, is generated by server, and is transferred to client device or management equipment.Unlocking cipher can adopt encrypted transmission, performs identical algorithms for encryption and decryption at the transmitting terminal of unlocking cipher and receiving end.When not storing any encrypted message in storer, intelligent door lock can refuse any type of request of unblanking, and can setting up a flag register, whether receiving unlocking cipher for identifying intelligent door lock in intelligent door lock.Preferably, after intelligent door lock dispatches from the factory and comes into operation, intelligent door lock is before whether comparison password is consistent, first the flag register in intelligent door lock can be read, when the current intelligent door lock of the data representation stored in flag register does not receive unlocking cipher, the comparing unit in intelligent door lock can refuse the password received when unblanking that accepts request.
Optionally, when storing many group unlocking ciphers in intelligent door lock, the control module in intelligent door lock can select wherein one group of unlocking cipher, and the password used when unblanking with current request is compared; Many groups unlocking cipher that also can will store, the password used when unblanking with current request is successively compared.
Optionally, when storing many group unlocking ciphers in intelligent door lock, such as, store the unlocking cipher that one or more server issues intelligent door lock and client device simultaneously in intelligent door lock simultaneously, be called for short the first unlocking cipher, and server issues the unlocking cipher of intelligent door lock and management equipment simultaneously, be called for short the second unlocking cipher; Optionally, when storing the first unlocking cipher that many groups use the term of validity different in intelligent door lock, after the unlocking cipher of intelligent door lock outside input when receiving request and unblanking, first the use term of validity of all first unlocking ciphers stored is judged, only read unique first unlocking cipher being in and using in the middle of the term of validity, when unblanking with request, the outside unlocking cipher inputted is compared.
Optionally, when only storing first unlocking cipher and second unlocking cipher in intelligent door lock, after intelligent door lock receives the password of outside input when request is unblanked, compare with the first unlocking cipher stored and the second unlocking cipher respectively, if the password of request outside input when unblanking and the first unlocking cipher with in both the second unlocking ciphers arbitrary identical time, intelligent door lock execution unlock operation.
Optionally, when storing multiple first unlocking ciphers and one or more second unlocking cipher in intelligent door lock, intelligent door lock receive unblank time outside input unlocking cipher after, first the use term of validity stored in storer is judged, only read to be in and use the first unlocking cipher in the middle of the term of validity and be in the second unlocking cipher used in the middle of the term of validity, when unblanking with request, the outside unlocking cipher inputted is compared; When having first unlocking cipher and second unlocking cipher is in the term of validity simultaneously, the unlocking cipher of outside input when then the request received is unblanked by intelligent door lock and above-mentioned be in the term of validity the first unlocking cipher and the second unlocking cipher contrast one by one, the unlocking cipher of the outside input when asking to unblank and above-mentioned the first unlocking cipher being in the term of validity with in the second unlocking cipher arbitrary identical time, intelligent door lock execution unlock operation.Preferably, the use term of validity of the first unlocking cipher of same intelligent door lock is without the coincidence period.The use term of validity of the second unlocking cipher of same intelligent door lock is also without the coincidence period.
Step S106, intelligent door lock generates or receives the instruction of removing unlocking cipher, and removes the unlocking cipher stored.
Concrete, in above-mentioned steps S106, intelligent door lock can remove the instruction of unlocking cipher by network reception, also can generate the instruction of removing unlocking cipher in the inside of intelligent door lock.After intelligent door lock receives or generate the instruction of removing unlocking cipher, the control module in intelligent door lock can send the instruction of removing unlocking cipher to storer, is removed by the unlocking cipher stored.
By above-mentioned steps S102 to step S106, server dual lock password carries out distributing and managing, and ustomer premises access equipment can obtain in the intelligent door lock with predetermined resource and store the identical unlocking cipher of password, completes the coupling of password.To sum up, to solve in prior art and the problem of poor stability loaded down with trivial details to the releasing process of intelligent door lock, the releasing process reached as intelligent door lock provides convenient and the high unlock method effect of security.
Wherein, before the unlocking cipher that intelligent door lock is returned by reception server, said method embodiment provides scheme can also comprise following implementation step:
Step S101a: the resource reservation data of server receives client device transmission; Unlocking cipher according to resource reservation data genaration unlocking cipher, and is sent to client device and intelligent door lock by server respectively.
Concrete, the resource reservation data in above-mentioned steps S101a at least can comprise: the resource reservation start time, resource reservation end time, the user profile etc. of predetermined resource.Such as, reservation of resources data can be the subscription data of client for hotel room, the subscription data for apartment, tentation data for centralized picking cabinet, such as, hotel's title, hotel room number, room door lock ID can be comprised for the tentation data of hotel room, move in date, the date of checking out etc.; Tentation data for apartment can comprise: the door lock ID in apartment title, tenements number, this room, apartment, move in date, the date of checking out, cleaning service, moving service etc.; Tentation data for centralized picking cabinet can comprise: picking cabinet position, picking cabinet numbering, in picking cabinet concrete case number (CN), this concrete case number (CN) ID, estimate stored in the article time, estimate stored in type of goods, estimate to take the article time etc. away.For the tentation data of other resources, can the rest may be inferred.
Preferably, server can according to resource reservation start time and predetermined first time period, lighting from scheduled start tine or in first time period forward or backward, unlocking cipher is sent to client device and intelligent door lock respectively; First time period is, such as, and one hour.The above-mentioned resource reservation start time, for user by client device to server predetermined time will bringing into use scheduled resource.
Preferably, server, according to resource reservation end time and the second predetermined time period, from scheduled closing time point the second time period forward, sends the resource reservation time to client device and closes to an end and inquire the information of whether renewing resource.Second time period was, such as, and one hour.The above-mentioned resource reservation end time, for user by client device to server predetermined will terminate the time using scheduled resource.
Optionally, server receives the predetermined information of user, can pass through the identity information certification of internet completing user, to meet the requirement that public security organ's registration I.D. real name is moved in.Optionally, the identification card number that server inputs from resource reservation extracting data user, and/or, the photo that user uploads; Server Ministry of Public Security data base querying identification card number information, the photo that also can store in the photo uploaded of comparison user and Ministry of Public Security's database.Or Server remote calls the camera of client, obtain the photo of user and the photo of user identity card by the camera of client, compare with the information in Ministry of Public Security database.
Optionally, user is when carrying out resource reservation by server, as long as intelligent door lock is connected by network with server, and establish contact by same agreement, just can not go to make a reservation for by the restriction of region or group and use resource, the application, from the angle of intelligent door lock, achieves the unified integration management of multiple resource.
Wherein, after above-mentioned steps S101a, said method embodiment provides scheme can also comprise following implementation step:
Step S101b: server arranges the use term of validity of unlocking cipher according to resource reservation data, and the use term of validity of unlocking cipher is sent to intelligent door lock and management equipment.Wherein, in above-mentioned steps S101b, by setting the term of validity of unlocking cipher, can make the effective time limit of server close supervision unlocking cipher, optionally, the use term of validity of unlocking cipher starts from the resource reservation start time, terminates in the resource reservation end time.
Wherein, receive the instruction of removing unlocking cipher at intelligent door lock, after removing the unlocking cipher stored, the scheme that said method embodiment provides can also comprise following implementation step:
Step S108: after intelligent door lock removes the unlocking cipher stored, the receipt that intelligent door lock has been removed to server transmission password; After server confirms that password is removed, send the new unlocking cipher of server generation to intelligent door lock and management equipment.
Wherein, in step S104, the password received when intelligent door lock comparison current request is unblanked and the unlocking cipher that server the returns step consistent with whether comprises: step S1041: receive the password used when current request is unblanked; Step S1042: the unlocking cipher reading storage from storer; Step S1043: when comparison request is unblanked, whether the password of use and the unlocking cipher of storage be with consistent; Wherein, the mode receiving the password used when current request is unblanked comprises: intelligent door lock receives by the entity input media be connected with intelligent door lock the unlocking cipher inputted; Intelligent door lock, by mutual with the communication of client device or management equipment, receives the unlocking cipher of client or management equipment transmission.
Wherein, the generating mode of instruction removing unlocking cipher can comprise following any one or multiple: mode 1: when monitoring server is to the use term of validity exceeding unlocking cipher, signal is quit the subscription of with the resource receiving client device transmission when server, when in the two, any one situation occurs, server sends the instruction of removing unlocking cipher to intelligent door lock; Mode 2: when the resource be connected with intelligent door lock quit the subscription of device receive trigger pip time, resource is quit the subscription of device and is sent to intelligent door lock and remove the instruction of unlocking cipher; Mode 3: the use term of validity of the unlocking cipher that intelligent door lock reception server sends, when intelligent door lock monitors the use term of validity exceeding unlocking cipher, intelligent door lock generates the instruction of removing unlocking cipher.
Wherein, client device is applied by short message, mail, immediate communication tool, mobile terminal immediate communication tool or mobile terminal, the unlocking cipher that reception or Download Server generate.
Wherein, said method embodiment provides scheme to comprise: management equipment also reception server transmission resource reservation data.Management equipment receives resource reservation data, can have a clear understanding of the predetermined case of the resource in institute compass of competency; Optionally, clearing password information, resource that management equipment is transmitted by reception server quit the subscription of information, exceed user accesses to your password the information such as the term of validity, real-time understanding resource service condition.
Wherein, the direct-connected internet of intelligent door lock, or by gateway transfer connecting Internet, wherein, the mode of the direct-connected internet of intelligent door lock comprises: WIFI, GPRS, 3G, 4G; The connected mode of intelligent door lock and gateway comprises: 2.4G, bluetooth, Zigbee, 433MHz etc., and gateway is by wired or wireless mode connecting Internet.
Below for the centralized control method of Intelligent door lock in hotel, the scheme that the embodiment of the present application one provides is described in detail:
Steps A: user is by the predetermined hotel room of client device.The web page server of user by arranging in client device access central server, completes the scheduled operation of hotel room.Namely central server is herein the wherein a kind of of the server pointed out in above-described embodiment technical scheme.Unlocking cipher according to resource reservation data genaration unlocking cipher, and is sent to client device and intelligent door lock by central server respectively; Central server arranges the use term of validity of unlocking cipher.
Optionally, client device can be any equipment can accessing internet, as personal computer, notebook computer, mobile phone, panel computer, intelligent television etc.
Concrete, client device connects central server by internet, and hotel room that can be predetermined is arbitrary room that the intelligent door lock be connected with central server is housed.
Preferably, user completes after payment determines room, and user's sequence information preserved in a database by central server.Central server, according to user's sequence information, generates unlocking cipher, and in predetermined amount of time before the time of moving in starts, by unlocking cipher encrypted transmission to the intelligent door lock of client device and reservation.
Optionally, central server is according to the subscriber identity information completing user system of real name certification in user's order.
Optionally, the mode that unlocking cipher is transferred to client device or management equipment by central server has: short message, mail, immediate communication tool (such as, qq etc.), mobile terminal immediate communication tool (such as, micro-letter, line) etc.
Optionally, intelligent door lock directly can pass through the direct internet of wifi, gprs, 3g, 4g, also can be realized by gateway transfer, namely intelligent door lock connects gateway by the mode such as 2.4g, bluetooth, zigbee, 433MHz, and gateway is by wired or wireless mode connecting Internet.
Step B: the intelligent door lock of user's reservation receives the unlocking cipher that central server returns, and is stored in the storer of intelligent door lock by unlocking cipher.
Concrete, intelligent door lock is first connected with central server by network, and sets up correspondence with central server, and central server can be known, and whether intelligent door lock is current can use, the useless operation of server during to avoid intelligent door lock unavailable.In intelligent door lock, have storer, can be used for storing unlocking cipher, and the such as unlocking cipher that central server returns uses other data such as the term of validity.
Optionally, in the present embodiment, storer also stored for the unlocking cipher use term of validity that central server returns.
Optionally, in storer, can multiple cipher be stored, such as, in storer, store guest's password and an administrator password.Guest's password is the password that central server sends to client device, and administrator password is the password that central server sends to management equipment.Guest is moving in period, if need hotel to sweep room safeguard or change daily output articles for use, hotel management personnel can be notified, managerial personnel rely on administrator password to enter room, and do not affect the use of guest's password, that is, sometime in section, guest's password, administrator password can be had simultaneously effectively.Optionally, can after intelligent door lock receives the password of outside input when request is unblanked, compare with the guest's password stored and administrator password respectively, if the password of request outside input when unblanking and guest's password with in both administrator passwords arbitrary identical time, intelligent door lock execution unlock operation.
Optionally, multiple cipher can be stored in storer, such as, same guest room is subscribed on the adjacent date when there being multiple user, and central server is not set to send unlocking cipher to intelligent door lock after moving in the Start Date of arrival, that is, in this case, store multiple guest's password in the storer of intelligent door lock, each guest's password has the respective use term of validity.Preferably, when central server arranges the unlocking cipher use term of validity, avoid the use term of validity of different guest's passwords of same intelligent door lock to overlap, namely different guest's passwords has different effective time respectively, so, ensure that in the same time that to only have guest's password effective.In this case, optionally, intelligent door lock receive unblank time outside input unlocking cipher after, first judge the use term of validity stored in storer, only read the unlocking cipher being in and using in the middle of the term of validity, when unblanking with request, the outside unlocking cipher inputted is compared.When ask unblank time outside input unlocking cipher identical with the unlocking cipher be in storer in the middle of the term of validity time, intelligent door lock execution unlock operation.
Optionally, in storer, can multiple cipher be stored, such as, store multiple guest's password and an administrator password.Preferably, when central server arranges the unlocking cipher use term of validity, ensure that different guest's passwords has the different use terms of validity respectively, and administrator password is set to continuously effective, or the use term of validity of administrator password is set to the longer time period, so, also can realize regularly or irregularly upgrading of administrator password, the threat of or the property safety personal for user preventing administrator password may be caused by revealing.Intelligent door lock receive unblank time outside input unlocking cipher after, first judge the use term of validity stored in storer, only read the unlocking cipher being in and using in the middle of the term of validity, the unlocking cipher that when unblanking with request, outside inputs is compared.When there being multiple password, as guest's password and an administrator password, when being in the term of validity simultaneously, unlocking cipher and the above-mentioned multiple passwords being in the term of validity of outside input when then the request received is unblanked by intelligent door lock contrast one by one, the unlocking cipher of the outside input when asking to unblank with above-mentioned be in multiple passwords of the term of validity arbitrary identical time, intelligent door lock execution unlock operation.
Step C, whether the password received when intelligent door lock comparison current request is unblanked and the unlocking cipher that central server returns be with consistent; When the unlocking cipher that the password received when current request is unblanked and central server return is consistent, intelligent door lock performs unlocking action;
Optionally, when user needs to move in, directly hold and receive and store the client device of unlocking cipher, by the communication interface module on client device, as NFC, bluetooth, WIFI, infrared etc., carry out communication alternately with intelligent door lock, the unlocking cipher on client device is read in by intelligent door lock;
Optionally, when user needs to move in, directly holding the unlocking cipher that client device receives, by inputting unlocking cipher on the entity input media be connected with intelligent door lock, making intelligent door lock read in unlocking cipher
Optionally, when user needs hotel service during moving in, client device access can be directly used to be arranged at the web page server of central server, select service content and service time, after central server receives the request of client, by client ask service content and be sent to management equipment service time.
By above-mentioned technical characteristic, user can by unlocking cipher or the client device having unlocking cipher, directly unblank and complete to move in, not be used in foreground wait for staff's confirmation and distribute CUSTOM HOUSE HOTEL, achieve independently moving in of user, hommization, intelligentizedly move in experience for user provides.
Step D: after moving in beginning, intelligent door lock and server monitors unlocking cipher use the term of validity.
Preferably, when using in the premature preset time period of the term of validity at unlocking cipher, central server sends prompting message to client device.
Optionally, when unlocking cipher uses the term of validity to after date, when the time of moving in that namely user is predetermined arrives, intelligent door lock generates or receives the instruction of the removing unlocking cipher that central server sends automatically.If user terminates to move in but not yet arrives the term of validity expiration time of unlocking cipher, user has just been undertaken quitting the subscription of operation by client device, or press the button of checking out be connected with intelligent door lock when user withdraws from a room, so intelligent door lock receives the instruction of removing unlocking cipher.
Step e, the instruction of the removing unlocking cipher that intelligent door lock obtains according to any one mode in step D, removes the unlocking cipher stored.
Concrete, after intelligent door lock receives or generate the instruction of removing unlocking cipher, the storer in intelligent door lock can send the instruction of removing unlocking cipher to control module, is removed by the unlocking cipher stored by storer.After room unlocking cipher is eliminated, intelligent door lock no longer identifies that the unlocking cipher that user holds, user lose the authority using room.
Step F: after intelligent door lock removes unlocking cipher, confirms to central server transmission the receipt deleting password, after central server confirms that password is removed, sends the new unlocking cipher of central server generation to intelligent door lock and management equipment.
Optionally, the information that central server is checked out to management equipment transmission current room, hotel staff can hold the unlocking cipher that management equipment receives, and cleans and arrange room.If user has gone to the wrong way room because of carelessness, the intelligent door lock in so wrong room has also had two states, and one is store the unlocking cipher that other users make a reservation for rear generation, and another is the idle room owing to not yet there being user predetermined; When the room that user goes to the wrong way is for the first state, intelligent door lock, by comparison password, when finding inconsistent, is refused to unblank for unauthorized user; Further, can arrange threshold value, when inputting code error number of times and exceeding this threshold value, intelligent door lock sends abnormality alarm to hotel management equipment, can by hotel staff assist process; When the room that user goes to the wrong way is the second state, if do not store any encrypted message in intelligent door lock, so intelligent door lock refuses any type of unlock operation; But under normal circumstances, store another unlocking cipher in intelligent door lock, the password that this unlocking cipher and central server send to management equipment after confirming to check out is identical.
Embodiment two
The embodiment of the present invention additionally provides a kind of central control device of intelligent door lock.It should be noted that, the central control device of the intelligent door lock of the embodiment of the present invention may be used for the centralized control method performing the intelligent door lock that the embodiment of the present invention provides, and the central control device of the intelligent door lock that the centralized control method of the intelligent door lock of the embodiment of the present invention also can be provided by the embodiment of the present invention performs.
Fig. 2 is the structural representation of the central control device of intelligent door lock according to the embodiment of the present invention.As shown in Figure 2, the central control device of this intelligent door lock comprises:
First receiver module 10, for the unlocking cipher making intelligent door lock reception server return;
Memory module 20, for storing the unlocking cipher received; Other data such as the term of validity are used with the such as unlocking cipher that server returns;
Contrast module 30: the unlocking cipher of the password received when unblanking for intelligent door lock comparison current request and storage and whether consistent; When the password received when current request is unblanked is consistent with the unlocking cipher of storage, intelligent door lock performs unlocking action;
Second receiver module 40, generates for making intelligent door lock or receives the instruction of removing unlocking cipher;
Remove memory module 50, for removing the unlocking cipher of storage.
Wherein, before the first receiver module 10, device also comprises: resource reservation module, for receiving the resource reservation data of client and completing resource reservation, at least comprise in resource reservation data: the resource reservation start time, the resource reservation end time, the user profile etc. of predetermined resource.Resource reservation module also comprises: submodule 1: unlocking cipher generation unit, for according to resource reservation data genaration unlocking cipher; Submodule 2: unlocking cipher transmitting element, for according to resource reservation start time and predetermined first time period, from scheduled start tine point or forward or backward in first time period, unlocking cipher is sent to client device and intelligent door lock respectively; Submodule 3: unlocking cipher uses term of validity setting unit, for arranging the use term of validity of unlocking cipher according to the resource reservation end time; Submodule 4: notice and inquiry unit, for according to resource reservation end time and the second predetermined time period, from in scheduled closing time point the second time period forward, to client device send notice that the resource reservation time closes to an end also inquiry whether renew the information of resource.
Wherein, after removing memory module 50, device also comprises: receipt confirms module, for receiving receipt that password removed and confirming clearing password information; And sending module, for sending the new unlocking cipher that server generates to intelligent door lock and management equipment.
Wherein, comparing module 30 also comprises: receiving element, for receiving the password used when current request is unblanked; Reading unit, for reading the unlocking cipher of storage from storer; Comparing unit: when unblanking for comparison request, whether the password of use and the unlocking cipher of storage be with consistent.Concrete, receiving element comprises the first receiving element and/or the second receiving element: the first receiving element is used for receiving from the entity input media be connected with intelligent door lock the unlocking cipher inputted; Second receiving element is used for, by mutual with the communication of client device or management equipment, receiving the unlocking cipher of client or management equipment transmission.
Wherein, before the second receiver module 40, device also can comprise: generation module and/or the 3rd receiver module, and generation module is used for when intelligent door lock monitors the use term of validity exceeding unlocking cipher, generates the instruction of removing unlocking cipher.The instruction of the removing unlocking cipher that the 3rd receiver module generates for the equipment received beyond intelligent door lock, if monitoring server is to the use term of validity exceeding unlocking cipher, signal is quit the subscription of with the resource receiving client device transmission when server, with the resource to be connected with intelligent door lock quits the subscription of device when being triggered, the signal of the removing unlocking cipher generated when any one situation occurs in three.
Embodiment three
The embodiment of the present invention additionally provides a kind of centralized control system of intelligent door lock.
Fig. 3 is the structural representation of the centralized control system of intelligent door lock according to the embodiment of the present invention.As shown in Figure 3, the centralized control system of intelligent door lock comprises: several client devices, server, management equipment and the intelligent door lock that are connected to each other by network; Wherein,
Client device receives user's trigger pip, sends resource reservation data to server; And the unlocking cipher that reception server returns;
Server receives and storage resources tentation data, and according to the use term of validity of resource reservation data genaration unlocking cipher and unlocking cipher, unlocking cipher is sent to client device and intelligent door lock by server, or unlocking cipher is sent to management equipment and intelligent door lock; The use term of validity of unlocking cipher is sent to intelligent door lock by server;
Wherein, resource reservation data at least can comprise: the resource reservation start time, resource reservation end time, the user profile etc. of predetermined resource.Concrete, reservation of resources data can be the subscription data of client for hotel room, the subscription data for apartment, tentation data for centralized picking cabinet, such as, hotel's title, hotel room number, room door lock ID can be comprised for the tentation data of hotel room, move in date, the date of checking out etc.; Tentation data for apartment can comprise: the door lock ID in apartment title, tenements number, this room, apartment, move in date, the date of checking out, cleaning service, moving service etc.; Tentation data for centralized picking cabinet can comprise: picking cabinet position, picking cabinet numbering, in picking cabinet concrete case number (CN), this concrete case number (CN) ID, estimate stored in the article time, estimate stored in type of goods, estimate to take the article time etc. away.For the tentation data of other resources, can the rest may be inferred.
Optionally, the use term of validity of unlocking cipher starts from the resource reservation start time, terminates in the resource reservation end time.
Preferably, server can according to resource reservation start time and predetermined first time period, lighting from scheduled start tine or in first time period forward or backward, unlocking cipher is sent to client device and intelligent door lock respectively; First time period is, such as, and one hour.The above-mentioned resource reservation start time, for user by client device to server predetermined time will bringing into use scheduled resource.
Preferably, server, according to resource reservation end time and the second predetermined time period, from scheduled closing time point the second time period forward, sends the resource reservation time to client device and closes to an end and inquire the information of whether renewing resource.Second time period was, such as, and one hour.The above-mentioned resource reservation start time, for user by client device to server predetermined time will bringing into use scheduled resource.
Optionally, server receives the predetermined information of user, can pass through the identity information certification of internet completing user, to meet the requirement that public security organ's registration I.D. real name is moved in.Such as, the method of server completing user identity information certification comprises: the identification card number that server inputs from resource reservation extracting data user, and/or, the photo that user uploads, server inquires about identification card number information from Ministry of Public Security's database, and/or, the photo stored in the photo that comparison user uploads and Ministry of Public Security's database.Or, such as, the method of server completing user identity information certification comprises: Server remote calls the camera of client, obtains the photo of user and the photo of user identity card by the camera of client, compares with the information in Ministry of Public Security database.
Optionally, user is when carrying out resource reservation by server, as long as intelligent door lock is connected by network with server, and establish contact by same agreement, just can not go to make a reservation for by the restriction of region or group and use resource, the application, from the angle of intelligent door lock, achieves the unified integration management of multiple resource.
The unlocking cipher that intelligent door lock reception server generates, and store unlocking cipher; And intelligent door lock receives removes unlocking cipher instruction, and removes unlocking cipher;
Optionally, intelligent door lock can be first connected with server by network, and sets up correspondence with server, and server can be known, and whether intelligent door lock is current can use, the useless operation of server during to avoid intelligent door lock unavailable.In intelligent door lock, there is storer, can be used for storing the such as unlocking cipher that unlocking cipher and server return and use other data such as the term of validity.
Optionally, the password that can unblank, is generated by server, and is transferred to client device or management equipment.Unlocking cipher can adopt encrypted transmission, all performs identical algorithms for encryption and decryption at the transmitting terminal of unlocking cipher and receiving end.When not storing any encrypted message in storer, intelligent door lock can refuse any type of request of unblanking, and can setting up a flag register, whether receiving unlocking cipher for identifying intelligent door lock in intelligent door lock.Preferably, after intelligent door lock dispatches from the factory and comes into operation, intelligent door lock is before whether comparison password is consistent, first the flag register in intelligent door lock can be read, when the current intelligent door lock of the data representation stored in flag register does not receive unlocking cipher, the comparing unit in intelligent door lock can refuse the password received when unblanking that accepts request.
Optionally, when storing many group unlocking ciphers in intelligent door lock, such as, store the unlocking cipher that one or more server issues intelligent door lock and client device simultaneously in intelligent door lock simultaneously, be called for short the first unlocking cipher, and server issues the unlocking cipher of intelligent door lock and management equipment simultaneously, be called for short the second unlocking cipher; Optionally, when storing the first unlocking cipher that many groups use the term of validity different in intelligent door lock, after the unlocking cipher of intelligent door lock outside input when receiving request and unblanking, first the use term of validity of all first unlocking ciphers stored is judged, only read unique first unlocking cipher being in and using in the middle of the term of validity, when unblanking with request, the outside unlocking cipher inputted is compared.
Optionally, when only storing first unlocking cipher and second unlocking cipher in intelligent door lock, after intelligent door lock receives the password of outside input when request is unblanked, compare with the first unlocking cipher stored and the second unlocking cipher respectively, if the password of request outside input when unblanking and the first unlocking cipher with in both the second unlocking ciphers arbitrary identical time, intelligent door lock execution unlock operation.
Optionally, when storing multiple first unlocking ciphers and one or more second unlocking cipher in intelligent door lock, intelligent door lock receive unblank time outside input unlocking cipher after, first the use term of validity stored in storer is judged, only read to be in and use the first unlocking cipher in the middle of the term of validity and be in the second unlocking cipher used in the middle of the term of validity, when unblanking with request, the outside unlocking cipher inputted is compared; When having first unlocking cipher and second unlocking cipher is in the term of validity simultaneously, the unlocking cipher of outside input when then the request received is unblanked by intelligent door lock and above-mentioned be in the term of validity the first unlocking cipher and the second unlocking cipher contrast one by one, the unlocking cipher of the outside input when asking to unblank and above-mentioned the first unlocking cipher being in the term of validity with in the second unlocking cipher arbitrary identical time, intelligent door lock execution unlock operation.Preferably, the use term of validity of the second unlocking cipher of same intelligent door lock is also without the section time of coincidence.
Optionally, the generating mode of instruction removing unlocking cipher can comprise following any one or multiple: mode 1: when monitoring server is to the use term of validity exceeding unlocking cipher, signal is quit the subscription of with the resource receiving client device transmission when server, when in the two, any one situation occurs, server sends the instruction of removing unlocking cipher to intelligent door lock; Mode 2: when the resource be connected with intelligent door lock quit the subscription of device receive trigger pip time, resource is quit the subscription of device and is sent to intelligent door lock and remove the instruction of unlocking cipher; Mode 3: the use term of validity of the unlocking cipher that intelligent door lock reception server sends, when intelligent door lock monitors the use term of validity exceeding unlocking cipher, intelligent door lock generates the instruction of removing unlocking cipher.
Optionally, intelligent door lock can remove the instruction of unlocking cipher by network reception, also can generate the instruction of removing unlocking cipher in the inside of intelligent door lock.After intelligent door lock receives or generate the instruction of removing unlocking cipher, the storer in intelligent door lock can send the instruction of removing unlocking cipher to control module, is removed by the unlocking cipher stored.
The resource reservation data of management equipment reception server transmission and unlocking cipher.
Optionally, management equipment also reception server transmission resource reservation data.Management equipment receives resource reservation data, can have a clear understanding of the predetermined case of the resource in institute compass of competency; Optionally, clearing password information, resource that management equipment is transmitted by reception server quit the subscription of information, exceed user accesses to your password the information such as the term of validity, real-time understanding resource service condition.
By said system, server dual lock password carries out distributing and managing, and ustomer premises access equipment can obtain in the intelligent door lock with predetermined resource and store the identical unlocking cipher of password, completes the coupling of password.To sum up, to solve in prior art and the problem of poor stability loaded down with trivial details to the releasing process of intelligent door lock, the releasing process reached as intelligent door lock provides convenient and the high unlock method effect of security.
Wherein, intelligent door lock comprises: storer, for storing unlocking cipher; Input interface, wherein, input interface also comprises: the first input interface, for the unlocking cipher that reception server sends; Second input interface, uses the term of validity for reception server according to the resource of resource reservation information distribution; 3rd input interface, user receives the trigger pip that the resource be connected with intelligent door lock quits the subscription of device; 4th input interface, for receiving the password used when request is unblanked; Processor, for receiving and process the data that input interface receives.
Wherein, the unlocking cipher that the password received when intelligent door lock comparison current request is unblanked and server the return step consistent with whether comprises: step 1: receive the password used when current request is unblanked; Step 2: the unlocking cipher reading storage from storer; Step 3: when comparison request is unblanked, whether the password of use and the unlocking cipher of storage be with consistent; Wherein, the mode receiving the password used when current request is unblanked comprises: intelligent door lock receives by the entity input media be connected with intelligent door lock the unlocking cipher inputted; Intelligent door lock, by mutual with the communication of client device or management equipment, receives the unlocking cipher of client or management equipment transmission.
Wherein, the step that processor receives the data received with process input interface comprises: whether the unlocking cipher in recognition memory is identical with the unlocking cipher that input interface receives, identify whether to send the instruction of removing unlocking cipher to storer, and identify whether to initiate a message to hotel management centring system, and the classification of message.
Wherein, client device comprises: personal computer, notebook computer, collection, panel computer, intelligent television and have the integrated circuit card with internet synchronizing function.
Wherein, intelligent door lock is by the direct-connected internet of WIFI, GPRS, 3G, 4G, or by gateway transfer connecting Internet, wherein, the connected mode of intelligent door lock and gateway comprises: 2.4G, bluetooth, Zigbee.
It should be noted that, each example optionally realized with preferred embodiment that the system embodiment that above-described embodiment three provides and above-described embodiment one provide is identical with application scenarios, but is not limited to the content disclosed in above-described embodiment one herein.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed device, the mode by other realizes.Such as, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, mobile terminal, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.