# Patent

## Title
Mobile communications terminal, application program execution state control method, and execution state control computer program product

## Abstract

In the mobile telephone 1 relating to the present invention, a control section 2 performs control for switching between a non-active state which refuses inputs to an application program, and an active state which permits inputs to an application program. Moreover, the control section 2 performs control for switching the execution state of the application program from the non-active state to the active state, in accordance with instructions from an input section 3. The control section 2 further performs control for switching the execution state of the application program from the non-active state to the active state, in accordance with a function contained in an application program.

## Background
TECHNICAL FIELD
The present invention relates to a mobile communications terminal, application program execution state control method, application program, and storage medium storing application programs.
BACKGROUND ART
Conventionally, resident application programs have been developed as application programs which can be executed on a mobile communications terminal, principally mobile telephones. A resident application program is automatically started up when the power supply is turned on, and it continues in an active state until the power supply is switched off or until the user shuts it down. Examples of residential application programs include, for example, application programs for displaying a standby screen for awaiting a telephone call or incoming electronic mail (hereinafter, called “standby screen”).
DISCLOSURE OF THE INVENTION
However, in a conventional mobile communications terminal, a resident application program has only one execution state. In this execution state, the application program receives all the key events (process commands based on key inputs), and in order to release this reception of key events, it is necessary to close down the application program whilst it is running. Consequently, if a call is made whist the application program is running, for example, then the user must temporarily close down the application program.
In order to restart the temporarily closed down application program, the user must perform an operation of selecting and executing the application program. Moreover, since the execution state after close down is not reflected in the temporarily closed down application program, it is necessary to perform an operation in order to return to the screen displayed before the call was made. Operations of this kind are bothersome and time-consuming for the user, and impair the usability of the mobile communications terminal. They are particularly inconvenient if a resident application program is running which uses moving image data, such as a stock market board, game, or the like.
In view of the aforementioned problems, it is an object of the present invention to provide a mobile communications terminal, an application program execution state control method, an application program, and a storage medium storing an application program with improved usability during execution of application programs.
The mobile communications terminal relating to the present invention is characterized in that it comprises: control means for performing control, when an application program is being executed, for switching between: a non-active state in which key inputs to the application program being executed are refused, and an active state in which key input to the application program are permitted.
The application program execution state control method according to the present invention is an application program execution state control method whereby a mobile communications terminal controls the execution state of an application program stored in the mobile communications terminal, characterized in that it comprises: a control step for performing control, when the application program is being executed, whereby the mobile communications terminal switches between: a non-active state in which key inputs to the application program being executed are refused, and an active state in which key input to the application program are permitted.
The application program relating to the present invention is an application program which is executed in a mobile communications terminal and the execution state of which is controlled by the mobile communications terminal, characterized in that it comprises functions for switching between a non-active state in which key inputs to the application program being executed are refused, and an active state in which key input to the application program are permitted.
According to these inventions, it is possible to provide control for switching between a non-active state which refuses key inputs to an application program being executed, and an active state which permits key inputs to said application program. Consequently, even if another application program for executing basic telephone functions, such as outgoing call processing, or the like, is used whilst an application program is being processed, it is not necessary for the user to temporarily close down the application program being executed. Consequently, no labour or time is required to restart a temporarily closed down application program. Therefore, it is possible to improve the convenience of use of the mobile communications terminal.
Desirably, the mobile communications terminal relating to the present invention further comprises: instructing means for instructing a state transition between the non-active state and the active state; wherein the control means executes control for switching the execution state of the application program between the non-active state and the active state, in accordance with the instructions from the instructing means.
Desirably, the application program execution control method relating to the present invention further comprises: an instructing step for instructing a state transition of the mobile communications terminal between the non-active state and the active state; wherein, in the control step, control is executed for switching the execution state of the application program between the non-active state and the active state, in accordance with the instructions from the instructing step.
Desirably, the application program relating to the present invention comprises functions for switching between the non-active state in which key inputs to the application program being executed are refused, and the active state in which key input to the application program are permitted.
According to these inventions, the user is able readily to cause a transition of the execution state of the application program by means of a simple operation, such as pressing a switching key, or the like. In other words, it is possible readily to perform switching of an application program being executed to a execution state which permits input to the program, whilst continuing an execution state in which essential telephone functions can be used immediately. As a result, the convenience of use of the mobile communications terminal can be improved further.
Desirably, in the mobile communications terminal relating to the present invention, the control means performs control for switching the execution state of the application program between the active state and the non-active state in accordance with a function contained in the application program.
Desirably, in the control step of the application program execution control method relating to the present invention, control is executed for switching the execution state of the application program between the non-active state and the active state in accordance with a function contained in the application program.
According to these inventions, switching can be performed in the mobile communications terminal whereby key inputs to an application program being executed are refused, and key inputs to another application program for implementing basic telephone functions are received preferentially. In this, it is not necessary for the user to perform an operation for switching the execution state.
Desirably, the mobile communications terminal relating to the present invention comprises instructing means for instructing a state transition between the non-active state and the active state; wherein the control means executes control for switching the execution state of the application program from the non-active state to the active state in accordance with the instructions from the instructing means, and for switching the execution state of the application program from the active state to the non-active state, in accordance with a function contained in the application program.
Desirably, the application program execution state control method according to the present invention further comprises an instructing step for instructing a state transition of the mobile communications terminal from the non-active state to the active state; wherein the control step executes control for switching the execution state of the application program from the non-active state to the active state in accordance with the instructions from the instructing step, and for switching the execution state of the application program from the active state to the non-active state, in accordance with a function contained in the application program.
According to these inventions, since the state transitions are shared between the instructing means and the application program, there is no occurrence of infinite loops of state transitions, due to bugs, or the like, in the application program. Furthermore, by automatically switching the execution state of the application program from an active state to a non-active state, it is possible to receive key inputs to a native application for mobile communications, in a preferential manner.
Desirably, in a mobile communications terminal relating to the present invention, in the non-active state, the control means permits key inputs to a native application program which is different to the application program.
Desirably, in the application program execution state control method relating to the present invention, in the non-active state, the control step permits key inputs to a native application program which is different to the application program.
According to these inventions, in the non-active state, the user is able to use native applications, such as basic telephone functions of the mobile communications terminal, mail, browsing, and the like, in an appropriate manner.
More desirably, in the mobile communications terminal relating to the present invention, in the non-active state, the control means executes the application program while partially limiting the functions thereof.
More desirably, in the control step of the application program execution control method relating to the present invention, the application program is executed with the functions of thereof being partially limited in the non-active state.
More desirably, the application program relating to the present invention comprises specific functions which are not executed in the non-active state.
According to these inventions, the functions of an application program in a non-active state are executed in a partially limited fashion. A limited execution of this kind is implemented by prohibiting reading of specific functions contained in an application. In other words, in the non-active state, functions with a low requirement for execution are set as specific functions, thereby restricting the functions of the application program. Thereby, by restricting functions using a backlight, for example, it is possible to prevent the backlight from switching on due to malfunction, roguery, or the like. As a result, the power consumption can be reduced.
Furthermore, if a storage medium storing an application program as described above is sold or distributed, independently or as a peripheral product, then it is possible to implement the execution state control technology relating to the present invention, inexpensively, over a broad range.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram showing the functional composition of a mobile telephone;
FIG. 2 is a state transition diagram showing the execution state transmission processing;
FIG. 3A is a diagram showing an example of a display screen before key input in an active state;
FIG. 3B is a diagram showing an example of a display screen after key input in an active state;
FIG. 4A is a diagram showing an example of a display screen before key input in a non-active state;
FIG. 4B is a diagram showing an example of a display screen after key input in a non-active state;
FIG. 5A is a diagram showing an example of a display screen before transition to a rest state;
FIG. 5B is a diagram showing an example of a display screen after transition to a rest state;
FIG. 6 is a compositional diagram of a storage medium; and
FIG. 7 is a compositional diagram of a computer system.



