CN109558719A - Unlocking method and terminal - Google Patents

Unlocking method and terminal Download PDF

Info

Publication number
CN109558719A
CN109558719A CN201910003991.1A CN201910003991A CN109558719A CN 109558719 A CN109558719 A CN 109558719A CN 201910003991 A CN201910003991 A CN 201910003991A CN 109558719 A CN109558719 A CN 109558719A
Authority
CN
China
Prior art keywords
unlock
information
latching mode
usage scenario
current
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
CN201910003991.1A
Other languages
Chinese (zh)
Other versions
CN109558719B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201910003991.1A priority Critical patent/CN109558719B/en
Publication of CN109558719A publication Critical patent/CN109558719A/en
Application granted granted Critical
Publication of CN109558719B publication Critical patent/CN109558719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints

Abstract

The present invention provides a kind of unlocking method and terminal, by the unlock trigger information for receiving user's input;Obtain the usage scenario information of the terminal;According to the usage scenario information, current latching mode is determined;The corresponding prompt information of the current latching mode is shown to user, and it is unlocked with the current latching mode, to according to current usage scenario, determination is the latching mode or the corresponding latching mode of switching using default, improve the unlock efficiency of user, the accuracy and reliability unlocked under different usage scenarios is improved, user experience is improved.

Description

