CN105740692B - A kind of unlocking method and terminal - Google Patents

A kind of unlocking method and terminal Download PDF

Info

Publication number
CN105740692B
CN105740692B CN201610061217.2A CN201610061217A CN105740692B CN 105740692 B CN105740692 B CN 105740692B CN 201610061217 A CN201610061217 A CN 201610061217A CN 105740692 B CN105740692 B CN 105740692B
Authority
CN
China
Prior art keywords
pressing
pressure value
compressing time
unlock
interface
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.)
Expired - Fee Related
Application number
CN201610061217.2A
Other languages
Chinese (zh)
Other versions
CN105740692A (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 CN201610061217.2A priority Critical patent/CN105740692B/en
Publication of CN105740692A publication Critical patent/CN105740692A/en
Application granted granted Critical
Publication of CN105740692B publication Critical patent/CN105740692B/en
Expired - Fee Related 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
    • 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

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)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The present invention provides a kind of unlocking methods, including:Unlocking request is obtained, unlock interface is entered according to the unlocking request;Pressing instruction is obtained, is instructed by the pressing and obtains pressing figure;If the pressing figure is identical as pre-stored unlock pressing figure, is instructed by the pressing and obtain pressure value and/or compressing time;If the pressure value reaches preset pressure value and/or the compressing time reaches default compressing time, unlock.The embodiment of the invention also discloses a kind of terminals.Using the present invention, the safety of terminal unlocking can be improved according to pressing instruction unlock.

Description

