The present invention relates to a mobile communication device, and more particularly to a mobile communication device containable in an ad hoc network.
Mobile communication systems include any ad hoc network system, without requiring any existing infrastructure as typified by a server, an exchange, and a base station, where a mobile communication device finds a communication path by itself, and uses the found communication path to communicate with another mobile communication device.
In conventional ad hoc network systems, a tentative master device is determined from among a plurality of mobile communication devices operable both as a master device and as a slave device, and the other mobile communication devices are determined as slave devices. In such a state, when data exchange between the master device and the slave devices is enabled, a transfer rate measured using a test signal, and the residual power of a storage battery of each slave device are transmitted from the slave device to the master device. The master device reselects a true master device based on each transfer rate and each residual power collected in a manner as described above.
Incidentally, for special reasons, users may be unwilling to incorporate their mobile communication devices into an ad hoc network. However, the conventional ad hoc network systems are disadvantageous in that the mobile communication devices are incorporated into the ad hoc networks without taking account of the circumstances of the mobile communication devices and their users. Accordingly, unless the above-mentioned users needs are satisfied, it is difficult to accelerate the spread of the ad hoc network systems.
Therefore, the present invention aims to provide a mobile communication device which is not contained in an ad hoc network under specific circumstances.
To achieve the above object, a first aspect of the present invention is directed to a mobile communication device capable of data communication through an ad hoc network, the device comprising: a reception section for receiving inquiry information for inquiring whether to accept or deny participation in the ad hoc network, the inquiry information being sent from another mobile communication device; a condition determination section for, after the reception section receives the inquiry information, determining whether at least one preset condition is satisfied; and a transmission section for generating information for denying the participation in the ad hoc network based on a determination result of the condition determination section, and for transmitting the information to the another mobile communication device.
Typically, the condition determination section determines whether the at least one condition is satisfied based on a state of the mobile communication device.
By way of example, the mobile communication device further includes a storage device for storing information indicating whether to accept the participation in the ad hoc network based on a user's input. Here, when the condition determination section determines that the information stored in the storage device indicates no acceptance of the participation in the ad hoc network, the transmission section generates the information for denying the participation in the ad hoc network.
By way of example, the mobile communication device further includes a state detection section for detecting whether the device itself is in communication. Here, when the condition determination section determines that the state detection section has detected the mobile communication device as being in communication, the transmission section generates the information for denying the participation in the ad hoc network.
By way of example, the mobile communication device further includes a storage device having stored therein a scheduled time at which the device itself engages in communication. Here, when the condition determination section determines that the scheduled time stored in the storage device is reached after a lapse of a predetermined period of time, the transmission section generates the information for denying the participation in the ad hoc network.
By way of example, the mobile communication device further includes a residual power detection section for detecting a residual power of a battery in the device itself. Here, when the condition determination section determines that the residual power detected by the residual power detection section is less than or equal to a predetermined reference value, the transmission section generates the information for denying the participation in the ad hoc network.
By way of example, the mobile communication device further includes: a storage device having stored therein a database describing a chargeable point for the device itself; and a position detection section for detecting a current position of the device itself. Here, when the condition determination section determines that a distance from the current position detected by the position detection section to the chargeable point stored in the storage device is less than or equal to a predetermined reference value, the transmission section generates information for accepting the participation in the ad hoc network if the residual power detected by the residual power detection section is less than or equal to a predetermined reference value.
By way of example, the mobile communication device further includes a storage section having stored therein the age of a user. Here, when the age of the user, which is stored in the storage section, is equal to or more than a predetermined reference value, the transmission section generates information for accepting the participation in the ad hoc network regardless of another condition.
By way of example, the mobile communication device further includes a storage section having stored therein information indicating a driving history of a user of the device itself. Here,
Typically, the mobile communication device is mounted in a vehicle.
A second aspect of the present invention is directed to a method for a mobile communication device to perform data communication through an ad hoc network, the method comprising: a reception step for receiving inquiry information for inquiring whether to accept or deny participation in the ad hoc network, the inquiry information being sent from another mobile communication device; a condition determination step for, after the inquiry information is received at the reception step, determining whether at least one preset condition is satisfied; and a transmission step for generating information for denying the participation in the ad hoc network based on a determination result of the condition determination step, and for transmitting the information to the another mobile communication device.
By way of example, the data communication method is implemented by a computer program. Also, the computer program is typically stored in a storage medium.
According to the above first and second aspects, when a predetermined condition is satisfied, the mobile communication device denies the participation in the ad hoc network. Thus, it is possible to allow the mobile communication device not to be incorporated into the ad hoc network depending on the circumstances of the device itself and the user thereof.
These and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.
As shown in
Also, the node 1 is connected to and capable of communicating with peripheral devices including a residual power detection section 2, a state detection section 3, an input device 4, a position detection section 5, and a storage device 6.
The residual power detection section 2 detects the residual power of a battery provided in a mobile apparatus including the node 1. Note that the residual power detection section 2 is suitable for mobile devices, such as mobile telephones and PDAs, which require recharging from a commercial power supply and whose operating time on a single charge is relatively short. On the other hand, the residual power detection section 2 is not necessarily required for vehicle-mounted apparatuses which receive a voltage supply from a vehicle-mounted lead storage battery. However, it is preferable to provide the residual power detection section 2 to an apparatus mounted in a vehicle, such as an electric vehicle or a hybrid car, which requires recharging with high frequency.
The state detection section 3 detects whether the mobile apparatus including the node 1 is currently performing audio communication or data communication.
The input device 4 is operated by a user. The user can operate the input device 4 to initially set whether to allow or deny the participation of the node 1 in an ad hoc network. Also, the user can operate the input device 4 to schedule a time period (hereinafter, referred to as a “scheduled time period”) in which the mobile apparatus performs audio communication or data communication.
The position detection section 5 detects the current position of the mobile apparatus. Specifically, when the mobile apparatus is a vehicle-mounted device, the position detection section 5 may be a combination of a GPS (Global Positioning System) receiver and an autonomous navigation sensor, or may be a DRSC (Dedicate Short Range Communication) receiver. Alternatively, when the mobile apparatus is a PHS (Personal Handy-phone System), the position detection section 5 detects the current position of the mobile apparatus based on information obtained from a nearby base station. Alternatively still, when the mobile apparatus is a mobile telephone or a PDA, the position detection section 5 detects the current position of the mobile apparatus through a module incorporating a GPS receiver.
The storage device 6 is typically a nonvolatile storage device, and has stored therein a rechargeable point database (hereinafter, referred to as a “rechargeable point DB”), reservation information, and link information required for establishing an ad hoc network.
The rechargeable point DB is a collection of pieces of position information concerning points (hereinafter, referred to as “service points”) for providing a recharge service for mobile apparatuses, such as mobile telephones and PDAs, which require recharging with high frequency.
Also, the reservation information contains at least a scheduled time period inputted by the user operating the input device 4.
Also, as shown in
The own node ID is identification information for uniquely specifying the node 1. The hop limit denotes the maximum number of relay nodes within an ad hoc network.
The denial flag is binary information indicating whether to deny or accept the participation of the node 1 in the ad hoc network. In the present embodiment, by way of example, a denial flag of 1 indicates a denial of participating in the ad hoc network, and a denial flag of 0 indicates that the participation in the ad hoc network is acceptable.
The retry time denotes a time period from when the ad hoc network is found to fail in last data communication until when the data communication is retried.
The number of trials is the number of times of repeatedly transmitting the same data to the same endpoint node 1.
Next, the operation of the node 1 is described.
If the data to be transmitted has been generated, the node 1 acts as a start point node 1, and the transmission/reception control section 12 executes a process shown in
As a result of step B2, if at least one nearby node 1 is found (step B3), the transmission/reception control section 12 inquires of the target nearby node 1 whether it accepts or denies the participation in the ad hoc network (step B4). More specifically, the transmission/reception control section 12 acquires the own node ID and the endpoint node ID from the storage device 6. Thereafter, in order to perform the inquiry as above, the transmission/reception control section 12 generates an inquiry packet Pi, which contains the acquired two IDs as shown in
After step B4, the transmission/reception control section 12 waits for a first response to be received (step B5). Here, as will become apparent later, the first response is information indicating whether to accept or deny the participation in the ad hoc network, which is sent from the target nearby node 1. The first response as above is received by the transmission/reception section 14, and thereafter, transferred to the work area 13.
After first responses are transferred, if the transmission/reception control section 12 determines that there are any first responses indicating an acceptance of participation (step B6), data packets Po as shown in
After step B7, the transmission/reception control section 12 waits for a second response to be received (step B8). Here, as will become apparent later, the second response is information indicating whether the data communication over the ad hoc network has been completed, which is originally generated by an endpoint node 1, which will be described later, and transmitted to the startpoint node 1. However, in the ad hoc network, when data communication is conducted between the endpoint node 1 and the startpoint node 1, at least one relay node 1 may intervene therebetween, and therefore, the second response may be transmitted directly from the endpoint node 1 to the startpoint node 1, or may be transmitted through the relay node 1 to the startpoint node 1. The second response as above is received by the transmission/reception section 14 in the startpoint node 1, and thereafter, transferred to the work area 13.
After the second response is transferred, if the transmission/reception control section 12 determines that the received response indicates the completion of the data communication (step B9), the process of
On the other hand, if the value of the counter is less than the number of trials, the transmission/reception control section 12 activates a timer (not shown) (step B11), and thereafter, waits for the timer to count the retry time (see
Also, in the case where no nearby node 1 is found at step B3, if it is determined at step B7 that all first responses indicate the denial of participation, the transmission/reception control section 12 also performs the above step B10.
Here,
On the other hand, if any inquiry packet Pi has been received at step A3, the transmission/reception control section 12 determines whether the endpoint node ID contained in the received packet Pi matches the own node ID stored in the storage device 6 (step A4). If the two IDs do not match, the node 1 acts as a relay node 1, and the transmission/reception control section 12 performs a process as shown in
On the other hand, if the denial flag is not 1, the transmission/reception control section 12 determines, based on a detection result of the state detection section 3, whether the mobile apparatus including the node 1 is currently performing audio communication or data communication. Further, the transmission/reception control section 12 refers to the reservation information in the storage device 6, and determines whether the audio communication or data communication starts within a predetermined time period (step C2). If the communication is determined as being performed or scheduled, the transmission/reception control section 12 deems the participation in the ad hoc network as not possible, and performs step C5, which will be described later.
On the other hand, if the mobile apparatus is determined as not in communication or as not being scheduled to communicate, the transmission/reception control section 12 determines, based on a detection result of the residual power detection section 2, whether the residual power of the battery in the mobile apparatus including the node 1 is less than or equal to a predetermined reference residual power (step C3). If the residual power is determined as low, the transmission/reception control section 12 deems that the participation in the ad hoc network is not possible, and performs step C6, which will be described later.
On the other hand, if the residual power is not low, the transmission/reception control section 12 obtains the current position from the position detection section 5, and thereafter, obtains position information concerning a service point closest to the current position from the rechargeable point DB stored in the storage device 6. Thereafter, the transmission/reception control section 12 derives the distance from the current position to the closest service point, and determines whether the derived distance is less than or equal to a predetermined reference distance (step C4).
If YES is determined at any of the above steps C1, C2, and C4, the transmission/reception control section 12 generates a first response indicating a denial of participating in the ad hoc network, and sends the generated first response to a node (startpoint node or another relay node) 1 having transmitted the current inquiry packet Pi (step C5). Thereafter, the transmission/reception processing section 12 exits the process of
If NO is determined at any of the above steps C3 and C4, the transmission/reception control section 12 generates, on the work area 13, a first response indicating an acceptance of participating in the ad hoc network, and sends the generated first response from the transmission/reception section 14 to the node (startpoint node or another relay node) 1 having transmitted the current inquiry packet Pi (step C6).
After step C6, the transmission/reception control section 12 wais for data packets Po or Pr (to be described later) to be transmitted from the node (startpoint node or another relay node) 1 having transmitted the current inquiry packet Pi (step C7).
The data packets Po or Pr are received by the transmission/reception section 14, and thereafter, transferred to the work area 13. After the data packets Po are transferred, the transmission/reception control section 12 determines whether hop limits in the received packets Po are 0 (step C8). If the hop limits are not 0, the transmission/reception control section 12 deems that the received data packets Po can be relayed, and searches for a nearby node 1 as in the above step B2, (step C9). If any nearby node 1 is found (step C10), the transmission/reception control section 12 performs an inquiry on the target near by node 1 as in the above step B4 (step C11).
Thereafter, as in the above steps B5 and B6, the transmission/reception control section 12 receives first responses from target nearby nodes 1 (step C12), and determines whether there is any nearby node 1 which accepts the participation in the ad hoc network (step C13). If the transmission/reception control section 12 determines that there is any near by node 1 which accepts the participation, the hop limits of the data packets Po currently stored in the work area 13 (see
After step C14, upon receipt of a second response sent from any nearby node 1, the transmission/reception control section 12 transmits a reception response to the node (startpoint node or another relay node) 1 having given the current inquiry to the node 1 thereof (step C16). Thereafter, the transmission/reception processing section 12 exits the process of
Also, if the hop limit is 0 at step C8, or if there is no nearby node 1 which accepts the participation at step C13, the transmission/reception control section 12 generates, on the work area 14, a second response indicating that the data communication has not been completed, and sends the generated second response through the transmission/reception section 14 to the node (startpoint node or another relay node) 1 having given the current inquiry to the node 1 thereof (step C17). Thereafter, the transmission/reception processing section 12 exits the process of
Here,
Next, an example of data communication in an ad hoc network system as above is described. In the present embodiment, by way of example, as shown in
In the node 1a of
The nearby node 1b performs the process as a relay node 1 since the endpoint node ID of the inquiry packet Pi does not match the own node ID (see
Since the first response indicating the acceptance of participation is returned, at step B7, the startpoint node 1a generates a data packet Po, and transmits it to the first relay node 1b (sequence E3).
Upon receipt of the data packet Po from the startpoint node 1a, the first relay node 1b performs steps C9 and C10. As a result, if the nearby nodes 1c and 1e are found, at step C11, the first relay node 1b generates an inquiry packet Pi, and transmits it to the nearby nodes 1c and 1e (sequence E4).
Here, the nearby node 1c performs the process as a relay node since the endpoint node ID in the inquiry packet Pi does not match the own node ID (see
Also, the nearby node 1e performs the process as a relay node in response to the inquiry packet Pi, but if YES is determined at any of steps C1, C2, and C4, as the denial node 1e, it generates a first response (indicated as Nack in
Since the first response indicating the acceptance of participation is returned, at step B7, the first relay node 1b generates a data packet Pr based on the data packet Po, and transmits it to the second relay node 1c (sequence E7). However, the first relay node 1b does not transmit the data packet Pr to the denial node 1e having transmitted the first response indicating the denial of participation.
Upon receipt of the data packet Pr from the first relay node 1b, the second relay node 1c performs steps C9 and C10. As a result, if the nearby node 1d is found, at step C11, the second relay node 1c generates an inquiry packet Pi, and transmits it to the nearby node 1d (sequence E8).
Here, the nearby node 1d performs the process as an endpoint node since the endpoint node ID in the inquiry packet Pi matches the own node ID (see
As described above, if predetermined conditions (steps C1, C2, and C4 in
Now, consider a case where the present mobile communication device 1 is mounted in a vehicle, and further, the vehicle's position information and the vehicle's number are added as datagrams to each data packet Po or Pr (see
Note that in the description of the present embodiment, as the conditions for generating a first response (denial of participation), those illustrated at steps C1-C3 shown in
(Variations)
The user information communication section 7 performs interactive communication with a user information communication section 83 in a smart card 8 under the control of the transmission/reception control section 12. Specifically, when the user information communication section 7 is brought into a state where communication with the smart card 8 is possible, its sends a transmission request to the user information communication section 83. Here, the transmission request is data which is stored in the smart card 8 for requesting transmission of information required by the node 10.
The smart card 8 is preferably an electronic driver's license, and includes a storage medium 81, a control section 82, and the user information communication section 83. Note that in the present embodiment, the smart card is equivalent to an IC (Integrated Circuit) card.
The storage medium 81 has stored therein various information concerning the holder of the smart card 8, i.e., a person who is permitted by authorities to drive a vehicle. As shown in
Also, in the smart card 8, the control section 82 receives the transmission request transmitted from the node 10 via the user information communication section 83. In response to the received transmission request, the control section 82 reads the age and the demerit points from the storage medium 81. Thereafter, the control section 82 passes the read information to the user information communication section 83. The user information communication section 83 sends the information received from the control section 82 to the user information communication section 7 of the node 10.
Also, in the node 10, the user information communication section 7 transfers and stores the received age and demerit points onto the work area 13.
Next, referring to a flowchart in
First, in
Also, if YES is determined at step A1, the node 10 acts as a startpoint node 10 as in the above-described embodiment (step E2) In this case, the transmission/reception control section 12 performs a process in accordance with the process procedures shown in
If YES is determined at step B6, the transmission/reception control section 12 generates, on the work area 13, data packets Po having a data structure shown in
Also, if NO is determined at step A4, the node 10 acts as a relay node 10 as in the above-described embodiment (step E3). In this case, the transmission/reception control section 12 performs a process in accordance with the process procedure shown in
In
As a result of the above comparison, if the age of the user is equal to or more than the first reference value (step G1), the transmission/reception control section 12 deems that there is a possibility of an emergency call since the data packets Po are from the mobile communication device 10 used by an aged person, and unconditionally performs step C6.
On the other hand, if the age of the user is less than the first reference value, the transmission/reception control section 12 performs step C1.
Also, after step C2, the transmission/reception control section 12 retrieves the user's demerit points stored in the work area 13 within the node 10 thereof. It should be noted that the user as described herein refers to the user of the relay node 10, rather than to the user of the startpoint node 10.
Thereafter, the transmission/reception control section 12 determines whether the retrieved demerit points are equal to or more than a second reference value (step G2). Here, the second reference value is an index indicating whether the user frequently commit traffic violations.
If the demerit points are equal to or more than the second reference value, the transmission/reception control section 12 deems that the participation in the ad hoc network is not appropriate since the user of the relay node 10 frequently commits traffic violations, and performs step C5. The reason for performing the process as above is that there is a possibility that the ad hoc network might be disconnected if the relay node 10 is involved in a traffic violation or accident.
On the other hand, if the demerit points are less than the second reference value, the transmission/reception control section 12 performs step C3.
As described above, according to the present variation, if the user of the startpoint node 10 is an aged person, the relay node 10 transmits a first response (acceptance of participation) without taking account of conditions of steps C1-C3 and G2, i.e., without denying the participation in the ad hoc network. Thus, it is possible to provide a mobile communication device 10 which is more suitable for an emergency call. Also, any relay node 10 used by a user with high demerit points is determined as inappropriate for the participation in the ad hoc network, and therefore it is possible to provide a mobile communication device 10 capable of constructing a more reliable ad hoc network.
Also, consider a case where the present mobile communication device 10 is mounted in a vehicle, and, further, the vehicle's position information and the vehicle's number are added as datagrams to each data packet Po (see
Note that in the description of the present embodiment, as the conditions for generating a first response (denial of participation), those illustrated at steps C1-C3 shown in
While the invention has been described in detail, the foregoing description is in all aspects illustrative and not restrictive. It is understood that numerous other modifications and variations can be devised without departing from the scope of the invention.
A mobile communication device according to the present invention is suitable for use in, for example, a navigation apparatus, a portable telephone, or a personal computer, which is required to achieve technical effects of being able to autonomously construct a network and deny the participation in a network.
Number | Date | Country | Kind |
---|---|---|---|
2003152706 | May 2003 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP04/07284 | 5/21/2004 | WO | 5/16/2005 |