CN108922000A - Intelligent door lock control method, device and computer readable storage medium - Google Patents

Intelligent door lock control method, device and computer readable storage medium Download PDF

Info

Publication number
CN108922000A
CN108922000A CN201810797376.8A CN201810797376A CN108922000A CN 108922000 A CN108922000 A CN 108922000A CN 201810797376 A CN201810797376 A CN 201810797376A CN 108922000 A CN108922000 A CN 108922000A
Authority
CN
China
Prior art keywords
door lock
intelligent door
human body
lock control
authentication list
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
CN201810797376.8A
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Huizhou TCL Home Appliances Group 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 Huizhou TCL Home Appliances Group Co Ltd filed Critical Huizhou TCL Home Appliances Group Co Ltd
Priority to CN201810797376.8A priority Critical patent/CN108922000A/en
Publication of CN108922000A publication Critical patent/CN108922000A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks

Landscapes

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

Abstract

The invention discloses a kind of intelligent door lock control method, by when detecting human body close to intelligent door lock, into operating mode;Then the wireless network signal in preset range is scanned, it is determined whether scanning to the user name being stored in the authentication list in intelligent door lock;Later when determining scanning to user name in the authentication list, the corresponding identification information of the user name is obtained according to scanning result, is matched with the identification information stored in authentication list, executes unlocking operation when matching consistent.The invention also discloses a kind of intelligent door lock control device and computer readable storage mediums.This method, which is removed from, to be needed to input password, swipes the card, inputs fingerprint or using the complicated cumbersome step such as cell phone application when intelligent door lock is unlocked, it can be close to auto-unlocking in intelligent door lock a certain range only by the mobile phone authenticated, user can be opened the door by modes such as squeeze grips, the convenience for improving intelligent door lock operation, helps to improve user experience.

Description

