CN113971852B - Door lock control method and device, storage medium, processor and terminal equipment - Google Patents

Door lock control method and device, storage medium, processor and terminal equipment Download PDF

Info

Publication number
CN113971852B
CN113971852B CN202111242447.6A CN202111242447A CN113971852B CN 113971852 B CN113971852 B CN 113971852B CN 202111242447 A CN202111242447 A CN 202111242447A CN 113971852 B CN113971852 B CN 113971852B
Authority
CN
China
Prior art keywords
door lock
mobile terminal
condition
determining
under
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
CN202111242447.6A
Other languages
Chinese (zh)
Other versions
CN113971852A (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111242447.6A priority Critical patent/CN113971852B/en
Publication of CN113971852A publication Critical patent/CN113971852A/en
Application granted granted Critical
Publication of CN113971852B publication Critical patent/CN113971852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/40Security arrangements using identity modules
    • H04W12/48Security arrangements using identity modules using secure binding, e.g. securely binding identity modules to devices, services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/71Hardware identity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

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

Abstract

The invention discloses a door lock control method, a device, a storage medium, a processor and a terminal device, wherein the door lock control method comprises the following steps: determining whether a door lock and a mobile terminal establish communication connection; under the condition that the door lock establishes communication connection with the mobile terminal, determining whether a preset condition is met; under the condition that a preset condition is met, a display screen of the mobile terminal is controlled to pop up a password input interface; receiving a password input by a user on a password input interface; and controlling the door lock to unlock under the condition that the password is correct. The control method of the door lock solves the problem that the door lock in the prior art is poor in unlocking flexibility.

Description

Door lock control method and device, storage medium, processor and terminal equipment
Technical Field
The invention relates to the field of intelligent door locks, in particular to a door lock control method, a door lock control device, a storage medium, a processor and terminal equipment.
Background
An intelligent door lock in the prior art is usually provided with a password keyboard, and a user can unlock the door lock by operating the password keyboard to input a correct password. The unlocking mode has some defects in actual use, for example, the size of the door lock can be increased by arranging the password keyboard on the door lock, the door lock is defaced, and the cost of the door lock can be increased. For another example, multiple users may be exposed to the keyboard during unlocking, which may increase the risk of bacteria and viruses.
Therefore, the door lock in the prior art still has the defect of poor unlocking flexibility, and brings inconvenience to the unlocking operation of a user.
In view of the above problems, no effective solution has been proposed.
The above information disclosed in the background section is only for enhancement of understanding of the background of the technology described herein. The background art may therefore contain certain information that does not form the known prior art to those skilled in the art.
Disclosure of Invention
The embodiment of the invention provides a door lock control method and device, a storage medium, a processor and terminal equipment, and at least solves the problem that the door lock in the prior art is poor in unlocking flexibility.
In order to achieve the above object, according to a first aspect of embodiments of the present invention, there is provided a control method of a door lock, including: determining whether a door lock and a mobile terminal establish communication connection; under the condition that the door lock establishes communication connection with the mobile terminal, determining whether a preset condition is met; under the condition that a preset condition is met, controlling a display screen of the mobile terminal to pop up a password input interface; receiving a password input by a user on a password input interface; and controlling the door lock to unlock under the condition that the password is correct.
Further, determining whether a preset condition is satisfied includes: determining whether the door lock and the mobile terminal are bound with each other; determining that a preset condition is met at least under the condition that the door lock and the mobile terminal are bound with each other; and under the condition that the door lock and the mobile terminal are not bound with each other, determining that the preset condition is not met.
Further, determining whether the door lock and the mobile terminal are bound to each other includes: acquiring first identity identification information of a door lock and second identity identification information of a mobile terminal; determining whether the first identity information and the second identity information are bound with each other; under the condition that the first identity identification information and the second identity identification information are bound with each other, determining that the door lock and the mobile terminal are bound with each other; and under the condition that the first identity identification information and the second identity identification information are not bound with each other, determining that the door lock and the mobile terminal are not bound with each other.
Further, determining whether the first identity information and the second identity information are bound to each other includes: under the condition that binding information corresponding to the first identity identification information and the second identity identification information is stored in the mobile terminal, the first identity identification information and the second identity identification information are determined to be bound with each other; and/or determining that the first identity information and the second identity information are bound with each other under the condition that binding information corresponding to the first identity information and the second identity information is stored in the cloud server.
Further, determining whether the preset condition is met further comprises: determining whether the distance between the mobile terminal and the door lock is smaller than or equal to a preset distance; at least under the condition that the door lock and the mobile terminal are bound with each other, the step of determining that the preset condition is met comprises the following steps: determining that a preset condition is met under the condition that the distance between the mobile terminal and the door lock is smaller than or equal to a preset distance and the door lock is bound with the mobile terminal; and under the condition that the distance between the mobile terminal and the door lock is greater than the preset distance, determining that the preset condition is not met.
Further, determining whether the distance between the mobile terminal and the door lock is less than or equal to a preset distance includes: determining the signal intensity of communication connection between the door lock and the mobile terminal; determining that the distance between the mobile terminal and the door lock is smaller than or equal to a preset distance under the condition that the signal intensity is larger than or equal to a preset intensity; and under the condition that the signal intensity is smaller than the preset intensity, determining that the distance between the mobile terminal and the door lock is larger than the preset distance.
Further, the control method of the door lock further comprises the following steps: under the condition that the door lock is not bound with the mobile terminal, controlling a display screen of the mobile terminal to pop up a binding selection interface; under the condition of receiving a binding operation instruction, controlling the mobile terminal to send binding request information to the management terminal; and controlling the door lock to be bound with the mobile terminal under the condition of receiving the authorization information aiming at the binding request information from the management terminal.
Further, in the case of receiving the binding operation instruction, controlling the mobile terminal to send the binding request information to the management terminal includes: receiving personal information input by a user; verifying the personal information to determine whether the personal information satisfies a passing condition; and controlling the mobile terminal to send the binding request information to the management terminal under the condition that the personal information meets the passing condition.
According to a second aspect of the embodiments of the present invention, there is provided a control apparatus of a door lock, including: the first determining unit is used for determining whether the door lock and the mobile terminal establish communication connection; the second determining unit is used for determining whether a preset condition is met or not under the condition that the door lock establishes communication connection with the mobile terminal; the first control unit is used for controlling a display screen of the mobile terminal to pop up a password input interface under the condition that a preset condition is met; the receiving unit is used for receiving the password input by the user on the password input interface; and the second control unit controls the door lock to be unlocked under the condition that the password is correct.
According to a third aspect of the embodiments of the present invention, there is provided a nonvolatile storage medium including a stored program, wherein a device in which the nonvolatile storage medium is controlled when the program is executed performs the above-described method for controlling a door lock.
According to a fourth aspect of the embodiments of the present invention, there is provided a processor, configured to execute a program, wherein the program executes the method for controlling the door lock.
According to a fifth aspect of the embodiments of the present invention, there is provided a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the control method of the door lock when executing the computer program.
The control method of the door lock applying the technical scheme of the invention comprises the following steps: determining whether a door lock and a mobile terminal establish communication connection; under the condition that the door lock establishes communication connection with the mobile terminal, determining whether a preset condition is met; under the condition that a preset condition is met, a display screen of the mobile terminal is controlled to pop up a password input interface; receiving a password input by a user on a password input interface; and controlling the door lock to unlock under the condition that the password is correct. When the door lock is in communication connection with the mobile terminal and meets certain preset conditions, the display screen of the mobile terminal is controlled to pop up the password input interface, and therefore a user can input a password on the password input interface of the mobile terminal to control the door lock to unlock. By adopting the setting mode, the password input operation can be realized at the mobile terminal, so that the password keyboard of the door lock can be reduced or avoided, the sanitary safety is improved, or the password keyboard is not directly arranged on the door lock, the door lock structure is favorably simplified, and the manufacturing cost of the door lock is reduced. Therefore, the control method of the door lock adopting the technical scheme effectively improves the unlocking flexibility of the door lock and enables the unlocking operation of the door lock to be more convenient.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic flow diagram of an alternative embodiment of a method of controlling a door lock according to the present invention;
fig. 2 is a schematic view of an alternative embodiment of the control device of the door lock according to the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be understood that when an element such as a layer, film, region, or substrate is referred to as being "on" another element, it can be directly on the other element or intervening elements may also be present. Also, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element or "connected" to the other element through a third element.
Fig. 1 is a control method of a door lock according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
step S102, determining whether the door lock and the mobile terminal establish communication connection;
step S104, determining whether a preset condition is met or not under the condition that the door lock establishes communication connection with the mobile terminal;
step S106, under the condition that a preset condition is met, controlling a display screen of the mobile terminal to pop up a password input interface;
step S108, receiving a password input by a user on a password input interface;
and step S110, controlling the door lock to unlock under the condition that the password is correct.
The control method of the door lock adopting the scheme comprises the following steps: determining whether a door lock is in communication connection with the mobile terminal; under the condition that the door lock is in communication connection with the mobile terminal, determining whether a preset condition is met; under the condition that a preset condition is met, a display screen of the mobile terminal is controlled to pop up a password input interface; receiving a password input by a user on a password input interface; and controlling the door lock to unlock under the condition that the password is correct. When the door lock is in communication connection with the mobile terminal and meets certain preset conditions, the display screen of the mobile terminal is controlled to pop up the password input interface, and therefore a user can input a password on the password input interface of the mobile terminal to control the door lock to be unlocked. By adopting the setting mode, the password input operation can be realized at the mobile terminal, so that the password keyboard of the door lock can be reduced or avoided, the sanitary safety is improved, or the password keyboard is not directly arranged on the door lock, the door lock structure is favorably simplified, and the manufacturing cost of the door lock is reduced. Therefore, the door lock control method adopting the technical scheme effectively improves the unlocking flexibility of the door lock and enables the unlocking operation of the door lock to be more convenient.
Specifically, the mobile terminal may be a device in various forms, such as a smart phone, a tablet, and the like, as long as the mobile terminal can be carried around and used for unlocking the door lock. As for the specific communication connection form between the door lock and the mobile terminal, many options may exist, such as WiFi, bluetooth, etc.
Determining whether a preset condition is met, including: determining whether the door lock and the mobile terminal are bound with each other; determining that a preset condition is met at least under the condition that the door lock and the mobile terminal are bound with each other; and under the condition that the door lock and the mobile terminal are not bound with each other, determining that the preset condition is not met.
That is to say, in this embodiment, the preset condition at least includes that the door lock and the mobile terminal are bound to each other, and only when confirming that the two are bound to each other, the subsequent action of controlling the display screen of the mobile terminal to pop up the password input interface is executed, which can ensure that only the bound mobile terminal can be used for unlocking the door lock, thereby effectively improving the unlocking security of the door lock.
Specifically, determining whether the door lock and the mobile terminal are bound to each other includes: acquiring first identity identification information of a door lock and second identity identification information of a mobile terminal; determining whether the first identity information and the second identity information are bound with each other; under the condition that the first identity identification information and the second identity identification information are bound with each other, determining that the door lock and the mobile terminal are bound with each other; and under the condition that the first identity identification information and the second identity identification information are not bound with each other, determining that the door lock and the mobile terminal are not bound with each other.
In this embodiment, whether the door lock and the mobile terminal are bound to each other is determined according to the first identification information of the door lock and the second identification information of the mobile terminal. Through the two pieces of information, the unique identities of the door lock and the mobile terminal can be respectively determined, and if the two pieces of information are bound with each other, the conclusion that the two pieces of information are bound with the mobile terminal can be accurately obtained. Specifically, the first identity information and the second identity information may be any information capable of identifying the identity of the door lock or the mobile terminal. Preferably, the first identity information is a serial number of the door lock, and the second identity information is a SN serial number and/or an IMEI code of the mobile terminal.
Determining whether the first identity information and the second identity information are bound to each other, including: under the condition that binding information corresponding to the first identity identification information and the second identity identification information is stored in the mobile terminal, the first identity identification information and the second identity identification information are determined to be bound with each other; and/or determining that the first identity information and the second identity information are bound with each other under the condition that binding information corresponding to the first identity information and the second identity information is stored in the cloud server.
That is to say, the basis for verifying whether the first identity information and the second identity information are bound to each other may be based on data stored locally in the mobile terminal, or may be based on data stored in the cloud server, so as to improve flexibility of unlocking authority management.
Specifically, determining whether a preset condition is met further includes: determining whether the distance between the mobile terminal and the door lock is smaller than or equal to a preset distance; at least under the condition that the door lock and the mobile terminal are bound with each other, the step of determining that the preset condition is met comprises the following steps: determining that a preset condition is met under the condition that the distance between the mobile terminal and the door lock is smaller than or equal to a preset distance and the door lock and the mobile terminal are bound with each other; and under the condition that the distance between the mobile terminal and the door lock is greater than the preset distance, determining that the preset condition is not met.
In this embodiment, through increasing the distance judgement step between mobile terminal and the lock, only when the distance between lock and the mobile terminal is less than or equal to preset distance to under the condition that both bound each other, just can control mobile terminal's display screen to pop out the password input interface, this can guarantee only can carry out the operation of unblanking closely, avoids the condition of long-range mistake unblanking to appear.
Specifically, determining whether the distance between the mobile terminal and the door lock is less than or equal to a preset distance includes: determining the signal strength of communication connection between the door lock and the mobile terminal; determining that the distance between the mobile terminal and the door lock is smaller than or equal to a preset distance under the condition that the signal intensity is larger than or equal to a preset intensity; and under the condition that the signal intensity is smaller than the preset intensity, determining that the distance between the mobile terminal and the door lock is larger than the preset distance.
Specifically, through acquiring the signal intensity of the communication connection between the door lock and the mobile terminal, the distance between the door lock and the mobile terminal can be known conveniently and reliably, and the preset intensity is used as a threshold value to judge, so that whether the distance between the mobile terminal and the door lock is within the preset distance or not can be known.
The control method of the door lock further comprises the following steps: under the condition that the door lock and the mobile terminal are not bound with each other, controlling a display screen of the mobile terminal to pop up a binding selection interface; under the condition of receiving a binding operation instruction, controlling the mobile terminal to send binding request information to the management terminal; and controlling the door lock to be bound with the mobile terminal under the condition of receiving the authorization information from the management terminal for the binding request information.
Under the condition that the door lock and the mobile terminal are not bound with each other, the display screen of the mobile terminal is controlled to pop up a binding selection interface, a user can select whether to perform binding operation or not on the interface, if the user inputs a binding operation instruction, the mobile terminal is controlled to send binding request information to the management terminal, and the management terminal can determine whether to bind the mobile terminal with the door lock or not, so that remote authorization of unlocking permission of the door lock is realized.
Specifically, in the case of receiving the binding operation instruction, controlling the mobile terminal to send the binding request information to the management terminal includes: receiving personal information input by a user; verifying the personal information to determine whether the personal information satisfies a passing condition; and controlling the mobile terminal to send the binding request information to the management terminal under the condition that the personal information meets the passing condition.
Before the mobile terminal is controlled to send the binding request information to the management terminal, the verification operation of the personal information can be executed firstly, when the personal information meets the verification passing condition, the binding request information can be sent to the management terminal, when the personal information is implemented specifically, the personal information can be in various forms, correspondingly, the conditions can be flexibly set according to actual needs, the step of personal information verification is added, the safety of the binding process of the door lock and the mobile terminal can be further improved, and the use safety of the door lock is favorably improved.
As shown in fig. 2, an embodiment of the present invention also provides a control apparatus of a door lock, including: the first determining unit is used for determining whether the door lock and the mobile terminal establish communication connection; the second determining unit is used for determining whether a preset condition is met or not under the condition that the door lock establishes communication connection with the mobile terminal; the first control unit is used for controlling a display screen of the mobile terminal to pop up a password input interface under the condition that a preset condition is met; the receiving unit is used for receiving the password input by the user on the password input interface; and the second control unit controls the door lock to be unlocked under the condition that the password is correct.
Specifically, the second determination unit includes a first determination module, a second determination module, and a third determination module: the first determining module is used for determining whether the door lock and the mobile terminal are bound with each other; the second determining module is used for determining that the preset condition is met at least under the condition that the door lock and the mobile terminal are bound with each other; the third determining module is used for determining that the preset condition is not met under the condition that the door lock and the mobile terminal are not bound with each other.
Specifically, the first determining module includes an obtaining sub-module, a first determining sub-module, a second determining sub-module, and a third determining sub-module: the obtaining submodule is used for obtaining first identity identification information of the door lock and second identity identification information of the mobile terminal; the first determining submodule is used for determining whether the first identity identification information and the second identity identification information are bound with each other; the second determining submodule is used for determining that the door lock and the mobile terminal are bound with each other under the condition that the first identity identification information and the second identity identification information are bound with each other; the third determining submodule is used for determining that the door lock and the mobile terminal are not bound with each other under the condition that the first identity identification information and the second identity identification information are not bound with each other.
Specifically, the first determining submodule is configured to: under the condition that binding information corresponding to the first identity identification information and the second identity identification information is stored in the mobile terminal, the first identity identification information and the second identity identification information are determined to be bound with each other; and/or determining that the first identity information and the second identity information are bound with each other under the condition that binding information corresponding to the first identity information and the second identity information is stored in the cloud server.
Specifically, the second determination unit further includes a fourth determination module: the fourth determining module is used for determining whether the distance between the mobile terminal and the door lock is smaller than or equal to the preset distance; the second determination module includes a fourth determination submodule and a fifth determination submodule: the fourth determining submodule is used for determining that the preset condition is met under the condition that the distance between the mobile terminal and the door lock is smaller than or equal to the preset distance and the door lock and the mobile terminal are bound with each other; and the fifth determining submodule is used for determining that the preset condition is not met under the condition that the distance between the mobile terminal and the door lock is greater than the preset distance.
Specifically, the fourth determination submodule is configured to: determining the signal intensity of communication connection between the door lock and the mobile terminal; determining that the distance between the mobile terminal and the door lock is smaller than or equal to a preset distance under the condition that the signal intensity is larger than or equal to a preset intensity; and under the condition that the signal intensity is smaller than the preset intensity, determining that the distance between the mobile terminal and the door lock is larger than the preset distance.
Specifically, the control device of the door lock further includes a third control unit, a fourth control unit, and a fifth control unit: the third control unit is used for controlling a display screen of the mobile terminal to pop up a binding selection interface under the condition that the door lock and the mobile terminal are not bound with each other; the fourth control unit is used for controlling the mobile terminal to send the binding request information to the management terminal under the condition of receiving the binding operation instruction; and the fifth control unit is used for controlling the door lock to be bound with the mobile terminal under the condition of receiving the authorization information aiming at the binding request information from the management terminal. Specifically, the management terminal may also be various types of devices, which are used for managing the unlocking authority, for example, it may be a device such as a mobile phone, a tablet, a PC, etc. of the user.
Specifically, the fourth control unit is configured to: receiving personal information input by a user; verifying the personal information to determine whether the personal information satisfies a passing condition; and controlling the mobile terminal to send the binding request information to the management terminal under the condition that the personal information meets the passing condition.
In addition, the embodiment of the invention also provides a nonvolatile storage medium, the nonvolatile storage medium comprises a stored program, and when the program runs, the device where the nonvolatile storage medium is located is controlled to execute the control method of the door lock.
The embodiment of the invention further provides a processor, wherein the processor is used for running a program, and the program executes the control method of the door lock when running.
Finally, the embodiment of the present invention further provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the above-mentioned door lock control method when executing the computer program.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. Moreover, the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions, and while a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than here.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (9)

1. A method of controlling a door lock, comprising:
determining whether a door lock and a mobile terminal establish communication connection;
determining whether a preset condition is met or not under the condition that the door lock establishes the communication connection with the mobile terminal;
under the condition that the preset condition is met, controlling a display screen of the mobile terminal to pop up a password input interface;
receiving a password input by a user on the password input interface;
controlling the door lock to unlock under the condition that the password is correct;
determining whether a preset condition is met, including:
determining whether the door lock and the mobile terminal are bound with each other;
determining whether the distance between the mobile terminal and the door lock is smaller than or equal to a preset distance;
determining that the preset condition is met under the condition that the distance between the mobile terminal and the door lock is smaller than or equal to the preset distance and the door lock and the mobile terminal are bound with each other;
determining that the preset condition is not met under the condition that the distance between the mobile terminal and the door lock is greater than the preset distance;
determining whether the door lock and the mobile terminal are bound to each other, including:
acquiring first identity identification information of the door lock and second identity identification information of the mobile terminal;
determining whether the first identity information and the second identity information are bound to each other;
under the condition that the first identity identification information and the second identity identification information are bound with each other, the door lock and the mobile terminal are determined to be bound with each other;
and under the condition that the first identity identification information and the second identity identification information are not bound with each other, determining that the door lock and the mobile terminal are not bound with each other.
2. The method of controlling a door lock according to claim 1, wherein determining whether the first identification information and the second identification information are bound to each other includes:
determining that the first identity information and the second identity information are bound to each other under the condition that binding information corresponding to the first identity information and the second identity information is stored in the mobile terminal; and/or the presence of a gas in the gas,
and under the condition that the binding information corresponding to the first identity identification information and the second identity identification information is stored in the cloud server, determining that the first identity identification information and the second identity identification information are bound with each other.
3. The method for controlling the door lock according to claim 1, wherein determining whether the distance between the mobile terminal and the door lock is less than or equal to a preset distance comprises:
determining the signal intensity of communication connection between the door lock and the mobile terminal;
determining that the distance between the mobile terminal and the door lock is smaller than or equal to a preset distance under the condition that the signal intensity is larger than or equal to the preset intensity;
and under the condition that the signal intensity is smaller than the preset intensity, determining that the distance between the mobile terminal and the door lock is larger than the preset distance.
4. The method of controlling a door lock according to claim 1, further comprising:
controlling the display screen of the mobile terminal to pop up a binding selection interface under the condition that the door lock and the mobile terminal are not bound with each other;
under the condition of receiving a binding operation instruction, controlling the mobile terminal to send binding request information to a management terminal;
and controlling the door lock to be bound with the mobile terminal under the condition of receiving the authorization information from the management terminal for the binding request information.
5. The door lock control method according to claim 4, wherein the controlling the mobile terminal to transmit the binding request information to the management terminal in case of receiving the binding operation instruction comprises:
receiving personal information input by a user;
verifying the personal information to determine whether the personal information satisfies a passing condition;
and controlling the mobile terminal to send the binding request information to the management terminal under the condition that the personal information meets the passing condition.
6. A control device for a door lock, comprising:
the first determining unit is used for determining whether the door lock and the mobile terminal establish communication connection;
the second determining unit is used for determining whether a preset condition is met or not under the condition that the door lock establishes the communication connection with the mobile terminal;
the first control unit is used for controlling a display screen of the mobile terminal to pop up a password input interface under the condition that the preset condition is met;
the receiving unit is used for receiving the password input by the user on the password input interface;
the second control unit is used for controlling the door lock to be unlocked under the condition that the password is correct;
the second determination unit comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for determining whether the door lock and the mobile terminal are bound with each other;
the second determination unit includes a fourth determination module: the fourth determining module is used for determining whether the distance between the mobile terminal and the door lock is smaller than or equal to a preset distance; the second determination module includes a fourth determination submodule and a fifth determination submodule: the fourth determining submodule is used for determining that the preset condition is met under the condition that the distance between the mobile terminal and the door lock is smaller than or equal to the preset distance and the door lock and the mobile terminal are bound with each other; the fifth determining submodule is used for determining that the preset condition is not met under the condition that the distance between the mobile terminal and the door lock is larger than the preset distance;
the first determining module comprises an obtaining submodule, a first determining submodule, a second determining submodule and a third determining submodule, wherein the obtaining submodule is used for obtaining first identity identification information of the door lock and second identity identification information of the mobile terminal; the first determining submodule is used for determining whether the first identity information and the second identity information are bound with each other; the second determining submodule is used for determining that the door lock and the mobile terminal are bound with each other under the condition that the first identity identification information and the second identity identification information are bound with each other; the third determining submodule is used for determining that the door lock and the mobile terminal are not bound to each other under the condition that the first identity identification information and the second identity identification information are not bound to each other.
7. A non-volatile storage medium, characterized in that the non-volatile storage medium includes a stored program, wherein when the program runs, a device where the non-volatile storage medium is located is controlled to execute the control method of the door lock according to any one of claims 1 to 5.
8. A processor, wherein the processor is configured to run a program, wherein the program is configured to execute the method for controlling a door lock according to any one of claims 1 to 5 when running.
9. A terminal device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor implements the method of controlling a door lock according to any one of claims 1 to 5 when executing said computer program.
CN202111242447.6A 2021-10-25 2021-10-25 Door lock control method and device, storage medium, processor and terminal equipment Active CN113971852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111242447.6A CN113971852B (en) 2021-10-25 2021-10-25 Door lock control method and device, storage medium, processor and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111242447.6A CN113971852B (en) 2021-10-25 2021-10-25 Door lock control method and device, storage medium, processor and terminal equipment

Publications (2)

Publication Number Publication Date
CN113971852A CN113971852A (en) 2022-01-25
CN113971852B true CN113971852B (en) 2023-01-20

Family

ID=79588199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111242447.6A Active CN113971852B (en) 2021-10-25 2021-10-25 Door lock control method and device, storage medium, processor and terminal equipment

Country Status (1)

Country Link
CN (1) CN113971852B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114999030A (en) * 2022-05-25 2022-09-02 杭州萤石软件有限公司 Unlocking method, system, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010133096A1 (en) * 2009-05-21 2010-11-25 北京西阁万投资咨询有限公司 Transcation card processing system and method for enhancing security
CN105719366A (en) * 2014-12-01 2016-06-29 丰唐物联技术(深圳)有限公司 Method and apparatus used for unlocking door locks
CN208141479U (en) * 2018-04-02 2018-11-23 上海荆虹电子科技有限公司 A kind of door lock
WO2019061471A1 (en) * 2017-09-30 2019-04-04 华为技术有限公司 Password verification method, password setting method, and mobile terminal
WO2019076362A1 (en) * 2017-10-19 2019-04-25 柠创控股有限公司 Leased equipment unlocking method, equipment terminal, cloud server and system
EP3869365A1 (en) * 2020-02-20 2021-08-25 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for executing function of icon, and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5710725B2 (en) * 2013-09-27 2015-04-30 シャープ株式会社 Server, terminal management method, and program
JP6372688B2 (en) * 2014-07-28 2018-08-15 株式会社デンソー Vehicle communication system
CN106297045B (en) * 2015-06-05 2019-02-19 深圳市丰巢科技有限公司 Intelligent express delivery cabinet and its self-service pickup method
CN110648431B (en) * 2019-09-05 2020-11-06 广东纬德信息科技股份有限公司 Lock control method, system and storage medium based on Bluetooth communication technology
CN112822630B (en) * 2021-01-12 2022-12-23 上海钧正网络科技有限公司 Data processing method of device and computer-readable storage medium
CN112907788A (en) * 2021-01-25 2021-06-04 珠海格力电器股份有限公司 Door lock control method and device, door lock and storage medium
CN113409497A (en) * 2021-06-21 2021-09-17 深圳市友华通信技术有限公司 Unlocking method, device, equipment and storage medium based on wireless network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010133096A1 (en) * 2009-05-21 2010-11-25 北京西阁万投资咨询有限公司 Transcation card processing system and method for enhancing security
CN105719366A (en) * 2014-12-01 2016-06-29 丰唐物联技术(深圳)有限公司 Method and apparatus used for unlocking door locks
WO2019061471A1 (en) * 2017-09-30 2019-04-04 华为技术有限公司 Password verification method, password setting method, and mobile terminal
WO2019076362A1 (en) * 2017-10-19 2019-04-25 柠创控股有限公司 Leased equipment unlocking method, equipment terminal, cloud server and system
CN208141479U (en) * 2018-04-02 2018-11-23 上海荆虹电子科技有限公司 A kind of door lock
EP3869365A1 (en) * 2020-02-20 2021-08-25 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for executing function of icon, and storage medium

Also Published As

Publication number Publication date
CN113971852A (en) 2022-01-25

Similar Documents

Publication Publication Date Title
US9704313B2 (en) Systems and methods for interacting with access control devices
US8364952B2 (en) Methods and system for a key recovery plan
CN105554146B (en) A kind of remote access method and device
US20150326529A1 (en) Gateway device, and service providing system
CN110009776B (en) Identity authentication method and device
CN107911340B (en) Login verification method, device and equipment of application program and storage medium
CN102446256A (en) Terminal and application program management method
JP2022529725A (en) How to authenticate the identity of digital keys, terminal devices, and media
CN104966343B (en) Access control method Internet-based
CN109067881B (en) Remote authorization method, device, equipment and storage medium thereof
CN105608347A (en) Operation system switching method, operation system switching device and terminal
CN106096450A (en) A kind of application program freezing method and mobile terminal
CN113971852B (en) Door lock control method and device, storage medium, processor and terminal equipment
CN104618333A (en) Mobile terminal safety office system
CN110110874A (en) A kind of meeting room sharing method
CN104469736A (en) Data processing method, server and terminal
CN102882870A (en) Account managing system and method
CN112035807A (en) Object authentication method and apparatus, storage medium, and electronic apparatus
CN109389720B (en) Intelligent door lock permission processing method and device
CN110942537B (en) Intelligent door lock unlocking system, method, device and medium
CN104753854A (en) Method for setting uniform Web interface for various authentication/authorization servers
CN111324799B (en) Search request processing method and device
WO2008145199A1 (en) Method for the duplication of electronic-code keys
CN109754507B (en) Door lock control method, device and system
CN110706388A (en) Access control management method and related product

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