CN106022085B - A kind of terminal unlock method and its terminal - Google Patents

A kind of terminal unlock method and its terminal Download PDF

Info

Publication number
CN106022085B
CN106022085B CN201610338019.6A CN201610338019A CN106022085B CN 106022085 B CN106022085 B CN 106022085B CN 201610338019 A CN201610338019 A CN 201610338019A CN 106022085 B CN106022085 B CN 106022085B
Authority
CN
China
Prior art keywords
threshold
preset
parameter value
environmental parameter
track
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.)
Active
Application number
CN201610338019.6A
Other languages
Chinese (zh)
Other versions
CN106022085A (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.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201610338019.6A priority Critical patent/CN106022085B/en
Publication of CN106022085A publication Critical patent/CN106022085A/en
Application granted granted Critical
Publication of CN106022085B publication Critical patent/CN106022085B/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/36User authentication by graphic or iconic representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of terminal unlock method, this method includes the unlocking track for receiving user and inputting on terminal touch device;Received unlocking track and preset unlocking track are compared and obtain track similarity;Detecting at least one current environment parameter of terminal simultaneously obtains corresponding environmental parameter value;According to the environmental parameter value of detecting and corresponding preset parameter value according to default first rule setting track similarity threshold;Judge track similarity whether be more than setting track similarity threshold;If being more than, terminal is unlocked.The track similarity threshold that the embodiment of the present invention is determined according to the environmental parameter by acquisition, and environmental parameter is for indicating whether terminal is in legal use state, therefore improve detection terminal user whether the accuracy of the testing result of legitimate user, and then unlock safety is improved, the embodiment of the invention also discloses a kind of terminals.

Description

A kind of terminal unlock method and its terminal
Technical field
The present invention relates to electronic technology field more particularly to a kind of terminal unlock methods and its terminal.
Background technique
In recent years quickly grow such as smart phone, plate etc., the especially smart phone of intelligent terminal are that people's life must not The tool that can lack.User would generally include the privacy information inside the terminals such as mobile phone by way of setting sealing, commonly Unlocking manner is that sliding trace is first arranged as password in user, need to input sliding trace again if looking on the bright side of things after screen locking and locking user, if The sliding trace of input matches with pre-set sliding trace, then it is assumed that the terminal is that user is all, unlocks terminal, but real The sliding trace that user inputs each time on border all may be different, if the sliding trace and pre-set sliding rail of input Mark matching degree is higher, can unlock, if but because hand shaking or other reasons lead to sliding trace and pre-set sliding trace Slightly lower both the i.e. trajector deviation of matching degree it is relatively a little bigger when, can not just unlock, but the terminal is really that user is all, therefore leads Cause user experience it is bad, therefore detected by the unlocking manner terminal user whether be legitimate user testing result it is accurate Property need to be improved.
Summary of the invention
The embodiment of the present invention provides a kind of terminal unlock method and terminal, can be improved whether detection terminal user is legal The accuracy of the testing result of user, and then improve unlock safety.
On the one hand, the embodiment of the invention provides a kind of terminal unlock methods, including receive user in terminal touch device The unlocking track of upper input;Received unlocking track and preset unlocking track are compared and obtain track similarity;Detecting At least one current environment parameter of terminal simultaneously obtains corresponding environmental parameter value;According to the environmental parameter value of detecting and corresponding Preset parameter value is according to default first rule setting track similarity threshold;Judge track similarity whether be more than setting track Similarity threshold;If being more than, terminal is unlocked.
On the other hand, the embodiment of the invention provides a kind of terminal, which includes receiving unit, comparison unit, detecting Unit, setting unit, the first judging unit and unlocking unit, wherein receiving unit is for receiving user in terminal touch device The unlocking track of upper input;Comparison unit is for comparing and obtaining track received unlocking track and preset unlocking track Similarity;Detecting unit is for detecting at least one current environment parameter of terminal and obtaining corresponding environmental parameter value;Setting is single Member is for the environmental parameter value and corresponding preset parameter value according to detecting according to default first rule setting track similarity Threshold value;First judging unit be used for judge track similarity whether be more than setting track similarity threshold;Unlocking unit is used for If the first judging unit judges that track similarity is more than the track similarity threshold of setting, terminal is unlocked.
The track that terminal unlock method disclosed in the embodiment of the present invention and terminal are determined by the environmental parameter of acquisition Similarity threshold, and environmental parameter is used for indicating whether terminal is in legal use state, therefore can effectively improve detection terminal User whether the accuracy of the testing result of legitimate user, then will comparison input unlocking track and preset unlocking track and Obtained track similarity decides whether to unlock compared with the track similarity threshold determined according to environmental parameter, and then improves Unlock safety.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic flow diagram of terminal unlock method provided in an embodiment of the present invention;
Fig. 2 is the sub-process figure of Fig. 1;
Fig. 3 is the sub-process figure of Fig. 1;
Fig. 4 is the sub-process figure of Fig. 1;
Fig. 5 is a kind of grouping schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of grouping schematic diagram of setting unit of terminal provided in an embodiment of the present invention.
Fig. 7 is the grouping schematic diagram of another setting unit of terminal provided in an embodiment of the present invention.
Fig. 8 is the grouping schematic diagram of another setting unit of terminal provided in an embodiment of the present invention.
Fig. 9 is a kind of composition frame diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but be not precluded one or several other features, Entirety, step, operation, the presence or addition of element, component and/or its set.It is also understood that in this description of the invention Used term is merely for the sake of being not intended to limit the present invention for the purpose of describing particular embodiments.Such as in explanation of the invention Book and it is used in the attached claims like that, other situations unless the context is clearly specified, otherwise singular " one ", "one" and "the" are intended to include plural form.
Fig. 1 is please referred to, is a kind of schematic flow diagram for terminal unlock method that embodiment of the present invention provides, terminal unlocking Method may operate in the terminals such as smart phone (such as Android phone, IOS mobile phone), tablet computer, the embodiment of the present invention It is defined not to this.It should be noted that the unlocking method, which can be applied to terminal screen unlock, to be applied in terminal The unlock of the passwords such as application program, file, the embodiment of the present invention is to this without limiting.The unlocking method includes S101~S106.
S101 receives the unlocking track that user inputs on terminal touch device.Specifically, touch device is used for for user Carry out click or slide, and touch device can high-frequency detection go out operating position of the user on touch device.Therefore it uses Family inputs unlocking track on touch device, and it is corresponding a series of when clicking or sliding on touch device can to obtain user Coordinate position, and then a track is formed on touch device, which is considered as the unlocking track of user's input, it should be understood that Unlocking track is made of several points.Preferably, touch device can be touch screen.In some possible embodiment, touch-control fills Setting can also be Trackpad.
Received unlocking track and preset unlocking track are compared and obtain track similarity by S102.Specifically, with When password is arranged in family, a unlocking track is had input on terminal touch device, and be stored in terminal.The unlocking track is unlock As the unlocking track of reference when terminal.If after terminal is locked, unlock terminal needs S101 to re-enter a unlocking track, and will It compares to obtain track similarity with the preset unlocking track as reference.It should be noted that unlocking track is wrapped Track characteristic is included, track similarity is calculated according to the track characteristic of unlocking track, and track characteristic includes but is not limited to The positional relationship etc. of each point in the turning of pressure, track, the direction of track, track when user's input trajectory.It should be appreciated that this Pass through the track of the track characteristic of the unlocking track of user's input and pre-set unlocking track when comparison unlock in embodiment Feature obtains track similarity.
S103 detects at least one current environment parameter of terminal and obtains corresponding environmental parameter value, current environment parameter For indicating whether terminal is in legal use state.Environmental parameter includes but is not limited to unlock interval time, Xie Suowei It sets, intensity of illumination, intensity of sound etc..Such as if environmental parameter is unlock interval time, if when this time unlock is with last unlock Between interval time it is shorter, it is believed that terminal be unlock user it is all probability it is larger;If this time unlocked position be common position or Person and one unlocked position of last time are close, it is also contemplated that terminal is that all probabilities of unlock user are larger;If terminal when this time unlocking When the intensity of illumination or intensity of sound of place environment and last unlock or common unlock the intensity of illumination of environment where terminal or Intensity of sound is close, it is also contemplated that terminal is that all probabilities of unlock user are larger.Specifically, environmental parameter can be by all kinds of Sensor obtains.
S104, according to the environmental parameter value of detecting and its corresponding preset parameter value according to default first rule setting rail Mark similarity threshold.Preferably, preset parameter value is a numberical range.In some embodiments, component environment parameter value institute Corresponding preset parameter value is a numberical range N1~Nn, and preset parameter value corresponding to remaining environmental parameter value is one Numerical value, such as N.Specifically be compared according to the environmental parameter value of detecting and its corresponding preset parameter value, and according to than Compared with result and according to default first rule setting track similarity threshold, if detecting environmental parameter in S103 in the process, Whether the environmental parameter value of detection detecting is consistent with corresponding preset parameter value, improves track similarity further according to testing result Threshold value reduces track similarity threshold or the preset track similarity threshold of selection, and hereafter this will be specifically described, but It is set when the quantity for the environmental parameter that the environmental parameter value detected in general is consistent with corresponding preset parameter value is more Track similarity threshold be less than none environmental parameter, when value and corresponding preset parameter value are not inconsistent, set rail Mark similarity threshold.If environmental parameter is unlock interval time and is 50 seconds in specific example, corresponding preset parameter value is One data area is specially 0~1 minute, then assert the preset parameter value phase of the environmental parameter of detecting corresponding thereto Symbol;If environmental parameter be unlocked position and its at a distance from one unlocked position of last time for 300 meters, if corresponding preset parameter value For a data area, specially 0~200 meter, then the element and parameter value of the environmental parameter of detecting corresponding thereto are assert It is not inconsistent.
S105, judge track similarity whether be more than setting track similarity threshold, if being more than, carry out S106;If not yet It is more than then to unlock failure, terminal is still in screen lock status.
S106 unlocks terminal.
Fig. 2, the flow chart of setting track similarity threshold provided in an embodiment of the present invention are please referred to, the present embodiment is preset with First threshold and second threshold are available as track similarity threshold.As shown, being joined in S104 according to the environment of detecting Numerical value and its corresponding preset parameter value are according to default first rule setting track similarity threshold, comprising:
S201 judges whether is the quantity of environmental parameter that the environmental parameter value of detecting is consistent with corresponding preset parameter value Reach preset first quantity, if not up to preset first quantity, carries out S202;If reaching preset first quantity, carry out S203。
Preset initial threshold is set track similarity threshold by S202.
Preset second threshold is set track similarity threshold by S203, and wherein second threshold is less than initial threshold.
It should be noted that default first number can be configured in the present embodiment according to the quantity of the environmental parameter of detecting Amount, if the environmental parameter of detecting is one, it is one that default first quantity, which is arranged,;If the environmental parameter of detecting is several, press It is configured default first quantity according to certain proportion, no matter can be more with the quantity for the environmental parameter detected in other embodiments It is few, fixed value is set by default first quantity.For example, no matter the quantity of the environmental parameter of detecting is how many, by default first Quantity is set as at least one, and the environmental parameter of a detecting, value are consistent with corresponding preset parameter value if it does not exist, then Track similarity threshold is set by preset initial threshold;Environmental parameter of at least one detecting if it exists, value and opposite The preset parameter value answered is consistent, then sets track similarity threshold for preset second threshold.
Please refer to Fig. 3, another embodiment of the present invention provides setting track similarity threshold flow chart, the present embodiment is pre- It is available as track similarity threshold and according to environmental parameter generation second threshold work for selection equipped with first threshold For track similarity threshold.As shown, being pressed in S104 according to the environmental parameter value of detecting and its corresponding preset parameter value According to default first rule setting track similarity threshold, comprising:
S301 judges whether is the quantity of environmental parameter that the environmental parameter value of detecting is consistent with corresponding preset parameter value Reach preset first quantity, if not up to preset first quantity, carries out S302;If reaching preset first quantity, carry out S303.Specifically, the environmental parameter detected in the present embodiment is several, and set according to the quantity of the environmental parameter of detecting Default first quantity is set, the first quantity is preset in other embodiments and is set as fixed value.
Preset initial threshold is set track similarity threshold by S302.Specifically, being preset with initial threshold for choosing It selects as track similarity threshold.
S303 detects the quantity for the environmental parameter that detected environmental parameter value is consistent with corresponding preset parameter value.
S304 generates second threshold, and the size of the second threshold is according to the ring detected being consistent with preset parameter value The quantity of border parameter simultaneously reduces what initial threshold size obtained according to default Second Rule, therefore second threshold is less than initial threshold Value.Specifically, default Second Rule is that the quantity for the environmental parameter being consistent with preset parameter value is more in the present embodiment, the second threshold Value is lower, can reduce for inversely proportional reduction or exponentially.
Second threshold is set track similarity threshold by S305.
It should be noted that the size of second threshold generated is reduced under the basis of initial threshold size, still The size of the initial threshold stored in terminal is constant.
It should also be noted that, the size of second threshold is to be consistent according to detected with preset parameter value in the present embodiment Environmental parameter quantity and the size of initial threshold is reduced according to default Second Rule, second threshold is big in other embodiments The small size that can reduce initial threshold according to preset rules according to environmental parameter with the difference of corresponding preset parameter value.
Please refer to Fig. 4, another embodiment of the present invention provides setting track similarity threshold flow chart, the present embodiment is pre- Second threshold and the are generated as track similarity threshold and according to the environmental parameter of detecting equipped with first threshold is available Three threshold values are for selection to be used as track similarity threshold.As shown, according to the environmental parameter value of detecting and its relatively in S104 The preset parameter value answered is according to default first rule setting track similarity threshold, comprising:
S401 judges whether is the quantity of environmental parameter that the environmental parameter value of detecting is consistent with corresponding preset parameter value Reach preset first quantity, if not up to preset first quantity, carries out S402;Reach preset first quantity if depositing, into Row S407.Specifically, the environmental parameter detected in the present embodiment is several, and is carried out according to the quantity of the environmental parameter of detecting Default first quantity is set, presets the first quantity in other embodiments and is set as fixed value.
S402, judge the environmental parameter that environmental parameter value and the corresponding preset parameter value of detecting are not inconsistent quantity whether Reach preset second quantity, if not up to preset second quantity, carries out S403;If reaching preset second quantity, carry out S404.Specifically, the present embodiment is configured default second quantity according to the quantity of the environmental parameter of detecting, in other embodiments Default second quantity is set as fixed value.
Preset initial threshold is set track similarity threshold by S403.Specifically, being preset with initial threshold for choosing It selects as track similarity threshold.
S404 detects the quantity for the environmental parameter that detected environmental parameter value and corresponding preset parameter value are not inconsistent.
S405, generates third threshold value, and the size of the third threshold value is according to the ring detected not being inconsistent with preset parameter value The quantity of border parameter simultaneously increases what initial threshold size obtained according to default third rule, therefore third threshold value is greater than initial threshold Value.Specifically, the quantity that environmental parameter of the third rule not to be inconsistent with preset parameter value is preset in the present embodiment is more, third threshold Value is higher, can increase for raising in direct ratio or exponentially.
Third threshold value is set track similarity threshold by S406.
S407 detects the quantity for the environmental parameter that detected environmental parameter value is consistent with corresponding preset parameter value.
S408 generates second threshold, and the size of the second threshold is according to the ring detected being consistent with preset parameter value The quantity of border parameter simultaneously reduces what initial threshold size obtained according to default Second Rule, therefore second threshold is less than initial threshold Value.
Second threshold is set track similarity threshold by S409.
It should be noted that the size of second threshold generated, third threshold value is under the basis of initial threshold size The size for the initial threshold for reducing or increasing, but storing in terminal is constant.It should also be noted that, the in the present embodiment The size of two threshold values is according to the quantity of the environmental parameter detected being consistent with preset parameter value and according to default Second Rule Reducing size that initial threshold size obtains and third threshold value is joined according to the environment detected not being inconsistent with preset parameter value Several quantity simultaneously increases what initial threshold size obtained according to default third rule, in other embodiments the size of second threshold and The size of third threshold value can be reduced according to environmental parameter and the difference of corresponding preset parameter value according to preset rules or Increase the size of initial threshold.
The track similarity threshold that above-mentioned terminal unlock method is determined by the environmental parameter of acquisition, and track similarity Threshold value can be adjusted according to the case where detected environmental parameter, and environmental parameter is for indicating whether terminal is in legal use State, thus can effectively improve detection terminal user whether the accuracy of the testing result of legitimate user, then will comparison input Unlocking track and preset unlocking track obtained from track similarity with according to environmental parameter determine track similarity threshold Value relatively decides whether to unlock, and then improves unlock safety.
Fig. 5, a kind of grouping schematic diagram of terminal provided in an embodiment of the present invention are please referred to, terminal 10 includes touch device, Touch device for clicked for user or slide and touch device can high-frequency detection go out user in touch device Operating position, preferably touch device be touch screen.As shown, the terminal 10 further includes receiving unit 100, storage unit 200, comparison unit 300, detecting unit 400, setting unit 500, the first judging unit 600 and unlocking unit 700.
Wherein receiving unit 100 is for receiving the unlocking track that user inputs on terminal touch device.User is in touch-control Unlocking track is inputted on device, can obtain a series of corresponding coordinate bits of the user when clicking or sliding on touch device It sets, and then forms a track on touch device, which is considered as the unlocking track of user's input, it should be understood that unlocking rail Mark is made of several points.
Storage unit 200 on terminal touch device for having input a unlocking when storing user setting terminal password Track, the unlocking track are unlocking track when unlocking terminal as reference.
Comparison unit 300 show that track is similar for comparing received unlocking track to preset unlocking track Degree.It should be noted that preset unlocking track is to be stored in the upper unlocking track as reference in storage unit 200.
Detecting unit 400 is for detecting at least one current environment parameter of terminal and obtains corresponding environmental parameter value, Current environment parameter is for indicating whether terminal is in legal use state.Environmental parameter includes but is not limited to unlock interval Time, unlocked position, intensity of illumination, intensity of sound etc..
Setting unit 500 is used for environmental parameter value and its corresponding preset parameter value according to detecting according to default first Rule setting track similarity threshold.Specifically compared according to the environmental parameter value of detecting and its corresponding preset parameter value Compared with, and according to comparison result and according to default first rule setting track similarity threshold, if such as detecting unit 400 detect Whether environmental parameter, then the environmental parameter value for detecting detecting are consistent with corresponding preset parameter value, mention further according to testing result High track similarity threshold reduces track similarity threshold or the preset track similarity threshold of selection.
First judging unit 600 be used for judge track similarity whether be more than setting track similarity threshold.
If unlocking unit 700 judges that track similarity is more than the track similarity of setting for the first judging unit 600 Threshold value unlocks terminal.
Please refer to Fig. 6, a kind of grouping schematic diagram of the setting unit for terminal that one embodiment of the invention provides.The present embodiment It is preset with first threshold and second threshold is available as track similarity threshold.As shown, setting unit 500 includes the Two judging units 501 and processing unit 502.
Wherein second judgment unit 501 is used to judge what the environmental parameter value of detecting was consistent with corresponding preset parameter value Whether the quantity of environmental parameter reaches preset first quantity.It should be noted that can be according to the ring of detecting in the present embodiment The quantity of border parameter is configured default first quantity, if the environmental parameter of detecting is one, it is one that default first quantity, which is arranged,; If the environmental parameter of detecting is several, it is configured default first quantity according to a certain percentage, may be used also in other embodiments No matter being how many with the quantity for the environmental parameter detected, fixed value is set by default first quantity.
If processing unit 502 judges that the environmental parameter value of detecting is preset with corresponding for second judgment unit 501 The quantity for the environmental parameter that parameter value is consistent is not up to preset first quantity, and it is similar to set track for preset initial threshold Spend threshold value;And processing unit 502 be also used to second judgment unit 501 judge detecting environmental parameter value with it is corresponding pre- The quantity for the environmental parameter that setting parameter value is consistent reaches preset first quantity, and it is similar to set track for preset second threshold Threshold value is spent, wherein second threshold is less than initial threshold.
Please refer to Fig. 7, another embodiment of the present invention provides a kind of terminal setting unit grouping schematic diagram.This implementation Example is preset with the available conduct track similarity threshold of first threshold and generates second threshold according to environmental parameter for choosing It selects as track similarity threshold.As shown, setting unit 500 includes second judgment unit 503, processing unit 504, detection Unit 505 and generation unit 506.
Wherein, second judgment unit 503 is used to judge that the environmental parameter value of detecting to be consistent with corresponding preset parameter value The quantity of environmental parameter whether reach preset first quantity.Specifically, the environmental parameter detected in the present embodiment is several It is a, and default first quantity is configured according to the quantity of the environmental parameter of detecting, the first quantity, which is preset, in other embodiments sets It is set to fixed value.
If processing unit 504 judges that the environmental parameter value of detecting is preset with corresponding for second judgment unit 503 The quantity for the environmental parameter that parameter value is consistent is not up to preset first quantity, and it is similar to set track for preset initial threshold Spend threshold value.
If detection unit 505 judges that the environmental parameter value of detecting is preset with corresponding for second judgment unit 503 The quantity for the environmental parameter that parameter value is consistent reaches preset first quantity, detect detected environmental parameter value with it is corresponding The quantity for the environmental parameter that preset parameter value is consistent.
For generation unit 506 for generating second threshold, the size of the second threshold is according to detected and parameter preset The quantity for the environmental parameter that value is consistent simultaneously reduces what initial threshold size obtained according to default Second Rule, therefore second threshold is small In initial threshold.
Processing unit 504 is also used to set second threshold to track similarity threshold.It should be noted this implementation The size of second threshold is according to the quantity of the environmental parameter detected being consistent with preset parameter value and according to presetting the in example Two rules reduce initial threshold sizes and obtain, and the size of second threshold can be according to environmental parameter and opposite in other embodiments The difference for the preset parameter value answered to reduce the size of initial threshold according to preset rules.
Please refer to Fig. 8, another embodiment of the present invention provides a kind of terminal setting unit grouping schematic diagram.This implementation It is available as track similarity threshold and according to environmental parameter generation second threshold and third that example is preset with first threshold Threshold value is for selection to be used as track similarity threshold.As shown, setting unit 500 includes second judgment unit 507, processing list Member 508, detection unit 509 and generation unit 510.
Wherein, second judgment unit 507 is used to judge that the environmental parameter value of detecting to be consistent with corresponding preset parameter value The quantity of environmental parameter whether reach preset first quantity;And if being also used to not up to preset first quantity, then sentence Whether the environmental parameter value of disconnected detecting reaches preset second with the quantity for the environmental parameter that corresponding preset parameter value is not inconsistent Quantity.
If processing unit 508 judges that the environmental parameter value of detecting is preset with corresponding for second judgment unit 507 The quantity for the environmental parameter that parameter value is not inconsistent is not up to preset second quantity, and it is similar to set track for preset initial threshold Spend threshold value.
If detection unit 509 judges that the environmental parameter value of detecting is preset with corresponding for second judgment unit 507 The quantity for the environmental parameter that parameter value is consistent reaches preset first quantity, detect detected environmental parameter value with it is corresponding The quantity for the environmental parameter that preset parameter value is consistent;And if being also used to the environment ginseng that second judgment unit 507 judges detecting The quantity for the environmental parameter that numerical value is not inconsistent with corresponding preset parameter value is not up to preset second quantity, what detection was detected The quantity for the environmental parameter that environmental parameter value is not inconsistent with corresponding preset parameter value.
For generation unit 510 for generating second threshold, the size of the second threshold is according to detected and parameter preset The quantity for the environmental parameter that value is consistent simultaneously reduces what initial threshold size obtained according to default Second Rule;And it is also used to generate Third threshold value, the size of the third threshold value be the quantity for the environmental parameter not being inconsistent according to detected with preset parameter value and according to Default third rule increases what initial threshold size obtained.
Processing unit 508 is also used to set second threshold to track similarity threshold or sets rail for third threshold value Mark similarity threshold.
It is the schematic block diagram for another terminal that embodiment of the present invention provides referring to Fig. 9.The present embodiment as shown in the figure In terminal 10 may include one or several processors 201, one or several input units 202, one or Several output devices 203 and memory 204.Above-mentioned processor 201, input unit 202, output device 203 and storage Device 204 is connected by bus.
Input unit 202 is used to receive the unlocking track of user's operation input.In the specific implementation, the embodiment of the present invention is defeated Entering device 202 may include touch device.
Output device 203 is for externally exporting unlocking result.In the specific implementation, the output device 203 of the embodiment of the present invention It may include the display devices such as touch screen.
Memory 204 is used to store the program data with various functions and the unlocking rail of storage user's operation input Mark, in the specific implementation, the memory 204 of the embodiment of the present invention can be system storage, for example, volatile (such as RAM), The combination of non-volatile (such as ROM, flash memory etc.), or both.In the specific implementation, the memory 204 of the embodiment of the present invention It can also be the external memory except system, for example, disk, CD, tape etc..
The instruction that processor 201 is used to that the program data stored in memory 204 to be called to execute the storage of memory 204, And it performs the following operations:
Receive the unlocking track that user inputs on terminal touch device;By received unlocking track and preset unlocking rail Mark, which compares, obtains track similarity;Detecting at least one current environment parameter of terminal simultaneously obtains corresponding environmental parameter value, Current environment parameter is for indicating whether terminal is in legal use state;Environmental parameter value further according to detecting and its corresponding Preset parameter value according to default first rule setting track similarity threshold and, judge whether track similarity is more than setting Track similarity threshold, if being more than, unlock terminal;If not above failure is unlocked, terminal is still in screen lock status.
It should be appreciated that processor 201 is in the environmental parameter value and its corresponding preset parameter value according to detecting according to pre- If a kind of first rule setting track implementation process of similarity threshold also performs the following operations:
Judge whether the quantity for the environmental parameter that the environmental parameter value of detecting is consistent with corresponding preset parameter value reaches Preset first quantity, if not up to preset first quantity, sets track similarity threshold for preset initial threshold;If Reach preset first quantity, set track similarity threshold for preset second threshold, wherein second threshold is less than initial Threshold value.
It should be appreciated that processor 201 is in the environmental parameter value and its corresponding preset parameter value according to detecting according to pre- If the first rule setting track similarity threshold another kind implementation process also performs the following operations:
Judge whether the quantity for the environmental parameter that the environmental parameter value of detecting is consistent with corresponding preset parameter value reaches Preset first quantity;If not up to preset first quantity, sets track similarity threshold for preset initial threshold;If Reach preset first quantity, detects the environmental parameter that detected environmental parameter value is consistent with corresponding preset parameter value Quantity simultaneously generates second threshold, and the size of the second threshold is according to the environmental parameter detected being consistent with preset parameter value Quantity simultaneously reduces what initial threshold size obtained according to default Second Rule, then sets track similarity threshold for second threshold Value.
It should be appreciated that processor 201 is in the environmental parameter value and its corresponding preset parameter value according to detecting according to pre- If the first rule setting track similarity threshold another kind implementation process also performs the following operations:
Judge whether the quantity for the environmental parameter that the environmental parameter value of detecting is consistent with corresponding preset parameter value reaches Preset first quantity judges the environmental parameter value detected and corresponding parameter preset if not up to preset first quantity Whether the quantity for the environmental parameter that value is not inconsistent reaches preset second quantity, wherein judge detecting environmental parameter value with it is corresponding The quantity of environmental parameter that is not inconsistent of preset parameter value be not up to preset second quantity, set rail for preset initial threshold Mark similarity threshold;If the environmental parameter value of judgement detecting is reached with the quantity for the environmental parameter that corresponding preset parameter value is not inconsistent To preset second quantity, the number for the environmental parameter that detected environmental parameter value and corresponding preset parameter value are not inconsistent is detected Third threshold value is measured and generates, the size of the third threshold value is the number according to the environmental parameter detected not being inconsistent with preset parameter value It measures and increases what initial threshold size obtained according to default third rule, then set track similarity threshold for third threshold value; If the quantity for the environmental parameter that the environmental parameter value of judgement detecting is consistent with corresponding preset parameter value reaches preset first Quantity detects the quantity for the environmental parameter that detected environmental parameter value is consistent with corresponding preset parameter value and generates second Threshold value, the size of the second threshold are according to the quantity of the environmental parameter detected being consistent with preset parameter value and according to default Second Rule reduces what initial threshold size obtained, then sets track similarity threshold for second threshold.
It should be appreciated that in embodiments of the present invention, alleged processor 201 can be central initial treatment unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic devices Part, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or the processing Device is also possible to any conventional processor etc..
The track similarity threshold that above-mentioned terminal is determined by the environmental parameter of acquisition, and track similarity threshold can root Preset initial threshold is reduced, increased or selected according to the case where detected environmental parameter, and environmental parameter environmental parameter For indicating whether terminal is in legal use state, thus can effectively improve detection terminal user whether the inspection of legitimate user The accuracy of result is surveyed, then track similarity and basis obtained from the unlocking track and preset unlocking track that comparison is inputted The track similarity threshold that environmental parameter determines relatively decides whether to unlock, and then improves unlock safety.
It should be noted that the steps in the embodiment of the present invention can the adjustment of carry out sequence, conjunction according to actual needs And it and deletes.
Unit in the terminal of that embodiment of the invention can be combined, divided and deleted according to actual needs.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description The specific work process at end and unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.In this Shen Please provided by several embodiments, it should be understood that disclosed terminal and method may be implemented in other ways. For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only a kind of logic Function division, there may be another division manner in actual implementation, such as several unit or assemblies can combine or can be with It is integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed mutual coupling Close or direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, can also To be electric, mechanical or other form connections.
In addition, each functional unit in each embodiment of the present invention can integrate in an initial treatment unit, It can be each unit to physically exist alone, be also possible to two or more units and be integrated in one unit.Above-mentioned collection At unit both can take the form of hardware realization, can also realize in the form of software functional units.It is described integrated If unit is realized in the form of SFU software functional unit and when sold or used as an independent product, it can store and counted at one In calculation machine read/write memory medium.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The all or part of the part contributed out or the technical solution can be embodied in the form of software products, the computer Software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal meter Calculation machine, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.And it is preceding The storage medium stated includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), magnetic or disk.
The above is a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, any ripe It knows those skilled in the art in the technical scope disclosed by the present invention, various equivalent modifications can be readily occurred in or replaces It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection scope subject to.

