Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail.In the following passage, more specifically the present invention is described by way of example with reference to accompanying drawing.According to following explanation, advantages and features of the invention will be clearer.
As shown in Figure 1, the embodiment of the present invention provides a kind of terminal equipment, comprising:
Acquiring unit 11, is suitable for obtaining input password from unlock interface;
Performance element 12, is suitable for, when described input password comprises preset password and command code, performing the operation corresponding with described command code.
Described unlock interface refers to the interface provided after terminal equipment enters screen lock state.Terminal equipment enters screen lock state normally because terminal equipment is not operated for a long time, or the screen locking key of specifying is triggered, or starts the operation for screen locking.The screen of terminal equipment is closed the normal generation with screen lock state, and such as terminal equipment is not operated for a long time, then the while that terminal equipment entering screen lock state, screen is closed.Described terminal equipment can be mobile terminal.
Described preset password or command code can be a character or multidigit character string.Described character is any character visible that can be inputted by input method, as capitalization, lowercase, numeral, word, punctuation mark or other visicodes.
Arrangement between multiple region point that described preset password or command code also can provide for screen or icon and/or combination.Concrete, described preset password or command code can be realized by the annexation between region point multiple on screen or icon or click order, and the annexation namely between each multiple region point or icon or click sequentially correspond to a preset password or command code.Multiple region point can be 9 Ge Huo16 palace, palace lattice.Described icon can be the mounted application icon of described terminal equipment, or system message, system mode, application running status icon.
The form of described preset password and command code can be different, and such as preset password is character, and command code is the annexation of icon, also can be identical, and such as preset password and command code are the annexation of icon.
User only need remember that preset password just can realize the operation of multiple program or service etc., so both ensure that fail safe, is convenient to again user's memory.
Command code can comprise one or more operation subcode, a corresponding operation of operation subcode.The order of described operation subcode is the execution sequence of operation.When described operation subcode is character, the order of operation subcode is putting in order of character; Described operation subcode be region point or icon time, the order of described operation subcode is the order of connection of region point or icon.Suppose that operation subcode is character, namely command code is multidigit character string, the corresponding operation of each character, the operation that different characters is corresponding different.After user inputs multiple operation subcode, performance element 12 just can perform multiple operation.Such as, operation subcode is that character " 1 " corresponding data connects, and operation subcode is that character " 2 " correspondence opens microblogging, and when the command code of user's input is character string " 12 ", performance element 12 carries out data cube computation and opens microblogging application.
Operation corresponding to command code can comprise: the service that the unlatching of the function that terminal equipment itself provides or closedown, execution terminal equipment are installed or program, or any or a series of behavior arranged of mobile terminal.
The function that described terminal equipment itself provides can comprise: WiFi, camera, bluetooth, broadcast receiver, recording, GPS, data cube computation (as GPRS data connects), loud speaker or Mike.
Multiple operation can form one or a series of behavior.Described one or a series of behavior can comprise the combination in any of following operation: to presetting people or telephone number dialing phone and/or the information of transmission; Give and preset people or telephone number dialing phone, and the voice messaging recorded in advance of broadcasting automatically after the switch; Open any browser; Open any browser also directly opens the network address of specifying bookmark; Start recorder and directly enter recording state; Camera is utilized to take pictures continuously; Camera is utilized to carry out video recording; Perform GPS location, and send locating information to designated contact; Delete the All Contacts of mobile terminal, information, message registration, local file; Start e-mail program and also send the Mail Contents that pre-sets to specifying e-mail address; Start the communication applications such as microblogging, live chat instrument, social network services (SNS), and automatically issue the information pre-set; Enter mute state; Enter vibrating state; Show current schedule; Check system information; Keep screen lock state.
Described system information refers to the new system information suggested by terminal equipment operating system.For Android operation system, when have received new note, mail, new phone incoming call or missed call, or internal memory is about to full, and other information that other programs provide, weather alert information, chat message etc. such as suggested by the application such as weather, live chat, all can be displayed by the system in information bar up.When these information are checked, system can trigger corresponding service or application automatically, such as, enter note and check interface, enter message registration interface, enter Operation system setting interface, start corresponding weather or live chat program etc.
Optionally, described command code comprises with unlocking operation, keeps screen locking operation or emergency treatment to operate corresponding operation subcode.When command code comprises with when keeping screen locking to operate corresponding operation subcode, other operations that performance element 12 carries out all perform under screen lock state.Such as, preset password is character string " 123 ", and operation subcode is that " 0 " correspondence unlocks, operation subcode is that " 9 " correspondence keeps screen locking, operation subcode is that " 1 " corresponding data connects, and operation subcode is that " 2 " correspondence opens microblogging, and operation subcode is that " 3 " correspondence starts conference model; If user inputs character sequence " 1230 ", performance element 12 only performs unlocking operation, display main screen or desktop; If user inputs character sequence " 123012 ", performance element 12 can perform unlocking operation, and the application of data cube computation, unlatching microblogging; If user inputs character sequence " 12393 ", performance element 12 can keep screen lock state, and terminal is set to conference model.
The operation of described emergency treatment can comprise: to preset people make a phone call, send presupposed information or locating information, startup recording, delete personal information or start in silent mode one or more.Like this for the emergency operation of user under the state of emergency provides possibility.Such as, preset password is character string " 123 ", operation numeral is " 4 " corresponding GPS location, operation subcode sends locating information and distress signals to for " 5 " are corresponding default people, operation subcode is that " 6 " correspondence starts recording, and operation subcode is that " 7 " correspondence starts silent mode, and operation subcode is that " 8 " correspondence deletes personal information, described personal information can at least comprise multimedia message, note, address list, photo or file etc., and operation subcode is that " 9 " correspondence keeps screen locking.When user is in a state of emergency, such as, when being kidnaped, user inputs character sequence " 123456789 ", performance element 12 can carry out all operations corresponding with command code " 456789 ", thus triggers above-mentioned emergency operation.
Optionally, a corresponding emergency treatment operation of operation subcode, described emergency treatment operation comprises a series of behavior.Such as, preset password is character string " 123 ", and operation subcode is that " 9 " correspondence keeps screen locking, and operation subcode is " 4 " " corresponding emergency treatment operation.The operation of described emergency treatment can comprise: a keeps screen locking, b to presetting that people makes a phone call, c starts that GPS, d send presupposed information or locating information, e starts recording, f starts camera, g deletes all personal information, and described personal information comprises multimedia message, note, address list, photo, file etc.If user is kidnaped, coerced input character sequence when requirement is called " 1234 ", " 12349 " or " 12394 ", just can send when inputting less character the operation carrying out above-mentioned emergency fast, and bandit can be made cannot to obtain the important information that may exist in terminal equipment or storage card.
Described input password can also comprise space code, and described space code is for distinguishing preset password and command code; Also can not comprise space code, as long as acquiring unit 11 is judged to include preset password in input password, so other part is just defaulted as command code.
Described performance element 12 also when described input password comprises preset password and command code, can perform and unlock or keep screen locking operation, like this without the need to arranging with unblock or keeping screen locking to operate corresponding command code.What performance element 12 performed when inputting password and comprising preset password and command code is unlocking operation or keeps screen locking operation to can be considered default action.When default action is unlocking operation, performance element 12 when judging that input password comprises preset password and command code, first can perform unlocking operation, then performing the operation corresponding with described command code; When performance element 12 also can judge that input password comprises preset password and command code, first perform the operation corresponding with described command code, then perform unlocking operation.When default action is for keeping screen locking to operate, performance element 12 can judge keep screen lock state after input password comprises preset password and command code and perform the operation corresponding with described command code.When command code also comprises with when unlocking or keep screen locking to operate, default action can be replaced with the operation that command code is corresponding.
Described performance element 12 when described input password only comprises preset password, can also perform unlocking operation.Because input password only comprises preset password, namely inputting in password does not have command code, and so performance element 12 just only performs unlocking operation.
Described performance element 12 according to the operation operating corresponding current operating state retouching operation code correspondence, and can also perform described amended operation.The operation of retouching operation code correspondence can comprise: open or function that the equipment of closing a terminal possesses, the program stopping or exiting terminal equipment to run or service, starts program or service that terminal equipment also do not run.Such as, certain function, program or service current state for start or running status, even if then by operation setting corresponding for this command code for open, performance element 12 also can operation implementation in the operation of this command code is revised as closedown, and perform shutoff operation, vice versa.
The terminal equipment that the present embodiment provides can also comprise: first preset unit 13, be suitable for providing described preset password is set first arrange interface and preserve arrange after preset password.Described first arranges interface can for character or 9 palace lattice.Such as, first arrange interface be comprise character 0-9 keyboard select interface.
The terminal equipment that the present embodiment provides can also comprise: second presets unit 14, is suitable for providing setting operation and second of command code corresponding relation to arrange interface and also preserves the corresponding relation after arranging.
Described second operation arranged in the page can be list, and described list can comprise program or the service of all installations.Such as open GPS, close GPS, open WiFi, close WiFi and open recorder etc.User can one or more options in selective listing, thus form an operation, and described operation can perform multiple program or service.
Described second operation arranged in the page also can provide form to be filled.Such as, from the left side, first row is by the function selected or program, and secondary series is the operation that this function or program need to perform, and the 3rd row or subsequent column are the parameters that this operation needs further.When user clicks first row cell, second presets unit 14 provides list, allows user to select function or the programs such as GPS, WiFi, bluetooth, camera, microblogging, QQ, information, screen; When clicking secondary series, then provide list, allow user to select to arrange unlatching, closedown, transmission, receive; When clicking the 3rd row, provide list, allow user to select contact person; Clicking the 4th row is then provide inputting interface, allows user to input appointed information, or recorded speech file.Concrete, user can be arranged " information " at first row, and the secondary series of being expert in " information " is set to " transmission ", triggers contact person select interface at the 3rd row of colleague, have selected the contact person that specifies or directly have input telephone number, have input the information content at the 4th row.
Described first default unit 13 and the second default unit 14 can provide first to arrange interface and second simultaneously and arrange interface on screen, as provided first to arrange interface under a region or a menu of screen, under another one region or another one menu, provide second interface is set.Described first default unit 13 and the second default unit 14 also can not simultaneously provide first to arrange interface and second and arrange interface on screen, as the first default unit 13 first arranges interface at screen display first, set up after preset password until user, second presets unit 14 arranges interface at screen display second again.
Second presets unit 14, is also suitable for the corresponding relation changing described command code and the operation set according to the current state of described terminal equipment.
The current state of described terminal equipment comprises: the program that terminal equipment is current to be run, service, current program, the service not having operation, the current function started, the current function be not activated, the system information of current system prompting, current internal storage state, current battery status, the program of current operation occur to system and the information shown in the information bar of system, current date, time, communication conditions, roaming state, locating information.Second presets unit 14 can change command code and operation corresponding relation according to the height of the urgency level of current state or frequency of utilization.Such as, user arranges page setup command code " 0 " correspondence second and " starts and record " operation, in the running of terminal equipment, user misses a phone, and at this moment second to preset unit 14 can be that command code " 0 " correspondence " is checked missed call " and operated by command code " 0 " correspondence " start recording " operation change.
Again such as shown in Fig. 5 second arranges in interface, and the most descending zone line point does not arrange corresponding operation, can be referred to as " white space " herein.In terminal equipment running, second presets unit 14 can detect current each functional switch state, or the program, service etc. run, selects and is set to operate corresponding to white space by its shutoff operation.Suppose that the second default unit 14 detects that broadcast receiver runs, then arrange and descend the region point respective operations of interline for " closedown broadcast receiver " most, this region point is inputted as command code, just can perform and close wireless operation.
If region point is not last position of preset password, and this region point does not arrange any respective operations, second presets unit 14 can arrange operation corresponding to this region point according to frequency of utilization.Such as, the function that second default unit 14 sense terminals equipment self possesses, as GPS, WiFi, broadcast receiver, recorder, bluetooth etc. are in closed condition, according to statistics program or service by the frequency used, select the most often by the program that uses or service, using to its startup as the operation corresponding to white space.
The terminal equipment that the present embodiment provides can also comprise: Tip element 15, is suitable for the corresponding relation of the operation after described unlock interface provides described setting and command code.Described corresponding relation can be provided by modes such as Adding Area point identifications on mapping table or region point.
Tip element 15 providing unit can also set up the command code of postpone and the corresponding relation of operation separately.Such as, when unlock interface is 9 palace lattice, the region point of corresponding emergency treatment operation can not Adding Area point identification, or adds and only have user oneself just to understand region point to identify.If user is kidnaped, coerced requirement when calling, the command code input that corresponding emergency treatment can operate by user after preset password is entered, because command code does not have respective operations to point out, or the operation indicating of correspondence is more obscure, one or a series of emergency that emergency treatment operation is corresponding so just can be sent when not noting.
The terminal equipment that the present embodiment provides can also comprise: the 3rd preset unit, be suitable for providing arrange the 3rd of position relationship between preset password and command code arrange interface and preserve arrange after position relationship.
The position relationship of command code and preset password can: opcode bits before preset password, below or both sides.When opcode bits is before preset password, or opcode bits is in the operation corresponding to previous section of preset password when the both sides of preset password, and when performing these operations, screen is in screen lock state.Such as, if command code is set to after preset password, then the part inputted before preset password will not understood, or is considered to input error.In order to improve safe class, be continuously every, continuous print between the password of composition preset password, order fixing.Such as, preset password is " 123 ", if input password is " 1023 " or " 213 ", this input password is not considered as including preset password yet.
In addition, the operation corresponding to previous action code of preset password, needs to perform after have input correct preset password.Such as, command code is set to the both sides of preset password, and preset password is character string " 123 ".When then user unlocks time input character sequence " 11234 ", can operate corresponding to first executable operations subcode " 1 " under screen lock state, the corresponding operation of the subcode that redos " 4 ", unless corresponding to operation subcode " 4 " is keep screen locking operation, otherwise before executable operations subcode " 4 " respective operations, unblock can be performed; And the operation operated corresponding to subcode " 1 ", be after correct preset password " 123 " input, just start to perform.The setting of position relationship between preset password and operation subcode, being the position that setting operation code can exist, is not the position that must there is command code.Such as, although command code is set to the both sides of preset password, if user's input is character string " 1234 ", then also can unlock and executable operations subcode " 4 " respective operations; Or user have input character string " 1123 ", then can in executable operations subcode " 1 " respective operations under screen lock state; Or user is input character sequence " 123 ", then just unlock; Certainly, if user's input is character string " 11244 ", is then input error, still remains screen lock state, the corresponding operation of operation subcode " 1 " is not performed.
The mode of citing is provided to be described further the terminal equipment that the embodiment of the present invention provides below.
Fig. 2 illustrates and a kind ofly arranges interface and second based on first of character and arrange interface.User can input preset password in the frame after preset password, such as, character string " 123 " shown in Fig. 2.User can also in the operation operating input character " 0 " correspondence in the frame after subcode 0, " starting recording " operation such as shown in Fig. 2, can also in the operation operating input character " 1 " correspondence in the frame after subcode 1, by that analogy, by the control of increase operation subcode, the setting of the corresponding relation of character 0-9 and operation can be realized.Fig. 2 illustrate only the input function of numerical character, in addition, can also to the amendment of input method, and use full keyboard to input other characters or Chinese character.
Fig. 3 illustrates a kind of unlock interface schematic diagram corresponding with Fig. 2, and normally user opens screen by certain button pressed on mobile phone, and enters this unlock interface, and user can input password in the frame after " the input password " of unlock interface.Suppose that the interface of user shown in Fig. 2 is provided with the corresponding relation of preset password " 123 " and command code " 0 " and operation " start and record ", when input character sequence " 1230 " in the frame of user after " input password " and after clicking and confirming control, performance element 12 detects in the input password " 1230 " that user inputs and includes preset password " 123 " and command code " 0 ", then performance element 12 unlock screen start sound-recording function.
First arranges interface and second arranges interface and can also use other modes such as 9 palace lattice, 16 Gong Ge.For modes such as 9 Gong Ge, on 9 palace lattice, each point or region simply can be equivalent to one of character 1 to 9.User's setting is connected to 3 points, be then equivalent to have selected 3 numerals.
Fig. 4 illustrates and a kind ofly arranges interface based on first of 9 palace lattice, and user can connect regional point thus form preset password, and such as, line segment 1,2 and 3 in Fig. 4 is connected to 4 region point, finally receives pen in the region point in the lower right corner.
Fig. 5 illustrates and a kind ofly arranges interface based on second of 9 palace lattice, user can click the setting that each region point carries out this region point respective operations, the operation that region point such as shown in Fig. 5 sets gradually from left to right, is from top to bottom: note, start player, enter phone, open WiFi and start browser, start camera, start recording, emergency treatment and unblock, also has a region point not arrange corresponding operation.
If the arrangement between multiple region point that command code and preset password provide for screen or icon and/or combination, and the mode that terminal equipment only accepts to rule inputs, then can arrange interface second composition last region point of preset password or icon are not arranged the operation of any correspondence or be set to unlocking operation, can avoid like this as preset password last region point or command code corresponding to icon can not be selected.Fig. 6 illustrates a kind of unlock interface schematic diagram corresponding with Fig. 4 and Fig. 5, and the preset password section of being line 1,2 is connected 4 region point with 3, and last of preset password is the region point that region point is designated " unblock ".If last region point of preset password is arranged respective operations for " recording " by user, then the input of preset password rests on respective operations for the region point of " recording " and terminating to touch, after preset password end of input, if user wants to continue command code corresponding to input " recording " operation, then this command code (region point) just cannot be have selected, because the input of user just rests in this region point.So last region point of preset password or icon can not arrange the operation of any correspondence, or are set to unlocking operation as shown in Figure 6.Even if it should be noted that operation corresponding for last region point of preset password be set to " unblock ", when this region point is touched, the operation essence of its correspondence is not selected as shown in Figure 6.Because this region point is last position as preset password by the reason selected, and is not command code.Why last region point be set to " unblock ", just as a kind of mark reminding user, preset password is complete by the end of the input of this position.
Described preset password and command code corresponding region point or icon, described second presets unit 14 can also be adjusted to the command code corresponding to last corresponding region point of described preset password or icon and operate corresponding with other.
Such as, user has been provided with the corresponding relation shown in Fig. 4, then arrange interface first again and preset password form is as shown in Figure 3 re-set as the form shown in Fig. 7, last corresponding region point of preset password has changed the region point originally operated with " recording " corresponding to corresponding command code into.At this moment, cannot be selected in order to avoid operating corresponding command code with " recording ", second presets unit 14 can be adjusted to the command code (being originally set to operate corresponding command code with " recording ") corresponding to last corresponding region point of preset password not corresponding with any operation (blank operates), as shown in Figure 8.In addition, can also by last corresponding region point of preset password with it forefoot area point identification be " unblock " region point exchange, or removing is set to outside the operation of " unblock ", and other all operations reset in other region point outside " unblock " region point in order.
If the arrangement between multiple region point that command code and preset password provide for screen or icon and/or combination, and terminal equipment allows the mode clicked to input, namely double click the same area point can by terminal equipment identification, then last region point of preset password or operation corresponding to icon are without the need to restriction.
In addition, also have other embodiment, such as, terminal equipment can detect the time of staying in certain region point, judges the input of two or more same area point.By the example of Fig. 4, when user slides into lower right field point on screen, just rest on this region point, the terminal equipment detection time of staying exceedes the scheduled time, such as 500 milliseconds, then this region point is also transfused to as command code, and performance element 12 performs operation corresponding to lower right field point.And for example, terminal equipment detect user complete have input preset password after, change also acceptable point into hit mode of operation by just accepting scribing operation, or within a certain period of time, such as, allow in 500 milliseconds to occur disconnected pen, namely again slide from certain region point after allowing user to lift pen, under such circumstances, terminal equipment also can identify the input of double same area point.
For the input mode of 9 palace lattice and so on, another one situation is also had to need when designing to consider.
Continue with reference to figure 6, in the centre of line segment 4, user arrives the region point (region point is designated " phone ", setting operation is the region point of phone) in the upper right corner after having slipped over the region point (region point that region point is designated " recording ", operation setting is recording) in the middle of right column.At this moment, performance element 12 performs phone operation, or perform recording operation and phone operation, depends on concrete design.Scheme is the input mode that terminal equipment accepts to click, and at this moment, can think that the operation corresponding to region point clicked is all effective.Such as Fig. 6, suppose that user first clicks " recording ", then click " phone ", then performance element 12 first can start recording, and enters phone operation interface.If terminal equipment only accepts the input mode of ruling, then only can think that the last region arrived is effective, so the input effect of Fig. 6 directly enters phone operation interface.
When terminal equipment accepts the input mode clicked, how to determine that the mode that authentication password has inputted can with reference to the implementation of handwriting input.Such as, suppose that in Fig. 6, each region point related to is not the input mode input of line, but click input, after so user clicks the region point (region point is designated " unblock ", operation setting is the region point unlocked) in the lower right corner, screen does not unlock immediately, but releases the follow-up click input of unlock interface, wait user.Do not have other to click when user successively clicks after region point is designated the region point of " recording " and " phone " in the given time, then performance element 12 performs unlocking operation, and starts recording further, then enters phone operation interface.This is carrying out handwriting input with regard to user seemingly, and each click is equivalent to one, and the scheduled time is then equivalent to lift a stand-by period, and the technology that this scheme adopts is conventional techniques in writing technology field.
In fig. 5 and fig., first arranges interface or the second region point arranging each region point in interface is designated action name corresponding to this region point or abbreviation, what can replace can also be icon corresponding to operation or pattern, and other expression waies that this region point can be mapped with the operation of its setting.Region point is designated abbreviation or icon and can be acquiescence Lookup protocol is good, also can preset unit 13 or second by first and preset unit 14 and provide one to arrange interface for users to select.Such as, in Fig. 5, operation setting is the region point of " recording ", and its region point mark can be Chinese character " recording ", also can icon corresponding to recorded program.Even operation setting to be the region point of " recording " can be a circular white space, when only having user to streak or click this region point, just ejects a wicket and shows operation corresponding to this region point.
When region point is designated icon corresponding to operation, first arranges interface or second arranges interface and by the color of icon, or icon can also add the mode such as symbol " fork " or symbol " hooks ", and the operation indicating its correspondence is closedown or startup.
Continue with reference to figure 6, suppose that the unlatching that is operating as that the region point in the middle of the rightmost side is set up is recorded, but recording is in running status when screen locking, then operation corresponding for this region point can also be revised as " closing recording " by performance element 12, perform and close recording operation, and on locking screen interface, the icon that region point identifies is changed into grey or makes a call on icon one " fork ", so that reminding user.During hypothesis screen locking, recorded program is not run again, then operation setting corresponding for this region can be " opening recording " by performance element 12, perform and open recording operation, and the operation no matter originally this region point is corresponding is " opening recording " or " closing recording ".
As shown in Figure 9, the technology of the present invention embodiment also provides a kind of control method of terminal equipment, comprising:
Step S1, obtains input password from unlock interface;
Step S2, when described input password comprises preset password and command code, performs the operation corresponding with described command code.
The control method of described terminal equipment also comprises: when described input password comprises preset password and command code, performs and unlocks or keep screen locking operation.
The control method of described terminal equipment also comprises: when described input password only comprises preset password, performs unlocking operation.
The control method of described terminal equipment also comprises: according to the operation of the current operating state retouching operation code correspondence of operand, and perform described amended operation.
Described command code comprises one or more operation subcode, a corresponding operation of operation subcode.
Described command code comprises with unlocking operation, keeps screen locking operation or emergency treatment to operate corresponding command code.The operation of described emergency treatment comprises: to preset people make a phone call, send presupposed information or locating information, startup recording, delete personal information and start in silent mode one or more.
The control method of described terminal equipment also comprises: provide described preset password is set first arrange interface and preserve arrange after preset password.
The control method of described terminal equipment also comprises: provide second of setting operation and command code corresponding relation arrange the page and preserve the corresponding relation after arranging.
The control method of described terminal equipment also comprises: provide the corresponding relation of operation with command code in described unlock interface.
Although the present invention discloses as above with preferred embodiment, the present invention is not defined in this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should with claim institute limited range.