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 providedExperience 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 keptWith screen state of going out.
Further, in the method for described unlocking screen, the unlocking information is touch event characteristic item, the touch-controlEvent includes input medium contact on the touchscreen, contact combination, sliding trace, sliding trace combination or contact and slides railThe 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 conditionIt 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 groupClose characteristic item, image information feature item, finger print information characteristic item or voice identification information characteristic item, or the use that sensor capturesFamily 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 oneIt 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 treatScreen 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-controlEvent includes input medium contact on the touchscreen, contact combination, sliding trace, sliding trace combination or contact and slides railThe 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 conditionIt 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 groupClose characteristic item, image information feature item, finger print information characteristic item or voice identification information characteristic item, or the use that sensor capturesFamily 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 oneIt 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, instituteStating 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 useWith 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 toOrder, processing unit respond the startup screen-unlock instruction, and start terminal treats released state;It is described to treat under released state, showShow 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, touchedTouch 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 settingUnlocking 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 cellIt 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 asThe locked electronic equipment of forth screen is unlocked to continue further operation, is not in misread to lock, by mistake under screen lock stateThe 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 embodimentAnd 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 figureThe dotted line of block represents existence information transmission relation between two connected functional modules.The terminal 1 for realizing unlocking screen is wrappedInclude 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 withIt is potentiometer, physical button, touch-screen, camera, image scanning apparatus, sound receiver device, fingerprint identification device, or lightThe 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 solutionWhether lock instruction coincide with default startup unlocking screen condition, when judgement starts screen-unlock instruction and default startup screenWhen unlocking condition coincide, the startup screen-unlock instruction is responded by processing unit 11, calls display driver element 12 to controlDisplay 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 brightnessState, or display less than normal brightness state or certain presupposed information of position display one only on screen, to inform user thisWhen 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 13Curtain 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 14Unlocking information is unlocked operation to terminal 1, and because screen is not lighted, other people can not learn that user will be unlocked behaviourMake, 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 shapeState, input block 14 are in starting state, and user can omit the step for transmission starts screen-unlock instruction and directly utilizeInput 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 touchedLCDs is laminated with below control panel, when smart mobile phone is in screen lock state, LCDs is closed, but contact panelStill in detection external touch signal input.User directly inputs unlocking information under screen lock state on contact panel, through sentencingDisconnected unit 16 judges that unlocking information and unlocking condition coincide after identifying, analyze and comparing, and processing unit 11 releases the screen of mobile phoneCurtain lock-out state.
In another smart mobile phone embodiment, contact panel is closed mode in original state, and now user can pass throughPhysical button in input block 14 or other triggering forms start contact panels, then contact panel be initially located in can receive andThe state of external touch signal is detected, user inputs unlocking information on contact panel, identifies, analyzes and compare through judging unit 16To 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 conditionFor closed mode, user needs to refer to by the physical button in input block 14 or other triggering forms transmission startup unlocking screenOrder, processing unit 11 start the contact panel and gravity sensor in input block 14, and contact panel and gravity sensor startIn can receive external information state, unlocking condition set in advance can be that must to receive mobile phone in gravity sensor be verticalUnlocking information is inputted under to laying state on contact panel, now user needs mobile phone is placed longitudinally, on contact panelUnlocking information is inputted, judging unit 16 judges that unlocking information and unlocking condition coincide after identifying, analyze and comparing, processing unit11 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 receivingThe input block 14 of unlock instruction is in opening, more than preset time section, is set as receiving the input list of unlock instructionMember 14 is closed to avoid the waste of system resource and maloperation automatically.In other embodiment, set in input block 14The device needs for being set to reception unlock instruction are set as receiving startup screen-unlock instruction in user is received to input block 14Device 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 informationIncluding:Key combination characteristic item, image information feature item, finger print information characteristic item, voice identification information characteristic item, or touch-control thingPart characteristic item, the touch event characteristic item are input medium contact on the touchscreen, contact combination, sliding trace, slipTrack 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 15The unlocking condition to prestore is compared, and judges whether unlocking information coincide with unlocking condition, and be determined as in judging unit 16 beWhen, processing unit 11 releases the lock state of screen of terminal 1, calls display driver element 12 shielding to control display unit 13Display 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 outScreen state;
Step S2, judging unit 16 identify and analyze input block 14 acquisition unlocking information, and with memory cell 15The 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 controlShow 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 outLamp 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 userInput 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 dividedThe startup screen-unlock instruction is analysed, and judges whether screen-unlock instruction coincide with default startup unlocking screen condition, whenWhen judging that start screen-unlock instruction coincide with default startup unlocking screen condition, described start is responded by processing unit 11 and shieldedCurtain 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 treatReleased state can be the state of screen display normal brightness, or display is less than the state of normal brightness or only on screenCertain 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 defeatedEnter unit 14 and input unlocking information, the presupposed information can treat released state prompt message as that " please solve for system defaultLock " or user-defined unblock prompt message;The presupposed information can be set by the user and appoint in screenMeaning 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 obtainOperation 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 buttonAssemblage 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 judgeUnit 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 " keyU, N, L, O, C, K key on disk is pressed successively ", user is judged using physical keyboard input UNLOCK, then judging unit 16Unlocking information coincide with unlocking condition.
When input block 14 is touch-screen, unlocking information can be touch event characteristic item, the touch event featureFor input medium contact on the touchscreen, contact combination, sliding trace, sliding trace combination or contact and sliding traceAssemblage characteristic item.Such as unlocking condition, when being " touch-screen receives the information of identical ' W ' shape ", user uses finger, electric capacityPen or other input media draw ' W ' shape on the touchscreen, then judging unit 16 judges that unlocking information is kissed with unlocking conditionClose.And for example unlocking condition is the figure that certain contact and sliding trace combine, then judging unit 16 is receiving inputDuring 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 errorIt 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 trackComparing, 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. 3Nine grids unlock interface is shown as, unlocking screen figure is zigzag, and track is successively 1 → 2 → 3 → 5 → 7 → 8 → 9 by numberingTracing point, therefore trajectory shape, position, size be relatively fixed it is constant, in the present embodiment, such as our spies for settingValue indicative is the shape correlation of track, as long as therefore detect track be shaped as zigzag, no matter the size of zigzag track, positionPut, 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 oneselfDemand setting unblock when contact panel receive touch information when whether have touch screen it is placed longitudinally with it is laterally disposed when can connectReceive the characteristic of unlocking information.If user be arranged to must in mobile phone it is placed longitudinally be on contact panel input unlocking informationEffectively, then when unlocking operation, user passes through the physical button in input block 14 or other triggering forms send and start screensUnlock instruction, processing unit 11 starts contact panel and gravity sensor, contact panel and gravity sensor are initially located in and can connectReceive external information state.Now user needs mobile phone is placed longitudinally and input on contact panel unlocking information, judging unit16 judge that mobile phone is now in placed longitudinally state according to the information from gravity sensor, and judging unit 16 is to touch surfaceThe touch event characteristic item that plate is received judges that unlocking information and unlocking condition coincide after being identified, analyze and comparing, fullAfter 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 aAbove-mentioned path point is crossed, but when equipment is laterally disposed, its unlock path is also required to horizontal, then actually enters when laterally disposedPath then becomes " N " font by " Z " font.In the present embodiment, when gravity sensor detects that equipment is horizontal, to detectingTrack 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 rightLateral processes are done in track detected by contact panel, and be judged as receiving is zigzag.So, no matter equipment is horizontal or perpendicularTo 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 cameraThe 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 leftIt is dynamic " when, user stretches out finger transverse movement before camera, and judging unit 16 will be identified and analysis input block 14 is receivedThe 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 oneIt 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 defeatedEnter 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 actionRow unblock operation.When input block 14 is image scanning apparatus similarly, difference is the unblock letter that camera can obtainCease the dynamic image data characteristic item continuously formed for static image information characteristic item or by still image, and image scanning apparatusWhat 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 passDuring the sensor devices such as sensor, unlocking information can be electrical potential information characteristic item, voice identification information characteristic item, finger print information spyThe user action information characteristic item that sign item, sensor capture, user input unlocking information, judging unit using input block 14The 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 valueUnlocking 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 hairThe 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 skillsArt field, is included within the scope of the present invention.