CN108335384A - A kind of unlocking method, system, readable storage medium storing program for executing and smart lock - Google Patents

A kind of unlocking method, system, readable storage medium storing program for executing and smart lock Download PDF

Info

Publication number
CN108335384A
CN108335384A CN201810010438.6A CN201810010438A CN108335384A CN 108335384 A CN108335384 A CN 108335384A CN 201810010438 A CN201810010438 A CN 201810010438A CN 108335384 A CN108335384 A CN 108335384A
Authority
CN
China
Prior art keywords
image
smart lock
administrator
unlocking
authentication image
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
CN201810010438.6A
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.)
Shantou University
Original Assignee
Shantou University
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 Shantou University filed Critical Shantou University
Priority to CN201810010438.6A priority Critical patent/CN108335384A/en
Publication of CN108335384A publication Critical patent/CN108335384A/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/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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

A kind of unlocking method of present invention offer, system, readable storage medium storing program for executing and smart lock, the smart lock are electrically connected a camera, and the unlocking method includes:The image for waiting for unlocking person of the camera shooting is obtained, and waits for that the predeterminable area in the image of unlocking person is sent to administrator as authentication image, and by the authentication image described in interception;The reference picture that the administrator sends is obtained, and intercepts the predeterminable area in the reference picture as template image;Judge whether the authentication image is consistent with the template image;If so, unlock instruction is sent to executing agency, so that the smart lock unlocks.Unlocking method, system, readable storage medium storing program for executing in the present invention and smart lock, can realize long-range to waiting for that unlocking person unlocks, and user opens the door without oneself running home to people, other people are told without by password, intelligence degree height, and experience sense is good.

Description

