Summary of the invention
The present invention proposes in order to address the above problem just.Its purpose is to provide a kind of mobile communication terminal method for controlling external key lock and mobile communication terminal thereof, by with mobile communication terminal running-active status category setting external key locking control, prevent under the loath situation of user because the misoperation of the external key that misoperation takes place.
For achieving the above object, according to the invention provides a kind of mobile communication terminal, comprising:
Internal memory has been set the locking set information of whether implementing the external key lock operation according at least one the state model classification storage that shows the mobile communication terminal running-active status;
Control part, when the button data of external key is transfused to, extract the locking set information that (extract) set from above-mentioned internal memory, when the operate condition of mobile communication terminal belongs to the state model of (come under) extraction, implement lock out action and make the button data of the external key of input can't be reflected to the action of mobile communication terminal.
Above-mentioned state model comprises with all the time, close lid, at least one operate condition in the conversation, in the online, in the recreation in the state of the mobile communication terminal of difference.
Above-mentioned control part comprises:
External key locking configuration part, provide in order according to user's request the external key whether the key input of external key locks to be set window, make at least one lock-out state pattern class locking set information of setting the window input by the external key that provides store internal memory into according to the operate condition category setting of mobile communication terminal;
External key input control part, when importing arbitrarily button data, whether the data of judging input are button data of external key, when if judged result is the button data of external key, extract the lock-out state pattern of setting and carry out lock out action from above-mentioned internal memory, make above-mentioned button data can't be reflected to the action of mobile communication terminal according to the state model that extracts.
Said external button input control part comprises:
The button judging part judges whether the button data by any button input is the button data of external key;
Lock-out state pattern extraction unit when being the button data of external key according to above-mentioned button judgement section judges, is extracted the lock-out state pattern of setting in the above-mentioned internal memory;
In the state model of extraction which locking control part, the operate condition of differentiating current mobile communication terminal belong to, and carry out lock out action according to the differentiation result above-mentioned button data can't be reflected in the action of mobile communication terminal.
Above-mentioned control part also comprises:
Function executing unit, when the running-active status of above-mentioned mobile communication terminal belonged to the state model of extraction, according to the control of above-mentioned locking control part, the relevant action of the button data of the external key of the feasible input of control can't be carried out.
Above-mentioned functions execution portion comprises:
Telephone relation execution portion when importing the button data of external key in the middle of the conversation, according to the control of above-mentioned locking control part, makes the button data of input can't be reflected in the action of mobile communication terminal, and telephone relation is continued always;
Camera execution portion when importing the button data of external key in the middle of camera function is carried out, according to the control of above-mentioned locking control part, makes the button data of input can't be reflected in the action of mobile communication terminal, and carries out camera function.
And, method for controlling external key lock according to the mobile communication terminal of one embodiment of the invention, comprise: according to the execution of at least one state model category setting external key lock out action whether first step, and is stored in internal memory to a locking set information of setting;
Second step, when importing the button data of external key, extract the lock-out state pattern of setting from above-mentioned internal memory, when the operate condition of current mobile communication terminal belonged to the state model of extraction, the button data of carrying out the external key of the feasible input of lock out action can't be reflected in the action of mobile communication terminal.
Above-mentioned first step, comprise: step is set in the external key locking, provide in order according to user's request the external key whether the key input of external key locks to be set window, make at least one lock-out state pattern class locking set information of setting the window input by the external key that provides store internal memory into according to the operate condition category setting of mobile communication terminal.
Above-mentioned second step comprises:
The button determining step judges whether the button data by any button input is the button data of external key;
Lock-out state pattern extraction step when above-mentioned button determining step is judged as the button data of external key, extracts the lock-out state pattern of setting in the above-mentioned internal memory;
In the state model of said extracted which locking controlled step, the operate condition of differentiating current mobile communication terminal belong to, and carry out lock out action according to the differentiation result above-mentioned button data can't be reflected in the action of mobile communication terminal.
Beneficial effect of the present invention is, among the present invention according to various requirement of user, according to the locking control of the operate condition category setting external key of mobile communication terminal, and the input of control external key.Misoperation with the external key that under the involuntary situation of user, takes place because of misoperation.
For example, camera function etc. is carried out in the input owing to external key in pocket, prevents the misoperation of the external key that takes place because of misoperation under the involuntary situation of user.
And the user carries out in the way of function arbitrarily of mobile communication terminal, when the external key data are transfused to, can carry out correlation function neatly by carrying out lock out action.
The words that further specify, mobile communication terminal is carried out in the way of functions such as telephone relation, game function, online, the button data of the external key that is transfused to can't be reflected in the action of related mobile communication terminal, thereby prevents the interruption of the correlation function that the unexpected input owing to external key takes place and the generation of big misoperation sound.
Embodiment
Below with reference to the description of drawings embodiments of the invention.
Fig. 1 is the pie graph of summary of mobile communication terminal of the execution method for controlling external key lock of one embodiment of the present of invention.
With reference to figure 1, the formation for the mobile communication terminal 100 of carrying out method for controlling external key lock according to an embodiment of the invention comprises: internal memory 110, and storage is in order to carry out the program of external key locking controlled step; Control part 120 reads the program that is stored in above-mentioned internal memory 110, and carries out the locking controlled step of writing the external key of (Programming) in the relative program; Display part 130 provides the picture window; Press key input section 140 comprises being contained in renovating of related mobile communication terminal, the external key in the outside of slip lid or cover and the keypad of adorning in the inboard (keypad); Renovate 150, sound internal memory 161, acoustic processing portion 162, collection of letters sound generating unit 163, RF portion 164, loud speaker (speaker) 165, loudspeaker (microphone) 166.
Control part 120 is carried out according to external key locking set-up function of the present invention in the overall action of control mobile communication terminal.And, the various formations that control part 120 controls are possessed.
Display part 130 is as display unit such as LCD, and controlled 120 control shows the situation of carrying out of the state of mobile communication terminal or program.
Press key input section 140 is by most numerical keys and Menu key and for the function key of carrying out various functions constitutes, and according to peripheral operation to control part 120 output key data.
And press key input section 140 is by being contained in renovating of related mobile communication terminal, the keypad of the inboard of slip lid or cover and adorning most buttons input data such as external key in the outside.
Here, external key comprises that side switch (side key) of being arranged on the related mobile communication terminal two sides etc. is contained in all buttons in the outside of related mobile communication terminal.
Fig. 2 is in order to be described in detail in the formation block diagram of illustrated control part among Fig. 1.
With reference to figure 2, control part 120 comprises: carry out the external key locking configuration part 121 external key lock out action whether locking set information is stored in internal memory 110 having set; Extract the lock-out state pattern of setting according to the locking set information, and when the operate condition of mobile communication terminal belonged to the state of extraction, whether control be reflected to external key input control part 122 in the action of mobile communication terminal to the external key data of input; According to whether reflecting, carry out or do not carry out function executing unit 126 according to the action of external key data.
In more detail, external key locking configuration part 121 provides in order according to user's request the external key whether the key input of external key locks to be set window according to the operate condition category setting of mobile communication terminal, and the user sets the window input according to the state model class discrimination by the above-mentioned external key that provides, sets the locking set information whether the external key lock out action carry out and also is stored in internal memory 110.
At this moment, the locking set information by user input comprises that the locking of external key sets, and sets; State model shows the running-active status of mobile communication terminals such as " all the time ", " closing lid ", " in the conversation ", " in the online ", " in the recreation ".
The lock-out state pattern just puts down in writing " all the time ", " closing lid ", " in the conversation ", " in the online ", " in the recreation " in the present embodiment, but the present invention is not limited to this scope, but can also comprise the pattern that other show the operate condition of mobile communication terminal.
When the button data of external key was imported, whether the operate condition that external key input control part 122 is differentiated mobile communication terminals belongs to state model and carry out lock out action made button data can't be reflected in the action of mobile communication terminal.
Here, external key input control part 122 comprises: button judging part 123, lock-out state pattern extraction unit 124, locking control part 125.
When importing button data by any button, button judging part 123 judges whether any button data of input is the button data of external key.
When being judged as the button data of external key by button judging part 123, lock-out state pattern extraction unit 124 is carried out the effect of extracting the lock-out state pattern from above-mentioned internal memory 110.At this moment, there is one in the pattern set in the locking set information in the internal memory when above, extracts more than one all state models that locking has been set.
The operate condition that above-mentioned locking control part 125 is differentiated current mobile communication terminal belongs to the state model which extracts, and carries out lock out action according to institute's discrimination result and make above-mentioned button data can't be reflected in the action of mobile communication terminal or above-mentioned button data to be reflected in the above-mentioned mobile communication terminal.
When the operate condition of mobile communication terminal belonged to the state model of extraction, according to the control of locking control part 125, function executing unit 126 was controlled and is made and can't carry out according to the action of external key data.
Function executing unit 126 can comprise: telephone relation execution portion 127, camera function execution portion 128 etc.
Telephone relation execution portion 127 bases are controlled for the calling and setting and the calling of the telephone relation of mobile communication terminal by the button data execution of the press key input section of external key input control part 122 inputs.Thereupon, even when importing the button data of external keys by press key input section 140, if nip off by locking control part 125, the related key data just can not be input to telephone relation execution portion 127, so can not influence the action of telephone relation execution portion 127.
Camera function execution portion 128 carries out the function of taking external image according to the button data of the press key input section of importing by external key input control part 122 140.Thereupon, even when importing the button data of external keys by press key input section 140, if nip off by locking control part 125, the related key data just can not be input to camera function execution portion 128, so can not influence the action of camera function execution portion 128.
Fig. 4 is for the action flow chart of mobile communication terminal method for controlling external key lock according to an embodiment of the invention is described.
With reference to figure 4, the request that control part 120 is at first set according to the external key locking of user's input shows in order to set according to the operate condition class of mobile communication terminal whether button input the carrying out lock out action whether external key of external key is set window (with reference to figure 3) (seeing step S1) on picture.
With reference to figure 3, external key is set window the state model that is made of " all the time ", " closing lid ", " in the conversation ", " in the online ", " in the recreation " is provided.
When in " all the time " state model, being set at locking, what state all carrying out lock out action at and make the button data of importing from the outside can't be reflected to the action of mobile communication terminal.
When being set at locking in " closing lid " state model, that judges the flip-type mobile phone renovates or closes lid, and carries out lock out action make and can't be reflected to the action of mobile communication terminal from the button data of outside input under closing the situation of lid.
When in " in the conversation " state model, being set at locking, whether the call function of judgement mobile communication terminal is carried out, when judged result is during call function is carried out the time, carries out lock out action and make and to be reflected to the action of mobile communication terminal from the button data of outside input.
When in " in the online " state model, being set at locking, judge that whether the call function of mobile communication terminal is carried out, and when being judged as in the execution, carrying out lock out action and make the button data of importing from the outside can't be reflected to the action of mobile communication terminal.
When in " in the recreation " state model, being set at locking, judge that whether the call function of mobile communication terminal is carried out, and when being judged as in the execution, carrying out lock out action and make the button data of importing from the outside can't be reflected to the action of mobile communication terminal.
Control part 120 is set setting that window receives user's input by the external key that shows on the picture and is carried out lock out action whether locking set information (seeing step S2) for the input with the external key of state model class discrimination.
Here, be shown as shown in Figure 3 when input locks set information under " closing lid " and " in the conversation " state model, when the current state of mobile communication terminal belonged to state that renovating of mobile communication terminal closed or at least one state in the executory state model of call function, control part 120 is carried out lock out action made button data can't be reflected in the action of mobile communication terminal.
Secondly, control part 120 judges whether the request signal storage of the locking set information of being imported by the user is transfused to (seeing step S3).
Above-mentioned S3 step judged result when the request signal storage of the locking set information of user input is not transfused to, is kept the holding state of given time.At this moment, when still not being transfused to, can cancel automatically by the locking set information of user's input above request signal storage after the given time.
Above-mentioned S3 step judged result, when the request signal storage of the locking set information of user input was transfused to, control part 120 stored the locking set informations that receive into internal memory 110 (seeing step S4).
Then, control part 120 judges whether button data is transfused to arbitrarily (seeing step S5).
Above-mentioned S5 step ground judged result, when button data is not transfused to arbitrarily, termination routine (process).
Above-mentioned S5 step ground judged result, when button data was transfused to arbitrarily, control part 120 judged whether the button data arbitrarily that is transfused to is the button data (seeing step S6) of external key.
The judged result of above-mentioned S6 step, when the button data arbitrarily that is transfused to is not the button data of external key, the button data that control part 120 is transfused to by cognition, the control correlation function can be carried out (seeing step S8).
That is, control part 120 makes the button data that is transfused to be reflected in the action of mobile communication terminal.Further specify, in the way of mobile communication terminal execution telephone relation function is not external key, but the Menu key of keypad, numerical key, when function key is transfused to, because the button data of the button that is transfused to is not the button data of external key, so, make and to be carried out by the relevant function of cognitive button data by the data of cognitive related key.
The judged result of above-mentioned S6 step, when the button data arbitrarily that is transfused to is the button data of external key, in order to carry out the lock out action to the input action of external key, control part 120 extracts the state model (seeing step S7) that is set to locking from the locking set information of internal memory 110.
Then, control part 120 operate condition whether consistent (seeing step S9) of judging the lock-out state pattern that is extracted and current mobile communication terminal.
The judged result of above-mentioned S9 step, when the operate condition of lock-out state pattern that is extracted and current mobile communication terminal was inconsistent, control part 120 made correlation function to carry out by the button data that cognition is transfused to.
That is, control part 120 makes the button data that is transfused to be reflected in the action of mobile communication terminal.For example: as shown in Figure 3, locking setting for external key is set to " closing lid " and " in the conversation ", and the state of current mobile communication terminal is when external key is transfused to during to be game function carry out the time (for example camera start key), the operate condition of state model that extracts in the above-mentioned S7 step and current mobile communication terminal is inconsistent, carries out camera function so the button data of external key of input is reflected in the action of mobile communication terminal.
The judged result of above-mentioned S9 step, when the lock-out state pattern that is extracted was consistent with the operate condition of current mobile communication terminal, control part 120 was controlled the feasible button data (seeing step S10) that can't cognitive be transfused to.That is, the button data of the control part 120 feasible external keys that are transfused to can't be reflected in the action of mobile communication terminal.
For example: as shown in Figure 3, locking setting for external key is set to " closing lid " and " in the conversation ", and the state of current mobile communication terminal is when external key is transfused to during to be call function carry out the time (for example MP3 start key), the state model that extracts in the above-mentioned S7 step is consistent with the operate condition of current mobile communication terminal, can't be reflected in the action of mobile communication terminal so carry out the data of the external key of the feasible input of lock out action, control MP3 function can't be carried out.
By as above operation, based on the locking information for the external key input of the operate condition category setting of mobile communication terminal, the button data of controlling external key is reflected in the action of mobile communication terminal.
The foregoing description only is used to illustrate the present invention, but not is used to limit the present invention.