CN113096272B - Door lock control method, intelligent door lock and computer readable storage medium - Google Patents

Door lock control method, intelligent door lock and computer readable storage medium Download PDF

Info

Publication number
CN113096272B
CN113096272B CN201911329256.6A CN201911329256A CN113096272B CN 113096272 B CN113096272 B CN 113096272B CN 201911329256 A CN201911329256 A CN 201911329256A CN 113096272 B CN113096272 B CN 113096272B
Authority
CN
China
Prior art keywords
door lock
user
information
matched
control method
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
CN201911329256.6A
Other languages
Chinese (zh)
Other versions
CN113096272A (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.)
Foshan Viomi Electrical Technology Co Ltd
Original Assignee
Foshan Viomi Electrical 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 Foshan Viomi Electrical Technology Co Ltd filed Critical Foshan Viomi Electrical Technology Co Ltd
Priority to CN201911329256.6A priority Critical patent/CN113096272B/en
Publication of CN113096272A publication Critical patent/CN113096272A/en
Application granted granted Critical
Publication of CN113096272B publication Critical patent/CN113096272B/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/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

Abstract

The embodiment of the application discloses a door lock control method, an intelligent door lock and a computer readable storage medium, and the embodiment of the application can receive identity information input by a user and verify the identity information; when the identity information passes verification, activating a door lock, and establishing a connection relation between the activated door lock and the mobile terminal held by the user; acquiring current state information of the mobile terminal according to the connection relation; acquiring a user identifier of the user, and acquiring a mapping relation between the state information matched with the user identifier and the character; determining characters matched with the current state information according to the mapping relation to obtain candidate characters; and when the candidate characters are matched with a preset unlocking password, unlocking the door lock. The scheme can perform dual authentication of the differential identity information and the state of the mobile terminal based on different users, and greatly improves the safety of door lock control.

Description

