Specific embodiment
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Shown in Figure 1, the embodiment of the invention provides a kind of application program locking methods, are applied to terminal device, packet
Include following steps:
Step 101: receiving first input of the user to target desktop object.
In the embodiment of the present invention, which can be located on terminal device desktop.Target desktop object Ke Bao
Include at least one desktop folder and/or the icon of at least one application program.The desktop folder is for polymerizeing multiple applications
Program, when the desktop folder is in locking state, the application program of desktop folder polymerization is in locking state.?
That is the target desktop object may include at least one icon;When the target desktop object is in locking state, the target
The corresponding application program of each icon that desktop object includes is in locking state.
Optionally, this first input can for user to the drag operation of target desktop object or user to target desktop
The pressing operation (such as more than the pressing operation of preset time) of object and drag operation, etc..
Step 102: in response to the first input, choosing target desktop object.
When specific implementation, choose target desktop object can in step 102 are as follows: target desktop object is moved to terminal and is set
The predeterminable area of standby display screen.It is understood that the predeterminable area can be preset according to the actual situation.For example, if mesh
The corresponding set of applications of mark desktop object (i.e. target desktop object include the corresponding application program of all icons) setting refers to
Line password, then when the fingerprint input area of terminal device is located at terminal device display screen, which is chosen as the fingerprint
Input area;Or when the fingerprint input area of terminal device is not at terminal device display screen, for example it is located at terminal device
The back side when, which is chosen as a certain specified region of terminal device display screen.
In addition, choosing target desktop object may be used also in step 102 are as follows: control target desktop object is in editable state
Or removable state, the embodiment of the present invention are limited not to this.
Step 103: receiving the second input of user.
Optionally, which can input the operation of finger-print cipher or the behaviour of user's input numerical ciphers for user
Make, etc..
Step 104: target desktop object being carried out by the second input corresponding locking password in response to the second input
It locks.
Wherein, lock to target desktop object is the corresponding application of each icon for including to target desktop object
Program is locked.When being locked for different target desktop objects, different add can use in the embodiment of the present invention
Lock cipher is locked, to unlock corresponding set of applications using a certain unlocking pin, have and be directed to when being unlocked
Property.
The application program locking method of the embodiment of the present invention, by receiving first input of the user to target desktop object,
In response to the first input, target desktop object is chosen, receives the second input of user, it is defeated by second in response to the second input
Enter corresponding locking password, target desktop object is locked, can input by user in bulk to multiple application programs
It is locked, compared to currently being locked by the Application Password switch in equipment setting of opening a terminal, can be simplified
Locking operation saves lock times.
In the embodiment of the present invention, optionally, after step 102 and before step 103, the method may also include that
Receive the third input of user;
It is inputted in response to third, shows password set interface.
It is corresponding, step 103 can include: receive second input of the user in password set interface.
It is noted that the password set interface can be the interface shown on terminal device desktop when specific implementation,
It can be terminal device desktop.For example, what terminal device can be inputted by user is directed to target after choosing target desktop object
Desktop object chooses confirmation operation, the triggering display password set interface on terminal device desktop, and receives user in password
The password inputted in set interface such as finger-print cipher, to be locked to the target desktop object chosen;Or choosing mesh
After marking desktop object, it is password set interface that terminal device, which can trigger terminal device desktop,.
In the embodiment of the present invention, optionally, after showing password set interface, before the second input for receiving user,
The method can further include:
In the default display area of password set interface, each icon that displaying target desktop object includes.
Wherein, the corresponding application program of each icon which includes can be described as locked application to be added.
The default display area can be preset according to actual needs.In this way, each icon for including by displaying target desktop object,
User can be facilitated, which to understand, to lock those application programs.
Further, after each icon that displaying target desktop object includes, before the second input for receiving user,
The method may also include that
A cancellation mark is shown on each icon of display.
Wherein, cancellation mark can be oneOrMark.In this way, the cancellation by display identifies, may make
User carries out cancellation operation to the locked application to be added chosen.
Further, after display suppression mark, the method may also include that
Receive the 4th input that user cancels mark to first;
In response to the 4th input, cancel the locking of the corresponding application program of icon where cancelling mark to first.
Wherein, which can correspond to one or more icons.4th input can take for user to first
The clicking operation or pressing operation for the mark that disappears.In this way, by user to the operation for cancelling mark, it can be achieved that treating locking application
The update of program locks the locked application to be added for meeting user demand to realize.
In the embodiment of the present invention, optionally, after showing password set interface, the method may also include that
Unlocking manner option is shown in password set interface;
Wherein, after the unlocking manner option is chosen by user, target table can be unlocked while unlocking terminal device
In face of the corresponding application program of all icons as including.
In this way, by unlocking manner option is chosen, it can be achieved that unlocking while unlocking terminal device corresponding using journey
Sequence group saves unlocked time to simplify the unlock operation of user.
In the following, by being illustrated in conjunction with Fig. 2 to Fig. 4 to the application program locking procedure of the embodiment of the present invention.
It is shown in Figure 2 in the embodiment of the present invention, 6 desktop objects are shown on the desktop of terminal device such as mobile phone,
The respectively icon of file 1, file 2, file 3, the icon using 1, the icon using 2 and application 3.The finger of the mobile phone
Line input area A is located at mobile phone display screen, as shown in Figure 2.It is locked when for file 1 and using 2 (target desktop objects)
When, file 1 can be pressed first and is at removable state and is dragged to fingerprint input area A, and then pressing applies 2
Icon be at removable state and dragged to fingerprint input area A, i.e., continuous successively filesselected folder 1 and application
2 icon, as shown in Figures 2 and 3.After filesselected folder 1 and the icon of application 2, display password set interface can trigger,
As shown in figure 4, and show locked application to be added on the default display area B of password set interface, i.e., using 2, using 4,
Using 5, using 6 and the icon of application 7, which is alternatively referred to as list of application display area B, this using 2, answer
It can be shown in the form of a list in B with 4, using 5, using the icon of 6 and application 7, the application package of 1 polymerization of this document folder
Include using 4, using 5, using 6 and using 7.It is further as shown in figure 4, this using 2, using 4, using 5, using 6 and apply 7
Each of the icon upper right corner of icon on can display suppression markSo that user identifies by cancellationIt is right
The locked application to be added chosen carries out cancellation operation.Further as shown in figure 4, may also display in the password set interface
Unlocking manner option C is allowed to unlock in mobile phone while being unlocked respective application after unlocking manner option C is chosen by user
Program groups.After user inputs finger-print cipher, using the finger-print cipher to application 2, using 4, using 5, using 6 and using 7
It is locked.
Shown in Figure 5, the embodiment of the invention also provides a kind of application program unlocking methods, are applied to terminal device,
Include the following steps:
Step 501: receiving fiveth input of the user to the target desktop object in locking state.
Wherein, the 5th input can for user input unlocking pin operation, the unlocking pin such as can for numerical ciphers,
Pattern password, facial password or finger-print cipher etc..
Step 502: target desktop object packet being unlocked by the corresponding unlocking pin of the 5th input in response to the 5th input
The corresponding application program of all icons included.
Wherein, which may include at least one icon;When the target desktop object is in locking state,
The corresponding application program of each icon that the target desktop object includes is in locking state.
It is noted that terminal device when unlocking itself lock state, can first detect whether to allow unlocking itself
Corresponding set of applications is unlocked while lock state, and (i.e. certain target desktop object all icons for including are corresponding using journey
Sequence), and in the case where permission, while unlocking terminal device and corresponding set of applications.Otherwise, the target desktop object packet
The corresponding application program of the icon included need to be unlocked by unlocking pin input process at least once, i.e., in set of applications
When some application program inputs corresponding unlocking pin, all application programs in the set of applications can be unlocked;Or it should
Each of set of applications application program is only capable of being unlocked according to for entered by himself unlocking pin.
In order to reduce repetitive operation, according to actual needs, unlock terminal device at the same time and corresponding application can be set
After program groups, only after relocking terminal device, which can just lock again, i.e., be in not in terminal device
When exiting certain application program re-enter in the set of applications under lock state, which will not be locked.
The application program unlocking method of the embodiment of the present invention can unlock corresponding application while unlocking terminal device
Program groups saves unlocked time to simplify unlock operation.
Locking method and unlocking method of the invention is illustrated in above-described embodiment, below in conjunction with embodiment and attached
Figure is illustrated terminal device of the invention.
Shown in Figure 6, the embodiment of the invention also provides a kind of terminal device, which includes the first reception mould
Block 61 chooses module 62, the second receiving module 63 and locks module 64, and details are as follows.
Wherein, first receiving module 61, for receiving first input of the user to target desktop object.
It is described to choose module 62, for choosing the target desktop object in response to first input.
Second receiving module 63, for receiving the second input of user.
The locking module 64, for inputting corresponding locking password by described second in response to second input,
The target desktop object is locked.
The target desktop object includes at least one icon;When the target desktop object is in locking state, institute
It states the corresponding application program of each icon that target desktop object includes and is in locking state.
The terminal device of the embodiment of the present invention, by receiving user to the first of target desktop object the input, in response to the
One input, chooses target desktop object, receives the second input of user, corresponding by the second input in response to the second input
Password is locked, target desktop object is locked, can input by user and multiple application programs are locked in bulk,
Compared to currently being locked by the Application Password switch in equipment setting of opening a terminal, locking operation can be simplified,
Save lock times.
It is optionally, described that module 62 is chosen to be specifically used in the embodiment of the present invention: the target desktop object is moved to
The predeterminable area of terminal device display screen.
Optionally, shown in Figure 7, the terminal device may also include that
Third receiving module 65, the third for receiving user input;
First display module 66 shows password set interface for inputting in response to the third.
Second receiving module 62 is specifically used for:
Receive second input of the user in the password set interface.
Optionally, the terminal device may also include that
Second display module, for showing the target desktop pair in the default display area of the password set interface
As each icon for including.
Optionally, the terminal device may also include that
Third display module, for showing a cancellation mark on each icon of display;
4th receiving module, the 4th input for cancelling mark to first for receiving user;
Cancel module, for it is corresponding to cancel icon where cancelling mark to described first in response to the 4th input
The locking of application program.
Shown in Figure 8, the embodiment of the invention also provides a kind of terminal device, which includes the 5th reception mould
Block 81 and unlocked state 82, details are as follows.
Wherein, the 5th receiving module 81, for receiving user to the of the target desktop object in locking state
Five inputs.
The unlocked state 82, for inputting corresponding unlocking pin by the described 5th in response to the 5th input,
Unlock the corresponding application program of all icons that the target desktop object includes.
The terminal device of the embodiment of the present invention can unlock corresponding set of applications while unlocking itself, thus
Simplify unlock operation, saves unlocked time.
In addition, the embodiment of the invention also provides a kind of terminal device, including processor, memory, it is stored in described deposit
On reservoir and the computer program that can run on the processor, wherein the computer program is executed by the processor
Each process of the above-mentioned application program locking method of Shi Shixian or unlocking method embodiment, and identical technology effect can be reached
Fruit, to avoid repeating, which is not described herein again.
Specifically, a kind of hardware structural diagram of Fig. 9 terminal device of each embodiment to realize the present invention, terminal are set
Standby 900 include but is not limited to: radio frequency unit 901, network module 902, audio output unit 903, input unit 904, sensor
905, display unit 906, user input unit 907, interface unit 908, memory 909, processor 910 and power supply 911 etc.
Component.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 9, terminal device
It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.Of the invention real
It applies in example, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable
Equipment and pedometer etc..
Wherein, radio frequency unit 901, for receiving first input of the user to target desktop object;
Processor 910, for choosing the target desktop object in response to first input;
Radio frequency unit 901 is also used to receive the second input of user;
Processor 910 is also used in response to second input, right by the corresponding locking password of second input
The target desktop object is locked;The target desktop object includes at least one icon;In the target desktop object
When in locking state, the corresponding application program of each icon that the target desktop object includes is in locking state.
Or
Radio frequency unit 901, for receiving fiveth input of the user to the target desktop object in locking state;
Processor 910, for passing through the corresponding unlocking pin of the 5th input, unlock in response to the 5th input
The corresponding application program of all icons that the target desktop object includes;The target desktop object includes at least one figure
Mark;When the target desktop object is in locking state, the corresponding application of each icon that the target desktop object includes
Program is in locking state.
The terminal device 900 of the embodiment of the present invention, can simplify application program adds unlock operation, when saving plus unlocking
Between.
It should be understood that the embodiment of the present invention in, radio frequency unit 901 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 910 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 901 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 901 can also by wireless communication system and network and other set
Standby communication.
Terminal device provides wireless broadband internet by network module 902 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 903 can be received by radio frequency unit 901 or network module 902 or in memory 909
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 903 can also provide and end
The relevant audio output of specific function that end equipment 900 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 903 includes loudspeaker, buzzer and receiver etc..
Input unit 904 is for receiving audio or video signal.Input unit 904 may include graphics processor
(Graphics Processing Unit, GPU) 9041 and microphone 9042, graphics processor 9041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 906.Through graphics processor 9041, treated that picture frame can be deposited
Storage is sent in memory 909 (or other storage mediums) or via radio frequency unit 901 or network module 902.Mike
Wind 9042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 901 is converted in the case where telephone calling model.
Terminal device 900 further includes at least one sensor 905, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 9061, and proximity sensor can close when terminal device 900 is moved in one's ear
Display panel 9061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, it is (such as horizontal to can be used to identify terminal posture
Vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor
905 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, humidity
Meter, thermometer, infrared sensor etc., details are not described herein.
Display unit 906 is for showing information input by user or being supplied to the information of user.Display unit 906 can wrap
Display panel 9061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 9061.
User input unit 907 can be used for receiving the number or character information of input, and generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 907 include touch panel 9071 and other
Input equipment 9072.Touch panel 9071, also referred to as touch screen, collect user on it or nearby touch operation (such as
User is using any suitable objects or attachment such as finger, stylus on touch panel 9071 or near touch panel 9071
Operation).Touch panel 9071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 910, receives processor 910
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch panel 9071.In addition to touch panel 9071, user input unit 907 can also include other input equipments 9072.
Specifically, other input equipments 9072 can include but is not limited to physical keyboard, function key (such as volume control button, switch
Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 9071 can be covered on display panel 9061, when touch panel 9071 is detected at it
On or near touch operation after, send processor 910 to determine the type of touch event, be followed by subsequent processing device 910 according to touching
The type for touching event provides corresponding visual output on display panel 9061.Although in Fig. 9, touch panel 9071 and display
Panel 9061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of terminal is realized so that touch panel 9071 and display panel 9061 is integrated, is not limited herein specifically
It is fixed.
Interface unit 908 is the interface that external device (ED) is connect with terminal device 900.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 908 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 900 or can be used in 900 He of terminal device
Data are transmitted between external device (ED).
Memory 909 can be used for storing software program and various data.Memory 909 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 909 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 910 is the control centre of terminal device, utilizes each portion of various interfaces and the entire terminal of connection
Point, by running or execute the software program and/or module that are stored in memory 909, and calls and be stored in memory 909
Interior data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 910 may include
One or more processing units;Preferably, processor 910 can integrate application processor and modem processor, wherein application
The main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.It can
With understanding, above-mentioned modem processor can not also be integrated into processor 910.
Terminal device 900 can also include the power supply 911 (such as battery) powered to all parts, it is preferred that power supply 911
Can be logically contiguous by power-supply management system and processor 910, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 900 may also include some unshowned functional modules, details are not described herein.
The embodiment of the invention also provides a kind of computer readable storage medium, it is stored on computer readable storage medium
Computer program, the computer program realize each of above-mentioned locking method or unlocking method embodiment when being executed by processor
Process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium
Matter, for example, read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.