# Patent

## Title
Portable terminal and USB device

## Abstract

The present invention helps to develop a smaller sized portable terminal without reducing the functions available for the user. A USB device which is detachable from the portable terminal is provided with a USB connector which is inserted into a USB port of the portable terminal, a power source terminal which comes into contact with a power supply terminal of the portable terminal, when the USB connector is inserted into the USB port of the portable terminal, and a screw which is engaged with a screw hole of the portable terminal. When the screw is engaged with the screw hole of the portable terminal, a switch inside the screw hole is pushed down due to a contact with the screw. The portable terminal detects mounting of the USB device by an output from the switch, and initiates power supplying from the power supply terminal of the portable terminal to the power source terminal of the USB device. The USB device is started up by this power, and establishes connection with the portable terminal via the USB connector.

## Background
BACKGROUND OF THE INVENTION
The present invention relates to a structure of a portable terminal and a USB device used thereon.
As a portable terminal designed for game, there is known a portable type game machine as disclosed in Japanese Patent Laid-open Publication No. H11-144040. A camera is rotatably fixed on a housing of this portable type game machine.
SUMMARY OF THE INVENTION
However, the camera installed on this portable game machine as described above may not be used constantly. On the other hand, this kind of camera may cause upsizing of the portable type game machine.
The present invention helps to develop a smaller sized portable terminal without reducing the functions available for a user.
According to one aspect of the present invention, there is provided a portable terminal including,
a USB port into which a USB connector of a USB device is inserted,
a housing on which there is formed a screw hole into which a screw provided on the USB device is fixed,
a power supply terminal for supplying power to a power source terminal of the USB device, which comes into contact with the power source terminal in a state that the USB connector is inserted in the USB port, and
a switch provided inside the screw hole, and turned on by a contact with the screw inserted inside the screw hole.
According to one aspect of the present invention, there is provided an USB device including,
a USB connector which is inserted into a USB port of a portable terminal,
a power source terminal which comes into contact with the power supply terminal of the portable terminal in a state that the USB connector is inserted into the USB port, and
a screw which is installed at a position being associated with a screw hole of the portable terminal so as to be fixed to the screw hole, in a state that the USB connector is inserted into the USB port.
According to another aspect of the present invention, there is provided a portable terminal including,
a USB port into which a USB connector of a USB device is inserted,
a power supply terminal for supplying power to a power source terminal so as to start up the USB device, which comes into contact with the power source terminal of the USB device in a state that the USB connector is inserted in the USB port, and
a controller which initiates supplying the power from the power supply terminal, when an application program for utilizing the USB device is started.
In addition, there is provided an USB device including,
a USB connector which is inserted into a USB port of a portable terminal,
a power source terminal which comes into contact with a power supply terminal of the portable terminal in a state that the USB connector is inserted in the USB port, and
a controller which outputs a connection establishment request from the USB connector, when power supplying from the power supply terminal to the power source terminal is initiated.
According to the present invention, it is possible to develop a smaller sized portable terminal without reducing the functions available for the user.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is an illustration to explain external view of a portable terminal according to an embodiment of the present invention.
FIG. 2 is a rear view of the portable terminal as shown in FIG. 1.
FIGS. 3A to 3D are an illustration to explain external view of a character input keyboard module according to an embodiment of the present invention.
FIG. 4 is an illustration to explain external view of a GPS module according to an embodiment of the present invention.
FIG. 5 is an illustration to explain external view of a camera module according to an embodiment of the present invention.
FIG. 6 is a functional diagram showing the portable terminal according to an embodiment of the present invention.
FIG. 7 is a functional diagram showing a USB device according to an embodiment of the present invention.



DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
One embodiment of the present invention will be explained with reference to the accompanying drawings.
At first, a configuration of the portable terminal according to the present embodiment will be explained.
As shown in FIG. 1 and FIG. 2, the portable terminal 100 according to the present embodiment includes as members to constitute the housing, a metal frame-like chassis 120 which contains various electronic components such as an processing unit, right-and-left speakers, and a drive, and a pair of resinous cases 110 and 130 (hereinafter referred to as “front case” and “back case”), that are respectively installed on the both sides of chassis 120 to cover a space inside the chassis 120.
On the back case 130, there is provided an openable and closable cover 131 of the drive for mounting a disk.
In addition, there are provided on the side of the chassis 120, an open button 124 to open and close the cover 131 of the drive, a power button 125 to switch between power-ON and power-OFF, R button 125A, and L button 125B. Since the chassis 120 possesses higher stiffness than the front case 110 and the back case 130, there is formed on the corner of the chassis 120, a strap-use hole 127 through which a carabiner (an attachment) of the strap is placed. Similarly, for reasons of strength, the chassis 120 is provided with, for example, coupling parts such as a jack 126 into which a plug of a head phone is inserted, a charging use terminal 128 that is connected with a terminal of battery charger (hereinafter, referred to as “cradle”), USB port 121 with which a USB connector of USB device is engaged, and power supply terminals 122A and 122B to supply power to the USB device. On both side positions of the USB port 121, there are formed screw holes 123A, 123B with which screws for fixing the USB device are engaged.
In the present embodiment, the portable terminal 100 functions as a USB slave, and the USB device functions as a USB master. Therefore, it is not allowed to establish connection with the USB device from the portable terminal 100 side. Considering this situation, in the present embodiment, in order that the portable terminal 100 can detect the engagement between fixing screws of the USB device and the screw holes 123A, 123B (i.e., mounting of the USB device), there are provided on the bottom of the screw holes 123A, 123B of the chassis 120, switches 1201 to be pushed down by the tips of the screws, respectively, which have been inserted up to a predetermined depth or more. With the configuration above, when the portable terminal 100 detects by an output signal from the switches 1201 the USB device has been mounted, it starts up the USB device. Detailed description of this operation will be given below.
Here, the switches 1201 for detecting attachment of the USB device are provided on the bottom of the screw holes 123A, 123B of the chassis 120. However, the configuration is not necessarily limited to this. For example, it is possible to configure such that a switch may be provided inside the USB port, which is pushed down by the tip of the USB connector having been inserted up to a predetermined depth or more. Alternatively, the power supply terminals 122A, 122B may serve as switches which are pushed down by the power source terminals 222.
The front case 110 is provided with a liquid crystal display 111, various buttons to accept a directive from a user (for example, volume button 112A to accept volume control, select button 112B to accept a selecting instruction, start button 112C to accept a starting instruction, button 112D to accept an instruction to resume a home mode, display button 112E to accept ON/OFF switching instruction for the back light of the display 111, sound button 112F to accept sound ON/OFF switching instruction, operation buttons 112G, 112H available for inputting to accept various instructions to be given to an application program and the like), analogue pad 114 to accept directional indication from a user, LED turned on and/or turned out according to the status of the portable terminal 100 (for example, LED 113A indicating ON/OFF status of the power source, LED 113B indicating whether or not the portable terminal 100 is in HOLD status), and DC terminal 116 into which DC connector from AC adaptor or an extended buttery is inserted. Furthermore, there is formed a duct hole 115 and the like on the front case 110.
Next, various accessories to be attached to this portable terminal 100 will be explained.
As described above, the portable terminal 100 according to the present embodiment functions as a slave of a USB device so that the portable terminal 100 is allowed to be connected, for example, with a personal computer and the like. Then, the USB device functioning as a USB master can be mounted on the USB port of the portable terminal 100. A user is allowed to appropriately select a required USB device to be mounted out of various USB devices functioning as a master and utilize the USB device thus mounted. Accordingly, an optional device can be mounted on the portable terminal 100 only when the function thereof is required, even if the portable terminal 100 is not constantly equipped with such device. Therefore, it is possible to downsize the portable terminal 100 without reducing the functions available for the user.
As a specific example of such USB device as described above, a character input keyboard module, a portable phone module, a GPS receiver, a camera module, and the like are given. Hereinafter, those USB devices will be explained.
(1) Character Input Keyboard Module
FIG. 3A to 3D show a portable terminal 100 on which the character input keyboard module is mounted.
As shown in FIGS. 3A to 3C, the character input keyboard module 200 includes a touch panel 210 which outputs a signal indicating a position which a stylus pen 400 in FIG. 3D, a user's finger or the like touches, and a communication device 220 which transmits to the portable terminal 100 a signal corresponding to an output from the touch panel 210.
On the touch panel 210, there are described characters (or character strings) or illustrations corresponding to keys for intended purpose. When the stylus pen 400 and the like touches a position where any of those characters or character strings are described, a signal indicating the position (i.e., a signal which identifies a character and the like described in the position touched by the stylus pen 400 or the like) is inputted into the communication device 220 from the touch panel 210. For example, on the touch panel of the character input keyboard, there are described characters (not illustrated) and the like indicating keys such as alphabet, shift key, and control key, necessary for inputting characters. Therefore, the user makes the stylus pen 400 and the like to come into contact with a position where such characters and the like are described, whereby it is possible to input in the communication device 220, a signal identifying a character and the like intended for inputting.
The communication device 220 includes, a USB connector 221 which is inserted in the USB port 121 of the portable terminal 100 with an appropriate play, power source terminals 223 which respectively come into contact with the power supply terminals 122A, 122B of the portable terminal 100 in a state that the USB connector 221 is inserted into the USB port 121 of the portable terminal 100, and screws 223A and 223B which are respectively engaged with the screw holes 123A and 123B of the portable terminal 100 to push down switches 1201.
(2) Portable Phone Module
The portable phone module includes a touch panel that outputs a signal indicating a position which a stylus pen 400 or a user's finger or the like touches, and a USB radio communication device which performs two-way radio communication with a base station. Appearance of the portable phone module is approximately the same as that of the character input keyboard module 200, but on the touch panel of the portable phone module, there are described characters and the like indicating keys (numeric key, hold key, and the like) necessary for use of the portable phone functions.
(3) GPS Receiver
FIG. 4 shows a schematic view of the GPS receiver 500 which is mounted on the portable terminal 100.
The GPS receiver 500 includes a GPS antenna 510 which receives a radio wave used for positional measurement from a satellite, a communication device 520 which measures latitude and longitude of the current position according to the radio wave thus received by the GPS antenna 510 and transmits the measurement result to the portable terminal 100, an antenna-posture-adjustment rotational shaft (not illustrated) which holds the GPS antenna rotatably, both in a direction to be tilted towards the back case 130 of the portable terminal 100 on which the antenna is mounted, and in a direction for returning the antenna to its original position.
The GPS antenna 510 becomes more sensitive when the receiving plane comes into a horizontal status. Therefore, it is preferable that the GPS antenna 510 is rotatable from the angle at which the receiving plane faces to the thickness direction C of the portable terminal 100 on which the antenna is mounted, to the angle at which the receiving plane faces to a predetermined direction D being upper direction of the portable terminal 100 (the angle at which the receiving plane becomes approximately horizontal in a status that the portable terminal 100 is placed on the cradle), so that the orientation of the receiving plane of the GPS antenna 510 is adjusted according to the posture of the portable terminal 100 being used.
The communication device 520 includes, similar to the key board module, a USB connector 521 which is inserted with an appropriate play into the USB port 121 of the portable terminal 100, a power source terminals 523 which are respectively connected with the power supply terminals 122A, 122B of the portable terminal 100, and screws 522A and 522B which are respectively engaged with the screw holes 123A and 123B of the portable terminal 100 to push down switches 1201.
(4) Camera Module
FIG. 5 shows an overview of the camera module 600 which is mounted on the portable terminal 100.
The camera module 600 includes a camera 610, communication device 620 which transmits an output from the camera 610 to the portable terminal 100, and a rotational shaft which rotatably holds the camera 610 so that an area as a shooting target can be changed. The communication device 620 includes, similar to the keyboard module and the like, a USB connector 621 which is inserted with an appropriate play into the USB port of the portable terminal 100, a power source terminals 623 which are respectively connected with the power supply terminals 122A, 122B of the portable terminal 100, and screws 622A and 622B which are respectively engaged with the screw holes 123A and 123B of the portable terminal 100 to push down switches 1201.
The USB devices and the portable terminal 100 as described above are provided with the following functional configurations.
As shown in FIG. 6, the portable terminal 100 includes, switches 1201 inside the screw holes 123A, 123B, the USB port 121 into which any of the USB connectors (221, 521, 621 and the like, collectively called as “USB connector 1400” as a whole) of the USB device is inserted, a power module 1202 which controls starting and stopping of power supply from the power supply terminals 122A, 122B, and a controller 1200 (implemented by the OS and the processing unit and the like) which executes a control of power module 1202 based on the status of the switches 1201 and a communication control via the USB port 121 and the like.
On the other hand, as shown in FIG. 7, the USB device includes, a USB connector 1400 to be inserted into the USB port 121 of the portable terminal 100, power source terminals (222, 523, 623 and the like, collectively called as power source terminal 1401) which receive power supply from the portable terminal 100, and a controller 1402 which executes a connection establishment processing and the like with the portable terminal 100, when it is started up by the power supplied from the portable terminal 100 via the power source terminal 1401.
With the functional configuration as described above, the following processing is executed between the USB device and the portable terminal 100.
i) Connection Establishment Processing
When the USB connector 1400 of the USB device is inserted into the USB port 121 of the portable terminal 100, and the screws 622A, 622B are engaged with the screw holes 123A, 123B of the portable terminal 100, outputs from the switches 1201 in the screw holes 123A, 123B allow the controller 1200 of the portable terminal 100 to recognize that the USB device has been mounted. Here, a condition to judge that the USB device is being mounted may be any one of the following states: at least one of the switches 1201 in the two screw holes 123A, 123B is turned on, or both of the switches 1201 respectively within the two screw holes 123A, 123B are turned on.
When the portable terminal 100 recognizes that the USB device has been mounted, the controller 1200 controls the power module 1202 to initiate power supplying to the power source terminals 1401 of the USB device from the power supply terminals 122A, 122B. According to this power supply, the USB device is started up. The controller 1402 of the USB device thus started up recognizes the portable terminal 100, transmits a request to establish connection with the portable terminal 100 via the USB connector 1400. Accordingly, a connection establishment processing between the USB device and the portable terminal 100 is executed.
After the connection is established between the USB device and the portable terminal 100, the controller 1402 of the portable terminal 100 authenticates the USB device and performs downloading from the USB device a driver and the like of the USB device, if the USB device is successfully authenticated. Subsequently, the controller 1402 of the portable terminal 100 controls the USB device, using the driver and the like thus received.
It is to be noted that a kind of the USB device may be provided with an internal power supply. For such kind of USB device, it is not necessary for the portable terminal 100 to supply power, even when the switch is pushed down by inserting the USB connector 1400 into the USB port 121. It is thus possible to configure such that in the case where a USB device having the internal power supply is mounted on the portable terminal 100, power supplying from the portable terminal 100 to the USB device may not be performed even when the switches 1201 inside the screw holes are turned on. Specifically, when the switches 1201 is turned on by inserting the USB connecter 1400 into the USB port 121, whereby the controller 1200 of the portable terminal 100 recognizes the mounting of the USB device, then, the controller 1402 of the USB device transmits identification information indicating a machine type of the USB device to the portable terminal 100 via the USB connecter 1400. Accordingly, the controller 1200 of the portable terminal 100 determines whether or not the identification information indicates the machine type having an internal power supply. As a result, if it is determined that the identification information indicates the machine type as having the internal power supply, the power is not supplied to the USB device from the portable terminal. On the other hand, if the identification information indicates the machine type as not having the internal power supply, the power is supplied to the USB device.
ii) Connection End Processing
When the portable terminal 100 transmits a connection end request to the USB device via the USB port 121, the controller 1402 of the USB device executes a connection end processing with the portable terminal 100. Accordingly, the connection between the USB device and the portable terminal 100 is terminated.
When the controller 1200 of the portable terminal 100 detects a disconnection with the USB device, the controller 1200 controls the power module 1202 to stop power supplying from the power supply terminals 122A, 122B to the power source terminals 1401 of the USB device, and deletes the driver and the like of the USB device.
It is to be noted that there is a case where the switches 1201 inside the both screw holes happen to be turned off without passing through the aforementioned connection end processing, such as the case where suddenly the USB device is pulled out. In this occasion, the controller 1200 of the portable terminal 100 detects the disconnection with the USB device, and stops power supplying to the power source terminal 1401 of the USB device from the power supply terminals 122A, 122B.
iii) Control of the USB Device from Application Program
When the connection is established between the USB device and the portable terminal 100, the OS of the portable terminal 100 notifies an application program of the connection establishment with the USB device, in response to a request from the application program. Alternatively, it is also possible that the OS notifies the application program that the USB device is mounted without waiting for the request from the application program. Hereinafter, it is assumed that “the notification from the OS to the application program” may include both the case responding to the request from the application program and the case without waiting for the request from the application program.
When the USB device is mounted on the portable terminal 100, the OS of the portable terminal 100 notifies the application program that there happens an event that the USB device is mounted, that is, the aforementioned condition has been satisfied. This condition indicates, as described above, that at least one of the switches is in a state of ON, or both of the switches are in a state of ON. In the situation above, since the application program is allowed to recognize whether or not the USB device is mounted, it is possible to request the OS to start or stop the power supplying to the USB device as required. For instance, the power supply to the USB device may be started (or once suspended and then started) for the purpose of reconnecting, resetting and the like. In other words, it is substantially possible to establish connection or to end connection with the USB device as a master from the portable terminal 100 side serving as a slave.
iv) Power Management of USB Device
The USB device having already been started enters power management mode, if it is not operated for a predetermined period of time. Specifically, the controller 1402 of the USB device transmits a notice to the portable terminal 100. When this notice is approved (if the portable terminal 100 does not deny the notice), the controller 1402 executes a procedure to end the connection with the portable terminal 100. Accordingly, when the connection between the USB device and the portable terminal 100 is terminated, the controller 1200 of the portable terminal 100 controls the power module 1202, to suspend the power supply to the power source terminals 1401 of the USB device from the power supply terminals 122A, 122B, or the USB device itself automatically turns the power off.
Then, if it is necessary to restart the USB device, the controller 1200 of the portable terminal 100 controls the power module 1202 to restart power supplying to the power source terminals 1401 of the USB device from the power supply terminals 122A, 122B. Then, if the driver and the like of the USB device still remain in the portable terminal 100, transfer of the driver and the like to the portable terminal 100 from the USB device is not executed. In addition, if a configuration parameter of the USB device is set in the portable terminal 100, this parameter is transferred to the USB device from the portable terminal 100. Accordingly, the USB device resumes the status corresponding to the status prior to entering the power management mode.
v) Power Management of the Portable Terminal 100
When the portable terminal 100 is not operated for a predetermined period of time, the controller 1200 of the portable terminal 100 controls the power module 1202 to suspend power supplying to the USB device, and further enters sleep mode. Accordingly, both the portable terminal 100 and the USB device enter the power management mode. With some kinds of USB devices, the portable terminal 100 may continue power supplying to the USB device even while the portable terminal 100 is in the sleep mode, and if there is a notice from the USB device, the portable terminal may resume from the sleep mode in response to the notice. With the configuration as described above, power supplying to the portable phone module, for example, continues even while the portable terminal 100 is in a sleep mode, whereby it is possible to keep the portable phone being in a standby mode. Then, if there is a call-in to the portable phone while the portable phone 100 is in a sleep mode, it may be configured such that the sleep mode of the portable terminal 100 is canceled in response to the notice from the portable phone module. In the present embodiment, two fixing screws are provided in the USB device, and two screw holes 123A, 123B respectively associated with those screws are provided in the portable terminal. However, it is not necessarily limited to this configuration. For example, instead of one fixing screw out of the two fixing screws of the USB device, a positioning pin may be employed. In this case, a screw hole with which the fixing screw of the USB device is engaged, and a positioning hole into which the positioning pin of the USB device is inserted may be formed. In the description above, switches 1201 to detect the mounting of the USB device are provided in the portable terminal 100. However, it is not necessarily limited to this configuration. Instead of providing such switches 1201 to the portable terminal 100, it may be configured such that a library to supply power to the USB device is called, for example, when an application program requesting to utilize the USB device is started up in the portable terminal. Hereinafter, this operation will be explained. In general, a user firstly mounts the USB device on the portable terminal 100, and then, manipulates the operation buttons and the like, thereby starting up the application program for utilizing the USB device, on the portable terminal 100. Here, it is configured such that such application program as described above, on it's starting, calls a library requesting the OS to start supplying power from the power supply terminals 122A, 122B. According to the library call, the functional configuration as shown in FIG. 6 is implemented. However, it is to be noted that, in this occasion, the processing executed by the controller 1200 is different from the aforementioned example in the following points. Immediately after the library is started up, the controller 1200 controls the power module 1202 and initiates supplying power from the power supply terminals 122A, 122B. In other words, unlike the aforementioned example, the controller 1200 initiates the power supplying without determining whether or not the USB device has been mounted. At this stage, if the USB device is mounted on the portable terminal 100, the USB device is started up by the power thus supplied. Accordingly, the USB device implements the functional configuration as shown in FIG. 7, and a processing similar to the aforementioned example is executed. Specifically, the controller 1402 of the USB device outputs a connection establishment request from the USB connector 1400. In response to the connection establishment request, the controller 1200 of the portable terminal 100 executes the connection establishment processing with the controller 1402 of the USB device. When the connection is established between the USB device and the portable terminal 100, the controller 1402 of the portable terminal 100 authenticates the USB device. As a result, if the USB device is successfully authenticated, the controller 1402 of the portable terminal 100 downloads from the USB device the driver and the like thereof. Subsequently, in the portable terminal 100, the controll returns to the application program from the library, and the USB device is available from the application program. On the other hand, if the USB device is not mounted on the portable terminal 100, the connection establishment request from the USB device will not be transmitted to the portable terminal 100. Therefore, the controller 1402 of the portable terminal 100 determines that the USB device has not been mounted yet, after a lapse of a predetermined time of no communication state in the USB port 121, and then returns an error to the application program. The application program outputs from the liquid crystal display 111 and the like, a message prompting the user to mount the USB device and to restart the application program.
In the above description, a character input keyboard module, a portable telephone module, a GPS receiver, and a camera module are taken as specific examples of the USB device. However, a machine implementing any kind of functions may be applied as a USB master according to the present embodiment.