Door lock control method, intelligent door lock and computer readable storage medium
Technical Field
The application relates to the technical field of electronic equipment, in particular to a door lock control method, an intelligent door lock and a computer readable storage medium.
Background
At present, the existing door lock generally inserts a matched key into a key hole which is directly displayed to open a door, or inputs a password in a password input interface which is directly displayed to open the door, and the door is opened only through the key hole or the password input interface, so that a chance is provided for lawless persons, and the lawless persons can unlock through the key hole by an unlocking technology or try to unlock in a permutation and combination mode through the password input interface, so that the safety of the existing door lock is very low.
Disclosure of Invention
The embodiment of the application provides a door lock control method, an intelligent door lock and a computer readable storage medium, which can improve the safety of door lock control.
In a first aspect, an embodiment of the present application provides a door lock control method, including:
receiving identity information input by a user, and verifying the identity information;
when the identity information passes verification, activating a door lock, and establishing a connection relation between the activated door lock and the mobile terminal held by the user;
acquiring current state information of the mobile terminal according to the connection relation;
acquiring a user identifier of the user, and acquiring a mapping relation between the state information matched with the user identifier and the character;
determining characters matched with the current state information according to the mapping relation to obtain candidate characters;
and when the candidate characters are matched with a preset unlocking password, unlocking the door lock.
In a second aspect, an embodiment of the present application further provides an intelligent door lock, which includes a memory and a processor, where the memory stores a computer program, and the processor executes any one of the door lock control methods provided in the embodiment of the present application when calling the computer program in the memory.
In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium is used for storing a computer program, and the computer program is loaded by a processor to execute any one of the door lock control methods provided in the embodiments of the present application.
The method and the device can receive the identity information input by the user, verify the identity information, activate the door lock when the identity information is verified, and establish the connection relationship between the activated door lock and the mobile terminal held by the user; then, according to the connection relation, current state information of the mobile terminal is obtained, a user identification of the user is obtained, and a mapping relation between the state information matched with the user identification and the character is obtained; and secondly, determining characters matched with the current state information according to the mapping relation to obtain candidate characters, and finally unlocking the door lock when the candidate characters are matched with a preset unlocking password. According to the scheme, after the identity information is verified, the door lock is opened through the current state information of the mobile terminal, double authentication of the identity information of difference and the state of the mobile terminal can be performed based on different users, and the safety of door lock control is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a door lock control method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of user detection provided by an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a connection relationship between an intelligent door lock and a mobile terminal according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a mobile terminal provided in an embodiment of the present application generating acceleration;
fig. 5 is a schematic diagram of a current operating state of a mobile terminal according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a user entering a room according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of an operation list of home devices according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a user going out according to an embodiment of the present application
Fig. 9 is a schematic structural diagram of an intelligent door lock provided in an embodiment of the present application.
Detailed Description
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 only a part of the embodiments of the present application, 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 application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The embodiment of the application provides a door lock control method, an intelligent door lock and a computer readable storage medium. The door lock control method can be applied to an intelligent door lock (also simply referred to as a door lock), and will be described in detail below.
Referring to fig. 1, fig. 1 is a schematic flow chart of a door lock control method according to an embodiment of the present application. The door lock control method may include steps S101 to S106, and the like, and specifically may be as follows:
s101, receiving identity information input by a user, and verifying the identity information.
In order to improve the security of controlling the door lock, after the identity information of the user is verified, the connection relationship between the door lock and the mobile terminal can be established so that the user can open the door. Firstly, the identity information input by the user can be received in the identity information input interface, and then the identity information is verified.
In some embodiments, receiving identity information input by a user, and verifying the identity information may include: receiving face information, character information, voiceprint information or fingerprint information input by a user; face information, character information, voice print information and/or fingerprint information are verified.
For example, as shown in fig. 2, when a user needs to open a door, the smart door lock may receive face information input by the user through a preset camera, and then verify the face information, that is, determine whether the face information is face information of any member in a family, determine that the identity information verification is passed if the face information is face information of any member in the family, and determine that the identity information verification is not passed if the face information is not face information of any member in the family. Or judging whether the face information is consistent with preset target face information or not, if so, determining that the identity information is verified to be passed, and if not, determining that the identity information is not verified to be passed.
For another example, the intelligent door lock may receive character information input by a user through a character input interface, where the character information may include numbers, letters, symbols, and/or characters, and then verify the character information, that is, determine whether the character information is consistent with preset target character information, if the character information is consistent with the preset target character information, determine that the identity information is verified, and if the character information is inconsistent with the preset target character information, determine that the identity information is not verified.
For another example, the intelligent door lock may receive voiceprint information input by a user through a voiceprint collector, and then verify the voiceprint information, that is, determine whether the voiceprint information is consistent with preset target voiceprint information, if the voiceprint information is consistent with the preset target voiceprint information, determine that the identity information verification is passed, and if the voiceprint information is not consistent with the preset target voiceprint information, determine that the identity information verification is not passed.
For another example, the intelligent door lock may receive fingerprint information input by a user through a fingerprint collector, and then verify the fingerprint information, that is, determine whether the fingerprint information is consistent with preset target fingerprint information, if the fingerprint information is consistent with the preset target fingerprint information, determine that the identity information is verified, and if the fingerprint information is not consistent with the preset target fingerprint information, determine that the identity information is not verified.
And S102, when the identity information passes the verification, activating the door lock, and establishing a connection relation between the activated door lock and the mobile terminal held by the user.
When the identity information is verified to pass, the fact that the current user is a member in a family is indicated, the door lock can be activated at the moment, and the connection relation between the activated door lock and the mobile terminal held by the user is established through Bluetooth or WIFI and the like. For example, as shown in fig. 3, the intelligent door lock sends a connection request to the mobile terminal, and receives a connection response returned by the mobile terminal based on the connection request, at which time the intelligent door lock may establish a connection relationship with the mobile terminal based on the connection response.
When the identity information is not verified, the current user is not a member in the family, and the door lock can not be activated; or, when the identity information is not verified, it indicates that the current user is not a user with door opening authority (such as a child), and the door lock may not be activated. It should be noted that, when the user opens the door, the identity information of the user needs to be verified, and after the identity verification is passed, the door lock can be activated, and the connection relationship between the activated door lock and the mobile terminal held by the user is established to open the door, so that it is avoided that when a child plays at home, parents cannot notice to steal the door and slide out to play, which is very unsafe.
And S103, acquiring the current state information of the mobile terminal according to the connection relation.
After the connection relation between the intelligent door lock and the mobile terminal is established, an information acquisition request can be sent to the mobile terminal, and current state information returned by the mobile terminal based on the information acquisition request is received, wherein the current state information can comprise information such as the current moving direction, moving speed, moving distance, acceleration, running application, screen off or screen on of the mobile terminal.
S104, acquiring a user identification of the user, and acquiring a mapping relation between the state information matched with the user identification and the character.
And S105, determining characters matched with the current state information according to the mapping relation to obtain candidate characters.
In order to improve the convenience of acquiring the candidate characters, the intelligent door lock can be used for establishing the mapping relation among user identifications, state information and characters of different users in advance. For example, for a user a, when the state information of the mobile terminal is in a bright screen display state, the corresponding character is 123, and when the state information of the mobile terminal is in a dark screen display state, the corresponding character is a; for the user B, when the state information of the mobile terminal is displayed in a bright screen mode, the corresponding character is abc, and when the state information of the mobile terminal is that the acceleration is larger than a preset threshold value, the corresponding character is 666.
After the current state information of the mobile terminal is obtained, the intelligent door lock can obtain the user identification of the user, obtain the mapping relation between the state information matched with the user identification and the characters, determine the characters matched with the current state information according to the mapping relation, and obtain the candidate characters.
In some embodiments, the current state information includes a current acceleration, and obtaining a mapping relationship between the state information and the character matching the user identifier may include: acquiring a mapping relation between an acceleration interval matched with the user identifier and the character; determining the character matched with the current state information according to the mapping relationship, and obtaining the candidate character may include: determining an acceleration interval in which the current acceleration is located to obtain the current acceleration interval; and determining characters matched with the current acceleration interval according to the mapping relation to obtain candidate characters.
For example, as shown in fig. 4, taking the current state information as the current acceleration as an example, mapping relationships between user identifiers of different users, acceleration intervals, and characters may be preset, and the mapping relationships may be stored. The intelligent door lock can send an acquisition request of current acceleration to the mobile terminal, receive current acceleration returned by the mobile terminal based on the acquisition request, after the current acceleration of the mobile terminal is obtained, the intelligent door lock can determine an acceleration interval where the current acceleration is located, obtain the current acceleration interval, obtain a user identification of a user passing the current identity information verification, and obtain a mapping relation between the matched acceleration interval and characters, and then determine characters matched with the current acceleration interval according to the mapping relation to obtain candidate characters.
In some embodiments, the current state information includes current running information, and obtaining the mapping relationship between the state information and the character matching with the user identifier may include: acquiring a mapping relation between the running information matched with the user identification and the character; determining the character matched with the current state information according to the mapping relationship, and obtaining the candidate character may include: and determining characters matched with the current running information according to the mapping relation to obtain candidate characters.
For example, as shown in fig. 5, taking the current state information as the current operation information as an example, the mapping relationship between the user identifier of different users, the current operation information, and the characters may be preset and stored. The intelligent door lock can send an acquisition request of current operation information to the mobile terminal, receive the current operation information returned by the mobile terminal based on the acquisition request, and after the current operation information of the mobile terminal is obtained, the intelligent door lock can obtain a user identifier of a user passing the current identity information verification, a mapping relation between the matched operation information and characters, and determine the characters matched with the current operation information according to the mapping relation to obtain candidate characters. For example, in fig. 5, when the mobile terminal runs application a, the corresponding character is 1.
In some embodiments, determining a character matching the current state information according to the mapping relationship, and obtaining candidate characters may include: and determining characters matched with the current state information according to the mapping relation, and extracting characters corresponding to the valid bits from the characters matched with the current state information to obtain candidate characters.
In order to improve the security of acquiring the candidate characters, valid characters may be extracted, for example, the intelligent door lock may determine characters matching the current state information based on a mapping relationship between the state information matching the user identifier of the user and the characters, and then extract characters corresponding to the valid bits from the characters matching the current state information to obtain the candidate characters. For example, when the character matching the current state information is 9xy16b3, if the valid bits set by the user are the second bit and the fifth bit, the characters of the second bit and the fifth bit can be extracted from the character, and the candidate character is x 6.
And S106, unlocking the door lock when the candidate characters are matched with the preset unlocking password.
After the candidate characters are obtained, the intelligent door lock can compare the candidate characters with an unlocking password preset by a current door opening user, judge whether the candidate characters are consistent with the unlocking password preset by the current door opening user, if the candidate characters are consistent with the unlocking password preset by the current door opening user, the candidate characters are matched with the unlocking password, and at the moment, the door lock can be controlled to be opened. For example, if the unlocking password preset by the user a is 123, when the user a opens the door, the candidate character 123 needs to be obtained, and the door lock can be controlled to be unlocked; if the unlocking password preset by the user B is abc, the user B can control the door lock to be unlocked only by obtaining the candidate characters abc when opening the door, so that differentiated door lock control is realized according to different user requirements.
In some embodiments, when the candidate character matches a preset unlocking password, after the door lock is unlocked, the door lock control method may further include: when a user opens a door and enters a room, determining household appliances to be started and operation parameters of the household appliances; and controlling the household appliance to operate according to the operation parameters.
In order to improve convenience of controlling the household electrical appliance, for example, a connection relationship between the intelligent door lock and various household electrical appliances may be established in advance through WiFi or bluetooth or the like. When the user opens the door, can judge whether the user opens the door and goes into the room or opens the door and goes out of the room, for example, as shown in fig. 6, when the user opens the door and goes into the room, can confirm the household electrical appliances to be opened, and this household electrical appliances can include water heater, water purifier, fan, switch device, intelligent electric light, air conditioner, TV, air purifier, electric fan heater and robot of sweeping the floor etc. and confirm the running parameter of household electrical appliances, and this running parameter can include temperature, humidity, amount of wind or operation mode etc. can control household electrical appliances and operate according to the running parameter this moment.
In some embodiments, determining the home device to be turned on, and the operating parameters of the home device may include: acquiring schedule information, user habit data and user health data of a user to obtain user data; acquiring the temperature, the humidity and the light intensity of an indoor environment to obtain indoor environment parameters; and determining the operating parameters of the household appliance according to the user data and the indoor environment parameters.
In order to facilitate the subsequent accurate determination of the operating parameters of the household appliance based on the differences of different users, the user currently opening the door can be determined. Because the door opening habits or biological characteristics of the users are not different, the mapping relationship between the face information of different users in the family members and the user identification, or the mapping relationship between the biological characteristics of different users in the family members and the user identification, and the like, can be established in advance, and the user identification can be the name or the number of the user.
For example, the intelligent door lock can collect image information within a preset range in front of the door lock when the door is opened through a preset camera, and the camera can be arranged on the door lock, or other positions on the door, or a wall above a doorway, and the like. Then, biological characteristics of the face, the hairstyle, the pupil, the iris, the height or the body type of the user can be extracted from the image information, and the user who opens the door currently is determined based on the mapping relation between the biological characteristics of different users and the user identification and the collected biological characteristics of the user who opens the door.
For another example, when the user touches the fingerprint acquisition area of the door lock, the intelligent door lock can acquire fingerprint information input by the user when the user opens the door, and then, based on the mapping relationship between the fingerprint information of different users and the user identification, the user corresponding to the currently acquired fingerprint information is determined, so that the user who opens the door can be obtained.
The user data may include user schedule information, user habit data, user health data, and the like, and the user schedule information may include a schedule of the user on the same day, for example, the user goes to work and sits for 1 hour of subway return on the same day, or the user drives to travel on the same day. The user habit data can comprise data such as household appliances started by the user's habit of going home every day and set operation parameters, and the user health data can comprise data such as body temperature, heart rate, motion amount, weight, age, fat mass, body water, muscle mass, and basal metabolism. For example, the smart door lock may obtain the current-day schedule information of the user by accessing memo recorded in the mobile terminal used by the user, or obtain the schedule information of the user by accessing instant messaging of the user account, and obtain data such as household appliances opened by the user returning home every day and set operating parameters from a database in which historical data is stored in advance, to obtain user habit data, and collect health data of the user through a wearable device carried by the user.
Wherein, indoor environmental parameter can include the temperature of indoor environment, humidity, air quality and light intensity etc. for the convenience that improves indoor environmental parameter and acquireed, the temperature of indoor environment can be gathered through indoor predetermined temperature sensor to the intelligence lock, gather the humidity of indoor environment through indoor predetermined humidity transducer, and gather the light intensity of indoor environment through indoor predetermined photosensitive sensor, and detect the air quality of indoor environment through indoor predetermined air monitor, etc.
After the user data and the indoor environment parameters of the user are obtained, the operation parameters of the household appliance can be determined according to the user data and the indoor environment parameters, and the household appliance is controlled to operate according to the operation parameters. For example, when a user strolls back, is used to open the fan and the television, and the health state of the current user is good, the indoor environment parameters are appropriate in temperature and humidity and strong in light intensity, it can be determined that the fan and the television need to be opened, the operating parameters of the fan are 1-gear air volume and left-right shaking, and the operating parameters of the television are opening of news programs. For another example, when the user goes back to work, is used to turn on the lamp, the air conditioner, the air purifier and the water heater, and the current health state of the user is a cold state, the indoor environment temperature is appropriate, and the light intensity is very weak, it can be determined that the lamp, the air conditioner, the air purifier and the water heater need to be turned on, and the air conditioner temperature is 27 degrees, the air volume is minimum (to avoid blowing to aggravate the cold), and the like. The multi-dimensional analysis is carried out on the user data and the indoor environment parameters, the starting requirements of the user on the household appliance can be accurately analyzed, and the accuracy of the household appliance control is improved.
In some embodiments, controlling the home device to operate according to the operating parameters may include: outputting prompt information of running of the household appliance equipment in a display interface of the mobile terminal; receiving a confirmation instruction input by a user based on the prompt information; and controlling the household appliance to operate according to the operation parameters according to the confirmation instruction.
In order to improve the accuracy of controlling the home appliance, the operation of the home appliance may be confirmed by a user, for example, as shown in fig. 7, after the operation parameters of the home appliance are determined, prompt information of the operation of the home appliance may be displayed in a display screen of the intelligent door lock, where the prompt information may include a home appliance operation list, and then a confirmation instruction generated by a click operation input by the user is received based on the prompt information, and the home appliance is controlled to operate according to the operation parameters according to the confirmation instruction. Or after the operation parameters of the household appliance are determined, the prompt information of the operation of the household appliance can be broadcasted through the voice function of the intelligent door lock, the confirmation instruction generated by the user response is received based on the prompt information, and the household appliance is controlled to operate according to the operation parameters according to the confirmation instruction. Or after determining the operation parameters of the home appliance, sending the prompt information of the operation of the home appliance to a mobile terminal held by a user, and displaying the prompt information of the operation of the home appliance through the mobile terminal, as shown in fig. 7, the prompt information may include a home appliance operation list, so that the user may delete, determine, or set the home appliance to be controlled based on the prompt information, then receive a confirmation instruction input by the user through a determination button based on the prompt information, and control the home appliance to operate according to the operation parameters according to the confirmation instruction. When the confirmation instruction input by the user is not received based on the prompt information, the fact that the user does not want to control the household appliance to operate according to the operation parameters is stated, and at the moment, the household appliance can be controlled to maintain the current state.
In some embodiments, when the candidate character matches a preset unlocking password, after the door lock is unlocked, the door lock control method may further include: when a user goes out, determining household appliances to be closed; and controlling the household appliance to be turned off.
In order to improve convenience of controlling the household appliances, the household appliances to be turned off can be turned off after a user leaves the home, and when the user opens the door, the user can judge whether the user opens the door to enter the room or opens the door to leave the home, for example, as shown in fig. 8, when the user opens the door to leave the home, the household appliances to be turned off can be determined, and the household appliances are controlled to be turned off.
When a user leaves a door, the connection relation between the handheld mobile terminal and the intelligent door lock can be established, and the user mobile terminal controls the intelligent door lock to perform counter locking, for example, the intelligent door lock can be controlled to perform counter locking through the moving direction, the moving distance, the moving speed or the running state of the mobile terminal.
The method and the device can receive the identity information input by the user, verify the identity information, activate the door lock when the identity information is verified, and establish the connection relationship between the activated door lock and the mobile terminal held by the user; then, according to the connection relation, current state information of the mobile terminal is obtained, a user identification of the user is obtained, and a mapping relation between the state information matched with the user identification and the character is obtained; and secondly, determining characters matched with the current state information according to the mapping relation to obtain candidate characters, and finally unlocking the door lock when the candidate characters are matched with a preset unlocking password. According to the scheme, after the identity information is verified, the door lock is opened through the current state information of the mobile terminal, double authentication of the identity information of difference and the state of the mobile terminal can be performed based on different users, and the safety of door lock control is greatly improved.
Referring to fig. 9, fig. 9 is a schematic block diagram of a structure of an intelligent door lock according to an embodiment of the present application.
As shown in fig. 9, the smart door lock 300 may include a processor 302, a memory 303, and a communication interface 304 connected by a system bus 301, wherein the memory 303 may include a non-volatile computer-readable storage medium and an internal memory.
The non-transitory computer readable storage medium may store a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any of the door lock control methods.
The processor 302 is used to provide computing and control capabilities to support the operation of the entire intelligent door lock.
The memory 303 provides an environment for the execution of a computer program in a non-transitory computer-readable storage medium, which when executed by the processor 302, causes the processor 302 to perform any of the door lock control methods.
The communication interface 304 is used for communication. It will be understood by those skilled in the art that the structure shown in fig. 9 is only a block diagram of a part of the structure related to the present application, and does not constitute a limitation to the intelligent door lock 300 to which the present application is applied, and a specific intelligent door lock 300 may include more or less components than those shown in the figure, or combine some components, or have a different arrangement of components.
It should be understood that the bus 301 is, for example, an I2C (Inter-Integrated Circuit) bus, the Memory 303 may be a Flash chip, a Read-Only Memory (ROM), a magnetic disk, an optical disk, a usb disk, or a removable hard disk, the Processor 302 may be a Central Processing Unit (CPU), the Processor 302 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable gate arrays (FPGAs), or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in some embodiments, the processor 302 is configured to run a computer program stored in the memory 303 to perform the steps of:
receiving identity information input by a user, and verifying the identity information; when the identity information passes the verification, activating a door lock, and establishing a connection relation between the activated door lock and a mobile terminal held by a user; acquiring current state information of the mobile terminal according to the connection relation; acquiring a user identifier of a user, and acquiring a mapping relation between state information matched with the user identifier and characters; determining characters matched with the current state information according to the mapping relation to obtain candidate characters; and when the candidate characters are matched with the preset unlocking password, unlocking the door lock.
In some embodiments, when receiving the identity information input by the user and verifying the identity information, the processor 302 is further configured to: receiving face information, character information, voiceprint information or fingerprint information input by a user; face information, character information, voice print information and/or fingerprint information are verified.
In some embodiments, after unlocking the door lock, the processor 302 is further configured to: when a user opens a door and enters a room, determining household appliances to be started and operation parameters of the household appliances; and controlling the household appliance to operate according to the operation parameters.
In some embodiments, in determining the home device to be turned on and the operating parameters of the home device, the processor 302 is further configured to: acquiring schedule information, user habit data and user health data of a user to obtain user data; acquiring the temperature, the humidity and the light intensity of an indoor environment to obtain indoor environment parameters; and determining the operating parameters of the household appliance according to the user data and the indoor environment parameters.
In some embodiments, when controlling the home device to operate according to the operating parameters, the processor 302 is further configured to: outputting prompt information of running of the household appliance equipment in a display interface of the mobile terminal; receiving a confirmation instruction input by a user based on the prompt information; and controlling the household appliance to operate according to the operation parameters according to the confirmation instruction.
In some embodiments, after unlocking the door lock, the processor 302 is further configured to: when a user goes out, determining household appliances to be closed; and controlling the household appliance to be closed.
In some embodiments, in obtaining the mapping relationship between the status information and the character matching the user identification, the processor 302 is further configured to: acquiring a mapping relation between an acceleration interval matched with the user identifier and the character; when determining the character matched with the current state information according to the mapping relationship, the processor 302 is further configured to: determining an acceleration interval in which the current acceleration is located to obtain the current acceleration interval; and determining characters matched with the current acceleration interval according to the mapping relation to obtain candidate characters.
In some embodiments, in obtaining the mapping relationship between the status information and the character matching the user identification, the processor 302 is further configured to: acquiring a mapping relation between the running information matched with the user identification and the character; when determining the character matched with the current state information according to the mapping relationship, the processor 302 is further configured to: and determining characters matched with the current running information according to the mapping relation to obtain candidate characters.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the door lock control method, and are not described herein again.
The intelligent door lock can receive the identity information input by the user, verify the identity information, activate the door lock when the identity information is verified, and establish a connection relation between the activated door lock and the mobile terminal held by the user; then, according to the connection relation, current state information of the mobile terminal is obtained, a user identification of the user is obtained, and a mapping relation between the state information matched with the user identification and the character is obtained; and secondly, determining characters matched with the current state information according to the mapping relation to obtain candidate characters, and finally unlocking the door lock when the candidate characters are matched with a preset unlocking password. According to the scheme, after the identity information is verified, the door lock is opened through the current state information of the mobile terminal, double authentication of the identity information of difference and the state of the mobile terminal can be performed based on different users, and the safety of door lock control is greatly improved.
The embodiment of the application further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, the computer program comprises program instructions, and a processor executes the program instructions to realize any door lock control method provided by the embodiment of the application. For example, the computer program is loaded by a processor and may perform the following steps:
receiving identity information input by a user, and verifying the identity information; when the identity information passes the verification, activating a door lock, and establishing a connection relation between the activated door lock and a mobile terminal held by a user; acquiring current state information of the mobile terminal according to the connection relation; acquiring a user identifier of a user, and acquiring a mapping relation between state information matched with the user identifier and characters; determining characters matched with the current state information according to the mapping relation to obtain candidate characters; and when the candidate characters are matched with the preset unlocking password, unlocking the door lock.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The computer readable storage medium may be an internal storage unit of the intelligent door lock of the foregoing embodiment, for example, a hard disk or a memory of the intelligent door lock. The computer readable storage medium may also be an external storage device of the Smart door lock, such as a plug-in hard disk provided on the Smart door lock, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like.
Since the computer program stored in the computer-readable storage medium can execute any door lock control method provided in the embodiments of the present application, beneficial effects that can be achieved by any door lock control method provided in the embodiments of the present application can be achieved, and detailed descriptions are omitted here for the foregoing embodiments.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and various equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A door lock control method, comprising:
receiving identity information input by a user, and verifying the identity information;
when the identity information passes verification, activating a door lock, and establishing a connection relation between the activated door lock and the mobile terminal held by the user;
acquiring current state information of the mobile terminal according to the connection relation;
acquiring a user identifier of the user, and acquiring a mapping relation between the state information matched with the user identifier and the character;
determining characters matched with the current state information according to the mapping relation to obtain candidate characters;
and when the candidate characters are matched with a preset unlocking password, unlocking the door lock.
2. The door lock control method according to claim 1, wherein the receiving of the identity information input by the user, and the verifying the identity information includes:
receiving face information, character information, voiceprint information or fingerprint information input by a user;
and verifying the face information, the character information, the voiceprint information and/or the fingerprint information.
3. The door lock control method according to claim 1, wherein when the candidate character matches a preset unlocking password, after the door lock is unlocked, the door lock control method further comprises:
when the user opens the door and enters the room, determining the household electrical appliance to be started and the operation parameters of the household electrical appliance;
and controlling the household appliance to operate according to the operation parameters.
4. The door lock control method according to claim 3, wherein the determining of the home device to be unlocked and the operation parameters of the home device comprise:
acquiring schedule information, user habit data and user health data of the user to obtain user data;
acquiring the temperature, the humidity and the light intensity of an indoor environment to obtain indoor environment parameters;
and determining the operating parameters of the household appliance according to the user data and the indoor environment parameters.
5. The door lock control method of claim 3, wherein the controlling the home device to operate according to the operating parameter comprises:
outputting prompt information of the running of the household appliance equipment in a display interface of the mobile terminal;
receiving a confirmation instruction input by the user based on the prompt information;
and controlling the household appliance to operate according to the operation parameters according to the confirmation instruction.
6. The door lock control method according to claim 1, wherein when the candidate character matches a preset unlocking password, after the door lock is unlocked, the door lock control method further comprises:
when the user goes out, determining household appliances to be closed;
and controlling the household appliance to be closed.
7. The door lock control method according to any one of claims 1 to 6, wherein the current status information includes a current acceleration, and the obtaining of the mapping relationship between the status information and the character that match the user identifier includes:
acquiring a mapping relation between an acceleration interval matched with the user identifier and a character;
determining the character matched with the current state information according to the mapping relation, and obtaining candidate characters comprises:
determining an acceleration interval in which the current acceleration is located to obtain a current acceleration interval;
and determining characters matched with the current acceleration interval according to the mapping relation to obtain candidate characters.
8. The door lock control method according to any one of claims 1 to 6, wherein the current status information includes current operation information, and the obtaining of the mapping relationship between the status information and the characters matching the user identifier includes:
acquiring a mapping relation between the running information matched with the user identification and the character;
determining the character matched with the current state information according to the mapping relation, and obtaining candidate characters comprises:
and determining characters matched with the current operation information according to the mapping relation to obtain candidate characters.
9. An intelligent door lock, characterized by comprising a processor and a memory, wherein the memory stores a computer program, and the processor executes the door lock control method according to any one of claims 1 to 8 when calling the computer program in the memory.
10. A computer-readable storage medium for storing a computer program, the computer program being loaded by a processor to execute the door lock control method according to any one of claims 1 to 8.
CN201911329256.6A 2019-12-20 2019-12-20 Door lock control method, intelligent door lock and computer readable storage medium Active CN113096272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911329256.6A CN113096272B (en) 2019-12-20 2019-12-20 Door lock control method, intelligent door lock and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911329256.6A CN113096272B (en) 2019-12-20 2019-12-20 Door lock control method, intelligent door lock and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113096272A CN113096272A (en) 2021-07-09
CN113096272B true CN113096272B (en) 2022-08-02