Unlocking method and terminal
Technical field
The present invention relates to signal processing technology more particularly to a kind of unlocking methods and terminal.
Background technique
With the widely available of mobile terminal and being growing using crowd, mobile terminal using more more and more universal. In order to improve the safety of mobile terminal, mobile terminal can be locked screen automatically in long time no operations, and user needs to pass through Unlock operation could again carry out using operation mobile terminal after unlocking the same.Since user may continually need to solve Lock, it is therefore desirable to which a kind of quick, reliable unlocking method is provided.
Existing unlocking manner is usually to unlock to realize quick release with face.Such as it when user's any key of click, moves Dynamic terminal opens camera detection face, and the face that will test is matched with the pre-set face of user, if match at Function then unlocks.
However, user has very big probability unlock failure using face unlock, continuous several times unlock unsuccessfully leads to user Experience is not high, and existing unlocking method is unreliable.
Summary of the invention
The present invention provides a kind of unlocking method and terminal, improves the reliability and correctness of unlock, improves user's body It tests.
According to the first aspect of the invention, a kind of unlocking method is provided, comprising:
Receive the unlock trigger information of user's input;
Obtain the usage scenario information of terminal;
According to the usage scenario information, current latching mode is determined;
The corresponding prompt information of the current latching mode is shown to user, and is unlocked with the current latching mode.
Optionally, in a kind of possible implementation of first aspect, described according to the usage scenario information, determination is worked as Preceding latching mode, comprising:
Judge whether the usage scenario information meets switching law;
If not satisfied, the first latching mode is then determined as current latching mode;
If satisfied, the second latching mode is then determined as current latching mode.
Optionally, in the alternatively possible implementation of first aspect, first latching mode is that face unlocks mould Formula;The switching law includes whether the ambient lighting intensity of the usage scenario information instruction is less than illumination threshold;
The usage scenario information for obtaining the terminal, comprising:
Obtain the ambient lighting strength information of the terminal;
By the ambient lighting strength information, as usage scenario information.
Optionally, in another possible implementation of first aspect, first latching mode is touch screen solution mode locking Formula;Whether the switching law includes the posture inclination angle of the usage scenario information instruction within the scope of default inclination angle;
The usage scenario information for obtaining the terminal, comprising:
Obtain the posture obliquity information of the terminal;
By the posture obliquity information, as usage scenario information.
Optionally, described to show the current solution mode locking to user in another possible implementation of first aspect The corresponding prompt information of formula, and with the current latching mode unlock after, further includes:
It obtains with this unlock of the current latching mode unlock as a result, this described unlock result includes unlocking successfully Or unlock failure;
According to this described unlock result and its corresponding usage scenario information, determine new history unlock result and Its corresponding history usage scenario information;
New the history unlock result and its corresponding history usage scenario information are added in unlock historical information, Obtain updated unlock historical information;
According to the updated unlock historical information, the corresponding unlock probability of success of each history usage scenario information is determined Or unlock probability of failure;
According to the corresponding unlock probability of success of each history usage scenario information or unlock probability of failure, cut described in update Change rule.
Optionally, described to show the current solution mode locking to user in another possible implementation of first aspect The corresponding prompt information of formula, and unlocked with the current latching mode, comprising:
The corresponding unlock interface information of current latching mode is shown to user;
Receive the unlocking information corresponding with the current latching mode of user's input;
If unlocking information Template Information corresponding with the current latching mode matches, unlock;
If unlocking information Template Information corresponding with the current latching mode mismatches, it is determined that unlock failure;
Wherein, however, it is determined that unlock failure, then return execute it is described receive user input with the current latching mode pair The unlocking information answered, until the number of continuous unlock failure is greater than or equal to default switching threshold, then it is third latching mode is true It is set to current latching mode, return execution is described to show the corresponding unlock interface information of the current latching mode to user.
The second aspect of the present invention provides a kind of terminal, comprising:
Trigger module, for receiving the unlock trigger information of user's input;
Induction module, for obtaining the usage scenario information of terminal;
Switching module, for determining current latching mode according to the usage scenario information;
Unlocked state, for showing the corresponding prompt information of the current latching mode to user, and with the current solution Latching mode unlock.
Optionally, in a kind of possible implementation of second aspect, the switching module is specifically used for:
Judge whether the usage scenario information meets switching law;
If not satisfied, the first latching mode is then determined as current latching mode;
If satisfied, the second latching mode is then determined as current latching mode.
Optionally, in the alternatively possible implementation of second aspect, first latching mode is that face unlocks mould Formula;The switching law includes whether the ambient lighting intensity of the usage scenario information instruction is less than illumination threshold;
The trigger module is specifically used for:
Obtain the ambient lighting strength information of the terminal;
By the ambient lighting strength information, as usage scenario information.
Optionally, in another possible implementation of second aspect, first latching mode is touch screen solution mode locking Formula;Whether the switching law includes the posture inclination angle of the usage scenario information instruction within the scope of default inclination angle;
The trigger module is specifically used for:
Obtain the posture obliquity information of the terminal;
By the posture obliquity information, as usage scenario information.
Optionally, in another possible implementation of second aspect, further include update module, be used for:
The corresponding prompt information of the current latching mode is shown to user in the unlocked state, and with the current solution After latching mode unlock, obtain with this unlock of the current latching mode unlock as a result, this described unlock result includes It unlocks successfully or unlock fails;
According to this described unlock result and its corresponding usage scenario information, determine new history unlock result and Its corresponding history usage scenario information;
New the history unlock result and its corresponding history usage scenario information are added in unlock historical information, Obtain updated unlock historical information;
According to the updated unlock historical information, the corresponding unlock probability of success of each history usage scenario information is determined Or unlock probability of failure;
According to the corresponding unlock probability of success of each history usage scenario information or unlock probability of failure, cut described in update Change rule.
Optionally, in another possible implementation of second aspect, the unlocked state is specifically used for:
The corresponding unlock interface information of current latching mode is shown to user;
Receive the unlocking information corresponding with the current latching mode of user's input;
If unlocking information Template Information corresponding with the current latching mode matches, unlock;
If unlocking information Template Information corresponding with the current latching mode mismatches, it is determined that unlock failure;
Wherein, however, it is determined that unlock failure, then return execute it is described receive user input with the current latching mode pair The unlocking information answered, until the number of continuous unlock failure is greater than or equal to default switching threshold, then it is third latching mode is true It is set to current latching mode, return execution is described to show the corresponding unlock interface information of the current latching mode to user.
According to the third aspect of the invention we, a kind of terminal is provided, comprising: memory, processor and computer program, institute State computer program storage in the memory, the processor runs the computer program and executes first aspect present invention And the method for the various possible designs of first aspect.
According to the fourth aspect of the invention, a kind of readable storage medium storing program for executing is provided, meter is stored in the readable storage medium storing program for executing Calculation machine program, for realizing first aspect present invention and the various possibility of first aspect when the computer program is executed by processor The method of design.
A kind of unlocking method and terminal provided by the invention, by the unlock trigger information for receiving user's input;It obtains The usage scenario information of the terminal;According to the usage scenario information, current latching mode is determined;To user show described in work as The corresponding prompt information of preceding latching mode, and unlocked with the current latching mode, to be determined according to current usage scenario It is the latching mode or the corresponding latching mode of switching using default, improves the unlock efficiency of user, improve in difference Usage scenario under the accuracy and reliability that unlocks, improve user experience.
Detailed description of the invention
Fig. 1 is a kind of unlocking method application scenarios schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of unlocking method flow diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of terminal structure schematic diagram provided in an embodiment of the present invention;
Fig. 4 is another terminal structure schematic diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of hardware structural diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to Here the sequence other than those of diagram or description is implemented.
It should be appreciated that in various embodiments of the present invention, the size of the serial number of each process is not meant to execute sequence It is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention Journey constitutes any restriction.
It should be appreciated that in the present invention, " comprising " and " having " and their any deformation, it is intended that covering is not arranged His includes, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to clearly Those of list step or unit, but may include be not clearly listed or for these process, methods, product or equipment Intrinsic other step or units.
It should be appreciated that in the present invention, " multiple " refer to two or more."and/or" is only a kind of description pass Join object incidence relation, indicate may exist three kinds of relationships, for example, and/or B, can indicate: individualism A is existed simultaneously These three situations of A and B, individualism B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".It " include A, B And C ", " include A, B, C " refer to that A, B, C three include, " including A, B or C " refers to comprising A, B, C thrin, " comprising A, B and/or C " refers to comprising wantonly 1 in A, B, C three or 2 or 3 wantonly.
It should be appreciated that in the present invention, " B corresponding with A ", " B corresponding with A ", " A and B are corresponding " or " B and A It is corresponding ", it indicates that B is associated with A, B can be determined according to A.It determines that B is not meant to determine B only according to A according to A, may be used also To determine B according to A and/or other information.The matching of A and B is that the similarity of A and B is greater than or equal to preset threshold value.
Depending on context, as used in this " if " can be construed to " ... when " or " when ... " or " in response to determination " or " in response to detection ".
Technical solution of the present invention is described in detail with specifically embodiment below.These specific implementations below Example can be combined with each other, and the same or similar concept or process may be repeated no more in some embodiments.
It should be appreciated that in various embodiments of the present invention, " unlock " refers to unlock under terminal locking state, makes Terminal becomes the handover operation of operable state.Unlock can be understood as the system unlock of terminal, can also or manage simultaneously Solution is the unlocking screen for being terminal.In general, terminal system and screen are also to lock while unlocking simultaneously, therefore it is following various Unlock in embodiment can be system unlock and/or unlocking screen.
The present inventor has found in R&D process, in the weaker environment of intensity of illumination, due to rather dark figure Picture resolution is low, and user is higher using the failure rate that face unlocks.And after terminal posture inclination angle is greater than or equal to 180 °, due to User is in the state of recumbency, contact action accuracy mostly, and user is unlocked using touch screens such as gesture unlock, password unlocks The failure rate of mode is higher.Since unlocking manner is single in the prior art, cause user experience not high, existing unlocking method is not Reliably.It is a kind of unlocking method application scenarios schematic diagram provided in an embodiment of the present invention referring to Fig. 1.In order to improve unlocking method Reliability, the present invention provides unlocking method described in following various embodiments, terminal 1 as shown in Figure 1 is by using The perception and acquisition of scene information are determined and currently used scene current latching mode the most matched.Such as shown in Fig. 1, In night dim environment, intensity of illumination is lower than threshold value, and user wants to carry out terminal unlocking under such usage scenario, if still Face unlock is carried out with the face latching mode of default, then is difficult to clearly facial image, also user may be needed to light Bright place could normally identify that face successfully unlocks.And terminal 1 gets the too low usage scenario letter of illumination in embodiment illustrated in fig. 1 After breath, the face latching mode of default is switched to sliding latching mode automatically, so that the efficiency of unlock is improved, according to scene Adaptively switch latching mode, improves the accuracy and reliability unlocked under different usage scenarios, improve user Experience.It is alternatively possible to which the choice box for whether carrying out pattern switching shown before the handover, or shown after the handover to user The prompt information that latching mode has switched, to notify user to be unlocked with new latching mode to terminal.
It referring to fig. 2, is a kind of unlocking method flow diagram provided in an embodiment of the present invention, the execution of method shown in Fig. 2 Main body can be software and/or hardware device.Method shown in Fig. 2 includes step S101 to step S104, specific as follows:
S101 receives the unlock trigger information of user's input.
It is to be understood that user arbitrarily clicks the key in terminal, the unlock behaviour of triggering terminal under terminal locking state Make.Such as user presses power key, terminal screen lights and executes the present embodiment following step.It is also understood that being to be solved in default Based on latching mode in the case where the unlock of moving face, the camera of terminal obtains automatically in front of image, when getting facial image When, unlock trigger information is generated, and carry out following each steps.
S102 obtains the usage scenario information of terminal.
It is to be understood that the usage scenario information obtained is that the switching condition of latching mode of default is opposite originally with terminal It answers.It can first be determined according to the current latching mode of terminal and need the information category that obtain, further according to needing the information category Obtain the usage scenario information of terminal.
For example, current latching mode is the first latching mode, the first latching mode is face latching mode, and strong in illumination Face unlock failure rate is higher when spending low, then the information category for needing to obtain is illumination category information.Such as obtain the terminal Ambient lighting strength information;By the ambient lighting strength information, as usage scenario information.Correspondingly, the switching rule It then may is that whether the ambient lighting intensity of the usage scenario information instruction is less than illumination threshold.
In another example current latching mode is the first latching mode, first latching mode is touch screen latching mode, and eventually When the posture inclination angle at end is within the scope of 90 ° -270 °, user is likely to be to lie and faces upward posture (such as sleep) and be not easy to click screen, The failure rate of touch screen latching mode is higher, then the information category for needing to obtain is posture category information.Such as obtain the terminal Posture obliquity information;By the posture obliquity information, as usage scenario information.Correspondingly, the switching law may is that institute The posture inclination angle of usage scenario information instruction is stated whether within the scope of default inclination angle.
S103 determines current latching mode according to the usage scenario information.
Specifically, it can be and judge whether the usage scenario information meets switching law;If not satisfied, then by the first solution Latching mode is determined as current latching mode;If satisfied, the second latching mode is then determined as current latching mode.For example, first Latching mode can be face latching mode, and it can also be that other are pre- respectively that the second latching mode, which can be touch screen latching mode, The latching mode first set.
S104 shows the corresponding prompt information of the current latching mode to user, and with the current latching mode solution Lock.
Specifically, it can be terminal and show the corresponding unlock interface information of current latching mode to user;It is defeated to receive user The unlocking information corresponding with the current latching mode entered;If unlocking information mould corresponding with the current latching mode Plate information matches, then unlock;If unlocking information Template Information corresponding with the current latching mode mismatches, it is determined that Unlock failure.Template Information for example can be face template information, cipher template information etc..
Further, however, it is determined that unlock failure, then return execute it is described receive user input with the current solution mode locking The corresponding unlocking information of formula, until the number of continuous unlock failure is greater than or equal to default switching threshold and (such as unsuccessfully reaches 3 It is secondary), then third latching mode is determined as current latching mode, return execution is described to show the current latching mode to user Corresponding unlock interface information.
For example, the first latching mode is face latching mode or iris latching mode, the second latching mode is touch screen solution Latching mode, third latching mode can be understood as another solution mode locking different from face latching mode, touch screen latching mode Formula, such as speech unlocking mode either unlocked by fingerprint mode.
In an optional implementation manner, be determined as current latching mode if it is by face mode, then can be to User shows face unlock interface information;Obtain the human face image information of user's input;Judge the human face image information and pre- If face template information whether match, if then unlocking, if otherwise continuing to lock.
In an optional implementation manner, be determined as current latching mode if it is by cipher mode, then can be to User shows password unlock interface information;Obtain the password image information of user's input;Judge the password image information and pre- If cipher template information whether match, if then unlocking, if otherwise continuing to lock.Password unlock interface for example can be key Password unlock interface, or sliding password unlock interface.
In step S104 (the corresponding prompt information of the current latching mode is shown to user, and with the current unlock Mode unlock) after, can also include:
It obtains with this unlock of the current latching mode unlock as a result, this described unlock result includes unlocking successfully Or unlock failure;According to this described unlock result and its corresponding usage scenario information, new history unlock knot is determined Fruit and its corresponding history usage scenario information;By new the history unlock result and its corresponding history usage scenario letter Breath is added in unlock historical information, obtains updated unlock historical information;According to the updated unlock historical information, Determine the corresponding unlock probability of success of each history usage scenario information or unlock probability of failure;According to each history usage scenario The corresponding unlock probability of success of information or unlock probability of failure, update the switching law.
For example, it is assumed that terminal profile was updated switching law at interval of 3 days, while in the present embodiment, terminal without Whether fail by face unlock (the first latching mode), the ambient lighting strength information obtained when can all unlock each face is protected It deposits, and marks whether each face unlock succeeds.Table is first is that a kind of updated history unlock knot provided in an embodiment of the present invention Fruit and its corresponding history usage scenario Examples of information.Ambient lighting strength information in table one is history usage scenario information, Unit lux, is abbreviated as LX.
Table one
Serial number Ambient lighting strength information (LX) Whether face unlock succeeds
1 45 It is
2 81 It is
3 12 It is no
4 23 It is no
5 44 It is
6 28 It is no
7 27 It is no
8
In the present embodiment, the ambient lighting strength information that the light sensor that terminal is configured by itself obtains is located in advance Reason, by the probability of face unlock failure of the interval stats of 5lx in different ambient lighting strength ranges.Table two is that the present invention is real A kind of corresponding unlock probability of failure of updated history usage scenario information of example offer is provided.Ambient lighting intensity in table two Information is history usage scenario information.
Table two
Serial number Ambient lighting strength information (LX) Face unlock probability of failure
1 0-5 100%
2 6-10 98%
3 11-15 96%
4 16-20 88%
5 21-25 77%
6 26-30 72%
7 31-35 45%
8
Above-mentioned table with in example shown in table two, it is assumed that the pre-set switching law of terminal be " usage scenario letter Whether the ambient lighting intensity of breath instruction is less than illumination threshold 20LX ".And in updated table two, ambient lighting strength information exists When between 0-5LX, 6-10LX, 11-15LX, 16-20LX, 21-25LX and 26-30LX, the probability for unlocking failure is both greater than 70%. Illumination threshold is the threshold value constantly updated according to user's history operation data (unlock historical information), it is assumed that for determining illumination threshold The default unlock failure threshold value of value is fixed as 70%.In example shown in table one and table two, ambient lighting strength information is 0- When 30LX, the probability for unlocking failure is both greater than 70%, is all considered to be and meets switching condition.Illumination threshold should be 30LX, But illumination threshold is 20LX in current switching law.Therefore, existing switching condition is updated with newly determining switching condition, i.e., Illumination threshold is updated to 30LX.New switching law is that " whether the ambient lighting intensity of usage scenario information instruction is less than photograph Spend threshold value 30LX ".
A kind of unlocking method provided in this embodiment, by the unlock trigger information for receiving user's input;Described in acquisition The usage scenario information of terminal;According to the usage scenario information, current latching mode is determined;The current solution is shown to user The corresponding prompt information of latching mode, and unlocked with the current latching mode, so that determination is to make according to current usage scenario Still switch corresponding latching mode with the latching mode of default, improves the unlock efficiency of user, improving makes in different With the accuracy and reliability unlocked under scene, user experience is improved.
It is a kind of terminal structure schematic diagram provided in an embodiment of the present invention referring to Fig. 3, terminal 30 shown in Fig. 3 is mainly wrapped It includes:
Trigger module 31, for receiving the unlock trigger information of user's input.
Induction module 32, for obtaining the usage scenario information of terminal.
Switching module 33, for determining current latching mode according to the usage scenario information.
Unlocked state 34, for showing the corresponding prompt information of the current latching mode to user, and with described current Latching mode unlock.
The terminal of embodiment illustrated in fig. 3 accordingly can be used for executing the step in embodiment of the method shown in Fig. 2, realize former Reason is similar with technical effect, and details are not described herein again.
Optionally, the switching module 33 is specifically used for:
Judge whether the usage scenario information meets switching law;
If not satisfied, the first latching mode is then determined as current latching mode;
If satisfied, the second latching mode is then determined as current latching mode.
Optionally, first latching mode is face latching mode.The switching law includes the usage scenario letter Whether the ambient lighting intensity of breath instruction is less than illumination threshold.
The trigger module 31 is specifically used for:
Obtain the ambient lighting strength information of the terminal;By the ambient lighting strength information, believe as usage scenario Breath.
Optionally, first latching mode is touch screen latching mode.The switching law includes the usage scenario letter The posture inclination angle of instruction is ceased whether within the scope of default inclination angle.
The trigger module 31 is specifically used for:
Obtain the posture obliquity information of the terminal;By the posture obliquity information, as usage scenario information.
It referring to fig. 4, is another terminal structure schematic diagram provided in an embodiment of the present invention, terminal 30 shown in Fig. 4 is also wrapped Update module 35 is included, is used for:
The corresponding prompt information of the current latching mode is shown to user in the unlocked state, and with the current solution After latching mode unlock, obtain with this unlock of the current latching mode unlock as a result, this described unlock result includes It unlocks successfully or unlock fails;
According to this described unlock result and its corresponding usage scenario information, determine new history unlock result and Its corresponding history usage scenario information;
New the history unlock result and its corresponding history usage scenario information are added in unlock historical information, Obtain updated unlock historical information;
According to the updated unlock historical information, the corresponding unlock probability of success of each history usage scenario information is determined Or unlock probability of failure;
According to the corresponding unlock probability of success of each history usage scenario information or unlock probability of failure, cut described in update Change rule.
Optionally, the unlocked state 34, is specifically used for:
The corresponding unlock interface information of current latching mode is shown to user;
Receive the unlocking information corresponding with the current latching mode of user's input;
If unlocking information Template Information corresponding with the current latching mode matches, unlock;
If unlocking information Template Information corresponding with the current latching mode mismatches, it is determined that unlock failure;
Wherein, however, it is determined that unlock failure, then return execute it is described receive user input with the current latching mode pair The unlocking information answered, until the number of continuous unlock failure is greater than or equal to default switching threshold, then it is third latching mode is true It is set to current latching mode, return execution is described to show the corresponding unlock interface information of the current latching mode to user.
It is a kind of hardware structural diagram of terminal provided in an embodiment of the present invention referring to Fig. 5, which includes: place Manage device 51, memory 52 and computer program;Wherein
Memory 52, for storing the computer program, which can also be flash memory (flash).The calculating Machine program is, for example, to realize application program, the functional module etc. of the above method.
Processor 51, for executing the computer program of the memory storage, to realize, terminal is executed in the above method Each step.It specifically may refer to the associated description in previous methods embodiment.
Optionally, memory 52 can also be integrated with processor 51 either independent.
When the memory 52 is independently of the device except processor 51, the terminal can also include:
Bus 53, for connecting the memory 52 and processor 51.
The present invention also provides a kind of readable storage medium storing program for executing, computer program is stored in the readable storage medium storing program for executing, it is described The method provided when computer program is executed by processor for realizing above-mentioned various embodiments.
Wherein, readable storage medium storing program for executing can be computer storage medium, be also possible to communication media.Communication media includes just In from a place to any medium of another place transmission computer program.Computer storage medium can be general or special Any usable medium enough accessed with computer capacity.For example, readable storage medium storing program for executing is coupled to processor, to enable a processor to Information is read from the readable storage medium storing program for executing, and information can be written to the readable storage medium storing program for executing.Certainly, readable storage medium storing program for executing can also be with It is the component part of processor.Processor and readable storage medium storing program for executing can be located at specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC) in.In addition, the ASIC can be located in user equipment.Certainly, Processor and readable storage medium storing program for executing can also be used as discrete assembly and be present in communication equipment.Readable storage medium storing program for executing can be read-only Memory (ROM), random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
The present invention also provides a kind of program product, the program product include execute instruction, this execute instruction be stored in it is readable In storage medium.At least one processor of equipment can read this from readable storage medium storing program for executing and execute instruction, at least one processing Device executes this and executes instruction so that equipment implements the method that above-mentioned various embodiments provide.
In above-mentioned terminal or the embodiment of server, it should be appreciated that processor can be central processing unit (English: Central Processing Unit, referred to as: CPU), can also be other general processors, digital signal processor (English: Digital Signal Processor, referred to as: DSP), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to Any conventional processor etc..Hardware processor can be embodied directly in conjunction with the step of the method disclosed in the present to have executed At, or in processor hardware and software module combination execute completion.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (12)

