CN110533800A - Intelligent door lock control method, device, electronic equipment and storage medium - Google Patents

Intelligent door lock control method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110533800A
CN110533800A CN201910390230.6A CN201910390230A CN110533800A CN 110533800 A CN110533800 A CN 110533800A CN 201910390230 A CN201910390230 A CN 201910390230A CN 110533800 A CN110533800 A CN 110533800A
Authority
CN
China
Prior art keywords
door lock
intelligent door
mobile terminal
mode
locally located
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
CN201910390230.6A
Other languages
Chinese (zh)
Other versions
CN110533800B (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 Aitken Stone Technology Co Ltd
Original Assignee
Shenzhen Aitken Stone 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 Aitken Stone Technology Co Ltd filed Critical Shenzhen Aitken Stone Technology Co Ltd
Priority to CN201910390230.6A priority Critical patent/CN110533800B/en
Publication of CN110533800A publication Critical patent/CN110533800A/en
Application granted granted Critical
Publication of CN110533800B publication Critical patent/CN110533800B/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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The embodiment of the present application discloses a kind of intelligent door lock control method, device, electronic equipment and storage medium, is related to intelligent door lock technical field.The described method includes: obtaining the status information that mode is locally located of intelligent door lock, this is locally located mode and is directly configured in the local of intelligent door lock to intelligent door lock for characterizing, if the mode that is locally located of intelligent door lock is open state, connection status based on the intelligent door lock and mobile terminal, intelligent door lock is arranged is locally located permission.Intelligent door lock control method, device, electronic equipment and storage medium provided by the embodiments of the present application by intelligent door lock be locally located mode be open state when, permission is locally located according to the connection status of intelligent door lock and mobile terminal setting intelligent door lock, to promote user to the control of intelligent door lock, the safety of intelligent door lock and user experience.

Description

Intelligent door lock control method, device, electronic equipment and storage medium
Technical field
This application involves intelligent door lock technical fields, more particularly, to a kind of intelligent door lock control method, device, electricity Sub- equipment and storage medium.
Background technique
With the rapid development of intelligent door lock industry, more and more families have all used intelligent door lock, and one intelligent Door lock can only bind an account (account of the owner of intelligent door lock), and the owner of intelligent door lock can be in intelligent door lock The unlocking verification mode of the owner of other non intelligent door locks of typing.But the owner of intelligent door lock is compared to non intelligent door The owner of lock is not much different in the setting permission of intelligent door lock, and user experience is bad.
Summary of the invention
In view of the above problems, present applicant proposes a kind of intelligent door lock control method, device, electronic equipment and storages Medium, to solve the above problems.
In a first aspect, the embodiment of the present application provides a kind of intelligent door lock control method, which comprises obtain intelligence The status information that mode is locally located of energy door lock, the mode that is locally located is for characterizing directly in the intelligent door lock It is local that the intelligent door lock is configured;If the mode that is locally located of the intelligent door lock is open state, it is based on the intelligence The connection status of energy door lock and mobile terminal, the intelligent door lock is arranged is locally located permission.
Second aspect, the embodiment of the present application provide a kind of intelligent door lock control device, and described device includes: state letter Breath obtains module, and for obtaining the status information that mode is locally located of intelligent door lock, the mode that is locally located is for characterizing Directly the intelligent door lock is configured in the local of the intelligent door lock;Priority assignation module, if being used for the intelligent door The mode that is locally located of lock is open state, and the intelligence is arranged in the connection status based on the intelligent door lock and mobile terminal Permission is locally located in door lock.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: memory;One or more processing Device is coupled with the memory;One or more application program, wherein one or more of application programs are stored in institute It states in memory and is configured as being executed by one or more of processors, one or more of programs are configured to hold The intelligent door lock control method that the above-mentioned first aspect of row provides.
Fourth aspect, the embodiment of the present application provides a kind of computer-readable storage medium, described computer-readable Program code is stored in storage medium, said program code can be called the intelligence for executing above-mentioned first aspect and providing by processor It can control method for door lock.
In the embodiment of the present application, the status information that mode is locally located of intelligent door lock is obtained, mode use is locally located in this Directly intelligent door lock is configured in the local of intelligent door lock in characterization, if mode is locally located to open in intelligent door lock State, the connection status based on the intelligent door lock and mobile terminal, intelligent door lock is arranged is locally located permission, to pass through Intelligent door lock be locally located mode be open state when, according to the connection status of intelligent door lock and mobile terminal be arranged intelligence Permission is locally located in energy door lock, to promote user to the control of intelligent door lock, the safety of intelligent door lock and user's body It tests.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, required in being described below to embodiment The attached drawing used is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, For those skilled in the art, without creative efforts, other be can also be obtained according to these attached drawings Attached drawing.
Fig. 1 shows the application environment schematic diagram of intelligent door lock control method provided by the embodiments of the present application;
Fig. 2 shows the flow diagrams for the intelligent door lock control method that the application one embodiment provides;
Fig. 3 shows the flow diagram of the intelligent door lock control method of another embodiment of the application offer;
Fig. 4 shows the flow diagram of the step S210 of the intelligent door lock control method shown in Fig. 3 of the application;
Fig. 5 shows the flow diagram of the intelligent door lock control method of the application further embodiment offer;
Fig. 6 shows the flow diagram of the intelligent door lock control method of another embodiment of the application offer;
Fig. 7 shows the flow diagram of the step S410 of the intelligent door lock control method shown in fig. 6 of the application;
Fig. 8 shows the module frame chart of intelligent door lock control device provided by the embodiments of the present application;
Fig. 9 shows the structural block diagram of mobile terminal provided by the embodiments of the present application;
Figure 10 shows the structural block diagram of intelligent door lock provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described.
With the rapid development of intelligent door lock industry, more and more families have all used intelligent door lock, and one intelligent Door lock can only bind an account (account of the owner of intelligent door lock), and the owner of intelligent door lock can be in intelligent door lock The unlocking verification mode of the different user of typing different rights, wherein user right includes administrator's permission and common use Family permission, door lock owner possess administrator's permission.Generally, when user right is administrator right, user is correct After verifying unlocking verification mode, intelligent door lock can be configured in the local of intelligent door lock, therefore, when administrator uses When family is multiple, then, it unlocks in addition to other administrators of door lock owner in correct verification in multiple administrators After mode, intelligent door lock can be configured in the local of intelligent door lock, cause door lock owner for intelligent door lock The misgivings of ownership and control, user experience are bad.
In view of the above-mentioned problems, inventor has found by long-term research, and propose intelligence provided by the embodiments of the present application Control method, device, electronic equipment and the storage medium of door lock, by the way that mode is locally located as unlatching in intelligent door lock When state, permission is locally located according to the connection status of intelligent door lock and mobile terminal setting intelligent door lock, to promote user To the control of intelligent door lock, the safety of intelligent door lock and user experience.
It will describe in detail below to a kind of application environment involved in the embodiment of the present application.
Referring to Fig. 1, Fig. 1 is to apply ring suitable for a kind of of intelligent door lock control method provided by the embodiments of the present application Border schematic diagram.Wherein, application environment schematic diagram shown in FIG. 1 includes mobile terminal 100, server 200 and intelligent door lock 300, and server 200 is connect with mobile terminal 100 and intelligent door lock 300 respectively, wherein mobile terminal 100 can pass through nothing Gauze network or data network are connect with server 200, for example, mobile terminal 100 can be connect by WiFi with server 200, Or connect by 2G/3G/4G/5G network with server 200, to realize the number between mobile terminal 100 and server 200 According to interaction.Wherein, which may include PC, smart phone, tablet computer etc., it is not limited here. Similarly, intelligent door lock 300 can be connect by wireless network or data network with server 200, for example, intelligent door lock 300 It can be connect by WiFi with server 200, or be connect by 2G/3G/4G/5G network with server 300, to realize intelligence Data interaction between energy door lock 300 and server 200.
Further, the mobile terminal 100 and intelligent door lock 300 may be at connection status, also may be at disconnected State, wherein when the mobile terminal 100 and intelligent door lock 300 are in connection status, the mobile terminal 100 and intelligent door lock 300 can pass through Wireless Fidelity WiFi connection, bluetooth Bluetooth connection, bluetooth low energy consumption (Bluetooth Low Energy, BLE) connection or purple peak ZigBee connection etc., it is not limited here.
It will describe in detail below to intelligent door lock control method provided by the embodiments of the present application.
Referring to Fig. 2, the process signal of the intelligent door lock control method provided Fig. 2 shows the application one embodiment Figure.This method is applied to mobile terminal, will be described in detail below for process shown in Fig. 2, the intelligent door lock control Method processed can specifically include following steps:
Step S110: the status information that mode is locally located of acquisition for mobile terminal intelligent door lock, it is described that mould is locally located Formula is directly configured the intelligent door lock in the local of the intelligent door lock for characterizing.
In the present embodiment, the set-up mode of the intelligent door lock at least may include the mode that is locally located and remotely located Mode (non-local Setting pattern).Wherein, mode is locally located can be directly in the local to intelligence of intelligent door lock for characterizing Door lock is configured, that is to say, that the mode of being locally located refers to that user can not depend on other instruction sending devices (such as movement Terminal), the mode that the operating status of intelligent door lock can be configured directly on intelligent door lock.Wherein, remotely located mould Formula is configured intelligent door lock by long-range mode for characterizing, that is to say, that remotely located mode, which refers to, passes through instruction Sending device (such as mobile terminal) and intelligent door lock establish connection, and the connection of sending device and intelligent door lock based on instruction, will The mode that intelligent door lock is configured with the operating status to intelligent door lock is sent in the instruction of instruction sending device triggering.
In addition, the status information that mode is locally located at least may include the open state and sheet for the mode that is locally located The closed state of ground Setting pattern.
As an implementation, mobile terminal initially sets up the connection with intelligent door lock, for example, mobile terminal is established It is connect with the BLE of intelligent door lock, WiFi connection etc., is then based on the connection with intelligent door lock, send solicited message to intelligent door Lock, to indicate that the intelligent door lock responds the status information that mode is locally located that the solicited message feeds back the intelligent door lock.Its In, which can bind with state value, for example, when the status information for the mode that is locally located is When open state, the state value of binding can be tied up for " 1 " when the status information for the mode that is locally located is in off state Fixed state value can be " 0 ", then, the solicited message feedback states value that intelligent door lock can be sent based on the mobile terminal, It is understood that can determine the sheet of the intelligent door lock when mobile terminal receives intelligent door lock feedback states value " 1 " The status information of ground Setting pattern is open state, can be with when mobile terminal receives intelligent door lock feedback states value " 0 " Determine that the status information that mode is locally located of the intelligent door lock is in off state.
Step S120: if the mode that is locally located of the intelligent door lock is open state, the intelligent door lock and shifting are based on The connection status of dynamic terminal, the intelligent door lock is arranged is locally located permission.
Wherein, it if the mode that is locally located of acquisition for mobile terminal to the intelligent door lock is open state, can continue to test Connection status between the mobile terminal and intelligent door lock, and power is locally located based on connection status setting intelligent door lock Limit.
It is understood that the connection status between the mobile terminal and intelligent door lock includes: mobile terminal and intelligent door Lock is in notconnect state in connection status and mobile terminal and intelligent door lock, wherein mobile terminal and intelligent door lock It may include: that mobile terminal and intelligent door lock are in and disconnect state and mobile terminal and intelligence in notconnect state Door lock, which is in, attempts connection status.
In addition, the permission that is locally located of the intelligent door lock may include: all with the sheet that can carry out intelligent door lock per family Ground setting, the certain customers in all users can carry out being locally located of intelligent door lock, the administrator in all users Being locally located, being all with being locally located for intelligent door lock cannot be carried out per family for intelligent door lock can be carried out, is not done herein It limits.
As an implementation, determine the intelligent door lock be locally located mode be open state when, can be based on The connection status of the intelligent door lock and mobile terminal, setting is corresponding with connection status to be locally located permission.For example, when intelligence When door lock and mobile terminal are in connection status, the permission that is locally located of intelligent door lock can be closed, i.e., it is all to use per family not Intelligent door lock can be configured in the local of intelligent door lock;It, can when intelligent door lock and mobile terminal are in notconnect state Permission is locally located as all users unlatching in intelligent door lock, i.e., all use per family can be right in the local of intelligent door lock Intelligent door lock is configured;When intelligent door lock and mobile terminal are in notconnect state, the local of intelligent door lock can be set Setting permission is that the certain customers in all users open, i.e., certain customers can intelligent door lock it is local to intelligent door lock into Row setting, and the other users in all users in addition to the certain customers then cannot be in the local to intelligent door of intelligent door lock Lock is configured, and therefore, door lock owner can be by the connection of control mobile terminal and intelligent door lock to other use Family is controlled in the permission that is locally located of intelligent door lock, control and user's body of the lifting door lock owner to intelligent door lock It tests.
The intelligent door lock control method that the application one embodiment provides, the local of acquisition for mobile terminal intelligent door lock is set The status information of mode is set, this is locally located mode and directly sets in the local of intelligent door lock to intelligent door lock for characterizing Set, if intelligent door lock be locally located mode be open state, the connection status based on the intelligent door lock and mobile terminal, if That sets intelligent door lock is locally located permission, thus by intelligent door lock be locally located mode be open state when, according to intelligence Permission is locally located in the connection status of energy door lock and mobile terminal setting intelligent door lock, to promote user to intelligent door lock Control, the safety of intelligent door lock and user experience.
Referring to Fig. 3, the process that Fig. 3 shows the intelligent door lock control method of another embodiment of the application offer is shown It is intended to.This method is applied to mobile terminal, will be explained in detail below for process shown in Fig. 3, the intelligent door lock Control method can specifically include following steps:
Step S210: the connection of mobile terminal and intelligent door lock, the local of intelligent door lock described in acquisition for mobile terminal are established The status information of Setting pattern.
In this embodiment, mobile terminal can be bound with intelligent door lock by account, i.e. the mobile terminal and intelligent door lock It can be bound by the account of the door lock owner of the intelligent door lock, wherein the account can be the phone of door lock owner Number, the one number that can be the ID card No. of door lock owner or generate at random, it is not limited here. As an implementation, after mobile terminal is bound by account and intelligent door lock, which can be automatically created Then door lock owner user and intelligent door lock are carried out data correlation, and set the door by new door lock owner user Lock owner user is administrator.
As an implementation, the connection of mobile terminal and intelligent door lock is established by wireless communication technique trial, In, which includes but is not limited to BLE, WiFi, ZigBee.Wherein, when establishing mobile terminal and intelligent door lock When successful connection, which can obtain the mode that is locally located of the intelligent door lock based on the connection with intelligent door lock Status information;When establishing the connection failure of mobile terminal and intelligent door lock, which can continue to attempt to and intelligent door The connection of lock, and/or the prompt information of output connection failure, to prompt user to detect connecting fault.
Referring to Fig. 4, Fig. 4 shows the process of the step S210 of the intelligent door lock control method shown in Fig. 3 of the application Schematic diagram.It will be explained in detail below for process shown in Fig. 4, the intelligent door lock control method specifically can wrap Include following steps:
Step S211: establishing the connection of the mobile terminal Yu the intelligent door lock, whether to detect the mobile terminal At least one unlocking verification mode is added in the intelligent door lock.
As an implementation, after being successfully established the connection of mobile terminal and intelligent door lock, it can detecte the movement Whether terminal has added at least one unlocking verification mode in intelligent door lock, that is to say, that can detecte door lock owner Whether at least one unlocking verification mode is added in the intelligent door lock by the mobile terminal that account is bound, wherein this is opened Locking verification mode may include fingerprint authentication, password authentification, contactless card verifying, face verification, iris verification etc..
Step S212: it if the mobile terminal adds at least one unlocking verification mode in the intelligent door lock, obtains The status information that mode is locally located of the intelligent door lock.
Wherein, if testing result characterizes the mobile terminal and adds at least one unlocking verification mode in intelligent door lock, Fingerprint authentication is added in intelligent door lock, the mobile terminal is characterized and has existed for example, the testing result characterizes the mobile terminal When intelligent door lock adds fingerprint authentication and face verification, the status information that mode is locally located of the available intelligent door lock.
Step S213: if the mobile terminal does not add at least one unlocking verification mode in the intelligent door lock, control The mode that is locally located of the intelligent door lock is in close state.
Wherein, if testing result characterizes the mobile terminal and do not add at least one unlocking verification mode in intelligent door lock, That is if testing result characterizes the mobile terminal and do not add any unlocking verification mode in intelligent door lock, it can be direct The mode that is locally located of intelligent door lock is in close state, at this point, any use per family cannot be in the local to intelligence of intelligent door lock Energy door lock is configured, and door lock owner can only be waited to add at least one unlocking in intelligent door lock by mobile terminal After verification mode, then allow the mode that is locally located of smart machine being changed to open state, thereby may be ensured that the intelligent door The first unlocking verification mode of lock is configured by the owner of intelligent door lock, promotes control of the door lock owner for intelligent door lock System power.
Step S220: when receiving state change directive, based on the state change directive to the intelligent door lock The status information that mode is locally located is modified.
In the present embodiment, the mobile terminal get intelligent door lock the status information of mode is locally located after, can This to be locally located to the status information output of mode, for example, this can be locally located to the status information of mode with text Form is shown in the interface of mobile terminal, and the status information that this can also be locally located to mode exports in the form of speech, In This is without limitation.Further, the status information that mode is locally located that user is exported based on mobile terminal can be with triggering state Change directive, correspondingly, mobile terminal receive the state change directive, based on the state change directive to the sheet of intelligent door lock The status information of ground Setting pattern is modified.
For example, when the status information that mode is locally located of mobile terminal output is open state, then when receiving user When the state change directive of triggering, the state change directive can be responded by the status information for the mode that is locally located by opening state State change is in off state.In another example when the status information that mode is locally located of mobile terminal output is in off state, Then when receiving the state change directive of user's triggering, the state change directive can be responded by the shape for the mode that is locally located State information is changed to open state by closed state.
As a kind of enforceable mode, user can also set local in mobile terminal triggering state change directive The change time of the status information of Setting pattern, to indicate the intelligent door lock at the appointed time to the shape for the mode that is locally located State information is modified.
For example, when the status information that mode is locally located of mobile terminal output is open state, then when receiving user When the state change directive of triggering is " 11 points of change status informations at night ", the state change directive can be responded, will locally be set The status information for setting mode is in off state for 11 points at night by open state change.In another example when the sheet of mobile terminal output The status information of ground equipment mode is in off state, then when the state change directive for receiving user's triggering is that " 10 points of morning is more Change status information " when, the state change directive can be responded, by the status information for the mode that is locally located in the morning 10 by closing State is changed to open state.
Step S230: the status information of the intelligent door lock being locally located after the change of mode is obtained.
Further, the status information of the intelligent door lock being locally located after the change of mode and preservation are obtained.It can manage Solution, the mode that is locally located of intelligent door lock keeps the status information after the change at this time, until receiving instruction change again The state change directive of the status information of mode is locally located.Therefore, mould is locally located in the intelligent door lock that mobile terminal saves The virtual condition information that mode is locally located of status information and intelligent door lock after the change of formula is consistent.
Step S240: the status information that mode is locally located of intelligent door lock is obtained, the mode that is locally located is for table Sign is directly configured the intelligent door lock in the local of the intelligent door lock.
Wherein, as a kind of mode, mobile terminal can be directly from the local for locally reading the intelligent door lock pre-saved The status information of Setting pattern can also obtain being locally located for the intelligent door lock from intelligent door lock by wireless communication technique The status information of mode, it is not limited here.Further, mobile terminal can export the state that mode is locally located letter Breath, for example, mobile terminal can export the status information that mode is locally located in the form of speech, it can also be with text Form exports the status information that mode is locally located, it is not limited here.
Step S250: it if the mode that is locally located of the intelligent door lock is open state, obtains the intelligent door lock and moves The connection status of dynamic terminal, wherein the mobile terminal and the intelligent door lock are bound by account.
Wherein, the specific descriptions of step S250 please refer to step S120, and details are not described herein.
Step S260: judge whether the intelligent door lock with the mobile terminal is in connection status.
In the present embodiment, after the connection status for obtaining the intelligent door lock and mobile terminal, it can be determined that the intelligent door lock Whether with mobile terminal connection status is in.As an implementation, mobile terminal can send a message to intelligent door lock, To indicate that the intelligent door lock is responded based on the message feedback, wherein if mobile terminal receives intelligent door lock based on the message When feedback response, it can determine that the intelligent door lock and mobile terminal are in connection status, if mobile terminal is not received by intelligence Door lock based on the message feedback response when, can determine the intelligent door lock and mobile terminal is in notconnect state.
Step S270: if the intelligent door lock and the mobile terminal are in connection status, all users are closed described The permission that the local of intelligent door lock is configured the intelligent door lock.
Wherein, if intelligent door lock that mode is locally located is in the open state, and the intelligent door lock is in mobile terminal Connection status, it is possible to close the permission that all users are configured intelligent door lock in the local of intelligent door lock.As A kind of embodiment carries out remotely located priority to intelligent door lock by mobile terminal and is higher than in the local of intelligent door lock The priority being configured, therefore, when intelligent door lock and mobile terminal be in connection status, characterizing door lock owner can be with Remotely located to intelligent door lock progress by mobile terminal, therefore, all use per family cannot be in the local to intelligence of intelligent door lock Door lock is configured.
Step S280: if the intelligent door lock and the mobile terminal are in notconnect state, all users are opened In at least partly user intelligent door lock is configured in the local of the intelligent door lock permission.
Wherein, if intelligent door lock that mode is locally located is in the open state, and the intelligent door lock is in mobile terminal Notconnect state, it is possible to open at least partly user in all users intelligent door lock it is local to intelligent door lock into The permission of row setting.
As an implementation, which includes administrator and ordinary user.If the local of intelligent door lock Setting pattern is in the open state, and the intelligent door lock and mobile terminal are in notconnect state, it is possible to open management Member user intelligent door lock is configured in the local of intelligent door lock permission, that is to say, that at this point, administrator at When function verifies unlocking verification mode, intelligent door lock can be configured in the local of intelligent door lock, for example, can be in intelligence Reminding sound volume, language, increase or deletion unlocking verification mode etc. is directly arranged in the local of door lock.However, ordinary user is in success When verifying unlocking verification mode, the opening of intelligent door lock only may be implemented, and cannot be in the local to intelligent door lock of intelligent door lock It is configured.
As another embodiment, if intelligent door lock to be locally located mode in the open state, and the intelligent door lock It is in notconnect state with mobile terminal, it is possible to obtain the Permission Levels of each user in all users, then According to the Permission Levels of each user, at least partly user in all users is opened in the local to intelligent door of intelligent door lock Lock the different rights being configured.Wherein, the Permission Levels of each user are obtained, then by the Permission Levels of each user and Default access grade is compared, to obtain the user that Permission Levels in all users are higher than default access grade, it is possible to understand that , Permission Levels be higher than default access grade user, can open and intelligent door lock is set in the local of intelligent door lock The permission set, and Permission Levels not higher than the user of default access grade close intelligent door lock it is local to intelligent door lock into The permission of row setting.Further, to Permission Levels be higher than default access grade user according to Permission Levels from high to low It is ranked up, and opens what user was configured intelligent door lock in the local of intelligent door lock from high to low according to Permission Levels Different rights, wherein the permission that the user for sorting forward opens is higher than the user of sequence rearward, for example, use of the sequence the 2nd Family can open intelligent door lock it is local to the reminding sound volume of intelligent door lock, voice, increase or delete unlocking verification mode into The permission of row setting, sequence carry out reminding sound volume, language to intelligent door lock in the local of intelligent door lock in the 5th user's unlatching The permission being configured.
Step S290: if the mode that is locally located of the intelligent door lock is in off state, all users are closed in the intelligence The permission that the local of energy door lock is configured the intelligent door lock.
In the present embodiment, if the mode that is locally located of intelligent door lock is in off state, regardless of mobile terminal and intelligent door Whether lock is in connection status, is turned off the permission that all users are configured intelligent door lock in the local of intelligent door lock.
The intelligent door lock control method that another embodiment of the application provides, establishes the company of mobile terminal and intelligent door lock It connects, the status information that mode is locally located of acquisition for mobile terminal intelligent door lock is based on when receiving state change directive The state change directive is modified the status information that mode is locally located of intelligent door lock, obtains the sheet of intelligent door lock Status information after the change of ground Setting pattern.The status information that mode is locally located of intelligent door lock is obtained, intelligent door is obtained The connection status of lock and mobile terminal, wherein mobile terminal and intelligent door lock are bound by account, judge that the intelligent door lock is It is no to be in connection status with mobile terminal, if intelligent door lock and mobile terminal are in connection status, all users are closed in intelligence The permission that the local of door lock is configured intelligent door lock opens institute if intelligent door lock and mobile terminal are in notconnect state The permission for thering is at least partly user in user to be configured in the local of intelligent door lock to intelligent door lock, if intelligent door lock The mode of being locally located is in off state, and closes the permission that all users are configured intelligent door lock in the local of intelligent door lock. Compared to intelligent door lock control method shown in Fig. 2, the present embodiment is also determining that the mobile terminal of intelligent door lock and binding is in All users are closed when connection status in the permission of intelligent door lock being locally located, in the movement for determining intelligent door lock and binding At least partly user is opened when terminal is in notconnect state in the permission of intelligent door lock being locally located, and in intelligent door Being locally located for lock closes all users in the permission of intelligent door lock being locally located when mode is in off state, further disappear Except user is to the ownership of intelligent door lock and the misgivings of control, user experience is promoted.
Referring to Fig. 5, the process that Fig. 5 shows the intelligent door lock control method of the application further embodiment offer is shown It is intended to.This method is applied to intelligent door lock, will be described in detail below for process shown in fig. 5, the intelligent door lock Control method can specifically include following steps:
Step S310: intelligent door lock obtains the status information that mode is locally located of intelligent door lock, described that mould is locally located Formula is directly configured the intelligent door lock in the local of the intelligent door lock for characterizing.
In the present embodiment, the set-up mode of the intelligent door lock at least may include the mode that is locally located and remotely located Mode (non-local Setting pattern).Wherein, mode is locally located can be directly in the local to intelligence of intelligent door lock for characterizing Door lock is configured, that is to say, that the mode of being locally located refers to that user can not depend on other instruction sending devices (such as movement Terminal), the mode that the operating status of intelligent door lock can be configured directly on intelligent door lock.Wherein, remotely located mould Formula is configured intelligent door lock by long-range mode for characterizing, that is to say, that remotely located mode, which refers to, passes through instruction Sending device (such as mobile terminal) and intelligent door lock establish connection, and the connection of sending device and intelligent door lock based on instruction, will The mode that intelligent door lock is configured with the operating status to intelligent door lock is sent in the instruction of instruction sending device triggering.
In addition, the status information that mode is locally located at least may include the open state and sheet for the mode that is locally located The closed state of ground Setting pattern.
As an implementation, intelligent door lock can directly read the sheet of the intelligent door lock from the local of intelligent door lock The status information of ground Setting pattern or the intelligent door lock can directly detect the shape that mode is locally located of the intelligent door lock State information.Wherein, which can bind with state value, for example, when the shape for the mode that is locally located When state information is open state, the state value of binding can be " 1 ", when the status information for the mode that is locally located is to close shape When state, the state value of binding can be " 0 ", then, intelligent door lock can will acquire in advance state value and be stored in intelligent door The local of lock, or detection obtains the state value when needed, it is to be understood that when intelligent door lock gets state value " 1 " When, it can determine that the status information that mode is locally located of the intelligent door lock is open state, when intelligent door lock gets shape When state value " 0 ", it can determine that the status information that mode is locally located of the intelligent door lock is in off state.
Step S320: if the mode that is locally located of the intelligent door lock is open state, the intelligent door lock and shifting are based on The connection status of dynamic terminal, the intelligent door lock is arranged is locally located permission.
Wherein, it if the mode that is locally located that intelligent door lock gets the intelligent door lock is open state, can continue to test Connection status between the mobile terminal and intelligent door lock, and power is locally located based on connection status setting intelligent door lock Limit.
It is understood that the connection status between the mobile terminal and intelligent door lock includes: mobile terminal and intelligent door Lock is in notconnect state in connection status and mobile terminal and intelligent door lock, wherein mobile terminal and intelligent door lock It may include: that mobile terminal and intelligent door lock are in and disconnect state and mobile terminal and intelligence in notconnect state Door lock, which is in, attempts connection status.
In addition, the permission that is locally located of the intelligent door lock may include: all with the sheet that can carry out intelligent door lock per family Ground setting, the certain customers in all users can carry out being locally located of intelligent door lock, the administrator in all users Being locally located, being all with being locally located for intelligent door lock cannot be carried out per family for intelligent door lock can be carried out, is not done herein It limits.
As an implementation, determine the intelligent door lock be locally located mode be open state when, can be based on The connection status of the intelligent door lock and mobile terminal, setting is corresponding with connection status to be locally located permission.For example, when intelligence When door lock and mobile terminal are in connection status, the permission that is locally located of intelligent door lock can be closed, i.e., it is all to use per family not Intelligent door lock can be configured in the local of intelligent door lock;It, can when intelligent door lock and mobile terminal are in notconnect state Permission is locally located as all users unlatching in intelligent door lock, i.e., all use per family can be right in the local of intelligent door lock Intelligent door lock is configured;When intelligent door lock and mobile terminal are in notconnect state, the local of intelligent door lock can be set Setting permission is that the certain customers in all users open, i.e., certain customers can intelligent door lock it is local to intelligent door lock into Row setting, and the other users in all users in addition to the certain customers then cannot be in the local to intelligent door of intelligent door lock Lock is configured, and therefore, door lock owner can be by the connection of control mobile terminal and intelligent door lock to other use Family is controlled in the permission that is locally located of intelligent door lock, control and user's body of the lifting door lock owner to intelligent door lock It tests.
The intelligent door lock control method that the application one embodiment provides, the local that intelligent door lock obtains intelligent door lock are set The status information of mode is set, this is locally located mode and directly sets in the local of intelligent door lock to intelligent door lock for characterizing Set, if intelligent door lock be locally located mode be open state, the connection status based on the intelligent door lock and mobile terminal, if That sets intelligent door lock is locally located permission, thus by intelligent door lock be locally located mode be open state when, according to intelligence Permission is locally located in the connection status of energy door lock and mobile terminal setting intelligent door lock, to promote user to intelligent door lock Control, the safety of intelligent door lock and user experience.
Referring to Fig. 6, the process that Fig. 6 shows the intelligent door lock control method of another embodiment of the application offer is shown It is intended to.This method is applied to intelligent door lock, will be explained in detail below for process shown in fig. 6, the intelligent door lock Control method can specifically include following steps:
Step S410: establishing the connection of mobile terminal and intelligent door lock, and intelligent door lock obtains the local of the intelligent door lock The status information of Setting pattern.
In this embodiment, mobile terminal can be bound with intelligent door lock by account, i.e. the mobile terminal and intelligent door lock It can be bound by the account of the door lock owner of the intelligent door lock, wherein the account can be the phone of door lock owner Number, the one number that can be the ID card No. of door lock owner or generate at random, it is not limited here. As an implementation, after mobile terminal is bound by account and intelligent door lock, which can be automatically created Then door lock owner user and intelligent door lock are carried out data correlation, and set the door by new door lock owner user Lock owner user is administrator.
As an implementation, the connection of mobile terminal and intelligent door lock is established by wireless communication technique trial, In, which includes but is not limited to BLE, WiFi, ZigBee.Wherein, when establishing mobile terminal and intelligent door lock When successful connection, which can directly acquire the status information that mode is locally located of the intelligent door lock;It is moved when establishing When the connection failure of dynamic terminal and intelligent door lock, which can continue to attempt to the connection with mobile terminal.
Referring to Fig. 7, Fig. 7 shows the process of the step S410 of the intelligent door lock control method shown in fig. 6 of the application Schematic diagram.It will be explained in detail below for process shown in Fig. 7, the intelligent door lock control method specifically can wrap Include following steps:
Step S411: establishing the connection of the mobile terminal Yu the intelligent door lock, whether to detect the mobile terminal At least one unlocking verification mode is added in the intelligent door lock.
As an implementation, after being successfully established the connection of mobile terminal and intelligent door lock, intelligent door lock can be examined Survey whether the mobile terminal has added at least one unlocking verification mode in intelligent door lock, that is to say, that can detecte the door Whether lock owner has added at least one unlocking verification mode in the intelligent door lock by the mobile terminal that account is bound, Wherein, which may include fingerprint authentication, password authentification, contactless card verifying, face verification, iris verification etc..
Wherein, as a kind of mode, after establishing the connection of mobile terminal and intelligent door lock, which can be sent out Send inquiry request to mobile terminal, to indicate the mobile terminal feedback query result, wherein the inquiry request is moved for requesting Dynamic terminal detects whether to add at least one unlocking verification mode in intelligent door lock.Alternatively, intelligent door lock When adding unlocking verification mode by mobile terminal, record or dual lock authentication can be carried out to the unlocking verification mode The quantity of formula carries out the local for being recorded and stored in intelligent door lock, correspondingly, intelligent door lock can search whether to store from local There is the unlocking verification mode of mobile terminal addition or whether is stored with the quantity of the unlocking verification mode of mobile terminal addition, it can With understanding, the unlocking verification mode of mobile terminal addition and/or the number of unlocking verification mode are locally stored when mobile terminal When amount, it can determine that the mobile terminal adds at least one unlocking verification mode in intelligent door lock, when the sheet of mobile terminal Ground not the quantity of the unlocking verification mode or unlocking verification mode of the addition of memory mobile terminal when, can determine the movement Terminal does not add at least one unlocking verification mode in intelligent door lock.
Step S412: it if the mobile terminal adds at least one unlocking verification mode in the intelligent door lock, obtains The status information that mode is locally located of the intelligent door lock.
Wherein, if testing result characterizes the mobile terminal and adds at least one unlocking verification mode in intelligent door lock, Fingerprint authentication is added in intelligent door lock, the mobile terminal is characterized and has existed for example, the testing result characterizes the mobile terminal When intelligent door lock adds fingerprint authentication and face verification, mode is locally located in the available intelligent door lock of the intelligent door lock Status information.
Step S413: if the mobile terminal does not add at least one unlocking verification mode in the intelligent door lock, control The mode that is locally located of the intelligent door lock is in close state.
Wherein, if testing result characterizes the mobile terminal and do not add at least one unlocking verification mode in intelligent door lock, That is if testing result characterizes the mobile terminal and does not add any unlocking verification mode, intelligent door lock in intelligent door lock Mode can be directly locally located to be in close state, at this point, any use per family cannot be in the local to intelligence of intelligent door lock Energy door lock is configured, and door lock owner can only be waited to add at least one unlocking in intelligent door lock by mobile terminal After verification mode, then allow the mode that is locally located of smart machine being changed to open state, thereby may be ensured that the intelligent door The first unlocking verification mode of lock is configured by the owner of intelligent door lock, promotes control of the door lock owner for intelligent door lock System power.
Step S420: when receiving state change directive, based on the state change directive to the intelligent door lock The status information that mode is locally located is modified.
In the present embodiment, the intelligent door lock get intelligent door lock the status information of mode is locally located after, can The status information that mode is locally located is sent to mobile terminal, to indicate the mobile terminal by local device mode Status information output, for example, the status information that mode can be locally located in this by instruction mobile terminal is shown in a text form At the interface of mobile terminal, the status information that this can also be locally located to mode is exported in the form of speech, is not limited herein It is fixed.Further, user can trigger shape in mobile terminal based on the status information that mode is locally located that mobile terminal exports State change directive, correspondingly, mobile terminal receive the state change directive and the state change directive are sent to intelligent door Lock, then the intelligent door lock is modified based on the status information that mode is locally located of the state change directive to intelligent door lock.
For example, when the status information that mode is locally located of mobile terminal output is open state, then when receiving use When the state change directive of family triggering, state change directive can be sent to intelligent door lock, the change of intelligent door lock responsive state The status information for the mode that is locally located is in off state by instruction by open state change.In another example when mobile terminal output It, then, can will when receiving the state change directive of user's triggering when the status information of mode is locally located being in off state State change directive is sent to intelligent door lock, and intelligent door lock, which responds the state change directive, believes the state for the mode that is locally located Breath is changed to open state by closed state.
As a kind of enforceable mode, user can also set local in mobile terminal triggering state change directive The change time of the status information of Setting pattern, to indicate the intelligent door lock at the appointed time to the shape for the mode that is locally located State information is modified.
For example, when the status information that mode is locally located of mobile terminal output is open state, then when receiving user When the state change directive of triggering is " 11 points of change status informations at night ", which can be sent to intelligence Door lock, intelligent door lock respond the state change directive, by the status information for the mode that is locally located at night 11 points by open state Change is in off state.In another example when the status information of local device mode of mobile terminal output is in off state, then when It, can be by the state change directive when state change directive for receiving user's triggering is " 10 points of change status informations in morning " Be sent to intelligent door lock, intelligent door lock responds the state change directive, by the status information for the mode that is locally located in the morning 10 by Closed state is changed to open state.
Step S430: the status information of the intelligent door lock being locally located after the change of mode is obtained.
Further, intelligent door lock obtains the status information being locally located after the change of mode and the guarantor of the intelligent door lock It deposits.It should be understood that the mode that is locally located of intelligent door lock keeps the status information after the change at this time, until receiving again The state change directive of the status information of mode is locally located to instruction change.Therefore, the intelligent door lock that intelligent door lock saves Status information after the change of mode is locally located is consistent with the virtual condition information that mode is locally located of intelligent door lock 's.
Step S440: the status information that mode is locally located of intelligent door lock is obtained, the mode that is locally located is for table Sign is directly configured the intelligent door lock in the local of the intelligent door lock.
Wherein, as a kind of mode, intelligent door lock can be directly from the local for locally reading the intelligent door lock pre-saved The status information of Setting pattern also can detecte the status information that mode is locally located for obtaining the intelligent door lock, not do herein It limits.Further, the status information for the mode that is locally located can be sent to mobile terminal by intelligent door lock, to indicate to move Terminal exports the status information that mode is locally located, and indicates that dynamic terminal can export the local in the form of speech for example, moving The status information of Setting pattern can also export the status information that mode is locally located in a text form, not limit herein It is fixed.
Step S450: it if the mode that is locally located of the intelligent door lock is open state, obtains the intelligent door lock and moves The connection status of dynamic terminal, wherein the mobile terminal and the intelligent door lock are bound by account.
Wherein, the specific descriptions of step S450 please refer to step S320, and details are not described herein.
Step S460: judge whether the intelligent door lock with the mobile terminal is in connection status.
In the present embodiment, after the connection status for obtaining the intelligent door lock and mobile terminal, it can be determined that the intelligent door lock Whether with mobile terminal connection status is in.As an implementation, intelligent door lock can send a message to mobile terminal, To indicate that the mobile terminal is responded based on the message feedback, wherein if intelligent door lock receives mobile terminal based on the message When feedback response, it can determine that the intelligent door lock and mobile terminal are in connection status, if intelligent door lock is not received by movement Terminal based on the message feedback response when, can determine the intelligent door lock and mobile terminal is in notconnect state.
Step S470: if the intelligent door lock and the mobile terminal are in connection status, all users are closed described The permission that the local of intelligent door lock is configured the intelligent door lock.
Wherein, if intelligent door lock that mode is locally located is in the open state, and the intelligent door lock is in mobile terminal Connection status, it is possible to close the permission that all users are configured intelligent door lock in the local of intelligent door lock.As A kind of embodiment carries out remotely located priority to intelligent door lock by mobile terminal and is higher than in the local of intelligent door lock The priority being configured, therefore, when intelligent door lock and mobile terminal be in connection status, characterizing door lock owner can be with Remotely located to intelligent door lock progress by mobile terminal, therefore, all use per family cannot be in the local to intelligence of intelligent door lock Door lock is configured.
Step S480: if the intelligent door lock and the mobile terminal are in notconnect state, all users are opened In at least partly user intelligent door lock is configured in the local of the intelligent door lock permission.
Wherein, if intelligent door lock that mode is locally located is in the open state, and the intelligent door lock is in mobile terminal Notconnect state, it is possible to open at least partly user in all users intelligent door lock it is local to intelligent door lock into The permission of row setting.
As an implementation, which includes administrator and ordinary user.If the local of intelligent door lock Setting pattern is in the open state, and the intelligent door lock and mobile terminal are in notconnect state, then, intelligent door lock can be with Open the permission that administrator is configured intelligent door lock in the local of intelligent door lock, that is to say, that at this point, administrator User can be configured intelligent door lock in the local of intelligent door lock, in good authentication unlocking verification mode for example, can Reminding sound volume, language, increase or deletion unlocking verification mode etc. is directly arranged in the local of intelligent door lock.However, common use The opening of intelligent door lock only may be implemented in good authentication unlocking verification mode in family, and cannot be right in the local of intelligent door lock Intelligent door lock is configured.
As another embodiment, if intelligent door lock to be locally located mode in the open state, and the intelligent door lock It is in notconnect state with mobile terminal, then, the permission etc. of each user in the available all users of intelligent door lock Grade, then according to the Permission Levels of each user, at least partly user opened in all users is right in the local of intelligent door lock The different rights that intelligent door lock is configured.Wherein, the Permission Levels of each user are obtained, then by the permission of each user Grade and default access grade are compared, can to obtain the user that Permission Levels in all users are higher than default access grade With understanding, Permission Levels are higher than the user of default access grade, can open in the local to intelligent door lock of intelligent door lock The permission being configured, and Permission Levels are closed not higher than the user of default access grade in the local to intelligence of intelligent door lock The permission that door lock is configured.Further, to Permission Levels be higher than default access grade user according to Permission Levels from It is high to Low to be ranked up, and open user from high to low according to Permission Levels and intelligent door lock is carried out in the local of intelligent door lock The different rights of setting, wherein the permission that the user that sorts forward opens is higher than the user of sequence rearward, for example, sequence is the 2 user can open in the local to the reminding sound volume of intelligent door lock, voice, increase or deletion unlocking verifying of intelligent door lock The permission that mode is configured, sequence are opened in the 5th user in the local to intelligent door lock progress prompt tone of intelligent door lock The permission that amount, language are configured.
Step S490: if the mode that is locally located of the intelligent door lock is in off state, all users are closed in the intelligence The permission that the local of energy door lock is configured the intelligent door lock.
In the present embodiment, if the mode that is locally located of intelligent door lock is in off state, regardless of mobile terminal and intelligent door Whether lock is in connection status, is turned off the permission that all users are configured intelligent door lock in the local of intelligent door lock.
The intelligent door lock control method that another embodiment of the application provides, establishes the company of mobile terminal and intelligent door lock It connects, the status information that mode is locally located that intelligent door lock obtains intelligent door lock is based on when receiving state change directive The state change directive is modified the status information that mode is locally located of intelligent door lock, obtains the sheet of intelligent door lock Status information after the change of ground Setting pattern.The status information that mode is locally located of intelligent door lock is obtained, intelligent door is obtained The connection status of lock and mobile terminal, wherein mobile terminal and intelligent door lock are bound by account, judge that the intelligent door lock is It is no to be in connection status with mobile terminal, if intelligent door lock and mobile terminal are in connection status, all users are closed in intelligence The permission that the local of door lock is configured intelligent door lock opens institute if intelligent door lock and mobile terminal are in notconnect state The permission for thering is at least partly user in user to be configured in the local of intelligent door lock to intelligent door lock, if intelligent door lock The mode of being locally located is in off state, and closes the permission that all users are configured intelligent door lock in the local of intelligent door lock. Compared to intelligent door lock control method shown in fig. 5, the present embodiment is also determining that the mobile terminal of intelligent door lock and binding is in All users are closed when connection status in the permission of intelligent door lock being locally located, in the movement for determining intelligent door lock and binding At least partly user is opened when terminal is in notconnect state in the permission of intelligent door lock being locally located, and in intelligent door Being locally located for lock closes all users in the permission of intelligent door lock being locally located when mode is in off state, further disappear Except user is to the ownership of intelligent door lock and the misgivings of control, user experience is promoted.
Referring to Fig. 8, Fig. 8 shows the module frame chart of intelligent door lock control device 400 provided by the embodiments of the present application. The intelligent door lock control device 400 can be applied to above-mentioned mobile terminal 100, also can be applied to above-mentioned intelligent door lock 200, It is not limited here.It will be explained in detail below for block diagram shown in Fig. 8, the intelligent door lock control device 400 wraps It includes: state information acquisition module 410 and priority assignation module 420, in which:
State information acquisition module 410, for obtaining the status information that mode is locally located of intelligent door lock, described Ground Setting pattern is directly configured the intelligent door lock in the local of the intelligent door lock for characterizing.
Priority assignation module 420, if the mode that is locally located for the intelligent door lock is open state, based on described The connection status of intelligent door lock and mobile terminal, the intelligent door lock is arranged is locally located permission.Further, the power Limit setup module 420 includes: connection status acquisition submodule, connection status judging submodule, permission closing submodule and power Limit opens submodule, in which:
Connection status acquisition submodule, for obtaining the connection status of the intelligent door lock and mobile terminal, wherein institute Mobile terminal and the intelligent door lock is stated to bind by account.
Connection status judging submodule connects shape for judging whether the intelligent door lock is in the mobile terminal State.
Permission closes submodule, if being in connection status for the intelligent door lock and the mobile terminal, closes all The permission that user is configured the intelligent door lock in the local of the intelligent door lock.
Permission opens submodule, if being in notconnect state for the intelligent door lock and the mobile terminal, opens institute State the permission that at least partly user in all users is configured the intelligent door lock in the local of the intelligent door lock. Further, all users include administrator and ordinary user, and it includes: the first power that the permission, which opens submodule, Limit opening unit, in which:
First permission opening unit, for opening the administrator in the local to the intelligence of the intelligent door lock The permission that energy door lock is configured.
Further, the permission opens submodule further include: Permission Levels acquiring unit and the second permission open list Member, in which:
Permission Levels acquiring unit, for obtaining the Permission Levels of all users respectively.
Second permission opening unit, for opening at least partly user in the intelligence according to the Permission Levels The different rights that the local of door lock is configured the intelligent door lock.
Further, the intelligent door lock control device 400 further include: permission closedown module, connection establishment module, shape State information changes module and change state information acquisition module, in which:
Permission closedown module closes all users if the mode that is locally located for the intelligent door lock is in off state In the permission that the local of the intelligent door lock is configured the intelligent door lock.
Connection establishment module obtains the local of the intelligent door lock for establishing the connection of mobile terminal and intelligent door lock The status information of Setting pattern.Further, the connection establishment module includes: connection setting up submodule, state information acquisition Submodule and scheme control submodule, in which:
It connects setting up submodule and detects the movement for establishing the connection of the mobile terminal Yu the intelligent door lock Whether terminal has added at least one unlocking verification mode in the intelligent door lock.
State information acquisition submodule is opened if adding at least one in the intelligent door lock for the mobile terminal Verification mode is locked, the status information that mode is locally located of the intelligent door lock is obtained.
Scheme control submodule is tested if not adding at least one unlocking in the intelligent door lock for the mobile terminal Card mode, the mode that is locally located for controlling the intelligent door lock are in close state.
Status information changes module, for when receiving state change directive, being based on the state change directive to institute The status information that mode is locally located for stating intelligent door lock is modified.
Change state information acquisition module, the shape after the change that mode is locally located for obtaining the intelligent door lock State information.
Intelligent door lock control device provided by the embodiments of the present application, mobile terminal/intelligent door lock obtain the sheet of intelligent door lock The status information of ground Setting pattern, this be locally located mode for characterize directly intelligent door lock it is local to intelligent door lock into Row setting, if the mode that is locally located of intelligent door lock is open state, the connection shape based on the intelligent door lock and mobile terminal State, intelligent door lock is arranged is locally located permission, thus by intelligent door lock be locally located mode be open state when, Permission is locally located according to the connection status of intelligent door lock and mobile terminal setting intelligent door lock, to promote user to intelligence The control of door lock, the safety of intelligent door lock and user experience.
The embodiment of the method that intelligent door lock control device provided by the embodiments of the present application can be realized Fig. 2 to Fig. 7 is realized Each process, to avoid repeating, for detailed content therein, which is not described herein again, and corresponding detailed content may refer to Embodiment of the method above-mentioned.
Fig. 9 is the hardware structural diagram for realizing a kind of mobile terminal (electronic equipment) of each embodiment of the application.
The mobile terminal 100 includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, defeated Enter unit 104, sensor 105, display unit 101, user input unit 107, interface unit 108, memory 109, processor The components such as 110 and power supply 111.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 9 is not constituted Restriction to mobile terminal, mobile terminal may include components more more or fewer than diagram, or combine certain components, or The different component layout of person.In the embodiment of the present application, mobile terminal includes but is not limited to mobile phone, tablet computer, notebook electricity Brain, palm PC, vehicle mobile terminals, wearable device and pedometer etc..
Wherein, processor 110, for obtaining the status information that mode is locally located of intelligent door lock, mould is locally located in this Formula is directly configured intelligent door lock in the local of intelligent door lock for characterizing, if the mode that is locally located of intelligent door lock is Open state, the connection status based on the intelligent door lock and mobile terminal, intelligent door lock is arranged is locally located permission, thus By intelligent door lock be locally located mode be open state when, set according to the connection status of intelligent door lock and mobile terminal That sets intelligent door lock is locally located permission, to promote user to the control of intelligent door lock, the safety of intelligent door lock and use Family experience.
It should be understood that the embodiment of the present application in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication system and network and other Equipment communication.
Mobile terminal provides wireless broadband internet by network module 102 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 103 can be received by radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide with The relevant audio output of specific function that mobile terminal 100 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 103 includes loudspeaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (GraphicsProcessingUnit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 101.It can be with through treated the picture frame of graphics processor 1041 It is stored in memory 109 (or other storage mediums) or is sent via radio frequency unit 101 or network module 102.Wheat Gram wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be with The format output that mobile communication base station can be sent to via radio frequency unit 101 is converted in the case where telephone calling model.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1011, and proximity sensor can close when mobile terminal 100 is moved in one's ear Close display panel 1011 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect (one in all directions As be three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) Deng;Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, gas Meter, hygrometer, thermometer, infrared sensor etc. are pressed, details are not described herein.
Display unit 101 is for showing information input by user or being supplied to the information of user.Display unit 101 can Including display panel 1011, liquid crystal display (LiquidCrystalDisplay, LCD), Organic Light Emitting Diode can be used Forms such as (OrganicLight-EmittingDiode, OLED) configure display panel 1011.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel Operation near 1071).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, it touches Detection device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, it receives the order that processor 110 is sent and is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and The multiple types such as surface acoustic wave realize touch panel 1071.In addition to touch panel 1071, user input unit 107 can also be wrapped Include other input equipments 1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (ratio Such as volume control button, switch key), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1011, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touching The type for touching event provides corresponding visual output on display panel 1011.Although in Fig. 1, touch panel 1071 and aobvious Show that panel 1011 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain implementations In example, touch panel 1071 and display panel 1011 can be integrated and be realized the function that outputs and inputs of mobile terminal, specifically Herein without limitation.
Interface unit 108 is the interface that external device (ED) is connect with mobile terminal 100.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card Port, port, the port audio input/output (I/O), video i/o port, ear for connecting the device with identification module Generator terminal mouth etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) And by one or more elements that the input received is transferred in mobile terminal 100 or it can be used in mobile terminal Data are transmitted between 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storage program Area and storage data area, wherein storing program area can application program needed for storage program area, at least one function (such as Sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (ratio according to mobile phone Such as audio data, phone directory) etc..In addition, memory 109 may include high-speed random access memory, it can also include non- Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be logically contiguous by power-supply management system and processor 110, thus charged by power-supply management system realization management, The functions such as electric discharge and power managed.
In addition, mobile terminal 100 includes some unshowned functional modules, details are not described herein.
The embodiment of the present application also provides a kind of mobile terminal, including processor 110, and memory 109 is stored in memory On 109 and the computer program that can run on the processor 110, the computer program are realized when being executed by processor 110 Each process of above-mentioned intelligent door lock control method embodiment, and identical technical effect can be reached, to avoid repeating, here It repeats no more.
Figure 10 is a kind of intelligent door lock that above-mentioned intelligent door lock control method can be implemented provided by the embodiments of the present application Hardware block diagram.As shown in Figure 10, which can generate bigger difference because configuration or performance are different, can To include that (processor 310 can include but is not limited to one or more processors (ProcessingUnits, CPU) 310 The processing unit of Micro-processor MCV or programmable logic device FPGA etc.), memory 320 for storing data, one or (such as one or more mass memories are set the storage medium 330 of more than one storage application program 331 or data 332 It is standby).
Wherein, processor 310, for obtaining the status information that mode is locally located of intelligent door lock, mould is locally located in this Formula is directly configured intelligent door lock in the local of intelligent door lock for characterizing, if the mode that is locally located of intelligent door lock is Open state, the connection status based on the intelligent door lock and mobile terminal, intelligent door lock is arranged is locally located permission, thus By intelligent door lock be locally located mode be open state when, set according to the connection status of intelligent door lock and mobile terminal That sets intelligent door lock is locally located permission, to promote user to the control of intelligent door lock, the safety of intelligent door lock and use Family experience.
Wherein, memory 320 and storage medium 330 can be of short duration storage or persistent storage.It is stored in storage medium 330 program may include one or more modules, and each module may include to the series of instructions in intelligent door lock Operation.Further, processor 310 can be set to communicate with storage medium 330, execute storage on intelligent door lock 300 Series of instructions operation in medium 330.Intelligent door lock 300 can also include one or more power supplys 340, one or More than one wired or wireless network interface 350, one or more input/output interfaces 360, and/or, one or one The above operating system 333, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM etc..
Input/output interface 360 can be used for that data are received or sent via a network.Above-mentioned network is specifically real Example may include the wireless network that the communication providers of intelligent door lock 300 provide.In an example, input/output interface 360 wraps A network adapter (NetworkInterfaceController, NIC) is included, base station and other network equipments can be passed through It is connected so as to be communicated with internet.In an example, input/output interface 360 can be radio frequency (RadioFrequency, RF) module is used to wirelessly be communicated with internet.
It will appreciated by the skilled person that structure shown in Fig. 10 is only to illustrate, not to above-mentioned intelligent door The structure of lock causes to limit.For example, intelligent door lock 300 may also include than shown in Figure 10 more perhaps less component or With the configuration different from shown in Figure 10.
The embodiment of the present application also provides a kind of computer readable storage medium, is stored on computer readable storage medium Computer program realizes each of said modules intelligent door lock control method embodiment when the computer program is executed by processor A process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, described computer-readable Storage medium, such as read-only memory (Read-OnlyMemory, abbreviation ROM), random access memory (RandomAccessMemory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant be intended to it is non- It is exclusive to include, so that the process, method, article or the device that include a series of elements not only include those elements, It but also including other elements that are not explicitly listed, or further include for this process, method, article or device institute Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or device including the element.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but many situations It is lower the former be more preferably embodiment.Based on this understanding, the technical solution of the application is substantially in other words to the prior art The part to contribute can be embodied in the form of software equipment, which is stored in a storage and is situated between In matter (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the application.
Embodiments herein is described above in conjunction with attached drawing, but the application is not limited to above-mentioned tool Body embodiment, the above mentioned embodiment is only schematical, rather than restrictive, the ordinary skill of this field Personnel are under the enlightenment of the application, when not departing from the application objective and scope of the claimed protection, can also make Many forms, belong within the protection of the application.

Claims (11)

1. a kind of intelligent door lock control method, which is characterized in that the described method includes:
The status information that mode is locally located of intelligent door lock is obtained, the mode that is locally located is for characterizing directly in the intelligence The local of energy door lock is configured the intelligent door lock;
If the mode that is locally located of the intelligent door lock is open state, the connection shape based on the intelligent door lock and mobile terminal State, the intelligent door lock is arranged is locally located permission.
2. the method according to claim 1, wherein described based on the intelligent door lock and the mobile terminal Connection status, the intelligent door lock is arranged is locally located permission, comprising:
Obtain the connection status of the intelligent door lock and mobile terminal, wherein the mobile terminal passes through with the intelligent door lock Account binding;
Judge whether the intelligent door lock with the mobile terminal is in connection status;
If the intelligent door lock and the mobile terminal are in connection status, all users are closed in the local of the intelligent door lock The permission that the intelligent door lock is configured;
If the intelligent door lock and the mobile terminal be in notconnect state, in unlatching all users at least partially by The permission that family is configured the intelligent door lock in the local of the intelligent door lock.
3. according to the method described in claim 2, it is characterized in that, all users include administrator and common use Family, at least partly user opened in all users carry out the intelligent door lock in the local of the intelligent door lock The permission of setting, comprising:
Open the permission that the administrator is configured the intelligent door lock in the local of the intelligent door lock.
4. according to the method described in claim 2, it is characterized in that, at least partly user opened in all users In the permission that the local of the intelligent door lock is configured the intelligent door lock, comprising:
The Permission Levels of all users are obtained respectively;
According to the Permission Levels, open at least partly user the intelligent door lock it is local to the intelligent door lock into The different rights of row setting.
5. the method according to claim 1, wherein the method also includes:
If the mode that is locally located of the intelligent door lock is in off state, it is right in the local of the intelligent door lock to close all users The permission that the intelligent door lock is configured.
6. method according to claim 1-5, which is characterized in that mould is locally located in the acquisition intelligent door lock Before the status information of formula, further includes:
The connection for establishing mobile terminal and intelligent door lock obtains the status information that mode is locally located of the intelligent door lock;
When receiving state change directive, based on the state change directive to the mode that is locally located of the intelligent door lock Status information is modified;
Obtain the status information of the intelligent door lock being locally located after the change of mode.
7. according to the method described in claim 6, it is characterized in that, the connection for establishing mobile terminal and intelligent door lock, is obtained Take the status information that mode is locally located of the intelligent door lock, comprising:
Whether the connection for establishing the mobile terminal Yu the intelligent door lock detects the mobile terminal in the intelligent door lock Add at least one unlocking verification mode;
If the mobile terminal adds at least one unlocking verification mode in the intelligent door lock, the intelligent door lock is obtained The status information of mode is locally located.
8. the method according to the description of claim 7 is characterized in that the method also includes:
If the mobile terminal does not add at least one unlocking verification mode in the intelligent door lock, the intelligent door lock is controlled The mode of being locally located is in close state.
9. a kind of intelligent door lock control device, which is characterized in that described device includes:
State information acquisition module, it is described that mould is locally located for obtaining the status information that mode is locally located of intelligent door lock Formula is directly configured the intelligent door lock in the local of the intelligent door lock for characterizing;
Priority assignation module is based on the intelligent door lock if the mode that is locally located for the intelligent door lock is open state With the connection status of mobile terminal, the intelligent door lock is arranged is locally located permission.
10. a kind of electronic equipment characterized by comprising
Memory;
One or more processors are coupled with the memory;
One or more programs, wherein one or more of programs are stored in the memory and are configured as by institute One or more processors execution is stated, one or more of programs are configured to carry out as described in claim any one of 1-8 Method.
11. a kind of computer-readable storage medium, which is characterized in that be stored with journey in the computer-readable storage medium Sequence code, said program code can be called by processor and execute the method according to claim 1.
CN201910390230.6A 2019-05-10 2019-05-10 Intelligent door lock control method and device, electronic equipment and storage medium Active CN110533800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910390230.6A CN110533800B (en) 2019-05-10 2019-05-10 Intelligent door lock control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910390230.6A CN110533800B (en) 2019-05-10 2019-05-10 Intelligent door lock control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110533800A true CN110533800A (en) 2019-12-03
CN110533800B CN110533800B (en) 2021-08-31

Family

ID=68659290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910390230.6A Active CN110533800B (en) 2019-05-10 2019-05-10 Intelligent door lock control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110533800B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111429640A (en) * 2020-03-16 2020-07-17 北京安迅伟业科技有限公司 Method and system for controlling gateway under cloud platform management
CN114049700A (en) * 2020-07-23 2022-02-15 深圳Tcl新技术有限公司 Configuration method of door lock label information and computer equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040189439A1 (en) * 2003-03-28 2004-09-30 Cansino Juan Miguel Dominguez Local and remote management of lock systems from a network
CN1922377A (en) * 2004-01-30 2007-02-28 阿萨阿布洛伊澳大利亚有限公司 Three-mode lock
CN202401845U (en) * 2011-12-26 2012-08-29 合肥天智科技发展有限公司 Remote house door lock controlled by cellphone
EP2770482A2 (en) * 2013-02-26 2014-08-27 Honeywell International Inc. Access control system using smart phone
CN104167040A (en) * 2014-09-02 2014-11-26 深圳攀多物联科技有限公司 Remote control method and system of electronic lock
US20150038080A1 (en) * 2013-07-30 2015-02-05 Paxton Access Limited Communication Method and System
CN104766395A (en) * 2015-03-11 2015-07-08 张瞳 Security control method of intelligent lock
CN106327652A (en) * 2016-09-14 2017-01-11 深圳市欧瑞博电子有限公司 System and method for protecting electronic intelligent door locks and fingerprint locks
CN109300203A (en) * 2018-08-17 2019-02-01 奇酷互联网络科技(深圳)有限公司 Mobile terminal and unlocking method, device
CN109509283A (en) * 2018-08-07 2019-03-22 胡渐佳 Intelligent door lock is wireless method for unlocking
CN109615738A (en) * 2018-11-30 2019-04-12 深圳绿米联创科技有限公司 Door lock management method, device, electronic equipment and storage medium
CN109697769A (en) * 2017-10-23 2019-04-30 中兴通讯股份有限公司 A kind of method for unlocking of intelligent door lock, device, equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040189439A1 (en) * 2003-03-28 2004-09-30 Cansino Juan Miguel Dominguez Local and remote management of lock systems from a network
CN1871830A (en) * 2003-03-28 2006-11-29 胡安·米格尔·多明格斯·坎西诺 Local and remote management of lock systems from a network
CN1922377A (en) * 2004-01-30 2007-02-28 阿萨阿布洛伊澳大利亚有限公司 Three-mode lock
CN202401845U (en) * 2011-12-26 2012-08-29 合肥天智科技发展有限公司 Remote house door lock controlled by cellphone
EP2770482A2 (en) * 2013-02-26 2014-08-27 Honeywell International Inc. Access control system using smart phone
US20150038080A1 (en) * 2013-07-30 2015-02-05 Paxton Access Limited Communication Method and System
CN104167040A (en) * 2014-09-02 2014-11-26 深圳攀多物联科技有限公司 Remote control method and system of electronic lock
CN104766395A (en) * 2015-03-11 2015-07-08 张瞳 Security control method of intelligent lock
CN106327652A (en) * 2016-09-14 2017-01-11 深圳市欧瑞博电子有限公司 System and method for protecting electronic intelligent door locks and fingerprint locks
CN109697769A (en) * 2017-10-23 2019-04-30 中兴通讯股份有限公司 A kind of method for unlocking of intelligent door lock, device, equipment and storage medium
CN109509283A (en) * 2018-08-07 2019-03-22 胡渐佳 Intelligent door lock is wireless method for unlocking
CN109300203A (en) * 2018-08-17 2019-02-01 奇酷互联网络科技(深圳)有限公司 Mobile terminal and unlocking method, device
CN109615738A (en) * 2018-11-30 2019-04-12 深圳绿米联创科技有限公司 Door lock management method, device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
鄢秋荣,马耀中,柏欢,王腾,王斌,刘昱晟: "基于STM32单片机和移动通信模块的门户智能锁网络", 《实验室研究与探索》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111429640A (en) * 2020-03-16 2020-07-17 北京安迅伟业科技有限公司 Method and system for controlling gateway under cloud platform management
CN114049700A (en) * 2020-07-23 2022-02-15 深圳Tcl新技术有限公司 Configuration method of door lock label information and computer equipment

Also Published As

Publication number Publication date
CN110533800B (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN109151180A (en) A kind of object identifying method and mobile terminal
CN103473494A (en) Application running method, device and terminal device
CN109194818A (en) A kind of information processing method and terminal
CN109068378A (en) The method, apparatus of mobile terminal and control mobile terminal breath screen
CN109857297A (en) Information processing method and terminal device
CN110442437A (en) A kind of application switching method and mobile terminal
CN110309004A (en) The processing method and terminal of data
CN108681427A (en) A kind of method and terminal device of access privilege control
CN110191465A (en) Authority control method, mobile terminal and computer readable storage medium
CN108647569B (en) A kind of finger scan method, mobile terminal
CN108282834A (en) A kind of method and terminal of terminal access LTE network
CN110147186A (en) A kind of control method and terminal device of application
CN109062634A (en) A kind of application starting method and mobile terminal
CN108287738A (en) A kind of application control method and device
CN110533800A (en) Intelligent door lock control method, device, electronic equipment and storage medium
CN110531908A (en) A kind of shortcut operation method and mobile terminal
CN108089935B (en) Application program management method and mobile terminal
WO2021175148A1 (en) Target behavior identification method, and electronic device
CN109831582A (en) Non- response events processing method and terminal
CN109286720A (en) A kind of the main screen selection method and device of multi-screen mobile terminal
CN109246693A (en) A kind of control method and terminal of application program
CN108924911A (en) A kind of starting wifi hotspot shares the method and device of network
CN109189397A (en) The method, apparatus of mobile terminal and intelligent display hiden application
CN108540951A (en) A kind of recharge method and mobile terminal
CN110366182A (en) A kind of data transmission method and terminal device

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