CN105138220B - A kind of pattern unlocking method and device - Google Patents

A kind of pattern unlocking method and device Download PDF

Info

Publication number
CN105138220B
CN105138220B CN201510465877.2A CN201510465877A CN105138220B CN 105138220 B CN105138220 B CN 105138220B CN 201510465877 A CN201510465877 A CN 201510465877A CN 105138220 B CN105138220 B CN 105138220B
Authority
CN
China
Prior art keywords
sliding
area
trace
sliding trace
sliding area
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
CN201510465877.2A
Other languages
Chinese (zh)
Other versions
CN105138220A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510465877.2A priority Critical patent/CN105138220B/en
Publication of CN105138220A publication Critical patent/CN105138220A/en
Application granted granted Critical
Publication of CN105138220B publication Critical patent/CN105138220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of pattern unlocking method and devices.This method comprises: obtaining and showing sliding trace of the user on preset sliding area;Effective sliding trace is determined from the sliding trace according to the input time of the sliding trace;Determining effective sliding trace is matched with preset standard sliding trace, and is unlocked according to matching result controlling terminal.Sliding trace of this method by display user on sliding area, and effective sliding trace is determined from sliding trace according to the input time of sliding trace, keep the sliding trace of display different from effective sliding trace, the leakage of user information caused by the standard sliding trace of avoiding is leaked.

Description

