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

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

Info

Publication number
CN113850938B
CN113850938B CN202111145469.0A CN202111145469A CN113850938B CN 113850938 B CN113850938 B CN 113850938B CN 202111145469 A CN202111145469 A CN 202111145469A CN 113850938 B CN113850938 B CN 113850938B
Authority
CN
China
Prior art keywords
door lock
indication information
intelligent door
cloud
target
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.)
Active
Application number
CN202111145469.0A
Other languages
Chinese (zh)
Other versions
CN113850938A (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 TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202111145469.0A priority Critical patent/CN113850938B/en
Publication of CN113850938A publication Critical patent/CN113850938A/en
Application granted granted Critical
Publication of CN113850938B publication Critical patent/CN113850938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • 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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • G07C2009/00365Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks in combination with a wake-up circuit
    • G07C2009/00373Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks in combination with a wake-up circuit whereby the wake-up circuit is situated in the lock
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses an intelligent door lock control method, an intelligent door lock control device, a storage medium and electronic equipment, and relates to the technical field of intelligent door locks, wherein the method comprises the following steps: determining whether an intelligent door lock is in a keep-alive state or not from a cloud, wherein the keep-alive state means that the intelligent door lock is connected with the cloud in a long mode with low power consumption; if the intelligent door lock is in the keep-alive state, sending a wake-up instruction to the cloud end, and triggering the cloud end to control the intelligent door lock to switch to a target mode based on the long connection; and sending an unlocking instruction carrying specific indication information matched with the target mode to the cloud, wherein the unlocking instruction triggers the cloud to control the intelligent door lock to be unlocked based on the specific indication information. The unlocking control convenience of intelligent door lock is promoted safely to this application.

Description

Intelligent door lock control method and device, storage medium and electronic equipment
Technical Field
The application relates to the technical field of intelligent door locks, in particular to an intelligent door lock control method, an intelligent door lock control device, a storage medium and electronic equipment.
Background
The intelligent door lock is widely applied to various industries, the intelligent door lock is generally provided with a low-power consumption mode, normal functions cannot be used in the low-power consumption mode, the door lock can be awakened to be unlocked only by manual touch, and subsequent unlocking operation is generally unsafe. For example, when there is user access, it is necessary to press a doorbell of a door lock to wake up the door lock and unlock the door lock based on a manual operation that is easily copied. Therefore, the intelligent door lock has the problems of inconvenient unlocking control and lower safety at present.
Disclosure of Invention
The embodiment of the application provides a scheme, can promote intelligent lock's unlocking control convenience safely.
The embodiment of the application provides the following technical scheme:
according to one embodiment of the present application, an intelligent door lock control method includes: determining whether an intelligent door lock is in a keep-alive state or not from a cloud, wherein the keep-alive state means that the intelligent door lock is connected with the cloud in a long mode with low power consumption; if the intelligent door lock is in the keep-alive state, sending a wake-up instruction to the cloud end, and triggering the cloud end to control the intelligent door lock to switch to a target mode based on the long connection; and sending an unlocking instruction carrying specific indication information matched with the target mode to the cloud, wherein the unlocking instruction triggers the cloud to control the intelligent door lock to be unlocked based on the specific indication information.
In some embodiments of the present application, before the sending, to the cloud, an unlocking instruction carrying specific indication information, the method further includes: receiving target indication information issued by the cloud, wherein the target indication information is generated when the intelligent door lock is switched to a target mode and is uploaded to the cloud; and generating an unlocking instruction carrying the specific indication information matched with the target mode according to the target indication information.
In some embodiments of the present application, the target indication information comprises a random number; the generating an unlocking instruction carrying the specific indication information matched with the target mode according to the target indication information comprises the following steps: the random number is used as specific indication information of the target pattern matching; and generating the unlocking instruction carrying the specific indication information.
In some embodiments of the present application, the generating, according to the target indication information, an unlocking instruction carrying specific indication information of the target pattern matching includes: encrypting the target indication information and the control end identity information according to a specific encryption protocol to generate the specific indication information matched with the target mode; and generating the unlocking instruction carrying the specific indication information.
In some embodiments of the present application, the sending, to the cloud, an unlocking instruction carrying specific indication information of the target pattern matching, where the unlocking instruction triggers the cloud to control unlocking of the intelligent door lock based on the specific indication information, includes: the unlocking instruction carrying the specific indication information is sent to the cloud, the unlocking instruction triggers the cloud to send a control instruction carrying the specific indication information to the intelligent door lock, the control instruction triggers the intelligent door lock to verify the specific indication information based on a random number generated in advance, and the intelligent door lock is unlocked after verification is passed.
In some embodiments of the present application, the sending, to the cloud, an unlocking instruction carrying specific indication information of the target pattern matching, where the unlocking instruction triggers the cloud to control unlocking of the intelligent door lock based on the specific indication information, includes: the unlocking instruction carrying the specific indication information is sent to the cloud, the unlocking instruction triggers the cloud to send a control instruction carrying the specific indication information to the intelligent door lock, the control instruction triggers the intelligent door lock to decrypt the specific indication information based on the specific encryption protocol, and triggers the intelligent door lock to verify that the decrypted target indication information and the control end identity information are unlocked after passing through.
In some embodiments of the present application, further comprising: and receiving an unlocking state of the intelligent door lock issued by the cloud, wherein the unlocking state is generated by the intelligent door lock according to a response condition to the unlocking instruction and is uploaded to the cloud.
According to one embodiment of the present application, an intelligent door lock control apparatus includes: the determining module is used for determining whether the intelligent door lock is in a keep-alive state or not from the cloud, wherein the keep-alive state means that the intelligent door lock is connected with the cloud in a long mode with low power consumption; the wake-up module is used for sending a wake-up instruction to the cloud terminal if the intelligent door lock is in the keep-alive state, and triggering the cloud terminal to control the intelligent door lock to switch to a target mode based on the long connection; and the unlocking module is used for sending an unlocking instruction carrying specific indication information matched with the target mode to the cloud, and the unlocking instruction triggers the cloud to control the intelligent door lock to be unlocked based on the specific indication information.
According to another embodiment of the present application, a storage medium has stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method described in the embodiments of the present application.
According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and the processor reads the computer program stored in the memory to execute the method according to the embodiment of the application.
In the embodiment of the application, whether the intelligent door lock is in a keep-alive state is determined from a cloud, wherein the keep-alive state refers to that the intelligent door lock is connected with the cloud in a long mode with low power consumption; if the intelligent door lock is in the keep-alive state, sending a wake-up instruction to the cloud end, and triggering the cloud end to control the intelligent door lock to switch to a target mode based on the long connection; and sending an unlocking instruction carrying specific indication information matched with the target mode to the cloud, wherein the unlocking instruction triggers the cloud to control the intelligent door lock to be unlocked based on the specific indication information.
In this way, the intelligent door lock is connected with the cloud end in a long mode with low power consumption in a keep-alive state, the intelligent door lock can be controlled to be switched to an operable target mode through the cloud end based on a wake-up instruction, then the intelligent door lock is safely controlled to be unlocked through the cloud end based on the matching property of the target mode and specific indication information, the door lock is not required to be manually contacted, the unlocking is convenient, for example, the unlocking can be safely controlled to be unlocked through the remote safety control of the target application, and the unlocking control convenience of the intelligent door lock is further safely improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 shows a schematic diagram of a system to which embodiments of the present application may be applied.
Fig. 2 shows a flow chart of a smart door lock control method according to one embodiment of the present application.
Fig. 3 shows a block diagram of an intelligent door lock control apparatus according to one embodiment of the present application.
Fig. 4 shows a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In the following description, specific embodiments of the present application will be described with reference to steps and symbols performed by one or more computers, unless otherwise indicated. Thus, these steps and operations will be referred to in several instances as being performed by a computer, which as referred to herein performs operations that include processing units by the computer that represent electronic signals that represent data in a structured form. This operation transforms the data or maintains it in place in the memory system of the computer, which may be reconfigured or otherwise altered in ways well known to those skilled in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principles of the present application are described in the foregoing text and are not meant to be limiting, and one skilled in the art will recognize that various steps and operations described below may also be implemented in hardware.
Fig. 1 shows a schematic diagram of a system 100 to which embodiments of the present application may be applied. As shown in fig. 1, the system 100 may include a cloud server 101, a terminal 102, and an intelligent door lock 103. The terminal 102 may be any computer device such as a computer, a mobile phone, a smart watch, a home appliance, etc. The cloud server 101 may be a server providing cloud services.
In one embodiment of the present example, the terminal 102 may determine from the cloud (i.e. the cloud server 101) whether the intelligent door lock 103 is in a keep-alive state, where the keep-alive state refers to that the intelligent door lock 103 is long connected with the cloud (i.e. the cloud server 101) in a low power consumption mode; if the intelligent door lock 103 is in the keep-alive state, sending a wake-up instruction to the cloud (i.e. the cloud server 101), and triggering the cloud (i.e. the cloud server 101) to control the intelligent door lock 103 to switch to a target mode based on the long connection; sending an unlocking instruction carrying specific indication information matched with the target mode to the cloud (i.e. the cloud server 101), wherein the unlocking instruction triggers the cloud (i.e. the cloud server 101) to control the intelligent door lock 103 to be unlocked based on the specific indication information.
Fig. 2 schematically illustrates a flow chart of a smart door lock control method according to one embodiment of the present application. The main body of execution of the intelligent door lock control method may be any device, such as the terminal 102 shown in fig. 1.
As shown in fig. 2, the intelligent door lock control method may include steps S210 to S230.
Step S210, determining whether an intelligent door lock is in a keep-alive state from a cloud, wherein the keep-alive state means that the intelligent door lock is connected with the cloud in a low power consumption mode;
step S220, if the intelligent door lock is in the keep-alive state, sending a wake-up instruction to the cloud, and triggering the cloud to control the intelligent door lock to switch to a target mode based on the long connection;
step S230, an unlocking instruction carrying specific indication information matched with the target mode is sent to the cloud, and the unlocking instruction triggers the cloud to control the intelligent door lock to be unlocked based on the specific indication information.
The local (as shown in the terminal 102 in fig. 1) can send a query instruction carrying a unique identification of a door lock of the intelligent door lock (such as a unique IP or name of the intelligent door lock) to the cloud, so that the cloud can query the door lock state of the intelligent door lock based on the unique identification, if the intelligent door lock is connected with the cloud in a long way, the intelligent door lock is determined to process the keep-alive state, then the cloud can send a notification message carrying the identification of the protection state to the local, and the cloud knows that the intelligent door lock is in the protection state.
The low power mode is a mode in which the door lock is not on but is connected to the cloud. And after long connection, namely the intelligent door lock is connected with the cloud through a handshake protocol, the intelligent door lock is kept to be connected for a long time. The intelligent door lock is connected with the cloud end in a long mode with low power consumption, and can be controlled by the cloud end at any time while the electric quantity consumption is low.
If the intelligent door lock is in a keep-alive state, locally sending a wake-up instruction to the cloud, wherein the wake-up instruction triggers the cloud to control the intelligent door lock to switch to a target mode based on long connection, and the target mode is a mode for allowing unlocking to be controlled in a specific mode.
After the intelligent door lock is switched to the target mode, the local unlocking instruction carrying specific indication information matched with the target mode can be sent to the cloud end, and the cloud end is triggered to control the intelligent door lock to be unlocked based on the specific indication information through the unlocking instruction.
In this way, based on step S210 to step S230, the intelligent door lock is connected with the cloud end in a low power consumption mode in a keep-alive state, the intelligent door lock can be controlled to be switched to an operable target mode locally based on a wake-up instruction through the cloud end, then the intelligent door lock is controlled to be unlocked locally based on the matching of the target mode and specific indication information, the door lock is not required to be contacted manually, the unlocking is convenient, for example, the unlocking can be controlled to be unlocked remotely and safely through a target application, and the unlocking control convenience of the intelligent door lock is further improved safely.
The specific procedure of each step performed when the intelligent door lock control is performed is described below.
In step S210, it is determined from the cloud whether the intelligent door lock is in a keep-alive state, where the keep-alive state refers to that the intelligent door lock is connected with the cloud in a low power consumption mode.
In this example embodiment, the local (such as the terminal 102 shown in fig. 1) may send, to the cloud, a query instruction carrying a unique identifier of a door lock of the intelligent door lock (such as a unique IP or a name of the intelligent door lock, etc.), so that the cloud may query a door lock state of the intelligent door lock based on the unique identifier, determine that the intelligent door lock is in a keep-alive state if a long connection is established between the intelligent door lock and the cloud, and then the cloud may send, to the local, a notification message carrying an identifier of a protection state, so that the local knows that the intelligent door lock is in the protection state.
The low power mode is a mode in which the door lock is not on but is connected to the cloud. And after long connection, namely the intelligent door lock is connected with the cloud through a handshake protocol, the intelligent door lock is kept to be connected for a long time. The intelligent door lock is connected with the cloud end in a long mode with low power consumption, and can be controlled by the cloud end at any time while the electric quantity consumption is low.
In step S220, if the intelligent door lock is in the keep-alive state, a wake-up instruction is sent to the cloud terminal, and the cloud terminal is triggered to control the intelligent door lock to switch to a target mode based on the long connection.
In this example embodiment, if the intelligent door lock is in the keep-alive state, the wake-up instruction is locally sent to the cloud end, and the wake-up instruction triggers the cloud end to control the intelligent door lock to switch to a target mode based on long connection, and the target mode is a mode that allows unlocking to be controlled in a specific mode.
In one example, the target mode is a mode that is consistent with the normal mode of operation after a conventional manual wake-on-touch door lock but also allows unlocking to be controlled locally (e.g., a local target application), and in another example, the target mode is a specific mode that allows unlocking to be controlled locally (e.g., a local target application), but is inconsistent with the normal mode of operation after a conventional manual wake-on-touch door lock.
The intelligent door lock is controlled to be switched to the target mode through the cloud, and unlocking operation can be performed according to an operation mode matched with the target mode.
In an example, the wake-up instruction carries locally selected or pre-agreed mode information, and then the wake-up instruction triggers the cloud to control the intelligent door lock to switch to a locally selected or pre-agreed target mode based on long connection.
In step S230, an unlocking instruction carrying specific indication information matched with the target pattern is sent to the cloud, and the unlocking instruction triggers the cloud to control the intelligent door lock to be unlocked based on the specific indication information.
In the embodiment of the present example, after the intelligent door lock is switched to the target mode, the local may send an unlocking instruction carrying specific indication information matched with the target mode to the cloud, and the cloud is triggered to control the intelligent door lock to unlock based on the specific indication information through the unlocking instruction.
In one embodiment, before sending the unlocking instruction carrying the specific indication information to the cloud end in step S230, the method further includes:
receiving target indication information issued by the cloud, wherein the target indication information is generated when the intelligent door lock is switched to a target mode and is uploaded to the cloud; and generating an unlocking instruction carrying the specific indication information matched with the target mode according to the target indication information.
In this embodiment, the target indication information is information that the target mode generated by the intelligent door lock is matched, the target indication information is generated and uploaded to the cloud end when the intelligent door lock is switched to the target mode, and then the cloud end can issue the target indication information to the local.
Then, after receiving the target indication information, the unlocking instruction carrying the specific indication information of target pattern matching can be accurately generated according to the target indication information.
Furthermore, the cloud can issue the target indication information and issue the description information of switching the intelligent door lock to the target mode, and the local unlocking instruction carrying the specific indication information matched with the target mode can be further accurately generated based on the description information and the target indication information.
In one embodiment, the target indication information comprises a random number; the generating an unlocking instruction carrying the specific indication information matched with the target mode according to the target indication information comprises the following steps: the random number is used as specific indication information of the target pattern matching; and generating the unlocking instruction carrying the specific indication information.
In this embodiment, the target indication information is a random number generated by the intelligent door lock itself, the random number is directly carried as specific indication information to the unlocking instruction locally, and the unlocking is reliably controlled by the authorization of the intelligent door lock itself.
In one embodiment, the generating, according to the target indication information, an unlocking instruction carrying specific indication information of the target pattern matching includes: encrypting the target indication information and the control end identity information according to a specific encryption protocol to generate the specific indication information matched with the target mode; and generating the unlocking instruction carrying the specific indication information.
The control end identity information is identity information of a local control user, in one example, the control end identity information may be account information logged on a local target application, and in another example, the control end identity information may be a private key of a local terminal. The target indication information and the control end identity information are locally encrypted through a specific encryption protocol to generate target pattern matching specific indication information, wherein the specific encryption protocol can be a preset target pattern matching encryption protocol.
After the specific indication information is obtained through encryption, the control starting safety is further improved through carrying the specific indication information to an unlocking instruction.
In an embodiment, the sending, to the cloud end, an unlocking instruction carrying specific indication information matched with the target pattern, where the unlocking instruction triggers the cloud end to control unlocking of the intelligent door lock based on the specific indication information, includes:
the unlocking instruction carrying the specific indication information is sent to the cloud, the unlocking instruction triggers the cloud to send a control instruction carrying the specific indication information to the intelligent door lock, the control instruction triggers the intelligent door lock to verify the specific indication information based on a random number generated in advance, and the intelligent door lock is unlocked after verification is passed.
In this embodiment, the specific indication information is a random number issued by the intelligent door lock through the cloud, when the intelligent door lock is unlocked, the random number is locally carried to an unlocking instruction and issued to the intelligent door lock through the cloud, the intelligent door lock compares and verifies the specific indication information (namely, the random number) through the random number generated in advance, whether the intelligent door lock generates an authorized random number or not, and if the intelligent door lock does not, the intelligent door lock verifies that the intelligent door lock is unlocked through self.
In an embodiment, the sending, to the cloud end, an unlocking instruction carrying specific indication information matched with the target pattern, where the unlocking instruction triggers the cloud end to control unlocking of the intelligent door lock based on the specific indication information, includes:
the unlocking instruction carrying the specific indication information is sent to the cloud, the unlocking instruction triggers the cloud to send a control instruction carrying the specific indication information to the intelligent door lock, the control instruction triggers the intelligent door lock to decrypt the specific indication information based on the specific encryption protocol, and triggers the intelligent door lock to verify that the decrypted target indication information and the control end identity information are unlocked after passing through.
In this embodiment, the specific indication information is generated by encrypting the specific indication information through a specific encryption protocol, and after receiving the specific indication information issued by the cloud, the intelligent door lock decrypts the specific indication information according to the specific encryption protocol to obtain the target indication information and the control end identity information, so that the unlocking authority can be verified safely and initially.
Furthermore, the intelligent door lock decrypts the target indication information and the control end identity information to verify. The intelligent door lock can compare whether the decrypted target indication information is consistent or not based on the target indication information which is generated in advance, and if so, the intelligent door lock verifies that the target indication information passes. When the intelligent door lock verifies the control end identity information, in one example, the control end identity information can be account information logged in on a local target application, the intelligent door lock can verify the validity of the account information to the cloud if the validity verification passes, in another example, the control end identity information can be a private key of a local terminal, the intelligent door lock can perform decryption verification based on a previously acquired public key of the local control terminal, and if the decryption is successful, the verification passes.
In one embodiment, the method further comprises:
and receiving an unlocking state of the intelligent door lock issued by the cloud, wherein the unlocking state is generated by the intelligent door lock according to a response condition to the unlocking instruction and is uploaded to the cloud.
The intelligent door lock generates description information of an unlocking state according to a response condition to an unlocking instruction and uploads the description information to the cloud end, and the description information of the unlocking state can be used for judging whether unlocking is successful or not, unlocking failure and the like. Therefore, the unlocking experience through the indirect control of the local terminal can be further improved.
In order to facilitate better implementation of the intelligent door lock control method provided by the embodiment of the application, the embodiment of the application also provides an intelligent door lock control device based on the intelligent door lock control method. The meaning of the noun is the same as that in the intelligent door lock control method, and specific implementation details can be referred to the description in the method embodiment. Fig. 3 shows a block diagram of an intelligent door lock control apparatus according to one embodiment of the present application.
As shown in fig. 3, the smart door lock control apparatus 300 may include a determining module 310, a wake-up module 320, and an unlock module 330.
The determining module 310 may be configured to determine, from a cloud, whether an intelligent door lock is in a keep-alive state, where the keep-alive state refers to that the intelligent door lock is connected with the cloud in a low power consumption mode; the wake-up module 320 may be configured to send a wake-up instruction to the cloud terminal if the intelligent door lock is in the keep-alive state, and trigger the cloud terminal to control the intelligent door lock to switch to a target mode based on the long connection; the unlocking module 330 may be configured to send an unlocking instruction carrying specific indication information matched with the target pattern to the cloud, where the unlocking instruction triggers the cloud to control unlocking of the intelligent door lock based on the specific indication information.
In some embodiments of the present application, the apparatus further comprises: the receiving module is used for receiving target indication information issued by the cloud, wherein the target indication information is generated when the intelligent door lock is switched to a target mode and is uploaded to the cloud; and the generating module is used for generating an unlocking instruction carrying the specific indication information matched with the target mode according to the target indication information.
In some embodiments of the present application, the generating module includes: an information determining unit configured to use the random number as specific indication information for the target pattern matching; and the first instruction generating unit is used for generating the unlocking instruction carrying the specific indication information.
In some embodiments of the present application, the generating module includes: the encryption unit is used for carrying out encryption processing on the target indication information and the control end identity information according to a specific encryption protocol to generate the specific indication information matched with the target mode; and the second instruction generating unit is used for generating the unlocking instruction carrying the specific indication information.
In some embodiments of the present application, the opening module 330 includes: the first unlocking unit is used for sending an unlocking instruction carrying the specific indication information to the cloud, the unlocking instruction triggers the cloud to send a control instruction carrying the specific indication information to the intelligent door lock, and the control instruction triggers the intelligent door lock to verify the specific indication information based on a random number generated in advance and unlock after verification passes.
In some embodiments of the present application, the opening module 330 includes: the second unlocking unit is used for sending an unlocking instruction carrying the specific indication information to the cloud, the unlocking instruction triggers the cloud to send a control instruction carrying the specific indication information to the intelligent door lock, the control instruction triggers the intelligent door lock to decrypt the specific indication information based on the specific encryption protocol, and triggers the intelligent door lock to verify that the decrypted target indication information and the control end identity information pass through and then unlock.
In some embodiments of the present application, a notification module is further included for: and receiving an unlocking state of the intelligent door lock issued by the cloud, wherein the unlocking state is generated by the intelligent door lock according to a response condition to the unlocking instruction and is uploaded to the cloud.
In this way, based on the intelligent door lock control device 300, the intelligent door lock is connected with the cloud end in a long mode with low power consumption in a keep-alive state, the intelligent door lock can be controlled to be switched to an operable target mode through the cloud end based on a wake-up instruction locally, then the intelligent door lock is controlled to be unlocked through the cloud end based on the matching property of the target mode and specific indication information locally, the door lock is not required to be contacted manually, unlocking is convenient and fast, for example, the intelligent door lock can be unlocked through remote safe control of a target application locally, and unlocking control convenience and safety of the intelligent door lock are further effectively improved.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, in accordance with embodiments of the present application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, the embodiment of the application further provides an electronic device, which may be a terminal or a server, as shown in fig. 4, which shows a schematic structural diagram of the electronic device according to the embodiment of the application, specifically:
the electronic device may include one or more processing cores 'processors 401, one or more computer-readable storage media's memory 402, power supply 403, and input unit 404, among other components. Those skilled in the art will appreciate that the electronic device structure shown in fig. 4 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components. Wherein:
the processor 401 is a control center of the electronic device, connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 402, and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user page, an application program, etc., and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by executing the software programs and modules stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
The electronic device further comprises a power supply 403 for supplying power to the various components, preferably the power supply 403 may be logically connected to the processor 401 by a power management system, so that functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 403 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 404, which input unit 404 may be used for receiving input digital or character information and generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 401 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 402 according to the following instructions, and the processor 401 executes the computer programs stored in the memory 402, so as to implement various functions, for example, the processor 401 may perform the following steps:
determining whether an intelligent door lock is in a keep-alive state or not from a cloud, wherein the keep-alive state means that the intelligent door lock is connected with the cloud in a long mode with low power consumption; if the intelligent door lock is in the keep-alive state, sending a wake-up instruction to the cloud end, and triggering the cloud end to control the intelligent door lock to switch to a target mode based on the long connection; and sending an unlocking instruction carrying specific indication information matched with the target mode to the cloud, wherein the unlocking instruction triggers the cloud to control the intelligent door lock to be unlocked based on the specific indication information.
In some embodiments of the present application, before the sending the unlocking instruction carrying the specific indication information to the cloud end, the processor 401 may perform: receiving target indication information issued by the cloud, wherein the target indication information is generated when the intelligent door lock is switched to a target mode and is uploaded to the cloud; and generating an unlocking instruction carrying the specific indication information matched with the target mode according to the target indication information.
In some embodiments of the present application, the target indication information comprises a random number; the processor 401 may execute, when generating the unlock instruction carrying the specific indication information of the target pattern matching according to the target indication information: the random number is used as specific indication information of the target pattern matching; and generating the unlocking instruction carrying the specific indication information.
In some embodiments of the present application, when generating the unlock instruction carrying the specific indication information of the target pattern matching according to the target indication information, the processor 401 may execute: encrypting the target indication information and the control end identity information according to a specific encryption protocol to generate the specific indication information matched with the target mode; and generating the unlocking instruction carrying the specific indication information.
In some embodiments of the present application, the sending, to the cloud end, an unlocking instruction carrying specific indication information of the target pattern matching, where the unlocking instruction triggers the cloud end to control unlocking of the intelligent door lock based on the specific indication information, where the processor 401 may execute: the unlocking instruction carrying the specific indication information is sent to the cloud, the unlocking instruction triggers the cloud to send a control instruction carrying the specific indication information to the intelligent door lock, the control instruction triggers the intelligent door lock to verify the specific indication information based on a random number generated in advance, and the intelligent door lock is unlocked after verification is passed.
In some embodiments of the present application, the sending, to the cloud end, an unlocking instruction carrying specific indication information of the target pattern matching, where the unlocking instruction triggers the cloud end to control unlocking of the intelligent door lock based on the specific indication information, where the processor 401 may execute: the unlocking instruction carrying the specific indication information is sent to the cloud, the unlocking instruction triggers the cloud to send a control instruction carrying the specific indication information to the intelligent door lock, the control instruction triggers the intelligent door lock to decrypt the specific indication information based on the specific encryption protocol, and triggers the intelligent door lock to verify that the decrypted target indication information and the control end identity information are unlocked after passing through.
In some embodiments of the present application, the processor 401 may perform: and receiving an unlocking state of the intelligent door lock issued by the cloud, wherein the unlocking state is generated by the intelligent door lock according to a response condition to the unlocking instruction and is uploaded to the cloud.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present embodiments also provide a storage medium having stored therein a computer program that can be loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the computer program stored in the storage medium may perform any of the steps in the method provided in the embodiment of the present application, the beneficial effects that can be achieved by the method provided in the embodiment of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
It will be understood that the present application is not limited to the embodiments that have been described above and shown in the drawings, but that various modifications and changes can be made without departing from the scope thereof.

Claims (9)

1. The intelligent door lock control method is characterized by comprising the following steps of:
determining whether an intelligent door lock is in a keep-alive state or not from a cloud, wherein the keep-alive state means that the intelligent door lock is connected with the cloud in a long mode with low power consumption;
if the intelligent door lock is in the keep-alive state, sending a wake-up instruction to the cloud end, and triggering the cloud end to control the intelligent door lock to switch to a target mode based on the long connection;
sending an unlocking instruction carrying specific indication information matched with the target mode to the cloud, wherein the unlocking instruction triggers the cloud to control the intelligent door lock to be unlocked based on the specific indication information;
before the unlocking instruction carrying the specific indication information is sent to the cloud, the method further comprises the following steps:
receiving target indication information issued by the cloud, wherein the target indication information is generated when the intelligent door lock is switched to a target mode and is uploaded to the cloud;
and generating an unlocking instruction carrying the specific indication information matched with the target mode according to the target indication information.
2. The method of claim 1, wherein the target indication information comprises a random number; the generating an unlocking instruction carrying the specific indication information matched with the target mode according to the target indication information comprises the following steps:
the random number is used as specific indication information of the target pattern matching;
and generating the unlocking instruction carrying the specific indication information.
3. The method according to claim 1, wherein generating an unlock instruction carrying specific indication information of the target pattern matching according to the target indication information comprises:
encrypting the target indication information and the control end identity information according to a specific encryption protocol to generate the specific indication information matched with the target mode;
and generating the unlocking instruction carrying the specific indication information.
4. The method of claim 2, wherein the sending, to the cloud, an unlock instruction carrying specific indication information of the target pattern match, the unlock instruction triggering the cloud to control unlocking of the intelligent door lock based on the specific indication information, comprises:
the unlocking instruction carrying the specific indication information is sent to the cloud, the unlocking instruction triggers the cloud to send a control instruction carrying the specific indication information to the intelligent door lock, the control instruction triggers the intelligent door lock to verify the specific indication information based on a random number generated in advance, and the intelligent door lock is unlocked after verification is passed.
5. The method of claim 3, wherein the sending, to the cloud, an unlock instruction carrying specific indication information of the target pattern match, the unlock instruction triggering the cloud to control unlocking of the intelligent door lock based on the specific indication information, comprises:
the unlocking instruction carrying the specific indication information is sent to the cloud, the unlocking instruction triggers the cloud to send a control instruction carrying the specific indication information to the intelligent door lock, the control instruction triggers the intelligent door lock to decrypt the specific indication information based on the specific encryption protocol, and triggers the intelligent door lock to verify that the decrypted target indication information and the control end identity information are unlocked after passing through.
6. The method according to any one of claims 1 to 5, further comprising:
and receiving an unlocking state of the intelligent door lock issued by the cloud, wherein the unlocking state is generated by the intelligent door lock according to a response condition to the unlocking instruction and is uploaded to the cloud.
7. An intelligent door lock control device, characterized by comprising:
the intelligent door lock comprises a receiving module, a cloud end processing module and a cloud end processing module, wherein the receiving module is used for receiving target indication information issued by the cloud end, and the target indication information is generated when the intelligent door lock is switched to a target mode and is uploaded to the cloud end;
the generation module is used for generating an unlocking instruction carrying specific indication information matched with the target mode according to the target indication information;
the determining module is used for determining whether the intelligent door lock is in a keep-alive state or not from the cloud, wherein the keep-alive state means that the intelligent door lock is connected with the cloud in a long mode with low power consumption;
the wake-up module is used for sending a wake-up instruction to the cloud terminal if the intelligent door lock is in the keep-alive state, and triggering the cloud terminal to control the intelligent door lock to switch to a target mode based on the long connection;
and the unlocking module is used for sending an unlocking instruction carrying specific indication information matched with the target mode to the cloud, and the unlocking instruction triggers the cloud to control the intelligent door lock to be unlocked based on the specific indication information.
8. A storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method of any of claims 1 to 6.
9. An electronic device, comprising: a memory storing a computer program; a processor reading a computer program stored in a memory to perform the method of any one of claims 1 to 6.
CN202111145469.0A 2021-09-28 2021-09-28 Intelligent door lock control method and device, storage medium and electronic equipment Active CN113850938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111145469.0A CN113850938B (en) 2021-09-28 2021-09-28 Intelligent door lock control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111145469.0A CN113850938B (en) 2021-09-28 2021-09-28 Intelligent door lock control method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113850938A CN113850938A (en) 2021-12-28
CN113850938B true CN113850938B (en) 2023-08-01

Family

ID=78980472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111145469.0A Active CN113850938B (en) 2021-09-28 2021-09-28 Intelligent door lock control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113850938B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115412381B (en) * 2022-08-26 2024-03-19 普联技术有限公司 Notification method, intelligent access control equipment, doorbell module, server and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107103664A (en) * 2016-12-27 2017-08-29 上海多灵建筑科技有限公司 Wide area Internet of Things intelligent door lock system and its control method
CN107180467A (en) * 2017-05-11 2017-09-19 广东汇泰龙科技有限公司 A kind of network cloud lock management method and its system
CN107680227A (en) * 2017-10-20 2018-02-09 莲花丝路科技有限公司 A kind of application method and system of smart lock low power consumption remote control system
CN108055235B (en) * 2017-11-01 2020-09-18 华中科技大学 Control method of intelligent lock, related equipment and system
CN112037382A (en) * 2020-09-08 2020-12-04 北京紫光安芯科技有限公司 Door lock control system and method and intelligent door lock
CN112200941A (en) * 2020-10-09 2021-01-08 广东科徕尼智能科技有限公司 Method, equipment and storage medium for generating temporary password by intelligent door lock

Also Published As

Publication number Publication date
CN113850938A (en) 2021-12-28

Similar Documents

Publication Publication Date Title
US9921978B1 (en) System and method for enhanced security of storage devices
US8364952B2 (en) Methods and system for a key recovery plan
JPH05274140A (en) Method for authorizing portable body connected to external medium through transmission line with external medium, and system for executing the method
US11361067B2 (en) Cross authentication method for computer system security
US20230336982A1 (en) Virtual key sharing system and method
CN108547514B (en) Unlocking method and device of intelligent door lock
CN104123164A (en) Application program starting method and device
WO2016072833A1 (en) System and method to disable factory reset
JP2009253783A (en) Mobile terminal, data protection method and program for data protection
CN113850938B (en) Intelligent door lock control method and device, storage medium and electronic equipment
CN111340987A (en) Internet of things door lock communication method, device and system and computer storage medium
CN113674455A (en) Intelligent door lock remote control method, device, system, equipment and storage medium
EP3929785B1 (en) Remote resetting to factory default settings; a method and a device
CN113626770A (en) Authorization control method, device, equipment and storage medium for application program
CN113268752A (en) Data management method, device, equipment and storage medium
CN112102524A (en) Unlocking method and unlocking system
CN110602121B (en) Network key obtaining method and device and computer readable storage medium
CN113468565A (en) Intelligent door lock control method and system
CN114139221A (en) Key state detection method, device, equipment and medium
CN114579145A (en) Software deployment method and device, computer equipment and storage medium
CN109995744B (en) Authorization management method, device and storage medium
CN116061874B (en) Anti-theft authentication method, system, equipment and medium based on SOA service architecture
CN110895840A (en) Wireless-based remote door opening method and door lock device thereof
US20240220590A1 (en) Security verification devices and security verification methods, apparatuses, and media
WO2023142748A1 (en) Device unlocking method and apparatus, electronic device and computer-readable 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
GR01 Patent grant
GR01 Patent grant