The present invention relates to communication methods; more particularly, the present invention relates to methods for supporting rapid network topology changes with low overhead costs and devices of the same; the present invention relates to the field of communication technology.
As telecommunication technologies evolve, the mobility of terminal devices has been enhanced greatly. Multi-hop networks have also been deployed more widely. In the multi-hop network, the mobility of terminal devices can be fairly ad hoc. The terminal devices can move freely within one network or between different networks. Additionally, the terminal devices can be turned on or off randomly. Due to these rapid changes that may happen randomly in the multi-hop network, as well as the changes caused by the variation in transmitting power of the wireless devices, the interference among wireless channels, and the torrential difference, the topology structure of the multi-hop network may change accordingly. Unfortunately, such structural change cannot be predicted. Thus, it is difficult for the conventional network routing protocols to reflect the changing topology in real time. Furthermore, the control signals sent in the network for maintaining the topology can cause excessive transmission overhead, wasting a great portion of the network bandwidth, and consequently degrading network performance.
In the multi-hop network, most conventional routing protocols adopt the Distributed Bellman Ford (DBF) algorithm or link state (LS) routing to route data within the network. Due to the distributed nature of the DBF, it is simple to deploy and can effectively compute the single-source shortest paths in the network. However, slow convergence and a tendency to create routing loops make the DBF not suitable for the type of network having rapid topology changes. Although some solutions have been utilized to resolve the routing loop problem, the slow convergence of the DBF remains a problem in the art.
Some adopt the link state routing protocol to solve the slow convergence problem of the DBF. In the link state protocol, every node in the network constructs a map of the connectivity of the network in the form of a graph showing which nodes are connected with other nodes; as a result, the looping problem can be easily avoided. Additionally, since any changes in the links will trigger real time updates, it takes less time to converge new topology than the DBF does. However, the link state protocol requires each switching node in the network to send its information about its neighbors to the entire network, and thus results in high overhead, especially in the network where frequent changes occur. Massive update messages occupy a great portion of the valuable bandwidth, degrading the network performance.
In light of the drawbacks of the above prior arts, the primary object of the present invention is to provide a wireless communication method utilizing a protocol message, such as a beacon, to reflect real time adaptive topology changes with low overhead costs.
One embodiment of the present invention provides a wireless communication method for supporting rapid network topology changes. The method includes broadcasting a first protocol message using a first broadcast cycle, the first protocol message being used for establishing a routing information between a node and a destination node; and broadcasting a second protocol message using a second broadcast cycle, the second protocol message being used for establishing a link information between the node and a neighbor node, wherein the first broadcast cycle is different from the second broadcast cycle, and the first broadcast cycle is dynamically adjusted depending on a corresponding detailed message contained in a plurality of segments in the first protocol message so as to reduce a number of broadcast of the first protocol message.
One embodiment of the present invention also provides a wireless communication device for supporting rapid network topology changes. The device performs the present method for supporting rapid network topology changes. The present method includes broadcasting a first protocol message using a first broadcast cycle, the first protocol message being used for establishing a routing information between a node and a destination node; and broadcasting a second protocol message using a second broadcast cycle, the second protocol message being used for establishing a link information between the node and a neighbor node, wherein the first broadcast cycle is different from the second broadcast cycle, and the first broadcast cycle is dynamically adjusted depending on a corresponding detailed message contained in a plurality of segments in the first protocol message so as to reduce a number of broadcast of the first protocol message.
In particular, the present invention dynamically adjusts a broadcast cycle of the protocol message based on the detailed message contained in the protocol message, such as a height beacon (HT beacon) or a neighbor beacon (NBR beacon), thereby reflecting real time adaptive network topology changes and lowering network transmission overhead costs.
The present invention may be implemented utilizing a height-based routing protocol. As shown in
In the concept of the height routing, the specific traffic path is not necessary the shortest rout between the top and the bottom of the mountain. The main point is to keep the traffic flowing downward. When the flow is closer to the top of the mountain, it does not need the change on the bottom of the height to affect its path because the flow is still moving towards the bottom. In other words, establishing the height is not about establishing a route but to provide a direction for the route.
However, in order to select between different heights, it is important to maintain a record for the different height, namely height table. The record for the heights selected to be used for data transmission becomes the route table.
In accordance with the height routing protocol, a local route table is used for sending and receiving data on the network. The data that is transferred through a link between a node and its neighbor node (NBR) may not need to rely on the height. Therefore, in order to implement a local routing, a rapid testing may need to take place between the neighbor nodes so as to discover the changes in the links in real time. Non-local routing does not need rapid update of the routing information when passing through the height.
In particular, in accordance with the present invention, to send out data, a neighbor routing table may need to be looked up first so as to send the data directly through local routing. If there is no corresponding destination, then the data is sent according to the routes maintained in the route table.
In accordance with the present invention, first of all, the link state message with short broadcasting cycle needs to be small; furthermore, the routing message with large information needs to be sent less frequently; thirdly, the rapid change information is not to be broadcasted too often. In general, two types of protocol message may be maintained within a node, namely a link status message between a node and its neighbor and a routing message between the node and its destination. The routing message between the node and its destination may be established based on the link status message between the node and its neighbors. When the number of the hops to the destination node increases, the routing messages between the node and its destination nodes also increase; however, the link status message between the node and its neighbors may not change due to the increase of the number of the hops to the destination node. Thus, according to the present invention, when the neighbor nodes are changed rapidly, the size of the link state message is to be kept small, and the broadcast cycle short; the size of the routing message may be kept large, and the periodic broadcast to its minimum.
The present invention utilizes, a protocol message, such as a beacon, to reflect real time topology changes, and reduce overhead costs. In particular, according to the present invention, a broadcast cycle of the beacon is dynamically adjusted depending on the type of the beacon, such as a height beacon (HT beacon) or a neighbor beacon (NBR beacon), thereby reflecting real time topology changes and reducing overhead costs.
The present invention may be implemented utilizing a height beacon (HT beacon) and a neighbor beacon (NBR beacon). Based on the detailed message carried in the two beacons, the broadcasting cycles of the two beacons may be dynamically adjusted. In particular, the height beacon may be used to establish a route table. The characteristics are that the size of the detailed message carried in the height beacon may be relatively large and that the update speed is slow. Therefore, the broadcast cycle of the height beacon may be set longer. The neighbor beacon may be used to establish a neighbor routing table. Since the size of the detailed message carried in the neighbor beacon may be relatively small, the broadcast cycle of the neighbor beacon may be set shorter.
Therefore, in the embodiment of the present invention, the two beacon may be broadcasted in different cycles depending on the detailed message carried therein so that the height beacon may be used to establish a route table while the neighbor beacon may be used to establish a neighbor route table. Due to the different broadcast cycles, the topology changes may be updated in real time, while the broadcasting overhead is reduced.
Refer to
Specifically, the height beacon of the present invention may include three segments so as to carry detailed messages about the height beacon. As shown in
For example, the height beacon may carry a detailed message with short broadcast cycle in the query and/or reply segment. The height beacon may carry detailed messages with longer broadcast cycle in the update segment. In other words, the height beacon may be broadcasted in an event driven manner. That is, when the height beacon carries detailed messages in the query and/or reply segment, the height beacon may be set to broadcast in shorter cycles. On the other hand, when the height beacon carries detailed messages in the update segment, the height beacon may be set to broadcast in longer cycles. As a result, the present invention may adjust the broadcast cycle of a protocol message, such as a beacon, according to the detailed message carried therein, thereby reducing unnecessary broadcast of the protocol message.
In one embodiment of the present invention, the detailed messages carried in the segments may be broadcasted in the same height beacon. In another embodiment of the present invention, the detailed messages carried in the segments may be broadcasted separately.
In one embodiment of the present invention, a life cycle of a route may be categorized in five different status types. Thus, different detailed messages may be contained in the height beacon depending on the status of the life cycle:
Refer to
In accordance with the present invention, the neighbor beacon may request the broadcast cycle as well as the type of messages that carry neighbor information. The neighbor nodes may select a given number of neighbors as close neighbors. The selection may utilize the conventional method for selecting close neighbors. Close neighbors may also select the best neighbor identified by the current height.
Since the purpose of route selection is to reasonably reduce the transmission time, and increase the utilization of wireless network resources, the present invention further introduces the concept of cost to dynamically adjust the broadcast cycle of the protocol message. In one embodiment of the present invention, the value of cost may be defined as a time value needed from a source node to a destination node. The time value may be affected by wireless connection status, network traffic, packet size, data transmission rate, or any combination thereof The cost value may be recorded in the route table as well as the neighbor route table. For example, the neighbor route table may record the cost vale between the node to the neighbor node, while the route table may record the cost value between the node to the destination node.
Furthermore, the present invention introduces an additional parameter to adaptively adjust the cost value. That is, the cost value is calculated by a weighted average of the original cost value and a new cost value. The adaptive cost value may be calculated by using the following equation:
Cost=Old Cost+A*New Cost, where o<A<1, and A is a configurable parameter.
In accordance with the present invention, the protocol message, such as the height beacon and the neighbor beacon, may be broadcasted in different cycles depending on the detailed message carried therein, thereby updating the height table and neighbor table accordingly.
Refer to
In one embodiment of the present invention, if the change of the cost value exceeds a certain threshold, the cost value of the height may be affected. The threshold may be configured manually. Therefore, when the changes exceed a certain threshold, the cost of the height is affected. Since the height is selected from all the selectable height messages, and these height messages are selected for routing data according to a particular principle, such as a best-cost principle, if the change of the cost of the height exceeds a certain number, the final route selection may be affected.
In one embodiment of the present invention, when the change of the cost in the link does not exceed the threshold to switch to a different link, the link may not be switched. In another embodiment of the present invention, when the change of the cost in the neighbor node does not exceed the threshold to switch to a different route, the neighbor node may not be switched.
In accordance with the present invention, at the link level, a ramp value may be calculated based on the cycle time provided by the neighbor beacon so as to expire the link. In accordance with the present invention, the ramp value records the number of packet loss during a broadcast cycle of the neighbor node. When the number of packet loss exceeds a predetermined value, the link is deemed non-operational.
Since the cost at the neighbor node level is the cost of the local route, which is not directly equal to the cost of the best link, but a value after modification, the neighbor route table still needs to utilize the cost of link and compensated transmission as reference when calculating the cost.
In one embodiment of the present invention, when an update message contained in the height beacon is received, such as a neighbor cost to destination, Cnd, or when the change of the cost of the corresponding neighbor node, such as cost to neighbor, Cn, exceeds a threshold for the routing cost, an entry of the cost value in the route table, such as cost to destination, Cd, may change, thereby activating a switch or a freeze mechanism for the route. The update process is shown in
In accordance with the present invention, a routing loop needs to be prevented when establishing the height. The routing loop may occur when the cost of a link suddenly changes due to an external factor, and such change cannot be notified to other nodes due to the short timing. As the original route passing through the old nodes is chosen based on the best route principle, it results in a loop. In a normal situation, only when the best cost chosen increases, will the occurrence of the loop be possible. The present invention prevents the looping problem through a freeze mechanism. If a route selected may not result in a loop, then it is not necessary to set the route to a frozen status.
As shown in
In one embodiment of the present invention, the sub-optimum can be chosen based on any one of the following conditions:
The Cnd of the other node is smaller than the Cd of the node prior to frozen.
The position of the other node in the height is lower than the node itself (Hop<My Hop).
In one embodiment of the present invention, the Cdf may need to be recorded before frozen so as to be used in testing for an unfrozen condition.
As mentioned above, the purpose of the height routing is to establish the height to the destination that is dynamically changed. The analogy of the source being the beginning of the flow on the mountaintop, the destination being the lake at the bottom of the mountain and the data being the height flowing from the top to the bottom of the mountain, and the height takes place regardless whether the water flows through has been given as above.
In order to reduce the overhead costs and reflect real time changes in topology, of all the heights adopted in the present invention, only a portion of the heights may be converted into useful heights. In accordance with the present invention, these heights may form into an oval shape. Limiting the oval shape may further reduce partial effect of the heights to the network as a whole.
The advantages of the present invention are as follows. 1. It greatly reduces the overhead cost of the wireless resources. 2. It greatly reduces the influence of the increase of the network overhead due to the rapid movement of the nodes. 3. It makes supporting a large area of network and large number of customers possible.
While the invention has been described in conjunction with exemplary preferred embodiments, it is to be understood that many alternatives, modifications, and variations will be apparent to those skilled in the art in light of the foregoing description. Accordingly, it is intended to embrace all such alternatives, modifications, and variations that fall within the scope of the included claims. The scope of the claims, therefore, should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements. All matters set forth herein or shown in the accompanying drawings are to be interpreted in an illustrative and non-limiting sense.
Number | Date | Country | |
---|---|---|---|
61106272 | Oct 2008 | US |