Wireless networking device and communication method using the same

A wireless networking device and a communication method using the same. The wireless networking device includes an address generator to generate an address to be used in a predetermined wireless network, a router information setter to set router information of the wireless network, and a controller to control operation of the address generator and the router information setter according to the router information and perform hand-off to a wireless network that corresponds to the router information.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority from Korean Patent Application No. 10-2004-0082922 filed on Oct. 16, 2004 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a wireless networking device and a communication method using the same, and, more particularly, to a wireless networking device and a communication method using the same that performs a hand off between wireless networks without difficulty.

2. Description of the Related Art

As mobile communication devices become widely used, the demand for Internet services in wireless environments increases. Also, users want to use the Internet with mobility.

Thus, studies are being actively conducted on wireless LANs, mobile IPs, and Mobile Ad Hoc Networks (MANETs) to provide users with wireless Internet services.

MANET refers to a solution which is linked to IPv6 (Internet Protocol version 6) and which gives internet access to a home network which connects all terminals in a home wirelessly or in a wired manner, and to mobile devices to support wired and wireless data communication.

Ipv6 is an upgraded version of Ipv4 and is compatible with Ipv4. Also, Ipv6 is designed to efficiently operate in low speed networks, as well as in high speed networks such as ATM networks.

As more devices accessed the Internet using Ipv4, the number of addresses allotted to devices became insufficient. Thus, the priority in developing Ipv6 is to increase the number of devices that can access the Internet. The address size of Ipv6 is 128 bit, which is an increase from the 32 bit addresses of Ipv4.

FIG. 1illustrates a configuration of a conventional wireless network. A gateway11of a predetermined wireless network10transmits router information to a plurality of mobile devices existing in a corresponding wireless network to automatically set an address and to perform other tasks.

The router information comprises an address and a lifetime of the gateway11. The respective mobile devices check which mobile network they reside in and automatically set the address.

Meanwhile, as a plurality of mobile devices access the external network through the gateway11, a bottleneck occurs between the gateway11and the mobile devices adjacent to the gateway11.

Accordingly, two gateways11and12may be installed in the mobile network10, as shown inFIG. 2, to reduce the bottleneck and delay time of the packet transmission.

If a plurality of gateways11and12are used as shown inFIG. 2, a care of address is generated by a function that automatically generates IPv6 addresses, and the gateways11and12transmit a neighbor solicitation (NS) message to mobile devices adjacent to them to confirm whether other mobile devices in the MANET use the generated care of address. Specifically, the gateways11and12determine that the care of address is not repeated if there is no response for a predetermined period of time after transmitting the NS message to adjacent mobile devices.

Also, the respective mobile devices receive the router information from the plurality of gateways to access the external network through closer gateways. Accordingly, if the closer gateways are different from the previous gateways, a hand off should be performed.

The MANET comprises at least one gateway mobile device that is adjacent to or multiple hops away from the gateway. The MANET may not detect whether the address of the mobile device that is two or more hops away is repeated through the technique which detects repeated addresses of mobile devices only one hop away from the device itself.

Thus, a method is required to avoid packet transmission delay due to a shortage of the gateways and to detect, more reliably, a repeated address in a MANET having multiple hops.

Korean Patent Unexamined Publication No. 2004-0045188, incorporated herein by reference, discloses a method of managing a routing table using an IPv6 interface ID, which manages a routing table by using an inherent interface ID for respective interfaces, and prevents multiple source address confusion in a routing table. However, the method is provided to settle routing confusion that may occur by designating multiple IPv6 link local addresses to a single interface, but it is inappropriate for detecting a repeated address between mobile devices that are multiple hops away from a gateway while the mobile devices perform the hand-off.

SUMMARY OF THE INVENTION

An aspect of the present invention is to provide a wireless networking device and a communication method using the same which allows hand off to be performed between a plurality of wireless networks and prevents repeating an address without difficulty in a wireless network environment such as a mobile ad Hoc Network (MANET).