Claims (8)

1. a kind of terminal unlock method characterized by comprising
Receive the unlocking track that user inputs on terminal touch device;
Received unlocking track and preset unlocking track are compared and obtain track similarity;
Detecting at least one current environment parameter of terminal simultaneously obtains corresponding environmental parameter value;
According to the environmental parameter value of detecting and corresponding preset parameter value according to default first rule setting track similarity threshold Value;
Judge the track similarity whether be more than setting the track similarity threshold;
If being more than, terminal is unlocked;
Wherein, the environmental parameter value and corresponding preset parameter value according to detecting is according to default first rule setting track Similarity threshold, comprising:
Judge whether the quantity for the environmental parameter that detected environmental parameter value is consistent with corresponding preset parameter value reaches pre- If the first quantity;
If the quantity for the environmental parameter that the environmental parameter value detected is consistent with corresponding preset parameter value is not up to described pre- If the first quantity, set the track similarity threshold for preset initial threshold.
2. terminal unlock method according to claim 1, which is characterized in that the unlocking method further include:
If the quantity for the environmental parameter that the environmental parameter value detected is consistent with corresponding preset parameter value reaches described default The first quantity, set the track similarity threshold for preset second threshold, the second threshold is less than described initial Threshold value.
3. terminal unlock method according to claim 1, which is characterized in that the unlocking method further include:
If the quantity for the environmental parameter that the environmental parameter value detected is consistent with corresponding preset parameter value reaches described default The first quantity, generate second threshold, the second threshold is to reduce the initial threshold according to default Second Rule to obtain;
The track similarity threshold is set by the second threshold.
4. terminal unlock method according to claim 1, which is characterized in that if the environmental parameter value detected with it is corresponding The quantity of environmental parameter that is consistent of preset parameter value be not up to preset first quantity, it is described by preset initial threshold Before being set as the track similarity threshold, further includes:
Whether the detected environmental parameter value of judgement reaches pre- with the quantity for the environmental parameter that corresponding preset parameter value is not inconsistent If the second quantity;
If not up to preset second quantity, the track similarity threshold is set by preset initial threshold by described;
If reaching preset second quantity, third threshold value is generated, the third threshold value is according to described in the raising of default third rule Initial threshold;
The track similarity threshold is set by the third threshold value.
5. a kind of terminal, which is characterized in that the terminal includes:
Receiving unit, the unlocking track inputted on terminal touch device for receiving user;
Comparison unit, for comparing and obtaining track similarity received unlocking track and preset unlocking track;
Detecting unit, for detecting at least one current environment parameter of terminal and obtaining corresponding environmental parameter value;
Setting unit, for the environmental parameter value and corresponding preset parameter value according to detecting according to default first rule setting Track similarity threshold;
First judging unit, for judge the track similarity whether be more than setting the track similarity threshold;
Unlocking unit, if judging that the track similarity is more than the track similarity threshold of setting for the first judging unit Value unlocks terminal;
Wherein, the setting unit includes:
Second judgment unit, the environmental parameter being consistent for judging detected environmental parameter value with corresponding preset parameter value Quantity whether reach preset first quantity;
Processing unit, if judging detected environmental parameter value and corresponding parameter preset for the second judgment unit The quantity for the environmental parameter that value is consistent is not up to preset first quantity, sets the track for preset initial threshold Similarity threshold.
6. terminal according to claim 5, which is characterized in that if the processing unit is also used to second judgment unit judgement The quantity for the environmental parameter that the environmental parameter value detected out is consistent with corresponding preset parameter value reaches described preset Preset second threshold is set the track similarity threshold by one quantity, and the second threshold is less than the initial threshold.
7. terminal according to claim 5, which is characterized in that the setting unit further includes generation unit, the generation Unit judges the ring that detected environmental parameter value is consistent with corresponding preset parameter value for the second judgment unit The quantity of border parameter reaches preset first quantity, generates second threshold, and the second threshold is according to default second rule Then reduce what the initial threshold obtained;
The processing unit is also used to set the second threshold to the track similarity threshold.
8. terminal according to claim 5, which is characterized in that the setting unit further includes generation unit, and described second Judging unit is also used to judge the number for the environmental parameter that detected environmental parameter value is consistent with corresponding preset parameter value Amount is not up to preset first quantity, judges the ring that detected environmental parameter value is not inconsistent with corresponding preset parameter value Whether the quantity of border parameter reaches preset second quantity;
The processing unit, if judging that detected environmental parameter value is preset with corresponding for the second judgment unit The quantity for the environmental parameter that parameter value is not inconsistent is not up to preset second quantity, sets the track for preset initial threshold Similarity threshold;
The generation unit, if be also used to the second judgment unit judge detected environmental parameter value with it is corresponding pre- The quantity for the environmental parameter that setting parameter value is not inconsistent reaches preset second quantity, generates third threshold value, the third threshold value be by The initial threshold is increased according to default third rule;
The processing unit is also used to set the track similarity threshold for the third threshold value.
CN201610338019.6A 2016-05-19 2016-05-19 A kind of terminal unlock method and its terminal Active CN106022085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610338019.6A CN106022085B (en) 2016-05-19 2016-05-19 A kind of terminal unlock method and its terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610338019.6A CN106022085B (en) 2016-05-19 2016-05-19 A kind of terminal unlock method and its terminal