BEST MODES FOR CARRYING OUT THE INVENTION
Below, embodiments of the present invention are described in details with respect to the accompanying drawings. Firstly, the composition will be described. FIG. 1 is a block diagram showing the functional composition of a mobile telephone 1. As shown in FIG. 1, the mobile telephone 1 (corresponding to a mobile communications terminal), is constituted by a control section 2 (corresponding to control means), an input section 3 (corresponding to instruction means), a RAM 4, a display section 5, a memory section 6, a radio communications section 7, and a voice processing section 8, each section being connected via a bus 9 in such a manner that various types of signals can be input and output to and from same.
The control section 2 has a built in ROM (Read Only Memory) 2a, reads a program previously stored in the ROM 2a, opens the program into the RAM 4, and controls each section centrally in accordance with the program. In other words, the control section 2 executes various types of processing in accordance with input signal from the input section 3 and the program opened in the RAM 4, and the results of this processing are stored temporarily in the RAM 4 and also displayed on the display section 5. The processing results stored in the RAM 4 are also stored in a prescribed region of the memory section 6, according to requirements.
The input section 3 comprises various operating keys which instruct operations, such as switching on of the power supply, selection and execution of an application program, switching to a execution state, as described hereinafter, setting a rest time, as described hereinafter, or the like, and each of these respective operating keys outputs an input signal corresponding to the instruction content, to the control section 2, by means of the keys being pressed independently or jointly.
The RAM (Random Access Memory) 4 is constituted by a semiconductor, or the like, and temporarily stores programs read from the ROM 2a or data read from the memory section 6, in each of the various processes executed by the control section 2. For example, when executing the execution state transition processing described hereinafter, the RAM 4 stores data relating to the rest time and time settings specified by the control section 2. Moreover, the RAM 4 stores the display data when transfer to the rest state, described hereinafter.
The display section 5 is constituted by an LCD (Liquid Crystal Display) or EL (Electro Luminescence) display, or the like, and displays display data in a prescribed region in accordance with signals input from the control section 2. The display data is data used as the application program is executed, and it includes not only static image data, but also moving image data for elements such as a stock price board, games, or the like.
The memory section 6 is constituted by a volatile semiconductor memory, such as an EEPROM (Electrically Erasable and Programmable ROM), or the like, and it stores data required by the control section 2 in order to execute various processes, and data generated as a result of executing processes, and the like. Moreover, the memory section 6 stores application programs 61 and ADFs (Attribute Definition Files), in a mutually corresponding fashion. An ADF is a file consisting of data relating to the attributes of an application program 61. The data relating to attributes is, for example, data indicating that the application program 61 has an execution state transition function (My Concierge key). The application program 61 may be stored in a storage medium, such as an IC card, or the like, which can be inserted into and removed from the mobile telephone 1.
The radio communications section 7 is a circuit having a modulating and demodulating section (not illustrated) for modulating and demodulating signals, and an encoding and decoding section (not illustrated) for encoding and decoding signals, and it is also provided with an antenna 7a. The antenna 7a is provided in an extendable and retractable fashion with respect to the upper part of the casing of the mobile telephone 1, and it sends and receives data to and from a base station B.
When receiving, the modulating and demodulating section performs processing for demodulating signals input via the antenna 7a, into signal which can be processed by the encoding and decoding section. On the other hand, when transmitting, it performs processing for modulating digital signals converted by the encoding and decoding section into signal which can be transmitted by radio waves. Moreover, the encoding and decoding section is constituted by a codec, and when receiving, it performs processing (decoding) for converting digital signals input from the modulating and demodulating section into analogue signals. On the other hand, when transmitting, it performs processing (encoding) for converting analogue signals, such as voice signals, into digital signals, and compressing the converted digital signals into a data volume that is suitable for transmission.
The voice processing section 8 comprises a converter and an amplifier, and the like, and is also provided with a microphone 8a, and speaker 8b. During a call, the voice processing section 8 converts voice data input via the control section 2 into an analogue signal, by means of the converter, passes the signal via the amplifier and emits it from the speaker 8b. Furthermore, during a call, the voice processing section 8 converts a voice signal input via the microphone 8a into a digital signal suitable for radio transmission, by means of the converter, and outputs the converted signal to the radio communications section 7.
Next, the operation of the present embodiment will be described with reference to FIG. 2. As a basic premise in the description of the operation, in order to distinguish clearly between an application program having an execution state transition function, and an application program for realizing basic functions of the mobile telephone 1 (telephone function, mail function, browsing function, and the like), the former is called “resident application” and the latter is called “native application”.
FIG. 2 is a state transition diagram for describing the execution state transition processing. As shown in FIG. 2, the mobile telephone 1 is switchable between three execution states of the resident application, namely, non-active state, active state, and rest state.
The non-activated state is an execution state which rejects key inputs to the resident application. These inputs include indirect inputs made by selecting software keys displayed on the display section 5. In the non-active state, the resident application performs display operations and data transmission and reception, updating, and the like, by means of radio communications, similarly to a conventional standby screen. Moreover, the display operations also include updating of display data. Furthermore, in the non-active state, processing for reception of key events (process commands implemented by the control section 2 on the basis of key inputs) and display of software keys is not performed by the resident application, but is only performed by the native application.
Moreover, in the non-active state, when a signal is received indicating reception of a mail from base station B by the mobile telephone 1, then the native application is able automatically receive the contents of the mail from the mail server.
The active state is an execution state which permits key inputs to the resident application. In the active state, the resident application executes all processing in order to realize the functions thereof. In other words, in the active state, processing for reception of key events and display of software keys, and the like, is executed by the resident application only.
Furthermore, it is possible to implement a setting whereby, in the active state, if a signal is received indicating reception of a mail by the mobile telephone 1 from the base station B, then the native application only displays, in the display section 5, a pictogram indicating that a mail has been received, but does not perform reception of the mail contents from the mail server. In this way, by applying a difference to the operation of the native application when a signal indicating reception of a mail from the base station B is received, in the active state and the non-active state, it is possible to prevent obstruction of the execution of the resident application each time that a mail is received, when a resident application such as a game, or the like, has been activated, and furthermore, mail can be received automatically if the game or the like has been interrupted and the resident application, or the like, has been set to a non-active state.
The rest state is an execution state where the resident application is halted temporarily. In the rest state, the resident application waits for a key event which indicates transition to a non-active state or active state. In other words, in the rest state, the resident application does not execute any processing, such as reception of key events, display operations, or the like, except for a state transmission instruction, and processing is executed by the native application only. The display operations include updating of display data. For example, in a resident application displaying an animated standby screen, or the like, the display data during rest state becomes static image data, and the application functions only as a wallpaper display. Therefore, the mobile telephone 1 is able to achieve lower power consumption than in the non-active state. In the rest state, software such us KVM (K Virtual Machine) and JAM (Java Application Manager), and the like, of the resident application also halts.
Below, execution state transition processing is described in detail. Firstly, when the execution of a resident application is instructed via the input section 3, then the control section 2 reads out and starts up the resident application from the memory section 6 (S1). Upon starting up, a notification indicating that the application is a resident application having an execution state transition function is sent to the control section 2. This notification processing is performed by means of the control section 2 consulting the My Concierge key of the ADF stored in the memory section 6.
The resident application may be started up automatically when the mobile telephone 1 has entered a standby state (hereinafter, called “standby start-up”). This standby start-up is only executed when the ADF contains a My Concierge key and the standby setting has been made on the menu.
In the present embodiment, an application for displaying a moving image standby screen is supposed as the resident application, and the execution state immediately after start-up is taken to be a non-active state (S2).
The state transition from non-active state to active state (T1) is executed by the control section 2 on the basis of an execution state switching instruction from the input section 3. Thereby, the user is able readily to cause the resident application to transfer from a non-active state to an active state, by means of a simple operation, such as pressing a switch key, or the like. In other words, it is possible readily to implement switching of the resident application to an execution state which permits input, whilst maintaining the native application in an execution state in which it is immediately usable. Moreover, the state transition in T1 may be executed by the control section 2 in accordance with a function contained in the resident application.
Furthermore, the processing implemented consecutively after the state transition in T1 is as follows. This processing includes, for example, display of a ticker (indicator board with flowing and flashing text), playing back of media resources, such as sound and images, and the like, operation of a timer, HTTP (Hyper Text Transfer Protocol) communications, access to a scratch pad (region where data created by an application or data received via the network is saved), operation of the vibrator, switching on and off of the backlight, and the like.
The state transition (T2) from active state to non-active state is performed automatically by the control section 2 on the basis of a function (for example, “deactivate”) contained in the resident application. For example, since a resident application for displaying an animated standby screen, or the like, has a low input frequency in comparison to the monitoring frequency, it is suitable for this application to continue in a non-active state unless the user executes a switching instruction. On the other hand, in the case of a native application, the input frequency is generally higher than that of a resident application, and therefore it is suitable for the active state of a native application to be continued as long as possible. Therefore, key inputs to a native application are treated preferentially, by automatically switching the execution state of the resident application from an active state to a non-active state.
Moreover, since the state transition between an active state and a non-active state is divided between the input section 3 and a function contained in the application program, there is not occurrence of infinite loops of state transitions, due to bugs in the application program, or the like.
The state transition shown in T2 can be executed by the control section 2 on the basis of a execution state switching instruction from the input section 3.
The processing, that is continuously executed even after the state transition in T2, includes, for example, display of a ticker, playing back of media resources, such as sound and images, and the like, operation of a timer, HTTP communications, access to a scratch pad, operation of the vibrator, switching on of the backlight, switching off of the backlight, and the like.
The state transition from a non-active state to a rest state (T3) is executed automatically by the control section 2, on the basis of a function (for example, “sleep”) contained in the resident application. In the rest state, the display screen shown at the time of the state transition from non-active state to rest state is displayed continuously on the display section 5. In other words, the display data in the rest state is static image data, which does not change over time. Moreover, the state transition at T3 may be performed by control section 2 on the basis of an execution state switching instruction from the input section 3.
The processing halted by the resident application after the state transition in T3 is as described below. Specifically, the operations which are halted are the display of the ticker scroll section (the display of the ticker itself continues), the playing back of media resources, operation of the timer, and operation of the vibrator. Furthermore, HTTP communications are disconnected. During writing of data to the scratchpad, the state transfers to a rest state after writing has completed. During reading of data from the scratchpad, the state transfers directly to a rest state. The switching on and switching off of the backlight are conducted similarly to a non-active state. In other words, if the backlight was switched on in the non-active state then it will remain turned on, and if the backlight was switched off in the non-active state, then it will remain turned off.
The state transition (T4) from rest state to non-active state is executed by the control section 2 when a prescribed condition is satisfied. In the case that the mobile telephone 1 is a folding type or flip-type portable phone, then the prescribed condition is the operation of opening the call section of the casing. Alternatively, the condition may be the elapsing of a rest time (for example, 5 minutes) set in the active state, or the reaching of a set time (for example, 17:00) according to the timer, or the like. The control section 2 holds at RAM 4 the program code of the resident application that was already being executed when the state was transferred to the rest state. Therefore, in the case of a state transition from the rest state to the non-active state, processing for reading again from the start of the program code is not required. As a result of this, the time required to revert to the resident application is shortened compared to cases where the temporarily halted resident application is restarted. It is also possible for the state transition at T4 to be executed by the control section 2 in accordance with a function contained in the resident application. Alternatively, the state transition at T4 may be executed by the control section 2 on the basis of an execution state switching instruction from the input section 3.
The detailed behaviour of the resident application after the state transition at T4 is as follows. Namely, in a ticker display, the scrolling text will restart from the display state which was halted when the device transferred to the execution state. In HTTP communications, the communications are restarted. If exception processing was generated when the communications were disconnected, then execution is restarted from the exception processing. The scratchpad reverts to a state where writing and reading of data can be performed. A vibrator operation halted by a rest state is not restarted automatically. Playing back of media resources and timer operation are not restarted. Switching on and switching off of the backlight are conducted similarly to the rest state. In other words, if the backlight was switched on in the rest state, then it remains switched on, and if the backlight was switched off in the rest state, then it remains switched off.
The state transition from rest state to active state (T5) is executed by the control section 2 on the basis of an execution state switching instruction from the input section 3. The control section 2 holds the program code of the resident application that was already executed when the transition to rest state was made in the RAM 4. Therefore, when the state transition from the rest state to the active state is made, processing for reading out again from the start of the program code is not necessary. As a result of this, the time required to revert to the resident application is shortened compared to cases where the temporarily halted resident application is restarted. Moreover, the state transition at T5 may also be executed by the control section 2 in accordance with a function contained in the resident application.
The detailed behaviour of the resident application after the state transition at T5 is as follows. Namely, in a ticker display, the scrolling text will restart from the display state which was halted when the device transferred to the execution state. In HTTP communications, the communications are restarted. If exception processing was generated when the communications were disconnected, then execution is restarted from the exception processing. The scratchpad reverts to a state where writing and reading of data can be performed. A vibrator operation halted by a rest state is not restarted automatically. Playing back of media resources and timer operation are not restarted. Switching on and switching off of the backlight are conducted similarly to the rest state. In other words, if the backlight was switched on in the rest state, then it remains switched on, and if the backlight was switched off in the rest state, then it remains switched off.
The resident application does not make a state transition from the active state to the rest state for the following reasons. Namely, when the resident application performs an execution state transition, then if an application (rogue application) has been created which always sets the resident application to a rest state, the user will become unable to control the execution state. Therefore, state transitions from the active state to the rest state are prohibited.
State transitions based on functions previously included in the resident application are essentially determined by the resident application and do not give rise to problems of the kind described above. Therefore, state transitions of this kind may be executed as exceptions, regardless of whether or not there is a corresponding instruction from the input section 3. Thereby, if the execution state is transferred on the basis of an instruction from the input section 3, it is possible to save power in a precise manner according to the wishes of the user. Furthermore, if the execution state is transferred in accordance with a function contained in a resident application, then it is possible to prevent the wasteful power consumption of the mobile telephone 1 over a long time, without an instruction from the input section 3.
Furthermore, similarly to T6-T8, in any one of the execution states, namely, the non-active state, active state or rest state, the control section 2 can terminate the resident application in accordance with a shutdown instruction from the input section 3 (S5).
The resident application can also be terminated forcibly by means of an operation by the user. In the case of forced termination, the control section 2 causes the display section 5 to display a confirmation screen. On this confirmation screen, the user is able to select a desired instruction from the following three types of instructions. Namely, the user can select a desired instruction from: an instruction for terminating the resident application and cancelling the standby start-up setting, an instruction for cancelling the forced termination and continuing execution of the resident application, and an instruction for temporarily closing down and then restarting the resident application.
FIG. 3A shows one example of a display screen prior to key input in an active state. As shown in FIG. 3A, display data 51 indicating changes in stock prices is shown on the display section 5. The display data 51 is moving image data that is updated automatically at prescribed intervals (for example, every 10 seconds). The display data 51 comprises a designated stock input region 51a in the lower part of the screen. The designated stock input region 51a is used to input a number for identifying the stock required by a user in monitoring changes in stock prices (hereinafter, called “designated stock number”).
When the display data 51 is shown, and the user inputs numerical data, such as “12345678”, as a designated stock number, to the designated stock input region 51a, then the display state illustrated by the display data 52 in FIG. 3B will be obtained. In other words, in the active state, since normal key inputs are accepted, the control section 2 will execute processing for displaying the input data in the prescribed region of the display section 5, in accordance with key events received from the input section 3.
FIG. 4A is a diagram showing one example of a display screen before key input in a non-active state. As shown in FIG. 4A, display data 53 indicating changes in stock prices is shown on the display section 5. The display data 53 is moving image data that is updated automatically at prescribed intervals (for example, every 10 seconds). The display data 53 comprises a designated stock input region 53a in the lower part of the screen. In the non-active state, the control section 2 only displays the resident application and does not accept key events. Therefore, the designated stock number cannot be input to the designated stock input region 53a. 
When the display data 53 is displayed, if the user performs a key operation which calls up a function for making a telephone call, then the display data 54 illustrated in FIG. 4B is shown on the display section 5. In other words, in the non-active state, key input to the resident application is refused, and key input to the native application is permitted. Therefore, in response to key events receive from the input section 3, the control section 2 executes processing for reading out display data for an outgoing call screen, from the memory section 6, and displaying same. As a result, an outgoing call screen as illustrated in FIG. 4B is displayed on the display section 5.
FIG. 5A shows one example of a display screen immediately prior to transition to a rest state. As illustrated in FIG. 5A, display data 55 indicating changes in stock prices is shown on the display section 5. In the execution state before transferring to the rest state (in other words, the non-active state or active state), the display data 55 is updated automatically at prescribed time intervals (for example, every 10 seconds).
Even if a function is executed and the resident application is transferred to a rest state whilst the display data 55 is being shown, the display data 55 immediately before this transition continues to be shown after the transition. FIG. 5B shows one example of a display screen after transferring to a rest state. In other words, in the rest state, the control section 2 continues to display the same display data 56 as the display data 55 at the time of the transition to the rest state, on the display section 5. In other words, the control section 2 does not accept key events from the input section 3 and does not perform update processing for the display data.
As described above, according to the mobile telephone 1 of the present embodiment, the control section 2 performs processing for switching between a non-active state in which inputs to the resident application are refused, and an active state in which inputs can be made to the resident application. Consequently, even if a native application is used whilst a resident application is being executed, the user does not have to temporarily halt the resident application being executed. Thereby, operations for restarting the resident application and operations for returning to the display screen after terminating become unnecessary. As a result, the user tasks and operating time are reduced and the convenience of use of the mobile telephone 1 can be improved.
The description of the present embodiment related to a preferred example of a mobile telephone 1 relating to the present invention, but the invention is not limited to this embodiment.
For example, the aforementioned embodiment may be implemented as follows. Namely, read out is permitted in the active state with respect to a portion of the functions contained in the resident application, and read out is prohibited, or read out is permitted but execution is prohibited, with respect to said portion of functions, in the non-active state. Below, these functions are called “specific functions”.
Thereby, the following merits are obtained when the function indicating use of the backlight is set as a specific function, for example. Namely, in the active state, since the resident application accepts key inputs, user input operations can be facilitated by using the backlight to brighten the display screen. However, in the non-active state, since key inputs to the resident application are refused, there is little need to brighten the display screen. If reading of functions instructing use of the backlight is permitted even in this case, then it is possible that the backlight may light up against the user's wishes, due to malfunction or roguery. Therefore, by prohibiting read out of functions instructing the use of the backlight when in the non-active state, it is possible to prevent wasteful power consumption, in advance.
As specific functions, besides functions instructing use of the backlight, it is also possible to specify, for example, functions which prompt the user for text input, functions which instruct external transmission of data, functions which play back a incoming call melody, functions which instruct start-up of a browser, functions for accessing the network, functions for calling up telephone functions, and the like.
Moreover, the foregoing embodiment was described with respect to the example of a mobile telephone as a mobile communications terminal, but the present invention can also be applied to information equipment, such as PHS (Personal Handyphone System), PDA (Personal Digital Assistance), and the like.
Finally, a computer-readable storage medium on which an application program 61 relating to the present invention is stored (hereinafter, simply called “storage medium”) will be described. Here, a storage medium is a medium which generates a varying state of energy, such as magnetism, light, electricity, or the like, in accordance with the contents of a program, for a reading device provided in a hardware resource, such as generic computers, or the like, whereby the contents of the program can be transmitted to the reading device in a corresponding signal format. Examples of such a storage medium include not only media which are insertable in a computer, such as magnetic disks, optical disks, and magneto-optical disks, but also hard disks (HD) built permanently into a computer or a non-volatile semiconductor memory, such as integrally fitted firmware, or the like.
FIG. 6 is a compositional diagram of a storage medium relating to the present embodiment. The storage medium 20 is, for example, an optical disk, such as a CD (Compact Disk), magnetic disk, such as a floppy disk (FD), or magneto-optical disk (MO), or the like. The storage medium 20 comprises a program storage region 20a for storing programs. As shown in FIG. 6, an application program 61 is stored in this program storage region 20a. 
As shown in FIG. 6, the application program 61 is constituted by a main module 61a for controlling processing, and an execution state control module 61b for executing processing for switching between a non-active state for refusing key inputs during execution and an active state for permitting key inputs. Furthermore, the execution state control module 61b performs processing for switching the execution state between a non-active state and an active state, in accordance with state transition instructions between a non-active state and an active state. Moreover, the execution state control module 61b performs processing for switching the execution state between a non-active state and an active state, in accordance with functions. The application program 61 also comprises specific functions which are not executed in the non-active state.
FIG. 7 is a block diagram showing the composition of a computer for sending an application program 61 stored on a storage medium 20 to the mobile telephone 1 (for example, a server device) As shown in FIG. 7, the computer 100 comprises a CPU 101, reading device 102, RAM (Random Access Memory) 103, which is a volatile semiconductor memory in which an OS (Operating System) is resident, a display section 104, such as a display, an input section 105, such as a mouse, keyboard, or the like, a communications section 106, such as a communications board, and a CPU 101 for controlling execution of the application program 61, and the like. Here, when a storage medium 20 is inserted into the reading device 102, the information recorded on the storage medium 20 can be accessed via the reading device 102. The application program 61 stored in the program storage region 20a of the storage medium 20 is transmitted from the call section 106 to the mobile telephone 1, and can be executed by the mobile telephone 1.
Moreover, a composition may be adopted wherein the a part or all of the application program 61 is received and stored by the radio communications section 7, from another device, via a transmission medium, such as a communications circuit, or the like. Conversely, it is also possible to adopt a composition wherein the application program 61 is transmitted via a transmission medium and installed in another device.
INDUSTRIAL APPLICABILITY
According to the present invention, it is possible to perform control for switching between a non-active state for refusing key inputs to an application program being executed and an active state for permitting key inputs to said application program. Therefore, even if another application program is used in order to realize basic telephone functions, whilst the application program is being executed, the user is not required to temporarily closed the application program that is being executed. Consequently, no labour or time is required is restart a temporarily closed application program. As a result, the convenience of use during execution of an application program can be improved.

