CN110969727A - Method for controlling intelligent door lock, mobile terminal and computer readable storage medium - Google Patents

Method for controlling intelligent door lock, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN110969727A
CN110969727A CN201811160461.XA CN201811160461A CN110969727A CN 110969727 A CN110969727 A CN 110969727A CN 201811160461 A CN201811160461 A CN 201811160461A CN 110969727 A CN110969727 A CN 110969727A
Authority
CN
China
Prior art keywords
door lock
intelligent door
router
mobile terminal
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201811160461.XA
Other languages
Chinese (zh)
Inventor
李春林
燕立杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen 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 Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201811160461.XA priority Critical patent/CN110969727A/en
Publication of CN110969727A publication Critical patent/CN110969727A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00563Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method for controlling an intelligent door lock, a mobile terminal and a computer readable storage medium, wherein the method comprises the following steps: the router receives an unlocking request sent by a mobile terminal of a current user; sending a verification request for inputting an SN (service number) code to the mobile terminal so that the mobile terminal sends a pre-stored SN code to the router; receiving the SN code sent by the mobile terminal, and verifying the SN code to obtain a verification result; and controlling an intelligent door lock in wireless connection with the router to execute corresponding operation according to the verification result. According to the method and the system, the SN code sent by the mobile terminal of the current user is verified by utilizing the router, and the intelligent door lock in wireless connection with the router is controlled to execute corresponding operation according to the verification result, so that the safety and effectiveness of the intelligent door lock are effectively guaranteed, the problem that the intelligent door lock is opened by an illegal user to cause loss is avoided, and the potential safety hazard that the intelligent door lock is unlocked is reduced.

Description