A kind of unlocking method and terminal
Technical field
The present invention relates to electronic technology field more particularly to a kind of unlocking methods and terminal.
Background technology
In current mobile internet era, more and more mobile terminals emerge one after another, such as smart mobile phone, tablet computer Life, work Deng, mobile terminal to user bring huge convenience, but its security performance also increasingly becomes mobile simultaneously The function of terminal one of is considered, and requirement of the user also to the usage experience of mobile terminal is also higher and higher.
In the prior art, more and more mobile terminals all employ touch screen as display and user input equipment, Such as mobile phone, existing mobile phone all employ touch screen mostly, therefore also occur various for touch-screen mobile phone Unlocking method.Pressure touch screen has become a kind of new model of mobile phone touch at present, and current unlock scheme is main or close Code unlock or pattern unlock, as the touch screen of present mobile phone is increasing, many users even need with two hand ability Unlock, practicability are relatively low.In addition, relatively low using the safety of password unlock or pattern unlock.If other users are learnt Unlocking manner, it is only an ornaments that mobile phone, which locks, at this time, no longer has any safety protection function.
Invention content
A kind of unlocking method of present invention offer and terminal can improve the safety of terminal unlocking according to pressing instruction unlock.
First aspect present invention provides a kind of unlocking method, including:
Unlocking request is obtained, unlock interface is entered according to the unlocking request;
Pressing instruction is obtained, is instructed by the pressing and obtains pressing figure;
If the pressing figure is identical as pre-stored unlock pressing figure, is instructed by the pressing and obtain pressure Value and/or compressing time;
If the pressure value reaches preset pressure value and/or the compressing time reaches default compressing time, unlock.
Optionally, the acquisition pressing instruction, including:
Obtain pressing instruction in predeterminable area, the predeterminable area according to the setting of input instruction show or It hides.
Optionally, described instructed by the pressing obtains pressure value and/or compressing time, including:
It is instructed by the pressing and obtains the pressure value or the compressing time;
If the pressure value reaches preset pressure value and/or the compressing time reaches default compressing time, solve Lock, including:
If the pressure value reaches the preset pressure value or the compressing time reaches the default compressing time, Unlock.
Optionally, described instructed by the pressing obtains pressure value and/or compressing time, including:
The compressing time is obtained by pressing instruction;
If the compressing time reaches the default compressing time, the pressure value is obtained by pressing instruction;
If the pressure value reaches preset pressure value and/or the compressing time reaches default compressing time, solve Lock, including:
If the pressure value reaches the preset pressure value, unlock.
Optionally, before the unlock, the method further includes:
Prompt message is exported, it includes common that the prompt message, which is used to prompt the application interface of output, the application interface, Interface or safeguard protection interface, the generic interface include private data, and the safeguard protection interface hides the privacy number According to;
Then described unlock includes:
The selection instruction for the prompt message is received, is unlocked according to the selection instruction, and enters the selection and refers to Enable corresponding application interface.
Second aspect of the present invention provides a kind of terminal, including:
Acquisition module enters unlock interface for obtaining unlocking request according to the unlocking request;
The acquisition module is additionally operable to obtain pressing instruction, is instructed by the pressing and obtain pressing figure;
The acquisition module passes through if it is identical to be additionally operable to the pressing figure and pre-stored unlock pressing figure The pressing instruction obtains pressure value and/or compressing time;
Unlocked state, if the pressure value for the acquisition module to obtain reaches preset pressure value and/or the acquisition mould The compressing time that block obtains reaches default compressing time, then unlocks.
Optionally, the acquisition module, is specifically used for:
Obtain pressing instruction in predeterminable area, the predeterminable area according to the setting of input instruction show or It hides.
Optionally, the acquisition module, is specifically used for:
It is instructed by the pressing and obtains the pressure value or the compressing time;
The unlocked state, is specifically used for:
If the pressure value reaches the preset pressure value or the compressing time reaches the default compressing time, Unlock.
Optionally, the acquisition module, including:
First acquisition unit, for obtaining the compressing time by pressing instruction;
Second acquisition unit is referred to if reaching the default compressing time for the compressing time by the pressing It enables and obtains the pressure value;
The unlocked state, is specifically used for:
If the pressure value reaches the preset pressure value, unlock.
Optionally, the terminal further includes:
Output module, for exporting prompt message, the prompt message is used to prompt the application interface of output, the application Interface includes generic interface or safeguard protection interface, and the generic interface includes private data, and the safeguard protection interface is hidden Hide the private data;
The then unlocked state, is specifically used for:
The selection instruction for the prompt message is received, is unlocked according to the selection instruction, and enters the selection and refers to Enable corresponding application interface.
Third aspect present invention provides a kind of terminal, including communication bus, input unit, output device, memory and Processor, wherein:
The communication bus, for realizing the company between the input unit, the output device and the processor Connect letter;
Batch processing code is stored in the memory, and the processor calls the program generation stored in the memory Code, the unlocking method for executing first aspect offer.
Using the present invention, when entering unlock interface, pressing figure is obtained by obtaining pressing instruction, when pressing figure with When pre-stored unlock pressing figure is identical, then continue to obtain pressure value and/or compressing time, if pressure value reaches default pressure Force value and/or compressing time reach default compressing time, then unlock.It is unlocked by pressing instruction, protective value can be improved, The safety for improving unlock, protects the private data of terminal inner.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this field For those of ordinary skill, without having to pay creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of an embodiment of unlocking method of the embodiment of the present invention;
Fig. 2 is a kind of flow diagram of another embodiment of unlocking method of the embodiment of the present invention;
Fig. 3 is a kind of flow diagram of another embodiment of unlocking method of the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal of the embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another terminal of the embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another terminal of the embodiment of the present invention.
Specific implementation mode
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 describes, 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, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Using the embodiment of the present invention, the safety of terminal unlocking can be improved according to pressing instruction unlock.
Term " first ", " second ", " third " in description and claims of this specification and above-mentioned attached drawing and " Four " etc. be for distinguishing different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process of series of steps or unit, method, be The step of system, product or equipment are not limited to list or unit, but further include the steps that optionally not listing or list Member, or further include optionally for the intrinsic other steps of these processes, method, product or equipment or unit.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of an embodiment of unlocking method of the embodiment of the present invention.This hair The terminal of bright embodiment for example can be mobile phone, tablet computer, laptop, palm PC, mobile internet device (MID, Mobile internet device), wearable device (such as smartwatch (such as iwatch), Intelligent bracelet, pedometer Deng) or other terminal devices for having using pressure inductor and having unlocking function.
The pressing figure of the embodiment of the present invention can be seal, the figure of stylus, any object (comprising with ductility and stretching The object of contracting is such as rubber or solid) pressing figure or fingerprint graph figure, therefore the pressing instruction can be used pair The object answered is pressed, and the present embodiment is then not construed as limiting.
The unlock pressing figure of the embodiment of the present invention can be seal, the figure of stylus, any object (comprising with ductility With the object such as rubber or solid of retractility) pressing figure or fingerprint graph, the present embodiment be then not construed as limiting.
As shown in Figure 1, an a kind of embodiment of unlocking method of the embodiment of the present invention may comprise steps of.
S100 obtains unlocking request, enters unlock interface according to the unlocking request.
In the specific implementation, terminal, which enters screen protection state or enters, locks interface, when receiving solution input by user When lock request, then unlock interface is jumped to from screen protection state or locking interface.
As a kind of enforceable mode, terminal can instruct aobvious when entering unlock interface according to setting input by user The pre-set region for obtaining pressing instruction is shown, user is prompted to input pressing instruction in the region.
As a kind of enforceable mode, the region for obtaining pressing instruction can also be instructed according to setting input by user It is hidden, makes other users that can not learn the region of input pressing instruction, to reinforce the security performance of unlock.
S101 obtains pressing instruction, is instructed by the pressing and obtains pressing figure.
In the specific implementation, terminal obtains pressing instruction, and obtains pressing instruction and act on the pressing figure formed in terminal.
S102 is obtained if the pressing figure is identical as pre-stored unlock pressing figure by pressing instruction Pressure force value and/or compressing time.
In the specific implementation, the pressing figure got is compared by terminal with pre-stored unlock pressing figure.If Pressing figure is differed with unlock pressing figure, then jumps back to original screen protection state from unlock interface or lock boundary Face.If pressing figure is identical as unlock pressing figure, continue through pressing instruction obtain act on pressure value in terminal with/ Or compressing time.
S103 is solved if the pressure value reaches preset pressure value and/or the compressing time reaches default compressing time Lock.
In the specific implementation, if pressure value reaches preset pressure value, either compressing time reaches default compressing time or pressure Force value reaches preset pressure value and compressing time reaches default compressing time, then terminal unlocking.
Using the embodiment of the present invention, when entering unlock interface, pressing figure is obtained by obtaining pressing instruction, works as pressing When figure is identical as pre-stored unlock pressing figure, then continue to obtain pressure value and/or compressing time, if pressure value reaches Preset pressure value and/or compressing time reach default compressing time, then unlock.It is unlocked by pressing instruction, guarantor can be improved Performance is protected, the safety of unlock is improved, protects the private data of terminal inner.
Referring to Fig. 2, Fig. 2 is a kind of flow diagram of another embodiment of unlocking method of the embodiment of the present invention.This The terminal of inventive embodiments for example can be mobile phone, tablet computer, laptop, palm PC, mobile internet device, can Wearable device (such as smartwatch (such as iwatch), Intelligent bracelet, pedometer etc.) or other have and utilize pressure inductor The terminal device of unlocking function.
The pressing figure of the embodiment of the present invention can be seal, the figure of stylus, any object (comprising with ductility and stretching The object of contracting is such as rubber or solid) pressing figure or fingerprint graph figure, therefore the pressing instruction can be used pair The object answered is pressed, and the present embodiment is then not construed as limiting.
The unlock pressing figure of the embodiment of the present invention can be seal, the figure of stylus, any object (comprising with ductility With the object such as rubber or solid of retractility) pressing figure or fingerprint graph, the present embodiment be then not construed as limiting.
As shown in Fig. 2, a kind of another embodiment of unlocking method of the embodiment of the present invention may comprise steps of.
S200 obtains unlocking request, enters unlock interface according to the unlocking request.
In the specific implementation, terminal, which enters screen protection state or enters, locks interface, when receiving solution input by user When lock request, then unlock interface is jumped to from screen protection state or locking interface.
S201 obtains the pressing instruction in predeterminable area.
In the specific implementation, the predeterminable area is shown or is hidden according to the setting of input instruction.User can add Region of the setting for inputting pressing instruction before lock.If terminal in the case where being continued to execute if predeterminable area gets pressing instruction State step;If terminal gets pressing instruction in the region in addition to the predeterminable area, illustrate that there may be carried out to terminal Illegal operation then stops continuing to execute following step, keeps current unlock interface.If terminal is in addition to the predeterminable area Region continuously acquire pressing instruction, terminal can start alarm while keeping current unlock interface, be conducive to not Know that the user of predeterminable area protects the data safety of terminal in input pressing instruction.
In the specific implementation, terminal when entering unlock interface, can show according to setting input by user instruction and set in advance The region for obtaining pressing instruction set prompts user to input pressing instruction in the region.
In the specific implementation, the region for obtaining pressing instruction can be also hidden according to setting input by user instruction, Further make other users that can not learn the region of input pressing instruction, to reinforce the security performance of unlock.
S202 is instructed by the pressing and is obtained pressing figure.
In the specific implementation, terminal obtains pressing instruction, and obtains pressing instruction and act on the pressing figure formed in terminal.
S203 is obtained if the pressing figure is identical as pre-stored unlock pressing figure by pressing instruction Take the pressure value or the compressing time.
In the specific implementation, the pressing figure got is compared by terminal with pre-stored unlock pressing figure.If Pressing figure is differed with unlock pressing figure, then jumps back to original screen protection state from unlock interface or lock boundary Face.If it is identical as unlock pressing figure to press figure, terminal can obtain pressure value or compressing time by pressing to instruct.
S204, if the pressure value reaches the preset pressure value or when the compressing time reaches the default pressing Between, then export prompt message.
In the specific implementation, if pressure value reaches preset pressure value or compressing time reaches default compressing time, terminal is defeated Go out prompt message, the prompt message is used to prompt the application interface of output, and the application interface includes generic interface or peace Full guard interface, the generic interface include private data, and the safeguard protection interface hides the private data.Wherein, hidden Private data may include that personal data, payment data, secure data of user etc. are related to the data of privacy of user, and private data also may be used It is needed using applications such as payment data and personal data including payment application etc..User can generic interface execute payment application, Using or browsing private data.Safeguard protection interface then hide private data, can also hide payment application, so if terminal into Enter safeguard protection interface, payment application, use or browsing private data cannot be executed.For not including privacy in other application The part of data then can be used normally, and be conducive to the protection of privacy of user data.By showing that generic interface or safety are protected Protect the access right that interface can control user to terminal.
As a kind of enforceable mode, the prompt message includes that the first interface identification and second contact surface identify, described First interface identification is used to indicate the generic interface, and the second contact surface mark is used to indicate the safeguard protection interface.The One interface identification and second contact surface mark can be used for the attribute at hiden application interface, therefore the first interface identification and second contact surface mark Know and needs to be set by the user.
S205 receives the selection instruction for the prompt message, is unlocked according to the selection instruction, and enters the choosing Select the corresponding application interface of instruction.
In the specific implementation, being the first interface identification when terminal receives user for the selection instruction of prompt message input When, then terminal unlocking, and enter generic interface, user can execute payment application, use or browsing private data in generic interface. When it for the selection instruction of prompt message input is second contact surface mark that terminal, which receives user, then terminal unlocking, and enter Safeguard protection interface, user cannot then execute payment application, use or browsing private data, and for not including in other application The part of private data still can be used normally.
As a kind of enforceable mode, selection instruction can be phonetic order or act on key command in terminal or Virtual key instructs.
Using the embodiment of the present invention, when entering unlock interface, pressing figure is obtained by obtaining pressing instruction, works as pressing When figure is identical as pre-stored unlock pressing figure, then continue to obtain pressure value and/or compressing time, if pressure value reaches Preset pressure value and/or compressing time reach default compressing time, then unlock.By press instruction be unlocked, and according to The selection instruction at family enters generic interface or safeguard protection interface, to determine the access right of user, protective value can be improved, carry The safety of height unlock, protects the private data of terminal inner.
Referring to Fig. 3, Fig. 3 is a kind of flow diagram of another embodiment of unlocking method of the embodiment of the present invention.This The terminal of inventive embodiments for example can be mobile phone, tablet computer, laptop, palm PC, mobile internet device, can Wearable device (such as smartwatch (such as iwatch), Intelligent bracelet, pedometer etc.) or other have and utilize pressure inductor The terminal device of unlocking function.
The pressing figure of the embodiment of the present invention can be seal, the figure of stylus, any object (comprising with ductility and stretching The object of contracting is such as rubber or solid) pressing figure or fingerprint graph figure, therefore the pressing instruction can be used pair The object answered is pressed, and the present embodiment is then not construed as limiting.
The unlock pressing figure of the embodiment of the present invention can be seal, the figure of stylus, any object (comprising with ductility With the object such as rubber or solid of retractility) pressing figure or fingerprint graph, the present embodiment be then not construed as limiting.
As shown in figure 3, a kind of another embodiment of unlocking method of the embodiment of the present invention may comprise steps of.
S300 obtains unlocking request, enters unlock interface according to the unlocking request.
In the specific implementation, terminal, which enters screen protection state or enters, locks interface, when receiving solution input by user When lock request, then unlock interface is jumped to from screen protection state or locking interface.
As a kind of enforceable mode, terminal can instruct aobvious when entering unlock interface according to setting input by user The pre-set region for obtaining pressing instruction is shown, user is prompted to input pressing instruction in the region.
As a kind of enforceable mode, the region for obtaining pressing instruction can also be instructed according to setting input by user It is hidden, makes other users that can not learn the region of input pressing instruction, to reinforce the security performance of unlock.
S301 obtains the pressing instruction in predeterminable area.
In the specific implementation, the predeterminable area is shown or is hidden according to the setting of input instruction.User can add Region of the setting for inputting pressing instruction before lock.If terminal in the case where being continued to execute if predeterminable area gets pressing instruction State step;If terminal gets pressing instruction in the region in addition to the predeterminable area, illustrate that there may be carried out to terminal Illegal operation then stops continuing to execute following step, keeps current unlock interface.If terminal is in addition to the predeterminable area Region continuously acquire pressing instruction, terminal can start alarm while keeping current unlock interface, be conducive to not Know that the user of predeterminable area protects the data safety of terminal in input pressing instruction.
In the specific implementation, terminal when entering unlock interface, can show according to setting input by user instruction and set in advance The region for obtaining pressing instruction set prompts user to input pressing instruction in the region.
In the specific implementation, the region for obtaining pressing instruction can be also hidden according to setting input by user instruction, Further make other users that can not learn the region of input pressing instruction, to reinforce the security performance of unlock.
S302 is instructed by the pressing and is obtained pressing figure.
In the specific implementation, terminal obtains pressing instruction, and obtains pressing instruction and act on the pressing figure formed in terminal.
S303 is obtained if the pressing figure is identical as pre-stored unlock pressing figure by pressing instruction Take the compressing time.
In the specific implementation, the pressing figure got is compared by terminal with pre-stored unlock pressing figure.If Pressing figure is differed with unlock pressing figure, then jumps back to original screen protection state from unlock interface or lock boundary Face.If it is identical as unlock pressing figure to press figure, terminal can obtain compressing time by pressing to instruct.
S304 obtains the pressure if the compressing time reaches the default compressing time by pressing instruction Force value.
In the specific implementation, if the compressing time that terminal is got reaches default compressing time, pressing instruction is continued through Obtain pressure value.If the compressing time that terminal is got is less than default compressing time, original screen is jumped back to from unlock interface Curtain guard mode locks interface.
S305 exports prompt message if the pressure value reaches the preset pressure value.
In the specific implementation, if pressure value reaches preset pressure value, terminal exports prompt message, and the prompt message is used for The application interface of output is prompted, the application interface includes generic interface or safeguard protection interface, and the generic interface includes Private data, the safeguard protection interface hide the private data.Wherein, private data may include user personal data, Payment data, secure data etc. are related to the data of privacy of user, and private data may also comprise the needs such as payment application and use payment The applications such as data and personal data.User can execute payment application, use or browsing private data in generic interface.Safeguard protection Interface then hides private data, can also hide payment application, so if terminal enters safeguard protection interface, cannot execute branch Pay application, use or browsing private data.Part for not including private data in other application then can be used normally, and have Conducive to the protection of privacy of user data.By showing that generic interface or safeguard protection interface can control use of the user to terminal Permission.
As a kind of enforceable mode, the prompt message includes that the first interface identification and second contact surface identify, described First interface identification is used to indicate the generic interface, and the second contact surface mark is used to indicate the safeguard protection interface.The One interface identification and second contact surface mark can be used for the attribute at hiden application interface, therefore the first interface identification and second contact surface mark Know and needs to be set by the user.
S306 receives the selection instruction for the prompt message, is unlocked according to the selection instruction, and enters the choosing Select the corresponding application interface of instruction.
In the specific implementation, being the first interface identification when terminal receives user for the selection instruction of prompt message input When, then terminal unlocking, and enter generic interface, user can execute payment application, use or browsing private data in generic interface. When it for the selection instruction of prompt message input is second contact surface mark that terminal, which receives user, then terminal unlocking, and enter Safeguard protection interface, user cannot then execute payment application, use or browsing private data, and for not including in other application The part of private data still can be used normally.
As a kind of enforceable mode, selection instruction can be phonetic order or act on key command in terminal or Virtual key instructs.
Using the embodiment of the present invention, when entering unlock interface, pressing figure is obtained by obtaining pressing instruction, works as pressing When figure is identical as pre-stored unlock pressing figure, then continue to obtain compressing time and pressure value, if compressing time reaches Default compressing time, and pressure value reaches preset pressure value, then unlocks.It is unlocked by pressing instruction, and according to user Selection instruction enter generic interface or safeguard protection interface, to determine the access right of user, protective value can be improved, improve The private data of terminal inner is protected in the safety of unlock.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of terminal of the embodiment of the present invention.Terminal as shown in Figure 4 includes Acquisition module 400 and unlocked state 401.
Acquisition module 400 enters unlock interface for obtaining unlocking request according to the unlocking request;
The acquisition module 400 is additionally operable to obtain pressing instruction, is instructed by the pressing and obtain pressing figure;
The acquisition module 400 leads to if it is identical to be additionally operable to the pressing figure and pre-stored unlock pressing figure It crosses the pressing instruction and obtains pressure value and/or compressing time;
Unlocked state 401, if reaching preset pressure value and/or described for the pressure value that the acquisition module 400 obtains The compressing time that acquisition module 400 obtains reaches default compressing time, then unlocks.
In the specific implementation, terminal, which enters screen protection state or enters, locks interface, when receiving solution input by user When lock request, then unlock interface is jumped to from screen protection state or locking interface.
As a kind of enforceable mode, terminal can instruct aobvious when entering unlock interface according to setting input by user The pre-set region for obtaining pressing instruction is shown, user is prompted to input pressing instruction in the region.
As a kind of enforceable mode, the region for obtaining pressing instruction can also be instructed according to setting input by user It is hidden, makes other users that can not learn the region of input pressing instruction, to reinforce the security performance of unlock.
In the specific implementation, terminal obtains pressing instruction, and obtains pressing instruction and act on the pressing figure formed in terminal.
In the specific implementation, the pressing figure got is compared by terminal with pre-stored unlock pressing figure.If Pressing figure is differed with unlock pressing figure, then jumps back to original screen protection state from unlock interface or lock boundary Face.If pressing figure is identical as unlock pressing figure, continue through pressing instruction obtain act on pressure value in terminal with/ Or compressing time.
In the specific implementation, if pressure value reaches preset pressure value, either compressing time reaches default compressing time or pressure Force value reaches preset pressure value and compressing time reaches default compressing time, then terminal unlocking.
Optionally, the acquisition module 400, is specifically used for:
Obtain pressing instruction in predeterminable area, the predeterminable area according to the setting of input instruction show or It hides.
In the specific implementation, the predeterminable area is shown or is hidden according to the setting of input instruction.User can add Region of the setting for inputting pressing instruction before lock.If terminal in the case where being continued to execute if predeterminable area gets pressing instruction State step;If terminal gets pressing instruction in the region in addition to the predeterminable area, illustrate that there may be carried out to terminal Illegal operation then stops continuing to execute following step, keeps current unlock interface.If terminal is in addition to the predeterminable area Region continuously acquire pressing instruction, terminal can start alarm while keeping current unlock interface, be conducive to not Know that the user of predeterminable area protects the data safety of terminal in input pressing instruction.
In the specific implementation, terminal when entering unlock interface, can show according to setting input by user instruction and set in advance The region for obtaining pressing instruction set prompts user to input pressing instruction in the region.
In the specific implementation, the region for obtaining pressing instruction can be also hidden according to setting input by user instruction, Further make other users that can not learn the region of input pressing instruction, to reinforce the security performance of unlock.
Optionally, the acquisition module 400, is specifically used for:
It is instructed by the pressing and obtains the pressure value or the compressing time;
The unlocked state 401, is specifically used for:
If the pressure value reaches the preset pressure value or the compressing time reaches the default compressing time, Unlock.
Optionally, as shown in figure 5, the acquisition module 400, including first acquisition unit 4001 and second acquisition unit 4002。
First acquisition unit 4001, for obtaining the compressing time by pressing instruction;
Second acquisition unit 4002 is pressed if reaching the default compressing time for the compressing time by described Pressure instruction obtains the pressure value;
The unlocked state 401, is specifically used for:
If the pressure value reaches the preset pressure value, unlock.
Optionally, as shown in figure 5, the terminal further includes output module 402.
Output module 402, for exporting prompt message, the prompt message is used to prompt the application interface of output, described Application interface includes generic interface or safeguard protection interface, and the generic interface includes private data, safeguard protection circle Face hides the private data;
The then unlocked state 401, is specifically used for:
The selection instruction for the prompt message is received, is unlocked according to the selection instruction, and enters the selection and refers to Enable corresponding application interface.
In the specific implementation, terminal exports prompt message, the prompt message is used to prompt the application interface of output, described to answer Include generic interface or safeguard protection interface with interface, the generic interface includes private data, the safeguard protection interface Hide the private data.Wherein, private data may include that personal data, payment data, secure data of user etc. are related to using The data of family privacy, private data may also comprise payment application etc. and need using applications such as payment data and personal data.User Payment application, use or browsing private data can be executed in generic interface.Safeguard protection interface then hides private data, also can be hidden Payment application is hidden, so if terminal enters safeguard protection interface, payment application, use or browsing privacy number cannot be executed According to.Part for not including private data in other application then can be used normally, and be conducive to the protection of privacy of user data. The access right that can control user to terminal by showing generic interface or safeguard protection interface.
As a kind of enforceable mode, the prompt message includes that the first interface identification and second contact surface identify, described First interface identification is used to indicate the generic interface, and the second contact surface mark is used to indicate the safeguard protection interface.The One interface identification and second contact surface mark can be used for the attribute at hiden application interface, therefore the first interface identification and second contact surface mark Know and needs to be set by the user.
In the specific implementation, being the first interface identification when terminal receives user for the selection instruction of prompt message input When, then terminal unlocking, and enter generic interface, user can execute payment application, use or browsing private data in generic interface. When it for the selection instruction of prompt message input is second contact surface mark that terminal, which receives user, then terminal unlocking, and enter Safeguard protection interface, user cannot then execute payment application, use or browsing private data, and for not including in other application The part of private data still can be used normally.
As a kind of enforceable mode, selection instruction can be phonetic order or act on key command in terminal or Virtual key instructs.
Using the embodiment of the present invention, when entering unlock interface, pressing figure is obtained by obtaining pressing instruction, works as pressing When figure is identical as pre-stored unlock pressing figure, then continue to obtain pressure value and/or compressing time, if pressure value reaches Preset pressure value and/or compressing time reach default compressing time, then unlock.It is unlocked by pressing instruction, guarantor can be improved Performance is protected, the safety of unlock is improved, protects the private data of terminal inner.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another terminal of the embodiment of the present invention.The embodiment of the present invention it is each The specific steps that a device is implemented can detailed in Example Fig. 1 to Fig. 3, the embodiment of the present invention then repeats no more.As shown in fig. 6, The mobile terminal of the present embodiment include communication bus 600, input unit 601, output device 602 and processor 603 (terminal The quantity of processor 603 can be one or more, in Fig. 6 by taking a processor as an example), wherein:
The communication bus 600, for realizing the input unit 601, the output device 602, the processor 603 Between connection communication;
The input unit 601 enters unlock interface for obtaining unlocking request according to the unlocking request;
The input unit 601 is additionally operable to obtain pressing instruction, is instructed by the pressing and obtain pressing figure;
The input unit 601 leads to if it is identical to be additionally operable to the pressing figure and pre-stored unlock pressing figure It crosses the pressing instruction and obtains pressure value and/or compressing time;
The processor 603, if reaching preset pressure value for the pressure value and/or the compressing time reaches default Compressing time then unlocks.
In the specific implementation, terminal, which enters screen protection state or enters, locks interface, when receiving solution input by user When lock request, then unlock interface is jumped to from screen protection state or locking interface.
As a kind of enforceable mode, terminal can instruct aobvious when entering unlock interface according to setting input by user The pre-set region for obtaining pressing instruction is shown, user is prompted to input pressing instruction in the region.
As a kind of enforceable mode, the region for obtaining pressing instruction can also be instructed according to setting input by user It is hidden, makes other users that can not learn the region of input pressing instruction, to reinforce the security performance of unlock.
In the specific implementation, terminal obtains pressing instruction, and obtains pressing instruction and act on the pressing figure formed in terminal.
In the specific implementation, the pressing figure got is compared by terminal with pre-stored unlock pressing figure.If Pressing figure is differed with unlock pressing figure, then jumps back to original screen protection state from unlock interface or lock boundary Face.If pressing figure is identical as unlock pressing figure, continue through pressing instruction obtain act on pressure value in terminal with/ Or compressing time.
In the specific implementation, if pressure value reaches preset pressure value, either compressing time reaches default compressing time or pressure Force value reaches preset pressure value and compressing time reaches default compressing time, then terminal unlocking.
Optionally, the input unit 601 obtains pressing instruction, specifically executes following steps:
Obtain pressing instruction in predeterminable area, the predeterminable area according to the setting of input instruction show or It hides.
In the specific implementation, the predeterminable area is shown or is hidden according to the setting of input instruction.User can add Region of the setting for inputting pressing instruction before lock.If terminal in the case where being continued to execute if predeterminable area gets pressing instruction State step;If terminal gets pressing instruction in the region in addition to the predeterminable area, illustrate that there may be carried out to terminal Illegal operation then stops continuing to execute following step, keeps current unlock interface.If terminal is in addition to the predeterminable area Region continuously acquire pressing instruction, terminal can start alarm while keeping current unlock interface, be conducive to not Know that the user of predeterminable area protects the data safety of terminal in input pressing instruction.
In the specific implementation, terminal when entering unlock interface, can show according to setting input by user instruction and set in advance The region for obtaining pressing instruction set prompts user to input pressing instruction in the region.
In the specific implementation, the region for obtaining pressing instruction can be also hidden according to setting input by user instruction, Further make other users that can not learn the region of input pressing instruction, to reinforce the security performance of unlock.
Optionally, the input unit 601 is instructed by the pressing and obtains pressure value and/or compressing time, is specifically held Row following steps:
It is instructed by the pressing and obtains the pressure value or the compressing time;
If the pressure value reaches preset pressure value and/or the compressing time reaches default compressing time, institute The unlock of processor 603 is stated, following steps are specifically executed:
If the pressure value reaches the preset pressure value or the compressing time reaches the default compressing time, Unlock.
Optionally, the input unit 601 is instructed by the pressing obtains pressure value and/or compressing time, including:
The input unit 601 obtains the compressing time by pressing instruction;
If the compressing time reaches the default compressing time, the input unit 601 is instructed by the pressing Obtain the pressure value;
If the pressure value reaches preset pressure value and/or the compressing time reaches default compressing time, institute The unlock of processor 603 is stated, following steps are specifically executed:
If the pressure value reaches the preset pressure value, unlock.
Optionally, the terminal further includes:
Output device 602, for exporting prompt message, the prompt message is used to prompt the application interface of output, described Application interface includes generic interface or safeguard protection interface, and the generic interface includes private data, safeguard protection circle Face hides the private data;
Then the processor 603, which unlocks, includes:
The selection instruction for the prompt message is received, is unlocked according to the selection instruction, and enters the selection and refers to Enable corresponding application interface.
In the specific implementation, terminal exports prompt message, the prompt message is used to prompt the application interface of output, described to answer Include generic interface or safeguard protection interface with interface, the generic interface includes private data, the safeguard protection interface Hide the private data.Wherein, private data may include that personal data, payment data, secure data of user etc. are related to using The data of family privacy, private data may also comprise payment application etc. and need using applications such as payment data and personal data.User Payment application, use or browsing private data can be executed in generic interface.Safeguard protection interface then hides private data, also can be hidden Payment application is hidden, so if terminal enters safeguard protection interface, payment application, use or browsing privacy number cannot be executed According to.Part for not including private data in other application then can be used normally, and be conducive to the protection of privacy of user data. The access right that can control user to terminal by showing generic interface or safeguard protection interface.
As a kind of enforceable mode, the prompt message includes that the first interface identification and second contact surface identify, described First interface identification is used to indicate the generic interface, and the second contact surface mark is used to indicate the safeguard protection interface.The One interface identification and second contact surface mark can be used for the attribute at hiden application interface, therefore the first interface identification and second contact surface mark Know and needs to be set by the user.
In the specific implementation, being the first interface identification when terminal receives user for the selection instruction of prompt message input When, then terminal unlocking, and enter generic interface, user can execute payment application, use or browsing private data in generic interface. When it for the selection instruction of prompt message input is second contact surface mark that terminal, which receives user, then terminal unlocking, and enter Safeguard protection interface, user cannot then execute payment application, use or browsing private data, and for not including in other application The part of private data still can be used normally.
As a kind of enforceable mode, selection instruction can be phonetic order or act on key command in terminal or Virtual key instructs.
Using the embodiment of the present invention, when entering unlock interface, pressing figure is obtained by obtaining pressing instruction, works as pressing When figure is identical as pre-stored unlock pressing figure, then continue to obtain pressure value and/or compressing time, if pressure value reaches Preset pressure value and/or compressing time reach default compressing time, then unlock.It is unlocked by pressing instruction, guarantor can be improved Performance is protected, the safety of unlock is improved, protects the private data of terminal inner.
The apparatus embodiments described above are merely exemplary, wherein the unit illustrated as separating component can It is physically separated with being or may not be, the component shown as unit may or may not be physics list Member, you can be located at a place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of module achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case of, you can to understand and implement.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Module or unit in device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
The module or module of the embodiment of the present invention, can be with universal integrated circuit (such as central processor CPU), or with special Integrated circuit (ASIC) is realized.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be expressed in the form of software products in other words, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Embodiments described above does not constitute the restriction to the technical solution protection domain.It is any in above-mentioned implementation Modifications, equivalent substitutions and improvements etc., should be included in the protection model of the technical solution made by within the spirit and principle of mode Within enclosing.