A kind of unlocking method, system, readable storage medium storing program for executing and smart lock
Technical field
The present invention relates to smart lock field more particularly to a kind of unlocking method, system, readable storage medium storing program for executing and smart locks.
Background technology
Lock is all required security protection articles for use of every household, with the continuous improvement of people's living standards, house is constantly being built If so that every annual requirement of lock is also increasingly increasing.Smart lock is derived recently as the continuous promotion of smart home A kind of electronic product gone out, smart lock not only only have lockset effect, it also has the identity status for showing successful personage Effect.
And in the prior art, smart lock used at present be typically only capable to using the fingerprint of typing, setting password or Physical key is unlocked, and intelligence degree is low, has problems in that, when the non-third party authorized in advance visits, and it is proper It when administrator stays out, while being not desired to again in the case of telling password to other people, there are the troubles of unlock, and are protected for password Close needs, it is difficult to tell password to the third party, and need also frequently to replace password, extremely inconvenient, experience sense is poor.
Invention content
Technical problem to be solved of the embodiment of the present invention is, provides a kind of unlocking method, system, readable storage medium storing program for executing And smart lock.Can be safely that the unauthorized third party is unlocked temporarily.
In order to solve the above-mentioned technical problem, an embodiment of the present invention provides a kind of unlocking methods, are applied to smart lock, described Smart lock is electrically connected a camera, and the unlocking method includes:
The image for waiting for unlocking person of the camera shooting is obtained, and waits for the preset areas in the image of unlocking person described in interception Domain is sent to administrator as authentication image, and by the authentication image;
The reference picture that the administrator sends is obtained, and intercepts the predeterminable area in the reference picture as mould Plate image;
Judge whether the authentication image is consistent with the template image;
If so, unlock instruction is sent to executing agency, so that the smart lock unlocks.
In addition, a kind of unlocking method according to the above embodiment of the present invention, can also have following additional technical characteristic:
Further, the described the step of authentication image is sent to administrator, includes:
According to the management weight sequence from big to small of all administrators recorded in registration form, sequentially to each institute It states administrator and sends the authentication image, and often send the authentication image to an administrator and judge in preset time The response of current administrator inside whether is received, the registration form is stored in the memory of the smart lock;
If so, executing described the step of obtaining the reference picture that the administrator sends;
If it is not, then sending the authentication image to next administrator.
Further, after described the step of sending unlock instruction to executing agency, further include:
Send whether store asking for instructions for the template image to the administrator;
When receiving the not store instruction that the administrator assigns, the template image is deleted;
When receiving the store instruction that the administrator assigns, the template image is stored in depositing for the smart lock In reservoir.
Further, waited for described in the interception the step of predeterminable area in the image of unlocking person is as authentication image it Afterwards, further include:
Judge whether the authentication image is consistent with the storage image being locally stored, the storage image is storage described in Template image in the memory of smart lock;
If so, executing described the step of sending unlock instruction to executing agency;
If it is not, then executing the described the step of authentication image is sent to administrator.
Further, the predeterminable area is human face region.
Further, after described the step of sending unlock instruction to executing agency, further include:
The unlocked prompt of the smart lock is sent to the administrator;
The authentication image and current unlocked time are deposited into correspondingly in unlock record storehouse, the unlock note Library is recorded to be set in the memory of the smart lock.
Further, the smart lock is electrically connected a pyroelectric sensor, and waiting for for the camera shooting is obtained described Before the step of image of unlocking person, further include:
When receiving the high level signal that the pyroelectric sensor is sent, the camera is waken up, so that described take the photograph As head waits for that unlocking person is taken pictures to described.
A kind of system for unlocking according to the ... of the embodiment of the present invention is applied to smart lock, and the smart lock is electrically connected a camera, The system for unlocking includes:
Verification processing module, the image for waiting for unlocking person for obtaining the camera shooting, and wait unlocking described in interception Predeterminable area in the image of people is sent to administrator as authentication image, and by the authentication image;
Template processing module, the reference picture sent for obtaining the administrator, and intercept in the reference picture The predeterminable area is as template image;
Image judgment module, for judging whether the authentication image is consistent with the template image;
Instruction sending module, for when determine the authentication image it is consistent with the template image when, to executing agency Unlock instruction is sent, so that the smart lock unlocks.
The present invention also proposes a kind of computer readable storage medium, is stored thereon with computer program, which is handled Such as above-mentioned unlocking method is realized when device executes.
The present invention also proposes a kind of smart lock, including memory, processor and storage on a memory and can handled The computer program run on device, the smart lock are electrically connected a camera and a pyroelectric sensor, and the processor executes Such as above-mentioned unlocking method is realized when described program.
Above-mentioned unlocking method, system, computer readable storage medium and smart lock, when relatives and friends or part-timer visit When, shooting is waited for the image of unlocking person and is sent to smart lock by the camera, and the smart lock will wait for unlocking person described The predeterminable area (such as human face region) of image intercepted, and the authentication image of interception is sent to administrator (user), managed Reason person although it is understood that current someone visits according to authentication image, and also be able to determine whether to need to waiting out according to authentication image Lock people's unlock, needed unlocking person to when unlocks when determining, administrator only need on hand to possess oneself it is former be stored to wait for The image of unlocking person is used as with reference to image feedback to the smart lock, and the smart lock will intercept the corresponding area in reference picture Domain is matched with authentication image, if being matched to consistent, unlock instruction is sent to executing agency, so that the smart lock solution Lock.Therefore, the unlocking method, system, computer readable storage medium and smart lock can be realized long-range to waiting for unlocking person It unlocks, user opens the door without oneself running home to people, other people are told without by password, and intelligence degree is high, and experience sense is good.
Description of the drawings
Fig. 1 is the flow chart of the unlocking method in first embodiment of the invention;
Fig. 2 is the flow chart of the unlocking method in second embodiment of the invention;
Fig. 3 is the flow chart of the unlocking method in third embodiment of the invention;
Fig. 4 is the structural schematic diagram of the system for unlocking in fourth embodiment of the invention.
Wherein, 11:Verification processing module, 12:Template processing module, 13:Image judgment module, 14:Instruction sending module, 111:Transmission unit, 112:Processing unit, 15:Storage reminding module, 16:Image-erasing module, 17:Image storage module, 18: Image judgment module, 19:Unlock reminding module, 20:Information storage module, 21:Wake-up module, 1:Camera, 2:Pyroelectricity passes Sensor, 100:Processor, 200:Memory, 300:Computer program, 40:Executing agency, 50:Input unit, 60:Power supply.
Specific implementation mode
To facilitate the understanding of the present invention, below with reference to relevant drawings to invention is more fully described.In attached drawing Give several embodiments of the present invention.But the present invention can realize in many different forms, however it is not limited to this paper institutes The embodiment of description.On the contrary, purpose of providing these embodiments is make it is more thorough and comprehensive to the disclosure.
It should be noted that when element is referred to as " being fixedly arranged on " another element, it can be directly on another element Or there may also be elements placed in the middle.When an element is considered as " connection " another element, it can be directly connected to To another element or it may be simultaneously present centering elements.Term as used herein " vertical ", " horizontal ", " left side ", " right side " and similar statement are for illustrative purposes only.
Unless otherwise defined, all of technologies and scientific terms used here by the article and belong to the technical field of the present invention The normally understood meaning of technical staff is identical.Used term is intended merely to description tool in the description of the invention herein The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term " and or " used herein includes one or more phases Any and all combinations of the Listed Items of pass.
Referring to Fig. 1, showing the unlocking method in first embodiment of the invention, it is applied to smart lock, the smart lock It is electrically connected a camera, the unlocking method includes step S01 to step S04.
Step S01, obtains the image for waiting for unlocking person of the camera shooting, and is waited for described in interception in the image of unlocking person Predeterminable area be sent to administrator as authentication image, and by the authentication image.
Wherein, the predeterminable area can be that face may be used so that when intercepting the authentication image in human face region Identification technology (being identified according to the characteristics of face pixel value) come from interception human face region in the image for waiting for unlocking person come As authentication image.
In the specific implementation, the camera can arrange in pairs or groups corresponding sensor to use, i.e., in sensor sensing to waiting for When unlocking person, the camera, which just starts, to be treated unlocking person and takes pictures.In addition, the camera can be arranged in door body, It can also be integrated on the smart lock.Preferably, the camera uses wide-angle lens, it is ensured that comprehensive can treat open Lock people takes pictures.
It should be noted that the administrator is the user for possessing the smart lock, it is in specific implementation, it can be described The APP for managing the smart lock is loaded on the terminal device (such as mobile phone, tablet, intelligent wearable device) of administrator, it is described to test Card image can be sent directly on the APP.
Step S02 obtains the reference picture that the administrator sends, and intercepts the preset areas in the reference picture Domain is as template image.
It should be understood that the administrator is after receiving the authentication image, you can recognize that current someone (waits out Lock people) it visits, and also can clearly determine the need for, to unlocking person unlock is waited for, being waited for when determining according to the authentication image When unlocking person unlocks, the administrator then needs to send the reference picture to the smart lock, therefore the step S02 is institute Administrator is stated to determine to the movement for waiting for unlocking person unlock.
In the specific implementation, the administrator can upload to the reference picture on above-mentioned APP, then again to described Smart lock is sent.
It should be pointed out that the reference picture be the administrator oneself possess on hand it is former be stored to wait for unlocking person Image.For example, when the unlocking artificially uncle of oneself, it is only necessary to look for uncle before one in oneself picture of mobile telephone library Image (image needs to include face), is then sent to the smart lock.It is waited out if the administrator does not possess oneself on hand It when locking the corresponding picture of people, can ask for, can also shift to an earlier date to waiting for that unlocking person asks for unlocking person is waited for.
Step S03 judges whether the authentication image is consistent with the template image.
It should be understood that face matching technique may be used to realize the step S03, individual element point can also be used The method of pixel value is compared to realize the step S03.
Wherein, consistent with the template image when determining the authentication image, representative meets unlocking condition, then executes institute Step S04 is stated, when determining the authentication image and the template image is inconsistent, represents authentication failed, it can be to the pipe Reason person sends out prompt, so that the administrator sends reference picture and comes again, continues to match.
Step S04 sends unlock instruction to executing agency, so that the smart lock unlocks.
Wherein, the executing agency is the lock core of the smart lock, for realizing smart lock unlock or locking Mechanical actuating mechanism.The mechanical structure of the smart lock is changed since the invention content of the present invention is not directed to, The executing agency can continue to use the executing agency of existing smart lock.
To sum up, the unlocking method in the above embodiment of the present invention, when relatives and friends or part-timer visit, the camera shooting Shooting is waited for the image of unlocking person and is sent to smart lock by head, and the smart lock will be the default of the image for waiting for unlocking person Region (such as human face region) is intercepted, and the authentication image of interception is sent to administrator (user), and administrator is according to verification Image i.e. although it is understood that current someone visits, and according to authentication image also be able to determine whether need to wait for unlocking person unlock, when It determines and needs unlocking person to when unlocks, administrator only needs the former image for waiting for unlocking person being stored to for possessing oneself on hand The smart lock, the smart lock is given to come in the corresponding region intercepted in reference picture and proof diagram as with reference to image feedback As being matched, if being matched to unanimously, unlock instruction is sent to executing agency, so that the smart lock unlocks.Therefore, described Unlocking method, system, computer readable storage medium and smart lock can realize long-range to waiting for that unlocking person unlocks, Yong Huwu It needs oneself to run home and open the door to people, other people are told without by password, intelligence degree is high, and experience sense is good.
Referring to Fig. 2, showing the unlocking method in second embodiment of the invention, it is applied to smart lock, the smart lock It is electrically connected a camera and a pyroelectric sensor, the unlocking method includes step S11 to step S19.
Step S11 wakes up the camera when receiving the high level signal that the pyroelectric sensor is sent, with Make the camera treat unlocking person to take pictures.
Wherein, pyroelectric sensor is also known as PIR (PyroelectricInfrared, rpyroelectric infrared) sensor, is A kind of passive type infrared detector based on pyroelectric effect principle, it is capable of detecting when the mobile infra-red radiation in search coverage The detection of mobile human body is realized in source.When pyroelectric sensor recognized in itself search coverage someone close to when, represent personnel It needs to open the smart lock, high level signal will be induced, and send to the smart lock, and otherwise induce low level letter Number.
In the specific implementation, the pyroelectric sensor can be arranged in door body, can also be integrated in the smart lock On.
Step S12, obtains the image for waiting for unlocking person of the camera shooting, and the figure of unlocking person is waited for described in interception Human face region as in is as authentication image.
In in this implementation, using human face region as image interception region, so that subsequent comparison is face comparison, Precision is more accurate.In other embodiments, described image interception area can also be that can represent the other of characteristics of human body Region.
Step S13 judges whether the authentication image is consistent with the storage image being locally stored.
It should be pointed out that the storage image is the template image in storage to the memory of the smart lock.
Wherein, when the storage image for determining the authentication image Yu being locally stored is inconsistent, S14 is thened follow the steps, When the storage image for determining the authentication image with being locally stored is consistent, representative meets unlocking condition, thens follow the steps S18。
Step S14, according to the management weight sequence from big to small of all administrators recorded in registration form, sequentially The authentication image is sent to each administrator, and often sends the authentication image to an administrator and judges Whether the response of current administrator is received in preset time.
Wherein, the registration form is stored in the memory of the smart lock.
In the specific implementation, possessing the information of multiple administrators (such as family of three) of the smart lock can be entered into In the smart lock, and the management weight of each administrator can be set to the smart lock.
Wherein, when determining the response for not receiving current administrator in preset time, S15 is thened follow the steps, when When determining the response for receiving current administrator in preset time, then step S16 to step S17 is executed successively.
Step S15 sends the authentication image to next administrator.
It should be understood that by the way that the transmission mechanism as described in the step S14 is arranged so that the smart lock is sent every time It when the authentication image, can be sent first to the maximum administrator of management weight, if the maximum administrator's communication of management weight Abnormal (such as mobile phone shutdown, failed cluster), when leading to the dont answer in preset time, the administrator that takes second place again from trend administrative power The authentication image is sent, and so on, it is ensured that in individual management person's communication abnormality, other administrators can remotely be waited out Lock people's unlock.
Step S16 obtains the reference picture that the administrator sends, and intercepts the work of the human face region in the reference picture For template image.
Step S17 judges whether the authentication image is consistent with the template image.
Wherein, when determine the authentication image it is consistent with the template image when, then execute step S18 successively to walking Rapid S19.
Step S18 sends unlock instruction to executing agency, so that the smart lock unlocks.
Step S19 sends the unlocked prompt of the smart lock to the administrator, and by the authentication image and works as Preceding unlocked time is deposited into correspondingly in unlock record storehouse.
It should be pointed out that the administrator mentioned in the step S19 is the administrator for sending the reference picture.
It should be understood that unlock can report the smart lock to the administrator every time, so that the administrator Understand in time, while also preserving the authentication image and current unlocked time, to keep uncaging time and unlocking person Information, convenient for follow-up investigation.
Referring to Fig. 3, showing the unlocking method in third embodiment of the invention, it is applied to smart lock, the smart lock It is electrically connected a camera and a pyroelectric sensor, the unlocking method includes step S21 to step S32.
Step S21 wakes up the camera when receiving the high level signal that the pyroelectric sensor is sent, with Make the camera treat unlocking person to take pictures.
Step S22, obtains the image for waiting for unlocking person of the camera shooting, and the figure of unlocking person is waited for described in interception Human face region as in is as authentication image.
Step S23 judges whether the authentication image is consistent with the storage image being locally stored,
It should be pointed out that the storage image is the template image in storage to the memory of the smart lock.
Wherein, when the storage image for determining the authentication image Yu being locally stored is inconsistent, S24 is thened follow the steps, When the storage image for determining the authentication image Yu being locally stored is inconsistent, S25 is thened follow the steps,
Step S24, according to the management weight sequence from big to small of all administrators recorded in registration form, sequentially The authentication image is sent to each administrator, and often sends the authentication image to an administrator and judges Whether the response of current administrator is received in preset time.
It should be pointed out that the registration form is stored in the memory of the smart lock.
Wherein, when determining the response for not receiving current administrator in preset time, S25 is thened follow the steps, when When determining the response for receiving current administrator in preset time, then step S26 to step S27 is executed successively.
Step S25 sends the authentication image to next administrator.
Step S26 obtains the reference picture that the administrator sends, and intercepts the work of the human face region in the reference picture For template image.
Step S27 judges whether the authentication image is consistent with the template image.
Wherein, when determine the authentication image it is consistent with the template image when, then execute step S28 successively to walking Rapid S31.
Step S28 sends unlock instruction to executing agency, so that the smart lock unlocks.
Step S29 sends whether store asking for instructions for the template image to the administrator.
Step S30 receives the instruction that the administrator assigns, and judges whether the instruction received is store instruction.
Wherein, when it is store instruction to determine the instruction received, step S31 is thened follow the steps, is received when determining When the instruction arrived is not store instruction, step S32 is thened follow the steps.
Step S31 deletes the template image.
The template image is stored in the memory of the smart lock by step S32.
If it should be understood that when the image that the administrator feels the need to be sent to preserves, the intelligence Lock will preserve the template image, when it is follow-up this when unlocking person again come when unlocking, can when program goes to the step S23 To unlock the smart lock, unlocked time is shortened.
Another aspect of the present invention also provides a kind of system for unlocking, please refers to Fig. 4, described in fourth embodiment of the invention System for unlocking is applied to smart lock, and shown smart lock is electrically connected a camera 1, and the system for unlocking includes:
Verification processing module 11, the image for waiting for unlocking person for obtaining the shooting of the camera 1, and waited out described in interception The predeterminable area locked in the image of people is sent to administrator as authentication image, and by the authentication image;
Template processing module 12, the reference picture sent for obtaining the administrator, and intercept in the reference picture The predeterminable area as template image;
Image judgment module 13, for judging whether the authentication image is consistent with the template image;
Instruction sending module 14, for when determine the authentication image it is consistent with the template image when, to execute machine Structure sends unlock instruction, so that the smart lock unlocks.
Further, the verification processing module 11 includes:
Transmission unit 111, according to the management weight sequence from big to small of all administrators recorded in registration form, The authentication image sequentially is sent to each administrator, and often sends the authentication image to an administrator and sentences Break and whether receive the response of current administrator in preset time, the memory that the registration form is stored in the smart lock is worked as In;
Processing unit 112, for when determining the response for not receiving current administrator in preset time, to next A administrator sends the authentication image.
When determining the response for receiving current administrator in preset time, the template processing module 12 obtains The reference picture that the administrator sends.
Further, the system for unlocking includes:
Reminding module 15 is stored, for sending whether store asking for instructions for the template image to the administrator;
Image-erasing module 16, for when receiving the not store instruction that the administrator assigns, by the Prototype drawing As deleting;
Image storage module 17, for when receiving the store instruction that the administrator assigns, by the template image It is stored in the memory of the smart lock.
Further, the system for unlocking further includes:
Image judgment module 18, for after the verification processing module 11 is truncated to the authentication image, described in judgement Whether authentication image is consistent with the storage image being locally stored, and the storage image is that the memory of storage to the smart lock is worked as In template image;
When the storage image for determining the authentication image with being locally stored is consistent, then described instruction sends mould to execution Mechanism sends unlock instruction, so that the smart lock unlocks;
When the storage image for determining the authentication image Yu being locally stored is inconsistent, then the verification processing module 11 The authentication image is sent to administrator.
Further, the predeterminable area is human face region.
Further, the system for unlocking further includes:
Reminding module 19 is unlocked, for after sending unlock instruction to the executing agency, institute to be sent to the administrator State the unlocked prompt of smart lock.
Information storage module 20, for the authentication image and current unlocked time to be deposited into unlock note correspondingly It records in library, the unlock record storehouse is set in the memory of the smart lock.
Further, the smart lock is electrically connected a pyroelectric sensor 300, and the system for unlocking further includes:
Wake-up module 21, for when receiving the high level signal of the transmission of the pyroelectric sensor 30, described in wake-up Camera 1, so that the camera 1 waits for that unlocking person is taken pictures to described.
The present invention also proposes a kind of computer readable storage medium, is stored thereon with computer program, which is handled Such as above-mentioned unlocking method is realized when device executes.
The present invention also proposes a kind of smart lock, the smart lock in fifth embodiment of the invention, the smart lock electrical connection One camera 1 and a pyroelectric sensor 2, the smart lock include memory 200, processor 100 and are stored in memory Computer program 300 that is upper and can running on a processor, the processor 100 are realized when executing described program 300 as above-mentioned Unlocking method.
In addition, the smart lock further includes executing agency 40, input unit 50 and power supply 60.The executing agency 40 is institute The lock core of smart lock is stated, can be the lock core of existing smart lock for carrying out locking or unlock to the smart lock.It is described defeated It can be the fingerprint storehouse for inputting fingerprint for user to enter device 50, can also the promising touch for inputting unlocking pin for user Screen or numeric keypad.The power supply 60 then provides power supply for the terminal device.
It will be understood by those skilled in the art that in flow charts indicate or logic described otherwise above herein and/or Step may be embodied in and appoint for example, being considered the order list of the executable instruction for realizing logic function In what computer-readable medium, for instruction execution system, device or equipment (such as computer based system including processor System or other can be from instruction execution system, device or equipment instruction fetch and the system executed instruction) use, or combine this A little instruction execution systems, device or equipment and use.For the purpose of this specification, " computer-readable medium " can be it is any can be with Including, store, communicate, propagate, or transport program for instruction execution system, device or equipment or combine these instruction execution systems System, device or equipment and the device used.
The more specific example (non-exhaustive list) of computer-readable medium includes following:It is connected up with one or more Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of row technology or combination thereof are realized:With the logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiments or example in can be combined in any suitable manner.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously Cannot the limitation to the scope of the claims of the present invention therefore be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of unlocking method is applied to smart lock, the smart lock is electrically connected a camera, and the unlocking method includes:
The image for waiting for unlocking person of the camera shooting is obtained, and waits for that the predeterminable area in the image of unlocking person is made described in interception For authentication image, and the authentication image is sent to administrator;
The reference picture that the administrator sends is obtained, and intercepts the predeterminable area in the reference picture as Prototype drawing Picture;
Judge whether the authentication image is consistent with the template image;
If so, unlock instruction is sent to executing agency, so that the smart lock unlocks.
2. unlocking method according to claim 1, which is characterized in that described that the authentication image is sent to administrator's Step includes:
According to the management weight sequence from big to small of all administrators recorded in registration form, sequentially to each pipe Reason person sends the authentication image, and often to an administrator sends the authentication image and judge and be in preset time The no response for receiving current administrator, the registration form are stored in the memory of the smart lock;
If so, executing described the step of obtaining the reference picture that the administrator sends;
If it is not, then sending the authentication image to next administrator.
3. unlocking method according to claim 2, which is characterized in that in the step for sending unlock instruction to executing agency After rapid, further include:
Send whether store asking for instructions for the template image to the administrator;
When receiving the not store instruction that the administrator assigns, the template image is deleted;
When receiving the store instruction that the administrator assigns, the template image is stored in the memory of the smart lock In the middle.
4. unlocking method according to claim 3, which is characterized in that waited for described in the interception in the image of unlocking person After the step of predeterminable area is as authentication image, further include:
Judge whether the authentication image is consistent with the storage image being locally stored, the storage image is that the intelligence is arrived in storage Template image in the memory of lock;
If so, executing described the step of sending unlock instruction to executing agency;
If it is not, then executing the described the step of authentication image is sent to administrator.
5. unlocking method according to claim 1, which is characterized in that described the step of sending unlock instruction to executing agency Later, further include:
The unlocked prompt of the smart lock is sent to the administrator;
The authentication image and current unlocked time are deposited into correspondingly in unlock record storehouse, the unlock record storehouse In the memory of the smart lock.
6. unlocking method according to claim 1, which is characterized in that the predeterminable area is human face region.
7. according to claim 1-6 any one of them unlocking methods, which is characterized in that the smart lock is electrically connected a pyroelectricity Sensor, the image for waiting for unlocking person for obtaining the camera shooting the step of before, further include:
When receiving the high level signal that the pyroelectric sensor is sent, the camera is waken up, so that the camera Wait for that unlocking person is taken pictures to described.
8. a kind of system for unlocking is applied to smart lock, which is characterized in that the smart lock is electrically connected a camera, the unlock System includes:
Verification processing module, the image for waiting for unlocking person for obtaining the camera shooting, and wait for unlocking person described in interception Predeterminable area in image is sent to administrator as authentication image, and by the authentication image;
Template processing module, the reference picture sent for obtaining the administrator, and intercept described in the reference picture Predeterminable area is as template image;
Image judgment module, for judging whether the authentication image is consistent with the template image;
Instruction sending module, for when determine the authentication image it is consistent with the template image when, to executing agency send Unlock instruction, so that the smart lock unlocks.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The method as described in claim 1-7 is any is realized when row.
10. a kind of smart lock, including memory, processor and storage are on a memory and the calculating that can run on a processor Machine program, which is characterized in that the smart lock is electrically connected a camera and a pyroelectric sensor, described in the processor executes The method as described in claim 1-7 is any is realized when program.
CN201810010438.6A 2018-01-05 2018-01-05 A kind of unlocking method, system, readable storage medium storing program for executing and smart lock Pending CN108335384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810010438.6A CN108335384A (en) 2018-01-05 2018-01-05 A kind of unlocking method, system, readable storage medium storing program for executing and smart lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810010438.6A CN108335384A (en) 2018-01-05 2018-01-05 A kind of unlocking method, system, readable storage medium storing program for executing and smart lock

