CN114495338A - Door lock control method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN114495338A
CN114495338A CN202210233702.9A CN202210233702A CN114495338A CN 114495338 A CN114495338 A CN 114495338A CN 202210233702 A CN202210233702 A CN 202210233702A CN 114495338 A CN114495338 A CN 114495338A
Authority
CN
China
Prior art keywords
door lock
unlocking
information
module
user
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.)
Pending
Application number
CN202210233702.9A
Other languages
Chinese (zh)
Inventor
符佳俊
唐杰
陈道远
李虎
尧小华
刘志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202210233702.9A priority Critical patent/CN114495338A/en
Publication of CN114495338A publication Critical patent/CN114495338A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/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/00563Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • 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

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

Abstract

The invention relates to a door lock control method, a door lock control device, electronic equipment and a storage medium, wherein the method comprises the following steps: if the wireless signal from the door lock is scanned, sending a connection establishment request to the door lock so as to wake up a door lock mainboard; displaying first prompt information for prompting a user to input trigger information, wherein the trigger information is used for triggering to send unlocking information to the door lock; detecting whether trigger information input by a user is received; and if the trigger information is received, acquiring first unlocking information for unlocking the door lock, and sending the first unlocking information to the door lock. According to the embodiment of the invention, the connection establishment request can be sent when the wireless signal of the door lock is scanned by the user terminal, so that the door lock mainboard in the door lock can be woken up conveniently, the first unlocking information is sent to the door lock after the user inputs the trigger information, so that the door lock mainboard can control the door lock to be unlocked, the door lock mainboard can be woken up through the connection establishment request, and when the door lock mainboard is not woken up, the door lock mainboard can be kept in a low power consumption state, so that the electric energy is saved, and the energy consumption is reduced.

Description

