The present invention relates to a method and apparatus for selecting a bearer for a communication terminal and, more particularly, to a bearer selection method and apparatus for determining a bearer to be used by an application program in executing communication.
Conventionally, various proposals have been made for bearer selection in communication by a portable communication terminal. For example, reference 1 (Japanese Patent Laid-Open No. 2003-169359) describes a method of selecting a circuit switching bearer or a packet bearer for application download. In this method, the size of an application to be downloaded is compared with threshold information acquired from a network. If the application size is smaller than the threshold value, the application is downloaded by using a packet bearer. If the application size is larger, the application is downloaded by using a circuit switching bearer. It is possible to optimize the usage ratio of the circuit switching bearer and the packet bearer by adjusting the threshold information on the network side. A method of selectively using a bearer on the basis of a communication purpose has also been proposed. For example, a packet bearer is stationarily selected for access to a web.
In a bearer selection method disclosed in reference 2 (Japanese Patent Laid-Open No. 2001-237976), bearer information containing bearers for packets and short mail, the maximum number of transmission characters, and the mail transmission fees is stored. A bearer list usable by the terminal is generated by referring to the bearer information in association with generated mail, and the most inexpensive bearer is selected from the bearer list.
Reference 3 (Japanese Patent Laid-Open No. 2003-506981) describes a method of selecting a bearer required by an application in consideration of the specifications of a terminal. This prior art also describes a technique of inquiring of a user about a desired bearer and causing him/her to respond via a user interface.
Problems to be Solved by the Invention
However, the above-described conventional bearer selection methods cannot sufficiently reflect the intention of an application provider. They also allow the user to select a bearer at only limited discretion.
For example, in the bearer selection method of reference 1, the threshold value serving as the criterion of bearer selection is set on the network side, and a bearer to be used is selected independently of an application provider's intention.
The method of reference 2 automatically selects the most inexpensive bearer from the bearer list independently of an application provider's intention. Additionally, the user cannot actually be concerned in bearer selection unless manual bearer selection is set.
In the method of reference 3, the bearer requested by an application is selected in consideration of the specifications of the terminal. However, since the request of the application assumes a service quality such as a bit rate, the method cannot sufficiently reflect an application provider's intention. In addition, although the user can select a desired bearer by using a user interface, the selection range can neglect the capability of the terminal so no significant bearer selection is provided to the user.
It is an object of the present invention to allow an application provider to sufficiently set the bearer attribute of the application.
It is another object of the present invention to allow a user to select a bearer within a set bearer attribute range.
Means of Solution to the Problems
According to the present invention, there is provided a bearer selection method characterized by comprising the steps of generating, on the basis of bearer attribute information indicating at least one bearer usable by an application to be executed in a communication terminal and a priority of the bearer, and characteristic information of the communication terminal, which is stored in the communication terminal in advance, a bearer list including, of bearers of the bearer attribute information, bearers usable by the communication terminal and priorities added to the bearers, storing the generated bearer list in a memory of the communication terminal, and selecting a bearer to be used by the application in accordance with the priority in the bearer list stored in the memory.
According to the present invention, there is also provided a bearer selection apparatus characterized by comprising a first storage unit which stores bearer attribute information indicating at least one bearer usable by an application to be executed in a communication terminal and a priority of the bearer, and characteristic information of the communication terminal, which is stored in the communication terminal in advance, an attribute verification unit which generates a bearer list including, of bearers of the bearer attribute information, bearers usable by the communication terminal and priorities added to the bearers by comparing the bearer attribute information with the characteristic information, which are stored in the first storage unit, a second storage unit which stores the generated bearer list, and a communication control unit which executes a communication process of the application by selecting a bearer to be used by the application in accordance with the priority in the bearer list stored in the second storage unit.
Effect of the Invention
According to the present invention, it is possible to select an optimum bearer usable by the communication terminal on the basis of the types and priorities of bearers usable by an application. It is therefore possible to preferentially set, in the communication terminal, a bearer recommended for the application by the application provider and provide an application execution environment that sufficiently reflects the application provider's intention.
1. Arrangement of Communication Terminal
The communication terminal has a communication control unit 10, display unit 11, and input unit 12. The display unit 11 and input unit 12 provide a user interface. The display unit 11 includes, e.g., a liquid crystal display. The input unit 12 includes, e.g., a key operation unit and a touch panel. The communication control unit 10 supports predetermined communication schemes such as short-distance wireless communication, optical communication, and wireless LAN. A user can download an application program from an application server via the communication control unit 10, as will be described later.
The communication terminal also has a program control processor 13, priority bearer list database (second storage unit) 14, memory (first storage unit) 15, and program memory 16. The program control processor 13 can be either a CPU to control the operation of the entire terminal or a microprocessor to practice the bearer selection method of the present invention.
The priority bearer list database 14 stores a priority bearer list corresponding to each application under the control of the program control processor 13. A priority bearer list is generated on the basis of priority bearer information provided by an application provider and the characteristic information of the terminal, as will be described later. The user can change the priority bearer list.
The memory 15 stores an application program downloaded under the control of the program control processor 13 and its application attribute file. The memory 15 also stores characteristic information such as resources usable by communication terminal.
The program memory 16 stores a program group including an attribute verification program and a bearer setting program to cause the program control processor 13 to practice the bearer selection method of the present invention. When the program control processor 13 executes the bearer setting program, a bearer selection apparatus (to be described later) can be implemented. The attribute verification program and bearer setting program are stored in various kinds of recording media such as an optical disk and a magnetic disk and provided via a data communication network such as the Internet.
2. Bearer Selection Operation
First, the bearer setting program stored in the program memory 16 is executed. The bearer setting program invokes the attribute verification program, thereby generating an attribute verification process 22. The attribute verification process 22 executes a matching process between the bearer attribute information in the application attribute file 20 with the terminal characteristic information stored in the memory 15, generates a bearer list 23 including common bearer types and their priorities, and stores it in the database 14.
Next, the bearer setting process generates a user interface 24 and displays the priority bearer list read out from the database 14 on the display unit 11. When the user changes the displayed bearer list by using the input unit 12, the changed bearer list is stored in the database 14. That is, the user can change a bearer that is determined once.
To perform communication, a communication control process 25 selects a bearer of the highest priority from the bearer list stored in the database 14 and controls the communication control unit 10 in accordance with the selected bearer.
3. Arrangement of Bearer Selection Apparatus
The terminal 100 includes a downloader 110 that downloads an application and an application attribute file, a characteristic information storage area 120 that stores the characteristic information of the terminal 100, a database (second storage unit) 130 that stores a bearer list, an application storage area 180 that stores an application, an application control device 190 that controls execution of an application, a bearer setting device 140 that sets a bearer, a communication control device 150 that executes communication control upon executing an application, an input device 160 such as a keyboard, and an output device (display unit) 170 such as a display.
The application control device 190 manages a life cycle such as execution and end of an application stored in the application storage area 180. When an application requests communication during execution, the application control device 190 requests communication of the communication control device 150.
The communication control device 150 selects one of a plurality of bearers (not shown) by designating it and executes communication. The communication control device 150 has a function of executing communication while switching the bearer to be used every time it is changed.
The attribute verification unit 112 extracts bearer attribute information from the application attribute file downloaded by the download unit 111 and executes a matching process of comparing the bearer attribute information with the characteristic information in the characteristic information storage area 120. A bearer usable by the terminal 100 (i.e., a bearer included in the resources of the characteristic information) is selected from bearers indicated by the bearer attribute information, and a bearer list including the bearer and priority given to it is generated. Hence, the bearer list includes bearers for which the bearers of the bearer attribute information match the resources of the characteristic information, and priorities corresponding to the bearers. The database storage control unit 113 stores, in the database 130, the bearer list acquired from the attribute verification unit 112.
4. Bearer Setting Process
4.1) Bearer Setting Process in Application Download
The downloaded application is stored in the application storage area 180. On the other hand, the attribute verification unit 112 verifies the application attribute file (step S202). The attribute verification unit 112 determines whether the application attribute file contains the attribute of a bearer (to be referred to as a bearer attribute hereinafter) to be used by the application program (step S203).
If the application attribute file contains no bearer attribute (NO in step S203), the bearer setting process in download is ended. If the application attribute file contains a bearer attribute (YES in step S203), the characteristic information of the terminal is read out from the characteristic information storage area 120 and subjected to the matching process (step S204). The characteristic information indicates resources usable by the terminal.
In matching process step S204, it is verified whether a bearer (bearer to be used by the application) designated to the bearer attribute is usable by the terminal. With this verification process, a new bearer list including the information of the bearer to be used by the application is generated. The database storage control unit 113 stores the generated bearer list in the database 130 (step S205).
In step S201, the download unit 111 may temporarily store the downloaded application attribute file in an application attribute file storage area 111A shown in
4.2) Bearer Setting Process by User
If the user inputs information by using the input device 160 (YES in step S304), the database control unit 141 receives the input information from the user via the user interface and changes the bearer list acquired in step S301 on the basis of the information (step S305). For example, if the input information from the user is related to the priority of a bearer, the database control unit 141 changes the priority in the bearer list. The changed bearer list is stored in the database 130 (step S306).
4.3) Bearer Setting Process in Executing Application
If a bearer list is found (YES in step S402), the database reference unit 151 extracts bearer information of the highest priority designated in the bearer list (step S403) and transfers it to the communication control unit 152. The communication control unit 152 verifies whether the bearer received from the database reference unit 151 is currently usable (step S404).
If the bearer is unusable (NO in step S404), the communication control unit 152 requests the database reference unit 151 to search for another bearer designation (step S405). If no bearer designation exists (NO in step S405), the database reference unit 151 notifies the communication control unit 152 of it, and the bearer setting process is ended. In this case, the communication control unit 152 sets a bearer defined in the terminal in advance.
If a bearer designation is found (YES in step S405), the database reference unit 151 transfers bearer information of the second highest priority to the communication control unit 152 (step S403). The communication control unit 152 verifies whether the bearer received from the database reference unit 151 is usable. Steps S403 to S405 are repeatedly executed until a usable bearer is found, or no more bearer designation is found. If a usable bearer is found (YES in step S404), the communication control unit 152 designates it as a bearer to be used in communication (step S406) and executes a communication process.
In this embodiment, it is possible to set a bearer corresponding to the terminal in consideration of the application provider's intention by generating a bearer list on the basis of the bearer attribute used by the application and the characteristic information in the terminal. It is also possible to select a bearer in consideration of convenience for the user by providing a user interface to select a bearer from a bearer list.
In this embodiment, the application attribute is downloaded together with the application as the download target. However, the present invention is not limited to this. That is, it is necessary to only acquire information about a bearer to be used by the application. The application attribute may be downloaded before download of the application. The application and application attribute file may be downloaded from different servers.
Bearer list acquisition from the database and bearer list storage in the database (step S205 in
In the above-described embodiment, if no bearer list is found in step S402 in
A bearer selection method according to an embodiment of the present invention will be described on the basis of a detailed bearer list.
The bearer selection process starts from an application program download process. The application program (to be referred to as an application A hereinafter) to be downloaded includes an application attribute file. The application attribute file contains a bearer attribute.
As described above, the download unit 111 downloads the application and application attribute file from a server (not shown). The downloaded application is stored in the application storage area 180. On the other hand, the attribute verification unit 112 verifies the application attribute file. The attribute verification unit 112 extracts the bearer attribute of the application A from the application attribute file and executes the matching process with the characteristic information of the terminal.
As shown in
The bearer setting process by the user is executed for the bearer list 230 generated by the attribute verification unit 112. In this embodiment, bearer setting by the user starts from designating an application as the bearer change target by using the input device 160.
When the application A is selected, the database control unit 141 acquires a corresponding bearer list from the database 130 by using information (application name) to specify the application as a key. On the basis of the acquired bearer list, a user interface for bearer change is generated.
“Wireless LAN” and “infrared rays” are set in the bearer list 230. “Wireless LAN” has a higher priority than “infrared rays”. Hence, a user interface shown in
Assume that the user selects “infrared rays” after display of the user interface. In this case, the database control unit 141 changes the bearer list so that the changed bearer list in
In this example, the bearer list before change is directly changed. The information before change may be left. The information may be stored in the database 130 as another file. Alternatively, both the information before change and that after change may be stored in a single file. Only the bearer (“infrared rays” in this example) changed by the user may be made usable.
The bearer selection process by the user has been described above. The user cannot set a bearer for his/her own convenience because the user interface to make the user set a bearer is generated on the basis of the bearer list generated at the time of download. The user can set a bearer only within the range of the bearer list. This method takes not only the application provider's intention but also convenience for the user into consideration.
A bearer selection process in executing an application will be described next. The application control device 190 executes an application. When the running application requests communication, the application control device 190 adds a key to specify the running application to a communication request and sends it to the communication control device 150. The specific key is, e.g., an application name or an application ID.
The database reference unit 151 in the communication control device 150 searches the database 130 for a bearer list corresponding to the application on the basis of the specific key received from the application control device 190.
If no bearer list is found, a bearer defined in the terminal in advance is used, the communication may be interrupted, or a user interface is displayed to make the user select a bearer. The process is not particularly limited.
If a bearer list exists, the database reference unit 151 selects the bearer of the highest priority and transfers the bearer information to the communication control unit 152. In the example shown in
If the infrared rays are unusable due to some reason, the communication control unit 152 requests the database reference unit 151 to search for another designated bearer. In
As described above, according to the present invention, it is possible to select an optimum bearer usable by the communication terminal on the basis of the types and priorities of bearers usable by an application. It is therefore possible to preferentially set, in the communication terminal, a bearer recommended for the application by the application provider and provide an application execution environment that sufficiently reflects the application provider's intention.
The bearer list serving as the base of selection of a bearer to be used in communication can be changed so that the user can select a desired bearer list at his/her discretion. Especially when the user changes the priority in the bearer list, the bearer to be used for the communication process of the application can be determined flexibly. In this case, even when the bearer preferentially determined by the user is unusable, the communication terminal can execute the communication process by selecting the bearer of the second highest priority.
The user can change the bearer list only within the range of the displayed bearer list. This prevents arbitrary setting by the user.
The present invention is applicable to general communication devices of a system that executes communication in executing an application and selects a communication scheme (bearer) in communication.
Number | Date | Country | Kind |
---|---|---|---|
2004-306334 | Oct 2004 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP05/19129 | 10/18/2005 | WO | 4/10/2007 |