1. a kind of unlocking method characterized by comprising
Receive the unlock trigger information of user's input;
Obtain the usage scenario information of terminal;
According to the usage scenario information, current latching mode is determined;
The corresponding prompt information of the current latching mode is shown to user, and is unlocked with the current latching mode.
2. the method according to claim 1, wherein described according to the usage scenario information, determining current solution Latching mode, comprising:
Judge whether the usage scenario information meets switching law;
If not satisfied, the first latching mode is then determined as current latching mode;
If satisfied, the second latching mode is then determined as current latching mode.
3. according to the method described in claim 2, it is characterized in that, first latching mode is face latching mode;It is described Switching law includes whether the ambient lighting intensity of the usage scenario information instruction is less than illumination threshold;
The usage scenario information for obtaining the terminal, comprising:
Obtain the ambient lighting strength information of the terminal;
By the ambient lighting strength information, as usage scenario information.
4. according to the method described in claim 2, it is characterized in that, first latching mode is touch screen latching mode;It is described Whether switching law includes the posture inclination angle of the usage scenario information instruction within the scope of default inclination angle;
The usage scenario information for obtaining the terminal, comprising:
Obtain the posture obliquity information of the terminal;
By the posture obliquity information, as usage scenario information.
5. according to any method of claim 2 to 4, which is characterized in that described to show the current solution mode locking to user The corresponding prompt information of formula, and with the current latching mode unlock after, further includes:
Acquisition is with this unlock of the current latching mode unlock as a result, this described unlock result includes unlocking successfully or solving Lock failure;
According to this described unlock result and its corresponding usage scenario information, new history unlock result and its right is determined The history usage scenario information answered;
By new the history unlock result and its corresponding history usage scenario information, it is added in unlock historical information, obtains Updated unlock historical information;
According to the updated unlock historical information, the corresponding unlock probability of success of each history usage scenario information or solution are determined Lock probability of failure;
According to the corresponding unlock probability of success of each history usage scenario information or unlock probability of failure, updates the switching and advise Then.
6. the method according to claim 1, wherein described show that the current latching mode is corresponding to user Prompt information, and unlocked with the current latching mode, comprising:
The corresponding unlock interface information of current latching mode is shown to user;
Receive the unlocking information corresponding with the current latching mode of user's input;
If unlocking information Template Information corresponding with the current latching mode matches, unlock;
If unlocking information Template Information corresponding with the current latching mode mismatches, it is determined that unlock failure;
Wherein, however, it is determined that unlock failure then returns and executes the corresponding with the current latching mode of the reception user input Third latching mode is then determined as by unlocking information until the number of continuous unlock failure is greater than or equal to default switching threshold Current latching mode, return execution is described to show the corresponding unlock interface information of the current latching mode to user.
7. a kind of terminal characterized by comprising
Trigger module, for receiving the unlock trigger information of user's input;
Induction module, for obtaining the usage scenario information of terminal;
Switching module, for determining current latching mode according to the usage scenario information;
Unlocked state, for showing the corresponding prompt information of the current latching mode to user, and with the current solution mode locking Formula unlock.
8. terminal according to claim 7, which is characterized in that the switching module is specifically used for:
Judge whether the usage scenario information meets switching law;
If not satisfied, the first latching mode is then determined as current latching mode;
If satisfied, the second latching mode is then determined as current latching mode.
9. terminal according to claim 8, which is characterized in that first latching mode is face latching mode;It is described Switching law includes whether the ambient lighting intensity of the usage scenario information instruction is less than illumination threshold;
The trigger module is specifically used for:
Obtain the ambient lighting strength information of the terminal;
By the ambient lighting strength information, as usage scenario information.
10. terminal according to claim 8, which is characterized in that first latching mode is touch screen latching mode;It is described Whether switching law includes the posture inclination angle of the usage scenario information instruction within the scope of default inclination angle;
The trigger module is specifically used for:
Obtain the posture obliquity information of the terminal;
By the posture obliquity information, as usage scenario information.
11. according to any terminal of claim 8 to 10, which is characterized in that further include update module, be used for:
The corresponding prompt information of the current latching mode is shown to user in the unlocked state, and with the current solution mode locking After formula unlock, obtain with this unlock of the current latching mode unlock as a result, this described unlock result includes unlock Success or unlock failure;
According to this described unlock result and its corresponding usage scenario information, new history unlock result and its right is determined The history usage scenario information answered;
By new the history unlock result and its corresponding history usage scenario information, it is added in unlock historical information, obtains Updated unlock historical information;
According to the updated unlock historical information, the corresponding unlock probability of success of each history usage scenario information or solution are determined Lock probability of failure;
According to the corresponding unlock probability of success of each history usage scenario information or unlock probability of failure, updates the switching and advise Then.
12. a kind of terminal characterized by comprising memory, processor and computer program, the computer program are deposited In the memory, the processor runs the computer program perform claim and requires 1 to 6 any unlock side for storage Method.
CN201910003991.1A 2019-01-03 2019-01-03 Unlocking method and terminal Active CN109558719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910003991.1A CN109558719B (en) 2019-01-03 2019-01-03 Unlocking method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910003991.1A CN109558719B (en) 2019-01-03 2019-01-03 Unlocking method and terminal

