The content of the invention
There is the characteristics of convenient and swift the technical problem to be solved by the invention is to provide one kind, good use can be provided
Experience and the unlocking screen method of privacy of user can be protected and realize the terminal of the unlocking screen method in family.
The technical solution used in the present invention is:
A kind of method of unlocking screen, comprises the following steps:
Unlocking information is obtained, now screen is in screen state of going out;
Judge whether unlocking information coincide with the unlocking condition of setting;
If unlocking information coincide with unlocking condition, relieving lock state of screen simultaneously lights screen;Otherwise screen locking is kept
With screen state of going out.
Further, in the method for described unlocking screen, the unlocking information is touch event characteristic item, the touch-control
Event includes input medium contact on the touchscreen, contact combination, sliding trace, sliding trace combination or contact and slides rail
The combination of mark;
It is described to judge whether unlocking information is identical specially with the unlocking condition of setting:
The characteristic value of the touch event characteristic item is calculated, is compared with the characteristic value of the assemblage characteristic item in unlocking condition
It is right, it is determined as that unlocking information coincide with unlocking condition when error is less than a predetermined threshold value.
Further, in the method for described unlocking screen, the unlocking information includes electrical potential information characteristic item, key group
Close characteristic item, image information feature item, finger print information characteristic item or voice identification information characteristic item, or the use that sensor captures
Family action message characteristic item;
It is described to judge whether unlocking information is identical specially with the unlocking condition of setting:
The characteristic value of the unlocking information is calculated, is compared with the characteristic value of unlocking condition, is preset when error is less than one
It is determined as that unlocking information coincide with unlocking condition during threshold value.
A kind of method of unlocking screen, comprises the following steps:
Obtain and start screen-unlock instruction, and respond the startup screen-unlock instruction, released state is treated in startup;It is described to treat
Screen display is less than normal brightness, goes out and shield or shown on screen a presupposed information during released state;
Obtain unlocking information;
Judge whether unlocking information coincide with the unlocking condition of setting;
If unlocking information coincide with unlocking condition, relieving lock state of screen simultaneously lights screen;Otherwise screen locking is kept.
Further, in the method for described unlocking screen, the unlocking information is touch event characteristic item, the touch-control
Event includes input medium contact on the touchscreen, contact combination, sliding trace, sliding trace combination or contact and slides rail
The combination of mark;
It is described to judge whether unlocking information is identical specially with the unlocking condition of setting:
The characteristic value of the touch event characteristic item is calculated, is compared with the characteristic value of the assemblage characteristic item in unlocking condition
It is right, it is determined as that unlocking information coincide with unlocking condition when error is less than a predetermined threshold value.
Further, in the method for described unlocking screen, the unlocking information includes electrical potential information characteristic item, key group
Close characteristic item, image information feature item, finger print information characteristic item or voice identification information characteristic item, or the use that sensor captures
Family action message characteristic item;
It is described to judge whether unlocking information is identical specially with the unlocking condition of setting:
The characteristic value of the unlocking information is calculated, is compared with the characteristic value of unlocking condition, is preset when error is less than one
It is determined as that unlocking information coincide with unlocking condition during threshold value.
A kind of terminal for realizing unlocking screen, including processing unit, display driver element, display unit, memory cell, institute
Stating terminal also includes input block and judging unit;
The input block is used to obtain unlocking information;Now display unit control screen is in screen state of going out;
The judging unit is used to judge whether the unlocking information coincide with the unlocking condition being stored in memory cell;
Processing unit is used to, when judging unit judges that unlocking information coincide with unlocking condition, call display driver element to use
With control display unit relieving lock state of screen and light screen;Otherwise lock state of screen is kept.
Further, in the described terminal for realizing unlocking screen, input block is additionally operable to acquisition startup unlocking screen and referred to
Order, processing unit respond the startup screen-unlock instruction, and start terminal treats released state;It is described to treat under released state, show
Show that unit control screen is in screen state of going out.
Further, in the described terminal for realizing unlocking screen, the input block is potentiometer, physical button, touched
Touch screen, camera, image scanning apparatus, sound receiver device, fingerprint identification device or sensor.
Further, in the described terminal for realizing unlocking screen, judging unit judge unlocking information whether with setting
Unlocking condition, which coincide, is specially:
Judging unit calculates the characteristic value of the unlocking information, with the characteristic value for the unlocking condition being stored in memory cell
It is compared, is determined as that unlocking information coincide with unlocking condition when error is less than a predetermined threshold value.
Take having the beneficial effect that after technical solution of the present invention:User can be neatly with a variety of unlocking manners to working as
The locked electronic equipment of forth screen is unlocked to continue further operation, is not in misread to lock, by mistake under screen lock state
The maloperation problem such as startup program, and operating process secret safety is unlocked, it can effectively protect the privacy of user.
Embodiment
To describe the technology contents of the present invention, construction feature, the objects and the effects in detail, below in conjunction with embodiment
And accompanying drawing is coordinated to be explained in detail.
Referring to Fig. 1, the high-level schematic functional block diagram of the terminal of unlocking screen is realized for the present invention;Two function moulds are connected in figure
The dotted line of block represents existence information transmission relation between two connected functional modules.The terminal 1 for realizing unlocking screen is wrapped
Include processing unit 11, display driver element 12, display unit 13, input block 14, memory cell 15, judging unit 16.
In present embodiment, input block 14 is used for the unlocking information for obtaining user's input, and the input block 14 can be with
It is potentiometer, physical button, touch-screen, camera, image scanning apparatus, sound receiver device, fingerprint identification device, or light
The sensor devices such as sensor, acceleration transducer.
Judging unit 16 is used for the startup screen-unlock instruction for identifying and analyzing the acquisition of input block 14, and judges screen solution
Whether lock instruction coincide with default startup unlocking screen condition, when judgement starts screen-unlock instruction and default startup screen
When unlocking condition coincide, the startup screen-unlock instruction is responded by processing unit 11, calls display driver element 12 to control
Display unit 13 processed is shown on screen treats released state.It is described to treat that released state be the shape of screen display normal brightness
State, or display less than normal brightness state or certain presupposed information of position display one only on screen, to inform user this
When terminal 1 be in and treat released state, user can input unlocking information using input block 14 at this moment.
In another embodiment, when processing unit 11, which responds, starts screen-unlock instruction, the control flow of display unit 13
Curtain is in screen state of going out.In this state, terminal 1, which is also at, treats released state, and user can be inputted using input block 14
Unlocking information is unlocked operation to terminal 1, and because screen is not lighted, other people can not learn that user will be unlocked behaviour
Make, also avoid user and unblock operation, the risk that password is stolen and privacy is invaded are spied upon by people.
In other embodiments, the screen locking of terminal 1 or it is standby when, the control display screen of display unit 13 be in go out screen shape
State, input block 14 are in starting state, and user can omit the step for transmission starts screen-unlock instruction and directly utilize
Input block 14 inputs unlocking information.
Specific in actual product embodiment, such as a smart mobile phone embodiment, its input block 14 are contact panel, are touched
LCDs is laminated with below control panel, when smart mobile phone is in screen lock state, LCDs is closed, but contact panel
Still in detection external touch signal input.User directly inputs unlocking information under screen lock state on contact panel, through sentencing
Disconnected unit 16 judges that unlocking information and unlocking condition coincide after identifying, analyze and comparing, and processing unit 11 releases the screen of mobile phone
Curtain lock-out state.
In another smart mobile phone embodiment, contact panel is closed mode in original state, and now user can pass through
Physical button in input block 14 or other triggering forms start contact panels, then contact panel be initially located in can receive and
The state of external touch signal is detected, user inputs unlocking information on contact panel, identifies, analyzes and compare through judging unit 16
To judging that unlocking information coincide with unlocking condition afterwards, processing unit 11 releases the lock state of screen of mobile phone.
In another smart mobile phone embodiment, input block 14 includes gravity sensor, and contact panel is in an initial condition
For closed mode, user needs to refer to by the physical button in input block 14 or other triggering forms transmission startup unlocking screen
Order, processing unit 11 start the contact panel and gravity sensor in input block 14, and contact panel and gravity sensor start
In can receive external information state, unlocking condition set in advance can be that must to receive mobile phone in gravity sensor be vertical
Unlocking information is inputted under to laying state on contact panel, now user needs mobile phone is placed longitudinally, on contact panel
Unlocking information is inputted, judging unit 16 judges that unlocking information and unlocking condition coincide after identifying, analyze and comparing, processing unit
11 release the lock state of screen of mobile phone.
In certain embodiments, after user sends startup screen-unlock instruction, in preset time section, it is set as receiving
The input block 14 of unlock instruction is in opening, more than preset time section, is set as receiving the input list of unlock instruction
Member 14 is closed to avoid the waste of system resource and maloperation automatically.In other embodiment, set in input block 14
The device needs for being set to reception unlock instruction are set as receiving startup screen-unlock instruction in user is received to input block 14
Device send cancel screen-unlock instruction after can just be closed.
Memory cell 15 is used for the unblock characteristic item that storage system is given tacit consent to or set through User Defined, the unlocking information
Including:Key combination characteristic item, image information feature item, finger print information characteristic item, voice identification information characteristic item, or touch-control thing
Part characteristic item, the touch event characteristic item are input medium contact on the touchscreen, contact combination, sliding trace, slip
Track combination or contact and the combination of sliding trace, or the user action information characteristic item that sensor captures.
Judging unit 16 be additionally operable to identify and analyze input block 14 acquisition unlocking information, and with institute in memory cell 15
The unlocking condition to prestore is compared, and judges whether unlocking information coincide with unlocking condition, and be determined as in judging unit 16 be
When, processing unit 11 releases the lock state of screen of terminal 1, calls display driver element 12 shielding to control display unit 13
Display systems main interface or list of application interface on curtain.
Referring to Fig. 2, for the flow chart of unlocking screen method in the present invention, methods described comprises the following steps:
Step S1, input block 14 obtains the unlocking information of user's input, and now display unit 13 controls screen to be in and gone out
Screen state;
Step S2, judging unit 16 identify and analyze input block 14 acquisition unlocking information, and with memory cell 15
The unlocking condition to be prestored is compared, and judges whether unlocking information coincide with unlocking condition;It is determined as being then to enter step S3,
It is judged to otherwise entering step S4;
Step S3, processing unit 11 releases the lock state of screen of terminal 1, calls display driver element 12 aobvious to control
Show that unit 13 lights screen and display systems main interface or list of application interface on screen;
Step S4, the lock state of screen of terminal 1 is kept.
In step S1, S2 and S4 of the above method, display unit 13 controls screen to be in the screen state, i.e. screen background of going out
Lamp is not turned on.
In the present embodiment, before step S1, terminal 1 is in lock state of screen, and this state is that can receive user
Input unlocking information treats released state, it is not necessary to which user, which inputs, starts screen-unlock instruction.In other embodiment,
Also there is a step S0 before step S1:Input block 14, which obtains, starts screen-unlock instruction;Judging unit 16 is identified and divided
The startup screen-unlock instruction is analysed, and judges whether screen-unlock instruction coincide with default startup unlocking screen condition, when
When judging that start screen-unlock instruction coincide with default startup unlocking screen condition, described start is responded by processing unit 11 and shielded
Curtain unlock instruction, call display driver element 12 to be shown to control display unit 13 on screen and treat released state.It is described to treat
Released state can be the state of screen display normal brightness, or display is less than the state of normal brightness or only on screen
Certain presupposed information of position display one, to inform user, now for terminal 1 in released state is treated, user can be at this moment using defeated
Enter unit 14 and input unlocking information, the presupposed information can treat released state prompt message as that " please solve for system default
Lock " or user-defined unblock prompt message;The presupposed information can be set by the user and appoint in screen
Meaning position.In present embodiment, the normal brightness refers to brightness set during electronic equipment normal use.
Unlocking information described in this method, it is any to be that the possessed input block 14 of terminal 1 can obtain
Operation information from user.Such as:
When input block 14 is button, unlocking information can be the buttons such as number, frequency or number and the frequency of button
Assemblage characteristic item.If unlocking condition is " button is within 2 second time by by 3 times ", user's button 3 times within 2 second time, then judge
Unit 16 judges that unlocking information coincide with unlocking condition.
When input block 14 is physical keyboard, unlocking information can be key combination characteristic item.If unlocking condition is " key
U, N, L, O, C, K key on disk is pressed successively ", user is judged using physical keyboard input UNLOCK, then judging unit 16
Unlocking information coincide with unlocking condition.
When input block 14 is touch-screen, unlocking information can be touch event characteristic item, the touch event feature
For input medium contact on the touchscreen, contact combination, sliding trace, sliding trace combination or contact and sliding trace
Assemblage characteristic item.Such as unlocking condition, when being " touch-screen receives the information of identical ' W ' shape ", user uses finger, electric capacity
Pen or other input media draw ' W ' shape on the touchscreen, then judging unit 16 judges that unlocking information is kissed with unlocking condition
Close.And for example unlocking condition is the figure that certain contact and sliding trace combine, then judging unit 16 is receiving input
During the unlocking information that unit 14 obtains, its characteristic value is calculated, is compared with the characteristic value of the figure in unlocking condition, works as error
It is determined as that unlocking information coincide with unlocking condition during less than a predetermined threshold value.
Scheme, such as the nine grids track unblock that Android system smart mobile phone is common are unlocked with existing touch-screen track
Comparing, the unblock scheme of the present embodiment is more flexible, and confidentiality is stronger, such as in nine grids unblock scheme, such as a institutes in Fig. 3
Nine grids unlock interface is shown as, unlocking screen figure is zigzag, and track is successively 1 → 2 → 3 → 5 → 7 → 8 → 9 by numbering
Tracing point, therefore trajectory shape, position, size be relatively fixed it is constant, in the present embodiment, such as our spies for setting
Value indicative is the shape correlation of track, as long as therefore detect track be shaped as zigzag, no matter the size of zigzag track, position
Put, such as unblock can be achieved in unblock track shown in b, c in input Fig. 3.
In further improved embodiment, input block 14 includes gravity sensor, then user can according to oneself
Demand setting unblock when contact panel receive touch information when whether have touch screen it is placed longitudinally with it is laterally disposed when can connect
Receive the characteristic of unlocking information.If user be arranged to must in mobile phone it is placed longitudinally be on contact panel input unlocking information
Effectively, then when unlocking operation, user passes through the physical button in input block 14 or other triggering forms send and start screens
Unlock instruction, processing unit 11 starts contact panel and gravity sensor, contact panel and gravity sensor are initially located in and can connect
Receive external information state.Now user needs mobile phone is placed longitudinally and input on contact panel unlocking information, judging unit
16 judge that mobile phone is now in placed longitudinally state according to the information from gravity sensor, and judging unit 16 is to touch surface
The touch event characteristic item that plate is received judges that unlocking information and unlocking condition coincide after being identified, analyze and comparing, full
After the two conditions of foot, processing unit 11 releases the lock state of screen of mobile phone.
On the other hand, user can set mobile phone to input unlocking information when placed longitudinally and laterally disposed effective.
In traditional unlocking manner shown in Fig. 3 a, tube apparatus is not laterally or vertically to place, and its track is required for passing through as shown in Figure 3 a
Above-mentioned path point is crossed, but when equipment is laterally disposed, its unlock path is also required to horizontal, then actually enters when laterally disposed
Path then becomes " N " font by " Z " font.In the present embodiment, when gravity sensor detects that equipment is horizontal, to detecting
Track also do lateral processes, such as input when mobile phone is laterally disposed track in Fig. 3 shown in d and e, judging unit 16 will be right
Lateral processes are done in track detected by contact panel, and be judged as receiving is zigzag.So, no matter equipment is horizontal or perpendicular
To placement, can identical user be used to be accustomed to unblock.
When input block 14 is camera, unlocking information can be that user carries out camera during an operation before camera
The image information feature item that can be collected, if unlocking condition is " camera receives a finger and transported from left to right or from right to left
It is dynamic " when, user stretches out finger transverse movement before camera, and judging unit 16 will be identified and analysis input block 14 is received
The image information arrived, its characteristic value is calculated, be compared with the characteristic value of the motion image in unlocking condition, when error is less than one
It is determined as that unlocking information coincide with unlocking condition during predetermined threshold value.Wherein it is possible to by user in advance with the condition of setting, using defeated
Enter the action that unit 14 inputted and be set as unlocking condition, then when user needs to be unlocked in the future, entered with same action
Row unblock operation.When input block 14 is image scanning apparatus similarly, difference is the unblock letter that camera can obtain
Cease the dynamic image data characteristic item continuously formed for static image information characteristic item or by still image, and image scanning apparatus
What is obtained can only be static image information characteristic item.
When input block 14 is that potentiometer, sound receiver device, fingerprint identification device, or light sensor, acceleration pass
During the sensor devices such as sensor, unlocking information can be electrical potential information characteristic item, voice identification information characteristic item, finger print information spy
The user action information characteristic item that sign item, sensor capture, user input unlocking information, judging unit using input block 14
The characteristic value of unlocking information is calculated, is compared with the characteristic value of unlocking condition, is determined as when error is less than a predetermined threshold value
Unlocking information coincide with unlocking condition.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.