CN109284594A - A kind of smart machine screen locking control method and device based on Face datection - Google Patents
A kind of smart machine screen locking control method and device based on Face datection Download PDFInfo
- Publication number
- CN109284594A CN109284594A CN201811080093.8A CN201811080093A CN109284594A CN 109284594 A CN109284594 A CN 109284594A CN 201811080093 A CN201811080093 A CN 201811080093A CN 109284594 A CN109284594 A CN 109284594A
- Authority
- CN
- China
- Prior art keywords
- face
- smart machine
- video image
- screen locking
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
Abstract
The smart machine screen locking control method and device based on Face datection that the embodiment of the invention provides a kind of.The described method includes: obtaining the video image in front of the smart machine of the camera acquisition, and carry out recognition of face to the video image using face recognition technology when detecting that the smart machine is in the unlocked state;When not including face in the video image, the time of the video image will be acquired as initial time;Judge whether do not include face in the video image of the camera acquisition in the preset duration after the initial time;If it is, controlling the smart machine screen locking.This programme can be to avoid user in the case where forgetting screen locking, and user stores the case where relevant information is revealed on smart machine, improves the safety of stored information in smart machine.
Description
Technical field
The present invention relates to computer application technologies, more particularly to a kind of smart machine screen locking based on Face datection
Control method and device.
Background technique
It with the continuous universal of smart machine and updates, smart machine brings new experience to user, very much
User can protect the relevant information that user is stored on smart machine in the way of screen locking, and save the electricity of equipment.
But in practical applications, some inopportune operations of the user to smart machine will lead to user and be stored on the smart machine
Relevant information have certain disclosure risk.For example, when user be busy with suddenly a certain business or it is busy be gone for a season when, forget
Note carries out screen locking to smart machine, and when user is long to smart machine standby time set in advance, it will lead to
The relevant information that user is stored on smart machine has the risk of leakage, and the electricity of smart machine is made also to have certain damage
Consumption.
Therefore, for user in the case where forgetting screen locking, the related letter that user is stored on smart machine how is avoided
Breath leakage becomes a urgent problem to be solved.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of smart machine screen locking control method and dress based on Face datection
It sets, to avoid user in the case where forgetting screen locking, user stores the case where relevant information is revealed on smart machine, improves
The safety of stored information in smart machine.Specific technical solution is as follows:
In a first aspect, the embodiment of the invention provides a kind of smart machine screen locking control method based on Face datection, institute
It states on smart machine configured with camera, which comprises
When detecting that the smart machine is in the unlocked state, before the smart machine for obtaining the camera acquisition
The video image of side, and recognition of face is carried out to the video image using face recognition technology;
When not including face in the video image, the time of the video image will be acquired as initial time;
Whether not to judge in the preset duration after the initial time in the video image of camera acquisition
Include face;
If it is, controlling the smart machine screen locking.
Optionally, after carrying out recognition of face to the video image using face recognition technology, the method is also wrapped
It includes:
When in the video image including face, judge that the target faceform stored in the face and database is
No matching;
If it does not match, controlling the smart machine screen locking.
Optionally, after whether the target faceform stored in judging the face and database matches, the side
Method further include:
When the target face Model Matching for judging to store in the face and database, determine in the video image
The distance between face and the smart machine;
Judge whether the distance is greater than pre-determined distance threshold value;
If it is, controlling the smart machine screen locking.
Optionally, the method that storage target face model uses in the database is as follows:
When receiving the operational order of user's input, shooting obtains target faceform, and by the target face mould
Type is stored in database profession.
Optionally, the preset duration is the duration according to determined by screen locking duration set by user, the preset duration
Less than the screen locking duration;
Alternatively, the preset duration is duration set by user.
Second aspect, the embodiment of the invention also provides a kind of smart machine screen locking control device based on Face datection,
Camera is configured on the smart machine, described device includes:
Module is obtained, for when detecting that the smart machine is in the unlocked state, obtaining the camera acquisition
Video image in front of the smart machine, and recognition of face is carried out to the video image using face recognition technology;
First determining module, for when in the video image do not include face when, by acquire the video image when
Between be used as initial time;
First judgment module, for judging the view of the camera acquisition in the preset duration after the initial time
Whether face is not included in frequency image;
First screen lock module, in the preset duration after the first judgment module judges the initial time
When not including face in the video image of the camera acquisition, the smart machine screen locking is controlled.
Optionally, described device further include:
Second judgment module, for judging to deposit in the face and database when in the video image including face
Whether the target faceform of storage matches;
Second screen lock module, the target for judging to store in the face and database in second judgment module
When faceform mismatches, the smart machine screen locking is controlled.
Optionally, described device further include:
Second determining module, for when the target face Model Matching for judging to store in the face and database,
Determine the distance between face and the smart machine in the video image;
Third judgment module, for judging whether the distance is greater than pre-determined distance threshold value;
Third screen lock module, for the third judgment module judge the distance be greater than pre-determined distance threshold value when,
Control the smart machine screen locking.
Optionally, described device further include:
Memory module, for when receiving the operational order of user's input, shooting to obtain target faceform, and by institute
Target faceform is stated to be stored in database profession.
Optionally, the preset duration is the duration according to determined by screen locking duration set by user, the preset duration
Less than the screen locking duration;
Alternatively, the preset duration is duration set by user.
The third aspect, the embodiment of the invention also provides a kind of electronic equipment, including processor, communication interface, memory
And communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes that one kind described in above-mentioned first aspect is based on
The smart machine screen locking control method of Face datection.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium
Instruction is stored in storage media, when run on a computer, so that computer executes one kind described in above-mentioned first aspect
Smart machine screen locking control method based on Face datection.
5th aspect, the embodiment of the invention also provides a kind of computer program products comprising instruction, when it is being calculated
When being run on machine, so that computer executes a kind of smart machine screen locking control based on Face datection described in above-mentioned first aspect
Method.
A kind of smart machine screen locking control method and device based on Face datection provided in an embodiment of the present invention, are being detected
When in the unlocked state to smart machine, the video in front of the smart machine acquired by the camera of the smart machine is obtained
Image, then carries out recognition of face to video image using face recognition technology, when not including face in video image, will adopt
Collect video image time be used as initial time, judge at the beginning between after preset duration in camera video collected
Whether face is not included in image, if so, control smart machine screen locking.In the embodiment of the present invention, intelligent set is being detected
When standby in the unlocked state, do not include face in the video image in front of the smart machine of acquisition, and do not include face when
Between interval when reaching preset duration, illustrate that user has left the smart machine for a period of time and has forgotten screen locking, at this point, control
Smart machine screen locking avoids user in the case where forgetting screen locking, and user stores the feelings of relevant information leakage on smart machine
Condition occurs, and improves the safety of stored information in smart machine, may further save the electricity of smart machine.
Certainly, implement any of the products of the present invention or method it is not absolutely required at the same reach all the above excellent
Point.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of process of the smart machine screen locking control method based on Face datection provided in an embodiment of the present invention
Figure;
Fig. 2 is the process of another smart machine screen locking control method based on Face datection provided in an embodiment of the present invention
Figure;
Fig. 3 is the process of another smart machine screen locking control method based on Face datection provided in an embodiment of the present invention
Figure;
Fig. 4 is that a kind of structure of the smart machine screen locking control device based on Face datection provided in an embodiment of the present invention is shown
It is intended to;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In order to solve prior art problem, the smart machine screen locking based on Face datection that the embodiment of the invention provides a kind of
Control method and device, to avoid user in the case where forgetting screen locking, user stores relevant information leakage on smart machine
It happens, improves the safety of stored information in smart machine.
It is provided for the embodiments of the invention a kind of smart machine screen locking control method based on Face datection first below
It is introduced.
It should be noted that a kind of smart machine screen locking controlling party based on Face datection provided by the embodiment of the present invention
In method, which can be mobile phone, tablet computer, notebook or desktop computer configured with camera etc., certainly not office
It is limited to this.
As shown in FIG. 1, FIG. 1 is a kind of smart machine screen locking controlling parties based on Face datection provided in an embodiment of the present invention
The flow chart of method, this method may include steps of:
S101 obtains the view in front of the smart machine of camera acquisition when detecting that smart machine is in the unlocked state
Frequency image, and recognition of face is carried out to video image using face recognition technology.
During user uses smart machine, the video image comprising face can be detected in the front of smart machine, when
After user leaves smart machine, face is not just included in video image.When not including face in video image, illustrate use
The user of smart machine has been moved off smart machine, and has forgotten and carry out screen locking to smart machine, and then will lead to user and exist
The information stored in smart machine has the risk of leakage.
In the embodiment of the present invention, it can be set by the camera configured on smart machine, the intelligence for obtaining camera acquisition
The video image in standby front, and then recognition of face is carried out to acquired video image using face recognition technology, it is to determine
It is no to there is user to leave smart machine, and forget screen locking, when user leaves smart machine and forgets screen locking, control smart machine lock
Screen.
Specifically, when detecting that smart machine is in the unlocked state, smart machine can automatically turn on taking the photograph of being configured
As head, and obtains then face recognition technology is utilized by the video image in front of camera smart machine collected
Recognition of face is carried out to video image.When identifying in video image comprising face, then it is collected to repeat acquisition camera
Video image in front of the smart machine, and the step of recognition of face is carried out to video image using face recognition technology.
In practical applications, when detecting that smart machine is in the unlocked state, certain when long periodicity can be spaced
Obtain camera smart machine collected in front of video image, as soon as every acquisition video image, utilize face knowledge
Other technology carries out recognition of face to the video image.For the certain duration in above-mentioned interval, those skilled in the art can be according to reality
Border demand is configured, and this is not restricted by the present invention.Specifically, carrying out face knowledge to video image using face recognition technology
It not can refer to the realization of the prior art, therefore not to repeat here by the present invention.
S102 will acquire the time of video image as initial time when not including face in video image.
In the case where smart machine is in the unlocked state, when being identified in video image collected not using face recognition technology
When comprising face, the time of the video image not comprising face will be acquired as initial time.Smart machine is in solution
Under lock status, the time of first video image not comprising face acquired in the camera of the smart machine is as timing
Initial time.
S103, judgement at the beginning between after preset duration in camera acquisition video image in whether do not include
Face.
After obtaining initial time, smart machine can continue to obtain the video image of camera acquisition, and identify every
Whether open in video image includes face.And it is possible to judge that camera acquires in the preset duration after the initial time
Video image in whether do not include face.Optionally, which can be with are as follows: according to screen locking duration institute set by user
Determining duration, the preset duration are less than screen locking duration;Alternatively, the preset duration is duration set by user.
S104, if it is, control smart machine screen locking.
Face is not included in the video image that camera acquires in preset duration after between judging at the beginning
When, i.e., in the case where smart machine is in the unlocked state, first does not include the view of face acquired in the camera of the smart machine
Do not include face in preset duration after the time of frequency image in the camera of smart machine video image collected, says
Bright user has left smart machine during this period of time, and does not carry out screen locking to the smart machine, then controls the intelligence and set
It is standby to carry out screen locking.
In the embodiment of the present invention, when detecting that smart machine is in the unlocked state, in front of the smart machine of acquisition
Face is not included in video image, and the time interval for not including face illustrates that user has left the intelligence when reaching preset duration
Can equipment for a period of time and have forgotten screen locking, at this point, control smart machine screen locking, avoids user the case where forgetting screen locking
Under, user stores the case where relevant information is revealed on smart machine, the safety of stored information in smart machine is improved,
The electricity of smart machine may further be saved.
On the basis of embodiment shown in Fig. 1, as shown in Fig. 2, Fig. 2 is provided in an embodiment of the present invention another based on people
The flow chart of the smart machine screen locking control method of face detection, step S201-S204 in this method respectively with method shown in Fig. 1
In S101-S104 it is identical, the present invention therefore not to repeat here.
S205, if it is not, then judging whether the target faceform stored in face and database matches.
In preset duration after between judge at the beginning in the video image of camera acquisition comprising face when, can
There is user using smart machine to determine.But in some cases, when smart machine has been lost or is stolen, smart machine
Camera video image collected in be also able to detect that face, at this point, for the holder of smart machine, the intelligence
The information that the holder of energy equipment is stored in smart machine is unsafe.It therefore, can be further according in advance in intelligence
The target faceform stored in the database of energy equipment, to determine people included in the video image of camera acquisition
Face, if be the holder of smart machine, and then determine the user for using smart machine at present, to being stored in the smart machine
Information whether be safe.
Specifically, in the video image of camera acquisition including people in preset duration after between judging at the beginning
When face, it can further judge that the target faceform stored in face included in the video image of acquisition and database is
No matching.Specifically, the target faceform stored in face included in the video image of judgement acquisition and database is
No matched method, reference can be made to the realization of the prior art, therefore not to repeat here by the present invention.
Optionally, the method that storage target face model uses in the database can be such that
When receiving the operational order of user's input, shooting obtains target faceform, and target faceform is deposited
It is stored in database.
In practical applications, the operational order that can be inputted previously according to user, is taken the photograph using what is configured on smart machine
As head shoots to obtain target faceform, target faceform can be the holder of smart machine, or be able to use this
After obtaining target human face target, target faceform is stored in database profession by the permission person of smart machine, so as to making
Verification is carried out with the user of the smart machine to judge.
S206, if it does not match, control smart machine screen locking.
The target faceform stored in face and database included in the video image for judging acquisition is not
Match, i.e., appears in the user in front of smart machine at present and be not the holder of the smart machine, or be not to be able to use
The permission person of the smart machine then controls smart machine and carries out screen locking, to protect the holder of the smart machine or be able to use
The information security of the permission person of the smart machine.
In the embodiment of the present invention, deposited in the face and database that include in the video image in front of the smart machine of acquisition
When the target face unmatched models of storage, illustrate that the user appeared in front of smart machine at present is not the smart machine
Holder, or be not the permission person for being able to use the smart machine, smart machine screen locking is controlled at this time, is avoided user and is being forgotten
In the case where remembering screen locking, user stores the case where relevant information is revealed on smart machine, improves and is stored in smart machine
The safety of information may further save the electricity of smart machine.
On the basis of embodiment shown in Fig. 1, as shown in figure 3, Fig. 3 is provided in an embodiment of the present invention another based on people
The flow chart of the smart machine screen locking control method of face detection, step S301-S306 in this method respectively with method shown in Fig. 2
In S201-S206 it is identical, the present invention therefore not to repeat here.
S307, if it is judged that stored in face and database target face Model Matching when, it is determined that video image
The distance between middle face and smart machine.
When the target face Model Matching for judging to store in face and database, illustrate to appear in smart machine at present
The user in front is the holder of the smart machine, or is able to use the permission person of the smart machine.In practical application,
Under some cases, although the holder of smart machine or be able to use the smart machine permission person appear in smart machine before
, but there is a certain distance in side apart from smart machine, and when apart from smart machine farther out, the letter that user is stored in smart machine
Breath still has the risk of leakage.
In the embodiment of the present invention, when the target face Model Matching that can be stored in judging face and database, into
One step determines the distance between face and smart machine in video image.Specifically, determining that face is set with intelligence in video image
The method of distance between standby, reference can be made to the realization of the prior art, therefore not to repeat here by the present invention.
S308, judges whether distance is greater than pre-determined distance threshold value.
In determining video image face between smart machine at a distance from after, judge the distance whether be greater than it is default away from
From threshold value, that is, determine the holder for using the smart machine, or be able to use permission person and the smart machine of the smart machine
The distance between whether within the scope of safe distance, which is pre-determined distance threshold value.It, should in practical application
Pre-determined distance threshold value can be configured according to actual needs, and this is not restricted by the present invention.
S309, if it is, control smart machine screen locking.
As the determining holder for using the smart machine, or it is able to use permission person and the smart machine of the smart machine
The distance between be greater than pre-determined distance threshold value, not within the scope of safe distance when, illustrate the holder of the smart machine, or
Be able to use the smart machine permission person had been moved off smart machine safe distance within the scope of, and have forgotten screen locking,
It then controls smart machine and carries out screen locking.
In the embodiment of the present invention, deposited in the face and database that include in the video image in front of the smart machine of acquisition
The target face Model Matching of storage, and the distance between face and smart machine are greater than pre-determined distance threshold value in the video image
When, illustrate the holder of the smart machine, or be able to use the permission person of the smart machine and had been moved off smart machine peace
Within the scope of full distance, and screen locking is had forgotten, then controls smart machine and carry out screen locking, avoid user in the feelings for forgetting screen locking
Under condition, user stores the case where relevant information is revealed on smart machine, improves the safety of stored information in smart machine
Property, the electricity of smart machine may further be saved.
Corresponding to above method embodiment, the smart machine screen locking based on Face datection that the embodiment of the invention provides a kind of
Control device, as shown in figure 4, the apparatus may include:
Module 401 is obtained, for when detecting that the smart machine is in the unlocked state, obtaining the camera acquisition
The smart machine in front of video image, and using face recognition technology to the video image carry out recognition of face;
First determining module 402, for the video image will to be acquired when not including face in the video image
Time is as initial time;
First judgment module 403, for judging the camera acquisition in the preset duration after the initial time
Video image in whether do not include face;
First screen lock module 404, for default after the first judgment module 403 judges the initial time
When not including face in the video image of the camera acquisition in duration, the smart machine screen locking is controlled.
A kind of smart machine screen locking control device based on Face datection provided in an embodiment of the present invention, is detecting intelligence
When equipment is in the unlocked state, face is not included in the video image in front of the smart machine of acquisition, and do not include face
When time interval reaches preset duration, illustrate that user has left the smart machine for a period of time and has forgotten screen locking, at this point, control
Smart machine screen locking processed, avoids user in the case where forgetting screen locking, and user stores relevant information leakage on smart machine
It happens, improves the safety of stored information in smart machine, the electricity of smart machine may further be saved.
It should be noted that the device of the embodiment of the present invention is set with a kind of intelligence based on Face datection shown in FIG. 1
The standby corresponding device of screen locking control method, a kind of institute of the smart machine screen locking control method based on Face datection shown in FIG. 1
There is embodiment to be suitable for the device, and can reach identical beneficial effect.
Optionally, described device further include:
Second judgment module, for judging to deposit in the face and database when in the video image including face
Whether the target faceform of storage matches;
Second screen lock module, the target for judging to store in the face and database in second judgment module
When faceform mismatches, the smart machine screen locking is controlled.
Optionally, described device further include:
Second determining module, for when the target face Model Matching for judging to store in the face and database,
Determine the distance between face and the smart machine in the video image;
Third judgment module, for judging whether the distance is greater than pre-determined distance threshold value;
Third screen lock module, for the third judgment module judge the distance be greater than pre-determined distance threshold value when,
Control the smart machine screen locking.
Optionally, described device further include:
Memory module, for when receiving the operational order of user's input, shooting to obtain target faceform, and by institute
Target faceform is stated to be stored in database profession.
Optionally, the preset duration is the duration according to determined by screen locking duration set by user, the preset duration
Less than the screen locking duration;
Alternatively, the preset duration is duration set by user.
The embodiment of the invention also provides a kind of electronic equipment, as shown in figure 5, include processor 501, communication interface 502,
Memory 503 and communication bus 504, wherein processor 501, communication interface 502, memory 503 are complete by communication bus 504
At mutual communication,
Memory 503, for storing computer program;
Processor 501 when for executing the program stored on memory 503, is realized provided by the embodiment of the present invention
Method.
A kind of electronic equipment provided in an embodiment of the present invention works as acquisition when detecting that smart machine is in the unlocked state
Smart machine in front of video image in do not include face, and the time interval for not including face is said when reaching preset duration
Bright user has left the smart machine for a period of time and has forgotten screen locking, at this point, control smart machine screen locking, avoids user
In the case where forgetting screen locking, user stores the case where relevant information is revealed on smart machine, improves institute in smart machine
The safety for storing information, may further save the electricity of smart machine.
The communication bus 504 that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral
Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus 504 can be divided into address bus, data/address bus, control bus etc..For
Convenient for indicating, only indicated with a thick line in figure, it is not intended that an only bus or a type of bus.
Communication interface 502 is for the communication between above-mentioned electronic equipment and other equipment.
Memory 503 may include random access memory (Random Access Memory, RAM), also may include
Nonvolatile memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory
503 can also be that at least one is located remotely from the storage device of aforementioned processor.
Above-mentioned processor 501 can be general processor, including central processing unit (Central Processing
Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital
Signal Processing, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can
It reads to be stored with instruction in storage medium, when run on a computer, so that computer executes any institute in above-described embodiment
The smart machine screen locking control method based on Face datection stated, to obtain identical technical effect.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it
When running on computers, so that computer executes any smart machine lock based on Face datection in above-described embodiment
Shield control method, to obtain identical technical effect.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program
Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or
It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter
Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium
In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center
User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or
Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or
It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with
It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk
Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that
There is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device/
For electronic equipment embodiment, since it is substantially similar to the method embodiment, so be described relatively simple, related place referring to
The part of embodiment of the method illustrates.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of smart machine screen locking control method based on Face datection, which is characterized in that be configured on the smart machine
Camera, which comprises
When detecting that the smart machine is in the unlocked state, obtain in front of the smart machine that the camera acquires
Video image, and recognition of face is carried out to the video image using face recognition technology;
When not including face in the video image, the time of the video image will be acquired as initial time;
Judge whether do not include in the video image of the camera acquisition in the preset duration after the initial time
Face;
If it is, controlling the smart machine screen locking.
2. the method according to claim 1, wherein being carried out using face recognition technology to the video image
After recognition of face, the method also includes:
When in the video image including face, judge the target faceform stored in the face and database whether
Match;
If it does not match, controlling the smart machine screen locking.
3. according to the method described in claim 2, it is characterized in that, the target person stored in judging the face and database
After whether face model matches, the method also includes:
When the target face Model Matching for judging to store in the face and database, face in the video image is determined
The distance between described smart machine;
Judge whether the distance is greater than pre-determined distance threshold value;
If it is, controlling the smart machine screen locking.
4. according to the method in claim 2 or 3, which is characterized in that store target face model in the database
The method of use is as follows:
When receiving the operational order of user's input, shooting obtains target faceform, and the target faceform is deposited
It is stored in database.
5. the method according to claim 1, wherein the preset duration is according to screen locking duration set by user
Identified duration, the preset duration are less than the screen locking duration;
Alternatively, the preset duration is duration set by user.
6. a kind of smart machine screen locking control device based on Face datection, which is characterized in that be configured on the smart machine
Camera, described device include:
Module is obtained, for when detecting that the smart machine is in the unlocked state, obtaining the described of the camera acquisition
Video image in front of smart machine, and recognition of face is carried out to the video image using face recognition technology;
First determining module, for when not including face in the video image, the time for acquiring the video image to be made
For initial time;
First judgment module, for judging the video figure of the camera acquisition in the preset duration after the initial time
Whether face is not included as in;
First screen lock module, for described in the preset duration after the first judgment module judges the initial time
When not including face in the video image of camera acquisition, the smart machine screen locking is controlled.
7. the apparatus according to claim 1, which is characterized in that described device further include:
Second judgment module, for when in the video image including face, judge to store in the face and database
Whether target faceform matches;
Second screen lock module, the target face for judging to store in the face and database in second judgment module
When unmatched models, the smart machine screen locking is controlled.
8. device according to claim 7, which is characterized in that described device further include:
Second determining module, for determining when the target face Model Matching for judging to store in the face and database
The distance between face and the smart machine in the video image;
Third judgment module, for judging whether the distance is greater than pre-determined distance threshold value;
Third screen lock module, for controlling when the third judgment module judges that the distance is greater than pre-determined distance threshold value
The smart machine screen locking.
9. device according to claim 7 or 8, which is characterized in that described device further include:
Memory module, for when receiving the operational order of user's input, shooting to obtain target faceform, and by the mesh
Mark faceform is stored in database profession.
10. device according to claim 6, which is characterized in that when the preset duration is according to screen locking set by user
Duration determined by long, the preset duration are less than the screen locking duration;
Alternatively, the preset duration is duration set by user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811080093.8A CN109284594A (en) | 2018-09-17 | 2018-09-17 | A kind of smart machine screen locking control method and device based on Face datection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811080093.8A CN109284594A (en) | 2018-09-17 | 2018-09-17 | A kind of smart machine screen locking control method and device based on Face datection |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109284594A true CN109284594A (en) | 2019-01-29 |
Family
ID=65181431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811080093.8A Pending CN109284594A (en) | 2018-09-17 | 2018-09-17 | A kind of smart machine screen locking control method and device based on Face datection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109284594A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110826040A (en) * | 2019-11-06 | 2020-02-21 | 北京知道创宇信息技术股份有限公司 | Authority control method and device, electronic equipment and storage medium |
CN110852156A (en) * | 2019-09-29 | 2020-02-28 | 深圳市火乐科技发展有限公司 | Projection method and related equipment |
CN112328990A (en) * | 2020-10-30 | 2021-02-05 | 平安信托有限责任公司 | Screen control method and device based on identity authentication and computer equipment |
CN113449277A (en) * | 2021-06-30 | 2021-09-28 | 未鲲(上海)科技服务有限公司 | Screen locking control method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204231423U (en) * | 2014-05-22 | 2015-03-25 | 西北农林科技大学 | A kind of agriculture business with automatic screen locking function is led to |
CN107491684A (en) * | 2017-09-22 | 2017-12-19 | 广东巽元科技有限公司 | A kind of screen control device and its control method based on recognition of face |
CN107609373A (en) * | 2017-09-07 | 2018-01-19 | 欧东方 | A kind of terminal device and its method for safeguard protection |
CN107690020A (en) * | 2016-08-05 | 2018-02-13 | 余知荫 | A kind of myopia-resisting cell phone locks screen automatically system and method |
US20180247039A1 (en) * | 2017-02-27 | 2018-08-30 | Samsung Electronics Co., Ltd. | Electronic device for authenticating using biometric information and method of operating electronic device |
-
2018
- 2018-09-17 CN CN201811080093.8A patent/CN109284594A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204231423U (en) * | 2014-05-22 | 2015-03-25 | 西北农林科技大学 | A kind of agriculture business with automatic screen locking function is led to |
CN107690020A (en) * | 2016-08-05 | 2018-02-13 | 余知荫 | A kind of myopia-resisting cell phone locks screen automatically system and method |
US20180247039A1 (en) * | 2017-02-27 | 2018-08-30 | Samsung Electronics Co., Ltd. | Electronic device for authenticating using biometric information and method of operating electronic device |
CN107609373A (en) * | 2017-09-07 | 2018-01-19 | 欧东方 | A kind of terminal device and its method for safeguard protection |
CN107491684A (en) * | 2017-09-22 | 2017-12-19 | 广东巽元科技有限公司 | A kind of screen control device and its control method based on recognition of face |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110852156A (en) * | 2019-09-29 | 2020-02-28 | 深圳市火乐科技发展有限公司 | Projection method and related equipment |
CN110826040A (en) * | 2019-11-06 | 2020-02-21 | 北京知道创宇信息技术股份有限公司 | Authority control method and device, electronic equipment and storage medium |
CN112328990A (en) * | 2020-10-30 | 2021-02-05 | 平安信托有限责任公司 | Screen control method and device based on identity authentication and computer equipment |
CN113449277A (en) * | 2021-06-30 | 2021-09-28 | 未鲲(上海)科技服务有限公司 | Screen locking control method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109284594A (en) | A kind of smart machine screen locking control method and device based on Face datection | |
EP2960823B1 (en) | Method, device and system for managing authority | |
CN110298176B (en) | Intelligent terminal App permission privacy risk monitoring and evaluating system and method | |
EP3657421A1 (en) | Systems for detecting biometric response to attempts at coercion | |
KR102069863B1 (en) | Apparatas and method for controlling a input means of payment function in an electronic device | |
CN104618577B (en) | A kind of response method and device of button request | |
CN106228054A (en) | Auth method and device | |
CN104036177A (en) | Intelligent terminal fingerprint unlocking device and method | |
CN107209819A (en) | Pass through the assets accessibility of the continuous identification to mobile device | |
CN105162820B (en) | A kind of method of data synchronization and equipment | |
CN107968730A (en) | The method and system that monitoring Internet of Things network interface card is stolen | |
JP2018011263A (en) | Monitor system, monitor camera, and management device | |
CN104732390B (en) | Method of payment and device based on NFC | |
CN106250876B (en) | A kind of fingerprint identification method and terminal | |
CN106127009B (en) | A kind of display methods and terminal of icon | |
CN107622483A (en) | A kind of image combining method and terminal | |
CN111563671A (en) | Regional personnel management method, system, machine readable medium and equipment | |
CN107729781B (en) | Method for preventing loss of mobile terminal, mobile terminal and computer readable storage medium | |
CN107765853A (en) | Using method for closing, device, storage medium and electronic equipment | |
CN104751086A (en) | Terminal anti-theft method | |
CN109376702A (en) | Fingerprint identification method and Related product | |
WO2016184092A1 (en) | Terminal operation method and apparatus | |
CN109492590A (en) | A kind of distance detection method, distance detection device and terminal device | |
CN107194232A (en) | Solve lock control method, device, computer installation and computer-readable recording medium | |
US20170286715A1 (en) | Prevention of shoulder surfing |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190129 |