Embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
Should be clear and definite, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the application program unlock method schematic flow sheet of the embodiment of the present invention based on screen locking.See Fig. 1, the method comprises:
Step 101, receives and starts the instruction of application program, if electronic equipment screen is in screen lock state, whether the application program of inquiring about the instruction of described startup application program corresponding is the non-privacy application program pre-set;
In this step, under the state that user is in screen locking at electronic equipment screen, if need to start non-privacy application program, by clicking the non-privacy application program in the electronic equipment screen of screen locking, send the instruction starting this non-privacy application program.
As an embodiment, before described reception starts the instruction of application program, the method can further include:
In the electronic equipment screen of screen locking, perform the operation pre-set, present screen locking tool box, to generate the instruction of described startup application program in described screen locking tool box.
In this step, the operation pre-set can be that upwards slippage operation or downward slippage operate or other slippages operation.In the embodiment of the present invention, screen locking tool box includes each application program or the application icon of electronic equipment installation.
As an embodiment, screen locking tool box comprises: non-privacy application rollouts region and privacy application rollouts region, wherein, non-privacy application rollouts region is for showing the non-privacy application program that user is arranged, and privacy application rollouts region is for showing the application program except the non-privacy application program that user is arranged.Like this, when user needs to start non-privacy application program, conveniently can find the non-privacy application program needing to start.
In the embodiment of the present invention, judging whether electronic equipment screen is in screen lock state is known technology, omits detailed description at this.
Step 102, if application program corresponding to the instruction of described startup application program is the non-privacy application program pre-set, unlocks electronic equipment screen;
Step 103, starts the application program that the instruction of described startup application program is corresponding in the electronic equipment screen unlocked.
In step 102 and step 103, the non-privacy application program pre-set can for one or more, for the multiple non-privacy application program arranged, non-privacy sets of applications can be formed, if starting application program corresponding to the instruction of application program is the arbitrary non-privacy application program that non-privacy application program is concentrated, then illustrate that application program corresponding to the instruction of described startup application program is the non-privacy application program pre-set.
In the embodiment of the present invention, non-privacy application program comprises but is not limited to: counter, text editor, clock, player, electric torch etc.
As an embodiment, user can by clicking the electronic equipment screen of screen locking, namely the application-specific shortcut on locking screen interface, such as, counter, electric torch etc., thus send to the operating system of electronic equipment the instruction starting application program, what operating system confirmed user's click is counter, electric torch etc., can automatic unlocking electronic equipment screen, and by the interface display of the application program such as counter, electric torch before, make user awareness less than the process unlocked.
In the embodiment of the present invention, be arranged in the electronic equipment screen of screen locking each application program showing installation, i.e. application program shortcut icon, when starting non-privacy application program in the electronic equipment screen of screen locking, by clicking this non-privacy application program, after electronic equipment determines that application program that user clicks is non-privacy application program, automatically start the application program that user clicks.Without the need to first carrying out unblock process to electronic equipment screen, thus simplifying the user operation starting application program, decreasing the time started needed for such application program, improving the efficiency starting such application program.
Preferably, the method can further include:
If the non-privacy application program of application program not for pre-setting that the instruction of described startup application program is corresponding, prompting user unlocks electronic equipment screen.
In this step, if the application program that user clicks is privacy application program, then user is pointed out to unlock electronic equipment screen.
As an embodiment, after described prompting user unlocks electronic equipment screen, the method comprises further:
A11, obtains the input operation of user in the unlocking pin input field of prompting;
A12, often obtain user and perform an input operation in described unlocking pin input field, whether the alphabet inquired about in described unlocking pin input field matches with the unlocking pin pre-set, and if so, unlocks electronic equipment screen.
In this step, mated with the unlocking pin that user pre-sets by the alphabet that user's input operation is each time obtained in unlocking pin input field, if the unlocking pin that the alphabet obtained and user pre-set is identical, then automatic unlocking electronic equipment screen, thus without the need to user after having inputted unlocking pin, also need to click unblock control, just trigger and carry out unblock process, effectively reduce the number of operations of user, also improve the efficiency that user starts privacy application program.For example, the unlocking pin pre-set is 119, then when user inputs first character 1,1 and 119 do not match, then, and user inputs character 2, then alphabet is 12, do not match with 119, then, user's delete character 2, then alphabet is 1, do not match with 119, next, user inputs character 1, then alphabet is 11, do not match with 119, more next, user inputs character 9, then alphabet is 119, match with 119, then automatic unlocking electronic equipment screen, click unblock control again without the need to user.
Certainly, in practical application, as an embodiment, inquire about alphabet in described unlocking pin input field and whether match with the unlocking pin pre-set and comprise:
Utilize the cryptographic algorithm pre-set to be encrypted the alphabet in described unlocking pin input field, obtain the first ciphertext;
Whether more described first ciphertext and the second ciphertext pre-set mate, and the cryptographic algorithm pre-set described in described second ciphertext utilizes obtains after the described unlocking pin encryption pre-set.
As another embodiment, after described prompting user unlocks electronic equipment screen, the method comprises further:
A21, shows multiple character plurality of pictures in the unlocking pin input field of prompting;
A22; obtain user to carry out arranging the rear final pictures formed to the operation trace of described multiple character or to described plurality of pictures; inquire about described operation trace whether to match with the unlocking operation track pre-set; or; in described pictures, whether putting in order of picture matches with the picture arrangement order pre-set; if so, electronic equipment screen is unlocked.
Certainly, for the situation of plurality of pictures, also can show several combinations of plurality of pictures in advance, user therefrom chooses a kind of combination.
In the embodiment of the present invention, according to the degree of privacy of application program, be divided into the application program needing to input unlocking pin, i.e. privacy application program, and do not need the application program inputting unlocking pin, i.e. non-privacy application program.For not needing the application program inputting unlocking pin, user can enable the selected application program in family at the direct fast open of the electronic equipment screen of screen locking (locking screen interface), after user exits this selected application program, the very first time will carry out automatic screen locking, thus optimize convenient degree, privacy of user is not also impacted.
The method can further include:
Monitor the application program that user exits startup, do not operate if exceed the screen locking time pre-set, screen locking is carried out to electronic equipment screen.
In this step, after user exits selected non-privacy application program, the very first time will carry out automatic screen locking, namely after user exits selected non-privacy application program, carry out timing, if timing time reaches the screen locking time pre-set, user does not also carry out any operation, then trigger electronics screen carries out automatic screen locking.
In the embodiment of the present invention, the screen locking time can be arranged according to the actual needs of user.Such as, 0s, 10s or 50s etc. can be set to.
As an embodiment, monitor the application program that user exits startup and comprise:
Detect layer corresponding to the interface of the application program of described startup every Preset Time whether at the most top layer of described electronic equipment screen, if so, do not deal with; If not, determine that user exits the application program of startup.
In this step, by the interface of detecting the application program started every Preset Time whether before, whether layer corresponding to the interface of the application program namely started be at the most top layer of described electronic equipment screen, if not, then think that user has exited the application program of this startup, perform screen locking process, if so, then wait for next Preset Time.Like this, unlock and screen locking process all very rapidly, user awareness less than, make to allow user use electronic equipment more convenient, decrease unnecessary operation, allow user more convenient at locking screen interface, efficiently use electronic equipment.
Preferably, the method can further include:
The instruction of startup second application program is received within the screen locking time pre-set, whether second application program of inquiring about the instruction of described startup second application program corresponding is the non-privacy application program pre-set, if, start described second application program, if not, user is pointed out to unlock electronic equipment screen.
In this step, user, after exiting non-privacy application program, if need to start other non-privacy application program, then directly can start by clicking this other non-privacy application program; If need to start privacy application program, then user is pointed out to unlock electronic equipment screen, thus the available protecting privacy information of user.
Fig. 2 is the application program tripper structural representation of the embodiment of the present invention based on screen locking.See Fig. 2, this device comprises: enquiry module 201, first unlocked state 202 and startup module 203, wherein,
Enquiry module 201, starts the instruction of application program for receiving, if electronic equipment screen is in screen lock state, whether the application program of inquiring about the instruction of described startup application program corresponding is the non-privacy application program pre-set;
First unlocked state 202, if application program corresponding to the instruction of described startup application program is the non-privacy application program pre-set, unlocks electronic equipment screen;
Start module 203, the application program that the instruction for starting described startup application program in the electronic equipment screen unlocked is corresponding.
Fig. 3 is the application program tripper concrete structure schematic diagram of the embodiment of the present invention based on screen locking.See Fig. 3, this device is except enquiry module 201, first unlocked state 202 comprised shown in Fig. 2 and start except module 203, and in the embodiment of the present invention, as an embodiment, this device can further include:
Screen locking tool box presents module 204, for performing the operation pre-set in the electronic equipment screen of screen locking, presents screen locking tool box, to generate the instruction of described startup application program in described screen locking tool box.
In the embodiment of the present invention, described screen locking tool box comprises: non-privacy application rollouts region and privacy application rollouts region, wherein, non-privacy application rollouts region is for showing the non-privacy application program that user is arranged, and privacy application rollouts region is for showing the application program except the non-privacy application program that user is arranged.
As another embodiment, this device can further include:
Screen lock module 205, for after monitoring user and exiting the application program of startup, does not operate if exceed the screen locking time pre-set, carries out screen locking to electronic equipment screen.
In the embodiment of the present invention, as an embodiment, screen lock module 205 comprises: the first detecting unit 31, second detecting unit 32 and screen locking unit 33, wherein,
First detecting unit 31, whether layer corresponding to the interface for the application program detecting described startup every Preset Time at the most top layer of described electronic equipment screen, if so, does not deal with; If not, the second detecting unit 32 is notified;
Second detecting unit 32, for reception notification, in the screen locking time that judgement pre-sets, whether user has operation, if not operation, notice screen locking unit 33;
Screen locking unit 33, for reception notification, carries out screen locking to electronic equipment screen.
In the embodiment of the present invention, as another embodiment, screen lock module 205 can further include:
3rd detecting unit 34, user operation is had in screen locking time of judging to pre-set at the second detecting unit 32, receive the instruction of described user operation corresponding startup second application program, whether second application program of inquiring about the instruction of described startup second application program corresponding is the non-privacy application program pre-set, if, start described second application program, if not, prompting user unlocks electronic equipment screen.
As an embodiment again, this device can further include:
Second unlocked state 206, the non-privacy application program of application program not for pre-setting that the instruction for inquiring described startup application program at enquiry module is corresponding, prompting user unlocks electronic equipment screen.
In the embodiment of the present invention, as an embodiment, the second unlocked state 206 is further used for obtaining the input operation of user in the unlocking pin input field of prompting; Often obtain user and perform an input operation in described unlocking pin input field, whether the alphabet inquired about in described unlocking pin input field matches with the unlocking pin pre-set, and if so, unlocks electronic equipment screen.
In the embodiment of the present invention, as an embodiment, inquire about alphabet in described unlocking pin input field and whether match with the unlocking pin pre-set and comprise:
Utilize the cryptographic algorithm pre-set to be encrypted the alphabet in described unlocking pin input field, obtain the first ciphertext;
Whether more described first ciphertext and the second ciphertext pre-set mate, and the cryptographic algorithm pre-set described in described second ciphertext utilizes obtains after the described unlocking pin encryption pre-set.
As an embodiment again, the second unlocked state 206 is further used for showing multiple character plurality of pictures in the unlocking pin input field of prompting; Obtain user to carry out arranging the rear final pictures formed to the operation trace of described multiple character or to described plurality of pictures; inquire about described operation trace whether to match with the unlocking operation track pre-set; or; in described pictures, whether putting in order of picture matches with the picture arrangement order pre-set; if so, electronic equipment screen is unlocked.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.