Claims (11)

1. a kind of unlocking method, which is characterized in that including:
Unlocking request is obtained, unlock interface is entered according to the unlocking request;
Pressing instruction is obtained in predeterminable area, is instructed by the pressing and obtains pressing figure, the predeterminable area is according to user The setting instruction of input is hidden, when getting pressing instruction in the region in addition to the predeterminable area, stopping after It is continuous to execute subsequent step and keep current unlock interface, while starting alarm;
If the pressing figure is identical as pre-stored unlock pressing figure, is instructed by the pressing and obtain pressure value And/or compressing time;
If the pressure value reaches preset pressure value and/or the compressing time reaches default compressing time, unlock.
2. unlocking method according to claim 1, which is characterized in that the acquisition pressing instruction, including:
The predeterminable area is shown according to the setting of input instruction.
3. unlocking method according to claim 1, which is characterized in that described instructed by the pressing obtains pressure value And/or compressing time, including:
It is instructed by the pressing and obtains the pressure value or the compressing time;
If the pressure value reaches preset pressure value and/or the compressing time reaches default compressing time, unlock, wraps It includes:
If the pressure value reaches the preset pressure value or the compressing time reaches the default compressing time, unlock.
4. unlocking method according to claim 1, which is characterized in that described instructed by the pressing obtains pressure value And/or compressing time, including:
The compressing time is obtained by pressing instruction;
If the compressing time reaches the default compressing time, the pressure value is obtained by pressing instruction;
If the pressure value reaches preset pressure value and/or the compressing time reaches default compressing time, unlock, wraps It includes:
If the pressure value reaches the preset pressure value, unlock.
5. unlocking method according to claim 3 or 4, which is characterized in that before the unlock, the method further includes:
Prompt message is exported, the prompt message is used to prompt the application interface of output, and the application interface includes generic interface Or safeguard protection interface, the generic interface include private data, the safeguard protection interface hides the private data;
Then described unlock includes:
The selection instruction for the prompt message is received, is unlocked according to the selection instruction, and enters the selection instruction pair The application interface answered.
6. a kind of terminal, which is characterized in that including:
Acquisition module enters unlock interface for obtaining unlocking request according to the unlocking request;
The acquisition module is additionally operable to obtain pressing instruction in predeterminable area, is instructed by the pressing and obtain pressing figure, institute It states predeterminable area to be hidden according to setting input by user instruction, when getting institute in the region in addition to the predeterminable area Pressing instruction is stated, stop continuing to execute subsequent step and keeps current unlock interface, while starting alarm;
The acquisition module, if it is identical to be additionally operable to the pressing figure and pre-stored unlock pressing figure, by described Pressing instruction obtains pressure value and/or compressing time;
Unlocked state, if the pressure value for the acquisition module to obtain reaches preset pressure value and/or the acquisition module obtains The compressing time taken reaches default compressing time, then unlocks.
7. terminal according to claim 6, which is characterized in that the acquisition module is specifically used for:
The predeterminable area is shown according to the setting of input instruction.
8. terminal according to claim 6, which is characterized in that the acquisition module is specifically used for:
It is instructed by the pressing and obtains the pressure value or the compressing time;
The unlocked state, is specifically used for:
If the pressure value reaches the preset pressure value or the compressing time reaches the default compressing time, unlock.
9. terminal according to claim 6, which is characterized in that the acquisition module, including:
First acquisition unit, for obtaining the compressing time by pressing instruction;
Second acquisition unit is obtained if reaching the default compressing time for the compressing time by pressing instruction Take the pressure value;
The unlocked state, is specifically used for:
If the pressure value reaches the preset pressure value, unlock.
10. terminal according to claim 8 or claim 9, which is characterized in that the terminal further includes:
Output module, for exporting prompt message, the prompt message is used to prompt the application interface of output, the application interface Including generic interface or safeguard protection interface, the generic interface includes private data, and the safeguard protection interface hides institute State private data;
The then unlocked state, is specifically used for:
The selection instruction for the prompt message is received, is unlocked according to the selection instruction, and enters the selection instruction pair The application interface answered.
11. a kind of terminal, which is characterized in that including communication bus, input unit, output device, memory and processor, In:
The communication bus is logical for realizing the connection between the input unit, the output device and the processor Letter;
Batch processing code is stored in the memory, and the processor calls the program code stored in the memory, 1 to 5 any one of them unlocking method is required for perform claim.
CN201610061217.2A 2016-01-28 2016-01-28 A kind of unlocking method and terminal Expired - Fee Related CN105740692B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610061217.2A CN105740692B (en) 2016-01-28 2016-01-28 A kind of unlocking method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610061217.2A CN105740692B (en) 2016-01-28 2016-01-28 A kind of unlocking method and terminal

