CN106484465A - Unlocking method and device - Google Patents

Unlocking method and device Download PDF

Info

Publication number
CN106484465A
CN106484465A CN201610832205.5A CN201610832205A CN106484465A CN 106484465 A CN106484465 A CN 106484465A CN 201610832205 A CN201610832205 A CN 201610832205A CN 106484465 A CN106484465 A CN 106484465A
Authority
CN
China
Prior art keywords
released state
application
intended application
turned
convenient pattern
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.)
Pending
Application number
CN201610832205.5A
Other languages
Chinese (zh)
Inventor
伍亮雄
刘海涛
王宝林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610832205.5A priority Critical patent/CN106484465A/en
Publication of CN106484465A publication Critical patent/CN106484465A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure is directed to a kind of unlocking method and device, belong to operating system security technical field.Methods described includes:When intended application is triggered, judge whether the intended application is to have locked application;When the intended application is for locking application, judge whether convenient pattern has turned on, the convenient pattern is used for starting in the case of not unlocking having locked application;When the convenient pattern have turned on and released state be released state number of applications more than or equal to 1 when, start the intended application.The unlocking method provided by the disclosure, terminal can have been turned on convenient pattern and unlocked one lock application after, other are directly initiated in the case of not being unlocked has locked application, so as to individually unlock once without the need for locking application for each, achieve quick startup and lock application, the operation of user is simplified, improves unblock efficiency.

Description

Unlocking method and device
Technical field
It relates to operating system security technical field, more particularly to a kind of unlocking method and device.
Background technology
With the concern of the development of terminal technology and user to application safety, increasing terminal starts to provide at present Application lock mechanism.Can be locked for some applications based on the application lock mechanism user, afterwards, when the terminal detect a certain plus When lock application is triggered, you can first one application unblock page of display on screen, receive when page is unlocked based on the application During correct unlock instruction, can just show that this has locked the concrete content of pages of application, such that it is able to avoid application content is revealed, protect Shield privacy of user.
But in practical application, terminal is usually mounted with multiple applications, and in order to protect the safety of each application, Yong Huke Be able to can be locked for multiple applications respectively.In this case, if terminal multiple lock application between switch over when, Then application has been locked for each be required for individually unblock once.For example, when terminal exits the currently used application A of locking, And when detecting to locking the start-up operation for applying B, then need first to show the application unblock page of application B, should answer when being based on When correct unlock instruction is received with the unblock page, could start application B;Afterwards, when terminal exits application B, and detect During to locking the start-up operation for applying C, it is also desirable to first show the application unblock page of application C, when based on application unblock page When face receives correct unlock instruction, application C could be started.
Content of the invention
For overcoming problem present in correlation technique, present disclose provides a kind of unlocking method and device.The technical side Case is as follows:
First aspect according to the embodiment of the present disclosure, there is provided a kind of unlocking method, methods described include:
When intended application is triggered, judge whether the intended application is to have locked application;
When the intended application is for locking application, judge whether convenient pattern has turned on, the convenient pattern is used for Start in the case of not unlocking and locked application;
When the convenient pattern have turned on and released state be released state number of applications more than or equal to 1 when, open Move the intended application.
Alternatively, methods described also includes:
When application lock setting instruction is received, show convenient mode switch;
When the start-up operation to the convenient mode switch is detected, determine that the convenient pattern has turned on.
Alternatively, described when the convenient pattern have turned on and released state be released state number of applications more than or During equal to 1, start the intended application, including:
When the convenient pattern has turned on, the number of applications that released state is released state, the unblock shape is determined State includes released state and non-released state;
When the number of applications that released state is released state is more than or equal to 1, start the intended application.
Alternatively, described have turned on and released state is that the quantity of the application of released state is more than when the convenient pattern Or when 1 is equal to, start the intended application, including:
When the convenient pattern have turned on and released state be released state number of applications more than or equal to 1 when, will The released state of the intended application never released state is revised as released state;
Based on the current released state of the intended application, start the intended application.
Alternatively, methods described also includes:
When the convenient pattern is not opened, or, the convenient pattern has turned on but current released state is for unlocking shape When the number of applications of state is 0, show the application unblock page on current screen;
When correct unlock instruction being received based on the application unblock page, start the intended application.
Second aspect according to the embodiment of the present disclosure, there is provided a kind of tripper, described device include:
First judge module, for when intended application is triggered, judging whether the intended application is to have locked application;
Second judge module, for when the intended application is for locking application, judging whether convenient pattern has turned on, The convenient pattern is used for starting in the case of not unlocking having locked application;
First starting module, for when the convenient pattern have turned on and released state be released state number of applications During more than or equal to 1, start the intended application.
Alternatively, described device also includes:
First display module, for when application lock setting instruction is received, showing convenient mode switch;
Determining module, for when the start-up operation to the convenient mode switch is detected, determining the convenient pattern Have turned on.
Alternatively, first starting module includes:
Determination sub-module, for when the convenient pattern has turned on, determining the application that released state is released state Quantity, the released state include released state and non-released state;
First starts submodule, for when the number of applications that released state is released state is more than or equal to 1, starting The intended application.
Alternatively, first starting module includes:
Modification submodule, for when the convenient pattern have turned on and released state be released state number of applications big In or be equal to 1 when, the released state of the intended application never released state is revised as released state;
Second starts submodule, for based on the current released state of the intended application, starting the intended application.
Alternatively, described device also includes:
Second display module, for not opening when the convenient pattern, or, the convenient pattern has turned on but current solution Lock status be released state number of applications be 0 when, shows on current screen application unlock the page;
Second starting module, for when correct unlock instruction is received based on the application unblock page, starting institute State intended application.
The third aspect according to the embodiment of the present disclosure, there is provided a kind of tripper, described device include:
Processor;
For storing the memory of the processor executable;
Wherein, the processor is used for:
When intended application is triggered, judge whether the intended application is to have locked application;
When the intended application is for locking application, judge whether convenient pattern has turned on, the convenient pattern is used for Start in the case of not unlocking and locked application;
When the convenient pattern have turned on and released state be released state number of applications more than or equal to 1 when, open Move the intended application.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:
The method and device that the embodiment of the present disclosure is provided, by when intended application is triggered, judging that the intended application is No judge whether convenient pattern has turned on for locking application when the intended application is for locking application, convenient pattern use Application has been locked in starting in the case of not unlocking, when the convenient pattern have turned on and released state be released state should During with quantity more than or equal to 1, start the intended application, terminal can be implemented in and have been turned on convenient pattern and unlocked one After locking application, other are directly initiated in the case of not being unlocked and has locked application, so as to without the need for adding for each Lock application is all individually unlocked once, is simplified the operation of user, is improve unblock efficiency.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the enforcement for meeting the disclosure Example, and be used for together with specification explaining the principle of the disclosure.
Fig. 1 is a kind of flow chart of the unlocking method according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the unlocking method that implements to exemplify according to another exemplary;
Fig. 3 A is a kind of block diagram of the tripper according to an exemplary embodiment;
Fig. 3 B is a kind of block diagram of the tripper that implements to exemplify according to another exemplary;
Fig. 3 C is a kind of structural representation of first starting module 330 according to an exemplary embodiment;
Fig. 3 D is a kind of structural representation of first starting module 330 that implements to exemplify according to another exemplary;
Fig. 4 is a kind of block diagram of the terminal 400 according to an exemplary embodiment.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some that described in detail in claims, the disclosure.
Before detailed explanation is carried out to the embodiment of the present disclosure, first the application scenarios to the embodiment of the present disclosure give Introduce.In correlation technique, if terminal multiple lock application between switch over when, locked application for each Need individually unblock once, this unlocking manner operates excessively loaded down with trivial details for a user, and it is relatively low to unlock efficiency.Therefore, In order to simplify the operation of user, unblock efficiency is improved, the embodiment of the present disclosure provides another kind of unlocking method, and details are as follows:
Fig. 1 is a kind of flow chart of the unlocking method according to an exemplary embodiment, as shown in figure 1, the method is used In terminal, comprise the following steps:
In a step 101, when intended application is triggered, judge whether the intended application is to have locked application.
In a step 102, when the intended application is for locking application, judge whether convenient pattern has turned on, this is convenient Pattern is used for starting in the case of not unlocking having locked application.
In step 103, when the convenient pattern has turned on and released state be released state number of applications more than or During equal to 1, start the intended application.
The method that the embodiment of the present disclosure is provided, by when intended application is triggered, judge the intended application be whether Application is locked, when the intended application is for locking application, judges whether convenient pattern has turned on, the convenient pattern is used for not Start in the case of unblock and locked application, when the convenient pattern have turned on and released state be released state number of applications During more than or equal to 1, start the intended application, terminal can be implemented in have been turned on convenient pattern and unlocked one lock should With afterwards, other are directly initiated in the case of not being unlocked and has locked application, so as to without the need for having locked application for each All individually unblock once, simplifies the operation of user, improves unblock efficiency.
Alternatively, the method also includes:
When application lock setting instruction is received, show convenient mode switch;
When the start-up operation to the convenient mode switch is detected, determine that the convenient pattern has turned on.
Alternatively, deserve that the convenient pattern has turned on and released state is that the number of applications of released state is more than or equal to When 1, start the intended application, including:
When the convenient pattern has turned on, the number of applications that released state is released state is determined, the released state bag Include released state and non-released state;
When the number of applications that released state is released state is more than or equal to 1, start the intended application.
Alternatively, deserve the convenient pattern have turned on and released state be the application of released state quantity more than or wait When 1, start the intended application, including:
When the convenient pattern have turned on and released state be released state number of applications more than or equal to 1 when, should The released state of intended application never released state is revised as released state;
Based on the current released state of the intended application, start the intended application.
Alternatively, the method also includes:
When the convenient pattern is not opened, or, the convenient pattern has turned on but current released state is released state When number of applications is 0, show the application unblock page on current screen;
When correct unlock instruction being received based on the application unblock page, start the intended application.
Above-mentioned all optional technical schemes, all can be according to the alternative embodiment for arbitrarily combining to form the disclosure, disclosure reality Apply example no longer to repeat this one by one.
Fig. 2 is a kind of flow chart of the unlocking method according to an exemplary embodiment, as shown in Fig. 2 the method is used In terminal, comprise the following steps:
In step 201, when intended application is triggered, judge whether the intended application is to have locked application.
Wherein, arbitrary application that the intended application can be currently installed on for the terminal.And it should be noted that target should Can include to start buttoned-up intended application with the situation being triggered, and by intended application from before and after running background To situations such as front stage operations.Correspondingly, the trigger action to intended application can be the operation of the icon of click intended application, or Intended application is switched to person handover operation of front stage operation etc. from running background, and the embodiment of the present disclosure is not limited to this.
Wherein, this has locked application and had referred to before intended application is triggered, and is locked by applying lock mechanism Application.And for application is locked, in correlation technique, when locking application and being triggered, the terminal will be first in screen One application unblock page of upper display, when correct unlock instruction is received based on application unblock page, just can show this Lock application concrete content of pages, that is to say, need to each lock application be all unlocked after, could start answer With.
In the embodiment of the present disclosure, judge whether intended application is that the process for having locked application can include:Work as intended application When being triggered, the mark of the intended application is obtained;According to the mark of the intended application, whether judge the intended application is to add Lock application.
Wherein, the mark of the intended application can be the title of the intended application, the numbering of the intended application or the mesh Installation kit title (Package Name) of mark application etc., the embodiment of the present disclosure is not limited to this.
The terminal can pre-build the corresponding relation between the mark of the intended application and locking state, so as in basis The mark of the intended application, judge the intended application be whether locked application during, first can be closed according to the correspondence System, determines the corresponding locking state of mark of the intended application, further according to the locking state judge the intended application be whether Lock application.Wherein, the locking state is used for indicating whether the intended application is to have locked application, for example, when the intended application When being to lock application, the value of the locking state can be 1;When the intended application is not to lock application, the locking state Value can be 0.
In addition, the mark of the intended application can be obtained from activity class (Activity) information of the intended application Arrive.For example, when the terminal receives screen locking and instructs, the Activity information that the intended application the superiors show can be obtained, The Activity information includes the mark of the intended application.Further, the terminal can be called specified function to obtain this The Activity information of intended application, for example, the terminal can call specified function Activity Stack.top Running Activity Locked so that terminal returns the Activity information of the intended application.
In step 202., when the intended application is for locking application, judge whether convenient pattern has turned on, this is convenient Pattern is used for starting in the case of not unlocking having locked application.
In the embodiment of the present disclosure, in correlation technique, each locks application and is required for individually unblock situation once, Quickly open for the ease of user and application has been locked, a convenient mode switch can be increased in the terminal, the convenient pattern is opened Close for starting or closing convenient pattern.And when convenient pattern is opened, can directly initiate in the case of not unlocking and add Lock application;And when convenient pattern is not opened, then still need to be unlocked according to correct unlock instruction.
In a kind of possible implementation, when terminal receives application lock and instruction is arranged, convenient pattern can be shown Switch, when the start-up operation to the convenient mode switch is detected, you can determine that the convenient pattern has turned on.
Wherein, the application lock arranges instruction and is used for applying lock to arrange, and the application lock arrange instruction can by with Family is triggered by assigned operation, and the assigned operation can arrange operation of menu etc. for clicking on application lock.The convenient mode switch The forms such as icon, control, button can be shown as, naturally it is also possible to other forms are shown as, the embodiment of the present disclosure is not done to this Limit.
It should be noted that the embodiment of the present disclosure is only to show that the convenient mode switch is to arrange in menu in application lock Example is illustrated, and in practical application, the convenient mode switch can also show in the main interface of terminal, or is pressed with entity The form of key is arranged in the terminal, and the embodiment of the present disclosure is not limited to the concrete form of the convenient mode switch.
Further, the terminal can also pre-build an opening corresponding with the convenient pattern, so as to follow-up By the opening of the convenient pattern is called, judge whether the convenient pattern has turned on.Wherein, the opening includes to open Open state and non-opening.And when convenient mode switch is opened, the opening is revised as having turned on state;When convenient mould When formula switch cuts out, the opening is non-opening.
For example, the terminal can arrange one lock_convenient of storage in (Settings.Secure) in system Value, for indicating the opening of the convenient pattern.And when lock_convenient value is 1, represent that convenient pattern is opened Open;When lock_convenient value is 0, represent that convenient pattern is not opened.Can be by calling this so as to the follow-up terminal Lock_convenient value, judges whether the convenient pattern has turned on.
In step 203, when the convenient pattern has turned on and released state be released state number of applications more than or During equal to 1, start the intended application.
Wherein, the released state of application is used for indicating whether the application is unlocked, and the application with released state is logical Chang Weiyi locks application.Start the trigger action that the intended application refers to according to user, show the concrete page of the intended application Content.For example, when trigger action is the start-up operation to buttoned-up intended application, the homepage of the intended application can be shown Face;When trigger action is the handover operation that intended application is switched to front stage operation from running background, the target can be shown Page that application is just showing before switching to backstage etc..
When the number of applications that released state is released state is more than or equal to 1, represent the application number for currently having unlocked Amount is more than or equal to 1, that is to say, active user has unlocked at least one by correct unlock instruction and locked application, from And can determine that the user is exactly the owner of the terminal.And, now the convenient pattern has turned on, and represents that user is same and is intended to In the case of successfully having unlocked at least one application, other have locked application and unlocked just can not directly initiate, so as to now The step of terminal can skip the display application unblock page, and the intended application is directly initiated, that is to say, directly display the mesh The concrete content of pages of mark application.
When the convenient pattern have turned on and released state be released state number of applications more than or equal to 1 when, start The process of the intended application can include:When the convenient pattern has turned on, the application that released state is released state is determined Quantity, the released state include released state and non-released state;When the number of applications that released state is released state is big In or be equal to 1 when, start the intended application.
Wherein, terminal can determine the number of applications that released state is released state by following two modes:
First kind of way, terminal can travel through all released states for having locked application, and therefrom count released state Number of applications for released state.
In this manner, terminal can lock application for each in advance and arrange a corresponding released state, and solve Lock status can include released state and non-released state both states.Under original state, each has unlocked the solution of application Lock status is non-released state, afterwards, when successfully unlocking certain based on correct unlock instruction and unlocking application, you can will The released state never released state for having unlocked application is revised as released state.
In practical application, each released state for having locked application can also represent with True or Fause that True represents Released state, Fause represent non-released state.
Further, when terminal screen locking or shutdown, the terminal can also unlock the released state of application to each Initialized, will each released state for having unlocked application be all revised as non-released state.
The second way, the terminal can pre-build a specified list, and the specified list is used for storing all solving The application identities of lock application.When determining that convenient pattern has turned on, the terminal can search the application stored in the specified list The quantity of mark, the then quantity of the application identities for being stored are the number of applications that released state is released state.
It should be noted that the specified list is usually sky under original state, afterwards, when being become based on correct unlock instruction When work(unlocks certain and unlocks application, you can the application identities that this has been unlocked application are stored in the specified list, therefore can Enough applications found from the instruction list, as released state is the application of released state.Wherein, the application identities can Think that this has unlocked the title of application, numbering etc., the embodiment of the present disclosure is not limited to this.
Further, when terminal screen locking or shutdown, the terminal can also be initialized to the instruction list, i.e., clearly The application identities stored in the empty specified list.
In another embodiment, the terminal can also start intended application according to the released state of intended application, that is to say, When the intended application is for locking application, the released state of the intended application, and the unblock shape according to the intended application is obtained State, starts the intended application.
Wherein, according to the released state of the intended application, starting the intended application can include:Solution when the intended application When lock status is for released state, start the intended application;When the released state of the intended application is non-released state, working as Show the application unblock page on forth screen;When correct unlock instruction being received based on the application unblock page, start the mesh Mark application.
In this manner, when convenient pattern has turned on and released state be the application of released state quantity more than or During equal to 1, the process for starting the intended application also includes:When convenient pattern have turned on and released state be released state should During with quantity more than or equal to 1, the released state of the intended application never released state is revised as released state;Being based on should The current released state of intended application, starts the intended application.
Wherein, the mode that released state is the number of applications of released state is determined based on above two, by intended application Released state never released state be revised as released state and also include following two modes:
First kind of way:When terminal has unlocked application for each and has been provided with corresponding released state, directly by target The released state of application never released state is revised as released state.
The second way:When terminal is provided with a specified list for storing all application identities for having unlocked application When, the mark of the intended application is added to the instruction list, by the released state of the intended application never released state It is revised as released state.
It should be noted that in correlation technique, when the intended application is for locking application, typically by calling Check Access Control Pass function in Security Manager Service (application lock system service), comes The identifying whether in the specified list of the intended application is searched, when the mark of the intended application is in the specified list, i.e., Can return to True value, with indicate the intended application released state as released state.And in the embodiment of the present disclosure, can also lead to Cross and change the check Access Control Pass function to realize above-mentioned unlocking method.
For example, the terminal can increase decision logic and status modifier in check Access Control Pass function Logic.The decision logic is used for judging whether convenient pattern has turned on, and the application that current released state is released state Whether quantity is more than or equal to 1;For working as, the status modifier logic determines that convenient pattern has turned on and released state is for unlocking When the number of applications of state is more than or equal to 1, the mark of the intended application is added to the instruction list, should by the target Released state never released state is revised as released state.So as to when convenient pattern has turned on and released state is for When the number of applications of released state is more than or equal to 1, by the amended check Access Control Pass function it is The mark of the intended application can be found from the specified list, and returns True value.Afterwards, the terminal can be according to return True value determines that the state of the intended application is released state, and directly initiates the intended application.
The method provided by the embodiment of the present disclosure, in the case that the convenient pattern of terminal has turned on, when first starts When locking application A, the terminal will first show the application unblock page of application A, receive when page is unlocked based on the application During correct unlock instruction, you can start application A;Afterwards, when terminal exit application A, and detect to lock application C open During dynamic operation, the terminal can skip display application unblock page step, and directly initiate application C;In the same manner, if detecting afterwards The start-up operation of application is locked to other, it is also possible to directly started.In this way, single without the need for locking application for each Solely unblock once, simplifies the operation of user, improves Consumer's Experience.
In step 204, when the convenient pattern is not opened, or, the convenient pattern has turned on but current released state is When the number of applications of released state is 0, show the application unblock page on current screen.
Wherein, the application unblock page is used for protecting the intended application, can be the password unblock page, unlocked by fingerprint page Face, figure unblock page etc., the embodiment of the present disclosure is not limited to this.
Further, when intended application is started according to corresponding released state, if the convenient pattern is not opened, or Person, the convenient pattern has turned on but number of applications that current released state is released state is 0, then the unblock of the intended application State will be non-released state, and also the released state will not be modified, and so as to now, the terminal is still needed in current screen One application unblock page of upper display, to protect the intended application.
In step 205, when correct unlock instruction is received based on the application unblock page, starting the target should With.
Wherein, the correct unlock instruction of the application unblock page can be pre-set password, fingerprint, figure etc., this Open embodiment is not limited to this.
For example, if the application unblock page unlocks the page for password, when user is just input in the application unblock page After true password, the terminal can receive correct unlock instruction based on the application unblock page, and cancel the application unblock page The display in face, shows the concrete content of pages of the intended application that the application unblock page is covered.
In sum, the method that the embodiment of the present disclosure is provided, by when intended application is triggered, judging the intended application Whether it is that application has been locked, when the intended application is for locking application, judges whether convenient pattern has turned on, the convenient pattern Application has been locked for starting in the case of not unlocking, when the convenient pattern has turned on and released state is released state When number of applications is more than or equal to 1, start the intended application, terminal can be implemented in and have been turned on convenient pattern and unlocked one After locking application, other are directly initiated in the case of not being unlocked and has locked application, so as to without the need for being directed to each Lock application all individually to unlock once, the operation of user is simplified, improves unblock efficiency.
Fig. 3 A is a kind of block diagram of the tripper according to an exemplary embodiment.Reference picture 3A, the device include:
First judge module 310, for when intended application is triggered, judging whether the intended application is to have locked to answer With;
Second judge module 320, for when the intended application is for locking application, judging whether convenient pattern is opened Open, the convenient pattern is used for starting in the case of not unlocking having locked application;
First starting module 330, for when the convenient pattern have turned on and released state be released state application number When amount is more than or equal to 1, start the intended application.
The device that the embodiment of the present disclosure is provided, by when intended application is triggered, judge the intended application be whether Application is locked, when the intended application is for locking application, judges whether convenient pattern has turned on, the convenient pattern is used for not Start in the case of unblock and locked application, when the convenient pattern have turned on and released state be released state number of applications During more than or equal to 1, start the intended application, the device can be implemented in and have been turned on convenient pattern and unlocked one locking After application, other are directly initiated in the case of not being unlocked and has locked application, so as to answer without the need for being locked for each With all individually unlocking once, the operation of user is simplified, improves unblock efficiency.
Alternatively, referring to Fig. 3 B, the device also includes:
First display module 340, for when application lock setting instruction is received, showing convenient mode switch;
Determining module 350, for when the start-up operation to the convenient mode switch is detected, having determined the convenient pattern Open.
Alternatively, referring to Fig. 3 C, first starting module 330 includes:
Determination sub-module 331, for when the convenient pattern has turned on, determining the application that released state is released state Quantity, the released state include released state and non-released state;
First start submodule 332, for when the number of applications that released state is released state more than or equal to 1 when, Start the intended application.
Alternatively, referring to Fig. 3 D, first starting module 330 includes:
Modification submodule 333, for when the convenient pattern have turned on and released state be released state number of applications During more than or equal to 1, the released state of the intended application never released state is revised as released state;
Second starts submodule 334, for based on the current released state of the intended application, starting the intended application.
Alternatively, referring to Fig. 3 B, the device also includes:
Second display module 360, for not opening when the convenient pattern, or, the convenient pattern has turned on but current solution Lock status be released state number of applications be 0 when, shows on current screen application unlock the page;
Second starting module 370, for when correct unlock instruction is received based on the application unblock page, starting should Intended application.
With regard to the device in above-described embodiment, wherein modules execute the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram of the terminal 400 according to an exemplary embodiment, and the terminal 400 is above-mentioned for executing Unlocking method.For example, terminal 400 can be mobile phone, computer, digital broadcast terminal, messaging devices, game control Platform, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Fig. 4, terminal 400 can include following one or more assemblies:Process assembly 402, memory 404, power supply Component 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and Communication component 416.
The integrated operation of 402 usual control terminal 400 of process assembly, such as with display, call, data communication, phase The associated operation of machine operation and record operation.Process assembly 402 can refer to execute including one or more processors 420 Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 402 can include one or more modules, just Interaction between process assembly 402 and other assemblies.For example, process assembly 402 can include multi-media module, many to facilitate Interaction between media component 408 and process assembly 402.
Memory 404 is configured to store various types of data to support the operation in terminal 400.The showing of these data Example include in terminal 400 operate any application program or method instruction, contact data, telephone book data, disappear Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides power supply for the various assemblies of terminal 400.Power supply module 406 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for terminal 400, the component that power supply is associated.
Multimedia groupware 408 includes the screen of one output interface of offer between the terminal 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and the touch or slide related duration and pressure.In certain embodiments, many matchmakers Body component 408 includes a front-facing camera and/or post-positioned pick-up head.When terminal 400 be in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and Post-positioned pick-up head can be the optical lens system of a fixation or with focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured to output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when terminal 400 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is joined It is set to reception external audio signal.The audio signal for being received can be further stored in memory 404 or via communication set Part 416 sends.In certain embodiments, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
I/O interface 412 is to provide interface between process assembly 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, and the state for providing various aspects for terminal 400 is commented Estimate.For example, sensor cluster 414 can detect/the closed mode of opening of terminal 400, and the relative positioning of component is for example described Component is display and the keypad of terminal 400, and sensor cluster 414 can be with 400 1 components of detection terminal 400 or terminal Position change, user is presence or absence of with what terminal 400 was contacted, 400 orientation of terminal or acceleration/deceleration and terminal 400 Temperature change.Sensor cluster 414 can include proximity transducer, be configured to detect when without any physical contact The presence of object nearby.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for becoming As used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between terminal 400 and other equipment.Terminal 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement In example, communication component 416 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, terminal 400 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 404 for instructing, above-mentioned instruction can be executed by the processor 420 of terminal 400 to complete said method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the process of mobile terminal When device is executed so that mobile terminal is able to carry out a kind of screen locking method, and methods described includes:
When intended application is triggered, judge whether the intended application is to have locked application;
When the intended application is for locking application, judge whether convenient pattern has turned on, the convenient pattern is used for Start in the case of not unlocking and locked application;
When the convenient pattern have turned on and released state be released state number of applications more than or equal to 1 when, open Move the intended application.
Alternatively, methods described also includes:
When application lock setting instruction is received, show convenient mode switch;
When the start-up operation to the convenient mode switch is detected, determine that the convenient pattern has turned on.
Alternatively, described when the convenient pattern have turned on and released state be released state number of applications more than or During equal to 1, start the intended application, including:
When the convenient pattern has turned on, the number of applications that released state is released state, the unblock shape is determined State includes released state and non-released state;
When the number of applications that released state is released state is more than or equal to 1, start the intended application.
Alternatively, described have turned on and released state is that the quantity of the application of released state is more than when the convenient pattern Or when 1 is equal to, start the intended application, including:
When the convenient pattern have turned on and released state be released state number of applications more than or equal to 1 when, will The released state of the intended application never released state is revised as released state;
Based on the current released state of the intended application, start the intended application.
Alternatively, methods described also includes:
When the convenient pattern is not opened, or, the convenient pattern has turned on but current released state is for unlocking shape When the number of applications of state is 0, show the application unblock page on current screen;
When correct unlock instruction being received based on the application unblock page, start the intended application.
The method that the embodiment of the present disclosure is provided, by when intended application is triggered, judge the intended application be whether Application is locked, when the intended application is for locking application, judges whether convenient pattern has turned on, the convenient pattern is used for not Start in the case of unblock and locked application, when the convenient pattern have turned on and released state be released state number of applications During more than or equal to 1, start the intended application, terminal can be implemented in have been turned on convenient pattern and unlocked one lock should With afterwards, other are directly initiated in the case of not being unlocked and has locked application, so as to without the need for having locked application for each All individually unblock once, simplifies the operation of user, improves unblock efficiency.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice scheme disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a kind of unlocking method, it is characterised in that methods described includes:
When intended application is triggered, judge whether the intended application is to have locked application;
When the intended application is for locking application, judge whether convenient pattern has turned on, the convenient pattern is used for not Start in the case of unblock and locked application;
When the convenient pattern have turned on and released state be released state number of applications more than or equal to 1 when, start institute State intended application.
2. the method for claim 1, it is characterised in that methods described also includes:
When application lock setting instruction is received, show convenient mode switch;
When the start-up operation to the convenient mode switch is detected, determine that the convenient pattern has turned on.
3. the method for claim 1, it is characterised in that described have turned on and released state is for when the convenient pattern When the number of applications of released state is more than or equal to 1, start the intended application, including:
When the convenient pattern has turned on, the number of applications that released state is released state, the released state bag is determined Include released state and non-released state;
When the number of applications that released state is released state is more than or equal to 1, start the intended application.
4. the method for claim 1, it is characterised in that described have turned on and released state is for when the convenient pattern When the quantity of the application of released state is more than or equal to 1, start the intended application, including:
When the convenient pattern have turned on and released state be released state number of applications more than or equal to 1 when, will be described The released state of intended application never released state is revised as released state;
Based on the current released state of the intended application, start the intended application.
5. the method for claim 1, it is characterised in that methods described also includes:
When the convenient pattern is not opened, or, the convenient pattern has turned on but current released state is released state When number of applications is 0, show the application unblock page on current screen;
When correct unlock instruction being received based on the application unblock page, start the intended application.
6. a kind of tripper, it is characterised in that described device includes:
First judge module, for when intended application is triggered, judging whether the intended application is to have locked application;
Second judge module, for when the intended application is for locking application, judging whether convenient pattern has turned on, described Convenient pattern is used for starting in the case of not unlocking having locked application;
First starting module, for having turned on and released state is that the number of applications of released state is more than when the convenient pattern Or when 1 is equal to, start the intended application.
7. device as claimed in claim 6, it is characterised in that described device also includes:
First display module, for when application lock setting instruction is received, showing convenient mode switch;
Determining module, for when the start-up operation to the convenient mode switch is detected, determining that the convenient pattern is opened Open.
8. device as claimed in claim 6, it is characterised in that first starting module includes:
Determination sub-module, for when the convenient pattern has turned on, determining the number of applications that released state is released state, The released state includes released state and non-released state;
First starts submodule, for when the number of applications that released state is released state is more than or equal to 1, starting described Intended application.
9. device as claimed in claim 6, it is characterised in that first starting module includes:
Modification submodule, for when the convenient pattern have turned on and released state be released state number of applications be more than or During equal to 1, the released state of the intended application never released state is revised as released state;
Second starts submodule, for based on the current released state of the intended application, starting the intended application.
10. device as claimed in claim 6, it is characterised in that described device also includes:
Second display module, for not opening when the convenient pattern, or, the convenient pattern has turned on but currently unlocks shape State be released state number of applications be 0 when, shows on current screen application unlock the page;
Second starting module, for when correct unlock instruction is received based on the application unblock page, starting the mesh Mark application.
11. a kind of screen locking devices, it is characterised in that described device includes:
Processor;
For storing the memory of the processor executable;
Wherein, the processor is used for:
When intended application is triggered, judge whether the intended application is to have locked application;
When the intended application is for locking application, judge whether convenient pattern has turned on, the convenient pattern is used for not Start in the case of unblock and locked application;
When the convenient pattern have turned on and released state be released state number of applications more than or equal to 1 when, start institute State intended application.
CN201610832205.5A 2016-09-19 2016-09-19 Unlocking method and device Pending CN106484465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610832205.5A CN106484465A (en) 2016-09-19 2016-09-19 Unlocking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610832205.5A CN106484465A (en) 2016-09-19 2016-09-19 Unlocking method and device

Publications (1)

Publication Number Publication Date
CN106484465A true CN106484465A (en) 2017-03-08

Family

ID=58268733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610832205.5A Pending CN106484465A (en) 2016-09-19 2016-09-19 Unlocking method and device

Country Status (1)

Country Link
CN (1) CN106484465A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109657430A (en) * 2018-10-25 2019-04-19 努比亚技术有限公司 A kind of application program solution lock control method, terminal and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104268451A (en) * 2014-09-11 2015-01-07 深圳市中兴移动通信有限公司 Mobile terminal and shortcut starting method and device thereof
US20150371034A1 (en) * 2014-06-23 2015-12-24 Google Inc. Trust Agents
CN105260216A (en) * 2015-11-04 2016-01-20 北京金山安全软件有限公司 Method, device and terminal for starting application program
CN105389484A (en) * 2015-12-23 2016-03-09 珠海格力电器股份有限公司 Permission controlling method and device for application programs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150371034A1 (en) * 2014-06-23 2015-12-24 Google Inc. Trust Agents
CN104268451A (en) * 2014-09-11 2015-01-07 深圳市中兴移动通信有限公司 Mobile terminal and shortcut starting method and device thereof
CN105260216A (en) * 2015-11-04 2016-01-20 北京金山安全软件有限公司 Method, device and terminal for starting application program
CN105389484A (en) * 2015-12-23 2016-03-09 珠海格力电器股份有限公司 Permission controlling method and device for application programs

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109657430A (en) * 2018-10-25 2019-04-19 努比亚技术有限公司 A kind of application program solution lock control method, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN104765552B (en) Right management method and device
CN106485107A (en) Screen locking method and device
CN104991789A (en) Method and apparatus for starting application
CN106406657A (en) Fast operation method and device and terminal
US20170300260A1 (en) Method, device and computer-readable storage medium for data migration
RU2658167C2 (en) Unlocking method and device (versions)
CN104965732B (en) Desktop starts method and device
CN109992946A (en) Solve the method, apparatus and computer readable storage medium of locked application
CN108319832A (en) Unlocking method and device
CN107798231A (en) Display methods, device, terminal and the storage medium of operation interface
CN105511922A (en) Application startup controlling method and device
CN107491681A (en) Finger print information processing method and processing device
CN106503516A (en) Terminal, unlocked by fingerprint method and device
CN106548050A (en) Using startup method and device
CN105069344B (en) mobile terminal locking method and device
CN106325508A (en) Method and device for processing application
CN107197107A (en) Enabled instruction processing method and processing device
CN105827834A (en) Mobile device application method and device
CN105955635B (en) Interface display method and device
CN106096442B (en) Applications trigger method and device
CN106484465A (en) Unlocking method and device
CN106775240A (en) The triggering method of application program, device and terminal
CN106503215A (en) Process the method and device of picture
CN106201738A (en) System broadcasts call method and device
CN106485109A (en) The method to set up of procedure lock and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170308