To address the above-mentioned need a method and apparatus is provided for allowing communication of a secondary communication device over spectrum allocated to a primary user. During operation a node wishing to communicate will determine a route to a destination device that will cause a least amount of interference to a primary communication system. Communication will then take place only if the sum of all communications along the route will not cause interference to the primary communication system.
The present invention encompasses a method for communicating by a secondary communication device over spectrum utilized by a primary communication device. The method comprises the steps of selecting a best route to utilize based on a function of intervening nodes' distance to a primary communication device and/or signal-strength measurements of the primary communication device. The best route is then utilized to transmit information to the destination node.
The present invention encompasses a method for communicating by a secondary communication device over spectrum utilized by a primary communication device. The method comprises the steps of determining at least one route to a destination node using a cost, wherein the cost of the route is a function of intervening nodes' signal-strength measurements of a primary communication device. A route to the destination node having a least cost is then utilized.
The present invention additionally encompasses a method comprising the steps of receiving a route reply (RREP) message, wherein the route reply message comprises a cost for a route, and wherein the cost for the route is a function of intervening nodes' signal-strength measurements of a primary spectrum user. A signal strength measurement of the primary spectrum user is determined and the cost of the route is modified based on the signal strength measurement of the primary spectrum user. The modified RREP message is then forwarded.
The present invention additionally encompasses an apparatus comprising logic circuitry determining at least one route to a destination node using a cost, wherein the cost of the route is a function of intervening nodes' signal-strength measurements of a primary communication device. A transmitter is provided for utilizing a route to the destination node having a least cost.
The present invention additionally encompasses an apparatus for communicating by a secondary communication device over spectrum utilized by a primary communication device. The apparatus comprises logic circuitry selecting a best route to utilize based on a function of intervening nodes' distance to a primary communication device and/or signal-strength measurements of the primary communication device, and a transmitter utilizing the best route to transmit information to the destination node.
Turning now to the drawings, wherein like numerals designate like components,
Primary communication system 120 is also shown in
As one of ordinary skill in the art will recognize, transmissions between two nodes within communication system 100 generally take place through intervening nodes, with the intervening nodes receiving a source transmission, and relaying the source transmission until the source transmission reaches its destination node. Thus, a first node, wishing to transmit information to a second node, must first determine a route (i.e., those intervening nodes) between the first and the second node. In a preferred embodiment of the present invention a cost-based routing algorithm (e.g., the Ad hoc On-Demand Distance Vector (AODV) algorithm) is utilized to determine a route between a source and a destination node. As discussed in the Internet Engineering Task Force (IETF) RFC [Request for Comments] 3561, the Ad hoc On-Demand Distance Vector (AODV) algorithm enables dynamic, self-starting, multi-hop routing between participating mobile nodes wishing to establish and maintain an ad hoc network.
During route formation a “hop count” is determined and a route with a lowest “hop count” is utilized. It is realized that there are other “cost” metrics one could use besides hop count. Examples where cost-based routing is described are Kai-Wei Ke and Chin-Tan Lea, “On cost-based routing in connection-oriented broadband networks,” Proc. Global Telecommunications Conference, vol. 2, 1999, pp. 1522-1526, and Jian Chu, Chin-Tau Lea, and Albert Wong, “Cost-based QoS routing,” Proc. 12th Intl. Conf. Computer Communication and Networks, 20-22 Oct. 2003, pp. 485-490.
As a secondary communication system, communication system 100 will utilize spectrum assigned to a primary system 120 using an opportunistic approach. With this approach, the secondary radio system 100 will share the spectrum with primary incumbents as well as those operating under authorization on a secondary basis. Under these conditions, it is imperative that any user in the cognitive radio system 100 not interfere with primary users. In order to address this issue, during operation, a node wishing to communicate will determine a route to a destination device that will result in a least “cost”. In this case, “cost” comprises an amount of interference to a primary communication system. Communication will then take place utilizing the route with the least cost, only if the sum of all communications along the route will not cause interference to the primary communication system. This is illustrated in
Cost-based routing schemes employ routing tables in each network node, indexed by destination node address. In each entry in the routing table, the address of the “next hop,” or next relay node, is given, along with the cost of routing the message to the destination via that relay node. (A node's own address is always in the routing table, with a routing cost of zero.) If a node possesses a message for transmission, it searches its routing table for the entry of the destination node and the cost of utilizing the route. If the entry exists, the node sends the message to the relay node indicated in the table. However, if a source node has a message for a destination node, but does not have an entry for that destination node in its routing table, the route from source node to destination node must be discovered before the message can be sent.
To accomplish this, the source node broadcasts a “Route Request” (RREQ) message to all nodes in the network. The RREQ message contains the address of the source node and the address of the destination node. Network nodes that receive the RREQ message rebroadcast it if they do not have an entry for the destination node in their routing tables. If they do have an entry, however, they send/create a “Route Reply” (RREP) message to the source node, listing a cost of forwarding the message to its destination via that node (a value found in their routing table, but subject to being updated before transmission). As discussed, the cost of forwarding the message comprises a sum of all signal-strength measurements of a primary node for all relaying nodes. In other words, the cost of forwarding a message comprises the summed signal strength measurements as perceived by all intervening, or relaying nodes.
Any node creating or relaying a RREP message to the source node will add their incremental routing cost to the value in the RREP they receive, and then forward the modified RREP message, with a new cost value, on the route back to the source node. They also update their routing tables with an entry for the destination node. When the RREP message reaches the source node, the message contains a total cost for that route (i.e., a sum of all signal strength measurements). Should multiple RREP messages be received (due to multiple competing routes), the source node examines the message with the least cost, and inserts that cost, plus the address of the last relaying node of that message, into its routing table, linked to the destination node address. The source node now has a least-cost routing table entry for the destination node, and can send messages to it.
Cost-based routing is a very useful technique, because cost may be defined in a manner that best achieves the needs of the network. In the present invention, the cost of an individual relay link may be defined, for example, as a function of intervening nodes' signal-strength measurements. Particularly, one embodiment utilizes a sum of all intervening nodes' signal strength measurements of a primary spectrum user, such that nodes with low summed received signal strength will have a low routing cost and nodes with high summed received signal strength will have a high routing cost. In this way, routes less likely to interfere with the primary spectrum user will be preferentially selected. Similarly, if all individual relay links have substantially the same received signal strength, and therefore the same cost, the route with the fewest relay links (and therefore requiring the fewest transmissions, and therefore least likely to cause interference to the primary user) will be preferentially selected.
Note that, since signal strength is a function of a node's distance to the primary spectrum user, distance may be used as a proxy for signal strength measurements. Nodes physically closer to a primary spectrum user may be assigned higher costs than nodes further away, so that routes employing nodes distant from the primary spectrum user will be preferentially selected. Thus, if the cost function comprises a sum of all intervening nodes' distances to a primary communication device, the step of determining the best route would comprise the step of determining a route with a greatest sum of all intervening nodes' distances to a primary spectrum user.
In a preferred embodiment of the present invention, to further protect a primary spectrum user a route may be declined by a node if its cost is above a threshold. The threshold may be predetermined, or calculated based on, for example, primary spectrum user received signal strength or an amount of recent transmission activity of the node or its neighbors. The threshold may be time-variable, so that nodes that have recently transmitted frequently will have lower route-rejection thresholds that increase over time. If the primary user is not continually active, the threshold can be high when its signal is not detected, then lowered upon its detection. Similarly, routing costs may also vary with time. Note that if the cost of the lowest-cost route is above the threshold, in order to protect the primary spectrum user, there will be no route available from source to destination. In this case, the route discovery procedure is performed by the source on the blocked destination from time to time, to identify routes that may become viable (i.e., with costs below the threshold) due to a change in the primary or secondary users or their environment.
As is evident, the above logic flow results a best route being determined based on a function of intervening nodes' distance to a primary communication device and/or signal-strength measurements of the primary communication device.
If, at step 603, logic circuitry 403 determines that a RREP message was received, the logic flow continues to step 613 where logic circuitry 403 instructs receiver 402 to determine a signal strength value for the primary spectrum user. At step 617, receiver 402 supplies a signal strength value to logic circuitry 403, which then uses this value, together with the routing cost value found in the routing table, to calculate a new routing cost value. At step 619, logic circuitry 403 stores this new value, indexed by the destination address received in the RREQ message, in the routing table in storage 404. At step 621, logic circuitry 403 generates a RREP message, containing the new routing cost value for the route to the destination node, and instructs transmitter 401 to transmit the RREP message to the source node and the logic flow returns to step 601.
While the invention has been particularly shown and described with reference to a particular embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention. For example, although the above description was given with a route being formed with multiple intervening nodes, one of ordinary skill in the art will recognize that the above technique may be applied to any two-way communications. During such a scenario, each user will determine an effect that both users' communications will have on the primary communication system. Communication will either be prevented or allowed based on both users' effect on the primary user of the spectrum. It is intended that such changes come within the scope of the following claims.