Door lock control method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic information technologies, and in particular, to a method and an apparatus for controlling a door lock, an electronic device, and a storage medium.
Background
Along with the development of science and technology progress, more and more intelligent house reflects people's eye curtain, and the first intelligent single item that dashes among the intelligent house is intelligent lock, compares in traditional lock, and gorgeous outward appearance, the increase of security level, the lock is unlocked to multiple mode intelligence, receives people's liking.
However, most of the existing intelligent door locks are in direct contact type direct unlocking, the door locks are always in a power supply state in a normal state, and a line for unlocking is also continuously operated, so that energy waste is caused.
Disclosure of Invention
In order to solve the technical problem that the intelligent door lock is high in power consumption, the application provides a door lock control method and device, electronic equipment and a storage medium.
In a first aspect, the present application provides a door lock control method, which is applied to a user terminal, and includes:
if the wireless signal from the door lock is scanned, sending a connection establishment request to the door lock so as to wake up a door lock mainboard;
displaying first prompt information for prompting a user to input trigger information, wherein the trigger information is used for triggering to send unlocking information to a door lock;
detecting whether the trigger information input by a user is received;
and if the trigger information is received, acquiring first unlocking information for unlocking the door lock, and sending the first unlocking information to the door lock.
Optionally, detecting whether the trigger information input by the user is received includes:
detecting whether an input operation of second unlocking information is received;
if the input operation of second unlocking information is received, verifying the second unlocking information by using first preset unlocking information;
and if the second unlocking information passes the verification, determining to receive the trigger information.
Optionally, the method further comprises:
displaying second prompt information for prompting the user to input first preset unlocking information;
and receiving and storing first preset unlocking information input by a user.
Optionally, the first preset unlocking information includes: one or more of a password, a fingerprint, a key, voice, and an image.
In a second aspect, the present application provides a door lock control method, applied to a door lock, the method including:
if receiving a connection establishment request from a user terminal, establishing wireless communication connection with the user terminal;
awakening the door lock mainboard in a low power consumption state;
if first unlocking information from the user terminal is received, verifying the first unlocking information;
and if the first unlocking information passes the verification, an unlocking instruction is sent to the unlocking module so as to unlock the unlocking module.
Optionally, the first unlocking information is sent by the user terminal after the second unlocking information input by the user is verified.
Optionally, the method further comprises:
after a preset time period, sending a locking instruction to the unlocking module to lock the unlocking module;
and disconnecting the wireless communication connection, and enabling the door lock mainboard to enter a low power consumption mode.
In a third aspect, the present application provides a door lock control device, which is applied to a user terminal, and includes:
the first sending module is used for sending a connection establishing request to the door lock to wake up a door lock mainboard if a wireless signal from the door lock is scanned;
the first display module is used for displaying first prompt information used for prompting a user to input trigger information, and the trigger information is used for triggering to send unlocking information to the door lock;
the detection module is used for detecting whether the trigger information input by the user is received or not;
and the second sending module is used for acquiring first unlocking information for unlocking the door lock and sending the first unlocking information to the door lock if the triggering information is received.
Optionally, the detection module includes:
a detection unit for detecting whether an input operation of second unlocking information is received;
the verification unit is used for verifying the second unlocking information by using the first preset unlocking information if the input operation of the second unlocking information is received;
and the determining unit is used for determining that the trigger information is received if the second unlocking information passes the verification.
Optionally, the apparatus further comprises:
the second display module is used for displaying second prompt information for prompting the user to input the first preset unlocking information;
and the receiving module is used for receiving and storing the first preset unlocking information input by the user.
Optionally, the first preset unlocking information includes: one or more of a password, a fingerprint, a key, voice, and an image.
In a fourth aspect, the present application provides a door lock control device, applied to a door lock, the device including:
the connection establishing module is used for establishing wireless communication connection with the user terminal if receiving a connection establishing request from the user terminal;
the awakening module is used for awakening the door lock mainboard in the low power consumption state;
the verification module is used for verifying the first unlocking information if the first unlocking information from the user terminal is received;
and the third sending module is used for sending an unlocking instruction to the unlocking module if the first unlocking information passes the verification so as to unlock the unlocking module.
Optionally, the first unlocking information is sent by the user terminal after the second unlocking information input by the user is verified.
Optionally, the apparatus further comprises:
the fourth sending module is used for sending a locking instruction to the unlocking module after a preset time period so as to lock the unlocking module;
and the disconnection module is used for disconnecting the wireless communication connection, and the door lock main board enters a low power consumption mode.
In a fifth aspect, the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor for implementing the door lock control method according to any one of the first aspect or the door lock control method according to any one of the second aspect when executing the program stored in the memory.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the method and the device for establishing the connection of the door lock comprise the steps of sending a connection establishing request to the door lock when a wireless signal from the door lock is scanned so as to awaken a main board of the door lock, displaying first prompt information for prompting a user to input trigger information, detecting whether the trigger information input by the user is received or not, acquiring first unlocking information for unlocking the door lock if the trigger information is received, and sending the first unlocking information to the door lock.
The embodiment of the invention can send the connection establishment request when the wireless signal of the door lock is scanned by the user terminal, so that the door lock mainboard in the door lock can be woken up conveniently, and the first unlocking information is sent to the door lock after the user inputs the trigger information, so that the door lock mainboard can control the door lock to be unlocked, the door lock mainboard can be woken up through the connection establishment request, and when the door lock mainboard is not woken up, the door lock mainboard can keep a low power consumption state, the electric energy is saved, and the energy consumption is reduced. That is to say, awaken the lock mainboard through user terminal, and then control the in-process of lock unblock, with the unblock of user terminal as the prerequisite, improved the security of lock unblock.
The embodiment of the invention can establish wireless communication connection with the user terminal and awaken the door lock mainboard in a low power consumption state when receiving a connection establishment request from the user terminal, verifies the first unlocking information if receiving the first unlocking information from the user terminal, and can send an unlocking instruction to the unlocking module to unlock the unlocking module if the first unlocking information passes the verification.
According to the embodiment of the invention, the door lock mainboard can be awakened from the low-power-consumption state only after the wireless communication connection with the user terminal is established, so that the door lock mainboard keeps the low-power-consumption working state for a long time and is awakened only when the door lock mainboard needs to work, the electric energy is saved, and the energy consumption is reduced. Meanwhile, the motor for controlling the door lock by the unlocking module is indirectly controlled through the user terminal, so that the door lock can be unlocked more simply, quickly and efficiently.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a door lock control method according to an embodiment of the present application;
fig. 2 is a flowchart of another door lock control method provided in the embodiment of the present application;
fig. 3 is an overall work flow diagram of a user terminal and a door lock in practical application according to an embodiment of the present application;
fig. 4 is a structural diagram of a door lock control device according to an embodiment of the present application;
fig. 5 is a structural diagram of another door lock control device according to an embodiment of the present application;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all 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 application.
Because present intelligent lock is mostly in direct contact direct unlocking, and the lock is in the power supply state under normal condition all the time for the circuit of unblock mode also lasts work, causes the waste of the energy. Therefore, the embodiment of the application provides a door lock control method and device, an electronic device and a storage medium, which can select the type of the main board of the door lock only when the door lock needs to be unlocked, save electric energy and reduce energy consumption.
The door lock control method can be applied to a user terminal, the user terminal can refer to electronic equipment such as a mobile phone, a tablet, an intelligent bracelet, an intelligent watch or a notebook computer, and the user terminal can be wirelessly connected with a door lock, such as: a bluetooth connection, as shown in fig. 1, the method comprising:
step S101, if a wireless signal from a door lock is scanned, sending a connection establishing request to the door lock so as to awaken a door lock mainboard;
in the embodiment of the invention, the low-power-consumption Bluetooth module of the door lock is always in a working state, the user terminal can scan a wireless signal sent by the low-power-consumption Bluetooth module in a broadcasting mode, the wireless signal carries Bluetooth information, the user terminal can match the Bluetooth information with the preset Bluetooth information after scanning the wireless signal, and if the matching is successful, a connection establishment request is sent to the low-power-consumption Bluetooth module of the door lock.
In practical application, the user terminal may store the preset bluetooth information in advance, and the preset bluetooth information may be entered by the user in advance or stored when the connection is established before.
Step S102, displaying first prompt information for prompting a user to input trigger information.
In the embodiment of the present invention, the first prompt information is used to guide and prompt an input operation of a user, and the user may input the trigger information according to the first prompt information, which may be, for example, "please determine whether to trigger unlocking", "please input a password for triggering unlocking", "please input a key combination for triggering unlocking", "please input a fingerprint for triggering unlocking", "please shoot a face for triggering unlocking", and so on.
The trigger information is used to trigger sending of unlocking information to the door lock, that is, only when the user inputs the specified trigger information, the unlocking information is sent to the door lock, for example, the trigger information may be determination information that it is determined that the unlocking information needs to be sent, or may be a specified password or a key combination, such as: the input of the trigger information can be realized by pressing down the upper volume key, the lower volume key and the power key of the user terminal for a plurality of times according to a certain sequence, and the trigger information can also be fingerprint information, face image information and the like.
Step S103, detecting whether the trigger information input by the user is received;
in this step, whether trigger information is received may be detected by detecting whether a button for confirming whether the screen needs to trigger unlocking is clicked, whether a designated password is input, whether a designated key combination is pressed, whether a designated fingerprint is collected, whether a designated face is photographed by a camera, and the like.
Correspondingly, when the user clicks a button for triggering unlocking, the triggering information input by the user is determined to be received, when the user inputs an appointed password, the triggering information is determined to be received, when the user presses an appointed key combination, the triggering information is determined to be received, when the fingerprint sensing device acquires an appointed fingerprint, the triggering information is determined to be received, or when the camera acquires a face, the triggering information is determined to be received.
In practical application, it may be detected whether the user terminal is unlocked before step S103, and after it is determined that the user terminal is unlocked, it is detected whether the trigger information input by the user is received, and a layer of verification process is added on the basis of verifying the trigger information, so as to implement double locking of the unlocking trigger process inside the user terminal, and only when the double locking completely passes through, it is triggered to send the first unlocking information to the door lock, so as to ensure that the user of the user terminal is the user himself or the person authorized by the user, and improve the security of unlocking the door lock.
And step S104, if the trigger information is received, acquiring first unlocking information for unlocking the door lock, and sending the first unlocking information to the door lock.
In the embodiment of the present invention, the first unlocking information may be unlocking information that is input again by the user after the trigger information is determined to be received, or may be the trigger information as the first unlocking information when the trigger information is not confirmation information (generated when the user clicks a button for triggering unlocking), or may be unlocking information that is stored in advance in the user terminal as the first unlocking information.
The first unlocking information may include: one or more of password number combination, a plurality of characteristic point information in fingerprints, information of a plurality of key combinations, voice information, image information and the like.
The method and the device for establishing the connection of the door lock comprise the steps of sending a connection establishing request to the door lock when a wireless signal from the door lock is scanned so as to awaken a main board of the door lock, displaying first prompt information for prompting a user to input trigger information, detecting whether the trigger information input by the user is received or not, acquiring first unlocking information for unlocking the door lock if the trigger information is received, and sending the first unlocking information to the door lock.
According to the embodiment of the invention, the connection establishment request can be sent when the wireless signal of the door lock is scanned through the user terminal, so that the door lock mainboard in the door lock can be woken up conveniently, the first unlocking information is sent to the door lock after the user inputs the trigger information, the door lock mainboard can control the door lock to be unlocked conveniently, the door lock mainboard is woken up through the connection establishment request, and when the door lock mainboard is not woken up, the door lock mainboard can be kept in a low power consumption state, the electric energy is saved, and the energy consumption is reduced. That is to say, awaken the lock mainboard through user terminal, and then control the in-process of lock unblock, with the unblock of user terminal as the prerequisite, improved the security of lock unblock.
In another embodiment of the present invention, detecting whether the trigger information input by the user is received includes:
step 201, detecting whether an input operation of second unlocking information is received;
in the embodiment of the invention, after seeing the first prompt message, the user can select to input the second unlocking message, wherein the second unlocking message can be a designated password or a key combination, can also be fingerprint information, can also be face image information and the like.
Step 202, if receiving an input operation of second unlocking information, verifying the second unlocking information by using first preset unlocking information;
in this step, the second unlocking information may be compared with the first preset unlocking information, and if the second unlocking information is the same as the first unlocking information or the matching degree exceeds a preset threshold, it may be determined that the second unlocking information is verified.
In the embodiment of the present invention, the first preset unlocking information includes: one or more of a password, a fingerprint, a key, voice, and an image.
In practical application, when the first preset unlocking information is obtained, the second prompting information for prompting the user to input the first preset unlocking information can be displayed firstly, and then the first preset unlocking information input by the user is received and stored.
And 203, if the second unlocking information passes the verification, determining to receive the trigger information.
The embodiment of the invention can verify the received second unlocking information, determine to receive the triggering information when the verification is passed, and further trigger to send the first unlocking information to the door lock, thereby realizing the first unlocking verification in the user terminal and improving the safety of the door lock.
In another embodiment of the present invention, there is also provided a door lock control method applied to a door lock, where the door lock can perform wireless communication with the user terminal in the foregoing embodiments, as shown in fig. 2, the method includes:
step S301, if receiving a connection establishment request from a user terminal, establishing wireless communication connection with the user terminal;
in the embodiment of the present invention, the wireless communication connection may refer to a bluetooth connection or the like. In practical application, because the bluetooth low energy module consumption is lower, so, bluetooth low energy module in the lock can keep operating condition always, and the lock mainboard normal during operation consumption is higher, and the electric quantity that needs is more, so the lock mainboard generally can keep in low-power consumption operating condition, when bluetooth low energy module in the lock received the bluetooth connection request, established bluetooth communication with user terminal and is connected.
Step S302, awakening the door lock mainboard in a low power consumption state;
after the wireless communication connection is established, the door lock mainboard can be awakened so that the door lock mainboard enters a normal working state, and the unlocking information is conveniently verified and controlled to be unlocked.
The door lock mainboard under the low-power consumption state, all circuits are nonconducting, and only after awakening up the door lock mainboard, all circuits just switch on the mode, and the reasonable use that carries out the electric quantity has prolonged the service life of battery of lock to a greater extent.
Step S303, if first unlocking information from the user terminal is received, verifying the first unlocking information;
in the embodiment of the invention, the first unlocking information is sent by the user terminal after the second unlocking information input by the user is verified.
In this step, the first unlocking information and the second preset unlocking information may be matched, and if the first unlocking information and the second unlocking information are the same or the matching degree exceeds a preset threshold, it may be determined that the second unlocking information is verified.
And S304, if the first unlocking information is verified, an unlocking instruction is sent to the unlocking module, so that the unlocking module is unlocked.
According to the embodiment of the invention, when the verification is passed, an unlocking instruction can be sent to the unlocking module, and the unlocking module controls the door lock to be unlocked.
The embodiment of the invention can establish wireless communication connection with the user terminal and awaken the door lock mainboard in a low power consumption state when receiving a connection establishment request from the user terminal, verifies the first unlocking information if receiving the first unlocking information from the user terminal, and can send an unlocking instruction to the unlocking module to unlock the unlocking module if the first unlocking information passes the verification.
According to the embodiment of the invention, the door lock mainboard can be awakened from the low-power-consumption state only after the wireless communication connection with the user terminal is established, so that the door lock mainboard keeps the low-power-consumption working state for a long time and is awakened only when the door lock mainboard needs to work, the electric energy is saved, and the energy consumption is reduced. Meanwhile, the motor for controlling the door lock by the unlocking module is indirectly controlled through the user terminal, so that the door lock can be unlocked more simply, quickly and efficiently.
In yet another embodiment of the present invention, the method further comprises:
step 401, after a preset time period, sending a locking instruction to the unlocking module to lock the unlocking module;
in the embodiment of the present invention, the preset time period may be preset according to an actual situation, for example: the time interval from the door opening of a general family to the door closing of a person after entering is 1 minute, the preset time period may be set to one minute, and if the time interval from the door opening of the general family to the door closing of the person after entering is 30 seconds, the preset time period may be set to 30 seconds.
And step 402, when the wireless communication connection is disconnected, the door lock main board enters a low power consumption mode.
After people enter, the door lock does not need to communicate with the user terminal, so that the wireless connection with the user terminal can be disconnected, and the door lock mainboard is restored to a low power consumption mode.
According to the embodiment of the invention, when the wireless communication connection with the user terminal is not required, the wireless communication connection is disconnected, and the door lock main board is switched to the low-power-consumption mode, so that the door lock main board can keep the low-power-consumption working state for a long time, and is only awakened when the door lock main board needs to work, and only the low-power-consumption working state needs to be kept when the door lock main board does not need to work, so that the electric energy is saved, and the energy consumption is reduced.
As shown in fig. 3, the preparation process: the Bluetooth module of the user terminal can be connected with the Bluetooth module in the intelligent door lock, after the connection is successful, the user can enter a correct unlocking mode through the APP of the door lock terminal, specifically, the user can enter an unlocking password of at least one of password keys at the lock end of the door lock, fingerprint identification and voice identification at the APP of the door lock terminal, and after the APP of the door lock terminal is successfully connected and started, the function of the unlocking mode of the door lock can be awakened and sent to the intelligent door lock after the completion of the connection, so as to be used for unlocking the intelligent door lock, the unlocking password is identified and stored by the main board of the door lock,
the application process comprises the following steps: under the normal condition, the lock mainboard is in the state of low-power consumption always, but the bluetooth low energy module in the lock this moment is in the state of opening always, when the householder goes home, the APP automatic identification at lock terminal arrives the bluetooth low energy module of intelligent lock, this moment this bluetooth low energy module of user terminal automatic identification, establish the connection with it to awaken the lock mainboard under the low-power consumption state, the lock mainboard starts under the low-power consumption state, wait for the arrival of the exact password instruction that is used for unblanking.
At this moment, the householder only needs to input the correct unlocking mode on the APP at the door lock terminal (inputting the correct unlocking mode specifically means inputting the correct password or correct fingerprint or correct voice and the like input in advance on the terminal APP), after the APP at the door lock terminal inputs the correct unlocking mode password, the signal is transmitted to the intelligent door lock main chip through signal processing, the intelligent door lock main chip transmits the signal to the motor at the door lock end through identification processing, and therefore the motor is controlled to unlock the door lock.
After a period of time, after the householder enters the door, the door lock can be controlled to be closed, the Bluetooth connection with the user terminal is disconnected immediately, and a prompt is popped up, so that whether the Bluetooth connection is established or not is determined by the householder, if the householder determines that the Bluetooth connection needs to be established, the Bluetooth connection is established again between the user terminal and the intelligent door lock, the door lock mainboard is awakened, and then the execution is carried out according to the process; and if the householder determines that the Bluetooth connection does not need to be established, the door lock mainboard of the intelligent door lock enters a low-power-consumption dormant state.
In another embodiment of the present invention, there is also provided a door lock control apparatus applied to a user terminal, as shown in fig. 4, the apparatus including:
the first sending module 11 is configured to send a connection establishment request to the door lock to wake up a door lock motherboard if a wireless signal from the door lock is scanned;
the first display module 12 is configured to display first prompt information for prompting a user to input trigger information, where the trigger information is used to trigger sending of unlocking information to a door lock;
the detection module 13 is configured to detect whether the trigger information input by the user is received;
and the second sending module 14 is configured to, if the trigger information is received, obtain first unlocking information for unlocking the door lock, and send the first unlocking information to the door lock.
Optionally, the detection module includes:
a detection unit for detecting whether an input operation of second unlocking information is received;
the verification unit is used for verifying the second unlocking information by using the first preset unlocking information if the input operation of the second unlocking information is received;
and the determining unit is used for determining that the trigger information is received if the second unlocking information passes the verification.
Optionally, the apparatus further comprises:
the second display module is used for displaying second prompt information for prompting the user to input the first preset unlocking information;
and the receiving module is used for receiving and storing the first preset unlocking information input by the user.
Optionally, the first preset unlocking information includes: one or more of a password, a fingerprint, a key, voice, and an image.
In still another embodiment of the present invention, there is also provided a door lock control apparatus applied to a door lock, as shown in fig. 5, the apparatus including:
a connection establishing module 21, configured to establish a wireless communication connection with a user terminal if a connection establishing request from the user terminal is received;
the awakening module 22 is used for awakening the door lock mainboard in the low power consumption state;
the verification module 23 is configured to verify the first unlocking information if the first unlocking information from the user terminal is received;
and the third sending module 24 is configured to send an unlocking instruction to the unlocking module if the first unlocking information is verified, so that the unlocking module is unlocked.
Optionally, the first unlocking information is sent by the user terminal after the second unlocking information input by the user is verified.
Optionally, the apparatus further comprises:
the fourth sending module is used for sending a locking instruction to the unlocking module after a preset time period so as to lock the unlocking module;
and the disconnection module is used for disconnecting the wireless communication connection, and the door lock main board enters a low power consumption mode.
In another embodiment of the present invention, an electronic device is further provided, which includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any one of the door lock control methods applied to the user terminal or any one of the door lock control methods applied to the door lock when the program stored in the memory is executed.
In the electronic device provided by the embodiment of the invention, the processor executes the program stored in the memory to realize that a connection establishment request is sent to the door lock when the wireless signal from the door lock is scanned, so as to wake up the main board of the door lock, show the first prompt information for prompting the user to input the trigger information, detect whether the trigger information input by the user is received, and if the trigger information is received, obtain the first unlocking information for unlocking the door lock and send the first unlocking information to the door lock.
The embodiment of the invention can send the connection establishment request when the wireless signal of the door lock is scanned by the user terminal, so that the door lock mainboard in the door lock can be woken up conveniently, and the first unlocking information is sent to the door lock after the user inputs the trigger information, so that the door lock mainboard can control the door lock to be unlocked, the door lock mainboard can be woken up through the connection establishment request, and when the door lock mainboard is not woken up, the door lock mainboard can keep a low power consumption state, the electric energy is saved, and the energy consumption is reduced. That is to say, awaken the lock mainboard through user terminal, and then control the in-process of lock unblock, with the unblock of user terminal as the prerequisite, improved the security of lock unblock.
In addition, when receiving a connection establishment request from a user terminal, the embodiment of the invention can establish wireless communication connection with the user terminal and awaken a door lock main board in a low power consumption state, if first unlocking information from the user terminal is received, the first unlocking information is verified, and if the first unlocking information passes the verification, an unlocking instruction can be sent to the unlocking module so as to unlock the unlocking module.
According to the embodiment of the invention, the door lock mainboard can be awakened from the low-power-consumption state only after the wireless communication connection with the user terminal is established, so that the door lock mainboard keeps the low-power-consumption working state for a long time and is awakened only when the door lock mainboard needs to work, the electric energy is saved, and the energy consumption is reduced. Meanwhile, the motor for controlling the door lock by the unlocking module is indirectly controlled through the user terminal, so that the door lock can be unlocked more simply, quickly and efficiently.
The communication bus 1140 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 1140 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The communication interface 1120 is used for communication between the electronic device and other devices.
The memory 1130 may include a Random Access Memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The processor 1110 may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A door lock control method is applied to a user terminal, and comprises the following steps:
if the wireless signal from the door lock is scanned, sending a connection establishment request to the door lock so as to wake up a door lock mainboard;
displaying first prompt information for prompting a user to input trigger information, wherein the trigger information is used for triggering to send unlocking information to a door lock;
detecting whether the trigger information input by a user is received;
and if the trigger information is received, acquiring first unlocking information for unlocking the door lock, and sending the first unlocking information to the door lock.
2. The door lock control method according to claim 1, wherein detecting whether the trigger information input by a user is received comprises:
detecting whether an input operation of second unlocking information is received;
if the input operation of second unlocking information is received, verifying the second unlocking information by using first preset unlocking information;
and if the second unlocking information passes the verification, determining to receive the trigger information.
3. The door lock control method according to claim 2, characterized by further comprising:
displaying second prompt information for prompting the user to input first preset unlocking information;
and receiving and storing first preset unlocking information input by a user.
4. The door lock control method according to claim 3, wherein the first preset unlocking information includes: one or more of a password, a fingerprint, a key, voice, and an image.
5. A door lock control method, applied to a door lock, the method comprising:
if receiving a connection establishment request from a user terminal, establishing wireless communication connection with the user terminal;
awakening the door lock mainboard in a low power consumption state;
if first unlocking information from the user terminal is received, verifying the first unlocking information;
and if the first unlocking information passes the verification, an unlocking instruction is sent to the unlocking module so that the unlocking module is unlocked.
6. The door lock control method according to claim 5, wherein the first unlock information is transmitted by the user terminal after the second unlock information inputted by the user is authenticated.
7. The door lock control method according to claim 5, characterized by further comprising:
after a preset time period, sending a locking instruction to the unlocking module to lock the unlocking module;
and disconnecting the wireless communication connection, and enabling the door lock mainboard to enter a low power consumption mode.
8. A door lock control apparatus applied to a user terminal, the apparatus comprising:
the first sending module is used for sending a connection establishing request to the door lock to wake up a door lock mainboard if a wireless signal from the door lock is scanned;
the first display module is used for displaying first prompt information used for prompting a user to input trigger information, and the trigger information is used for triggering to send unlocking information to the door lock;
the detection module is used for detecting whether the trigger information input by the user is received or not;
and the second sending module is used for acquiring first unlocking information for unlocking the door lock and sending the first unlocking information to the door lock if the triggering information is received.
9. A door lock control device, characterized in that, applied to a door lock, the device comprises:
the connection establishing module is used for establishing wireless communication connection with the user terminal if receiving a connection establishing request from the user terminal;
the awakening module is used for awakening the door lock mainboard in the low power consumption state;
the verification module is used for verifying the first unlocking information if the first unlocking information from the user terminal is received;
and the third sending module is used for sending an unlocking instruction to the unlocking module if the first unlocking information passes the verification so as to unlock the unlocking module.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the door lock control method according to any one of claims 1 to 4 or the door lock control method according to any one of claims 5 to 7 when executing a program stored in the memory.
CN202210233702.9A 2022-03-10 2022-03-10 Door lock control method and device, electronic equipment and storage medium Pending CN114495338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210233702.9A CN114495338A (en) 2022-03-10 2022-03-10 Door lock control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210233702.9A CN114495338A (en) 2022-03-10 2022-03-10 Door lock control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114495338A true CN114495338A (en) 2022-05-13

