CN109819114A - Screen locking processing method and processing device, electronic equipment and storage medium - Google Patents

Screen locking processing method and processing device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109819114A
CN109819114A CN201910126612.8A CN201910126612A CN109819114A CN 109819114 A CN109819114 A CN 109819114A CN 201910126612 A CN201910126612 A CN 201910126612A CN 109819114 A CN109819114 A CN 109819114A
Authority
CN
China
Prior art keywords
screen locking
face
electronic equipment
application
screen
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.)
Granted
Application number
CN201910126612.8A
Other languages
Chinese (zh)
Other versions
CN109819114B (en
Inventor
许雷
彭彬绪
张帆
于志兴
黄頔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sensetime Technology Development Co Ltd
Original Assignee
Beijing Sensetime Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sensetime Technology Development Co Ltd filed Critical Beijing Sensetime Technology Development Co Ltd
Priority to CN201910126612.8A priority Critical patent/CN109819114B/en
Publication of CN109819114A publication Critical patent/CN109819114A/en
Application granted granted Critical
Publication of CN109819114B publication Critical patent/CN109819114B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of screen locking processing method and processing device, electronic equipment and storage mediums.The described method includes: forbidding the screen locking function of screen locking component, wherein the screen locking component is the functional unit for executing the screen locking function in the operating system of electronic equipment;If meeting screen locking condition, the face screen locking application installed in Xiang Suoshu electronic equipment sends screen locking instruction;Using face screen locking application substitution screen locking component, the electronic equipment screen locking operation is executed;If meeting unlocking condition, the face screen locking applications trigger man face image acquiring mould group acquires facial image and executes face unlock operation according to the facial image of acquisition.

Description

Screen locking processing method and processing device, electronic equipment and storage medium
Technical field
The present invention relates to information technology field more particularly to a kind of screen locking processing method and processing devices, electronic equipment and storage Medium.
Background technique
With the development of electronic technology, the function of electronic equipment is stronger and stronger, for example, net can be carried out using electronic equipment Network payment carries out social and/or work etc. using electronic equipment, in this way, there is a large amount of classified information in electronic equipment, And electronic equipment is able to carry out and various is related to the safety operation of safety problem.Therefore in order to promoted the safety in utilization of electronic equipment and The information security stored in electronic equipment, introduces many safe practices, for example, the screen locking of electronic equipment.Existing screen locking Unlocking manner include: unlocked by fingerprint, figure unlock, password unlock and face unlock etc. unlocking manners.But face unlock one As be only applicable in more trendy equipment, and be not available for old equipment.
Summary of the invention
An embodiment of the present invention is intended to provide a kind of screen locking processing method and processing device, electronic equipment and storage medium,
The technical scheme of the present invention is realized as follows:
A kind of screen locking processing method, comprising:
Forbid the screen locking function of screen locking component, wherein the screen locking component is execution institute in the operating system of electronic equipment State the functional unit of screen locking function;
If meeting screen locking condition, the face screen locking application installed in Xiang Suoshu electronic equipment sends screen locking instruction;
Using face screen locking application substitution screen locking component, the electronic equipment screen locking operation is executed;
And/or
If meeting unlocking condition, the face screen locking applications trigger man face image acquiring mould group acquisition facial image and basis The facial image of acquisition executes face unlock operation.
Based on above scheme, if described meet unlocking condition, the face screen locking applications trigger man face image acquiring mould group It acquires facial image and face unlock operation is executed according to the facial image of acquisition, comprising:
Face datection is carried out to the facial image, obtains the first detection feature;
According to the matching result of the first detection feature and default feature, determine whether face verification passes through;
If the face verification passes through, the face screen locking application is closed the locking screen interface that itself is provided and is shown described The system interface of locking screen interface covering or the application interface other application of other application.
Based on above scheme, the method also includes:
If the facial image currently acquired detects specific characteristic, the first prompt of output not successfully;
After exporting first prompt, man face image acquiring mould group described in the face screen locking application control is adopted again Collect facial image.
Based on above scheme, it is described first prompt for prompt acquisition target adjustment with the man face image acquiring mould group it Between relative position.
Based on above scheme, the method also includes:
The face screen locking is applied in the second prompt of locking screen interface output;
The man face image acquiring mould group acquires multiple described facial images;
According to facial image described in multiple, determine the changing rule of the predetermined portions of the acquisition target whether with described The suggestion content of two prompts is adapted;
If the face verification passes through, the locking screen interface itself provided is closed in the face screen locking application, comprising:
If by the face verification and the changing rule is adapted with the suggestion content, the face screen locking application The locking screen interface of itself offer is provided.
Based on above scheme, the method also includes:
If the face verification does not pass through or the changing rule is not adapted to the suggestion content, the face screen locking is answered With the display for maintaining the locking screen interface.
Based on above scheme, the method also includes:
The face screen locking application is installed in the electronic equipment based on the installation kit;
After face screen locking application installation, Xiang Suoshu operating system, which is sent, forbids the screen locking component to forbid asking It asks;
The screen locking function of forbidding screen locking component, comprising:
After the operating system receives the inhibition request, forbid the screen locking function of the screen locking component.
Based on above scheme, after the operating system receives the inhibition request, forbid the lock of the screen locking component Shield function, comprising:
After receiving inhibition request, the prompt information of the screen locking component is forbidden in display;
Detection acts on the user's operation of the prompt information;
If the screen locking function of the screen locking component is forbidden in the user's operation confirmation, forbid the screen locking function of the screen locking component Energy.
Based on above scheme, the method also includes:
During acquiring the facial image or carrying out face unlock, the face unlock interface at least partly Region shows promotion message.
Based on above scheme, the method also includes:
The second detection feature is obtained based on facial image detection, identifies the identity information of the acquisition target;
Identity-based information determines the interested promotion message of the acquisition target, wherein second detection The number of feature is less than the Characteristic Number detected needed for face unlock.
A kind of screen locking processing unit, comprising:
Disabled module, for forbidding the screen locking function of screen locking component, wherein the screen locking component is the operation of electronic equipment The functional unit of the screen locking function is executed in system;
Sending module, if the face screen locking application installed in Xiang Suoshu electronic equipment sends lock for meeting screen locking condition Screen instruction;
Execution module, for executing the electronic equipment screen locking behaviour using face screen locking application substitution screen locking component Make;And/or unlocked state, if for meeting unlocking condition, the face screen locking applications trigger man face image acquiring mould group acquisition Facial image simultaneously executes face unlock operation according to the facial image of acquisition.
Based on above scheme, the unlocked state is specifically used for carrying out Face datection to the facial image, obtains first Detect feature;According to the matching result of the first detection feature and default feature, determine whether face verification passes through;If described Face verification passes through, and face screen locking application closes what the locking screen interface that itself is provided and showing was covered by the locking screen interface The application interface other application of system interface or other application.
Based on above scheme, described device further include:
First output module, if the facial image for currently acquiring detects specific characteristic not successfully, output first is mentioned Show;
First acquisition module is used for after exporting first prompt, face described in the face screen locking application control Image Acquisition mould group resurveys facial image.
Based on above scheme, wherein first prompt is for prompting acquisition target adjustment and the man face image acquiring Relative position between mould group.
Based on above scheme, described device further include:
Second output module is applied for the face screen locking in the second prompt of locking screen interface output;
Second acquisition module acquires multiple described facial images for the man face image acquiring mould group;
Matching module, for determining the variation rule of the predetermined portions of the acquisition target according to facial image described in multiple Whether rule is adapted with the suggestion content of second prompt;
The unlocked state, if being specifically used for passing through the face verification and the changing rule and the suggestion content phase The locking screen interface itself provided is closed in adaptation, the face screen locking application.
Based on above scheme, described device further include:
Maintenance module, if not passing through for the face verification or the changing rule is not adapted to the suggestion content, The face screen locking application maintains the display of the locking screen interface.
Based on above scheme, described device further include:
Download module, for downloading the installation kit of the face screen locking application;
Module is installed, for installing the face screen locking application in the electronic equipment based on the installation kit;
Request module, for after face screen locking application installation, the screen locking to be forbidden in the transmission of Xiang Suoshu operating system The inhibition request of component;
The disabled module after receiving the inhibition request specifically for the operating system, forbids the screen locking The screen locking function of component.
Based on above scheme, the disabled module, after receiving inhibition request, the screen locking is forbidden in display The prompt information of component;Detection acts on the user's operation of the prompt information;If the lock is forbidden in the user's operation confirmation The screen locking function of screen assembly forbids the screen locking function of the screen locking component.
Based on above scheme, described device further include:
Display module, for being unlocked in the face during acquiring the facial image or carrying out face unlock At least partly region at interface shows promotion message.
Based on above scheme, described device further include:
Identification module identifies the acquisition target for obtaining the second detection feature based on facial image detection Identity information;
Determining module is used for identity-based information, determines the interested promotion message of the acquisition target, In, the number of the second detection feature is less than the Characteristic Number detected needed for face unlock.
A kind of electronic equipment, comprising:
Image Acquisition mould group;
Memory;
Processor handles mould group with described image and memory is connect, for being stored in the memory by executing Computer executable instructions control described image acquisition mould group Image Acquisition, and realize that any one aforementioned technical solution mentions The screen locking processing method of confession.
A kind of computer storage medium, the computer storage medium are stored with computer executable instructions;The calculating After machine executable instruction is executed by processor, the screen locking processing method that any one aforementioned technical solution provides can be realized.
Technical solution provided in an embodiment of the present invention can use the screen locking of face screen locking application substitution operating system itself The screen locking function of component or equipment the default installation screen locking component before factory, in this way, face screen locking application can be used to carry out The screen locking of electronic equipment and face unlock;In this way, the electronic equipment for even itself not having face screen locking ability, passes through installation Screen locking and face unlock also may be implemented in the face screen locking application, to increase and enrich the ability of electronic equipment, is promoted The intelligence of electronic equipment and the equipment usage experience of user.
Detailed description of the invention
Fig. 1 is the flow diagram of screen locking processing method provided in an embodiment of the present invention;
Fig. 2 is that the face of face screen locking provided in an embodiment of the present invention application unlocks schematic diagram;
Fig. 3 is the flow diagram of another screen locking processing method provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of screen locking processing unit provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Technical solution of the present invention is further described in detail with reference to the accompanying drawings and specific embodiments of the specification.
As shown in Figure 1, the present embodiment provides a kind of screen locking processing methods, comprising:
Step S110: forbid the screen locking function of screen locking component, wherein the screen locking component is the operating system of electronic equipment The interior functional unit for executing the screen locking function;
Step S120: if meeting screen locking condition, the face screen locking application installed in Xiang Suoshu electronic equipment sends screen locking and refers to It enables;
Step S130: using face screen locking application substitution screen locking component, the electronic equipment screen locking operation is executed; And/or step S140: if meeting unlocking condition, the face screen locking applications trigger man face image acquiring mould group acquires face figure As and according to the facial image of acquisition executes face unlock operation.
Screen locking processing function method provided in this embodiment can be applied in various electronic equipments, for example, mobile phone, plate are electric On the terminal devices such as brain, wearable device or mobile unit.
The operating system of the electronic equipment itself is provided with the screen locking component with screen locking function, which can be The Software Development Kit (SDK) of the operating system or the screen locking component of the operating system default installation etc..In short, Forbidden screen locking function can be the original screen locking function of electronic equipment in step S110.Forbid the lock of the screen locking component herein Shield function can include: deactivate the screen locking function, then the screen locking component no longer carries out at screen locking and unlock electronic equipment Reason.The deactivation screen locking function herein includes but is not limited to release the state of activation of the screen locking function, alternatively, forbidding institute State screen locking function.
In the present embodiment, the screen locking processing that screen locking component carries out electronic equipment is substituted using face screen locking application.This The face screen locking application at place can are as follows: electronic equipment is set from the electronics that is exclusively used in that server (for example, using mall server) is downloaded The screen locking application of standby screen locking, and the face screen locking is applied to be carried out the application of the unlock processing of screen locking using face recognition technology.
In the running environment that the operating system that the face screen locking application is mounted on electronic equipment is built, but independently of Operating system.The face screen locking applies the Application Programming Interface (API) opened to the outside world by operating system and the face to lock Screen application carries out information exchange.
For example, in some embodiments, if the operating system carries or the screen locking component of default installation is at least partly interior It is placed in the kernel spacing of operating system, the screen locking behaviour of the sensor that operating system is connected or key detection can be directly acquired Make or unlock the operation signal operated, which can be the basic input/output signal (GPIO) etc. of sensor detection, In this way, the signal for the various sensors that operating system detects does not have to be transferred to the screen locking component by external API.Also In some embodiments, the screen locking component may be by inside API (API not opened to the outside world) and operation in operating system System carries out data interaction.This internal API, if, without specific permission, user is newly installed to electricity after electronic equipment factory Application in sub- equipment is the API not being available.
The screen locking component due to being just mounted on inside operating system when leaving the factory, since producer is that have this specific weights Limit, be that can obtain the relevant information of internal API, therefore can be based on API inside known when install screen locking component Relevant information carries out the internal relevant information of API and being associated with for screen locking component, so that screen locking component can pass through inside API completes the information exchange with operating system.
In some embodiments, the operating system is also provided with the external API of opening, these external API can be used In when user is mounted with other application in electronic equipment, data interaction is carried out for operating system and these applications.For example, In the present embodiment, the API and operating system that the face screen locking application is opened to the outside world by this operating system carry out data Interaction.And the face screen locking application can be then counted by this external API with operating system by operating system According to interaction.
In further embodiments, the screen locking application can also pass through the operation by being based on the specified permission The API of internal system and the operating system carry out information exchange.
For example, install the screen locking in application, the screen locking application application server by with the electronic equipment Equipment platform information exchange, obtain the specified permission of the electronic equipment, such screen locking is applied during installation, can To request the internal API's to the operating system of electronic equipment based on the authority information for obtaining specified permission from application server Relevant information, and itself being associated with inside API is established, in this way, subsequent is all by internal API when carrying out screen locking and unlock Information exchange is carried out between operating system.Further, inside API can be made by screen locking component primary in operating system Inside API.Further, screen locking is applied during installation, based on the specific permission (for example, root is weighed Limit) relevant information that obtains the inside API that screen locking component is communicated with operating system, by the relevant information increase of inside API Into the registration table of itself, so information exchange can be carried out by the relevant information of inside API and the operating system. In addition, the screen locking application can also request the registration table of operating system modification screen locking component, the registration table of screen locking component is deleted The relevant information of middle internal API, since the relevant information of API internal in the registration table of screen locking component is deleted, in this way, screen locking group Part cannot carry out information exchange with operating system, be equivalent to and deactivated the screen locking component, in this way, natural will utilize Screen locking application substitutes screen locking and unlock that the screen locking component carries out equipment.The above is only citing, concrete implementation process is unlimited In the example above.
In the present embodiment, the face screen locking application is the application program of installation available for download;In this way, even old Mobile phone, user can also install this face screen locking application by downloading, former based on old electronic equipment (for example, old money mobile phone) Some hardware resources realize face screen locking processing.For example, the face of the monocular cam acquisition plane using old electronic equipment Image.Monocular cam herein is one kind of the man face image acquiring mould group, which can also be double Mesh camera etc. may generally be the front camera of the electronic equipments such as mobile phone.The front camera can be the display surface with screen Camera positioned at the same surface of electronic equipment.
In short, in the present embodiment, if an electronic equipment does not have face screen locking function originally, if but being mounted with institute State face screen locking application after, it will be able to have the function of face screen locking.For example, unlock corresponding to these original screen locking functions Mode includes but is not limited to slide unlock, unlocked by fingerprint, figure unlock and/or password unlock.Sliding unlock includes but not It is limited to: carries out sliding unlock according to the sliding trace that electronic equipment is shown;Figure unlock include but is not limited to show it is several A touch point, the slide that acquisition connects these touch points are formed by sliding figure and are unlocked.
In the present embodiment, the screen locking condition that meets includes at least one of:
User's operation is not detected in the first preset duration, determination meets the screen locking condition;
It does not carry out voice communication in the second preset duration or multimedia messages plays, and user's operation is not detected, really Surely meet screen locking condition.First preset duration and second preset duration are identical or different;
The screen locking operation of user's input is detected, for example, acting on the screen locking operation of the specific keys of electronic equipment.
When meeting screen locking condition, determination needs screen locking.If meeting screen locking condition, need to lock the electronic equipment Screen shields other operations so that the touch screen of the electronic equipment is only capable of detecting operation relevant to screen locking operation.Example Such as, the face screen locking generates and shows that locking screen interface, the locking screen interface are covered on system circle that the operating system provides On the application interface that face or other application provide, in this way, other interfaces are covered, user is only able to observe that screen locking circle Face;If detecting, the operations such as the sliding of touch screen, click are unrelated with unlocking screen, can all be shielded by electronic equipment.
For example, detection acts on the touch control operation of locking screen interface, the touch-control coordinate of the touch control operation is determined, by the touching Control coordinate is reported to face screen locking application;The face screen locking, which is applied, to be determined whether based on the touch-control coordinate for preset unlock Operation maintains the screen lock state of electronic equipment if being not preset unlock operation;It operates, then solves if preset unlock Lock screen, the locking screen interface is closed in the face screen locking application, and is shown and covered or hide behaviour by the locking screen interface Make the system interface of system or the application interface of other application.The system interface can include: the desktop of the operating system, institute Stating desktop can be the interface for showing the application icon of various applications.
For another example the motion profile of the interior motion sensor senses electronic equipment using electronic equipment, by the motion profile It is matched with desired trajectory corresponding to unlocking condition, if successful match, it is believed that meeting unlocking condition.
In another example being detected between human body and electronic equipment using the equidistant sensor of infrared sensor in electronic equipment Relative distance, if the relative distance be lower than distance threshold, it is believed that meeting unlocking condition.
In short, determine whether the current state of electronic equipment meets there are many kinds of the modes of unlocking condition, when specific implementation It is not limited to any one of the above.
In some embodiments, if meet screen locking condition while confirming that satisfaction is gone out set of hanging scrolls part, and the electronic equipment is controlled Screen extinguishes, and the electronic equipment from the first working condition is switched to the second working condition.In the second work shape The power consumption of the electronic equipment is lower than the power consumption under first working condition under state.
In some embodiments, when electronic equipment is under the first working condition, the function of the unlatching of the electronic equipment The function of the extra electronic equipment in a second operative state.For example, can only be opened under second working condition with The relevant function of unlocking screen, and in the first operative state, the electronic equipment can be opened other than the unlocking screen function Other function, for example, positioning function etc..
In further embodiments, when the electronic equipment is under the first working condition, the work of the electronic equipment Working frequency (for example, dominant frequency of central processing unit (CPU)) is higher than frequency when electronic equipment is under the second working condition.
In further embodiments, the electronic equipment maintains the application number of operation more when being in the first working condition The remaining application number that operation is maintained when being in the second working condition.For example, in a second operative state, the electronic equipment can be with The operating status of face screen locking application is only maintained, and in the first operative state, the electronic equipment can maintain one or more The operating status of other application other than a face screen locking application.If the application number of operation is more, energy consumption is bigger.
In short, be a kind of high power consumption state in the first operative state, and the second working condition is a kind of low energy consumption state.
Meet unlocking condition if detecting in step S140, the face screen locking application can trigger Image Acquisition mould group Facial image is acquired, and face unlock operation is executed according to the facial image of acquisition, at this point, due to the screen locking function of screen locking component It is prohibited, is handled by the screen locking that face screen locking application substitution screen locking component carries out electronic equipment, therefore by face screen locking application It controls man face image acquiring mould group triggering man face image acquiring mould group and acquires facial image, and carry out screen locking verifying.
It is worth noting that: in the present embodiment, the unlock of the screen locking application, which is not limited to be applied by screen locking, sets electronics The unlock of the standby screen locking carried out.For example, electronic equipment, which can use screen locking component, carries out screen locking, answered using the screen locking of electronic equipment With unlock.Therefore the step S130 and step S140 executes one of them.
In the present embodiment, need to obtain the use of the man face image acquiring mould group after the face screen locking application installation Authorization can establish the face screen locking applied to the information transfer channel between the man face image acquiring mould group, in this way, if Face screen locking meets unlocking condition using discovery, then can be sent out by the information transfer channel to the man face image acquiring mould group Send acquisition instructions;After the man face image acquiring mould group receives acquisition instructions, man face image acquiring operation will start.If working as Preceding electronic equipment is in the second working condition, and the man face image acquiring mould group is likely to be at dormant state, then described at this time to adopt Collection instruction is alternatively arranged as the wake up instruction of the man face image acquiring mould group;The man face image acquiring mould group is waken up later certainly It is dynamic to enter man face image acquiring state, start to acquire facial image.
In some embodiments, the information transfer channel can include: man face image acquiring mould group and face screen locking application Between direct-connected API, to establish the designated lane between man face image acquiring mould group and face screen locking application, this is dedicated logical Road can be used for man face image acquiring mould group and face screen locking application between interact any information, for example, the acquisition instructions with The facial image etc. of man face image acquiring mould group acquisition.
In further embodiments, the face screen locking is applied and the processing chip of the man face image acquiring mould group is transported The instruction or data of the formation such as capable middleware can carry out information exchange by the system bus of electronic equipment, if by institute The address for stating man face image acquiring mould group is written in the face screen locking application, is answered it is also assumed that establishing the face screen locking With the information transfer channel between man face image acquiring mould group.
The unlocking condition that meets includes at least one of:
The unlock operation for acting on release tab is detected, for example, acting on the side of main (home) key or electronic equipment The pressing operation of key;
Detect that electronic equipment is moved according to desired guiding trajectory, for example, motion sensor is installed in electronic equipment, it can It, can if the motion profile is that the user of user setting triggers the motion profile of unlock to detect the motion profile of electronic equipment Think to meet unlocking condition.
The operating system of electronic equipment in the second working condition detects unlock operation, it is believed that meets release bar Part can generate a triggering message, which can be sent to the face screen locking application by external API, in this way, institute It states face screen locking application and is known that and currently meet unlocking condition;It is adopted based on the triggering message to the transmission of man face image acquiring mould group Collection instruction.
The face screen locking, which is applied, executes face unlock operation according to the facial image of acquisition can include:
The face screen locking application identifies the face in the facial image, if identifying, the face is for unlocking screen Face, then carry out unlocking screen.In short, there are many be not limited to this one kind for the mode of face unlock.
If the electronic equipment is to shield state in going out before unlock, the electronic equipment can also meet release bar While part, the screen is lighted.Further, described if it is to be in the second working condition that electronic equipment is before unlock Electronic equipment can be switched to first working condition when meeting unlocking condition or after face unlock.
In some embodiments, as shown in Fig. 2, the step S140 can include:
Step S141: carrying out Face datection to the facial image, obtains the first detection feature;
Step S142: according to the matching result of the first detection feature and default feature, determine whether face verification leads to It crosses;
Step S143: if the face verification passes through, the face screen locking application closes the locking screen interface of itself offer simultaneously Show the application interface of the system interface or other application that are covered by the locking screen interface.
Specifically such as, the step S143 can include: if the face verification passes through, the face screen locking application is closed certainly The locking screen interface that body provides;After locking screen interface closing, the operating system, which provides, to be located at below the locking screen interface The application interface that system interface shows or other application provides is shown.
For example, the human face recognition model can be deep learning model and/or machine learning using various human face recognition models Model extracts face characteristic from the facial image, and the feature extracted herein is referred to as the first detection feature.
The first detection feature includes but is not limited to face feature, and the face feature may include at least one of:
The shape feature of face;
Distribution characteristics between face, for example, spacing, nose between eyebrow and eyes and the spacing between lip etc.;
The contour feature of face, for example, shape of face;
The size characteristic of face, for example, the size of eyes.
In short, the face characteristic can be the various face characteristics of various types of characterization legitimate user's identity.
The detection of the face feature can include:
Detect face's key point;
Based on face's key point, the face feature is determined.
For example, the key point of detection two determines the relative position between two based on two key points, the phase Contraposition is set to one kind of the face characteristic.
First detection feature is matched with default feature, obtains matching result;Based on it is matched as a result, it is determined that It is no to pass through face verification.For example, the matching degree according to corresponding to matching result determines whether through face verification, for example, described Matching degree is believed that face verification passes through when reaching preset threshold, otherwise it is believed that face verification is different.
For example, extract M the first detection feature from the facial image, then by M first detection feature respectively with N A default feature is matched, if having S first detection feature and N number of default characteristic matching success, it is determined that face verification is logical It crosses, otherwise it is believed that face verification is different.The N and M can be positive integer, for example, the value of N and M can be equal or different.
In some embodiments, due to man face image acquiring because of acquisition environment, the movement of electronic equipment or acquisition target Movement so that the facial image of acquisition is not very clear, or because the problem of acquisition angles, the face of some acquisition targets It is not directly to abandon the facial image, and be to continue with and be based on being somebody's turn to do when in the acquisition visual angle of feature no longer man face image acquiring mould group Facial image carries out recognition of face, and N number of first detection feature has not been obtained by recognition of face, only gets M less than N the One detection feature, starts to carry out the face verification if M is greater than some number threshold value, on the one hand can reduce unlock failure Number, on the other hand can reduce be repeatedly detected caused by face unlock low efficiency the problem of.The number threshold value can be N/2 Deng.
During continuing recognition of face, in order to be further reduced time delay, face screen locking application can synchronize control The man face image acquiring equipment is made to continue to acquire facial image.If previous man face image acquiring without when face verification not The directly prompt information of output face unlock failure, but face verification is carried out using the facial image currently acquired.In this reality It applies in example, as long as when collecting the facial image for meeting and making a reservation in clear condition and predetermined angle of view and not passing through face verification, Export the prompt information of face result failure.
If face verification passes through, the locking screen interface of itself is closed in the face screen locking application, in this way, display screen does not continue to Display locking screen interface, and the system interface display system interface display that operating system provides, system interface herein can include: institute State the desktop or system message display interface of operating system.
The other application can be any other application other than face screen locking application, for example, video playing application, Audio plays the application interface of application, social application, payment application or shopping application.
The other application can enter before screen lock state for the electronic equipment, finally show and seen by user Application corresponding to application interface.
In order to realize seamless interfacing, as soon as that is, described locking screen interface is closed, completed in the case where user can not perceive Display screen is switched to the application interface of system interface or other application, when the electronic equipment meets unlocking condition, the electricity Sub- equipment just extract it is data cached into before screen lock state, according to the data cached system interface or described built Application interface.For example, it is described it is data cached be stored in electronic equipment particular register enter screen lock state before be The system running state data of system, desktop data or running state data is applied, described in which can be used for quickly establishing System interface or application interface, such locking screen interface are closed, the system interface or application interface quilt covered by locking screen interface Show.
Certainly in some cases, Face datection also can detecte the M greater than N first detection feature.
In some embodiments, the method also includes:
If the facial image currently acquired detects specific characteristic, the first prompt of output not successfully;
After exporting first prompt, man face image acquiring mould group described in the face screen locking application control is adopted again Collect facial image.
First prompt can be the various prompts for prompting to re-start man face image acquiring, alternatively, re-starting screen Unlock verifying prompt.For example, in some embodiments, first prompt is for prompting acquisition target adjustment and the people Relative position between face image acquiring mould group.
In order to realize that face unlocks, ideal facial image is face image, but what is currently acquired may be side face figure Picture, then export the first prompt, and the first prompt can be used for that user is prompted to adjust opposite between itself face and Image Acquisition mould group Position, so that the face of itself is located in the positive acquisition visual angle of described image acquisition mould group.Positive acquisition visual angle can be for the figure The plumb line between acquisition as acquiring mould group is in the visual angle of predetermined angle, for example, each 30 degree or 45 degree etc. up and down.
If having resurveyed facial image, face unlock is carried out based on the facial image resurveyed.
In some embodiments, if the facial image resurveyed does not collect specific characteristic completely, in conjunction with preceding primary The extracted feature of image is acquired, sees the first detection feature extracted in P facial images of the adjacent same acquisition target of acquisition Set whether contain all specific characteristics, can not continued to if containing acquire and export first prompt.
First prompt can include: the first suggestion content for indicating user's rotary head, bowing or facing upward head;Also may include: Indicate second suggestion content of the user to which direction adjustment head.
In some embodiments, the method also includes:
The face screen locking is applied in the second prompt of locking screen interface output;
The man face image acquiring mould group acquires multiple described facial images;
According to facial image described in multiple, determine the changing rule of the predetermined portions of the acquisition target whether with described The suggestion content of two prompts is adapted;
The step S140 can include: if by the face verification and the changing rule is mutually fitted with the suggestion content Match, the locking screen interface itself provided is closed in the face screen locking application.
It is unlocked to reduce illegal user using the photo stolen by face, living body can also be carried out in the present embodiment Verifying.
For example, control described image acquires multiple facial images of mould group continuous acquisition.Can be exported in the unlock interface Two prompts, the second prompt can inform how user adjusts human face expression or movement.For example, the lip of instruction user is according to specific Rule variation, the eyes and/or eyebrow for indicating user are closed one's eyes, then example again according to specific regular varying motion etc. for example, first opening eyes Such as, it the specific changes rule such as first opens one's mouth to shut up again.
In this way, multiple facial images of continuous acquisition, extract the variation rule of the expression of certain organs or entire face Whether rule matches with the specific rule of prompt unanimously, if unanimously, it is believed that changing rule is adapted with suggestion content, otherwise can be recognized Not to be adapted, to promote the safety of electronic equipment.
It is worth noting that, screen locking processing method provided in this embodiment when a screen locking is handled, can only include step One in rapid S130 and step S140.For example, carrying out screen locking processing, then the method can only include step S130;If The face unlock of screen is carried out, then the method can include: step S140.
In some embodiments, the method also includes:
If the face verification does not pass through or the changing rule is not adapted to the suggestion content, the face screen locking is answered With the display for maintaining the locking screen interface.
If face screen locking application maintains the display of locking screen interface, the verifying on the one hand user being prompted currently to unlock is obstructed It crosses, on the other hand facilitates user that can continue to carry out face screen locking verifying in locking screen interface, pass through unlock operation again without user Trigger the display of locking screen interface.
In some embodiments, the number of this face verification failure is counted, if the number of authentication failed reaches maximum Number, closes the electronic equipment by force or the control electronic equipment goes out screen, alternatively, to electronic equipment binding its His equipment sends prompt information, which can be used for prompting illegal user that may attempt to unlock electronic equipment.
In some embodiments, if the number of authentication failed reaches maximum times, the location information of electronic equipment is obtained, it will The location information is sent to the other equipment with electronic equipment binding, the electronic equipment for facilitating user tracking to lose.
In some embodiments, as shown in figure 3, the method also includes:
Step S201: the installation kit of the face screen locking application is downloaded;
Step S202: the face screen locking application is installed based on the installation kit in the electronic equipment;
Step S203: after face screen locking application installation, the screen locking component is forbidden in the transmission of Xiang Suoshu operating system Inhibition request;
The step S110 may include step S111: after the operating system receives the inhibition request, forbid institute State the screen locking function of screen locking component.
In this way, the operating system that can set out prohibits to fall original screen locking function by the transmission of inhibition request.In the present embodiment In, the inhibition request can allow operating system to forbid original screen locking function.
It indicates to download the installation from application shop for example, the various electronic equipments such as mobile phone or tablet computer are based on user Packet, can install the face screen locking application based on installation kit electronic equipment automatically.Electronics is set if being mounted with face screen locking application Standby system interface, for example, it is seen that the mark of face screen locking application on desktop.The mark of face screen locking application herein It include: the application icon etc. of face screen locking application.
In some embodiments, the method also includes:
After the face screen locking application installation, display face unlock verifying interface;
The acquisition of the verifying face of verifying interface prompt face unlock is unlocked in the face.
For example, in the prompt information of face verification interface output multi-angle acquisition, in this way, user can believe according to prompt Breath adjusts the relative position between oneself face and camera (for example, monocular cam), in this way, it is more to realize that camera collects The image of angle, for extracting the default feature.In this way, when later use face screen locking application carries out unlocking screen, even if The facial image of acquisition be not be entirely positive-angle, can be used for and the default feature extracted in matching image gathered in advance It is matched, to reduce the phenomenon that acquiring image and matching in face unlocking process repeatedly, accelerates the rate and just of face unlock True rate.
The multi-angle acquisition can include:
It is swung with face according to standing direction;
Using shoulder as the movement of AnchorPoint nodded and bowed;
Right face angle that left face angle that left swing is formed, right pendulum are formed, the angle of bowing nodded of front and back, front and back face upward capitiform at It faces upward brilliance degree and neither bows nor the positive face angle of yaw, 5 acquisition angles can be formed altogether.To this 5 angle difference Multiple images are acquired, clarity highest is selected and/or can most extract the image of face characteristic as matching image, or Person, for extracting default feature.
From above-mentioned multiple images of each angle acquisition, the figure for meeting verification condition is extracted from multiple images of acquisition As the matching image as subsequent progress face unlock, alternatively, the extraction of the default feature as face unlock.
If user is being no longer want to using face screen locking in application, the electronic equipment can also be with based on the unloading instruction of user Unload the face screen locking application.
The method also includes:
If detecting the unloading command of the face screen locking application, the face screen locking is unloaded from the electronic equipment and is answered With;
Show the screen locking function of the screen locking component forbids releasing to prompt;
If detecting the confirmation operation for forbidding releasing prompt, forbidding for the screen locking function of the screen locking component is released, To restore the screen locking function of the screen locking component.
In some embodiments, if the screen locking component before have setting screen locking verification information, for example, slip gesture and/ Or fingerprint etc., while activating the screen locking verification information of the screen locking component.
In further embodiments, the method also includes: show the setting of the screen locking verification information of the screen locking component Interface rewrites the screen locking verification information for setting the screen locking component, reduces user because caused by forgeing not by resetting The problem of capable of unlocking, while user can also be prompted to replace screen locking verification information in time further to promote the safety of electronic equipment Property.
But in the present embodiment in order to promote user experience, after the operating system receives the inhibition request, Forbid the screen locking function of the screen locking component, comprising:
After receiving inhibition request, the prompt information of the screen locking component is forbidden in display;
Detection acts on the user's operation of the prompt information;
If the screen locking function of the screen locking component is forbidden in the user's operation confirmation, forbid the screen locking function of the screen locking component Energy.
In this way, operating system can be based on inhibition request display reminding information, if it is true to detect that user is based on the prompt information Forbid the confirmation of original screen locking function to instruct, then the operating system can forbid original screen locking function, and face is arranged surely The screen locking function of screen locking application is in permission state.
Further, the face screen locking application can also send necessary authorization requests, the authorization requests to operating system Can include: allow face screen locking using the authorization requests of Image Acquisition mould group.
If operating system receives user's confirmation operation of the inhibition request, the authorization requests are directly based upon to institute The access right for stating the open Image Acquisition mould group of face screen locking application, in this way, the face screen locking application can use image Acquire mould group.Specifically such as, operating system carries out the configuration of access right, and face will be informed in the address of Image Acquisition mould group Screen locking application.In this way, face screen locking application can establish the information transfer channel of data interaction with Image Acquisition mould group.
In some embodiments, the method also includes:
During acquiring the facial image or carrying out face unlock, the face unlock interface at least partly Region shows promotion message.
The promotion message can in the present embodiment are as follows: the various information of server active push, for example, various business are wide Announcement and/or charitable advertisement.
The promotion message is not limited to advertisement, may also include that the interesting small video or small figure for needing user to see Piece etc..
In this way, if user can be carried out etc. based on these information during Image Acquisition and during face unlock To without because the information shown on screen is more boring to generate bad user experience, so that the user experience is improved.
In some embodiments, electronic equipment knows the identity information of legitimate user, the popularization by face acquisition etc. Information directly can select promotion message according to the identity information of legitimate user for the electronic equipment, in this way, according to legitimate user Identity information show promotion message, since the identity information of legitimate user is known in advance, so as to select legitimate user to feel The promotion message of interest is shown;To further promote user experience.
In some embodiments, the method also includes:
The second detection feature is obtained based on facial image detection, identifies the identity information of the acquisition target;
Identity-based information determines the interested promotion message of the acquisition target, wherein second detection The number of feature is less than the Characteristic Number detected needed for face unlock.
If an electronic equipment there are multiple legitimate users, prior confirmation may be needed to go out the identity of current Lawful user Information, at this point, the facial image that can be based further on acquisition obtains the second detection feature, it can be quick based on the second detection feature The identity information for determining acquisition target, obtain the interest preference that the acquisition target is obtained with after identity information, from And it can choose out the interested promotion message of user and show.
In the present embodiment, the number of the second detection feature is being counted less than the number of the first detection feature In the case where data, since the number of the second detection feature is few, then the detection of the second detection feature and rate matched can be higher than institute It states the first detection feature and completes detection and matched rate.
In the present embodiment, the second detection feature can be the subset of the first detection feature, such second detection The detection of feature and matching result, the detection that feature can be detected directly as first and matched component part, to reduce The detection and matching operation of feature.
In further embodiments, at least partially described first detection feature of the second detection feature is not wrapped The feature included.
Here the second detection feature may be various types of face characteristics, and the detailed description of face characteristic can join According to previous embodiment.
The promotion message can be also possible to download and be buffered in the electronics in advance and set for what is currently downloaded from server side In standby.
In the present embodiment, the promotion message can be shown on entire locking screen interface, can also be only in locking screen interface Partial region in show.
For example, the locking screen interface is divided into first area and second area;Sliding unlock is shown in the first area Or the information such as input bit of password unlock.The second area is different from the first area, described in the second area is shown Promotion message.
As shown in figure 4, the present embodiment provides a kind of screen locking processing units, comprising:
Disabled module 110, for forbidding the screen locking function of screen locking component, wherein the screen locking component is electronic equipment The functional unit of the screen locking function is executed in operating system;
Sending module 120, if the face screen locking application installed in Xiang Suoshu electronic equipment is sent for meeting screen locking condition Screen locking instruction;
Execution module 130, for executing the electronic equipment screen locking using face screen locking application substitution screen locking component Operation;And/or unlocked state 140, if for meeting unlocking condition, the face screen locking applications trigger man face image acquiring mould Group acquisition facial image simultaneously executes face unlock operation according to the facial image of acquisition.
In some embodiments, the unlocked state 140 is specifically used for carrying out Face datection to the facial image, obtain Obtain the first detection feature;According to the matching result of the first detection feature and default feature, determine whether face verification passes through; If the face verification passes through, the face screen locking application is closed the locking screen interface that itself is provided and is shown by the locking screen interface The system interface of covering or the application interface of other application.
In some embodiments, described device further include:
First output module, if the facial image for currently acquiring detects specific characteristic not successfully, output first is mentioned Show;
First acquisition module is used for after exporting first prompt, face described in the face screen locking application control Image Acquisition mould group resurveys facial image.
In some embodiments, first prompt is for prompting acquisition target adjustment and the man face image acquiring mould group Between relative position.
In some embodiments, described device further include:
Second output module is applied for the face screen locking in the second prompt of locking screen interface output;
Second acquisition module acquires multiple described facial images for the man face image acquiring mould group;
Matching module, for determining the variation rule of the predetermined portions of the acquisition target according to facial image described in multiple Whether rule is adapted with the suggestion content of second prompt;
The unlocked state 140, if being specifically used for by the face verification and the changing rule and the prompt Appearance is adapted, and the locking screen interface itself provided is closed in the face screen locking application.
In some embodiments, described device further include:
Maintenance module, if not passing through for the face verification or the changing rule is not adapted to the suggestion content, The face screen locking application maintains the display of the locking screen interface.
In some embodiments, described device further include:
Download module, for downloading the installation kit of the face screen locking application;
Module is installed, for installing the face screen locking application in the electronic equipment based on the installation kit;
Request module, for after face screen locking application installation, the screen locking to be forbidden in the transmission of Xiang Suoshu operating system The inhibition request of component;
The disabled module 110 after receiving the inhibition request specifically for the operating system, forbids the lock The screen locking function of screen assembly.
In some embodiments, the disabled module 110, after receiving inhibition request, institute is forbidden in display State the prompt information of screen locking component;Detection acts on the user's operation of the prompt information;If the user's operation confirmation is forbidden The screen locking function of the screen locking component forbids the screen locking function of the screen locking component.
In some embodiments, described device further include:
Display module, for being unlocked in the face during acquiring the facial image or carrying out face unlock At least partly region at interface shows promotion message.
In some embodiments, described device further include:
Identification module identifies the acquisition target for obtaining the second detection feature based on facial image detection Identity information;
Determining module is used for identity-based information, determines the interested promotion message of the acquisition target, In, the number of the second detection feature is less than the Characteristic Number detected needed for face unlock.
Several specific examples are provided below in conjunction with above-mentioned any embodiment:
Example 1:
Do not have the case where face unlocking function for veteran's machine, it is desirable to be able to not have by face unblock app The old money mobile phone of face unlocking function could be used that face unlocking function.By face unblock app, it can be mounted on and not have people On the mobile phone of face unlocking function, so that the mobile phone for installing the app, which only passes through front camera, can be achieved with face unlocking function.
Multi-orientation Face acquisition in total 5 directions (positive face, positive face are bowed, positive face comes back, to the left in no time, to the right in no time), There are 4 dimension values in each direction:
It scores (Score): acquisition face characteristic value score;
Rotate (Roll): face front rotates dimension values;
It swings (Yaw): face left-right rotation dimension values;
Nod (Pitch): face new line is nodded dimension values.
It acquires in data, camera meeting multiple images of Quick Acquisition, face characteristic value fractional value is all just assert on 0.9 It is correct characteristic value, one of the wherein highest scoring bottom library picture as the direction can be selected.The directive number of dimensions of institute Value is all in -10 to 10 range of a reference value.
The face characteristic value fractional value is higher, then it represents that face characteristic value on the current ground library picture for acquiring and being arranged Matching degree is higher.
It is a reference value of judgement below:
Positive face:
Roll=ayaw=b1, face right-hand rotation data are positive, and left-hand rotation data are negative;
The value of pitch=c1, the then pitch of bowing are 10, and the value of new line pitch is -10;;
Specifically such as, positive face is bowed:
Roll=a,
Yaw=b1,
Pitch=c2;C2 is different from c1;
Positive face comes back:
Roll=a,
Yaw=b1,
Pitch=c3.
To the left in no time:
Roll=a,
Yaw=-b2,
Pitch=c1.
To the right in no time:
Roll=a,
Yaw=b3, b3 are different from b1 and b2;
Pitch=c1.
In this example, since roll is face just facing towards camera, neck is bent so that face is close to or far from shoulder Wing, at this point, camera still can completely collect face, therefore the value of roll can not have to detection by assignment come real It is existing;For example, the value of a, a can be any number.
In further embodiments, electronic equipment can also be detected by modes such as image analyses, and will test Angle value be assigned to roll.
In some cases, b1, b2 and b3 can be 3 fixed values, the axis to swing, if current face not put by left and right Dynamic then yaw is b1, if left direction is swung, yaw b2, yaw is b3 if right direction is swung.
In another case, b1 is fixed value, b2 and b3 be according to the amplitude to swing in value range dynamic Determining value.For example, the value range of b2 and b3 be -10 to 10 between, the value of b1 is fixed as 0, then the value range of b2 can for - Between 10 to 0, and the value range of b3 can be between 0 to 10.
In some cases, c1, c2 and c3 can be 3 fixed values, come back the axis bowed, if current face do not come back and The then yaw that bows is c1, and yaw is c2 if bowing, if new line yaw is c3.
In another case, c1 is fixed value, and c2 and c3 are according to the amplitude the bowed dynamic in value range that comes back Determining value.For example, the value range of c2 and c3 be -10 to 10 between, the value of c1 is fixed as 0, then the value range of c2 can for - Between 10 to 0, and the value range of c3 can be between 0 to 10.
As shown in figure 5, the present embodiment provides a kind of electronic equipment, comprising:
Image Acquisition mould group;
Memory;
Processor handles mould group with described image and memory is connect, for being stored in the memory by executing Computer executable instructions control described image acquisition mould group Image Acquisition, and realize the lock that aforementioned any embodiment provides Shield processing method, for example, one or more of method as shown in Figure 1 to Figure 3.
It may include various cameras that described image, which acquires mould group, for example, monocular cam, for another example the preposition of mobile phone is taken the photograph As head.The Image Acquisition mould group can acquire various images, for example, facial image above-mentioned.
The memory can be various types of memories, can be random access memory, read-only memory, flash memory etc..It is described to deposit Reservoir can be used for information storage, for example, storage computer executable instructions etc..The computer executable instructions can be various journeys Sequence instruction, for example, objective program instruction and/or source program instruction etc..
The processor can be various types of processors, for example, central processing unit, microprocessor, Digital Signal Processing Device, programmable array, digital signal processor, specific integrated circuit or image processor etc..
The processor can be connect by bus with the memory.The bus can be IC bus etc..
In some embodiments, the terminal device may also include that communication interface, the communication interface can include: network connects Mouthful, for example, lan interfaces, dual-mode antenna etc..The communication interface is equally connected to the processor, and can be used in information receipts Hair.
In some embodiments, the terminal device further includes man-machine interactive interface, for example, the man-machine interactive interface can Including various input-output equipment, for example, keyboard, touch screen etc..
The embodiment of the present application provides a kind of computer storage medium, and the computer storage medium is stored with computer can Execute code;After the computer-executable code is performed, the lock that aforementioned one or more technical solutions provide can be realized Shield processing method, for example, one or more of method as shown in Figure 1 to Figure 3.
The storage medium includes: movable storage device, read-only memory (ROM, Read-Only Memory), deposits at random The various media that can store program code such as access to memory (RAM, Random Access Memory), magnetic or disk. The storage medium can be non-moment storage medium.
The embodiment of the present application provides a kind of computer program product, and described program product includes computer executable instructions; After the computer executable instructions are performed, aforementioned any screen locking processing method for implementing to provide can be realized, for example, as schemed 1 one or more of to method shown in Fig. 3.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing module, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, it is read-only Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or The various media that can store program code such as person's CD.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of screen locking processing method characterized by comprising
Forbid the screen locking function of screen locking component, wherein the screen locking component is that the lock is executed in the operating system of electronic equipment Shield the functional unit of function;
If meeting screen locking condition, the face screen locking application installed in Xiang Suoshu electronic equipment sends screen locking instruction;
Using face screen locking application substitution screen locking component, the electronic equipment screen locking operation is executed;
If meeting unlocking condition, the face screen locking applications trigger man face image acquiring mould group acquires facial image and according to acquisition Facial image execute face unlock operation.
2. the method according to claim 1, wherein if described meet unlocking condition, the face screen locking application It triggers man face image acquiring mould group acquisition facial image and face unlock operation is executed according to the facial image of acquisition, comprising:
Face datection is carried out to the facial image, obtains the first detection feature;
According to the matching result of the first detection feature and default feature, determine whether face verification passes through;
If the face verification passes through, the face screen locking application is closed the locking screen interface that itself is provided and is shown by the screen locking The system interface of interface covering or the application interface other application of other application.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
If the facial image currently acquired detects specific characteristic, the first prompt of output not successfully
After exporting first prompt, man face image acquiring mould group described in the face screen locking application control resurveys people Face image.
4. according to the method described in claim 3, it is characterized in that, first prompt is for prompting acquisition target adjustment and institute State the relative position between man face image acquiring mould group.
5. according to the described in any item methods of claim 2 to 4, which is characterized in that the method also includes:
The face screen locking is applied in the second prompt of locking screen interface output;
The man face image acquiring mould group acquires multiple described facial images;
According to facial image described in multiple, determine whether the changing rule of the predetermined portions of the acquisition target mentions with described second The suggestion content shown is adapted;
If the face verification passes through, the locking screen interface itself provided is closed in the face screen locking application, comprising:
If by the face verification and the changing rule is adapted with the suggestion content, the face screen locking application is closed The locking screen interface that itself is provided.
6. method according to any one of claims 1 to 5, which is characterized in that the method also includes:
The face screen locking application is installed in the electronic equipment based on the installation kit;
After face screen locking application installation, Xiang Suoshu operating system sends the inhibition request for forbidding the screen locking component;
The screen locking function of forbidding screen locking component, comprising:
After the operating system receives the inhibition request, forbid the screen locking function of the screen locking component.
7. method according to any one of claims 1 to 6, which is characterized in that the method also includes:
During acquiring the facial image or carrying out face unlock, in at least partly region of the face unlock interface Show promotion message.
8. a kind of screen locking processing unit characterized by comprising
Disabled module, for forbidding the screen locking function of screen locking component, wherein the screen locking component is the operating system of electronic equipment The interior functional unit for executing the screen locking function;
Sending module, if the face screen locking application installed in Xiang Suoshu electronic equipment sends screen locking and refers to for meeting screen locking condition It enables;
Execution module, for executing the electronic equipment screen locking operation using face screen locking application substitution screen locking component;
Unlocked state, if for meeting unlocking condition, the face screen locking applications trigger man face image acquiring mould group acquires face Image simultaneously executes face unlock operation according to the facial image of acquisition.
9. a kind of electronic equipment, comprising:
Image Acquisition mould group;
Memory;
Processor handles mould group with described image and memory is connect, based on being stored on the memory by execution Calculation machine executable instruction controls the Image Acquisition of described image acquisition mould group, and realizes the side that any one of claim 1 to 7 provides Method.
10. a kind of computer storage medium, the computer storage medium is stored with computer executable instructions;The computer After executable instruction is executed by processor, the method that any one of claim 1 to 7 provides can be realized.
CN201910126612.8A 2019-02-20 2019-02-20 Screen locking processing method and device, electronic equipment and storage medium Active CN109819114B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910126612.8A CN109819114B (en) 2019-02-20 2019-02-20 Screen locking processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910126612.8A CN109819114B (en) 2019-02-20 2019-02-20 Screen locking processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109819114A true CN109819114A (en) 2019-05-28
CN109819114B CN109819114B (en) 2021-11-30

Family

ID=66607031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910126612.8A Active CN109819114B (en) 2019-02-20 2019-02-20 Screen locking processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109819114B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443213A (en) * 2019-08-12 2019-11-12 北京比特大陆科技有限公司 Type of face detection method, object detection method and device
CN110995917A (en) * 2019-10-22 2020-04-10 华为技术有限公司 Screen locking and unlocking method and mobile terminal
CN112749363A (en) * 2020-02-27 2021-05-04 腾讯科技(深圳)有限公司 Network advertisement publishing and acquiring method, device, storage medium and computer equipment
CN113158164A (en) * 2021-05-20 2021-07-23 读书郎教育科技有限公司 Android student tablet management and control application method
CN113390227A (en) * 2021-05-26 2021-09-14 深圳Tcl新技术有限公司 Refrigerator control method and device, computer readable storage medium and electronic equipment
WO2021259264A1 (en) * 2020-06-22 2021-12-30 深圳市万普拉斯科技有限公司 Screen display method and apparatus, terminal, and computer-readable storage medium
CN112749363B (en) * 2020-02-27 2024-04-26 腾讯科技(深圳)有限公司 Network advertisement publishing and acquiring method and device, storage medium and computer equipment

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101788880A (en) * 2010-01-08 2010-07-28 张盛毅 Screen locking method of hand-held equipment
CN103064590A (en) * 2012-12-25 2013-04-24 天津三星通信技术研究有限公司 Control method and system for closing running programs of mobile terminal
CN103617385A (en) * 2013-11-27 2014-03-05 福州瑞芯微电子有限公司 Terminal and method for unlocking screen
CN105117138A (en) * 2015-09-28 2015-12-02 北京金山安全软件有限公司 Method and device for shielding screen locking of operating system and mobile terminal
CN105389503A (en) * 2014-08-18 2016-03-09 北京壹人壹本信息科技有限公司 Method and system for preventing lock screen applications and mobile terminal
CN105718874A (en) * 2016-01-18 2016-06-29 北京天诚盛业科技有限公司 Method and device of in-vivo detection and authentication
CN105740688A (en) * 2016-02-01 2016-07-06 腾讯科技(深圳)有限公司 Unlocking method and device
CN106203028A (en) * 2016-06-28 2016-12-07 北京金山安全软件有限公司 Method and device for setting screen locking password and electronic equipment
CN106778454A (en) * 2015-11-25 2017-05-31 腾讯科技(深圳)有限公司 The method and apparatus of recognition of face
CN107301099A (en) * 2017-06-28 2017-10-27 北京金山安全软件有限公司 Method and device for processing screen locking interface message and electronic equipment
CN108090339A (en) * 2017-12-28 2018-05-29 上海闻泰电子科技有限公司 Tripper, method and electronic equipment based on recognition of face
CN108229120A (en) * 2017-09-07 2018-06-29 北京市商汤科技开发有限公司 Face unlock and its information registering method and device, equipment, program, medium
CN108288046A (en) * 2018-01-31 2018-07-17 广东欧珀移动通信有限公司 Solve lock control method and Related product
US20180211024A1 (en) * 2011-03-16 2018-07-26 Apple Inc. Locking and unlocking a mobile device using facial recognition
CN108875331A (en) * 2017-08-01 2018-11-23 北京旷视科技有限公司 Face unlocking method, device and system and storage medium
CN108900700A (en) * 2018-06-04 2018-11-27 北京大学 Authentication method and system based on the double verification that recognition of face and sight position
CN108959857A (en) * 2018-06-12 2018-12-07 Oppo广东移动通信有限公司 Application program launching control method, device, electronic equipment and storage medium
CN109359458A (en) * 2018-10-19 2019-02-19 北京小米移动软件有限公司 Using unlocking method, device and computer readable storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101788880A (en) * 2010-01-08 2010-07-28 张盛毅 Screen locking method of hand-held equipment
US20180211024A1 (en) * 2011-03-16 2018-07-26 Apple Inc. Locking and unlocking a mobile device using facial recognition
CN103064590A (en) * 2012-12-25 2013-04-24 天津三星通信技术研究有限公司 Control method and system for closing running programs of mobile terminal
CN103617385A (en) * 2013-11-27 2014-03-05 福州瑞芯微电子有限公司 Terminal and method for unlocking screen
CN105389503A (en) * 2014-08-18 2016-03-09 北京壹人壹本信息科技有限公司 Method and system for preventing lock screen applications and mobile terminal
CN105117138A (en) * 2015-09-28 2015-12-02 北京金山安全软件有限公司 Method and device for shielding screen locking of operating system and mobile terminal
CN106778454A (en) * 2015-11-25 2017-05-31 腾讯科技(深圳)有限公司 The method and apparatus of recognition of face
CN105718874A (en) * 2016-01-18 2016-06-29 北京天诚盛业科技有限公司 Method and device of in-vivo detection and authentication
CN105740688A (en) * 2016-02-01 2016-07-06 腾讯科技(深圳)有限公司 Unlocking method and device
CN106203028A (en) * 2016-06-28 2016-12-07 北京金山安全软件有限公司 Method and device for setting screen locking password and electronic equipment
CN107301099A (en) * 2017-06-28 2017-10-27 北京金山安全软件有限公司 Method and device for processing screen locking interface message and electronic equipment
CN108875331A (en) * 2017-08-01 2018-11-23 北京旷视科技有限公司 Face unlocking method, device and system and storage medium
CN108229120A (en) * 2017-09-07 2018-06-29 北京市商汤科技开发有限公司 Face unlock and its information registering method and device, equipment, program, medium
CN108090339A (en) * 2017-12-28 2018-05-29 上海闻泰电子科技有限公司 Tripper, method and electronic equipment based on recognition of face
CN108288046A (en) * 2018-01-31 2018-07-17 广东欧珀移动通信有限公司 Solve lock control method and Related product
CN108900700A (en) * 2018-06-04 2018-11-27 北京大学 Authentication method and system based on the double verification that recognition of face and sight position
CN108959857A (en) * 2018-06-12 2018-12-07 Oppo广东移动通信有限公司 Application program launching control method, device, electronic equipment and storage medium
CN109359458A (en) * 2018-10-19 2019-02-19 北京小米移动软件有限公司 Using unlocking method, device and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
西西软件园: "vivo人脸解锁1.2.03", 《HTTPS://M.CR173.COM/X/730013》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443213A (en) * 2019-08-12 2019-11-12 北京比特大陆科技有限公司 Type of face detection method, object detection method and device
CN110995917A (en) * 2019-10-22 2020-04-10 华为技术有限公司 Screen locking and unlocking method and mobile terminal
CN112749363A (en) * 2020-02-27 2021-05-04 腾讯科技(深圳)有限公司 Network advertisement publishing and acquiring method, device, storage medium and computer equipment
CN112749363B (en) * 2020-02-27 2024-04-26 腾讯科技(深圳)有限公司 Network advertisement publishing and acquiring method and device, storage medium and computer equipment
WO2021259264A1 (en) * 2020-06-22 2021-12-30 深圳市万普拉斯科技有限公司 Screen display method and apparatus, terminal, and computer-readable storage medium
CN113158164A (en) * 2021-05-20 2021-07-23 读书郎教育科技有限公司 Android student tablet management and control application method
CN113390227A (en) * 2021-05-26 2021-09-14 深圳Tcl新技术有限公司 Refrigerator control method and device, computer readable storage medium and electronic equipment

Also Published As

Publication number Publication date
CN109819114B (en) 2021-11-30

Similar Documents

Publication Publication Date Title
CN109819114A (en) Screen locking processing method and processing device, electronic equipment and storage medium
TWI668588B (en) Method and device for user identity verification
US20230186686A1 (en) Liveness detection
EP3196801B1 (en) Face recognition method, device and computer readable storage medium
KR101242390B1 (en) Method, apparatus and computer-readable recording medium for identifying user
CN107832670B (en) Face recognition method and related product
CN107808127B (en) Face recognition method and related product
TW201712584A (en) Electronic device access control using biometric technologies
JP2017530457A (en) Identity authentication method and apparatus, terminal and server
CN109886697A (en) Method, apparatus and electronic equipment are determined based on the other operation of expression group
WO2015014128A1 (en) Authentication method for wearable device, and wearable device
CN107408167A (en) Perform the seamless certification of user
US20220092164A1 (en) Machine learning lite
US20140133713A1 (en) Method, Apparatus, and Computer-Readable Recording Medium for Authenticating a User
CN108734838B (en) Intelligent lock with video-based biological feature verification device
KR20170046448A (en) Method and device for complex authentication
CN106295290B (en) Method, device and system for generating authentication information based on fingerprint information
CN105184133B (en) A kind of method for authenticating, device and corresponding mobile terminal
CN108804006A (en) For the unlocking method of wearable device, device, equipment and storage medium
CN115087973A (en) System and method for distinguishing user-, motion-, and device-specific features recorded in motion sensor data
US20170243043A1 (en) Method and system for controlling an electronic device
KR102082418B1 (en) Electronic device and method for controlling the same
WO2018224433A1 (en) Method for authenticating a first user and corresponding first device and system
JP2019066918A (en) Authentication system, articles, and program
CN103902865A (en) Information processing method and electronic 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
GR01 Patent grant
GR01 Patent grant