Publications (2)

Publication Number Publication Date
CN106022085A CN106022085A (en) 2016-10-12
CN106022085B true CN106022085B (en) 2019-05-14

Family

ID=57095139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610338019.6A Active CN106022085B (en) 2016-05-19 2016-05-19 A kind of terminal unlock method and its terminal

Country Status (1)

Country Link
CN (1) CN106022085B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107967417A (en) * 2016-10-19 2018-04-27 宏碁股份有限公司 Dynamic verification method and correlative computer system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294334B (en) * 2012-03-05 2017-03-01 北京三星通信技术研究有限公司 Unlocking screen data access control method and safety control
CN102685106B (en) * 2012-03-27 2015-09-30 北京百纳威尔科技有限公司 A kind of safe verification method and equipment
CN104021790A (en) * 2013-02-28 2014-09-03 联想(北京)有限公司 Sound control unlocking method and electronic device

Also Published As

Publication number Publication date
CN106022085A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
US8752146B1 (en) Providing authentication codes which include token codes and biometric factors
CN105094494B (en) Fingerprint identification method, device and electronic equipment
KR101812911B1 (en) Orientation aware authentication on mobile platforms
US20170060664A1 (en) Method for verifying bad pattern in time series sensing data and apparatus thereof
CN104715178B (en) Unlocking system and method of electronic device
CN106844265B (en) A kind of control method and mobile terminal of general-purpose serial bus USB interface
CN105095735B (en) A kind of method and terminal of pattern unblock
CN104573456A (en) Terminal interface control method
CN111194029A (en) Secure regulation in mobile devices
CN104991716A (en) Mobile terminal unlocking method and apparatus
CN107851190A (en) Slave unit is electrically connected to the communicator of main equipment
CN108845747A (en) A kind of Touch-control error prevention method, apparatus and terminal device
CN104598792A (en) Terminal
CN108759892A (en) Sensor calibrating method, electronic device and computer readable storage medium
CN106022085B (en) A kind of terminal unlock method and its terminal
CN109739720B (en) Abnormality detection method, abnormality detection device, storage medium, and electronic apparatus
CN105739776B (en) A kind of calibration method of pressure value, device and mobile terminal
CN107526955B (en) Screen-off unlocking method and device
US9213823B2 (en) Method for inputting a code using a portable device, and associated portable device
CN110968355A (en) Application program starting method and device and terminal
CN106249912A (en) A kind of information of mobile terminal input method and mobile terminal
CN115971597A (en) Temperature monitoring method and device for reflow soldering and storage medium
CN107516024B (en) Method and device for unlocking electronic equipment and electronic equipment
US9489509B2 (en) Electronic device and method for unlocking objects of electronic device
CN105956553A (en) Unlocking method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210426

Address after: DESAY No. 9789 building, 518057 Guangdong city of Shenzhen province Nanshan District Guangdong streets Shennan Road sign layer 17 layer (natural layer 15) No. 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: Futian District Shenzhen City, Guangdong province 518000 Shennan Road No. 7028 Times Technology Building 21 buildings (office only)

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.