## Claims

1. A mobile communications terminal configured to host a native application program and a user-interactive resident application program, the native application program comprising at least a voice communication program, comprising:
control means for performing control, when said resident application program is being executed, for switching between a communicable non-active state in which the resident application program is able to communicate with a remote user-interactive program but key inputs to the resident application program being executed are refused, and an active state in which the resident application program is able to communicate with the remote user-interactive program and key inputs to said resident application program are permitted; and
instructing means for instructing a state transition between said communicable non-active state and said active state, wherein
said control means executes control for switching the execution state of said resident application program between the communicable non-active state and the active state, in accordance with said instructions from said instructing means.

2. The mobile communications terminal according to claim 1,
wherein said control means executes control for switching the execution state of said resident application program from the communicable non-active state to the active state in accordance with said instructions from said instructing means, and for switching the execution state of said resident application program from the active state to the communicable non-active state, in accordance with a function contained in said resident application program.

3. The mobile communications terminal according to claim 1, wherein, in said communicable non-active state, said control means permits said key inputs to said native application program.

4. The mobile communications terminal according to claim 1, wherein, in said communicable non-active state, said control means executes the resident application program while partially limiting the functions thereof.

5. The mobile communications terminal according to claim 1, wherein said control means controls an additional application program for switching from an additional application program state to an additional application program alternate state.

