CN108550208A - Method for managing user right, server and the readable medium of intelligent door lock - Google Patents

Method for managing user right, server and the readable medium of intelligent door lock Download PDF

Info

Publication number
CN108550208A
CN108550208A CN201810313288.6A CN201810313288A CN108550208A CN 108550208 A CN108550208 A CN 108550208A CN 201810313288 A CN201810313288 A CN 201810313288A CN 108550208 A CN108550208 A CN 108550208A
Authority
CN
China
Prior art keywords
user
unlock
door lock
intelligent door
permission
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.)
Granted
Application number
CN201810313288.6A
Other languages
Chinese (zh)
Other versions
CN108550208B (en
Inventor
孔靓
曾文林
杨乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Liang Gong Innovative Application Technology Co Ltd
Original Assignee
Shenzhen Liang Gong Innovative Application Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Liang Gong Innovative Application Technology Co Ltd filed Critical Shenzhen Liang Gong Innovative Application Technology Co Ltd
Priority to CN201810313288.6A priority Critical patent/CN108550208B/en
Publication of CN108550208A publication Critical patent/CN108550208A/en
Application granted granted Critical
Publication of CN108550208B publication Critical patent/CN108550208B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a kind of method for managing user right of intelligent door lock, the method for managing user right of the intelligent door lock includes the following steps:When receiving the unlock instruction of the first user or second user transmission, first user or second user information are obtained, wherein user information includes the unlock authority information of user;Corresponding virtual key is generated according to unlock authority information, executes the unlock instruction;When the virtual key meets preset condition subsequent, the unlock permission is released.The invention also discloses a kind of server and computer readable storage mediums.It realizes the unlock permission to user and carries out time-effectiveness and number management, and unlock permission can not be got in the case where agreeing to not over client.

Description

Method for managing user right, server and the readable medium of intelligent door lock
Technical field
The present invention relates to intelligent door lock field more particularly to a kind of method for managing user right of intelligent door lock, servers And computer readable storage medium.
Background technology
In the information-based high speed development epoch, intelligent door lock has entered into the building such as residential quarters, office building or building.Side Just, succinct mode is increasingly liked by user, but also brings safety problem simultaneously.Intelligent door lock is needed and is used when in use The mobile terminal at family is bound, and when there is visitor's arrival, is needed when oneself staying out by the unlocking right of intelligent door lock Limit is shared with visitor by mobile terminal and uses, and since unlock permission does not have timeliness and number limitation, there are prodigious safety Hidden danger.Alternatively, under the agreement not over user, the unlock permission of intelligent door lock is got.For example, leading to permission will be unlocked It crosses after mobile terminal is shared with visitor's use, visitor has been shared with other people by permission is unlocked.The person of obtaining is that the mobile terminal of visitor is lost , unlock permission has been shared with other people etc., to bring some unnecessary troubles to user.
Invention content
The main purpose of the present invention is to provide a kind of method for managing user right of intelligent door lock, it is intended to solve intelligent door The user of lock, which unlocks permission, does not have timeliness and number limitation, and gets unlock under the agreement not over the first user The technical issues of permission.
To achieve the above object, the present invention provides a kind of method for managing user right of intelligent door lock, the intelligent door lock Method for managing user right include the following steps:
When receiving the unlock instruction of the first user or second user transmission, first user or second user are obtained Information, wherein user information includes the unlock authority information of user;
Corresponding virtual key is generated according to unlock authority information, executes the unlock instruction;
When the virtual key meets preset condition subsequent, the unlock permission is released.Preferably, described to receive To before the step of the unlock instruction of the first user or second user transmission, including:
When corresponding unlock permission is sent to second user by first user by mobile terminal, described the is obtained The unlock instruction that one user or second user are sent.
Preferably, described when receiving unlock instruction, obtain the step information of the user information:
When receiving the unlock instruction that the first user or second user are sent by mobile terminal, obtains described first and use The identity information of family or the second user;
According to first user or the identity information of the second user, searched in unlocking rights database corresponding Unlock authority information.
Preferably, described obtain searches for corresponding unlock authority information step in unlocking rights database, including:
When the corresponding unlock authority information of first user searched and the second user identity information be not corresponding When, the corresponding unlock authority information of first user is sent to the client of third user with the second user identity information End;
When receiving the authorization message that the third user is sent by client, obtain described in the client authorization The corresponding unlock permission of second user or the corresponding unlock permission of first user.
Preferably, described according to the corresponding virtual key of unlock permission build, execute the step of the unlock instruction Suddenly include:
When first user or the corresponding unlocking right of second user are limited to unlock number, given birth to according to the unlock number At corresponding virtual key, the unlock instruction is executed.
Preferably, the step of execution unlock instruction further includes:
It prescribes a time limit when first user or the corresponding unlocking right of second user are limited to unlock, is given birth to according to the unlock time limit At corresponding virtual key, the unlock instruction is executed.
Preferably, described when the virtual key meets preset condition subsequent, release the unlock permission the step of Including:
When the access times of the virtual key of record meet the unlock number, the first user or the second use are released The unlock permission at family.
Preferably, the step of unlock permission for releasing the first user or second user further includes:
It prescribes a time limit when the usage time of the virtual key of record meets the unlock, releases the first user or the second use The unlock permission at family.
In addition, to achieve the above object, the present invention also provides a kind of servers, which is characterized in that the server includes: Memory, processor and the user right pipe for being stored in the intelligent door lock that can be run on the memory and on the processor Program is managed, the user authority management program of the intelligent door lock realizes intelligent door lock as described above when being executed by the processor The step of method for managing user right.
In addition, to achieve the above object, the present invention also provides a kind of computer readable storage mediums, which is characterized in that institute State the user authority management program that intelligent door lock is stored on computer readable storage medium, the user right of the intelligent door lock The step of method for managing user right of intelligent door lock as described above is realized when management program is executed by processor.
It the method for managing user right of a kind of intelligent door lock that the embodiment of the present invention proposes, server and computer-readable deposits Storage media, by when receiving the unlock instruction of the first user or second user transmission, obtaining first user or second User information, wherein user information includes the unlock authority information of user;It is generated according to unlock authority information corresponding virtual Key executes the unlock instruction;When the virtual key meets preset condition subsequent, the unlock permission is released, it is real Show and permission progress time-effectiveness and number management are unlocked to user, and can not have been got in the case where agreeing to not over client Unlock permission.
Description of the drawings
Fig. 1 is the server architecture schematic diagram that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the first embodiment of the method for managing user right of intelligent door lock of the present invention;
Fig. 3 is the flow diagram of the second embodiment of the method for managing user right of intelligent door lock of the present invention;
Fig. 4 is the flow diagram of the 3rd embodiment of the method for managing user right of intelligent door lock of the present invention;
Fig. 5 is the flow diagram of the fourth embodiment of the method for managing user right of intelligent door lock of the present invention;
Fig. 6 is the flow diagram of the 5th embodiment of the method for managing user right of intelligent door lock of the present invention;
Fig. 7 is the flow diagram of the sixth embodiment of the method for managing user right of intelligent door lock of the present invention;
Fig. 8 is the flow diagram of the 7th embodiment of the method for managing user right of intelligent door lock of the present invention;
Fig. 9 is the flow diagram of the 8th embodiment of the method for managing user right of intelligent door lock of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:Receive the unlock instruction of the first user or second user transmission When, obtain first user or second user information, wherein user information includes the unlock authority information of user;According to solution It locks authority information and generates corresponding virtual key, execute the unlock instruction;Meet preset releasing in the virtual key When condition, the unlock permission is released.
Since user's unlock permission that the prior art cannot solve intelligent door lock does not have timeliness and number limitation, Yi Ji Not over getting unlock permission under the agreement of client.
The present invention provides a solution, makes to unlock permission progress time-effectiveness and number management, Yi Ji to user Unlock permission can not be got under agreeing to not over client.
Fig. 1 is the server architecture schematic diagram that the embodiment of the present invention is related to.
Terminal server of the embodiment of the present invention.
As shown in Figure 1, the server may include:Processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 may include optionally that the wired of standard connects Mouth, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory, can also be stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, either combines certain components or different components arrangement.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage media Believe module, the user authority management program of Subscriber Interface Module SIM and intelligent door lock.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server Data communicate;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor 1001 can be used for calling the user authority management program of the intelligent door lock stored in memory 1005, and execute following operation:
When receiving the unlock instruction of the first user or second user transmission, first user or second user are obtained Information, wherein user information includes the unlock authority information of user;
Corresponding virtual key is generated according to unlock authority information, executes the unlock instruction;
When the virtual key meets preset condition subsequent, the unlock permission is released further, processor 1001 can call the user authority management program of the intelligent door lock stored in memory 1005, also execute following operation:
When corresponding unlock permission is sent to second user by first user by mobile terminal, described the is obtained The unlock instruction that one user or second user are sent.
Further, processor 1001 can call the user authority management journey of the intelligent door lock stored in memory 1005 Sequence also executes following operation:
When receiving the unlock instruction that the first user or second user are sent by mobile terminal, obtains described first and use The identity information of family or the second user;
According to first user or the identity information of the second user, searched in unlocking rights database corresponding Unlock authority information.
Further, processor 1001 can call the user authority management journey of the intelligent door lock stored in memory 1005 Sequence also executes following operation:
When the corresponding unlock authority information of first user searched and the second user identity information be not corresponding When, the corresponding unlock authority information of first user is sent to the client of third user with the second user identity information End;
When receiving the authorization message that the third user is sent by client, obtain described in the client authorization The corresponding unlock permission of second user or the corresponding unlock permission of first user.
Further, processor 1001 can call the user authority management journey of the intelligent door lock stored in memory 1005 Sequence also executes following operation:
When first user or the corresponding unlocking right of second user are limited to unlock number, given birth to according to the unlock number At corresponding virtual key, the unlock instruction is executed.
Further, processor 1001 can call the user authority management journey of the intelligent door lock stored in memory 1005 Sequence also executes following operation:
It prescribes a time limit when first user or the corresponding unlocking right of second user are limited to unlock, is given birth to according to the unlock time limit At corresponding virtual key, the unlock instruction is executed.
Further, processor 1001 can call the user authority management journey of the intelligent door lock stored in memory 1005 Sequence also executes following operation:
When the access times of the virtual key of record meet the unlock number, the first user or the second use are released The unlock permission at family.
Further, processor 1001 can call the user authority management journey of the intelligent door lock stored in memory 1005 Sequence also executes following operation:
It prescribes a time limit when the usage time of the virtual key of record meets the unlock, releases the first user or the second use The unlock permission at family.
With reference to Fig. 2, the present invention is a kind of flow diagram of the method for managing user right first embodiment of intelligent door lock, The method for managing user right of the intelligent door lock includes:
Step S10, when receiving the unlock instruction that the first user or second user are sent, obtain first user or Second user information, wherein user information includes the unlock authority information of user;
When server receives the unlock instruction of the first user or second user, the not no unlock permission of intelligent door lock It is completely visitor.Visitor will obtain unlock permission, be required for sending acquisition request to client, server is receiving visitor When the acquisition request sent by mobile terminal, the IP parameters that server reads the mobile terminal of visitor according to request is obtained, When client will unlock permission grant and give visitor, server binds the IP parameters of visitor and unlock permission, is deposited into In rights management data library, using the IP parameters of mobile terminal as being by the identity information of visitor.Client is sent out in server When the mandate unlock permission sent is transmitted to visitor, visitor just becomes the user of intelligent door lock.Receiving mobile terminal transmission When unlock instruction, the IP information of mobile terminal is obtained according to unlock instruction, so that it is determined that the identity information of the user of mobile terminal. It is corresponding that subscriber identity information can be got according to the identity information of user in the unlock rights database of server itself Unlock permission.Unlock permission is visitor in the unlocking request sent to the client of binding intelligent door lock, and client is according to visit The identity information of visitor and usage time etc., to the unlock permission of visitor's intelligent door lock.There are one clients, and as first What a user with intelligent door lock binding possessed.
Step S20 generates corresponding virtual key according to unlock authority information, executes the unlock instruction;
Server gets subscriber identity information correspondence according to subscriber identity information in the unlock rights database of itself Unlock permission, the corresponding virtual key of permission build will be unlocked.The corresponding unlock permission build of different user identity information Virtual key also differs, for example, the corresponding unlock permission of some subscriber identity informations is can only to be unlocked once to intelligent door lock Or repeatedly, that is, the virtual key generated has number limitation.The corresponding unlock permission of subscriber identity information be can only be Some period is unlocked intelligent door lock, that is, the virtual key generated has time limit limitation, according to the virtual of generation Key executes unlock instruction.
Step S30 releases the unlock permission when the virtual key meets preset condition subsequent.
Server obtains the authority information that user unlocks intelligent door lock, in the corresponding unlock permission build of subscriber identity information Virtual key meet and release the corresponding unlocking right of subscriber identity information and prescribe a time limit, release the unlock permission of user.For example, some use Identity information corresponding unlock permission in family is can only to be unlocked to intelligent door lock one or many, that is, the virtual key generated is that have time Number limitation.When the virtual key limited with number number after use, release the unlock permission of user.Some user's bodies The corresponding unlock permission of part information is can only to be unlocked to intelligent door lock in some period, that is, the virtual key generated is There is the time limit to limit.When the virtual key limited with the time limit is not when using in the time, the unlock permission of user is released.
In the present embodiment, server obtains the unlock authority information of user, root in the unlock instruction for receiving user According to unlock permission build virtual key corresponding with user information, unlock instruction is executed.Meet preset releasing in virtual key When condition, the unlock permission of user is released.It realizes in the case where the unlock permission of user meets condition subsequent, releases the unlock of user Permission has carried out better management to the unlock permission of user.
With reference to the flow signal that Fig. 3, Fig. 3 are the second embodiment of the method for managing user right of intelligent door lock of the present invention Figure is based on above-mentioned embodiment shown in Fig. 2, before the step S10, including:
Step S40 is obtained when corresponding unlock permission is sent to second user by first user by mobile terminal The unlock instruction for taking first user or second user to send;
When server receives the first user on mobile terminals by the link with the corresponding unlock permission of the first user Or Quick Response Code, when being sent to the mobile terminal of second user, the first user or second user are sent to service by permission is unlocked Device executes unlock instruction.For example, the first user on mobile terminals will be with the link or two dimension for unlocking permission by wechat The first user is corresponded to unlock permission and is sent to clothes by the first user or second user when code is sent to the mobile terminal of second user Business device sends unlock instruction to server..
In the present embodiment, server receives the first user and is sent to the second use by permission is unlocked by movement terminal When family, server gets the identity information and the corresponding unlock permission of the first user of second user.When the first user is when solution When lock permission issues second user, server must verify the identity information and unlock permission of second user, improve The safety of the unlock permission of intelligent door lock.
With reference to the flow signal that Fig. 4, Fig. 4 are the 3rd embodiment of the method for managing user right of intelligent door lock of the present invention Figure, is based on above-mentioned embodiment shown in Fig. 3, and the step S10 includes:
Step S11 obtains institute when receiving the unlock instruction that the first user or second user are sent by mobile terminal State the identity information of the first user or the second user.
Step S12 is searched according to first user or the identity information of the second user in unlocking rights database The corresponding unlock authority information of rope;
Server when receiving the first user or second user by the unlock instruction that sends on mobile terminals, according to The unlock instruction received gets the IP parameters of the first user or second user mobile terminal, is used according to the first user or second In the IP parameter acquirings to rights management data library at family with matched first user of IP parameters or the identity information of second user. When getting the identity information of the first user or second user, power is got according to the identity information of the first user or second user Unlock permission corresponding with the identity information of the first user or second user in limit management database.
In the present embodiment, server gets first when receiving the unlock instruction of the first user or second user The identity information of user or second user is obtained according to the identity information of the first user or second user in rights management data library Get the corresponding unlock permission of identity information of the first user or second user.It realizes different users and possesses different unlocks Permission preferably manages the unlock permission of user.
With reference to the flow signal that Fig. 5, Fig. 5 are the fourth embodiment of the method for managing user right of intelligent door lock of the present invention Figure, is based on above-mentioned embodiment shown in Fig. 2, and the step S12 includes:
Step S121, when the corresponding unlock authority information of first user searched and the second user identity are believed The corresponding unlock authority information of first user and the second user identity information third is sent to when breath is not to corresponding to use The client at family;
Step S122 obtains the client when receiving the authorization message that the third user is sent by client End authorizes the corresponding unlock permission of second user or the corresponding unlock permission of first user.
Believe with second user identity when server is obtained according to the identity information of second user in rights management data library The corresponding unlocking right of manner of breathing is prescribed a time limit, and the corresponding unlock permission of the second user identity information got is corresponding with the first user Unlock permission differs, or does not get the corresponding unlock permission of second user, judges the unlock permission of the first user Information and second user identity information be not corresponding.The unlock authority information of first user is sent to second user identity information The client of third user is audited.Third user is the user of intelligent door lock binding, can be to all user or visitor It authorizes door lock permission and authorizes unlock permission to second user by what client was sent when server receives third user, when obtaining Third subscription client is got to authorize the corresponding unlock permission of the first user of second user or authorize second user identity information Corresponding unlock permission.
In the present embodiment, server determines that the unlock permission of the first user and the identity information of second user be not corresponding When, the client that the unlock authority information of the first user is sent to third user with second user identity information is audited. The client transmission of third user is received in server authorizes unlock permission to second user, is authorized when getting client The corresponding unlock permission of the first user of second user or authorize second user identity information corresponding unlock permission.It realizes Do not have under the agreement of client, the unlock permission of oneself cannot be sent to other people by the user for possessing unlock permission, be improved The safety of intelligent door lock.
With reference to the flow signal that Fig. 6, Fig. 6 are the 5th embodiment of the method for managing user right of intelligent door lock of the present invention Figure, be based on above-mentioned embodiment shown in Fig. 2, the step S20, including:
Step S21, when first user or the corresponding unlocking right of second user are limited to unlock number, according to the solution It locks number and generates corresponding virtual key, execute the unlock instruction.
When the corresponding unlocking right of the identity information of the first user or second user is limited to unlock number, for example, when the One user or second user are prescribed a time limit to client request acquisition unlocking right, need on the client to award user according to user The unlock permission for weighing intelligent door lock is limited to unlock number, unlock time when user needs often to come to the unlocking right that user provides Number can by client come into selection, can be 1 time, 2 times, it is 3 inferior.Server is according to the first user or second user Number is unlocked, the virtual key with number limitation is generated, executes unlock instruction.Executing unlock instruction family.
In the present embodiment, server is determining that the first user or the corresponding unlocking right of second user identity information be limited to solve When locking number, the virtual key with number limitation is generated according to unlock number.Executing unlock instruction.It realizes according to user's The corresponding virtual key of number permission build is unlocked, realizes the unlock permission diversity of management intelligent door lock.
With reference to the flow signal that Fig. 7, Fig. 7 are the sixth embodiment of the method for managing user right of intelligent door lock of the present invention Figure, is based on above-mentioned embodiment shown in Fig. 2, and the step S20 further includes:
Step S22 prescribes a time limit when first user or the corresponding unlocking right of second user are limited to unlock, according to the solution The corresponding virtual key of time limit generation is locked, the unlock instruction is executed.
It prescribes a time limit when the corresponding unlocking right of the identity information of the first user or second user is limited to unlock, for example, when the One user or second user are prescribed a time limit to client request acquisition unlocking right, need on the client to award user according to user The unlock permission for weighing intelligent door lock, when user needs often to come a period of time, the unlocking right provided user is limited to unlock In the time limit, the unlock time limit can be by that, into selection, can be 1 day, 2 days, 3 days or some period etc. in client.Clothes Device be engaged according to the first user or the unlock time limit of second user, generates the virtual key with time limit limitation, executes unlock and refers to It enables.Executing unlock instruction family.
In the present embodiment, server is determining that the first user or the corresponding unlocking right of second user identity information be limited to solve It prescribes a time limit when lock, the virtual key with time limit limitation is generated according to the unlock time limit.Executing unlock instruction.It realizes according to user's The corresponding virtual key of timeliness permission build is unlocked, realizes the unlock permission diversity of management intelligent door lock.
With reference to the flow signal that Fig. 8, Fig. 8 are the 7th embodiment of the method for managing user right of intelligent door lock of the present invention Figure, is based on above-mentioned embodiment shown in Fig. 2, and the step S30 further includes:
S31 releases the first user or the when the access times of the virtual key of record meet the unlock number The unlock permission of two users.
Server records the access times of the virtual key of the first user or second user with number limitation, works as service There are device record the access times of the virtual key of number limitation to meet the first user or the corresponding unlock number of second user When, for example, when the access times that server records the virtual key of the first user or second user with number limitation are 3 times When, when the first user or the corresponding unlock number of second user are also 3 times, server records the first user or second user The use 3 times of virtual key with number limitation meets the first users or the corresponding unlock of second user 3 times.Server solution Except the first user or the corresponding unlock permission of second user.
In the present embodiment, meet first in the access times of the virtual key with number limitation of server record to use When family or the corresponding unlock number permission of second user, releases the first user or the corresponding unlock number of second user is weighed Limit.The unlock number permission of user is managed, keeps management more flexible, safe.
With reference to the flow signal that Fig. 9, Fig. 9 are the 8th embodiment of the method for managing user right of intelligent door lock of the present invention Figure, is based on above-mentioned embodiment shown in Fig. 2, and the step S30 further includes:
S32 prescribes a time limit when the usage time of the virtual key of record meets the unlock, releases the first user or the The unlock permission of two users.
Server records the usage time of the virtual key of the first user or second user with time restriction, works as service There is device record the usage time of the virtual key of number limitation to meet the first user or second user corresponding unlock time limit When, for example, when the access times that server records the virtual key of the first user or second user with time limit limitation are 3 days When, when the first user or the corresponding unlock number of second user are also 3 days, server records the first user or second user The use of virtual key with number limitation meets within 3 days the first user or second user is corresponding to be unlocked 3 days.Alternatively, working as The access times that server records the virtual key of the first user or second user with time limit limitation are 9:00-18:When 00, First user or the corresponding unlock number of second user are also 9:00-18:At 00 day, server records the first user or the Two users have the use 9 of the virtual key of number limitation:00-18:Meet the first user within 00 day or second user is corresponding Unlock 9:00-18:00 day, server released the first user or the corresponding unlock permission of second user.
In the present embodiment, meet first in the usage time of the virtual key with time limit limitation of server record to use It prescribes a time limit when family or the corresponding unlock number of second user, releases the first user or the second user corresponding unlock time limit weighs Limit.The unlock timeliness permission of user is managed, keeps management more flexible, safe.
The present invention also provides a kind of server, the server includes:Memory, processor and it is stored in the memory The user authority management program of intelligent door lock that is upper and can running on the processor, the user right pipe of the intelligent door lock The step of reason program realizes the method for managing user right of intelligent door lock described in invention as above when being executed by the processor.
The present invention also provides a kind of computer readable storage medium, intelligence is stored on the computer readable storage medium The user authority management program of door lock realizes as above hair when the user authority management program of the intelligent door lock is executed by processor The step of method for managing user right of intelligent door lock described in bright.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of method for managing user right of intelligent door lock, which is characterized in that the user authority management side of the intelligent door lock Method includes the following steps:
When receiving the unlock instruction of the first user or second user transmission, first user or second user letter are obtained Breath, wherein user information includes the unlock authority information of user;
Corresponding virtual key is generated according to unlock authority information, executes the unlock instruction;
When the virtual key meets preset condition subsequent, the unlock permission is released.
2. the method for managing user right of intelligent door lock as described in claim 1, which is characterized in that described to receive first Before the step of unlock instruction that user or second user are sent, including:
When corresponding unlock permission is sent to second user by first user by mobile terminal, obtains described first and use The unlock instruction that family or second user are sent.
3. the method for managing user right of intelligent door lock as claimed in claim 2, which is characterized in that described to receive unlock When instruction, the step information of the user information is obtained:
When receiving the unlock instruction that the first user or second user are sent by mobile terminal, obtain first user or The identity information of the second user;
According to first user or the identity information of the second user, corresponding unlock is searched in unlocking rights database Authority information.
4. the method for managing user right of intelligent door lock as claimed in claim 3, which is characterized in that described to obtain in unlock permission Corresponding unlock authority information step is searched in database, including:
When the corresponding unlock authority information of first user searched and the second user identity information not to it is corresponding when will The corresponding unlock authority information of first user and the second user identity information are sent to the client of third user;
When receiving the authorization message that the third user is sent by client, obtain second described in the client authorization The corresponding unlock permission of user or the corresponding unlock permission of first user.
5. the method for managing user right of intelligent door lock as claimed in claim 4, which is characterized in that described according to the unlock The corresponding virtual key of permission build, the step of executing the unlock instruction include:
When first user or the corresponding unlocking right of second user are limited to unlock number, according to unlock number generation pair The virtual key answered, executes the unlock instruction.
6. the method for managing user right of intelligent door lock as claimed in claim 5, which is characterized in that described to execute the unlock The step of instruction further includes:
It prescribes a time limit when first user or the corresponding unlocking right of second user are limited to unlock, according to unlock time limit generation pair The virtual key answered, executes the unlock instruction.
7. the method for managing user right of intelligent door lock as described in claim 1, which is characterized in that described to work as the virtual key Spoon is when meeting preset condition subsequent, and the step of releasing the unlock permission includes:
When the access times of the virtual key of record meet the unlock number, the first user or second user are released Unlock permission.
8. the method for managing user right of intelligent door lock as claimed in claim 7, which is characterized in that the first user of the releasing Or second user unlock permission the step of, further include:
It prescribes a time limit when the usage time of the virtual key of record meets the unlock, releases the first user or second user Unlock permission.
9. a kind of server, which is characterized in that the server includes:It memory, processor and is stored on the memory And the user authority management program for the intelligent door lock that can be run on the processor, the user authority management of the intelligent door lock The user authority management side of the intelligent door lock as described in any one of claim 1 to 8 is realized when program is executed by the processor The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with intelligent door on the computer readable storage medium The user authority management program of lock is realized when the user authority management program of the intelligent door lock is executed by processor as right is wanted The step of seeking the method for managing user right of the intelligent door lock described in any one of 1 to 8.
CN201810313288.6A 2018-04-09 2018-04-09 User authority management method of intelligent door lock, server and readable medium Active CN108550208B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810313288.6A CN108550208B (en) 2018-04-09 2018-04-09 User authority management method of intelligent door lock, server and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810313288.6A CN108550208B (en) 2018-04-09 2018-04-09 User authority management method of intelligent door lock, server and readable medium

Publications (2)

Publication Number Publication Date
CN108550208A true CN108550208A (en) 2018-09-18
CN108550208B CN108550208B (en) 2021-04-23

Family

ID=63514518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810313288.6A Active CN108550208B (en) 2018-04-09 2018-04-09 User authority management method of intelligent door lock, server and readable medium

Country Status (1)

Country Link
CN (1) CN108550208B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113338721A (en) * 2021-06-30 2021-09-03 珠海优特物联科技有限公司 Unlocking control method and device of door lock, storage medium, processor and door lock
CN114882621A (en) * 2022-04-27 2022-08-09 广东好太太智能家居有限公司 Method and system for releasing back locking of electronic lock and electronic lock system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104464045A (en) * 2014-11-11 2015-03-25 曾桓涛 Two-dimension code-based access control method and two-dimension code-based access control system
US20150267438A1 (en) * 2014-03-19 2015-09-24 Meghan Martinez Wireless door locking system
CN105447928A (en) * 2014-08-29 2016-03-30 青岛海尔智能家电科技有限公司 Entrance guard control method and control system thereof
CN106652106A (en) * 2015-10-29 2017-05-10 中兴通讯股份有限公司 Door lock control method, device and terminal
CN107341884A (en) * 2017-06-30 2017-11-10 王韧 A kind of Quick Response Code intelligent access control system and its implementation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150267438A1 (en) * 2014-03-19 2015-09-24 Meghan Martinez Wireless door locking system
CN105447928A (en) * 2014-08-29 2016-03-30 青岛海尔智能家电科技有限公司 Entrance guard control method and control system thereof
CN104464045A (en) * 2014-11-11 2015-03-25 曾桓涛 Two-dimension code-based access control method and two-dimension code-based access control system
CN106652106A (en) * 2015-10-29 2017-05-10 中兴通讯股份有限公司 Door lock control method, device and terminal
CN107341884A (en) * 2017-06-30 2017-11-10 王韧 A kind of Quick Response Code intelligent access control system and its implementation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113338721A (en) * 2021-06-30 2021-09-03 珠海优特物联科技有限公司 Unlocking control method and device of door lock, storage medium, processor and door lock
CN114882621A (en) * 2022-04-27 2022-08-09 广东好太太智能家居有限公司 Method and system for releasing back locking of electronic lock and electronic lock system

Also Published As

Publication number Publication date
CN108550208B (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN103988169B (en) Secure data based on tactful accordance is accessed
CN100474234C (en) Managing secure resources in web resources accessed by multiple portals
US8639926B2 (en) Techniques for mobile device authentication
CN101729541B (en) Method and system for accessing resources of multi-service platform
CN106534199B (en) Distributed system certification and rights management platform under big data environment based on XACML and SAML
CN105117657B (en) A kind of design method and system of the open mandate access based on intelligence s ervice
Kagal et al. A framework for distributed trust management
CN103283204A (en) Method for authorizing access to protected content
WO2009045607A1 (en) Methods and systems for user authorization
CN110021092A (en) A kind of lessee's access permission control method based on openid
CN109525570A (en) A kind of data hierarchy safety access control method of Cargo Oriented on Group client
CN109587126A (en) User anthority identifying method and system
CN110021086A (en) A method of the temporary Authorization opening gate based on openid
CN110276184A (en) A kind of cloud computing resources authorization method and device
CN108092945A (en) Definite method and apparatus, the terminal of access rights
CN109817347A (en) Inline diagnosis platform, its right management method and Rights Management System
CN108765649A (en) Electronic lock control method and device and system
CN106997440A (en) A kind of role access control method
CN108550208A (en) Method for managing user right, server and the readable medium of intelligent door lock
CN117411913B (en) Secure interaction method of cloud platform and health application based on power transformation
Wang et al. On the security of delegation in access control systems
CN110322610A (en) A kind of computer room cabinet operation permission information matching process
CN104994086B (en) A kind of control method and device of data-base cluster permission
CN109495514A (en) Mutual role help system and method based on edge termination
CN104753854A (en) Method for setting uniform Web interface for various authentication/authorization servers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant