Summary of the invention
The main object of the present invention is to provide unlocking method and the tripper of a kind of mobile terminal, it is intended to side
Just, while user remembers unlocking pin, effectively prevent password from revealing and be cracked, and then effectively promoting shifting
The safety in utilization of dynamic terminal.
For achieving the above object, the unlocking method of the mobile terminal that the present invention proposes, comprise the steps:
Receiving the unblock character string of user's input, the length of described unblock character string is more than or equal to default
The length of unlocking pin;
Judge whether described unblock character string includes the character string identical with described unlocking pin;
If it is, unlock described mobile terminal.
Optionally, described judge whether described unblock character string includes identical with described unlocking pin
The step of character string includes:
With the first character of described unblock character string as starting point, intercept length identical with described unlocking pin backward
The character string of degree;
The character string being truncated to is compared with described unlocking pin.
Optionally, described judge whether described unblock character string includes identical with described unlocking pin
The step of character string includes:
With the ultimate character of described unblock character string as terminal, intercept forward length identical with described unlocking pin
The character string of degree;
The character string being truncated to is compared with described unlocking pin.
Optionally, described judge whether described unblock character string includes identical with described unlocking pin
The step of character string includes:
With the first character identical characters of described unlocking pin as starting point in described unblock character string, backward
Intercept and the character string of described unlocking pin equal length, or with in described unblock character string with described solution
The ultimate character identical characters of lock cipher is terminal, intercepts forward the word with described unlocking pin equal length
Symbol sequence;
The character string being truncated to is compared with described unlocking pin.
Optionally, described judge whether described unblock character string includes identical with described unlocking pin
The step of character string includes:
Obtain the character in described unblock character string successively;
The character got is arranged in and the character sequence of described unlocking pin equal length by acquisition order
Row;
The character string being arranged in compares with described unlocking pin.
Additionally, to achieve these goals, the tripper of the mobile terminal that the present invention proposes, including connecing
Receive module, judge module and unlocked state;Wherein,
Described receiver module, for receiving the unblock character string of user's input, the length of described unblock character string
Degree is more than or equal to the length of the unlocking pin preset;
Described judge module, is used for judging whether include and described unlocking pin in described unblock character string
Identical character string;
Described receiver module is identical with described unlocking pin for including in described unblock character string
During character string, unlock described mobile terminal.
Optionally, described judge module includes interception unit and comparing unit;Wherein,
Described interception unit, for the first character of described unblock character string as starting point, intercept backward with
The character string of described unlocking pin equal length;
Described comparing unit, for comparing the character string being truncated to described unlocking pin.
Optionally, described judge module includes interception unit and comparing unit;Wherein,
Described interception unit, for the ultimate character of described unblock character string as terminal, intercept forward with
The character string of described unlocking pin equal length;
Described comparing unit, for comparing the character string being truncated to described unlocking pin.
Optionally, described judge module includes interception unit and comparing unit;Wherein,
Described interception unit, for the first character phase with described unlocking pin in described unblock character string
It is starting point with character, intercepts the character string with described unlocking pin equal length backward, or with described solution
In lock character string, the ultimate character identical characters with described unlocking pin is terminal, intercepts and described solution forward
The character string of lock cipher equal length;
Described comparing unit, for comparing the character string being truncated to described unlocking pin.
Optionally, described judge module includes acquiring unit, arrangement units and comparing unit;Wherein,
Described acquiring unit, for obtaining the character in described unblock character string successively;
Described arrangement units, for being arranged in the character got and described unlocking pin by acquisition order
The character string of equal length;
Described comparing unit, compares with described unlocking pin for the character string being arranged in.
Technical scheme, is set to unlocking pin and redundancy word by the unblock character string that user inputs
The combination of symbol;When user needs that mobile terminal is unlocked operation, simply enter correct unblock close
Code and arbitrary redundance character, that is, user has only to remember that correct unlocking pin can realize
Solve latching operation, can effectively prevent user from forgetting unlocking pin;And due to the setting of redundance character, permissible
The unblock character string being effectively increased user's input sets length, and then can effectively prevent other people from peeping correctly
Unlocking pin, the situation that simultaneously can also effectively prevent unlocking pin to be cracked occurs, and promotes greatly
The safety in utilization of mobile terminal.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit
Determine the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description
In, use the suffix of such as " module ", " parts " or " unit " for representing element only for being conducive to this
The explanation of invention, itself does not has specific meaning.Therefore, " module " can mixedly make with " parts "
With.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include
Such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (individual digital
Assistant), PAD (panel computer), PMP (portable media player), the shifting of guider etc.
The fixed terminal of dynamic terminal and such as numeral TV, desk computer etc..Hereinafter it is assumed that terminal is to move
Dynamic terminal.However, it will be understood by those skilled in the art that, except being used in particular for the element of mobile purpose
Outside, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram realizing each optional mobile terminal of embodiment one of the present invention.
Mobile terminal 100 can include wireless communication unit 110, A/V (audio/video) input block 120,
User input unit 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170,
Controller 180 and power subsystem 190 etc..Fig. 1 shows the mobile terminal with various assembly, but should
It is understood by, it is not required that implement all assemblies illustrated.Can alternatively implement more or less of group
Part.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 with wireless
Radio communication between communication system or network.Such as, wireless communication unit 110 can include that broadcast connects
Receive module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and position
At least one in information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receive broadcast singal and/
Or broadcast related information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast control services
Device can be to generate and send generation before broadcast singal and/or the server of broadcast related information or reception
Broadcast singal and/or broadcast related information and send it to the server of terminal.Broadcast singal is permissible
Including TV broadcast singal, radio signals, data broadcasting signal etc..And, broadcast singal can
To farther include the broadcast singal combined with TV or radio signals.Broadcast related information can also
There is provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, and such as, it can be wide with digital multimedia
Broadcast the electronics clothes of the electronic program guides (EPG) of (DMB), digital video broadcast-handheld (DVB-H)
The form of business guide (ESG) etc. and exist.Broadcast reception module 111 can be by using all kinds
Broadcast system receive signal broadcast.Especially, broadcast reception module 111 can be by using the most matchmakers
Body Broadcasting-Terrestrial (DMB-T), DMB-satellite (DMB-S), DVB-hands
Hold (DVB-H), the Radio Data System of forward link media (MediaFLO), received terrestrial digital broadcasting
The digit broadcasting system of integrated service (ISDB-T) etc. receives digital broadcasting.Broadcast reception module 111 can
To be configured to be adapted to provide for the various broadcast systems of broadcast singal and above-mentioned digit broadcasting system.Via
Broadcast singal and/or broadcast related information that broadcast reception module 111 receives can be stored in memorizer 160
In (or other type of storage medium).
Mobile communication module 112 send radio signals to base station (such as, access point, node B etc.),
In exterior terminal and server at least one and/or receive from it radio signal.Such radio
Signal can include voice call signal, video calling signal or according to text and/or Multimedia Message
The various types of data sent and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can internal or
Externally it is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (nothing
Line LAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA
(high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology
Including bluetooth TM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB),
Purple honeybee TM etc..
Positional information module 115 is the module of positional information for checking or obtain mobile terminal.Position is believed
The typical case of breath module is GPS (global positioning system).According to current technology, GPS module 115 is counted
Calculating should from the range information of three or more satellites and correct time information and the information for calculating
With triangulation, thus according to longitude, latitude with highly accurately calculate three-dimensional current location information.
Currently, for calculating method three satellites of use of position and temporal information and by using other one
Position that the correction of satellite calculates and the error of temporal information.Additionally, GPS module 115 can be by real
Time ground Continuous plus current location information calculate velocity information.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include phase
Machine 121 and mike 122, camera 121 in Video Capture pattern or image capture mode by image capturing
Static images or the view data of video that device obtains process.Picture frame after process can show
On display unit 151.Picture frame after camera 121 processes can be stored in memorizer 160 (or other
Storage medium) in or be transmitted via wireless communication unit 110, can be according to the structure of mobile terminal
Two or more cameras 121 are provided.Mike 122 can be at telephone calling model, logging mode, voice
Recognition mode etc. operational mode receives sound (voice data) via mike, and can be by so
Acoustic processing be voice data.Audio frequency (voice) data after process can be at telephone calling model
In the case of be converted to can via mobile communication module 112 be sent to mobile communication base station form output.Mike
Wind 122 can be implemented various types of noise and eliminate (or suppression) algorithm to eliminate (or suppression) in reception
With the noise produced during transmission audio signal or interference.
It is mobile to control that user input unit 130 can generate key input data according to the order of user's input
The various operations of terminal.User input unit 130 allows user to input various types of information, and permissible
Including keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure,
The sensitive component of the change of electric capacity etc.), roller, rocking bar etc..Especially, when touch pad is with the shape of layer
When formula is superimposed upon on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (such as, the opening of mobile terminal 100
Or closed mode), the position of mobile terminal 100, user for mobile terminal 100 contact (that is, touch
Input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction
Etc., and generate the order or signal being used for controlling the operation of mobile terminal 100.Such as, when mobile whole
When end 100 is embodied as sliding-type mobile phone, it is to open that sensing unit 140 can sense this sliding-type phone
Or close.It addition, sensing unit 140 can detect whether power subsystem 190 provides electric power or interface
Whether unit 170 couples with external device (ED).Sensing unit 140 can include that proximity transducer 141 will below
In conjunction with touch screen, this is described.
Interface unit 170 is used as at least one external device (ED) and is connected connecing of can passing through with mobile terminal 100
Mouthful.Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or electricity
Electrolytic battery charger) port, wired or wireless FPDP, memory card port, there is for connection identification mould
The port of the device of block, audio frequency input/output (I/O) port, video i/o port, ear port etc..
Identification module can be that storage is for verifying that user uses the various information of mobile terminal 100 and can wrap
Include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM)
Etc..It addition, the device (hereinafter referred to as " identification device ") with identification module can take smart card
Form, therefore, identifies that device can be connected with mobile terminal 100 via port or other attachment means.Connect
Mouth unit 170 may be used for receiving the input (such as, data message, electric power etc.) from external device (ED)
And one or more elements that the input received is transferred in mobile terminal 100 or may be used for
Data are transmitted between mobile terminal and external device (ED).
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing to lead to
Cross it provide the path of mobile terminal 100 by electric power from base or can serve as allowing to input from base
Various command signals be transferred to the path of mobile terminal by it.Various command signals from base input
Or electric power may serve as identifying whether mobile terminal is accurately fitted within the signal on base.Output is single
Unit 150 be configured to vision, audio frequency and/or tactile manner provide output signal (such as, audio signal,
Video signal, alarm signal, vibration signal etc.).Output unit 150 can include display unit 151,
Dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, mobile terminal is worked as
100 when being in telephone calling model, display unit 151 can show with call or other communicate (such as,
Text messaging, multimedia file download etc.) relevant user interface (UI) or graphical user circle
Face (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit
151 images that can show capture and/or the image of reception, video or image and correlation function are shown
UI or GUI etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another to form touch screen time, aobvious
Show that unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display
(LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display,
At least one in flexible display, three-dimensional (3D) display etc..Some in these display can
To be configured to transparence with permission user from outside viewing, this is properly termed as transparent display, typically
Transparent display can for example, TOLED (transparent organic light emitting diode) display etc..According to spy
Surely the embodiment wanted, mobile terminal 100 can include two or more display units (or other display
Device), such as, mobile terminal can include outernal display unit (not shown) and inner display unit (not
Illustrate).Touch screen can be used for detecting touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can be in call signal at mobile terminal and receive pattern, call mode, note
Time under the isotypes such as record pattern, speech recognition mode, broadcast reception mode, wireless communication unit 110 is connect
Receive or in memorizer 160 storage voice data transducing audio signal and be output as sound.And
And, the audio frequency that dio Output Modules 152 can provide relevant to the specific function of mobile terminal 100 execution is defeated
Go out (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 is permissible
Including speaker, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 100.Typically
Event can include calling reception, message sink, key signals input, touch input etc..Except audio frequency
Or outside video frequency output, alarm unit 153 can provide in a different manner and export sending out with notification event
Raw.Such as, alarm unit 153 can with vibration form provide output, when receive calling, message or
During some other entrance communication (incomingcommunication), alarm unit 153 can provide sense of touch
Output (that is, vibration) is to notify to user.By provide such sense of touch export, even if with
When the mobile phone at family is in the pocket of user, user also is able to identify the generation of various event.Alert
Declaration form unit 153 can also provide the generation of notification event via display unit 151 or dio Output Modules 152
Output.
Memorizer 160 can store the process performed by controller 180 and control the software program etc. of operation
Deng, or can temporarily store exported maybe will export data (such as, telephone directory, message,
Still image, video etc.).And, memorizer 160 can store and be applied to touch screen about when touch
Time the vibration of various modes of output and the data of audio signal.
Memorizer 160 can include the storage medium of at least one type, described storage medium include flash memory,
Hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.), random access store
Device (RAM), static random-access memory (SRAM), read only memory (ROM), electric erasable
Programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic storage,
Disk, CD etc..And, mobile terminal 100 can be connected execution memorizer 160 with by network
The network storage device cooperation of storage function.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and voice
Control that call, data communication, video calling etc. are relevant and process.It addition, controller 180 can wrap
Including the multi-media module 181 for reproducing (or playback) multi-medium data, multi-media module 181 can be with structure
Make in controller 180, or it is so structured that separate with controller 180.Controller 180 can perform mould
Formula identifying processing, to be identified as character by the handwriting input performed on the touchscreen or picture drafting input
Or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides behaviour
Make the suitable electric power needed for each element and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any group
The computer-readable medium closed is implemented.Implementing for hardware, embodiment described herein can pass through
Use application-specific IC (ASIC), digital signal processor (DSP), Digital Signal Processing dress
Put (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor,
Controller, microcontroller, microprocessor, it is designed to perform in the electronic unit of function described herein
At least one implement, in some cases, such embodiment can be implemented in controller 180.
For software implement, the embodiment of such as process or function can with allow perform at least one function or
The single software module of operation is implemented.Software code can be write by with any suitable programming language
Software application (or program) implement, software code can be stored in memorizer 160 and by
Controller 180 performs.
So far, mobile terminal is described according to its function.Below, for the sake of brevity, will describe
Various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc.
In slide type mobile terminal as example.Therefore, the present invention can be applied to any kind of mobile whole
End, and it is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 100 may be constructed such that and utilizes via frame or packet transmission data
The most wired and wireless communication system and satellite-based communication system operate.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, by communication system
The air interface that system uses includes that such as frequency division multiple access (FDMA), time division multiple acess (TDMA), code division are many
Location (CDMA) and UMTS (UMTS) (especially, Long Term Evolution (LTE)),
Global system for mobile communications (GSM) etc..As non-limiting example, explained below relates to CDMA
Communication system, but such teaching is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station (BS)
270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is constructed
For forming interface with Public Switched Telephony Network (PSTN) 290.MSC280 be also structured to can be through
The BSC275 being couple to base station 270 by back haul link forms interface.Back haul link can be according to some known
Any one in interface constructs, and described interface includes such as E1/T1, ATM, IP, PPP, frame relay,
HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple
BSC275。
Each BS270 can service one or more subregion (or region), by multidirectional antenna or point to specific
Each subregion that the antenna in direction covers is radially away from BS270.Or, each subregion can be by being used for
Two or more antennas of diversity reception cover.Each BS270 may be constructed such that the multiple frequencies of support are divided
Join, and the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station
Transceiver subsystem (BTS) or other equivalent terms.In this case, term " base station " is permissible
For broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".
Or, each subregion of specific BS270 can be referred to as multiple cellular station.
As shown in Figure 2, broadcast singal is sent in system operation by broadcsting transmitter (BT) 295
Mobile terminal 100.As shown in Figure 1 broadcast reception module 111 is arranged on mobile terminal 100 and sentences and connect
Receive the broadcast singal sent by BT295.In fig. 2 it is shown that several global positioning systems (GPS) are defended
Star 300.Satellite 300 helps to position at least one in multiple mobile terminals 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of defend
Star obtains useful location information.GPS module 115 is generally configured to and satellite 300 as shown in Figure 1
Coordinate the location information wanted with acquisition.Substitute GPS tracking technique or outside GPS tracking technique, can
To use other technology of the position that can follow the tracks of mobile terminal.It addition, at least one gps satellite 300 can
Optionally or additionally to process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives from various mobile terminals 100
Reverse link signal.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.Special
The each reverse link signal determining base station 270 reception is processed in specific BS270.The data obtained
It is forwarded to the BSC275 being correlated with.BSC provides call resource distribution and the soft handover included between BS270
The mobile management function of the coordination of process.The data received also are routed to MSC280 by BSC275, its
Extra route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with
MSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 correspondingly controls BS270
Forward link signals to be sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
The present invention proposes the unlocking method of a kind of mobile terminal, it is adaptable to the unlocking screen of mobile terminal.
As it is shown on figure 3, also with reference to the stream of unlocking method one embodiment that Fig. 1, Fig. 3 are mobile terminal of the present invention
Cheng Tu.
The unlocking method of the mobile terminal of this enforcement, comprises the steps:
Step S10, receive user input unblock character string, the length of described unblock character string more than or etc.
Length in default unlocking pin.
Step S20, judge whether described unblock character string includes the character identical with described unlocking pin
Sequence.
If it is, perform step S30, unlock described mobile terminal.
If it is not, then prompting user unlocks character string input error, and user is pointed out to re-enter, simultaneously
The number of times of record input error, and when continuous input error number of times reaches preset value, within a certain period of time,
Lock described mobile terminal.
Concrete, described default unlocking pin can be by user's sets itself or the unblock using system default
Password, described unlocking pin can be 4 or the numeral of 6 and/or the composite sequence of letter.This kind of group
The length closing sequence is shorter, facilitates user to remember, and then effectively prevents user from forgetting unlocking pin.When with
When family needs to be unlocked, show that input field, prompting user input unblock character by display unit 151
String.The figure place of the character of this input field needs input is more than or equal to the figure place of described unlocking pin, such as,
When the figure place of described unlocking pin is 4, described input field needs the figure place of the character of input to be at least 5
Position and more than, that is, user input unblock character string in include at least one beyond unlocking pin
Redundance character.When user needs that described mobile terminal is unlocked operation, user can solve in input
Arbitrary redundance character is inputted while lock cipher, to prevent other people from peeping correct unlocking pin, with
Time can also effectively prevent the situation that unlocking pin is cracked from occurring, and then be effectively improved mobile terminal
Safety in utilization.
The technical scheme of the present embodiment, is set to unlocking pin and redundancy by the unblock character string that user inputs
The combination of character;When user needs that mobile terminal is unlocked operation, simply enter correct unblock
Password and arbitrary redundance character, that is, user has only to remember that correct unlocking pin can be real
Now solve latching operation, can effectively prevent user from forgetting unlocking pin;And due to the setting of redundance character, can
The unblock character string inputted to be effectively increased user sets length, and then can effectively prevent other people from just peeping
True unlocking pin, the situation that simultaneously can also effectively prevent unlocking pin to be cracked occurs, and carries greatly
Rise the safety in utilization of mobile terminal.
Further, as shown in Figures 4 and 5, Fig. 4 is the described judgement described unblock word shown in Fig. 3
Whether symbol string includes the flow process of step one embodiment of the character string identical with described unlocking pin
Figure;Fig. 5 is operating principle figure (wherein, the top of unlocking method one embodiment of mobile terminal of the present invention
Block diagram represents the unblock character string that user inputs;Lower block diagram represents default unlocking pin).
In the present embodiment, described judge whether described unblock character string includes and described unlocking pin
The step of identical character string includes:
Step S21, with the first character of described unblock character string as starting point, intercept close with described unblock backward
The character string of code equal length;
Step S22, the character string being truncated to is compared with described unlocking pin.
Concrete, as it is shown in figure 5, with unlocking pin for 5678, a length of 8 of unblock character string are
Example;When user needs to be unlocked described mobile terminal, input 5678XXXX (wherein, X generation
Table Any Digit or letter), to realize solving latching operation.As long as that is, user inputs to unlock character string
Front four characters are identical with described unlocking pin, can realize solving latching operation.
Further, as shown in FIG. 6 and 7, Fig. 6 is the described judgement described unblock word shown in Fig. 3
Whether symbol string includes the flow process of another embodiment of step of the character string identical with described unlocking pin
Figure;Fig. 7 is that the operating principle figure of another embodiment of unlocking method of mobile terminal of the present invention is (on wherein,
Block diagram represents the unblock character string that user inputs;Lower block diagram represents default unlocking pin).
In the present embodiment, described judge whether described unblock character string includes and described unlocking pin
The step of identical character string includes:
Step S23, with the ultimate character of described unblock character string as terminal, intercept forward close with described unblock
The character string of code equal length;
Step S24, the character string being truncated to is compared with described unlocking pin.
Concrete, as it is shown in fig. 7, with unlocking pin for 5678, a length of 8 of unblock character string are
Example;When user needs to be unlocked described mobile terminal, input XXXX5678 (wherein, X generation
Table Any Digit or letter), to realize solving latching operation.As long as that is, user inputs to unlock character string
Rear four characters are identical with described unlocking pin, can realize solving latching operation.
Further, as can be seen from figures 8 and 9, Fig. 8 is the described judgement described unblock word shown in Fig. 3
Whether symbol string includes the flow process of the another embodiment of step of the character string identical with described unlocking pin
Figure;Fig. 9 is that the operating principle figure of the another embodiment of unlocking method of mobile terminal of the present invention is (on wherein,
Block diagram represents the unblock character string that user inputs;Lower block diagram represents default unlocking pin).
In the present embodiment, described judge whether described unblock character string includes and described unlocking pin
The step of identical character string includes:
Step S25, with in described unblock character string with the first character identical characters of described unlocking pin for rising
Point, intercepts the character string with described unlocking pin equal length backward, or with in described unblock character string
It is terminal with the ultimate character identical characters of described unlocking pin, intercepts forward identical with described unlocking pin
The character string of length;
Step S26, the character string being truncated to is compared with described unlocking pin.
Concrete, as it is shown in figure 9, as a example by unlocking pin is 5678, unlock a length of the 8 of character string
Position;When user need described mobile terminal is unlocked time, input XX5678XX, XXX5678X,
X5678XXX (wherein, X represents Any Digit or letter), to realize solving latching operation.As long as that is,
Continuous four characters of the optional position that user inputs to unlock character string are identical with described unlocking pin, i.e.
Can realize solving latching operation.
Further, as shown in Figures 10 and 11, Figure 10 is the described unblock of described judgement shown in Fig. 3
Whether character string includes the stream of the step another embodiment of the character string identical with described unlocking pin
Cheng Tu;Figure 11 be the operating principle figure of the unlocking method another embodiment of mobile terminal of the present invention (wherein,
Upper block diagram represents the unblock character string that user inputs;Middle boxes figure represents the character that will unlock in character string
It is arranged in and the character string of described unlocking pin equal length by acquisition order;Lower block diagram represents default
Unlocking pin).
In the present embodiment, described judge whether described unblock character string includes and described unlocking pin
The step of identical character string includes:
Step S27, obtain the character in described unblock character string successively;
Step S28, the character got is arranged in and described unlocking pin equal length by acquisition order
Character string;
Step S29, the character string being arranged in compare with described unlocking pin.
Concrete, as shown in figure 11, with unlocking pin for 5678, a length of 8 of unblock character string are
Example;When user need described mobile terminal is unlocked time, input X5X6X7X8,5X6X7X8X,
56XX7X8X etc. (wherein, X represents Any Digit or letter), to realize solving latching operation.That is, only
Want user to input to unlock in character string and can comprise 5,6,7,8 in order, can realize solving latching operation.
The present invention also proposes the tripper of a kind of mobile terminal.
As shown in figure 12, and be tripper one embodiment of mobile terminal of the present invention with reference to Fig. 1, Figure 12
Module map.
The tripper of the mobile terminal of the present embodiment includes receiver module 410, judge module 420 and unlocks
Module 430.
Described receiver module 410, for receiving the unblock character string of user's input, described unblock character string
Length is more than or equal to the length of the unlocking pin preset.
Whether described judge module 420, be used for judging including in described unblock character string close with described unblock
The character string that code-phase is same.
Described receiver module 410 is identical with described unlocking pin for including in described unblock character string
Character string time, unlock described mobile terminal.
Concrete, described default unlocking pin can be by user's sets itself or the unblock using system default
Password, described unlocking pin can be 4 or the numeral of 6 and/or monogram sequence.This kind of combination
The length of sequence is shorter, facilitates user to remember, and then effectively prevents user from forgetting unlocking pin.Work as user
When needing to be unlocked, show that input field, prompting user input unblock character string by display unit 151.
The figure place of the character of this input field needs input is more than or equal to the figure place of described unlocking pin, such as, when
When the figure place of described unlocking pin is 4, described input field needs the figure place of the character of input to be at least 5
Position and more than, that is, user input unblock character string in include at least one beyond unlocking pin
Redundance character.When user needs that described mobile terminal is unlocked operation, user can solve in input
Arbitrary redundance character is inputted while lock cipher, to prevent other people from peeping correct unlocking pin, with
Time can also effectively prevent the situation that unlocking pin is cracked from occurring, and then be effectively improved mobile terminal
Safety in utilization.
The technical scheme of the present embodiment, is set to unlocking pin and redundancy by the unblock character string that user inputs
The combination of character;When user needs that mobile terminal is unlocked operation, simply enter correct unblock
Password and arbitrary redundance character, that is, user has only to remember that correct unlocking pin can be real
Now solve latching operation, can effectively prevent user from forgetting unlocking pin;And due to the setting of redundance character, can
The unblock character string inputted to be effectively increased user sets length, and then can effectively prevent other people from just peeping
True unlocking pin, the situation that simultaneously can also effectively prevent unlocking pin to be cracked occurs, and carries greatly
Rise the safety in utilization of mobile terminal.
Further, as shown in figure 13, it is in tripper shown in Figure 12 with reference to Fig. 5, Figure 13
The module map of judge module one embodiment.
In the present embodiment, described judge module 420 includes interception unit 422 and comparing unit 423.
Described interception unit 422, for the first character of described unblock character string as starting point, intercepting backward
Character string with described unlocking pin equal length.
Described comparing unit 423, for comparing the character string being truncated to described unlocking pin.
Concrete, as it is shown in figure 5, with unlocking pin for 5678, a length of 8 of unblock character string are
Example;When user needs to be unlocked described mobile terminal, input 5678XXXX (wherein, X generation
Table Any Digit or letter), to realize solving latching operation.As long as that is, user inputs to unlock character string
Front four characters are identical with described unlocking pin, can realize solving latching operation.
Further, as shown in figure 13, with reference to Fig. 7, described interception unit 422, it is also possible to use
In with the ultimate character of described unblock character string as terminal, intercept and described unlocking pin equal length forward
Character string.
Described comparing unit 423, for comparing the character string being truncated to described unlocking pin.
Concrete, as shown in Figure 7 with unlocking pin for 5678, as a example by unlocking a length of 8 of character string;
When user needs to be unlocked described mobile terminal, (wherein, X represents and appoints input 5678XXXX
Meaning numeral or letter), to realize solving latching operation.As long as that is, user inputs to unlock front the four of character string
Position character is identical with described unlocking pin, can realize solving latching operation.
Further, as shown in figure 13, with reference to Fig. 9, described interception unit 422, it is also possible to use
In in described unblock character string with the first character identical characters of described unlocking pin as starting point, cut backward
Take and the character string of described unlocking pin equal length, or with in described unblock character string with described unblock
The ultimate character identical characters of password is terminal, intercepts forward the character with described unlocking pin equal length
Sequence.
Described comparing unit 423, for comparing the character string being truncated to described unlocking pin.
Concrete, as it is shown in figure 9, as a example by unlocking pin is 5678, unlock a length of the 8 of character string
Position;When user need described mobile terminal is unlocked time, input XX5678XX, XXX5678X,
X5678XXX (wherein, X represents Any Digit or letter), to realize solving latching operation.As long as that is,
Continuous four characters of the optional position that user inputs to unlock character string are identical with described unlocking pin, i.e.
Can realize solving latching operation.
Further, as shown in figure 14, it is in tripper shown in Figure 12 with reference to Figure 11, Figure 14
The module map of another embodiment of judge module.
In the present embodiment, described judge module 420 includes acquiring unit 424, arrangement units 425 and ratio
Relatively unit 423.
Described acquiring unit 424, for obtaining the character in described unblock character string successively;
Described arrangement units 425, for being arranged in close with described unblock by the character got by acquisition order
The character string of code equal length;
Described comparing unit 423, compares with described unlocking pin for the character string being arranged in.
Concrete, as shown in figure 11, with unlocking pin for 5678, as a example by unlocking a length of 8 of character string;
When user need described mobile terminal is unlocked time, input X5X6X7X8,5X6X7X8X,
56XX7X8X etc. (wherein, X represents Any Digit or letter), to realize solving latching operation.That is, only
Want user to input to unlock in character string and can comprise 5,6,7,8 in order, can realize solving latching operation.
It should be noted that in this article, term " includes ", " comprising " or its any other variant are intended to
Contain comprising of nonexcludability, so that include the process of a series of key element, method, article or dress
Put and not only include those key elements, but also include other key elements being not expressly set out, or also include
The key element intrinsic for this process, method, article or device.In the case of there is no more restriction,
The key element limited by statement " including ... ", it is not excluded that including the process of this key element, method, thing
Product or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned
Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical
Cross hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the present invention's
The part that prior art is contributed by technical scheme the most in other words can be with the form body of software product
Revealing to come, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD)
In, including some instructions with so that a station terminal equipment (can be mobile terminal, computer, service
Device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every
Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or
Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.