Intelligent door lock control method, device and computer readable storage medium
Technical field
The present invention relates to access control technical field more particularly to a kind of intelligent door lock control methods, device and computer Readable storage medium storing program for executing.
Background technique
With 4G network, local area network, smart home it is universal, intelligent house ornamentation gradually enters into the public visual field, intelligence Door lock is increasingly becoming the new selection of consumer.Since intelligent door lock is not only convenient and efficient, but also security performance is high, more and more Family start select intelligent door lock, safety of the people to intelligent door lock, convenience, diversification, intelligent interlinking etc. Propose new demand.Current intelligent door lock unlocking mode include swipe the card, the modes such as password, fingerprint and cell phone application, When meeting unlocking condition, triggering electronics, which is unlocked, is ordered, and is driven motor internal rotation to put into gear, is driven while user's depression of handle Mechanical part completes primary unlock.After the completion of primary unlock, gear is recalled, and the state that can not be unlocked is restored to.
But it is a series of because technology is not mature enough, quality defect, standard are irregular, many and diverse redundancy of function, design are hasty etc. Problem, and the essence of door lock is had ignored, care and the user experience of hommization are had ignored, causes user experience poor.For example, opening Overlong time is locked, trial and error number is more etc..
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of intelligent door lock control method, device and computer-readable storage mediums Matter, it is intended to solve not convenient enough the technical problem of intelligent door lock unlocking process.
To achieve the above object, the present invention provides a kind of intelligent door lock control method, the intelligent door lock control method packet Include following steps:
When detecting human body close to intelligent door lock, into operating mode;
Scan the wireless network signal in preset range, it is determined whether scanning to the authentication list being stored in intelligent door lock In user name;
When determining scanning to user name in the authentication list, it is corresponding that the user name is obtained according to scanning result Identification information is matched with the identification information stored in authentication list, executes unlocking operation when matching consistent.
Preferably, described when detecting human body close to intelligent door lock, include into the step of operating mode:
Human body is detected by infrared sensor, when detecting human body, determines that the human body is proximate to or far from intelligence Door lock;
When determining the human body close to intelligent door lock, enter operating mode from energy-saving mode.
Preferably, described that human body is detected by infrared sensor, when detecting human body, determine that the human body is proximate to also It is to include far from the step of intelligent door lock:
Human body is detected by infrared sensor, when detecting human body, obtains wireless network signal;
Determine that human body is proximate to or far from intelligent door lock according to the variation trends of the wireless network signal.
Preferably, the method also includes:
When determining the human body far from intelligent door lock, current energy-saving mode is maintained.
Preferably, described when detecting human body close to intelligent door lock, the step of into operating mode before, the method Further include:
Initialize installation is carried out to intelligent door lock;
Authentication list is updated, by the user name of legal unlocking person and identification information storage in authentication list;
Preferably, described the step of carrying out Initialize installation to intelligent door lock, includes:
After intelligent door lock energization, the intelligent door lock is initialized as client mode;
The received signal strength indication value of intelligent door lock is set.
Preferably, the wireless network signal in the scanning preset range, it is determined whether scanning is to being stored in intelligent door lock In authentication list in user name the step of include:
The wireless network signal in preset range is scanned, determines whether the signal strength of the wireless network signal is greater than institute State the received signal strength indication value of intelligent door lock;
It is greater than the volume received signal strength indicator of the intelligent door lock in the signal strength for determining the wireless network signal When value, authentication list is obtained, it is determined whether scanning to the user name being stored in authentication list.
Preferably, the method also includes:
Receive reset instruction when, empty the information in authentication list, restore Initialize installation.
In addition, to achieve the above object, the present invention also provides a kind of intelligent door lock control device, the intelligent door lock control Device includes:Memory, processor and it is stored in the intelligent door lock control that can be run on the memory and on the processor Processing procedure sequence, the intelligent door lock control program realize intelligent door lock control as described in any one of the above embodiments when being executed by the processor The step of method processed.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium Intelligent door lock control program is stored on storage medium, the intelligent door lock control program is realized when being executed by processor as above-mentioned The step of described in any item intelligent door lock control methods.
The present invention program, by when detecting human body close to intelligent door lock, into operating mode;Then default model is scanned Enclose interior wireless network signal, it is determined whether scanning to the user name being stored in the authentication list in intelligent door lock;Exist later When determining scanning to user name in the authentication list, the corresponding identification information of the user name is obtained according to scanning result, It is matched with the identification information stored in authentication list, executes unlocking operation when matching consistent;This method removes intelligent door from Lock needs to input password, swipes the card, inputs fingerprint or the step cumbersome using the complexity such as cell phone application when unlocking, only by certification The mobile phone crossed can in the auto-unlocking in intelligent door lock a certain range, user can by directly by squeeze grip etc. in a manner of It opens the door and enters room, improve the convenience of intelligent door lock operation, help to improve user experience.
Detailed description of the invention
Fig. 1 is the knot of the affiliated terminal of intelligent door lock control device in hardware running environment that the embodiment of the present invention is related to Structure schematic diagram;
Fig. 2 is the flow diagram in intelligent door lock control method first embodiment of the present invention;
Fig. 3 be intelligent door lock control method second embodiment of the present invention in when detecting human body close to intelligent door lock, into The refinement flow diagram for the step of entering operating mode;
Fig. 4 is to determine scanning to the use in the authentication list in stereo garage control method 3rd embodiment of the present invention When name in an account book, the corresponding identification information of the user name is obtained according to scanning result, with the identification information that is stored in authentication list into Row matching executes the refinement flow diagram of the step of unlocking operation when matching consistent;
Fig. 5 is the flow diagram in stereo garage control method fourth embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, the affiliated terminal structure of device that Fig. 1 is the hardware running environment that the embodiment of the present invention is related to shows It is intended to.
The terminal of that embodiment of the invention can be PC, be also possible to smart phone, tablet computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound Frequency level 3) the packaged type terminal device having a display function such as player, portable computer.
As shown in Figure 1, the terminal may include:Processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically, light Sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can according to the light and shade of ambient light come The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.As One kind of motion sensor, gravity accelerometer can detect the size of (generally three axis) acceleration in all directions, quiet Size and the direction that can detect that gravity when only, the application that can be used to identify mobile terminal posture are (such as horizontal/vertical screen switching, related Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor are set, details are not described herein.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe that module, Subscriber Interface Module SIM and intelligent door lock control program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor 1001 can be used for that the intelligent door lock stored in memory 1005 is called to control program.
In the present embodiment, intelligent door lock control device includes:Memory 1005, processor 1001 and it is stored in described deposit On reservoir 1005 and can be run on the processor 1001 intelligent door lock control program, wherein processor 1001 calling deposit When the intelligent door lock control program stored in reservoir 1005, and execute following operation:
When detecting human body close to intelligent door lock, into operating mode;
Scan the wireless network signal in preset range, it is determined whether scanning to the authentication list being stored in intelligent door lock In user name;
When determining scanning to user name in the authentication list, it is corresponding that the user name is obtained according to scanning result Identification information is matched with the identification information stored in authentication list, executes unlocking operation when matching consistent.
Further, processor 1001 can call the network operation stored in memory 1005 to control program, also execute It operates below:
Human body is detected by infrared sensor, when detecting human body, determines that the human body is proximate to or far from intelligence Door lock;
When determining the human body close to intelligent door lock, enter operating mode from energy-saving mode.
Further, processor 1001 can call the network operation stored in memory 1005 to control program, also execute It operates below:
Human body is detected by infrared sensor, when detecting human body, obtains wireless network signal;
Determine that human body is proximate to or far from intelligent door lock according to the variation trends of the wireless network signal.
Further, processor 1001 can call the network operation stored in memory 1005 to control program, also execute It operates below:
When determining the human body far from intelligent door lock, current energy-saving mode is maintained.
Further, processor 1001 can call the network operation stored in memory 1005 to control program, also execute It operates below:
Initialize installation is carried out to intelligent door lock;
Authentication list is updated, by the user name of legal unlocking person and identification information storage in authentication list;
Further, processor 1001 can call the network operation stored in memory 1005 to control program, also execute It operates below:
After intelligent door lock energization, the intelligent door lock is initialized as client mode;
The received signal strength indication value of intelligent door lock is set.
Further, processor 1001 can call the network operation stored in memory 1005 to control program, also execute It operates below:
The wireless network signal in preset range is scanned, determines whether the signal strength of the wireless network signal is greater than institute State the received signal strength indication value of intelligent door lock;
It is greater than the volume received signal strength indicator of the intelligent door lock in the signal strength for determining the wireless network signal When value, authentication list is obtained, it is determined whether scanning to the user name being stored in authentication list.
Further, processor 1001 can call the network operation stored in memory 1005 to control program, also execute It operates below:
Receive reset instruction when, empty the information in authentication list, restore Initialize installation.
First embodiment of the invention provides a kind of intelligent door lock control method, is intelligent door lock of the present invention referring to Fig. 2, Fig. 2 The flow diagram of control method first embodiment, the intelligent door lock control method include:
Step S10, when detecting human body close to intelligent door lock, into operating mode;
Human body is detected by infrared sensor, when detecting human body, determines that the human body is proximate to or far from intelligence Door lock;When determining the human body close to intelligent door lock, enter operating mode from energy-saving mode.Energy-saving mode and operating mode are Two kinds of different working conditions of intelligent door lock, the intelligent door lock in energy-saving mode can close partial function, for example, to around without The scanning function of line network signal, only retain detection human body whether close to intelligent door lock infrared detection function, and be in work The intelligent door lock of mode start institute it is functional, not only include infrared detection function and wireless network signal scanning function, also All kinds of function worked normally for guaranteeing intelligent door lock such as the update of acquisition and authentication list including user name and identification information Energy.
After intelligent door lock energization, that is, after intelligent door lock starting, matched infrared sensing device, infrared sensing Device, that is, infrared sensing device is mounted on intelligent door lock exterior circumferential, that is, the outside of door, has one or more.Infrared biography Induction device is the infrared ray that is radiated using human body as test object, reaches the skill that user is detected within the scope of certain distance Art purpose.Human body has constant body temperature, generally at 37 degree, so the infrared ray of specific wavelength 10UM or so can be issued, at present The technology of infrared sensing device have been relatively mature, and can be chosen on the market according to actual needs by technical staff and meet this hair The infrared sensor devices of bright requirement, and can also customize as desired, to better adapt to the requirement of intelligent door lock. For example, passive type infrared probe is exactly to detect the infrared ray of 10UM of human-body emitting or so and work.Human-body emitting The infrared ray of 10UM or so gathers in infrared induction source after being enhanced by optical filter.Infrared induction source generallys use pyroelectricity member Part, this element will lose charge balance when receiving human infrared radiation temperature and changing, discharge charge outward, after Continuous circuit can trigger switch movement after detection processing.When someone's access switch induction range, infrared sensor is detected The variation of human body infrared spectrum, switch turn on automatically load, people will be continuously turned on without departing from induction range, switch;After people leaves Or load is automatically closed in the attonity in induction region, switch time delay.
In the present embodiment, the mobile terminals such as the mobile phone that user holds are in softap mode, and in such a mode, mobile phone can To issue wireless signal as hot spot, the WiFi module of intelligent door lock is in client mode, can make client end and receive wirelessly Signal, and obtain the correlated identities information of wireless signal.Determine human body whether close to or far from intelligent door lock, it is different Mode two kinds of stronger modes of operability are provided, any one is selected in the present embodiment.First way is also , when infrared sensor detects human body, user further can be determined according to the principle of infrared distance measurement by infrared sensor It is close to door lock or far from door lock.The trend for the AP change in signal strength that the second way, which is door lock, to be issued according to mobile phone come Determine that user is door lock to be also proximate to, when AP signal is more and more stronger far from door lock, it is believed that be user close to door Lock, when determining the human body close to intelligent door lock, enters operating mode from energy-saving mode.Conversely, when AP signal is more and more weaker When, it is believed that it is user far from door lock.When determining the human body far from intelligent door lock, current energy saving mould is maintained Formula.
Step S20 scans the wireless network signal in preset range, it is determined whether scanning is to being stored in intelligent door lock User name in authentication list;
Wireless network signal may include WiFi and Bluetooth signal.When detecting that human body when close to intelligent door lock, issues Signal prompt intelligent door lock enters operating mode, and the intelligent door lock in operating mode can continue the WiFi heat around scanning Point, it is determined whether the hot spot that can scan specific names is identified of information when there is the hot spot of specific names Match.For Bluetooth signal, bluetooth communication must carry out between a pair of of equipment, and need to guarantee the bluetooth of two equipment Module is in normal work, and in the present embodiment, it is specified that intelligent door lock is main equipment, mobile terminal is from equipment.Intelligent door Specific user information is stored in advance in lock in authentication list, when scanning is to from the Bluetooth signal of equipment, obtains the bluetooth The user information of signal, and be compared with the user information in authentication list, when comparing consistent, it is determined for compliance with unlocking and wants It asks, and executes unlocking operation.
The range of signal that intelligent door lock can scan, that is, preset range depend on intelligent door lock setting, mainly by Received signal strength indicator RSSI (Received Signal Strength Indication) is determined.RSSI is signal strength An indicated value, transmit wirelessly the optional part of layer, for determining link quality, and whether increase broadcast transmission intensity. Since RSSI technology can measure signaling point at a distance from receiving point by the signal strength or weakness received, and then according to corresponding data A kind of location technology for carrying out location Calculation, is pushed away according to this feature is counter, available to obtain corresponding movement by RSSI The distance of equipment.That is, this wireless signal can be passed through when receiving the wireless signal of mobile device transmission RSSI come the position for obtaining mobile device and the mobile device at a distance from current receiving point.
Authentication list can voluntarily be changed by the user or technical staff for possessing associated rights, intelligent door lock factory after or Before first use, needs to enter by interface authentication list modification interface, add or delete delegatable user.If needed Authorized user is added, user and the identification information of relative users terminal, identification information packet are just added in authentication list Include service set SSID (Service Set Identifier) and MAC (Media Access Control or Medium Access Control) address.
Step S30 obtains the user according to scanning result when determining scanning to user name in the authentication list The corresponding identification information of name, is matched with the identification information stored in authentication list, executes unlocking operation when matching consistent.
When determining scanning to user name in the authentication list, determine whether the user name belongs to blacklist column Table;When determining that the user name is not belonging to blacklist list, the corresponding identification information of the user name is obtained, with authentication list The identification information of middle storage is matched, and executes unlocking operation when matching consistent, wherein the identification information includes MAC Location and SSID.
MAC Address, free translation are media access control, or are physical address, hardware address, for defining the network equipment Position.In osi model, third layer network layer is responsible for IP address, and second layer data link layer is then responsible for MAC Address.Therefore one A host has a MAC Address, and each network site has the IP address for being specific to it.MAC Address is that network interface card is determined Fixed, it is fixed.For mobile phone, MAC Address is also fixation, each mobile phone terminal has unique MAC Address.
SSID is the abbreviation of Service Set Identifier, is meant:Service set.SSID technology can be by one A WLAN is divided into several sub-networks for needing different identity to verify, each sub-network requires independent identity and tests Card only can just enter corresponding sub-network by the user of authentication, prevent unauthorized user from entering present networks. SSID is used to distinguish different networks, can have up to 32 characters, wireless network card, which is provided with different SSID, to be entered Heterogeneous networks, SSID are usually broadcast out by AP, can check the SSID in current region by the scanning function that XP is carried.Out In security consideration can not Broadcast SSIDs, SSID, which will be arranged by hand, just in user at this time can enter corresponding network.Briefly, SSID is exactly the title of a local area network, and the computer for being only set as the value of the identical SSID of title can just communicate with each other.
Further, in one embodiment, the method also includes:
Receive reset instruction when, empty the information in authentication list, restore Initialize installation.
The information that instructs and can be used for emptying in authentication list is reseted, and the information in authentication list is once emptied, it is former User in first authentication list will be unable to enter room by the method for the invention, that is, the side of the certification by wireless network Formula.Restore Initialize installation namely to refer to, for authentication list, restores setting when factory, do not retain any user and recognize Demonstrate,prove information, or the only information of retention management person.
The intelligent door lock control method proposed in the present embodiment, by detect human body close to when, into operating mode; Then the bluetooth or WiFi network signal in preset range are scanned, it is determined whether user name of the scanning into authentication list;Later When determining scanning to user name in the authentication list, the corresponding identification information of the user name is obtained, with authentication list The identification information of middle storage is matched, and executes unlocking operation when matching consistent;This method, which is removed from when intelligent door lock is unlocked, to be needed Password is inputted, swipes the card, input fingerprint or the step cumbersome using the complexity such as cell phone application, just only by the mobile phone authenticated Can in the auto-unlocking in intelligent door lock a certain range, user can by directly by squeeze grip etc. in a manner of open the door into room Between, the convenience of intelligent door lock operation is improved, user experience is helped to improve.
Based on first embodiment, the second embodiment of intelligent door lock control method of the present invention is proposed, referring to Fig. 3, step S10 Including:
Step S11 detects human body by infrared sensor and determines that the human body is proximate to still when detecting human body Far from intelligent door lock;
Step S12 enters operating mode from energy-saving mode when determining the human body close to intelligent door lock.
Human body is detected by infrared sensor, when detecting human body, obtains bluetooth or WiFi network signal;According to described Bluetooth or the variation trends of WiFi network signal determine that human body is proximate to or far from intelligent door lock.
After intelligent door lock energization, that is, after intelligent door lock starting, matched infrared sensing device, infrared sensing Device, that is, infrared sensing device is mounted on intelligent door lock exterior circumferential, that is, the outside of door, has one or more.Infrared biography Induction device is the infrared ray that is radiated using human body as test object, reaches the skill that user is detected within the scope of certain distance Art purpose.Infrared induction source generallys use pyroelectricity element, and this element changes receiving human infrared radiation temperature When will lose charge balance, discharge charge outward, subsequent conditioning circuit can trigger switch movement after detection processing.When someone into When entering inductive switching range, infrared sensor detects the variation of human body infrared spectrum, switch turn on automatically load, people without departing from Induction range, switch will be continuously turned on;After people leaves or load is automatically closed in the attonity in induction region, switch time delay.
In the present embodiment, mobile phone is in softap mode, and in such a mode, mobile phone can be used as hot spot and issue wireless communication Number, the WiFi module of intelligent door lock is in client mode, can make client end and receive wireless signal, and obtain wireless signal Correlated identities information.Determine that human body whether in close or separate intelligent door lock, there is different modes, in the present embodiment, Two kinds of stronger modes of operability are provided, any one is selected.First way can also by infrared sensor, When infrared sensor detects human body, further determine that user is close to door lock or far from door according to the principle of infrared distance measurement Lock.The second way is the trend for the AP change in signal strength that door lock is issued according to mobile phone to determine that user is far from door lock, also It is proximate to door lock, when AP signal is more and more stronger, it is believed that be user close to door lock, determining that the human body is close When intelligent door lock, enter operating mode from energy-saving mode.Conversely, when AP signal is more and more weaker, it is believed that be user Far from door lock.When determining the human body far from intelligent door lock, current energy-saving mode is maintained.
By infrared sensor detect user when, when detecting user close to intelligent door lock, further detect user with The distance of intelligent door lock.User is being determined when close to intelligent door lock, acquisition pre-determined distance determines the intelligent door lock and user Between detecting distance whether be less than pre-determined distance.The ranging basic principle of infrared sensor is that luminous tube issues infrared light, Photosensitive receiving tube receives objects in front reflected light, judges the front whether have barrier accordingly.It can be sentenced according to the power of transmitting light The distance of disconnected object, its principle are that the received light intensity of reception pipe changes with the distance of reflection object, and distance closely then reflects Light intensity, the remote then reflected light of distance are weak.For security reasons, when being less than pre-determined distance at a distance from intelligent door lock as user, The operation of verifying identification information and user name that intelligent door lock performs the next step again;Conversely, when user is at a distance from intelligent door lock When greater than pre-determined distance, the state currently lockked is kept, and constantly detection user is at a distance from intelligent door lock, it is default until being less than Distance or until can't detect human body.
Further, in one embodiment, the method also includes:
When determining the human body far from intelligent door lock, current energy-saving mode is maintained.
Intelligent door lock in energy-saving mode in addition to infrared sensor work normally other than, other modules in a dormant state, Once receiving the instruction of infrared sensor, just start to work.
The intelligent door lock control method proposed in the present embodiment detects human body by infrared sensor, is detecting human body When, obtain bluetooth or WiFi network signal;Then people is determined according to the variation trends of the bluetooth or WiFi network signal Body is proximate to or far from intelligent door lock;Later when determining the human body close to intelligent door lock, enter work from energy-saving mode Mode;Realize energy-efficient effect, can human body close to when enter operating mode, nearby nobody when enter energy-saving mode, Only retain infrared sensor working, the effectively save energy.
Based on first embodiment, the 3rd embodiment of intelligent door lock control method of the present invention is proposed, referring to Fig. 4, step S30 Including:
It is black to determine whether the user name belongs to when determining scanning to user name in the authentication list by step S31 List list;
Step S32 obtains the corresponding mark letter of the user name when determining that the user name is not belonging to blacklist list Breath, is matched with the identification information stored in authentication list, executes unlocking operation when matching consistent, wherein the mark Information includes physical address and service set.
Physical address is MAC Address, service set SSID.
When infrared sensor detects human body when close to intelligent door lock, sending signal prompt intelligent door lock enters Working mould Formula, the intelligent door lock in operating mode can continue the Wi-Fi hotspot around scanning, it is determined whether can scan specific name The hot spot of word is identified the matching of information when there is the hot spot of specific names.
The range of signal that intelligent door lock can scan, that is, preset range depend on intelligent door lock setting, mainly by Received signal strength indicator RSSI (Received Signal Strength Indication) is determined.RSSI is signal strength An indicated value, transmit wirelessly the optional part of layer, for determining link quality, and whether increase broadcast transmission intensity. Signaling point is measured at a distance from receiving point by the signal strength or weakness received, and then carries out the one of location Calculation according to corresponding data Kind location technology.
Authentication list can voluntarily be changed by the user or technical staff for possessing associated rights, intelligent door lock factory after or Before first use, needs to enter by interface authentication list modification interface, add or delete delegatable user.If needed Authorized user is added, user and the identification information of relative users terminal, identification information packet are just added in authentication list Include service set SSID (Service Set Identifier) and MAC (Media Access Control or Medium Access Control) address.
When determining scanning to user name in the authentication list, determine whether the user name belongs to blacklist column Table;When determining that the user name is not belonging to blacklist list, the corresponding identification information of the user name is obtained, with authentication list The identification information of middle storage is matched, and executes unlocking operation when matching consistent, wherein the identification information includes MAC Location and SSID.
MAC Address, free translation are media access control, or are physical address, hardware address, for defining the network equipment Position.In osi model, third layer network layer is responsible for IP address, and second layer data link layer is then responsible for MAC Address.Therefore one A host has a MAC Address, and each network site has the IP address for being specific to it.MAC Address is that network interface card is determined Fixed, it is fixed.For mobile phone, MAC Address is also fixation, each mobile phone terminal has unique MAC Address.
SSID is the abbreviation of Service Set Identifier, is meant:Service set.SSID technology can be by one A WLAN is divided into several sub-networks for needing different identity to verify, each sub-network requires independent identity and tests Card only can just enter corresponding sub-network by the user of authentication, prevent unauthorized user from entering present networks. SSID is used to distinguish different networks, can have up to 32 characters, wireless network card, which is provided with different SSID, to be entered Heterogeneous networks, SSID are usually broadcast out by AP, can check the SSID in current region by the scanning function that XP is carried.Out In security consideration can not Broadcast SSIDs, SSID, which will be arranged by hand, just in user at this time can enter corresponding network.Briefly, SSID is exactly the title of a local area network, and the computer for being only set as the value of the identical SSID of title can just communicate with each other.
The intelligent door lock control method proposed in the present embodiment, by determining scanning to the user in the authentication list When name, determine whether the user name belongs to blacklist list;Then when determining that the user name is not belonging to blacklist list, The corresponding identification information of the user name is obtained, is matched with the identification information stored in authentication list, when matching consistent Execute unlocking operation, wherein the identification information includes MAC Address and SSID;Guarantee to open in time for the user having permission Door, realizes the securely unlocking of intelligent door lock.
Based on first embodiment, the fourth embodiment of intelligent door lock control method of the present invention is proposed, referring to Fig. 5, step S10 Before, the method also includes:
Step S40 carries out Initialize installation to intelligent door lock;
Step S50 updates authentication list, by the user name of legal unlocking person and identification information storage in authentication list;
Include to the step of intelligent door lock progress Initialize installation:After intelligent door lock energization, by the intelligent door lock It is initialized as Client mode;The RSSI of intelligent door lock is set.RSSI i.e. received signal strength indication value.
The mobile phone of user necessarily is in softap mode, this is the ap mode suitable for mobile terminal, that is, is wirelessly connect Enter dot pattern, wireless signal can be launched, Soft ap mode is a kind of by wireless network card, using special-purpose software on PC Realize the technology of AP function, it can replace the AP (Access Point, wireless access point) in wireless network, to can reduce The cost of wireless networking.Namely the nothings of computer, mobile phone or other equipments for surfing the net can be allowed using carrier as wireless access point Gauze is connected on carrier, is then surfed the Internet by the network of carrier (GPRS or 3G).For example, the mobile phone hot spot usually used is just It is the technology that softap mode is utilized, the flow of itself can be shared.
WiFi module in intelligent door lock is in Client mode, and user mobile phone is in ap mode, if mobile phone enters The range of signal of door lock wifi can then obtain the ssid and mac of mobile phone wifi AP, and then compare locally, if Authenticated list, then auto-unlocking.If not unlocking then.The signal strength that intelligent door lock gets AP can be set (RSSI) go control mobile phone at a distance from intelligent door lock.
The intelligent door lock control method proposed in the present embodiment, by carrying out Initialize installation to intelligent door lock;Then more New authentication list, by the user name of legal unlocking person and identification information storage in authentication list;Realize the certification of user.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with intelligent door lock control program, intelligent door lock control program realizes following operation when being executed by processor:
When detecting human body close to intelligent door lock, into operating mode;
Scan the wireless network signal in preset range, it is determined whether scanning to the authentication list being stored in intelligent door lock In user name;
When determining scanning to user name in the authentication list, it is corresponding that the user name is obtained according to scanning result Identification information is matched with the identification information stored in authentication list, executes unlocking operation when matching consistent.
Further, following operation is also realized when the intelligent door lock control program is executed by processor:
Human body is detected by infrared sensor, when detecting human body, determines that the human body is proximate to or far from intelligence Door lock;
When determining the human body close to intelligent door lock, enter operating mode from energy-saving mode.
Further, following operation is also realized when the intelligent door lock control program is executed by processor:
Human body is detected by infrared sensor, when detecting human body, obtains wireless network signal;
Determine that human body is proximate to or far from intelligent door lock according to the variation trends of the wireless network signal.
Further, following operation is also realized when the intelligent door lock control program is executed by processor:
When determining the human body far from intelligent door lock, current energy-saving mode is maintained.
Further, following operation is also realized when the intelligent door lock control program is executed by processor:
Initialize installation is carried out to intelligent door lock;
Authentication list is updated, by the user name of legal unlocking person and identification information storage in authentication list;
Further, following operation is also realized when the intelligent door lock control program is executed by processor:
After intelligent door lock energization, the intelligent door lock is initialized as client mode;
The received signal strength indication value of intelligent door lock is set.
Further, following operation is also realized when the intelligent door lock control program is executed by processor:
The wireless network signal in preset range is scanned, determines whether the signal strength of the wireless network signal is greater than institute State the received signal strength indication value of intelligent door lock;
It is greater than the volume received signal strength indicator of the intelligent door lock in the signal strength for determining the wireless network signal When value, authentication list is obtained, it is determined whether scanning to the user name being stored in authentication list.
Further, following operation is also realized when the intelligent door lock control program is executed by processor:
Receive reset instruction when, empty the information in authentication list, restore Initialize installation.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of intelligent door lock control method, which is characterized in that the intelligent door lock control method includes the following steps:
When detecting human body close to intelligent door lock, into operating mode;
Scan the wireless network signal in preset range, it is determined whether scanning is to being stored in the authentication list in intelligent door lock User name;
When determining scanning to user name in the authentication list, the corresponding mark of the user name is obtained according to scanning result Information is matched with the identification information stored in authentication list, executes unlocking operation when matching consistent.
2. intelligent door lock control method as described in claim 1, which is characterized in that described to detect human body close to intelligent door When lock, include into the step of operating mode:
Human body is detected by infrared sensor, when detecting human body, determines that the human body is proximate to or far from intelligent door lock;
When determining the human body close to intelligent door lock, enter operating mode from energy-saving mode.
3. intelligent door lock control method as described in claim 1, which is characterized in that described to detect people by infrared sensor Body determines that the human body is proximate to or includes far from the step of intelligent door lock when detecting human body:
Human body is detected by infrared sensor, when detecting human body, obtains wireless network signal;
Determine that human body is proximate to or far from intelligent door lock according to the variation trends of the wireless network signal.
4. intelligent door lock control method as claimed in claim 2, which is characterized in that the method also includes:
When determining the human body far from intelligent door lock, current energy-saving mode is maintained.
5. intelligent door lock control method as described in claim 1, which is characterized in that described to detect human body close to intelligent door When lock, the step of into operating mode before, the method also includes:
Initialize installation is carried out to intelligent door lock;
Authentication list is updated, by the user name of legal unlocking person and identification information storage in authentication list.
6. intelligent door lock control method as claimed in claim 5, which is characterized in that it is described to intelligent door lock carry out initialization set The step of setting include:
After intelligent door lock energization, the intelligent door lock is initialized as client mode;
The received signal strength indication value of intelligent door lock is set.
7. intelligent door lock control method as claimed in claim 6, which is characterized in that the wireless network in the scanning preset range Network signal, it is determined whether scanning includes to the step of user name being stored in the authentication list in intelligent door lock:
The wireless network signal in preset range is scanned, determines whether the signal strength of the wireless network signal is greater than the intelligence The received signal strength indication value of energy door lock;
When the signal strength for determining the wireless network signal is greater than the volume received signal strength indication value of the intelligent door lock, Obtain authentication list, it is determined whether scanning to the user name being stored in authentication list.
8. intelligent door lock control method as claimed in claim 5, which is characterized in that the method also includes:
Receive reset instruction when, empty the information in authentication list, restore Initialize installation.
9. a kind of intelligent door lock control device, which is characterized in that the intelligent door lock control device includes:Memory, processor And it is stored in the intelligent door lock control program that can be run on the memory and on the processor, the intelligent door lock control It realizes when program is executed by the processor such as the step of intelligent door lock control method described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with intelligent door on the computer readable storage medium Lock control program, the intelligent door lock control program are realized when being executed by processor as described in any item of the claim 1 to 8 The step of intelligent door lock control method.
CN201810797376.8A 2018-07-19 2018-07-19 Intelligent door lock control method, device and computer readable storage medium Pending CN108922000A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810797376.8A CN108922000A (en) 2018-07-19 2018-07-19 Intelligent door lock control method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810797376.8A CN108922000A (en) 2018-07-19 2018-07-19 Intelligent door lock control method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108922000A true CN108922000A (en) 2018-11-30

Family

ID=64415181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810797376.8A Pending CN108922000A (en) 2018-07-19 2018-07-19 Intelligent door lock control method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108922000A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110056285A (en) * 2019-03-25 2019-07-26 路越 Mobile phone hot spot is controlled without lockhole safety cabinet
CN110415411A (en) * 2019-07-29 2019-11-05 北京新海汇仓储有限公司 The method of securely unlocking
CN111047741A (en) * 2019-12-06 2020-04-21 西安广源机电技术有限公司 Unlocking method of intelligent lock
CN111192399A (en) * 2020-03-21 2020-05-22 罗丞 Unit entrance guard's device based on GPRS
CN111986351A (en) * 2020-07-24 2020-11-24 联合汽车电子有限公司 Intelligent key positioning method and system
CN112446985A (en) * 2019-08-14 2021-03-05 云丁网络技术(北京)有限公司 Intelligent door lock unlocking method and device
CN113132962A (en) * 2019-04-16 2021-07-16 华为技术有限公司 Bluetooth scanning method and electronic equipment
CN113808313A (en) * 2021-08-16 2021-12-17 茂名粤云信息技术有限公司 Access control method of intelligent access control system with epidemic situation prevention and control function
CN114399854A (en) * 2021-12-30 2022-04-26 荣耀终端有限公司 Unlocking method of intelligent door lock, mobile device and storage medium
EP3936688A4 (en) * 2019-03-08 2022-11-30 Connectfree Corporation Gate opening method and door unlocking method using portable terminal network address
US11538298B2 (en) 2019-08-06 2022-12-27 Yunding Network Technology (Beijing) Co., Ltd. Devices and methods for controlling smart lock

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104134253A (en) * 2014-05-15 2014-11-05 西南科技大学 Entrance guard system and entrance guard opening method
US20150102902A1 (en) * 2013-10-16 2015-04-16 Jie-Fu Chen Bluetooth Remote-Control Electronic Lock
CN105118128A (en) * 2015-09-18 2015-12-02 广东工业大学 Bluetooth entrance guard system and Bluetooth entrance guard method thereof
CN105590363A (en) * 2016-02-29 2016-05-18 云丁网络技术(北京)有限公司 Method for unlocking intelligent door lock based on distance change induction and intelligent door lock system thereof
CN105654584A (en) * 2015-12-24 2016-06-08 歌尔声学股份有限公司 Access control monitoring method and system thereof
CN106204817A (en) * 2016-06-24 2016-12-07 福建求实智能股份有限公司 A kind of control method of control of bluetooth access
CN106780901A (en) * 2016-12-27 2017-05-31 李天瑜 A kind of intelligent door lock system and its application based on mobile phone MAC Address
CN107578519A (en) * 2017-10-24 2018-01-12 北京樱桃智心科技有限公司 A kind of intelligent access control system and intelligent entrance guard method for unlocking
CN207051990U (en) * 2017-02-24 2018-02-27 广东林盟科技有限公司 Gate control system
CN108205836A (en) * 2017-12-21 2018-06-26 广东汇泰龙科技有限公司 A kind of the smart home interlock method and system of the infrared human body sensing based on cloud lock
CN207558061U (en) * 2017-10-21 2018-06-29 深圳宇联高新科技有限公司 A kind of intelligent door lock system based on recognition of face

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150102902A1 (en) * 2013-10-16 2015-04-16 Jie-Fu Chen Bluetooth Remote-Control Electronic Lock
CN104134253A (en) * 2014-05-15 2014-11-05 西南科技大学 Entrance guard system and entrance guard opening method
CN105118128A (en) * 2015-09-18 2015-12-02 广东工业大学 Bluetooth entrance guard system and Bluetooth entrance guard method thereof
CN105654584A (en) * 2015-12-24 2016-06-08 歌尔声学股份有限公司 Access control monitoring method and system thereof
CN105590363A (en) * 2016-02-29 2016-05-18 云丁网络技术(北京)有限公司 Method for unlocking intelligent door lock based on distance change induction and intelligent door lock system thereof
CN106204817A (en) * 2016-06-24 2016-12-07 福建求实智能股份有限公司 A kind of control method of control of bluetooth access
CN106780901A (en) * 2016-12-27 2017-05-31 李天瑜 A kind of intelligent door lock system and its application based on mobile phone MAC Address
CN207051990U (en) * 2017-02-24 2018-02-27 广东林盟科技有限公司 Gate control system
CN207558061U (en) * 2017-10-21 2018-06-29 深圳宇联高新科技有限公司 A kind of intelligent door lock system based on recognition of face
CN107578519A (en) * 2017-10-24 2018-01-12 北京樱桃智心科技有限公司 A kind of intelligent access control system and intelligent entrance guard method for unlocking
CN108205836A (en) * 2017-12-21 2018-06-26 广东汇泰龙科技有限公司 A kind of the smart home interlock method and system of the infrared human body sensing based on cloud lock

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3936688A4 (en) * 2019-03-08 2022-11-30 Connectfree Corporation Gate opening method and door unlocking method using portable terminal network address
CN110056285A (en) * 2019-03-25 2019-07-26 路越 Mobile phone hot spot is controlled without lockhole safety cabinet
CN113132962A (en) * 2019-04-16 2021-07-16 华为技术有限公司 Bluetooth scanning method and electronic equipment
CN115580854A (en) * 2019-04-16 2023-01-06 华为技术有限公司 Bluetooth scanning method and electronic equipment
CN115580854B (en) * 2019-04-16 2023-08-04 华为技术有限公司 Bluetooth scanning method and electronic equipment
US11849376B2 (en) 2019-04-16 2023-12-19 Huawei Technologies Co., Ltd. Bluetooth scanning method and electronic device
CN110415411A (en) * 2019-07-29 2019-11-05 北京新海汇仓储有限公司 The method of securely unlocking
US11538298B2 (en) 2019-08-06 2022-12-27 Yunding Network Technology (Beijing) Co., Ltd. Devices and methods for controlling smart lock
US11823510B2 (en) 2019-08-06 2023-11-21 Yunding Network Technology (Beijing) Co., Ltd. Devices and methods for controlling smart lock
CN112446985A (en) * 2019-08-14 2021-03-05 云丁网络技术(北京)有限公司 Intelligent door lock unlocking method and device
CN111047741A (en) * 2019-12-06 2020-04-21 西安广源机电技术有限公司 Unlocking method of intelligent lock
CN111192399A (en) * 2020-03-21 2020-05-22 罗丞 Unit entrance guard's device based on GPRS
CN111986351A (en) * 2020-07-24 2020-11-24 联合汽车电子有限公司 Intelligent key positioning method and system
CN113808313A (en) * 2021-08-16 2021-12-17 茂名粤云信息技术有限公司 Access control method of intelligent access control system with epidemic situation prevention and control function
CN114399854A (en) * 2021-12-30 2022-04-26 荣耀终端有限公司 Unlocking method of intelligent door lock, mobile device and storage medium

Similar Documents

Publication Publication Date Title
CN108922000A (en) Intelligent door lock control method, device and computer readable storage medium
US11038879B2 (en) Identity authentication method and apparatus, and user equipment
CN110430557B (en) Method, device and system for accessing equipment to network, electronic equipment and storage medium
KR101833965B1 (en) Distributing biometric authentication between devices in an ad hoc network
US9183683B2 (en) Method and system for access to secure resources
WO2017148082A1 (en) Device access controlling method, and related device and system
EP3644203B1 (en) Unlocking control method and related product
CN108683996B (en) Equipment searching method, terminal and computer readable storage medium
KR101692993B1 (en) Smart doorlock
CN108920080B (en) Fingerprint scanning method, mobile terminal and storage medium
CN109618316B (en) Network sharing method, mobile terminal and storage medium
CN106274807A (en) Automobile intelligent control method based on mobile terminal and device
CN107146332A (en) The control method and device of the vehicles
CN107451450B (en) Biometric identification method and related product
CN107704182B (en) Code scanning method and mobile terminal
CN109937583A (en) The method and terminal of data sharing
CN104102451B (en) A kind of information processing method and electronic equipment
CN108156537B (en) Remote operation method of mobile terminal and mobile terminal
CN109670287A (en) Intelligent terminal unlocking method, intelligent terminal and computer readable storage medium
CN108513010B (en) Terminal unlocking method, terminal and computer readable storage medium
CN107480495B (en) Unlocking method of mobile terminal and related product
CN106940770A (en) A kind of screen locking method, device and terminal
CN108600492B (en) Screen unlocking method and terminal
CN107889112B (en) A kind of recognition methods of pseudo-base station and mobile terminal
CN107135498B (en) File sharing method and equipment

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201230

Address after: 9 / F, building D4, international e city, 1001 Zhongshan Garden Road, Xili street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN TCL NEW TECHNOLOGY Co.,Ltd.

Address before: 516001, 6th Floor, TCL Building, No. 6, Eling South Road, Huizhou City, Guangdong Province

Applicant before: HUIZHOU TCL HOME APPLIANCE GROUP Co.,Ltd.

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181130