6. The mobile communications terminal according to claim 1, wherein said control means controls an additional application program for switching from an additional application program state to an additional application program alternate state, while maintaining additional application program communication with a radio communication system.

7. The mobile communications terminal according to claim 1, further comprising an alternate control means for performing control of an additional application program for switching from an additional application program state to an additional application program alternate state.

8. The mobile communications terminal according to claim 1, further comprising an alternate control means for performing control of an additional application program for switching from an additional application program state to an additional application program alternate state, while maintaining additional application program communication with a radio communication system.

9. A mobile communications control method, in a mobile communications terminal hosting a native application program and a user-interactive resident application program, for controlling an execution state of said resident application program, the native application program comprising at least a voice communication program, comprising:
a control step for performing control, when the resident application program is being executed, whereby the mobile communications terminal switches between a communicable non-active state in which the resident application being executed is able to communicate with a remote user-interactive program but key inputs to the resident application program are refused, and an active state in which the resident application program is able to communicate with the remote user-interactive program and key inputs to said resident application program are permitted; and
an instructing step for instructing a state transition of said mobile communications terminal between said communicable non-active state and said active state,
wherein, in said control step, control is executed for switching the execution state of said resident application program between the communicable non-active state and the active state, in accordance with said instructions from said instructing step.

10. The control method according to claim 9,
wherein said control step executes control for switching the execution state of said resident application program from the communicable non-active state to the active state in accordance with said instructions from said instructing step, and for switching the execution state of said resident application program from the active state to the communicable non-active state, in accordance with a function contained in said resident application program.

11. The control method according to claim 9, wherein, in said communicable non-active state, said control step permits said key inputs to said native application program.

12. The control method according to claim 9, wherein, in said control step, the resident application program is executed with the functions thereof being partially limited in said communicable non-active state.