Family

ID=76662787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911329256.6A Active CN113096272B (en) 2019-12-20 2019-12-20 Door lock control method, intelligent door lock and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113096272B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113763605B (en) * 2021-09-15 2023-08-08 Oppo广东移动通信有限公司 Intelligent door lock, intelligent home system and control method
TWI821851B (en) * 2022-01-03 2023-11-11 和碩聯合科技股份有限公司 Automatic door voice control system and automatic door voice control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004257062A (en) * 2003-02-25 2004-09-16 Matsushita Electric Ind Co Ltd Key control system
WO2016180163A1 (en) * 2015-11-02 2016-11-17 中兴通讯股份有限公司 Household control and adjustment method and system
CN107506634A (en) * 2017-07-31 2017-12-22 广东欧珀移动通信有限公司 Display methods, device, storage medium and the terminal of data
CN107703893A (en) * 2017-09-18 2018-02-16 广东美的制冷设备有限公司 Household electric appliance control method, device and computer-readable recording medium based on schedule
CN108153161A (en) * 2017-12-29 2018-06-12 北京数字天域科技有限责任公司 Intelligent door lock controls the method and device of smart home
CN110333679A (en) * 2019-07-11 2019-10-15 青岛海尔空调器有限总公司 Household electric appliance control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201527631A (en) * 2013-12-20 2015-07-16 Jetdian Technology Inc Locking/unlocking method adopting near field wireless transmission device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004257062A (en) * 2003-02-25 2004-09-16 Matsushita Electric Ind Co Ltd Key control system
WO2016180163A1 (en) * 2015-11-02 2016-11-17 中兴通讯股份有限公司 Household control and adjustment method and system
CN107506634A (en) * 2017-07-31 2017-12-22 广东欧珀移动通信有限公司 Display methods, device, storage medium and the terminal of data
CN107703893A (en) * 2017-09-18 2018-02-16 广东美的制冷设备有限公司 Household electric appliance control method, device and computer-readable recording medium based on schedule
CN108153161A (en) * 2017-12-29 2018-06-12 北京数字天域科技有限责任公司 Intelligent door lock controls the method and device of smart home
CN110333679A (en) * 2019-07-11 2019-10-15 青岛海尔空调器有限总公司 Household electric appliance control method