A kind of pattern unlocking method and device
Technical field
The present invention relates to unlocking screen technology, especially a kind of pattern unlocking method and device.
Background technique
Along with the fast development of the intelligent terminals such as smart phone, tablet computer, intelligent terminal has been widely used for work The every field made and lived.As the sense of security of users is gradually increased, the unlocking manner of intelligent terminal is particularly significant.
In existing pattern unlocking manner, the sliding trace that screen is shown is effective sliding trace of terminal, so that working as After others sees the sliding trace shown in screen, so that it may terminal is unlocked, i.e., existing pattern unlocking manner it is close Code is easy leakage, so as to cause the privacy leakage of user, influences user experience.
Summary of the invention
The purpose of the present invention is to provide a kind of pattern unlocking method and device, the password to avoid pattern unlocking manner is let out Dew.
On the one hand, the embodiment of the invention provides a kind of pattern unlocking methods, comprising:
It obtains and shows sliding trace of the user on preset sliding area;
Effective sliding trace is determined from the sliding trace according to the input time of the sliding trace;
Determining effective sliding trace is matched with preset standard sliding trace, and is controlled eventually according to matching result End unlock.
On the other hand, the embodiment of the invention provides a kind of pattern trippers, comprising:
Track display unit, for obtaining and showing sliding trace of the user on preset sliding area;
Effective track determination unit, for the input time according to the sliding trace, determination has from the sliding trace Imitate sliding trace;
Path matching unit, for the effective sliding trace determined to be matched with preset standard sliding trace, and It is unlocked according to matching result controlling terminal.
The unlocking method and device of terminal provided in an embodiment of the present invention pass through sliding of the display user on sliding area Track, and effective sliding trace is determined from sliding trace according to the input time of sliding trace, then according to effective sliding trace It is unlocked with the matching result controlling terminal of standard sliding trace, that is, the sliding trace of display is different from effective sliding trace, avoids The leakage of user information caused by standard sliding trace is leaked.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for pattern unlocking method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow diagram of pattern unlocking method provided by Embodiment 2 of the present invention;
Fig. 3 a is a kind of flow diagram for pattern unlocking method that the embodiment of the present invention three provides;
Fig. 3 b is the schematic diagram for the pattern unlock interface that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for pattern tripper that the embodiment of the present invention four provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow diagram for pattern unlocking method that the embodiment of the present invention one provides, and this method can be by scheming Case tripper executes, and wherein the device can be by software and or hardware realization, and a part that can be used as mobile terminal is built Inside mobile terminal.As shown in Figure 1, the implementation process includes:
Step 11 obtains and shows sliding trace of the user on preset sliding area.
In the present embodiment, the pattern unlock interface of terminal may include 9 sliding areas in three rows, three column distribution, It may include 10 sliding areas, i.e. the present embodiment is not especially limited the number of sliding area.
Illustratively, when preset unlocking screen event is triggered, such as in the power key of user's short-press terminal, screen Show that preset pattern unlock interface, terminal obtain and show sliding trace of the user on sliding area.
Step 12 determines effective sliding trace according to the input time of the sliding trace from the sliding trace.
In the present embodiment, the input time of sliding trace can be user and execute sliding behaviour on preset sliding area The total time of work it is also possible to the time that user clicks some sliding area.
Illustratively, the sliding area that user can be executed slide by terminal at first 5 seconds constitutes effective sliding area. Such as, 123456 total time-consuming of sliding trace be 7s, wherein before user 5 seconds successively in sliding area 1, sliding area 2, sliding area 3 With slide is executed on sliding area 4, perform slide on sliding area 5 and sliding area 6 within then 2 seconds, it is corresponding Effective sliding area be 1234.
It should be noted that the embodiment of the present invention is not especially limited the specific method of the effective sliding trace of determination.
Terminal can using by the corresponding sliding trace of the sliding area of user's long-pressing as effective sliding trace.Still with sliding For track 123456, in user's long-pressing sliding area 1, sliding area 3, sliding area 4 and sliding area 6, short-press sliding area When domain 2 and sliding area 5, corresponding effective sliding trace is 1346.
Step 13 matches determining effective sliding trace with preset standard sliding trace, and is tied according to matching The unlock of fruit controlling terminal.
Illustratively, if effectively sliding trace is identical as standard sliding trace, controlling terminal unlock;Otherwise, refusal is whole End unlock.
Pattern unlocking method provided in an embodiment of the present invention, by sliding trace of the display user on sliding area, and Effective sliding trace is determined from sliding trace according to the input time of sliding trace, then sliding according to effective sliding trace and standard The matching result controlling terminal of dynamic rail mark unlocks, that is, the sliding trace of display is different from effective sliding trace, and it is sliding to avoid standard The leakage of user information caused by dynamic rail mark is leaked.
Second embodiment
The present embodiment provides a kind of new pattern unlocking method on the basis of the above embodiments.The present embodiment to how Determine that effective sliding trace is further qualified.Fig. 2 is a kind of process of pattern unlocking method provided by Embodiment 2 of the present invention Schematic diagram.As shown in Fig. 2, the implementation process includes:
Step 21 obtains and shows sliding trace of the user on preset sliding area.
Step 22, according to the input time of the sliding trace from the corresponding sliding area of the sliding trace determine to A few invalid sliding area.
In the present embodiment, according to the input time of the sliding trace from the corresponding sliding area of the sliding trace It determines at least one invalid sliding area, may include: to click the time span of any sliding area greater than preset in user When time span threshold values, the corresponding sliding area of the sliding trace before or after the sliding area is determined as invalid cunning Dynamic region.
Wherein, preset time span threshold values can be set according to user, and for example, 2 seconds.
Step 23, according to the sliding trace of display and at least one invalid sliding area of determination, generate the effective of user Sliding trace.
Optionally, according to the sliding trace of display and at least one the invalid sliding area determined, the effective of user is generated Sliding trace include: by the corresponding sliding area of the sliding trace in addition at least one described invalid sliding area, according to Effective sliding trace is sequentially generated by what user clicked.Illustratively, sliding when sliding area 2 is invalid sliding area The corresponding effective sliding trace of dynamic rail mark 12345 is 1345.
Step 24 matches determining effective sliding trace with preset standard sliding trace, and is tied according to matching The unlock of fruit controlling terminal.
Pattern unlocking method provided in an embodiment of the present invention, by obtaining and showing the sliding trace of user, according to described The input time of sliding trace determines at least one invalid sliding area from the corresponding sliding area of sliding trace, and according to cunning Dynamic rail mark and invalid sliding area generate effective sliding trace, keep the sliding trace of display different from effective sliding trace, avoid The leakage of user information caused by standard sliding trace is leaked.
Optionally, according to the input time of the sliding trace from the corresponding sliding area of the sliding trace determine to A few invalid sliding area, comprising: be greater than the preset time in the time span that user clicks any sliding area for the first time When length threshold values, the corresponding sliding area of the sliding trace before the sliding area is determined as invalid sliding area;? When the time span that user clicks any sliding area for the second time is greater than preset time span threshold values, after the sliding area The corresponding sliding area of the sliding trace be determined as invalid sliding area.
Wherein, when the time span that user clicks any sliding area for the first time is greater than preset time span threshold values, The sliding area is also determined as invalid sliding area;It is greater than in the time span that user clicks any sliding area for the second time pre- If time span threshold values when, the sliding area is also determined as invalid sliding area.
3rd embodiment
The present embodiment specifically provides a kind of pattern unlocking method on the basis of the above embodiments.Fig. 3 a is that the present invention is real A kind of flow diagram of pattern unlocking method of the offer of example three is provided.As shown in Figure 3a, which includes:
Step 31 obtains and shows sliding trace of the user on sliding area.
Before unlocking screen event is triggered, the standard sliding trace 2324 of user setting is obtained and stored.Such as Fig. 3 b Shown, when terminal owning user is unlocked, the sliding area clicked for the first time is not the corresponding standard of standard sliding trace Sliding area, such as the sliding area of the first click can be sliding area 1, and subsequent user can be in addition to standard sliding area Arbitrary region execute slide, screen show user sliding trace, but terminal not to user input data carry out Acquisition, these data are interference data.
Step 32 determines effective sliding trace according to the input time of the sliding trace from the sliding trace.
As shown in Figure 3b, when user slides on first standard sliding area (sliding area 2), user needs to stop For a moment, so that user click the first standard sliding area time be greater than time threshold (time threshold can be set), with When family stops enough time thresholds, terminal carries out vibration reminding, and user continues to execute slide, and terminal continues display sliding at this time Track and the data for starting to acquire user's input, these are valid data.User's residence time that sliding area of length is included in Among effective sliding area.
Then, user draws effective sliding trace 2-3-4, when user is in the last one standard sliding area (sliding area 4) when executing slide on, user needs to stay for a while for the second time, when user stops enough regular hours, is then shaken Dynamic to remind, user's residence time that sliding area of length is included in effective sliding trace, the effectively sliding of terminal acquisition at this time Track finishes, but terminal not will do it path matching at this time, but the acquisition for sliding trace of ceasing to have effect, and switchs to detect user Finger whether leave touch screen.
Hereafter, user can arbitrarily execute slide, show corresponding sliding trace, which is that camouflage is slided Dynamic rail mark does not constitute any influence to unlock.
Step 33, when the finger for detecting user leaves touch screen, by determining effective sliding trace and preset mark Quasi- sliding trace is matched, and is unlocked according to matching result controlling terminal.
After user draws, user's finger leaves touch screen, effective sliding trace that terminal inputs user at this time It is compared with preset standard sliding trace, be unlocked if being consistent and enter main interface, otherwise prompt cipher is wrong Accidentally.
In the present embodiment, the sliding trace among long press operation is effective sliding trace twice, and long-pressing before and long-pressing Sliding trace later is invalid sliding trace, can be using two kinds of camouflages before long-pressing and after long-pressing in the technical program Means can also use one such camouflage means, within the protection scope of the present embodiment.
It should be noted that if user carries out long-time stop, user not on any one sliding area The all effective sliding traces of the sliding trace drawn.
Pattern unlocking method provided in an embodiment of the present invention, the sliding trace of display is different from effective sliding trace, makes to show The sliding trace shown will not reveal privacy after being peeped by others.
Fourth embodiment
Fig. 4 is a kind of structural schematic diagram for pattern tripper that the embodiment of the present invention four provides, which can be built-in Inside mobile terminal.As shown in figure 4, the pattern tripper may include track display unit 41, the determination of effective track Unit 42 and path matching unit 43.
Wherein, track display unit 41, for obtaining and showing sliding trace of the user on preset sliding area;
Effective track determination unit 42 is determined from the sliding trace for the input time according to the sliding trace Effective sliding trace;
Path matching unit 43, for the effective sliding trace determined to be matched with preset standard sliding trace, And it is unlocked according to matching result controlling terminal.
Optionally, effective track determination unit 42 includes:
Inactive area determines subelement, corresponding from the sliding trace for the input time according to the sliding trace At least one invalid sliding area is determined in sliding area;
Effective track determines subelement, for according to the sliding trace of display and at least one invalid sliding area of determination Domain generates effective sliding trace of user.
Optionally, the inactive area determines that subelement is specifically used for: long in the time that user clicks any sliding area When degree is greater than preset time span threshold values, by the corresponding sliding area of the sliding trace before or after the sliding area It is determined as invalid sliding area.
Optionally, the inactive area determines that subelement is specifically used for:
When the time span that user clicks any sliding area for the first time is greater than preset time span threshold values, by the cunning The corresponding sliding area of the sliding trace before dynamic region is determined as invalid sliding area;
When the time span that user clicks any sliding area for the second time is greater than preset time span threshold values, by the cunning The corresponding sliding area of the sliding trace after dynamic region is determined as invalid sliding area.
Optionally, it is greater than preset time span threshold values in the time span that user clicks any sliding area for the first time When, the sliding area is also determined as invalid sliding area;
When the time span that user clicks any sliding area for the second time is greater than preset time span threshold values, should also Sliding area is determined as invalid sliding area.
Optionally, effective track determines that subelement is specifically used for: will be in addition at least one described invalid sliding area The corresponding sliding area of the sliding trace, be sequentially generated effective sliding trace according to what is clicked by user.
Pattern unlocking method provided by any embodiment of the invention can be performed in the said goods, and it is corresponding to have execution method Functional module and beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to any embodiment of that present invention institute The pattern unlocking method of offer.
The preferred embodiment of the upper only embodiment of the present invention, is not intended to restrict the invention embodiment, for ability For field technique personnel, the embodiment of the present invention can have various modifications and changes.All spirit and principle in the embodiment of the present invention Within any modification, equivalent replacement, improvement and so on, should be included within the protection scope of the embodiment of the present invention.