Publications (2)

Publication Number Publication Date
CN105740692A CN105740692A (en) 2016-07-06
CN105740692B true CN105740692B (en) 2018-09-04

Family

ID=56247864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610061217.2A Expired - Fee Related CN105740692B (en) 2016-01-28 2016-01-28 A kind of unlocking method and terminal

Country Status (1)

Country Link
CN (1) CN105740692B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107358082A (en) * 2017-06-29 2017-11-17 上海与德科技有限公司 The unlocking method and terminal of a kind of terminal
WO2019023958A1 (en) * 2017-08-02 2019-02-07 深圳传音通讯有限公司 Screen unlocking method and screen unlocking system for smart terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188374A (en) * 2011-12-29 2013-07-03 深圳富泰宏精密工业有限公司 Mobile phone screen unlocking method and unlocking system
CN203166898U (en) * 2013-03-28 2013-08-28 林宝宗 Community correction watch monitor
CN104020946A (en) * 2013-02-28 2014-09-03 富泰华工业(深圳)有限公司 Unlocking system and unlocking method
CN104123082A (en) * 2013-04-25 2014-10-29 深圳富泰宏精密工业有限公司 Electronic device unlocking method and system
CN104331242A (en) * 2014-10-08 2015-02-04 无锡指网生物识别科技有限公司 Control method for touch screen equipment
CN104951687A (en) * 2015-07-21 2015-09-30 上海斐讯数据通信技术有限公司 Method and system of unlocking through fingerprint

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457619A (en) * 2011-12-30 2012-05-16 广东欧珀移动通信有限公司 Method for setting permission password for mobile phone
CN105160228A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Mobile terminal unlocking method and mobile terminal
CN105184137A (en) * 2015-09-09 2015-12-23 魅族科技(中国)有限公司 Touch screen unlocking method and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188374A (en) * 2011-12-29 2013-07-03 深圳富泰宏精密工业有限公司 Mobile phone screen unlocking method and unlocking system
CN104020946A (en) * 2013-02-28 2014-09-03 富泰华工业(深圳)有限公司 Unlocking system and unlocking method
CN203166898U (en) * 2013-03-28 2013-08-28 林宝宗 Community correction watch monitor
CN104123082A (en) * 2013-04-25 2014-10-29 深圳富泰宏精密工业有限公司 Electronic device unlocking method and system
CN104331242A (en) * 2014-10-08 2015-02-04 无锡指网生物识别科技有限公司 Control method for touch screen equipment
CN104951687A (en) * 2015-07-21 2015-09-30 上海斐讯数据通信技术有限公司 Method and system of unlocking through fingerprint