Also Published As

Publication number Publication date
CN113096272A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
US20210295627A1 (en) Face Based Door Entry and Confirmation of Authenticity of Biological Sample
CN111505947B (en) Household appliance control method, intelligent door lock and computer readable storage medium
US11417158B2 (en) Information prompting method, apparatus, and system, and intelligent electronic door lock
CN105159585B (en) A kind of function unlocking method and system based on fingerprint
CN107168407A (en) Control the method and device of the leaving water temperature of intelligent drinking machine
EP2960823A1 (en) Method, device and system for managing authority
CN113096272B (en) Door lock control method, intelligent door lock and computer readable storage medium
CN109887144A (en) A kind of visitor's recognition methods, device and computer readable storage medium
CN108691458B (en) Door lock, door lock control method and device
CN112991585B (en) Access personnel management method and computer readable storage medium
CN109410386A (en) Unlocking processing method and processing device, storage medium, processor
CN113802325B (en) Clothes airing reminding method and device in washing machine, server and storage medium
CN105138881A (en) Screen locking method and device
CN108710516A (en) Acquisition method, device, storage medium and the intelligent terminal of forecast sample
CN113820963B (en) Intelligent home control method and system based on Internet of things
CN110335424B (en) Community card-making and card-making integrated machine equipment based on self-service identity authentication and making method
CN110989390A (en) Smart home control method and device
CN111223219A (en) Identity recognition method and storage medium
CN106355684B (en) Control method, the device and system of controlled plant
CN212160784U (en) Identity recognition device and entrance guard equipment
CN113011236A (en) Information display method, intelligent door lock and computer readable storage medium
CN113096273A (en) Door lock control method, intelligent door lock and computer readable storage medium
CN112000726A (en) Storage method of massage operation mode, electronic device and storage medium
CN111063085A (en) Identity recognition device and entrance guard equipment
CN113096274A (en) Door lock control method, intelligent door lock and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant