1. Field of the Invention
The present invention relates to a network path setting method and a wireless station, and more specifically to a network path setting method and a wireless station applicable to a wireless communications system, for example, having a number of connection paths provided for a service such as a wireless IP (Internet Protocol) phone.
2. Description of the Background Art
The wireless network having a number of connection paths is referred to, by different names from different points of view, as wireless multi-hop communications network, wireless ad hoc network and wireless mesh network. It will hereinafter be referred to generally as a wireless mesh network. It is desired in the wireless mesh network to select the optimum connection path from the number of connection paths.
U.S. patent application publication No. 2003/0091001 A1 to Watanabe discloses a conventional method for quickly searching for the optimum path for communication. The method uses, as an indicator in selecting the path in a wireless mesh network, weighting so that the bit error rate and data transfer rate of a link are reflected, where a link is a connection performed between nodes in one transmitting and receiving processing, and is referred to as a communication path in Watanabe.
The conventional technology, however, did not seek to achieve optimization across an entire path in the wireless mesh network. For example, the above-mentioned method discloses, in a layer that establishes a link, a weighting calculation method according to the bit error rate and transfer rate, a weighting calculation method taking account of an actual transfer delay, and an optimum route determination method using the weightings resulting from the above calculation methods. The weighting taking account of a transfer delay provides, however, greater weighting for a larger delay path and an extensive value added to the weighting, thereby making it more difficult to select that path.
A path having its bit error rate lower is not necessarily totally optimum. A path having its transfer delay lower is not necessarily totally optimum. For example, when some of the wireless resources have shorter queues, an attempt to achieve the total optimum of the wireless mesh network due to the wireless resources being short would require measures for minimizing the cost incurred on the entire network by a route selected.
Accordingly, it is an object of the present invention to provide a network path setting method and a wireless station that may select one of a number of connection paths which is suitable for an entire network.
The present invention provides a method for setting a path of a session specified in a wireless mesh network including a plurality of wireless stations, two of the wireless stations being defined as one end and the other end of the session, the method comprising the steps of: obtaining one or more potential paths for the session based on the number of hops; calculating, when a plurality of potential paths are obtained, wireless resource consumption for each potential path; and using the calculated wireless resource consumption as an evaluation parameter to select and set the path of the session.
The present invention also provides a method for setting a path of a session specified in a wireless mesh network including a plurality of wireless stations, two of the wireless stations being defined as one end and the other end of the session, the method comprising the steps of: obtaining one or more potential paths for the session based on the number of hops; calculating, when a plurality of potential paths are obtained, the traffic margin of a potential path for each potential path according to the traffic margin of a relaying wireless station; and using the calculated traffic margin of the potential path as an evaluation parameter to select and set the path of the session.
The present invention also provides a method for setting a path of a session specified in a wireless mesh network including a plurality of wireless stations, two of the wireless stations being defined as one end and the other end of the session, the method comprising the steps of: obtaining one or more potential paths for the session based on the number of hops; calculating, for a plurality of potential paths obtained, wireless resource consumption for each potential path and the traffic margin of a potential path for each potential path according to the traffic margin of a relaying wireless station; and using the calculated wireless resource consumption and traffic margin of the potential paths as evaluation parameters to select and set the path of the session.
The present invention also provides a wireless station included in a wireless mesh network, comprising a path setting circuit that performs any of the network path setting methods stated above.
In accordance with the present invention, for a plurality of potential paths existing for a session, wireless resource consumption and/or the traffic margin of each potential path are/is calculated for the potential path, and the calculated wireless resource consumption and/or the traffic margin of the potential paths are/is used as an evaluation parameter or parameters to select the path of the session, whereby a connection path can be selected which is suitable for the entire network.
The objects and features of the present invention will become more apparent from consideration of the following detailed description taken in conjunction with the accompanying drawings in which:
With reference to the accompanying drawings, a more detailed description will be given below on an embodiment of the network path setting method and wireless station according to the present invention. First, reference is made to
Referring to
The wireless transmitter 114 functions as transmitting wireless signals. The wireless receiver 111 functions as receiving wireless signals. Any suitable wireless communications method may be applied to the illustrative embodiment.
The receiver control 112 is adapted to extract a packet from a received wireless signal, and then inform the central control 103 via the connection manager 115 of the reception of packets. The receiver control 112 is adapted to be responsive to an instruction from the central control 103 to provide the received packet via the connection manager 115 to the central control 103 and/or queue manager 102. The wireless station 100 may be adapted to provide a packet received to be relayed via the connection manager 115 directly to the transmitter control 113.
The transmitter control 113 serves as generating or updating management information such as a destination or the number of hops to be included in the packet, and converting packets to a wireless or radio wave signal. Packets to be transmitted are provided by the central control 103 or queue manager 102.
The connection manager 115 performs a wireless media access control such as CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance). The connection manager 115 manages the signal input from the receiver control 112 and the transmission instruction from the central control 103, and switches the transmitting and receiving.
The path manager 101 manages information including information for a single hop link from itself (such as the address of a wireless station to be linked, a transfer rate and the latest communication time), multi-hop path information (such as the address of a wireless station to be connected, the address a wireless station to be hopped next, the number of hops and the number of remaining hops), other link information on the network, and load information on other wireless stations. The path manager 101 also holds information necessary for path selection.
The path manager 101 in this embodiment also holds information as described below, and selects a path in the manner as described below. From the viewpoint of selecting paths, the path manager 101 includes, as components for selecting paths, a selector 101a for selecting a plurality of potential paths or candidates, a calculator 101b for calculating an expected delay, a removing portion 101c for removing paths not satisfying the delay condition, a calculator 101d for calculating wireless resource consumption, a calculator 101e for calculating a traffic margin, and a path selector 101f.
The queue manager 102 serves as holding a packet to be relayed and a packet assembled in the wireless station 100, and responding to an instruction from the central control 103 to pass the packets in sequence to the transmitter and receiver module 110.
The central control 103 is an overall controller for controlling the portions and elements described above. The central control 103 works with an information processor or the like, not shown, associated with the wireless station 100.
A description will now be given to the path setting operation by the wireless station 100 in the illustrative embodiment. Generally, in links between wireless stations, or nodes, in a wireless mesh network of the same segment, an optimum transfer rate is set automatically through the negotiation on the physical layer. For example, the existing wireless cards adhering to IEEE (Institute of Electrical and Electronics Engineers) 802.11 b/g or the like has such a setting function. This can confirm how much the transfer rate is set on each link.
Each node in the wireless mesh network as described above measures the load of the queue processing in the form of, for example, the current queue length x average packet transfer interval.
Reference will be made to
In step S1, for a session for which the pass setting is requested, a plurality of paths corresponding to the minimum number of hops are selected as potential paths from end to end.
In step S2, with the packet data size and throughput condition in the instructed call quality being satisfied, an expected delay from end to end is calculated based on the transfer rate on each link and queue load at each node. In expectation that the load of the queue processing will increase after a session is added, an adequate margin is set so as to estimate a heavier load. It is to be note that the margin may have its length fixed because the added session has its traffic amount sufficiently smaller than the capacity of the entire network.
The expected delay time is equal to the total of the link transfer time on the links in a potential path in question plus the total of the packet processing time and average queue-passing time at the nodes in the potential path in question. The link transfer time per link and the in-node packet processing time per node may be omitted from the calculation because they are negligibly smaller than the average queue-passing time elapsed since the packet reaches the node until the packet leaves the node. In this case, the expected delay time can be expressed as:
Expected delay time=Σ(average queue-passing time at a node), where the summation is made on the nodes of interest.
In step S3, one or ones of the plurality of potential paths are deleted or excluded which has or have an expected delay time not satisfying the delay condition of the instructed communication quality.
In steps S4 and S5, a node having its queue extremely long may make it difficult to ensure the call quality of a session that needs to pass through that node. In order to keep the wireless resource consumption as well as the queue-passing time at each node less than or equal to a reference, it is thus necessary to suppress the traffic concentration on some of the nodes. It is thus needed to calculate the wireless resource consumption and traffic margin.
A wireless resource consumption is applied that is expressed by the total of the link transfer times with the signal collision ratio taken into account. The wireless resource consumption can be calculated from the following expression, for example:
Wireless resource consumption [time]=Σ(((data size+header size)/link transfer rate+transfer overhead time)×Σ(1+signal collision ratio))/packet transmission interval, where the former summation is made over all links in a potential path of interest, and the latter summation is on the nodes at both ends of a link of interest.
The margin of conveyable traffic, of which the value ranges from zero to one inclusive, for example, of a node on a path may be applied that is expressed by multiplication of the conveyable traffic margin at all the relay nodes or by the minimum of the margin conveyable traffic at all the relay nodes. In the detailed description of the operation which will be made below, the latter type of conveyable traffic margin is applied.
In step S6, among the potential paths satisfying the communication quality that are not deleted in the step S3, selected is a path that has its margin of the queue on the path larger and its wireless resource consumption smaller. The session setting may thus add the lowest load to the network, thereby providing the largest traffic capacity of the entire network.
By the aid of specific examples, a description will be given below on the path setting operation in the illustrative embodiment. Referring now to
The signal collision ratio is represented by, for example, the ratio of the number of attempted signal transmissions to the number of actually failed transmissions that are recognized by the connection manager 115, at a node of interest in a predetermined period of time. The signal collision ratio may be held in the path manager 101 of each node and may be transmitted between the nodes by a control packet to allow each node to obtain the ratio of the other nodes.
The average and maximum times necessary for processing packets that pass through a node are, for example, the average and maximum of measured times taken, at a node of interest in a predetermined period of time, since a transmission packet enters the queue under the management of the queue manager 102 until the transmission packet is transmitted by the wireless transmitter 114. The average and maximum times may be held in the path manager 101 of each node and may be transmitted between the nodes by a control packet to allow each node to obtain data of the other nodes. The time may be measured by referencing the system clock of a node to obtain the time when a packet enters the queue and recording the time in the queue manager 102, then using again the system clock, when the packet is transmitted, to obtaining the current time, and then comparing the current time with the previous time which was obtained when the packet enters the queue and has been recorded in the queue manager 102 for that packet. The times thus measured may be held in the path manager 101.
The margin of conveyable traffic at each node is an index indicating a difference of the current traffic amount imposed on a node from a processable traffic amount at that node obtained by e.g. measuring by the path manager 101. The margin of conveyable traffic may be held in the path manager 101 of each node and may be transmitted between the nodes by a control packet to allow each node to obtain the margin of the other nodes. The margin of conveyable traffic may be transmitted between and shared by the nodes by a control packet to allow each node to obtain data on the nodes therearround.
For example, the margin of conveyable traffic of the node may be expressed by either of the following expressions:
Margin of conveyable traffic=(processable traffic amount−current traffic amount)/processable traffic amount, or
Margin of conveyable traffic=(processable traffic amount−current traffic amount)/(processable traffic amount)2.
Suppose that data on the transfer rate at the links between the nodes are available as shown in
Suppose now that a new session shown in
Although the path allocation or setting is basically performed in the flow shown in and described with reference to
In the session request confirmation, it is confirmed, for example, that request parameters or the like fall within the range accepted by the wireless mesh network 10. The session with its session ID=01 shown in
In step S1,
In step S2, the average and maximum of the expected delay time are calculated by adding the average and maximum values of the time necessary for processing a packet that passes through a relay node with respect to all the relay nodes. The second column in
The potential path L1, for example, has the node BS02 as a single relay node. Therefore, the average (26 msec) and maximum (40 msec) of the node-passing time of the node BS02 directly form the average (26 msec) and maximum (40 msec) of the expected delay time of the potential path L1. The potential path L5, for example, has the two nodes BS02 and BS06 as relay nodes. Therefore, the addition of the average (26 msec) and maximum (40 msec) of the node-passing time of the node BS02 to the average (10 msec) and maximum (16 msec) of the node-passing time of the node BS06 results in the average (36 msec) and maximum (56 msec) of the expected delay time of the potential path L5.
In step S3, after the expected delay time, particularly, the average and maximum thereof, is determined, it is compared with the requested delay, and the potential paths that do not satisfy the requested delay are removed. The requested delay may also be given in either one or both of its average and maximum.
In respect of the session request shown in
In step S4, the wireless resource consumption is calculated for each link on each unremoved potential path. The wireless resource consumption for each unremoved potential path is calculated by adding or summing up the wireless resource consumption for all the links on that path. The transfer overhead is supposed here to be 0.1 msec/packet. The following expression is the same as described earlier, but is modified. The packet length (=data size+header size) is 200 bit, independent of a link. The packet transmission interval is 0.02 second, also independent of a link. Wireless resource consumption [time]=Σ((transfer overhead+packet length/transfer rate)/packet transmission interval×Σ(1+signal collision ratio)). The potential path L1, for example, has a link between the nodes BS01 and BS02 and a link between the nodes BS02 and BS09.
The former link between the nodes BS01 and BS02 has its transfer rate equal to 50 Mbps. The link thus has its value of (packet length/transfer rate) equal to 200 bit/50 Mbps, which is 0.004 msec/packet. The link thus has its value of ((transfer overhead+packet length/transfer rate)/packet transmission interval) equal to (0.1+0.004)/0.02 msec, which is 5.2 msec. The nodes BS01 and BS02 at both ends of the former link have the signal collision ratio thereof equal to 0.2 and 0.3, respectively. The value resultant from the summation, Σ(1+signal collision ratio), is thus (1+0.2)+(1+0.3)=2.5. The former link thus has its wireless resource consumption of 5.2×2.5.
The latter link between the nodes BS02 and BS09 has its transfer rate equal to 2 Mbps. The link thus has its value of (packet length/transfer rate) equal to 200 bit/2 Mbps=0.1 msec/packet. The link thus has its value of ((transfer overhead+packet length/transfer rate)/packet transmission interval) equal to (0.1+0.1)/0.02=10 msec. The nodes BS02 and BS09 at both ends of the latter link have the signal collision ratio thereof equal to 0.3 and 0.1, respectively. The summation, Σ(1+signal collision ratio), is thus (1+0.3)+(1+0.1)=2.4. The latter link thus has its wireless resource consumption of 10×2.4. As a result, the potential path L1 has its wireless resource consumption of 5.2×2.5+10×2.4=37.
The third column shown in
In step S5,
The potential path L1, for example, has the node BS02 as its single relay node. The potential path L1 thus has its traffic margin equal to the traffic margin 0.5 of the node BS02 when any calculation method is applied.
The potential path L8, for example, has two nodes BS03 and BS05 its relay nodes. The potential path L8 thus has its traffic margin equal to a value of 0.7, which is the lower one, i.e. minimum, of the traffic margin 0.8 of the node BS03 and the traffic margin 0.7 of the node BS05. Note that if the multiplication method is applied, then the traffic margin of the potential path will be 0.7×0.8=0.56.
The fourth column from the left in
In step S6,
In the example shown in
After the potential paths are selected or refined as described above, an evaluation value is calculated for each potential path. The potential paths are then ordered in the descending order of the evaluation values. The potential path of the highest order or score is selected as the path for the present requested session.
The evaluation value for the potential paths is a sophisticated value resultant from weighting parameter values, i.e. expected delay, wireless resource consumption and margin of conveyable traffic. The evaluation value may be calculated by making any of the parameter values reciprocal or inverting the sign of any of the parameter values, as needed. For example, the evaluation value may be calculated by the weighted addition of the values resultant from harmonizing the magnitude and applicability of the parameter values, for example, by obtaining the reciprocal of some of the parameter values. Alternatively, for example, the evaluation value may also be provided by ordering values for each parameter, and performing weighted addition on the values in consideration of the order in each parameter.
In short, it is important to define the evaluation value allowing a balanced path to be selected which has lower wireless resource consumption, a larger traffic margin and a smaller expected delay.
The fifth column from the left in
For example, when the path manager 101 of the wireless station BS01 allocates a path, the path manager 101 of the wireless station BS01 assembles a control packet to provide session information including the communication path and the like to the relaying wireless station BS08 and to the opposite, end wireless station BS09.
As described above, the illustrative embodiment selects a path by taking into account of the expected delay as well as the wireless resource consumption and margin of conveyable traffic, so that the selected path may satisfy the instructed communication quality, minimize the consumption of the limited wireless resources in the wireless mesh network 10, and avoid the traffic concentration on limited ones of the nodes 100. As a result, the session capacity of the entire wireless mesh network 10 may be increased to maximize the throughput.
Although the above-described illustrative embodiment determines a session path by using three parameters, i.e. the expected delay, wireless resource consumption and margin of conveyable traffic, at least one of the wireless resource consumption and margin of conveyable traffic may be used to determine a session path. Thus, the reduction of potential paths may, or may not, be performed according to the wireless resource consumption.
Although the above-described embodiment reduces or refines potential paths based on the expected delay and margin of conveyable traffic, the system may be adapted not to reduce potential paths before the determination according to an evaluation value. Conversely, the potential paths may be reduced to a predetermined number (e.g. five) of paths before the evaluation value is calculated.
Although the above-described embodiment calculates the parameters in the order of the expected delay, wireless resource consumption and margin of conveyable traffic, the parameters may of course be calculated in any other order.
Although the above-described embodiment is structured such that the node or wireless station 100 includes the transmitter and receiver module 110 in single, one node or wireless station 100 may be structured to include a plurality of transmitter and receiver modules 110. Even in the latter case, the path manager 101 may be provided in single to set paths in the similar manner as described above.
For example, a plurality of transmitter and receiver modules may deal at the same time with a plurality of different sessions corresponding to those modules. It is to be noted that links formed between opposing nodes by the respective transmitter and receiver modules different from each other, for example, when each module operates on a separate channel having its carrier frequency or the like different from each other, may be managed as links different from each other in traffic amount, transfer rate and the like, and may be included in different potential paths for a session request. Alternatively, such links may be processed as a single link integrating information on the different channels. For example, when the nodes BS01 and BS02 can communicate on both channels CH1 and CH2, the potential paths in the first column in
The entire disclosure of Japanese patent application No. 2005-261159 filed on Sep. 8, 2005, including the specification, claims, accompanying drawings and abstract of the disclosure is incorporated herein by reference in its entirety.
While the present invention has been described with reference to the particular illustrative embodiment, it is not to be restricted by the embodiment. It is to be appreciated that those skilled in the art can change or modify the embodiment without departing from the scope and spirit of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2005-261159 | Sep 2005 | JP | national |