Illustrative, non-limiting embodiments of the present invention may overcome the above disadvantages and other disadvantages not described above. The present invention is not necessarily required to overcome any of the disadvantages described above, and the illustrative, non-limiting embodiments of the present invention may not overcome any of the problems described above. The appended claims should be consulted to ascertain the true scope of the invention.

According to an aspect of the present invention, a wireless networking device is provided. The wireless networking device includes an address generator to generate an address to be used in a predetermined wireless network; a router information setter to set router information of the wireless network; and a controller to control operation of the address generator and the router information setter according to the router information and perform hand-off to a wireless network which corresponds to the router information.

According to another aspect of the present invention, a communication method using a wireless networking device is provided. The method includes receiving router information of a predetermined wireless network; generating an address and setting router information according to the received router information; and performing hand-off according to the received router information.

DETAILED DESCRIPTION OF THE EXEMPLARY, NON-LIMITING EMBODIMENTS

FIG. 3illustrates a wireless networking device according to an illustrative, non-limiting embodiment of the present invention.

As shown therein, a wireless networking device100according to the embodiment of the present invention may comprise an address generator110to generate an address according to router information, which is received within a predetermined network, and determine whether the generated address is the same as that of other wireless networking devices in the corresponding network. The wireless networking device100may further comprise a router information setter120to set the router information with respect to a gateway of a current network according to the received router information, and a controller130to determine whether to perform a hand-off according to the received router information and to control operation of the address generator110and the router information setter120according to the determination.

The wireless networking device100may further comprise a hand-off performer140to perform the hand-off according to the direction of the controller130, and a message sender/receiver150to check whether the address generated by the address generator110is the same as that of other wireless networking devices that are one and more hops away from the gateway while receiving the router information and performing the hand-off.

Referring toFIG. 4, the controller130according to the embodiment of the present invention will be described in detail.

As shown therein, the controller130comprises an information receiver131to receive the router information from a gateway included in the predetermined network through the message sender/receiver150, a detector132to detect whether the router information received from the information receiver131is from a new network, a selector133to determine whether to perform a hand-off to the new network if it is determined by the detector132that the wireless network device100has moved to a new network, an information manager134to control the information setter120according to an address generated from the address generator110and to change gateway information if the device moves to the new network, a hand-off setter135to control the hand-off performer140according to the changed gateway information and to perform the hand-off to the new network, and an initializer136to perform a predetermined initialization process if the power of the wireless networking device100is turned on.

The information receiver131transmits the received router information to the detector132only if the information received from the message sender/receiver150is the router information. The detector132may determine through the received router information whether the information is from the new network. At this time, the received router information may comprise an address, life time and DNS information of the gateway of the corresponding network.

Hereinafter, a “home network” refers to an old network which the wireless networking device100resides in, and an “external network” refers to a new network to which the wireless networking device100moves to.

That is, the detector132determines whether the wireless networking device100has moved to the external network depending on whether the router information received through the information receiver131is the home network if the router information of the pre-stored network is the home network.

The selector133may decide to perform the hand-off to the external network if it is determined by the detector132that the wireless network device100has moved to the external network. At this time, the selector133may select to hand-off to the external network according to conditions of performing a predetermined hand-off, even though the router information is received from the gateway included in the external network.

The conditions of performing the hand-off may comprise the number of hops and traffic between the gateway of the home network and the gateway of the external network. The selector133may enable the hand-off to be performed selectively according to conditions, and the conditions may change according to the network environment.

Meanwhile, the detector132transmits a command to the address generator110to generate a care of address to be used in the external network if the hand-off is performed by the selector133. In short, the term “a care of address” is a temporary IP address for a mobile device as used in the industry.

At this time, the care of address accords with mobile IPv6 standards. If the wireless networking device100is moved from the home network to the external network, the wireless network device100receives the care of address that represents the current location thereof. Also, the gateway of the home network maintains mapping information between the address used by the wireless networking device in the home network and the care of address. With such mapping information, a packet may be transmitted through the care of address without passing through the gateway of the home network.

The care of address generated by the address generator110is supplied to the information receiver131in order to be transmitted to the information manager134. The information manager134determines whether the received address is used in the home network to confirm the hand-off. Specifically, the information manager134determines that the hand-off is to be performed if the care of address is transmitted. If the care of address has not been transmitted, the information manager134may determine that the wireless networking device100is located in the home network.