Publications (2)

Publication Number Publication Date
CN109558719A true CN109558719A (en) 2019-04-02
CN109558719B CN109558719B (en) 2020-08-18

Family

ID=65872515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910003991.1A Active CN109558719B (en) 2019-01-03 2019-01-03 Unlocking method and terminal

Country Status (1)

Country Link
CN (1) CN109558719B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505345A (en) * 2019-08-23 2019-11-26 中国联合网络通信集团有限公司 A kind of terminal unlocking mode switch managing method, terminal and switching server
CN111723350A (en) * 2020-05-11 2020-09-29 口碑(上海)信息技术有限公司 Push method, device and equipment for identifying mode

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8872618B2 (en) * 2012-04-09 2014-10-28 Nai-Chien Chang Unlocking method for electronic device
WO2015014075A1 (en) * 2013-08-01 2015-02-05 Spreadtrum Communications (Shanghai) Co., Ltd. A method and apparatus for an alarm for a mobile device
CN104392155A (en) * 2014-09-23 2015-03-04 深圳市金立通信设备有限公司 Terminal unlocking method
CN104933337A (en) * 2015-05-22 2015-09-23 广东欧珀移动通信有限公司 Method for realizing fingerprint unlocking and intelligent terminal
CN105635450A (en) * 2015-12-25 2016-06-01 努比亚技术有限公司 Mobile terminal unlocking method and device
CN106056072A (en) * 2016-05-27 2016-10-26 广东欧珀移动通信有限公司 Fingerprint unlocking method and device
CN106055959A (en) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 Unlocking method and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8872618B2 (en) * 2012-04-09 2014-10-28 Nai-Chien Chang Unlocking method for electronic device
WO2015014075A1 (en) * 2013-08-01 2015-02-05 Spreadtrum Communications (Shanghai) Co., Ltd. A method and apparatus for an alarm for a mobile device
CN104392155A (en) * 2014-09-23 2015-03-04 深圳市金立通信设备有限公司 Terminal unlocking method
CN104933337A (en) * 2015-05-22 2015-09-23 广东欧珀移动通信有限公司 Method for realizing fingerprint unlocking and intelligent terminal
CN105635450A (en) * 2015-12-25 2016-06-01 努比亚技术有限公司 Mobile terminal unlocking method and device
CN106056072A (en) * 2016-05-27 2016-10-26 广东欧珀移动通信有限公司 Fingerprint unlocking method and device
CN106055959A (en) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 Unlocking method and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505345A (en) * 2019-08-23 2019-11-26 中国联合网络通信集团有限公司 A kind of terminal unlocking mode switch managing method, terminal and switching server
CN110505345B (en) * 2019-08-23 2022-01-21 中国联合网络通信集团有限公司 Terminal unlocking mode switching management method, terminal and switching server
CN111723350A (en) * 2020-05-11 2020-09-29 口碑(上海)信息技术有限公司 Push method, device and equipment for identifying mode
CN111723350B (en) * 2020-05-11 2024-02-02 口碑(上海)信息技术有限公司 Method, device and equipment for pushing recognition mode

