1. Technical Field
This invention relates to mobile computing device technology. More specifically, the invention relates to resolving conflicts with an internet protocol address for a mobile computing device.
2. Description of the Prior Art
IPv6 is the successor protocol standard from IPv4. The IPv6 protocol offers expanded addressing capability to allow any computing device to obtain a unique address when connected to a global network, i.e. a set of interconnected networks. A computing device on the global network may be a stationary or mobile computing device with a communication port, and is referred to as a mobile node. The computing device may support wired or wireless communication. Each computing device operating within Mobile IPv6 is assigned an internet protocol address, also known as a home address to identify the computing device as it may move to different physical locations across the global network.
Although
Currently, when the mobile node is properly started at its home location on a network, it receives a home internet protocol address. At some point in time subsequent to the initial start at the home location, the mobile node may move to a foreign location within the network. Subsequent to arrival at the foreign location, the mobile node receives a temporary address known as a care of address (CoA). The CoA address is a routable address with a mobile node while the mobile node is visiting a foreign location, and is valid as long as the mobile node is at the specified foreign location. Upon receipt of the CoA, the mobile node forms a binding or an association between the home address and the CoA and registers the binding with the home agent residing in the home network. A binding registration contains information including: sequence number, acknowledgment bit, home registration bit, lifetime, home agent address, and mobile node home address. The binding is the formation of an association between the home address and the CoA, and is valid for a defined period of time. The binding itself contains only home addresses and CoAs. This process is known in the art as Primary Care of Address Registration. The binding enables the mobile node to receive all packets addressed to it's home internet protocol address. Following the binding process all data packets are now tunneled to the mobile node's new location by the home agent. In addition, the mobile node may also send a binding update to a correspondent computing node either upon receiving a data packet from the home agent or upon sending an outgoing packet from the foreign location to the correspondent computing node. The binding update enables subsequent direct flow of data packets between the mobile node and the correspondent node without tunneling through the home agent. Every binding update sent by the mobile node to any computing device on the network will be saved in a binding update list in local cache of memory of the mobile node for future updates by the mobile node. A binding update to the home agent is marked with a home registration flag and is therefore distinguished from the binding updates sent to a correspondent node. At such time as the mobile node returns to it's home location, the mobile node will de-register the corresponding binding for it's home address or CoA with the home agent and also with the correspondent node. Accordingly, the binding process enables the mobile node to move to foreign locations within the network while continuing to receive data packets.
While the mobile node is present in the foreign location, i.e. following the binding process, the mobile node may experience an improper shut down. If the operator of the mobile node intends to restart the mobile node at the home location, a failure of the reuse of the home IP address of the mobile node will occur. However, if the operator intends to restart the mobile node at a foreign location the mobile node will be configured with a new CoA and register the new CoA with the home agent. During a subsequent communication, the home agent may receive a data packet for the mobile node on the original home internet protocol address. The home agent will tunnel the data packet to the mobile node registered with the original CoA address. Since the mobile node was restarted subsequent to an improper shut down, the home agent is not aware of the relationship between the former CoA address and the new internet protocol address of the mobile node. Therefore, the data packets are not forwarded to the mobile node at it's new internet protocol address. Accordingly, there is no structure within the communication protocol of IPv6 to ensure that the mobile node will receive all data packets addressed to it after a restart of the mobile node that was subject to an improper shut down.
There is therefore a need for a method and system to enable continued communication of data packets with a mobile node restarted subsequent to an improper shut down.
This invention comprises a method and system to resolve conflict of an internet protocol address of a mobile node.
In one aspect of the invention, a method is provided for avoiding conflict of an internet protocol home address of a mobile node. A portion of binding registration data of the mobile node is stored in a home address registration table. The home address registration table is reviewed subsequent to a shut down of the mobile node.
In another aspect of the invention, a communication system is provided with a mobile node having an associated internet protocol home address. A storage manager is provided to store a portion of binding registration data of the mobile node in a home address registration table. In addition, a control manager is provided to review the home address registration table after shut down of the mobile node.
In yet another aspect of the invention, an article is provided with a computer-readable signal bearing medium. Means in the medium are provided for storing a portion of binding registration data of a mobile node in a home address registration table. In addition, means in the medium are provided for reviewing the home registration table subsequent to shut down of the mobile node.
Other features and advantages of this invention will become apparent from the following detailed description of the presently preferred embodiment of the invention, taken in conjunction with the accompanying drawings.
A home agent registration table is maintained in a non-volatile storage of the mobile node. The registration table stores a portion of binding registration data of the mobile node as it moves to one or more foreign locations within the network. Subsequent to a termination of operation of the mobile node, the home registration table is reviewed. If the termination of operation of the mobile node was proper and the mobile node was terminated at the home location, the home registration table will be empty. Alternatively, if the termination of the mobile node was proper and the mobile node was terminated at a foreign location, all entries in the home agent registration table will be removed. However, if termination of the mobile node was improper either at the home location or at a foreign location, all entries in the home agent registration table will be de-registered and/or cleared at such time as the mobile node is subject to a restart and prior to assignment or re-assignment of its home address. The de-registration and/or clearing of entries in the home agent registration table prevents forwarding of data to an invalid address. Accordingly, the home agent registration table in conjunction with the associated logic ensures an accurate and current log of all registrations associated with the mobile node by keeping the log of registrations current.
In a preferred embodiment, a home agent registration table is provided in non-volatile storage of local storage media of a mobile node. The home agent registration table maintains a history of all active home agent registrations made by a mobile node during its various movements in both a home network and foreign networks. The home agent registration table stores only a select portion of the binding data. The elements present in the home agent registration table include: the sequence number used in the binding update, the home agent address used in the binding update, and the mobile node's home address used in the binding update.
Similarly, once the mobile node is in the foreign network, it may return to the home network. A de-registration of all entries in the home agent registration table will occur (120) in the form of a de-registration of all entries in the home agent registration table. The de-registration process includes a message sent to the corresponding home agent indicating the earlier registration identified by the home address and CoA should be de-registered from the home agent registration table. Following the de-registration process, all entries from the home agent registration table are removed (122) and the mobile node is assigned a home address (134). Thereafter, the neighbor discovery cache entry of all nodes in communication with the mobile node is updated with a hardware address of the mobile node (124). Accordingly, at such time as the mobile node returns to the home network from a foreign network, all entries in the home agent registration table are de-registered prior to removal from the table.
Following the period in which the mobile node has been in operation in the home network or a foreign network, the mobile node may experience an improper shut down (112). The improper shut down may happen at any time. An improper shut down may include a sudden loss of power to the mobile node. Hereinafter, a loss of power will be used as an example of an improper shut down. Thereafter, the mobile node is restarted (114). At such time as power is return to the mobile node, a test is conducted to determine if the mobile node has returned to the home network (116). A negative response to the test at step (116), is an indication that the mobile node has been restarted in a foreign network location. The home agent registration table is reviewed to determine if there are any entries in the table. All entries for the CoA(s) for the mobile node in the home agent registration table are removed (118), followed by re-assignment of the home address to the mobile node (136). The mobile node then return to step (104) and receives a temporary address known as a Care of Address (CoA) in the foreign network, and an entry of the CoA is added to the home agent registration table stored in non-volatile memory (106). This information is maintained in preparation for the next shut down event of the mobile node. By tracking addresses of the mobile node as it moves to different locations in the network, the home address may be re-used following an improper shut down and a restart of the mobile node in a foreign network. Following a positive response to the test at step (116), the home agent registration table will be reviewed prior to a de-registration of all entries with the home agent registration table (120). Thereafter, all entries from the home agent registration table are removed (122), the mobile node is assigned a home address (134), and the neighbor discovery cache entry of all nodes in communication with the mobile node is updated with a hardware address of the mobile node (124). Accordingly, entries for CoA addresses for the mobile node in the home agent registration table must be properly maintained in order to preserve proper communication with the mobile node following proper or improper shutdown of the mobile node in either the home network or a foreign network.
The maintenance of the home agent registration table ensures a current listing of all addresses associated with a mobile node in a global communication network. The home agent registration table is located in non-volatile memory. As noted above, the home agent registration does not require use of the entire binding data to be stored therein. Rather, the home agent registration table only saves a portion of the binding data required to de-register with the home agents for proper reuse of the home address in case of an improper shut down. It is the placement of the home agent registration table and the associated registrations and removal of addresses associated with either proper or improper shut downs of a computing device that enables the accurate addressing of data packets across the network. Accordingly, whether the mobile node experiences a proper or improper shut down in either a home location or a foreign location, data packets will be accurately tunneled to the mobile node at such time as the mobile node is restarted at any location in the network.
It will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without departing from the spirit and scope of the invention. In particular, the invention may be expanded to an operating scenario that is supported by the infrastructure associated with the home agent registration table under which the network connection has multiple home agents, a mobile node has multiple home addresses on the home connection to the network, and the mobile node obtains multiple CoAs when it moves to a foreign network connection. Additionally, the network may be a local area network, a global area network, or any network that supports IPv6. Accordingly, the scope of protection of this invention is limited only by the following claims and their equivalents.