## Claims

1. A portable terminal acting as a USB slave comprising,
a USB port into which a USB connector of a USB device acting as a USB master is inserted;
a power supply terminal which comes into contact with a power source terminal of said USB device in a state that said USB connector is inserted in said USB port and which supplies power to said power source terminal, the power supply terminal being separate from the USB port; and
a controller which initiates said power supplying from said power supply terminal when an application program for utilizing said USB device is started,
wherein said controller establishes a connection with said USB device if said USB port accepts a connection establishment request within a predetermined period of time after said power supplying is initiated, and outputs a message for prompting a mounting of said USB device if said USB port does not accept said connection establishment request within said predetermined period of time.

2. The portable terminal according to claim 1,
wherein said controller determines, when it receives identification information from said USB device indicating a machine type of the USB device, whether or not the machine type has an internal power supply, and stops supplying the power if the machine type is determined as having an internal power supply.

3. A portable terminal according to claim 1,
wherein said controller detects disconnection from said USB device, when said inserted USB connection is pulled out, and stops power supplying to said power source terminal from said power supply terminal

4. A system comprising:
a portable terminal acting as a USB slave including:
a USB port into which a USB connector of a USB device is inserted,
a power supply terminal which comes into contact with a power source terminal of said USB device in a state that said USB connector is inserted in said USB port and which supplies power to said power source terminal, the power supply terminal being separate from the USB port, and
a controller which initiates said power supplying from said power supply terminal when an application program for utilizing said USB device is started,
wherein said controller establishes a connection with said USB device if said USB port accepts a connection establishment request within a predetermined period of time after said power supplying is initiated, and outputs a message for prompting a mounting of said USB device if said USB port does not accept said connection establishment request within said predetermined period of time; and