If the care of address is transmitted, the information manager134controls the router information setter120to transmit a command to renew the gateway information of the external network.

At the same time, the hand-off setter135controls the hand-off performer140to perform the hand-off.

If the power of the wireless networking device100is turned on, the initializer136determines whether the address of the home network exists, and may set the address of the home network according to a result of the determination. If the address of the home network does not exist, the initializer136may change the state of the wireless networking device100into the state of waiting for the router information from the predetermined network.

Hereinafter, a communication method using the wireless networking device100will be described.

FIG. 5illustrates an initializing method that is performed when the power of the wireless networking device100is turned on, according to an illustrative, non-limiting embodiment of the present invention.

As shown therein, if the power of the wireless networking device100is turned on, the initializer136sets a socket to communicate with other wireless networking devices in operation S110.

Then, the initializer136determines whether the router information exists with respect to the predetermined network in operation S120. The router information may specify the home network or the external network. The initializer136may initialize the home network or the external network according to the existing router information.

As an example of the present invention, the wireless networking device100is located in the home network.

If it is determined that the router information of the home network exists, the initializer136generates a message comprising the router information of the home network in operation S130, and transmits the generated message to the address generator110in operation S140.

At this time, the address generator110generates a predetermined address through the router information included in the transmitted message, and determines whether the address is the same as the address of other wireless networking devices.

If the router information of the predetermined network does not exist, the home network maintains the stand-by mode until it receives the router information from the gateway of the corresponding network in operation S150.

FIG. 6illustrates, according to an exemplary, non-limiting embodiment of the present invention, a method of determining the hand-off to the external network if the wireless networking device100is moved from the home network to the external network and now receives new router information.

As shown therein, if the router information, depicted inFIG. 7, of the predetermined network is received though the information receiver131as shown inFIG. 6, the received router information is transmitted to the detector132in operation S210. The received router information may comprise DNS information, and the DNS information may comprise a DNS server address, as shown inFIG. 8.

The detector132may determine whether the current network is the home network or the external network in operation S220.

If the detector132determines that the router information specifies the home network in operation S230, the wireless networking device100remains in operation in the existing home network, in operation S240.

If the detector132determined that the router information specifies the external network, the wireless networking device100determines whether to perform the hand-off to the external network in operation S250.

If the received router information does not exist or the router information is being received as shown in operation S150inFIG. 5, a message is transmitted to the address generator110to request the router information of the corresponding network, and the stand-by mode is maintained to receive the router information according to the transmitted message.

FIG. 9illustrates a method of determining the hand-off of operation S250ofFIG. 6.

As shown therein, if it is determined that the router information of the external network has been received, the detector132calculates the number of hops to the gateway of the external network, in operation S251.

The selector133determines whether the gateway exists, which corresponds to the router information supplied to a pre-stored gateway list in operation S252.

If the selector133determines that the gateway corresponding to the received router information exists, the selector133compares the number of the hops to the gateway of the home network with that of the external network in operation S253.

If the number of hops to the gateway of the external network is less than that of the home network, a predetermined value is added to the gateway of the external network in operation S254.

If the result exceeds a predetermined reference vale in operation S255, the hand-off to the external network is performed in operation S256.

If it is determined that the hand-off should be performed, the detector132transmits a request message shown inFIG. 10to generate the care of address to the address generator110in operation S257.

If the router information received by the address generator110comprises DNS information, the DNS information may be included in the request message that instructs generation of the care of address, as shown inFIG. 11.

In the determining method ofFIG. 9, if the gateway according to the received router information does not exist in the gateway list, the gateway list is updated in operation S258. If the number of hops to the gateway of the home network is smaller than that of the external network, or the added value of the gateway is smaller than the reference value, the hand-off is not performed, operation S259.

If the care of address is generated by the address generator110, the information manager134controls the router information setter120to set a basic gateway as the gateway of the external network.

FIG. 12is a flow chart illustrating a method of setting a basic gateway as the gateway of the external network.