Also Published As

Publication number Publication date
CN109558719B (en) 2020-08-18

Similar Documents

Publication Publication Date Title
CN108701495B (en) Method for integrating and providing data collected from a plurality of devices and electronic device for implementing the method
EP2919165B1 (en) Method and device for clustering
CN102970411A (en) Smart phone screen locking and unlocking control method based on face detection and smart phone
CN106250837A (en) The recognition methods of a kind of video, device and system
CN109086729B (en) Communication behavior detection method, device, equipment and storage medium
CN110363076A (en) Personal information correlating method, device and terminal device
CN104462907B (en) Solve lock control method and device, electronic equipment
CN109409902A (en) Risk subscribers recognition methods, device, computer equipment and storage medium
CN104504868B (en) Device and method for monitoring bad habits of terminal device user
CN105320921B (en) Eyes localization method and eyes positioning device
CN107370989A (en) Target seeking method and server
CN109558719A (en) Unlocking method and terminal
CN104113571A (en) Data collision processing method and device
CN110443224A (en) Page turning detection method, device, electronic equipment and storage medium
CN108920121A (en) Control method, device and computer readable storage medium based on multi-screen terminal
CN110514181A (en) A kind of electronic equipment localization method and device
CN109976615A (en) Fingerprint image processing method and relevant apparatus
CN104834906B (en) A kind of personnel identity confirmation method, device and mobile terminal
CN109492590A (en) A kind of distance detection method, distance detection device and terminal device
CN106354416B (en) False touch prevention method and device
CN105208337B (en) Image processing method and device based on combination
CN109086427A (en) Data comparison method, apparatus, computer equipment and storage medium
CN112446845A (en) Map construction method, map construction device, SLAM system, and storage medium
KR20170014919A (en) Electronic apparatus and method for detecting skin condition in electronic apparatus
EP4307087A1 (en) Gesture recognition method and apparatus, device, and medium

Legal Events

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