a USB device, acting as a USB master, mountable on said portable terminal, said USB device including:
a USB connector which is inserted into said USB port of said portable terminal,
a power source terminal which comes into contact with said power supply terminal of said portable terminal in a state that said USB connector is inserted into said USB port to receive said power supplying from said power supply terminal, and
a second controller which outputs a connection establishment request from said USB connector, when said power supplying from said power supply terminal to said power source terminal is initiated.

5. A USB device, which is connected into a portable terminal acting as a USB slave, acting as a USB master, comprising:
a USB connector which is inserted into a USB port of said portable terminal;
a power source terminal which comes into contact with a power supply terminal of said portable terminal in a state that said USB connector is inserted into said USB port, the power source terminal of the USB master device being separate from the USB connector; and
a controller which outputs a connection establishment request from said USB connector, when power supplying from said power supply terminal to said power source terminal is initiated when an application program for utilizing said USB device is started,
wherein said controller transmits said connection establishment request and executes a connection establishment processing between said portable terminal,
when said USB port does not accept said connection establishment request within a predetermined period of time after said power supplying is initiated, a message for prompting a mounting of said USB device is outputted by said portable terminal, and,
when a connection end request is transmitted from said portable terminal, said controller executes a connection end processing.

6. A USB device according to claim 5, in which the USB master device functions as any one of:
i) a character input keyboard module;
ii) a portable phone module;
iii) a GPS receiver; and
iv) a camera module.

7. A USB device, which is connected into a portable terminal acting as a USB slave, acting as a USB master, comprising:
a USB connector which is inserted into a USB port of said portable terminal;
a power source terminal which comes into contact with a power supply terminal of said portable terminal in a state that said USB connector is inserted into said USB port, the power source terminal of the USB master device being separate from the USB connector;
a controller which outputs a connection establishment request from said USB connector, when power supplying from said power supply terminal to said power source terminal is initiated when an application program for utilizing said USB device is started; and
an internal power supply,
wherein said controller transmits identification information to said portable terminal indicative of said internal power supply, and
when said USB port does not accept said connection establishment request within a predetermined period of time after said power supplying is initiated, a message for prompting a mounting of said USB device is outputted by said portable terminal.

8. A USB device according to claim 7, in which the USB master device functions as any one of:
i) a character input keyboard module;
ii) a portable phone module;
iii) a GPS receiver; and
iv) a camera module.