The information manager134controls the router information setter120to set the basic gateway based on the kind of the information received from the address generator110via the information receiver131.

As shown inFIG. 12, the information manager134determines the kind of the information received through the information receiver131in operation S310.

The exemplary information received from the address generator110through the information receiver131is shown inFIGS. 13 and 14. Specifically,FIG. 13illustrates the structure of care of address information supplied to the information manager134andFIG. 14shows the structure of router information of the home network.

If it is determined that the received information is the router information of the home network in operation S320, the information manager134parses the received router information in operation S330.

Then, the parsed router information is transmitted to the hand-off setter135to make the hand-off performer140maintain the operation in the home network in operation S340.

If the received information is the care of address, the information manager134parses the received care of address in operation S350.

At this time, in operation360, the message is transmitted to the router information setter120to change the basic gateway through the gateway address included in the external network according to the parsed care of address. The request message to perform the hand-off is transmitted to the hand-off setter135in operation S370.

The method of performing the hand-off according to the request message transmitted in operation S370inFIG. 12is shown inFIG. 15.

As shown inFIG. 15, the hand-off setter135receives the message requesting the hand-off from the information manager134at operation S410.

The hand-off setter135transmits the hand-off performance message including the care of address generated by the address generator110(as shown inFIG. 16) according to the message requesting the hand-off in operation S420.

The hand-off performer140performs the hand-off to the external network corresponding to the received router information according to the transmitted hand-off performance message, in operation S430.

If the hand-off to the external network is completed, the hand-off performer140transmits a response message (as depicted inFIG. 18) to the hand-off setter135in response to the hand-off performance message in operation S510, as shown inFIG. 17.

The hand-off setter134may determine whether to perform the hand-off by checking the lifetime included in the received response message.

That is, if the lifetime included in the response message is zero in operation S520, the wireless networking device100is considered moved to the home network and the hand-off is not performed, thereby repeating the address of the home network in operation S530.

If the lifetime is a positive number, the wireless networking device100is located in the external network and the hand-off is completed in the external network in operation S540.

FIG. 19illustrates a communication method of the wireless networking device100.

As shown inFIG. 19, if the power of the wireless networking device100is turned on, the wireless networking device100is initialized in operation610. If the wireless networking device does not have the router information of the predetermined network in operation S620, the wireless networking device100receives the router information from the gateway of the predetermined wireless network, and it goes into a stand-by mode to receive the address of the corresponding gateway in operation S630. If it has received the address of the gateway of the corresponding network, the wireless networking device100operates in the home network in operation S640.

If the router information of the home network exists at the initialization state (operation S610), the wireless networking device100operates directly in the home network in operation S640. If the router information of the external network exists at the initialization state (operation S610), the wireless networking device100operates directly in the external network in operation S650.

At this time, if the hand-off is performed in the state of operating in the home network or external network (operations S640and S650), the wireless networking device100requests the address generator110to generate the care of address, and goes into the stand-by mode to receive the requested care of address in operation S660.

If the wireless networking device has received the care of address, the wireless networking device100performs the hand-off in operation S670. The hand-off is performed from the home network to the external network in operation S650, and from the external network to the home network in operation S640.

For example, if the hand-off is performed from the existing home network to the external network, the lifetime included in the response message of the hand-off performer120is a positive number. Conversely, if the hand-off is performed from the external network to the home network, the lifetime included in the response message is zero.

According to the exemplary embodiment of the present invention, it may be possible to determine whether the address of the wireless networking device, which performs the hand-off between a plurality of wireless networks, is repeated in multiple home networks.

In addition, according to the exemplary embodiment of present invention, it may be possible to know the proper time of the hand-off between the plurality of wireless networks, and to minimize the transmission delay.

It will be understood that the methods and structures embodying the invention are shown by way of illustration only and not as a limitation of the invention. It will be understood by those of ordinary skill in the art that various changes in form and details may be made to the present invention without departing from the spirit and scope of the invention as defined by the following claims. Therefore, the scope of the invention is given by the appended claims, rather than the preceding description, and all variations and equivalents which fall within the range of the claims are intended to be embraced therein.