Method for controlling intelligent door lock, mobile terminal and computer readable storage medium
Technical Field
The invention relates to the field of communication, in particular to a method for controlling an intelligent door lock, a mobile terminal and a computer readable storage medium.
Background
The existing unlocking method of the intelligent door lock mostly adopts a password input mode and a fingerprint input mode, although the password input unlocking method of the door lock is simple and convenient, the probability that the password is disclosed is higher along with more times of using the password, and the risk that the password is easy to leak is high; the fingerprint input door lock unlocking method is characterized in that the uniqueness of human fingerprint characteristics is utilized, the fingerprint information of a user is obtained through a way that the finger of the user contacts a fingerprint acquisition device embedded in a door lock, and then the fingerprint characteristics are matched and compared to obtain identity verification to control the unlocking of the door lock, however, the problems that information is intentionally forged and the correct identity cannot be verified occur to the door lock with fingerprint identification, and the safety of door lock identification is reduced. The keyless unlocking method for inputting the password or the fingerprint and the like has been developed for many years, is convenient for users to use, but has low safety and is easy to generate potential safety hazard.
Disclosure of Invention
The invention mainly aims to provide a method for controlling an intelligent door lock, a mobile terminal and a computer readable storage medium, and aims to solve the technical problems that the existing method for controlling the intelligent door lock is low in safety and easy to generate potential safety hazards.
The invention provides a method for controlling an intelligent door lock, which comprises the following steps:
the router receives an unlocking request sent by a mobile terminal of a current user;
sending a verification request for inputting an SN (service number) code to the mobile terminal so that the mobile terminal sends a pre-stored SN code to the router;
receiving the SN code sent by the mobile terminal, and verifying the SN code to obtain a verification result;
and controlling an intelligent door lock in wireless connection with the router to execute corresponding operation according to the verification result.
Preferably, the step of verifying the SN code to obtain a verification result includes:
matching and comparing the SN codes with designated SN codes stored in the router in advance one by one;
if the matching is successful, the verification result is that the verification is passed; and if the matching fails, the verification result is that the verification fails.
Preferably, the verification result is that the verification fails, and the step of controlling the intelligent door lock wirelessly connected to the router to execute the corresponding operation according to the verification result includes:
sending a first instruction for entering a locking state to the intelligent door lock;
or sending alarm information to an administrator user terminal, wherein the alarm information comprises changing a wireless network password corresponding to the router.
Preferably, the verification result is that the verification is passed, and the step of controlling the intelligent door lock wirelessly connected to the router to execute the corresponding operation according to the verification result includes:
and sending first information for asking for inputting a correct password of the intelligent door lock to unlock the mobile terminal so that a user can input the password of the intelligent door lock to unlock the mobile terminal.
Preferably, the verification result is that the verification is passed, and the step of controlling the intelligent door lock wirelessly connected to the router to execute the corresponding operation according to the verification result includes:
sending a second instruction to the intelligent door lock, wherein the second instruction is used for acquiring the biological characteristic information of the current user and sending the biological characteristic information to the router;
uploading the received biological characteristic information to a cloud server, and matching and comparing the pre-stored specified biological characteristic information with the biological characteristic information through the cloud server;
receiving a matching result returned by the cloud server;
and if the matching is successful, sending an unlocking instruction to the intelligent door lock.
Preferably, before the step of receiving, by the router, the unlocking request sent by the mobile terminal of the current user, the method includes:
receiving the appointed biological characteristic information acquired by the intelligent door lock for the appointed user;
uploading the specified feature information to the cloud server.
Preferably, the verification result is that the verification is passed, and the step of controlling the intelligent door lock wirelessly connected to the router to execute the corresponding operation according to the verification result includes:
sending a third instruction to the intelligent door lock, wherein the third instruction is used for acquiring the specified information of the current user and sending the specified information to the router;
sending the received specified information to an administrator user terminal so that the administrator user terminal can verify the specified information;
judging whether verification passing information sent by the administrator user terminal is acquired or not;
and if so, sending an unlocking instruction to the intelligent door lock.
Preferably, before the step of receiving, by the router, the unlocking request sent by the mobile terminal of the current user, the method includes:
receiving the appointed SN code input by the administrator user, wherein the appointed SN code comprises an SN code of an administrator user terminal and an SN code of a mobile terminal of a preset family member;
and storing the specified SN code in a specified mode.
The application also provides a mobile terminal, which comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor executes the computer program to realize the steps of the method.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method.
The method for controlling the intelligent door lock, the mobile terminal and the computer readable storage medium have the following beneficial effects:
according to the method for controlling the intelligent door lock, the mobile terminal and the computer readable storage medium, the router receives an unlocking request sent by the mobile terminal of the current user; sending a verification request for inputting an SN (service number) code to the mobile terminal so that the mobile terminal sends a pre-stored SN code to the router; receiving the SN code sent by the mobile terminal, and verifying the SN code to obtain a verification result; and controlling an intelligent door lock in wireless connection with the router to execute corresponding operation according to the verification result. According to the method and the system, the SN code sent by the mobile terminal of the current user is verified by utilizing the router, and the intelligent door lock in wireless connection with the router is controlled to execute corresponding operation according to the verification result, so that the safety and effectiveness of the intelligent door lock are effectively guaranteed, the problem that the intelligent door lock is opened by an illegal user to cause loss is avoided, and the potential safety hazard that the intelligent door lock is unlocked is reduced.
Drawings
FIG. 1 is a schematic flow chart diagram of a method for controlling an intelligent door lock according to an embodiment of the invention;
FIG. 2 is a schematic flow chart of a method for controlling an intelligent door lock according to an embodiment of the invention;
FIG. 3 is a flow chart illustrating a method for controlling an intelligent door lock according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart diagram illustrating a method for controlling an intelligent door lock in accordance with an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
The objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that all directional indicators (such as upper, lower, left, right, front and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly, and the connection may be a direct connection or an indirect connection.
Referring to fig. 1, a method for controlling an intelligent door lock according to an embodiment of the present invention; the method comprises the following steps:
s1: the router receives an unlocking request sent by a mobile terminal of a current user;
s2: sending a verification request for inputting an SN (service number) code to the mobile terminal so that the mobile terminal sends a pre-stored SN code to the router;
s3: receiving the SN code sent by the mobile terminal, and verifying the SN code to obtain a verification result;
s4: and controlling an intelligent door lock in wireless connection with the router to execute corresponding operation according to the verification result.
As described in the steps S1 and S2, the router and the smart door lock are wirelessly connected, and both are in the same lan. When the mobile terminal of the current user enters the wireless signal coverage range of the router, if the mobile terminal opens WIFI and stores the wireless password of the router, the mobile terminal will automatically establish a connection with the router, and after the connection is successfully established, the mobile terminal will send an unlocking request to the router, where the manner in which the mobile terminal will send an unlocking request to the router may include: the mobile terminal automatically generates an unlocking request after being successfully connected to the router, and sends the unlocking request to the router; or after the mobile terminal is successfully connected to the router, the current user sends an unlocking request to the router by controlling the mobile terminal. After the router detects that the connection with the mobile terminal is successfully established, if an unlocking request sent by the mobile terminal is received, a verification request for inputting an SN (Serial Number) is sent to the mobile terminal of the current user, after the mobile terminal of the current user receives the verification request, a pre-stored SN is sent to the router, so that the router verifies the received SN, wherein the SN is an abbreviation of Serial Number, sometimes called Serial No, namely a product Serial Number, and the product sequence is a concept introduced for verifying 'legal identity of product', has uniqueness and is used for ensuring the legal rights and interests of the user, and a set of legal products for legal service only correspond to a group of product Serial numbers; the pre-stored SN code may be a local SN code corresponding to the mobile terminal, or may be another SN code that is not local and is input by the current user.
As described in the above step S3, the router may store in advance the designated SN codes, wherein the number of the designated SN codes is not limited and may include the SN code of the administrator user terminal input by the administrator user and the SN codes of the mobile terminals of other family members authorized by the administrator user. After receiving the SN code of the local machine sent by the mobile terminal of the current user, the router verifies the SN code, namely, the SN code is matched and compared with the pre-stored appointed SN codes one by one to obtain a verification result, if the SN code is matched with one of the pre-stored appointed SN codes, the verification result is that the SN code passes the verification, and if the SN code is not matched with any one of the pre-stored appointed SN codes, the verification result is that the SN code does not pass the verification. In this embodiment, only if it is verified that the SN code of the local device input by the current user matches the designated SN code, the router may determine that the current user qualifies to open the smart door lock, that is, the current user can successfully pass the first pass verification of unlocking. Because the SN codes have uniqueness, one mobile terminal only corresponds to one group of SN codes, only the SN code of the administrator user terminal and the SN codes of the mobile terminals of other family members authorized by the administrator user can pass the first-pass verification, and other illegal users cannot pass the first-pass verification if the appointed SN codes are not available, namely some illegal users cannot open the intelligent door lock if the appointed SN codes are unavailable, so that the unlocking safety of the intelligent door lock is ensured.
As described in the step S4, the SN code of the local device sent by the mobile terminal of the current user of the router is verified as the first pass verification for opening the intelligent door lock, and if the first pass verification fails, that is, the SN code of the local device does not match any SN code of the pre-stored designated SN codes, the router may determine that the current user does not have the qualification for opening the intelligent door lock, that is, the current user is not a legitimate user who has the qualification for opening the intelligent door lock, and at this time, the router may send a deadlock instruction to the intelligent door lock, so that the intelligent door lock enters a locked state, thereby effectively preventing the behavior of an illegitimate user trying to open the intelligent door lock, and ensuring the safety and effectiveness of the intelligent door lock. In addition, if the first pass of authentication passes, the current user is required to perform subsequent second pass of authentication, and if the second pass of authentication also passes, the router can control the intelligent door lock to be unlocked. The content of the second verification may be: the router inputs a fingerprint or a password of the intelligent door lock through the current user and performs authentication, or the router acquires specified characteristic information of the current user, such as a face image, a voiceprint or an iris, and performs authentication. In the embodiment, after the current user passes through the first verification, the second verification is required, and only after the two verifications pass through, the router can control the intelligent door lock to be unlocked, so that the safety and effectiveness of the intelligent door lock are ensured more effectively, and the loss caused by the illegal user opening the intelligent door lock is avoided.
Referring to fig. 2, further, in an embodiment of the application, the step S3 includes:
s300: matching and comparing the SN codes with designated SN codes stored in the router in advance one by one;
s301: if the matching is successful, the verification result is that the verification is passed; and if the matching fails, the verification result is that the verification fails.
In this embodiment, the router stores the designated SN in advance, where the number of the designated SN is not limited, and the designated SN may include an SN of an administrator user terminal input by an administrator user and an SN of a mobile terminal of another family member authorized by the administrator user. After receiving the SN code of the local machine sent by the mobile terminal of the current user, the router verifies the SN code, namely, the SN code is matched and compared with the pre-stored appointed SN codes one by one to obtain a verification result, if the SN code is matched with one of the pre-stored appointed SN codes, the verification result is that the SN code passes the verification, and if the SN code is not matched with any one of the pre-stored appointed SN codes, the verification result is that the SN code does not pass the verification.
Further, in an embodiment of the application, the verification result is that the verification fails, and the step S4 includes:
s400: sending a first instruction for entering a locking state to the intelligent door lock;
s401: or sending alarm information to an administrator user terminal, wherein the alarm information comprises changing a wireless network password corresponding to the router.
In this embodiment, the router performs a first pass of verification for opening the smart door lock on the SN code of the local device sent by the mobile terminal of the current user, if the verification result is that the verification fails, that is, the SN code of the local device sent by the mobile terminal of the current user received by the router does not match any SN code of the pre-stored designated SN codes, the router determines that the current user does not qualify to open the smart door lock, that is, the current user is not a legitimate user who qualifies to open the smart door lock, and at this time, the router sends a third instruction to the smart door lock, where the third instruction is a deadlock instruction, so that the smart door lock enters a locked state, and does not respond to an unlocking operation of the current user, for example, the current user directly inputs a password or a fingerprint to the smart door lock without passing the first pass of verification, at the moment, because the intelligent door lock enters a locking state, the intelligent door lock cannot respond to the password or the fingerprint input by the current user, the intelligent door lock can be effectively prevented from being operated by an illegal user who steals the password of the intelligent door lock or cracks the fingerprint information of the intelligent door lock, and the safety and the effectiveness of the intelligent door lock are effectively ensured. And the intelligent door lock can send out an alarm prompt, such as an alarm voice ring, to warn the current user. In addition, as the mobile terminal of the current user is successfully connected with the router, but the current user does not pass the first pass of authentication, the current user is a legal user who cracks the wireless network password of the router but does not have the qualification of opening the intelligent door lock, at this time, the router sends alarm information to the administrator user terminal, wherein the alarm information comprises the wireless network password corresponding to the router, the administrator user is reminded to change the wireless network password corresponding to the router through the alarm information, and the complexity of the wireless network password of the router can be further enhanced, so that the security of the wireless network password of the router is ensured.
Further, in an embodiment of the application, the verification result is that the verification is passed, and the step S4 includes:
s410: and sending first information for asking for inputting a correct password of the intelligent door lock to unlock the mobile terminal so that a user can input the password of the intelligent door lock to unlock the mobile terminal.
In this embodiment, the router performs a first pass of verification for opening the smart door lock on the SN code of the local device sent by the mobile terminal of the current user, if the verification result is that the verification fails, that is, the SN code of the local device sent by the mobile terminal of the current user received by the router does not match any of the pre-stored SN codes specified above, the router determines that the current user does not qualify to open the smart door lock, that is, the current user is not a legitimate user who qualifies to open the smart door lock, and at this time, the router sends a first instruction to the smart door lock, where the first instruction is a deadlock instruction, so that the smart door lock enters a locked state, and does not respond to an unlocking operation of the current user, for example, the current user directly inputs a password or a fingerprint to the smart door lock without passing the first pass of verification, at the moment, because the intelligent door lock enters a locking state, the intelligent door lock cannot respond to the password or the fingerprint input by the current user, the intelligent door lock can be effectively prevented from being operated by an illegal user who steals the password of the intelligent door lock or cracks the fingerprint information of the intelligent door lock, and the safety and the effectiveness of the intelligent door lock are effectively ensured. And the intelligent door lock can send out an alarm prompt, such as an alarm voice ring, to warn the current user. In addition, as the mobile terminal of the current user is successfully connected with the router, but the current user does not pass the first pass of authentication, the current user is a legal user who cracks the wireless network password of the router but does not have the qualification of opening the intelligent door lock, at this time, the router sends alarm information to the administrator user terminal, wherein the alarm information comprises the wireless network password corresponding to the router, the administrator user is reminded to change the wireless network password corresponding to the router through the alarm information, and the complexity of the wireless network password of the router can be further enhanced, so that the security of the wireless network password of the router is ensured.
Referring to fig. 3, further, in an embodiment of the application, the verification result is that the verification is passed, and the step S4 includes:
s420: sending a second instruction to the intelligent door lock, wherein the second instruction is used for acquiring the biological characteristic information of the current user and sending the biological characteristic information to the router;
s421: uploading the received biological characteristic information to a cloud server, and matching and comparing the pre-stored specified biological characteristic information with the biological characteristic information through the cloud server;
s422: receiving a matching result returned by the cloud server;
s423: and if the matching is successful, sending an unlocking instruction to the intelligent door lock.
As described in step S420, the router performs a second verification to open the smart door lock on the SN code of the local device sent by the mobile terminal of the current user, and if the second verification passes, the current user is required to perform a subsequent second verification, specifically, the content of the second verification is to obtain the biometric information of the current user through the smart door lock, and perform verification, and if the verification passes, the router controls the smart door lock to be unlocked. When the verification result is that the verification is passed, the router sends a second instruction to the intelligent door lock, so that the intelligent door lock utilizes a second specified acquisition module to acquire the biological feature information of the current user and sends the biological feature information to the router, wherein the biological feature information comprises a face image, a voiceprint or an iris image, for example, the camera module is used for acquiring the face image of the current user and sending the face image to the router; or a voice acquisition module is used for acquiring a section of voice of the current user and sending the voice to the router.
As described in steps S421 to S423, the cloud server is communicatively connected to the router, and the cloud server and the router can exchange information with each other. After the router receives the biological characteristic information sent by the intelligent door lock, the biological characteristic information is sent to the cloud server, the cloud server uses the pre-stored specified biological characteristic information to match and compare with the biological characteristic information, then the cloud server returns a matching result to the router, if the matching result is successful, the router judges that the current user is a legal user with the qualification of opening the intelligent door lock, and then the router sends an unlocking instruction to the intelligent door lock to open the intelligent door lock. After the current user passes through first verification, still need carry out the second and verify, only verify that twice all verify and pass through the back, the router just can control intelligent lock and unblank, has guaranteed the safety and validity of intelligent lock more effectively, has avoided illegal user to open intelligent lock and has caused the loss. In addition, if the matching result is a matching failure, which means that the biometric information of the current user is not verified, the router sends an alarm instruction to the intelligent door lock, so that the intelligent door lock sends an alarm sound to remind the current user to input the biometric information again, and if the matching failure of the biometric information input by the current user exceeds a preset value, the router defaults that the current user is an illegal user who does not have the qualification of opening the intelligent door lock, and sends a locking instruction to the intelligent door lock, so that the intelligent door lock does not respond to the unlocking operation of the current user, and the loss caused by the illegal user opening the intelligent door lock is avoided.
Further, in an embodiment of the present invention, before the step S1, the method includes:
s100: receiving the appointed biological characteristic information acquired by the intelligent door lock for the appointed user;
s101: uploading the specified feature information to the cloud server.
In this embodiment, the administrator user may preset a designated user, where the designated user includes other family members authorized by the administrator user and the administrator user, where the number of family members may be set by themselves, and after receiving the designated biometric information of each family member and the administrator user, which is acquired through the smart door lock, the router may upload the specific biometric information to the cloud server for storage, where the cloud server has a function of verifying the biometric information of the current user by matching and comparing the currently acquired biometric information of the current user with the stored designated biometric information.
Further, in an embodiment of the present invention, the verification result is that the verification is passed, and the step S4 includes:
s430: sending a third instruction to the intelligent door lock, wherein the third instruction is used for acquiring the specified information of the current user and sending the specified information to the router;
s431: sending the received specified information to an administrator user terminal so that the administrator user terminal can verify the specified information;
s432: judging whether verification passing information sent by the administrator user terminal is acquired or not;
s433: and if so, sending an unlocking instruction to the intelligent door lock.
As described in the step S430, the router performs a first pass of verification on the SN code of the local device sent by the mobile terminal of the current user to open the intelligent door lock, and if the first pass of verification passes, the current user is required to perform a subsequent second pass of verification, specifically, the content of the second pass of verification is that the specified information of the current user is obtained through the intelligent door lock, and verification is performed, and if the verification passes, the router controls the intelligent door lock to unlock. When the verification result is that the verification passes, the router sends a third instruction to the intelligent door lock, so that the intelligent door lock utilizes a third specified acquisition module to acquire specified information of the current user and sends the specified information to the router, wherein the specified information comprises face image information, whole-body image information or voice information, for example, a camera module is used for acquiring a face image of the current user and sending the face image to the router; or a voice acquisition module is used for acquiring a section of voice of the current user and sending the voice to the router.
As described in steps S431 to S433 above, the administrator user terminal is communicatively connected to the router, and the administrator user terminal and the router can perform information interaction with each other. After the router receives the designated information sent by the intelligent door lock, the designated information is sent to the administrator user terminal, and then the administrator user checks and analyzes the received designated information through the administrator user terminal, and after confirming that the current user is a family member, verification passing information is returned to the router. If the router receives the verification passing information, the fact that the designated information of the current user passes the verification means that the current user is a legal user qualified for opening the intelligent door lock, and then the router sends an unlocking instruction to the intelligent door lock to open the intelligent door lock. After the current user passes through first verification, still need carry out the second and verify, only verify that twice all verify and pass through the back, the router just can control intelligent lock and unblank, has guaranteed the safety and validity of intelligent lock more effectively, has avoided illegal user to open intelligent lock and has caused the loss. In addition, the router does not receive the verification passing information, and if the received verification failing information indicates that the specified information of the current user does not pass the verification, the router sends an alarm instruction to the intelligent door lock, further, the router defaults the current user to be an illegal user who does not have the qualification of opening the intelligent door lock, and sends a locking instruction to the intelligent door lock, so that the intelligent door lock does not respond to the unlocking operation of the current user, and the intelligent door lock is prevented from being opened by the illegal user to cause loss.
Referring to fig. 4, further, in an embodiment of the present invention, before the step S1, the method includes:
s110: receiving the appointed SN code input by the administrator user, wherein the appointed SN code comprises an SN code of an administrator user terminal and an SN code of a mobile terminal of a preset family member;
s111: and storing the specified SN code in a specified mode.
In this embodiment, the designated SN code may include an SN code of an administrator user terminal input by an administrator user and an SN code of a mobile terminal of a preset family member authorized by the administrator user, where the number of the designated SN codes is not limited, for example, if one family member may have a plurality of mobile terminals, it has a plurality of corresponding SN codes. The manager user can gather the SN code of the mobile terminal of the family member in advance and the SN code of the manager user terminal, and stores the acquired appointed SN code in an appointed mode, wherein the appointed mode can comprise: directly storing the appointed SN code in the router, and then the subsequent router directly matches and compares the SN code input by the mobile terminal of the current user with the appointed SN code stored in the router; or the appointed SN code is stored in a cloud server, the cloud server is in communication connection with the router, and the two can perform information interaction with each other, namely the router can store the appointed SN code through the cloud server, can verify the SN code input by the mobile terminal of the current user through the cloud server, and stores the appointed SN code through the cloud server, so that the safety of the appointed SN code can be effectively ensured.
Referring to fig. 5, an embodiment of the present application further provides a mobile terminal, where the mobile terminal may be a server, and an internal structure of the mobile terminal may be as shown in fig. 5. The mobile terminal includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the mobile terminal is designed to provide computing and control capabilities. The memory of the mobile terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the mobile terminal is used for storing and controlling data such as intelligent door lock information. The network interface of the mobile terminal is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a method of controlling an intelligent door lock.
The processor executes the steps of the method for controlling the intelligent door lock:
the router receives an unlocking request sent by a mobile terminal of a current user;
sending a verification request for inputting SN codes to the mobile terminal, so that the mobile terminal sends the SN codes of the mobile terminal to the router;
receiving the SN code sent by the mobile terminal, and verifying the SN code to obtain a verification result;
and controlling an intelligent door lock in wireless connection with the router to execute corresponding operation according to the verification result.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for controlling an intelligent door lock, and specifically includes:
the router receives an unlocking request sent by a mobile terminal of a current user;
sending a verification request for inputting SN codes to the mobile terminal, so that the mobile terminal sends the SN codes of the mobile terminal to the router;
receiving the SN code sent by the mobile terminal, and verifying the SN code to obtain a verification result;
and controlling an intelligent door lock in wireless connection with the router to execute corresponding operation according to the verification result.
To sum up, in the method for controlling an intelligent door lock, the mobile terminal and the computer-readable storage medium provided in the embodiment of the present application, the router receives an unlocking request sent by the mobile terminal of the current user; sending a verification request for inputting an SN (service number) code to the mobile terminal so that the mobile terminal sends a pre-stored SN code to the router; receiving the SN code sent by the mobile terminal, and verifying the SN code to obtain a verification result; and controlling an intelligent door lock in wireless connection with the router to execute corresponding operation according to the verification result. According to the method and the system, the SN code sent by the mobile terminal of the current user is verified by utilizing the router, and the intelligent door lock in wireless connection with the router is controlled to execute corresponding operation according to the verification result, so that the safety and effectiveness of the intelligent door lock are effectively guaranteed, the problem that the intelligent door lock is opened by an illegal user to cause loss is avoided, and the potential safety hazard that the intelligent door lock is unlocked is reduced.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware associated with instructions of a computer program, which may be stored on a non-volatile computer-readable storage medium, and when executed, may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A method of controlling an intelligent door lock, comprising:
the router receives an unlocking request sent by a mobile terminal of a current user;
sending a verification request for inputting an SN (service number) code to the mobile terminal so that the mobile terminal sends a pre-stored SN code to the router;
receiving the SN code sent by the mobile terminal, and verifying the SN code to obtain a verification result;
and controlling an intelligent door lock in wireless connection with the router to execute corresponding operation according to the verification result.
2. The method for controlling an intelligent door lock according to claim 1, wherein the step of verifying the SN code to obtain a verification result comprises:
matching and comparing the SN codes with designated SN codes stored in the router in advance one by one;
if the matching is successful, the verification result is that the verification is passed; and if the matching fails, the verification result is that the verification fails.
3. The method for controlling the intelligent door lock according to claim 1, wherein the verification result is that the verification fails, and the step of controlling the intelligent door lock wirelessly connected with the router to perform corresponding operations according to the verification result comprises:
sending a first instruction for entering a locking state to the intelligent door lock;
or sending alarm information to an administrator user terminal, wherein the alarm information comprises changing a wireless network password corresponding to the router.
4. The method for controlling the intelligent door lock according to claim 1, wherein the verification result is that the verification is passed, and the step of controlling the intelligent door lock wirelessly connected with the router to perform corresponding operations according to the verification result comprises:
and sending first information for asking for inputting a correct password of the intelligent door lock to unlock the mobile terminal so that a user can input the password of the intelligent door lock to unlock the mobile terminal.
5. The method for controlling the intelligent door lock according to claim 1, wherein the verification result is that the verification is passed, and the step of controlling the intelligent door lock wirelessly connected with the router to perform corresponding operations according to the verification result comprises:
sending a second instruction to the intelligent door lock, wherein the second instruction is used for acquiring the biological characteristic information of the current user and sending the biological characteristic information to the router;
uploading the received biological characteristic information to a cloud server, and matching and comparing the pre-stored specified biological characteristic information with the biological characteristic information through the cloud server;
receiving a matching result returned by the cloud server;
and if the matching is successful, sending an unlocking instruction to the intelligent door lock.
6. The method for controlling an intelligent door lock according to claim 5, wherein the step of receiving the unlocking request sent by the mobile terminal of the current user by the router is preceded by the following steps:
receiving the appointed biological characteristic information acquired by the intelligent door lock for the appointed user;
uploading the specified feature information to the cloud server.
7. The method for controlling the intelligent door lock according to claim 1, wherein the verification result is that the verification is passed, and the step of controlling the intelligent door lock wirelessly connected with the router to perform corresponding operations according to the verification result comprises:
sending a third instruction to the intelligent door lock, wherein the third instruction is used for acquiring the specified information of the current user and sending the specified information to the router;
sending the received specified information to an administrator user terminal so that the administrator user terminal can verify the specified information;
judging whether verification passing information sent by the administrator user terminal is acquired or not;
and if so, sending an unlocking instruction to the intelligent door lock.
8. The method for controlling an intelligent door lock according to claim 1, wherein the step of receiving the unlocking request sent by the mobile terminal of the current user by the router is preceded by the following steps:
receiving the appointed SN code input by the administrator user, wherein the appointed SN code comprises an SN code of an administrator user terminal and an SN code of a mobile terminal of a preset family member;
and storing the specified SN code in a specified mode.
9. A mobile terminal comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any of claims 1 to 8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN201811160461.XA 2018-09-30 2018-09-30 Method for controlling intelligent door lock, mobile terminal and computer readable storage medium Withdrawn CN110969727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811160461.XA CN110969727A (en) 2018-09-30 2018-09-30 Method for controlling intelligent door lock, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811160461.XA CN110969727A (en) 2018-09-30 2018-09-30 Method for controlling intelligent door lock, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110969727A true CN110969727A (en) 2020-04-07

Family

ID=70029050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811160461.XA Withdrawn CN110969727A (en) 2018-09-30 2018-09-30 Method for controlling intelligent door lock, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110969727A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111768530A (en) * 2020-07-22 2020-10-13 联想(北京)有限公司 Intelligent unlocking method and device
CN111915772A (en) * 2020-08-04 2020-11-10 四川铁集共联科技股份有限公司 Remote unlocking method
CN112863013A (en) * 2021-01-04 2021-05-28 珠海格力电器股份有限公司 Unlocking method, device, equipment and medium
CN113808302A (en) * 2021-08-12 2021-12-17 荣耀终端有限公司 Door lock control method and electronic equipment
CN114079573A (en) * 2020-08-13 2022-02-22 广东海信宽带科技有限公司 Router access method and router

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204143522U (en) * 2014-10-17 2015-02-04 广东美的生活电器制造有限公司 Communication link, household electrical appliance and electric kettle
CN104508713A (en) * 2012-06-05 2015-04-08 塔普基有限公司 Method and device for control of a lock mechanism using a mobile terminal
CN106652106A (en) * 2015-10-29 2017-05-10 中兴通讯股份有限公司 Door lock control method, device and terminal
CN107093232A (en) * 2017-03-29 2017-08-25 上海斐讯数据通信技术有限公司 A kind of gate inhibition's verification method and system based on mobile terminal
WO2018055495A1 (en) * 2016-09-23 2018-03-29 Vision S.R.L. Method for the management and control of accesses

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104508713A (en) * 2012-06-05 2015-04-08 塔普基有限公司 Method and device for control of a lock mechanism using a mobile terminal
CN204143522U (en) * 2014-10-17 2015-02-04 广东美的生活电器制造有限公司 Communication link, household electrical appliance and electric kettle
CN106652106A (en) * 2015-10-29 2017-05-10 中兴通讯股份有限公司 Door lock control method, device and terminal
WO2018055495A1 (en) * 2016-09-23 2018-03-29 Vision S.R.L. Method for the management and control of accesses
CN107093232A (en) * 2017-03-29 2017-08-25 上海斐讯数据通信技术有限公司 A kind of gate inhibition's verification method and system based on mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111768530A (en) * 2020-07-22 2020-10-13 联想(北京)有限公司 Intelligent unlocking method and device
CN111915772A (en) * 2020-08-04 2020-11-10 四川铁集共联科技股份有限公司 Remote unlocking method
CN114079573A (en) * 2020-08-13 2022-02-22 广东海信宽带科技有限公司 Router access method and router
CN114079573B (en) * 2020-08-13 2024-03-29 广东海信宽带科技有限公司 Router access method and router
CN112863013A (en) * 2021-01-04 2021-05-28 珠海格力电器股份有限公司 Unlocking method, device, equipment and medium
CN113808302A (en) * 2021-08-12 2021-12-17 荣耀终端有限公司 Door lock control method and electronic equipment
CN113808302B (en) * 2021-08-12 2022-09-09 荣耀终端有限公司 Door lock control method and electronic equipment

Similar Documents

Publication Publication Date Title
CN110969727A (en) Method for controlling intelligent door lock, mobile terminal and computer readable storage medium
CN108173822B (en) Intelligent door lock control method, intelligent door lock and computer readable storage medium
US10089804B2 (en) Method and apparatus for increasing reliability in monitoring systems
US8933777B2 (en) Gate control system and method of remote unlocking by validated users
CN109389709B (en) Unlocking control system and unlocking control method
CN106600776A (en) Method and system of access control
CN108010288A (en) The alarm method and device of a kind of intelligent door lock
US20220311763A1 (en) Method and system for performing user authentication
CN114120487B (en) Automobile digital key management method, system, equipment and storage medium
CN108920919A (en) Control method, the device and system of interactive intelligence equipment
CN105857246A (en) Control method, device and system for automobile starting lock
US20040078603A1 (en) System and method of protecting data
WO2001020463B1 (en) Security arrangement
CN111260831A (en) Intelligent door lock control device, method and system
CN109389720B (en) Intelligent door lock permission processing method and device
CN113536260A (en) Method and device for improving identity authentication security level based on biological characteristics
CN109109814A (en) A kind of vehicle open method, device and computer storage medium based on NFC identification
CN217061056U (en) Intelligent door lock
CN109697780B (en) Method and device for double door interlink unlocking, computer equipment and storage medium
CN111354109B (en) Security anti-theft monitoring system and method based on big data
KR20220089526A (en) System for authenticating user of robotaxis and method thereof
US10528713B2 (en) Distributed biometric identification system for a mobile environment
CN114220209B (en) Hotel access control method, hotel access control device, hotel access control equipment and storage medium
KR102356836B1 (en) Method for user authentication having enhanced security
CN115565268B (en) Automobile control method and system based on wireless automobile key, electronic equipment and storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200407

WW01 Invention patent application withdrawn after publication