Also Published As

Publication number Publication date
CN105740692A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN107992731B (en) Method and device for setting multiple unlocking based on intelligent mobile terminal
CN103902862B (en) A kind of mobile device management method, apparatus and a kind of mobile equipment
CN104008346B (en) The method and apparatus of the privacy mode of log-on data processing equipment
WO2014029356A1 (en) Method and mobile terminal for enhancing the security of a mobile terminal
WO2017143816A1 (en) Privacy protection method and system for intelligent terminal
CN102968343A (en) Method and system for switching users
CN104598783A (en) Unlocking method and device of intelligent terminal
CN104182668A (en) Screen unlock based identity identification method
US20150047019A1 (en) Information processing method and electronic device
CN103034417A (en) Unlocking method for touch screen and terminal equipment
CN105159557B (en) The generation method and mobile terminal of a kind of unlocking pin
CN105549826A (en) Mobile terminal and locking method of slide page thereof
CN105740692B (en) A kind of unlocking method and terminal
CN104809373B (en) A kind of method of terminal unlocking
CN108052269A (en) Unlocking screen optimization method, terminal device and computer-readable medium
KR101392113B1 (en) Fingerprint locking system
CN104966017B (en) A kind of Password Input protects system and method
CN106407847B (en) A kind of unlocking method and device
CN105516500A (en) Method and system for selecting equipment mode
CN108683809A (en) screen locking method, device and system
CN105512526B (en) The quick release method and device of terminal device
CN105550565B (en) A kind of unlocking method and device
CN108572779A (en) A kind of combination gesture authentication method, system and mobile terminal
CN107070864A (en) Safe verification method and system based on fingerprint
CN105260104A (en) Mobile terminal 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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180904