Publications (1)

Publication Number Publication Date
CN108335384A true CN108335384A (en) 2018-07-27

Family

ID=62924892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810010438.6A Pending CN108335384A (en) 2018-01-05 2018-01-05 A kind of unlocking method, system, readable storage medium storing program for executing and smart lock

Country Status (1)

Country Link
CN (1) CN108335384A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080095336A (en) * 2007-04-24 2008-10-29 구홍식 Identifing device and door lock device having the same
US20080317294A1 (en) * 2007-06-21 2008-12-25 Yasunari Hashimoto Authentication apparatus, entry management apparatus, entry and exit management apparatus, entry management system, entry and exit management system, and processing methods and programs for these apparatuses and systems
CN101826226A (en) * 2010-04-30 2010-09-08 中山大学 Intelligent entrance guard control method and device
CN101894406A (en) * 2010-08-09 2010-11-24 惠州市华阳多媒体电子有限公司 Network access control system
CN102325309A (en) * 2011-09-16 2012-01-18 江苏省电力公司南通供电公司 Visualization switching operation management method
CN103280009A (en) * 2013-05-23 2013-09-04 中山市安领星电子科技有限公司 Multifunctional entrance guard device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080095336A (en) * 2007-04-24 2008-10-29 구홍식 Identifing device and door lock device having the same
US20080317294A1 (en) * 2007-06-21 2008-12-25 Yasunari Hashimoto Authentication apparatus, entry management apparatus, entry and exit management apparatus, entry management system, entry and exit management system, and processing methods and programs for these apparatuses and systems
CN101826226A (en) * 2010-04-30 2010-09-08 中山大学 Intelligent entrance guard control method and device
CN101894406A (en) * 2010-08-09 2010-11-24 惠州市华阳多媒体电子有限公司 Network access control system
CN102325309A (en) * 2011-09-16 2012-01-18 江苏省电力公司南通供电公司 Visualization switching operation management method
CN103280009A (en) * 2013-05-23 2013-09-04 中山市安领星电子科技有限公司 Multifunctional entrance guard device