Family

ID=81486148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210233702.9A Pending CN114495338A (en) 2022-03-10 2022-03-10 Door lock control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114495338A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579670A (en) * 2013-10-28 2015-04-29 腾讯科技(深圳)有限公司 Mobile terminal authentication method and mobile terminal
CN206021402U (en) * 2016-09-12 2017-03-15 南京欣网通信科技股份有限公司 A kind of off-line cipher lock control device of low-power consumption
WO2017075952A1 (en) * 2015-11-04 2017-05-11 张泽 Method and device for controlling intelligent door lock, and intelligent door control system
CN211294007U (en) * 2020-02-24 2020-08-18 德施曼机电(中国)有限公司 Intelligent lock and control system thereof
CN211313704U (en) * 2019-12-30 2020-08-21 深圳Tcl新技术有限公司 Electronic door lock
US20200301497A1 (en) * 2019-02-20 2020-09-24 Shenzhen GOODIX Technology Co., Ltd. Power supply control method of intelligent lock, intelligent lock system and storage medium
CN112530056A (en) * 2020-11-18 2021-03-19 深圳Tcl新技术有限公司 Method for reducing power consumption of intelligent door lock, intelligent door lock and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579670A (en) * 2013-10-28 2015-04-29 腾讯科技(深圳)有限公司 Mobile terminal authentication method and mobile terminal
WO2017075952A1 (en) * 2015-11-04 2017-05-11 张泽 Method and device for controlling intelligent door lock, and intelligent door control system
CN206021402U (en) * 2016-09-12 2017-03-15 南京欣网通信科技股份有限公司 A kind of off-line cipher lock control device of low-power consumption
US20200301497A1 (en) * 2019-02-20 2020-09-24 Shenzhen GOODIX Technology Co., Ltd. Power supply control method of intelligent lock, intelligent lock system and storage medium
CN211313704U (en) * 2019-12-30 2020-08-21 深圳Tcl新技术有限公司 Electronic door lock
CN211294007U (en) * 2020-02-24 2020-08-18 德施曼机电(中国)有限公司 Intelligent lock and control system thereof
CN112530056A (en) * 2020-11-18 2021-03-19 深圳Tcl新技术有限公司 Method for reducing power consumption of intelligent door lock, intelligent door lock and storage medium