Claims (8)

1. a kind of pattern unlocking method characterized by comprising
It obtains and shows sliding trace of the user on preset sliding area;
Effective sliding trace is determined from the sliding trace according to the input time of the sliding trace, wherein the sliding rail The input time of mark is the time that the user clicks some sliding area, the sliding trace of the display and effective sliding Track is different;
Determining effective sliding trace is matched with preset standard sliding trace, and according to matching result controlling terminal solution Lock;
Wherein, effective sliding trace is determined from the sliding trace according to the input time of the sliding trace, comprising:
Determine that at least one is invalid from the corresponding sliding area of the sliding trace according to the input time of the sliding trace Sliding area;
According to the sliding trace of the display and at least one the invalid sliding area determined, effective sliding rail of user is generated Mark;
Wherein, according to the sliding trace of display and at least one the invalid sliding area determined, effective sliding rail of user is generated Mark, comprising:
By the corresponding sliding area of the sliding trace in addition at least one described invalid sliding area, clicked according to by user Be sequentially generated effective sliding trace.
2. the method according to claim 1, wherein according to the input time of the sliding trace from the sliding At least one invalid sliding area is determined in the corresponding sliding area in track, comprising:
When the time span that user clicks any sliding area is greater than preset time span threshold values, before the sliding area Or the corresponding sliding area of the sliding trace later is determined as invalid sliding area.
3. the method according to claim 1, wherein according to the input time of the sliding trace from the sliding At least one invalid sliding area is determined in the corresponding sliding area in track, comprising:
When the time span that user clicks any sliding area for the first time is greater than preset time span threshold values, by the sliding area The corresponding sliding area of the sliding trace before domain is determined as invalid sliding area;
When the time span that user clicks any sliding area for the second time is greater than preset time span threshold values, by the sliding area The corresponding sliding area of the sliding trace after domain is determined as invalid sliding area.
4. according to the method described in claim 3, it is characterized in that,
When the time span that user clicks any sliding area for the first time is greater than preset time span threshold values, also by the sliding Region is determined as invalid sliding area;
When the time span that user clicks any sliding area for the second time is greater than preset time span threshold values, also by the sliding Region is determined as invalid sliding area.
5. a kind of pattern tripper characterized by comprising
Track display unit, for obtaining and showing sliding trace of the user on preset sliding area;
Effective track determination unit is determined from the sliding trace effectively sliding for the input time according to the sliding trace Dynamic rail mark, wherein the input time of the sliding trace is the time that the user clicks some sliding area, the display Sliding trace is different from effective sliding trace;
Path matching unit, for the effective sliding trace determined to be matched with preset standard sliding trace, and according to The unlock of matching result controlling terminal;
Wherein, effective track determination unit includes:
Inactive area determines subelement, for according to input time of the sliding trace from the corresponding sliding of the sliding trace At least one invalid sliding area is determined in region;
Effective track determines subelement, for according to the sliding trace of the display and at least one invalid sliding area of determination Domain generates effective sliding trace of user;
Wherein, effective track determines that subelement is specifically used for:
By the corresponding sliding area of the sliding trace in addition at least one described invalid sliding area, clicked according to by user Be sequentially generated effective sliding trace.
6. device according to claim 5, which is characterized in that the inactive area determines that subelement is specifically used for:
When the time span that user clicks any sliding area is greater than preset time span threshold values, before the sliding area Or the corresponding sliding area of the sliding trace later is determined as invalid sliding area.
7. device according to claim 5, which is characterized in that the inactive area determines that subelement is specifically used for:
When the time span that user clicks any sliding area for the first time is greater than preset time span threshold values, by the sliding area The corresponding sliding area of the sliding trace before domain is determined as invalid sliding area;
When the time span that user clicks any sliding area for the second time is greater than preset time span threshold values, by the sliding area The corresponding sliding area of the sliding trace after domain is determined as invalid sliding area.
8. device according to claim 7, which is characterized in that
When the time span that user clicks any sliding area for the first time is greater than preset time span threshold values, also by the sliding Region is determined as invalid sliding area;
When the time span that user clicks any sliding area for the second time is greater than preset time span threshold values, also by the sliding Region is determined as invalid sliding area.
CN201510465877.2A 2015-07-30 2015-07-30 A kind of pattern unlocking method and device Active CN105138220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510465877.2A CN105138220B (en) 2015-07-30 2015-07-30 A kind of pattern unlocking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510465877.2A CN105138220B (en) 2015-07-30 2015-07-30 A kind of pattern unlocking method and device

Publications (2)

Publication Number Publication Date
CN105138220A CN105138220A (en) 2015-12-09
CN105138220B true CN105138220B (en) 2019-03-08

Family

ID=54723586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510465877.2A Active CN105138220B (en) 2015-07-30 2015-07-30 A kind of pattern unlocking method and device

Country Status (1)

Country Link
CN (1) CN105138220B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677146A (en) * 2015-12-30 2016-06-15 青岛海信电器股份有限公司 Prompt message generation method and device based on unlocking
CN106326720A (en) * 2016-09-05 2017-01-11 广东欧珀移动通信有限公司 Unlocking method and device
CN106713622A (en) * 2016-11-30 2017-05-24 努比亚技术有限公司 Terminal and unlocking method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123164A (en) * 2014-07-31 2014-10-29 广东欧珀移动通信有限公司 Application program starting method and device
CN104808933A (en) * 2014-01-24 2015-07-29 腾讯科技(北京)有限公司 Unlocking control method and device of intelligent terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140043984A (en) * 2012-10-04 2014-04-14 삼성전자주식회사 Method and device for screen unlocking of electronic device
CN104217153A (en) * 2014-09-02 2014-12-17 联想(北京)有限公司 Information processing method and electronic equipment
CN104503692A (en) * 2014-11-27 2015-04-08 惠州Tcl移动通信有限公司 Terminal control method and intelligent earphone

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808933A (en) * 2014-01-24 2015-07-29 腾讯科技(北京)有限公司 Unlocking control method and device of intelligent terminal
CN104123164A (en) * 2014-07-31 2014-10-29 广东欧珀移动通信有限公司 Application program starting method and device