Similar Documents

Publication Publication Date Title
EP3704642B1 (en) Methods and system for controlling access to enterprise resources based on tracking
CN104468179B (en) The method and control device executed by control device
KR100893905B1 (en) Method and system for managing entrance using biometrics
JP6155857B2 (en) Entrance / exit management device and entrance / exit management system
CN105931388A (en) Intelligent handover storage equipment, system and method
JP6081859B2 (en) Entrance / exit management system and entrance / exit management method
US20100088758A1 (en) Security system, security method and recording medium storing security program
KR101270941B1 (en) System and Method for authentication security using of user terminal
US20140320259A1 (en) Biometric security apparatus for access and control of a physical locking storage unit
US10909788B2 (en) Secure zone access control
JP4373314B2 (en) Authentication system using biometric information
US20220020235A1 (en) Blockchain-controlled and location-validated locking systems and methods
KR101602483B1 (en) System and method for opening and closing the lock device using the server and the terminal
Motwani et al. Multifactor door locking systems: A review
KR20080006702A (en) Custody box management system and method therefore
CN112714928A (en) Acceptance terminal machine
JP5777310B2 (en) Image security system and authentication method
US20200399929A1 (en) Multi-party physical access controls
CN108335384A (en) A kind of unlocking method, system, readable storage medium storing program for executing and smart lock
JP7450569B2 (en) Visitor management system and visitor management method
JP7130493B2 (en) Management system and data center
KR20200127472A (en) Public Area Locking System Using a Finger Vein and Additional Certification Means and Controlling Method for the Same
TWM565736U (en) Biometric multi-function locker
TWM464755U (en) Infrared face recognition system
Derbali Toward Secure Door Lock System: Development IoT Smart Door Lock Device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180727