Similar Documents

Publication Publication Date Title
US9183683B2 (en) Method and system for access to secure resources
CN104866750B (en) Using startup method and apparatus
JP4578485B2 (en) Authentication system for information processing terminal using portable information processing device
WO2019157804A1 (en) Method and apparatus for fingerprint unlocking
KR101165325B1 (en) System and Method for Processing Opening and Shutting Door-Lock using One-Time Bar Code, Door-Lock Device
US20190171805A9 (en) Unlocking method and apparatus, and storage medium
CN104851169B (en) A kind of intelligent wireless lock and its solution lock control method
CN110515533B (en) Electronic equipment shortcut operation method and device, electronic equipment and storage medium
CN206522020U (en) A kind of intelligent door lock and system
TWI621764B (en) Method for wirelessly charging and unlocking electronic lock
WO2022156315A1 (en) Door lock control method and apparatus, door lock, and storage medium
CN108319832A (en) Unlocking method and device
CN107391995A (en) Unlock operation processing method and device
US20150228137A1 (en) Wireless access control to a locking device
JP7480731B2 (en) Information processing device, information processing method, system and program
CN108133180A (en) Fingerprint identification method, device and terminal
CN106066763A (en) Terminal unlocking method and device
KR101979373B1 (en) Portable communication apparatus installed door-lock application
CN114495338A (en) Door lock control method and device, electronic equipment and storage medium
TWI529559B (en) Computer system with wake-up authentication and its computer equipment
CN114582052A (en) Control method and device of intelligent door lock, intelligent door lock and storage medium
CN109426712A (en) Unlocked by fingerprint method, apparatus and electronic equipment
CN110865762B (en) Method for preventing mistaken screen off, terminal and computer readable storage medium
WO2018006341A1 (en) Optical communications-based authentication method and system
CN106778116A (en) Electronic installation and its starting-up method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220513