Also Published As

Publication number Publication date
CN105138220A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
CN105574388B (en) A kind of unlocking method based on touch screen terminal, device and touch screen terminal
CN103365581B (en) A kind of method and apparatus that user equipment is carried out touching unlock based on unlocking pin
EP3100152B1 (en) User-authentication gestures
EP2506183B1 (en) Systems and methods for gesture lock obfuscation
US20130229367A1 (en) Dynamic Patterns for Mobile Device Authentication
CN104049897B (en) Touch panel device unlock method and device
CN107194235B (en) A kind of application program launching method and mobile terminal
CN104166816B (en) A kind of screen locking unlocking method and system based on application icon
US10102360B2 (en) User authentication based on time variant fingerprint sequences
CN104427081B (en) A kind of unlocking method and device of mobile terminal
CN105677337A (en) Application control method and device and terminal
CN106485166A (en) Screenshotss method and apparatus for electric terminal
CN105094874A (en) Application starting method and system
CN105138220B (en) A kind of pattern unlocking method and device
CN104376241A (en) Information processing method and electronic device
CN104951677B (en) Information processing method and device
CN105892820A (en) Icon display management method and device
CN105892808A (en) Mobile terminal unlocking system and method and mobile terminal
CN105159552B (en) A kind of flipping-over control method and user terminal browsing webpage
CN106407761B (en) Unlocking method and unlocking device
CN106250757A (en) The control method of a kind of application program and mobile terminal
Lashkari et al. A wide range survey on recall based graphical user authentications algorithms based on iso and attack patterns
CN103034441B (en) Unlocking method and device
CN104463039A (en) Unlocking method and device of intelligent device
CN106709320A (en) Identity authentication 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant