# Patent

## Title
Radio frequency local area network

## Abstract

An apparatus and a method for routing data in a radio data communication system having one or more host computers, one or more intermediate base stations, and one or more RF terminals organizes the intermediate base stations into an optimal spanning-tree network to control the routing of data to and from the RF terminals and the host computer efficiently and dynamically. Communication between the host computer and the RF terminals is achieved by using the network of intermediate base stations to transmit the data.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
The present application is a continuation of application Ser. No. 10/123,873 filed Apr. 16, 2002, now U.S. Pat. No. 6,895,450 which is a continuation of application Ser. No. 09/060,287, filed Apr. 14, 1998, now U.S. Pat. No. 6,374,311, issued Apr. 16, 2002 which is a continuation of application Ser. No. 08/395,555, filed Feb. 28, 1995, now U.S. Pat. No. 5,740,366, issued Apr. 14, 1998 which is a continuation of application Ser. No. 08/255,848, filed Jun. 8, 1994, now U.S. Pat. No. 5,394,436, issued Feb. 28, 1995 which is a continuation of application Ser. No. 07/970,411 filed Nov. 2, 1992, now abandoned, which is a continuation-in-part of application Ser. No. 07/968,990, filed Oct. 30, 1992, now abandoned, which is a continuation-in-part of application Ser. No. 07/769,425, filed Oct. 1, 1992, now abandoned. Application Ser. No. 07/968,990 is also a continuation-in-part of PCT International Application No. PCT/US92/08610, filed Oct. 1, 1992 and published as WO 93/07691 on Apr. 15, 1993 which is a continuation-in-part of application Ser. No. 07/769,425. U.S. Pat. No. 6,374,311 is also a continuation-in-part of U.S. application Ser. No. 08/545,108, filed Oct. 19, 1995, now U.S. Pat. No. 5,940,771, issued Aug. 17, 1999 which is a continuation of: 1) U.S. application Ser. No. 07/947,102, filed Sep. 14, 1992, now abandoned; and 2) U.S. application Ser. No. 07/907,927, filed Jun. 30, 1992, now abandoned. Application Ser. No. 07/947,102 is also a continuation-in-part of application Ser. No. 07/907,927. Application Ser. No. 07/907,927 is a continuation-in-part of: 1) U.S. application Ser. No. 07/857,603, filed Mar. 30, 1992, now abandoned, which is a continuation-in-part of U.S. application Ser. No. 07/700,704, filed May 14, 1991, now abandoned, which is itself a continuation-in-part of U.S. application Ser. No. 07/699,818, filed May 13, 1991, now abandoned; 2) PCT Application No. US92/03982, filed May 13, 1992, now abandoned; 3) U.S. application Ser. No. 07/769,425, filed Oct. 1, 1991, now abandoned; and 4) U.S. application Ser. No. 07/802,348, filed Dec. 4, 1991, now abandoned, which is a continuation-in-part of U.S. application Ser. No. 07/790,946, filed Nov. 12, 1991, now abandoned.


STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT
The entire disclosures of each of the above applications Ser. Nos. 07/769,425, 07/968,990 and PCT/US92/08610, including the drawings and appendices are incorporated herein by reference as if set forth fully in this application.
Appendix B is a microfiche appendix containing a list of the program modules (also included as Appendix A) and the program modules themselves which comprise an exemplary computer program listing of the source code used by the network controllers and intelligent base transceivers of the present invention. The microfiche appendix has ten (10) total microfiche sheets and six hundred two (602) total frames, and was originally filed in application Ser. No. 07/970,411 on Nov. 2, 1992, and is hereby incorporated herein in its entirety by reference to said application Ser. No. 07/970,411.
BACKGROUND OF THE INVENTION
In a typical radio data communication system having one or more host computers and multiple RF terminals, communication between a host computer and an RF terminal is provided by one or more base stations. Depending upon the application and the operating conditions, a large number of these base stations may be required to adequately serve the system. For example, a radio data communication system installed in a large factory may require dozens of base stations in order to cover the entire factory floor.
In earlier RF (Radio Frequency) data communication systems, the base stations were typically connected directly to a host computer through multi-dropped connections to an Ethernet communication line. To communicate between an RF terminal and a host computer, in such a system, the RF terminal sends data to a base station and the base station passes the data directly to the host computer. Communicating with a host computer through a base station in this manner is commonly known as hopping. These earlier RF data communication systems used a single-hop method of communication.
In order to cover a larger area with an RF data communication system and to take advantage of the deregulation of the spread-spectrum radio frequencies, later-developed RF data communication systems are organized into layers of base stations. As in earlier RF data communications systems, a typical system includes multiple base stations which communicate directly with the RF terminals and the host computer. In addition, the system also includes intermediate stations that communicate with the RF terminals, the multiple base stations, and other intermediate stations. In such a system, communication from an RF terminal to a host computer may be achieved, for example, by having the RF terminal send data to an intermediate station, the intermediate station send the data to a base station, and the base station send the data directly to the host computer. Communicating with a host computer through more than one station is commonly known as a multiple-hop communication system.
Difficulties often arise in maintaining the integrity of such multiple-hop RF data communication systems. The system must be able to handle both wireless and hard-wired station connections, efficient dynamic routing of data information, RF terminal mobility, and interference from many different sources.
SUMMARY OF THE INVENTION
The present invention solves many of the problems inherent in a multiple-hop data communication system. The present invention comprises an RF Local-Area Network capable of efficient and dynamic handling of data by routing communications between the RF Terminals and the host computer through a network of intermediate base stations.
In one embodiment of the present invention, the RF data communication system contains one or more host computers and multiple gateways, bridges, and RF terminals. Gateways are used to pass messages to and from a host computer and the RF Network. A host port is used to provide a link between the gateway and the host computer. In addition, gateways may include bridging functions and may pass information from one RF terminal to another. Bridges are intermediate relay nodes which repeat data messages. Bridges can repeat data to and from bridges, gateways and RF terminals and are used to extend the range of the gateways.
The RF terminals are attached logically to the host computer and use a network formed by a gateway and the bridges to communicate with the host computer. To set up the network, an optimal configuration for conducting network communication spanning tree is created to control the flow of data communication. To aid understanding by providing a more visual description, this configuration is referred to hereafter as a “spanning tree” or “optimal spanning tree”.
Specifically, root of the spanning tree are the gateways; the branches are the bridges; and non-bridging stations, such as RF terminals, are the leaves of the tree. Data are sent along the branches of the newly created optimal spanning tree. Nodes in the network use a backward learning technique to route packets along the correct branches.
One object of the present invention is to route data efficiently, dynamically, and without looping. Another object of the present invention is to make the routing of the data transparent to the RF terminals. The RF terminals, transmitting data intended for the host computer, are unaffected by the means ultimately used by the RF Network to deliver their data.
It is a further object of the present invention for the network to be capable of handling RF terminal mobility and lost nodes with minimal impact on the entire RF data communication system.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a functional block diagram of an RF data communication system incorporating the RF local-area network of the present invention.
FIG. 2 is a flow diagram illustrating a bridging node's construction and maintenance of the spanning tree.



DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a functional block diagram of an RF data communication system. In one embodiment of the present invention, the RF data communication system has a host computer 10, a network controller 14 and bridges 22 and 24 attached to a data communication link 16. Also attached to the data communication link 16 is a gateway 20 which acts as the root node for the spanning tree of the RF data network of the present invention. A bridge 42 is attached to the gateway 20 through a hard-wired communication link and bridges 40 and 44 are logically attached to gateway 20 by two independent RF links. Additional bridges 46, 48, 50 and 52 are also connected to the RF Network and are shown in the FIG. 1. Note that, although shown separate from the host computer 10, the gateway 20 (the spanning tree root node) may be part of host computer 10.
The FIG. 1 further shows RF terminals 100 and 102 attached to bridge 22 via RF links and RF terminal 104 attached to bridge 24 via an RF link. Also, RF terminals 106, 108, 110, 112, 114, 116, 118, and 120 can be seen logically attached to the RF Network through their respective RF links. The RF terminals in FIG. 1 are representative of non-bridging stations. In alternate embodiments of the present invention, the RF Network could contain any type of device capable of supporting the functions needed to communicate in the RF Network such as hard-wired terminals, remote printers, stationary bar code scanners, or the like. The RF data communication system, as shown in FIG. 1, represents the configuration of the system at a discrete moment in time after the initialization of the system. The RF links, as shown, are dynamic and subject to change. For example, changes in the structure of the RF data communication system can be caused by movement of the RF terminals and by interference that affects the RF communication links.
In the preferred embodiment, the host computer 10 is an IBM 3090, the network controller 14 is a model RC3250 of the Norand Corporation, the data communication link 16 is an Ether net link, the nodes 20, 22, 24, 40, 42, 44, 46, 48, 50 and 52 are intelligent base transceiver units of the type RB4000 of the Norand Corporation, and the RF terminals 100, 102, 104, 106, 108, 110, 112, 114, 116, 118 and 120 are of type RT1100 of the Norand Corporation.
The optimal spanning tree, which provides the data pathways throughout the communication system, is stored and maintained by the network as a whole. Each node in the network stores and modifies information which specifies how local communication traffic should flow. Optimal spanning trees assure efficient, adaptive (dynamic) routing of information without looping.
To initialize the RF data communication system, the gateway 20 and the other nodes are organized into an optimal spanning tree rooted at the gateway 20. To form the optimal spanning tree, in the preferred embodiment the gateway 20 is assigned a status of ATTACHED and all other bridges are assigned the status UNATTACHED. The gateway 20 is considered attached to the spanning tree because it is the root node. Initially, all other bridges are unattached and lack a parent in the spanning tree. At this point, the attached gateway node 20 periodically broadcasts a specific type of polling packet referred to hereafter as “HELLO packets”. The HELLO packets can be broadcast using known methods of communicating via radio frequency (RF) link or via a direct wire link. In the preferred embodiment of the present invention, the RF link is comprised of spread-spectrum transmissions using a polling protocol. Although a polling protocol is preferred, a carrier-sense multiple-access (CSMA), busy-tone, or any other protocol might also manage the communication traffic on the RF link.
HELLO packets contain 1) the address of the sender, 2) the hopping distance that the sender is from the root, 3) a source address, 4) a count of nodes in the subtree which flow through that bridge, and 5) a list of system parameters. Each node in the network is assigned a unique network service address and a node-type identifier to distinguish between different nodes and different node types. The distance of a node from the root node is measured in hops times the bandwidth of each hop. The gateway root is considered to be zero hops away from itself.
FIG. 2 is a flow diagram illustrating a bridge's participation in the construction and maintenance of the spanning tree. At a block 201, the bridge begins the local construction of the spanning tree upon power-up. Next, at a block 203, the bridge enters the UNATTACHED state, listening for HELLO packets (also referred to as HELLO messages herein) that are broadcast.
By listening to the HELLO messages, bridges can learn which nodes are attached to the spanning tree. At a block 205, the bridge responds to a HELLO packet received by sending an ATTACH.request packet to the device that sent the received HELLO packet. The ATTACH.request packet is thereafter forwarded towards and to the root node which responds by sending an ATTACH.response packet back down towards and to the bridge.
The bridge awaits the ATTACH.response packet at a block 207. Upon receipt of the ATTACH.response packet, at a block 209, the bridge enters an ATTACHED state. Thereafter, at a block 211, the bridge begins periodically broadcasting HELLO packets and begins forwarding or relaying packets received. Specifically, between HELLO packet broadcasts, the bridge listens for HELLO, DATA, ATTACH.request and ATTACH.response packets broadcast by other devices in the communication network. Upon receiving such a packet, the bridge branches to a block 213. At the block 213, if the bridge detects that it has become detached from the spanning tree the bridge will branch back to the block 203 to establish attachment. Note that although the illustration in FIG. 2 places block 213 immediately after the block 211, the bridges functionality illustrated in block 213 is actually distributed throughout the flow diagram.
If at the block 213 detachment has not occurred, at a block 214, the bridge determines if the received packet is a HELLO packet. If so, the bridge analyzes the contents of the HELLO packet at a block 215 to determine whether to change its attachment point in the spanning tree. In a preferred embodiment, the bridge attempts to maintain attachment to the spanning tree at the node that is logically closest to the root node.
The logical distance, in a preferred embodiment, is based upon the number of hops needed to reach the root node and the bandwidth of those hops. The distance the attached node is away from the root node is found in the second field of the HELLO message that is broadcast. In another embodiment of the present invention, the bridges consider the number of nodes attached to the attached node as well as the logical distance of the attached node from the root node. If an attached node is overloaded with other attached nodes, the unattached bridge may request attachment to the less loaded node, or to a more loaded node as described above in networks having regions of substantial RF overlap. In yet another embodiment, to avoid instability in the spanning tree, the bridge would only conclude to change attachment if the logical distance of the potential replacement is greater than a threshold value.
If no change in attachment is concluded, at a block 217 the bridge branches back to the block 211. If a determination is made to change attachment, a DETACH packet is sent to the root as illustrated at a block 219. After sending the DETACH packet, the bridge branches back to the block 205 to attach to the new spanning tree node. Note that the order of shown for detachment and attachment is only illustrative and can be reversed.
Referring back to the block 214, if the received packet (at block 211) is not a HELLO packet, the bridge branches to a block 221 to forward the received packet through the spanning tree. Afterwards, the bridge branches back to the block 211 to continue the process.
Specifically, once attached, the attached bridge begins broadcasting HELLO packets (at the block 211) seeking to have all unattached bridges (or other network devices) attach to the attached bridge. Upon receiving an ATTACH.request packet, the bridge forwards that packet toward the root node (through the blocks 211, 213, 214 and 221. On its path toward the root, each node records the necessary information of how to reach requesting bridge. This process is called “backward learning” herein, and is discussed more fully below. As a result of the backward learning, once the root node receives the ATTACH.request packet, an ATTACH.response packet can be sent through the spanning tree to the bridge requesting attachment.
After attaching to an attached node, the newly attached bridge (the child) must determine its distance from the root node. To arrive at the distance of the child from the root node, the child adds the broadcast distance of its parent from the root node to the distance of the child from its parent. In the preferred embodiment, the distance of a child from its parent is based on the bandwidth of the data communication link. For example, if the child attaches to its parent via a hard-wired link (data rate 26,000 baud), then the distance of that communication link might equal, for example, one hop. However, if the child attaches to its parent via an RF link (data rate 9600 baud), then the distance of that communication link might correspondingly be equal 3 hops. The number of the hop corresponds directly to the communication speed of the link. This may not only take into consideration baud rate, but also such factors as channel interference.
Initially, only the root gateway node 20 is broadcasting HELLO messages and only nodes 40, 42 and 44 are within range of the HELLO messages broadcast by the gateway. Therefore, after the listening period has expired, nodes 40, 42 and 44 request attachment to the gateway node 20. The unattached nodes 40, 42, and 44 send ATTACH.request packets and the attached gateway node 20 acknowledges the ATTACH.request packets with local ATTACH.confirm packets. The newly attached bridges are assigned the status ATTACHED and begin broadcasting their own HELLO packets, looking for other unattached bridges. Again, the remaining unattached nodes attempt to attach to the attached nodes that are logically closest to the root node. For example, node 48 is within range of HELLO messages from both nodes 40 and 42. However, node 40 is three hops, via an RF link, away from the gateway root node 20 and node 42 is only one hop, via a hard-wired link, away from the gateway root node 20. Therefore, node 48 attaches to node 42, the closest node to the gateway root node 20.
The sending of HELLO messages, ATTACH.request packets and ATTACH.confirm packets continues until the entire spanning tree is established. In addition, attached bridges may also respond to HELLO messages. If a HELLO message indicates that a much closer route to the root node is available, the attached bridge sends a DETACH packet to its old parent and an ATTACH.request packet to the closer node. To avoid instability in the system and to avoid overloading any given node, an attached bridge would only respond to a HELLO message if the hop count in a HELLO packet is greater than a certain threshold value, CHANGE_THRESHOLD. In the preferred embodiment, the value of the CHANGE_THRESHOLD equals 3. In this manner, an optimal spanning tree is formed that is capable of transmitting data without looping.
Nodes, other than the gateway root node, after acknowledging an ATTACH.request packet from a previously unattached node, will send the ATTACH.request packet up the branches of the spanning tree to the gateway root node. As the ATTACH.request packet is being sent to the gateway root node, other nodes attached on the same branch record the destination of the newly attached node in their routing entry table. When the ATTACH.request packet reaches the gateway root node, the gateway root node returns an end-to-end ATTACH.confirm packet.
After the spanning tree is initialized, the RF terminals listen for periodically broadcasted Hello packets to determine which attached nodes are in range. After receiving HELLO messages from attached nodes, an RF terminal responding to an appropriate poll sends an ATTACH.request packet to attach to the node logically closest to the root. For example, RF terminal 110 is physically closer to node 44. However, node 44 is three hops, via an RF link, away from the gateway root node 20 and node 42 is only one hop, via a hard-wired link, away from the gateway root node 20. Therefore, RF terminal 110, after hearing HELLO messages from both nodes 42 and 44, attaches to node 42, the closest node to the gateway root node 20. Similarly, RP terminal 114 hears HELLO messages from nodes 48 and 50. Nodes 48 and 50 are both four hops away from the gateway root node 20. However, node 48 has two RF terminals 110 and 112 already attached to it while node 50 has only one RF terminal 116 attached to it. Therefore, RF terminal 114 will attach to node 50, the least busy node of equal distance to the gateway root node 20. Attaching to the least busy node proves to be the most efficient practice when the communication system has little overlap in the RF communication regions. In another embodiment, however, instead of attaching to the least busy node of equal distance to the gateway root node 20, the attachment is established with the busiest node.
The attached node acknowledges the ATTACH.request and sends the ATTACH.request packet to the gateway root node. Then, the gateway root node returns an end-to-end ATTACH.confirm packet. In this manner, the end-to-end ATTACH.request functions as a discovery packet enabling the gateway root node, and all other nodes along the same branch, to learn the address of the RF terminal quickly. This process is called backward learning. Nodes learn the addresses of terminals by monitoring the traffic from terminals to the root. If a packet arrives from a terminal that is not contained in the routing table of the node, an entry is made in the routing table. The entry includes the terminal address and the address of the node that sent the packet. In addition, an entry timer is set for that terminal. The entry timer is used to determine when RF terminals are actively using the attached node. Nodes maintain entries only for terminals that are actively using the node for communication. If the entry timer expires due to lack of communication, the RF terminal entry is purged from the routing table.
The RF links among the RF terminals, the bridges, and the gateway are often lost. Therefore, a connection-oriented data-link service is used to maintain the logical node-to-node links. In the absence of network traffic, periodic messages are sent and received to ensure the stability of the RF link. As a result, the loss of a link is quickly detected and the RF Network can attempt to establish a new RF link before data transmission from the host computer to an RF terminal is adversely affected.
Communication between terminals and the host computer is accomplished by using the resulting RF Network. To communicate with the host computer, an RF terminal sends a data packet in response to a poll from the bridge closest to the host computer. Typically, the RF terminal is attached to the bridge closest to the host computer. However, RF terminals are constantly listening for HELLO and polling messages from other bridges and may attach to, and then communicate with, a bridge in the table of bridges that is closer to the particular RF terminal. Terminals may cache the addresses of neighbors in a direct route table. The direct routing table in a node is built by listening to traffic directed to other nodes. Any node may select a new path to the root whenever a better path is found. All else being equal, a node on a radio channel should always choose, as its parent, the node with the best signal strength. Rapidly moving terminals can cache a short list of alternative parents.
Under certain operating conditions, duplicate data packets can be transmitted in the RF Network. For example, it is possible for an RF terminal to transmit a data packet to its attached node, for the node to transmit the acknowledgement frame, and for the RF terminal not to receive the acknowledgement. Under such circumstances, the RF terminal will retransmit the data. If the duplicate data packet is updated into the database of the host computer, the database would become corrupt. Therefore, the RF Network of the present invention detects duplicate data packets. To ensure data integrity, each set of data transmissions receives a sequence number. The sequence numbers are continuously incremented, and duplicate sequence numbers are not accepted.
When a bridge receives a data packet from a terminal directed to the host computer, the bridge forwards the data packet to the parent node on the branch. The parent node then forwards the data packet to its parent node. The forwarding of the data packet continues until the gateway root node receives the data packet and sends it to the host computer. Similarly, when a packet arrives at a node from the host computer directed to an RF terminal, the node checks its routing entry table and forwards the data packet to its child node which is along the branch destined for the RF terminal. It is not necessary for the nodes along the branch containing the RF terminal to know the ultimate location of the RF terminal. The forwarding of the data packet continues until the data packet reaches the final node on the branch, which then forwards the data packet directly to the terminal itself.
Communication is also possible between RF terminals. To communicate with another RF terminal, the RF terminal sends a data packet to its attached bridge. When the bridge receives the data packet from a terminal directed to the host computer, the bridge checks to see if the destination address of the RF terminal is located within its routing table. If it is, the bridge simply sends the message to the intended RF terminal. If not, the bridge forwards the data packet to its parent node. The forwarding of the data packet up the branch continues until a common parent between the RF terminals is found. Then, the common parent (often the gateway node itself) sends the data packet to the intended RF terminal via the branches of the RF Network.
During the normal operation of the RF Network, RF terminals can become lost or unattached to their attached node. If an RF terminal becomes unattached, for whatever reason, its routing entry is purged and the RF terminal listens for HELLO or polling messages from any attached nodes in range. After receiving HELLO or polling messages from attached nodes, the RF terminal sends an ATTACH.request packet to the attached node closest to the root. That attached node acknowledges the ATTACH.request and sends the ATTACH.request packet onto the gateway root node. Then, the gateway root node returns an end-to-end ATTACH.confirm packet.
Bridges can also become lost or unattached during normal operations of the RF Network. If a bridge becomes lost or unattached, all routing entries containing the bridge are purged. The bridge then broadcasts a HELLO.request with a global bridge destination address. Attached nodes will broadcast HELLO packets immediately if they receive an ATTACH.request packet with a global destination address. This helps the lost node re-attach. Then, the bridge enters the LISTEN state to learn which attached nodes are within range. The unattached bridge analyzes the contents of broadcast HELLO messages to determine whether to request attachment to the broadcasting node. Again, the bridge attempts to attach to the node that is logically closest to the root node. After attaching to the closest node, the bridge begins broadcasting HELLO messages to solicit ATTACH.requests from other nodes or RF terminals.
The spread-spectrum system provides a hierarchical radio frequency network of on-line terminals for data entry and message transfer in a mobile environment. The network is characterized by sporadic data traffic over multiple-hop data paths consisting of RS485 or ethernet wired links and single-channel direct sequenced spread spectrum links. The network architecture is complicated by moving, hidden, and sleeping nodes. The spread spectrum system consists of the following types of devices:
Terminal controller—A gateway which passes messages from a host port to the RF network; and which passes messages from the network to the host port. The host port (directly or indirectly) provides a link between the controller and a “host” computer to which the terminals are logically attached.
Base station—An intermediate relay node which is used to extend the range of the controller node. Base station-to-controller or base station-to-base station links can be wired or wireless RF.
Terminal—Norand RF hand-held terminals, printers, etc. In addition, a controller device has a terminal component.
The devices are logically organized as nodes in an (optimal) spanning tree, with the controller at the root, internal nodes in base stations or controllers on branches of the tree, and terminal nodes as (possibly mobile) leaves on the tree. Like a sink tree, nodes closer to the root of the spanning tree are said to be “downstream” from nodes which are further away. Conversely, all nodes are “upstream” from the root. Packets are only sent along branches of the spanning tree. Nodes in the network use a “BACKWARD LEARNING” technique to route packets along the branches of the spanning tree.
Devices in the spanning tree are logically categorized as one of the following three node types:

    
    
        1) Root (or root bridge)—A controller device which functions as the root bridge of the network spanning tree. In the preferred embodiment, the spanning tree has a single root node. Initially, all controllers are root candidates from which a root node is selected. This selection may be based on the hopping distance to the host, preset priority, random selection, etc.
        2) Bridge—An internal node in the spanning tree which is used to “bridge” terminal nodes together into an interconnected network. The root node is also considered a bridge and the term “bridge” may be used to refer to all non-terminal nodes or all non-terminal nodes except the root, depending on the context herein. A bridge node consists of a network interface function and a routing function.
        3) Terminal—leaf node in the spanning tree.
        A terminal node can be viewed as the software entity that terminates a branch in the spanning tree.
    
    


A controller device contains a terminal node(s) and a bridge node. The bridge node is the root node if the controller is functioning as the root bridge. A base station contains a bridge node. A terminal device contains a terminal node and must have a network interface function. A “bridging entity” refers to a bridge node or to the network interface function in a terminal.
The basic requirements of the system are the following.
a) Wired or wireless node connections.
b) Network layer transparency.
c) Dynamic/automatic network routing configuration.
d) Terminal mobility. Terminals should be able to move about the RF network without losing an end-to-end connection.
e) Ability to accommodate sleeping terminals.
f) Ability to locate terminals quickly.
g) Built-in redundancy. Lost nodes should have minimal impact on the network.
h) Physical link independence. The bridging algorithm is consistent across heterogeneous physical links.
The software for the spread-spectrum system is functionally layered as follows.
Medium Access Control (MAC)
The MAC layer is responsible for providing reliable transmission between any two nodes in the network (i.e. terminal-to-bridge). The MAC has a channel access control component and a link control component. The link control component facilitates and regulates point-to-point frame transfers in the absence of collision detection. The MAC channel access control component regulates access to the network. Note that herein, the MAC layer is also referred to as the Data Link layer.
Bridging Layer
The bridging layer, which is also referred to herein as the network layer, has several functions as follows.
1. The bridging layer uses a “HELLO protocol” to organize nodes in the network into an optimal spanning tree rooted at the root bridge. The spanning tree is used to prevent loops in the topology. Interior branches of the spanning tree are relatively stable (i.e. controller and relay stations do not move often). Terminals, which are leaves on the spanning three, may become unattached, and must be reattached, frequently.
2. The bridging layer routes packets from terminals to the host, from the host to terminals, and from terminals to terminals along branches of the spanning tree.
3. The bridging layer provides a service for storing packets for SLEEPING terminals. Packets which cannot be delivered immediately can be saved by the bridging entity in a parent node for one or more HELLO times.
4. The bridging layer propagates lost node information throughout the spanning tree.
5. The bridging layer maintains the spanning tree links.
6. The bridging layer distributes network interface addresses.
Logical Link Control Layer
A logical link control layer, also known herein as the Transport layer herein, is responsible for providing reliable transmission between any two nodes in the network (i.e., terminal-to-base station). The data-link layer provides a connection-oriented reliable service and a connectionless unreliable service. The reliable service detects and discards duplicate packets and retransmits lost packets. The unreliable services provides a datagram facility for upper layer protocols which provide a reliable end-to-end data path. The data-link layer provides ISO layer 2 services for terminal-to-host application sessions which run on top of an end-to-end terminal-to-host transport protocol. However, the data-link layer provides transport (ISO layer 4) services for sessions contained within the SST network.
Higher Layers
For terminal-to-terminal sessions contained within the SST network, the data-link layer provides transport layer services and no additional network or transport layer is required. In this case, the MAC, bridging, and data-link layers discussed above can be viewed as a data-link layer, a network layer, and a transport layer, respectively. For terminal-to-host-application sessions, higher ISO layers exist on top of the SST data-link layer and must be implemented in the terminal and host computer, as required. This document does not define (or restrict) those layers. This document does discuss a fast-connect VMTP-like transport protocol which is used for transient internal terminal-to-terminal sessions.
Specifically, a network layer has several functions, as follows.
1) The network layer uses a “hello protocol” to organize nodes in the network into an optimal spanning tree rooted at the controller. (A spanning tree is required to prevent loops in the topology.) Interior branches of the spanning tree are relatively stable (i.e., the controller and base stations do not move often). Terminals, which are leaves on the spanning tree, become unattached, and must be reattached frequently.
2) The network layer routes messages from terminals to the host, from the host to terminals, and from terminals to terminals along branches of the spanning tree.
3) The network layer provides a service for storing messages for SLEEPING terminals. Messages which cannot be delivered immediately can be saved by the network entity in a parent node for one or more hello times.
4) The network layer propagates lost node information throughout the spanning tree.
5) The network layer maintains the spanning tree links in the absence of regular data traffic.
A transport layer is responsible for establishing and maintaining a reliable end-to-end data path between transport access points in any two nodes in the network. The transport layer provides unreliable, reliable and a transaction-oriented services. The transport layer should be immune to implementation changes in the network layer.
The responsibilities of the transport layer include the following.
1) Establishing and maintaining TCP-like connections for reliable root-to-terminal data transmission.
2) Maintaining VMTP-like transaction records for reliable transient message passing between any two nodes.
3) Detecting and discarding duplicate packets.
4) Retransmitting lost packets.
Layers 1 through 4 are self-contained within the Norand RF network, and are independent of the host computer and of terminal applications. The session layer (and any higher layers) are dependent on specific applications. Therefore, the session protocol (and higher protocols) must be implemented as required. Note that a single transport access point is sufficient to handle single sessions with multiple nodes. Multiple concurrent sessions between any two nodes could be handled with a session identifier in a session header.
Network address requirements are as follows. DLC framed contain a hop destination and source address in the DLC header. network packets contain an end-to-end destination and a source address in the network header. Transport messages do not contain an address field; instead, a transport connection is defined by network layer source and destination address pairs. Multiple transport connections require multiple network address pairs.
The transport header contains a TRANSPORT ACCESS POINT identifier. DLC and network addresses are consistent and have the same format. Each node has a unique LONG ADDRESS which is programmed into the node at the factory. The long address is used only to obtain a SHORT ADDRESS from the root node.
The network entity in each node obtains a SHORT ADDRESS from the root node, which identifies the node uniquely. The network entity passes the short address to the DLC entity. Short addresses are used to minimize packet sizes.
Short addresses consist of the following. There is: an address length bit (short or long).
a spanning tree identified.
a node-type identifier. Node types are well known.
a unique multi-cast or broadcast node identifier.
The node-identifier parts of root addresses are well known and are constant. A default spanning tree identifier is well known by all nodes. A non-default spanning tree identifier can be entered into the root node (i.e., by a network administrator) and advertised to all other nodes in “hello” packets. The list of non-default spanning trees to which other nodes can attach must be entered into each node.
A node-type identifier of all 1's is used to specify all node types. A node identifier of all 1's is used to specify all nodes of the specified type. A DLC identifier of all 0's is used to specify a DLC entity which does not yet have an address. The all-0's address is used in DLC frames that are used to send and receive network ADDRESS packets. (The network entity in each node filters ADDRESS packets based on the network address.)
Short-address allocation is accomplished as follows. Short node identifiers of root nodes are well known. All other nodes must obtain a short node identifier from the root. To obtain a short address, a node send an ADDRESS request packet to the root node. The source addresses (i.e., DLC and network) in the request packet are LONG ADDRESSES. The root maintains an address queue of used and unused SHORT ADDRESSES. If possible, the root selects an available short address, associates the short address with the long address of the requesting node, and returns the short address to the requesting node in an ADDRESS acknowledge packet. (Note that the destination address in the acknowledge packet is a long address.)
A node must obtain a (new) short address initially and whenever an ADDRESS-TIMEOUT inactivity period expires without having the node receive a packet from the network entity in the root.
The network entity in the root maintains addresses in the address queue in least recently used order. Whenever a packet is received, the source address is moved to the end of the queue. The address at the head of the queue is available for use by a requesting node if it has never been used or if it has been inactive for a MAX-ADDRESS-LIFE time period.
MAX-ADDRESS-LIFE must be larger than ADDRESS-TIMEOUT to ensure that an address is not in use by any node when it becomes available for another node. If the root receives an ADDRESS request from a source for which an entry exists in the address queue, the root simply updates the queue and returns the old address.
The network layer organizes nodes into an optimal spanning tree with the controller at the root of the tree. (Note that the spanning three identifier allows two logical trees to exist in the same coverage area.) Spanning tree organization is facilitated with a HELLO protocol which allows nodes to determine the shortest path to the root before attaching to the spanning tree. All messages are routed along branches of the spanning tree.
Nodes in the network are generally categorized as ATTACHED or UNATTACHED. Initially, only the root node is attached. A single controller may be designated as the root, or multiple root candidates (i.e. controllers) may negotiate to determine which node is the root. Attached bridge nodes and root candidates transmit “HELLO” packets at calculated intervals. The HELLO packets include:
a) the source address, which includes the spanning tree ID).
b) a broadcast destination address.
c) a “seed” value from which the time schedule of future hello messages can be calculated.
d) a hello slot displacement time specifying an actual variation that will occur in the scheduled arrival of the very next hello message (the scheduled arrival being calculated from the “seed”).
e) the distance (i.e., path cost) of the transmitter from the host. The incremental portion of the distance between a node and its parent is primarily a function of the type of physical link (i.e.; ethernet, RS485, RF, or the like). If a signal-strength indicator is available, connections are biased toward the link with the best signal strength. The distance component is intended to bias path selection toward (i.e., wired) high-speed connections. Setting a minimum signal strength threshold helps prevent sporadic changes in the network. In addition, connections can be biased to balance the load (i.e., the number of children) on a parent node.
f) a pending message list. Pending message lists consist of 0 or more destination-address/message-length pairs. Pending messages for terminals are stored in the terminal's parent node.
g) a detached-node list. Detached-node lists contain the addresses of nodes which have detached from the spanning tree. The root maintains two lists. A private list consists of all detached node addresses, and an advertised list consists of the addresses of all detached nodes which have pending transport messages. The addresses in the hello packet are equivalent to the advertised list.
An internal node learns which entries should be in its list from hello messages transmitted by its parent node. The root node builds its detached-node lists from information received in DETACH packets. Entries are included in hello messages for DETACH-MSG-LIFE hello times.
Attached notes broadcast “SHORT HELLO” messages immediately if they receive an “HELLO.request” packet with a global destination address; otherwise, attached nodes will only broadcast hello messages at calculated time intervals in “hello slots.” Short hello messages do not contain a pending-message or detached-node list. Short hello-messages are sent independently of regular hello messages and do not affect regular hello timing.
Unattached nodes (nodes without a parent in the spanning tree) are, initially, in an “UNATTACHED LISTEN” state. During the listen state, a node learns which attached base station/controller is closest to the root node by listening to hello messages. After the listening period expires an unattached node sends an ATTACH.request packet to the attached node closest to the root. The attached node immediately acknowledges the ATTACH.request, and send the ATTACH.request packet onto the root (controller) node. The root node returns the request as an end-to-end ATTACH.confirm packet. If the newly-attached node is a base station, the nod calculates its link distance and adds the distance to the distance of its parent before beginning to transmit hello messages.
The end-to-end ATTACH.request functions as a discovery packet, and enables the root node to learn the address of the source node quickly. The end-to-end ATTACH.request, when sent from a node to the root, does not always travel the entire distance. When a downstream node receives an ATTACH.request packet and already has a correct routing entry for the associated node, the downstream node intercepts the request and returns the ATTACH.confirm to the source node. (Note that any data piggy-backed on the ATTACH.request packet must still be forwarded to the host.) This situation occurs whenever a “new” path has more than one node in common with the “old” path.
The LISTEN state ends after MIN HELLO_hello time slots if hello messages have been received from at least one node. If no hello messages have been received the listening node waits and retries later.
An attached node may respond to a hello message from a node other than its parent (i.e., with an ATTACH.request) if the difference in the hop count specified in the hello packet exceeds a CHANGE-THRESHOLD level.
Unattached nodes may broadcast a GLOBAL ATTACH.request with a multi-cast base station destination address to solicit short hello messages from attached base stations. The net effect is that the LISTEN state may (optionally) be shortened. (Note that only attached base station or the controller may respond to ATTACH.requests.) Normally, this facility is reserved for base stations with children and terminals with transactions in progress.
ATTACH.requests contain a (possibly empty) CHILD LIST, to enable internal nod s to update their routing tables. ATTACH.requests also contain a “count” field which indicates that a terminal may be SLEEPING. The network entity in the parent of a SLEEPING terminal con temporarily store messages for later delivery. If the count field is non-zero, the network entity in a parent node will store pending messages until 1) the message is delivered, or 2) “count” hello times have expired.
Transport layer data can be piggy-backed on an attached request packet from a terminal. (i.e., an attach request/confirm can be implemented with a bit flag in the network header of a data packet.)
Network Layer Routing.
All messages are routed along branches of the spanning tree. Base stations “learn” the address of terminals by monitoring traffic from terminals (i.e., to the root). When a base station receives (i.e., an ATTACH.request) packet, destined for the root, the base station creates or updates an entry in its routing table for the terminal. The entry includes the terminal address, and the address of the base station which sent the packet (i.e., the hop address). When a base station receives an upstream packet (i.e., from the root, destined for a terminal) the packet is simply forwarded to the base station which is in the routing entry for the destination. Upstream messages (i.e., to a terminal) are discarded whenever a routing entry does not exist. Downstream messages (i.e., from a terminal to the root) are simply forwarded to the next downstream node (i.e., the parent in the branch of the spanning tree.
TERMINAL-TO-TERMINAL COMMUNICATIONS is accomplished by routing all terminal-to-terminal traffic through the nearest common ancestor. In the worst case, the root is the nearest common ancestor. A “ADDRESS SERVER” facilitates terminal-to-terminal communications (see below).
DELETING INVALID ROUTING TABLE ENTRIES is accomplished in several ways: connection oriented transport layer ensures that packets will arrive from nodes attached to the branch of the spanning tree within the timeout period, unless a node is disconnected.)
2) Whenever the DLC entity in a parent fails RETRY MAX times to send a message to a child node, the node is logically disconnected from the spanning tree, with one exception. If the child is a SLEEPING terminal, the message is retained by the network entity in the parent for “count” hello times. The parent immediately attempts to deliver the message after it sends its next hello packet. If, after “count” hello times, the message cannot be delivered, then the child is logically detached from the spanning tree. Detached node information is propagated downstream to the root node, each node in the path of the DETACH packet must adjust its routing tables appropriately according to the following rules: a) if the lost node is a child terminal node, the routing entry for the terminal is deleted and a DETACH packet is generated, b) if the node specified in DETACH packet is a terminal and the node which delivered the packet is the next hop in the path to the terminal, then the routing table entry for the terminal is deleted and the DETACH packet is forwarded, c) if the lost node is a child base station node then all routing entries which specify that base station as the next hop are deleted and a DETACH packet is generated for each lost terminal.
IN GENERAL, WHENEVER A NODE DISCOVERS THAT A TERMINAL IS DETACHED, IT PURGES ITS ROUTING ENTRY FOR THE TERMINAL. WHENEVER A NODE DISCOVERS THAT A BASE STATION IS DETACHED, IT PURGES ALL ROUTING ENTRIES CONTAINING THE BASE STATION. ONLY ENTRIES FOR UPSTREAM NODES ARE DELETED.
When DETACH packets reach the root node, they are added to a “detached list.” Nodes remain in the root node's detached list until a) the node reattaches to the spanning tree, or b) the list entry times out. The detached list is included in hello messages and is propagated throughout the spanning tree.
For example, if a terminal detaches and reattaches to a different branch in the spanning tree, all downstream nodes in the new branch (quickly) “learn” the new path to the terminal. Nodes which were also in the old path change their routing tables and no longer forward packets along the old path. At least one node, the root, must be in both the old and new path. A new path is established as soon as an end-to-end attach request packet from the terminal reaches a node which was also in the old path.
4) A node (quickly) learns that it is detached whenever it receives a hello message, from any node, with its address in the associated detached list. The detached node can, optionally, send a global ATTACH.request, and then enters the UNATTACHED LISTEN state and reattaches as described above. After reattaching, the node must remain in a HOLD-DOWN state until its address is aged out of all detached lists. During the HOLD-DOWN-state the node ignores detached lists.
5) A node becomes disconnected and enters the UNATTACHED LISTEN state whenever HELLO-RETRY-MAX hello messages are missed from its parent node.
6) A node enters the ATTACHED LISTEN state whenever a single hello message, from its parent, is missed. SLEEPING terminals remain awake during the ATTACHED LISTEN state. The state ends when the terminal receives a data or hello message from its parent. The terminal becomes UNATTACHED when a) its address appears in the detached list of a hello message from an ode other than its parent, or b) HELLO-RETRY-MAX hello messages are missed. The total number of hello slots spend in the LISTEN state is constant.
If a node in the ATTACHED LISTEN state discovers a path to the root which is CHANGE-THRESHOLD shorter, it can attach to the shorter path. Periodically, SLEEPING terminals must enter the ATTACHED LEARN state to discovery any changes (i.e., shorter paths) in the network topology.
Hello Synchronization.
All attached non-terminal nodes broadcast periodic “hello” messages in discrete “hello slots” at calculated intervals. Base station nodes learn which hello slots are busy and refrain from transmitting during busy hello slots.
A terminal refrains from transmitting during the hello slot of its parent node and refrains from transmitting during message slots reserved in a hello message.
The hello message contains a “seed” field used in a well-known randomization algorithm to determine the next hello slot for the transmitting node and the next seed. The address of the transmitting node is used as a factor in the algorithm to guarantee randomization. Nodes can execute the algorithm i times to determine the time (and seed) if the i-the hello message from the transmitter.
After attached, a base station chooses a random initial seed and a non-busy hello slot and broadcasts a hello message in that slot. The base station chooses succeeding hello slots by executing the randomization algorithm. If an execution of the algorithm chooses a busy slot, the next free slot is used and a hello “displacement” field indicates the offset from a calculated slot. Cumulative delays are not allowed (i.e., contention delays during the i hello transmission do not effect the time of the i+1 hello transmission).
HELLO-TIME and HELLO-SLOT-TIME values are set by the root node and flooded throughout the network in hello messages. The HELLO-SLOT-TIME value must be large enough to minimize hello contention.
A node initially synchronizes on a hello message from its parent. A SLEEPING node can power-down with an active timer interrupt to wake it just before the next expected hello message. The network entity in base station nodes can store messages for SLEEPING nodes and transmit them immediately following the hello messages. This implementation enables SLEEPING terminals to receive unsolicited messages. (Note that the network layer always tries to deliver messages immediately, before storing them.) Retries for pending messages are transmitted in a round-robin order when messages are pending for more than one destination.
Note that a child node that misses i hello messages, can calculate the time of the i+1 hello message.
Transport Layer Theory and Implementation Notes.
The transport layer provides reliable, unreliable, and transaction-oriented services. Two types of transport connections are defined: 1) a TCP-like transport connection may be explicitly requested for long-lived connections or 2) a VMTP-like connection-record may be implicitly set up for transient connections. In addition, a connectionless service is provided for nodes which support an end-to-end transport connection with the host computer.
The interfaces to the next upper (i.e., application) layer include:
CONNECT (access_point, node_name)
LISTEN (access_point)
UNITDATA (access_point, node_name, buffer, length)
SEND (handle, buffer, length)
RECEIVE (handle, buffer, length)
CLOSE (handle)
The “handle” designates the connection type, and is the connection identifier for TCP-like connections.
SEND messages require a response from the network node (root or terminal) to which the message is directed.
UNITDATA messages do not require a response. UNITDATA is used to send messages to a host which is capable of supporting end-to-end host-to-terminal transport connections.
Because the network layer provides an unreliable service, the transport layer is required to detect duplicate packets and retransmit lost packets. Detecting duplicates is facilitated by numbering transport packets with unambiguous sequence numbers.
Transport Connections.
TCP-like transport connections are used for message transmission over long-lived connections. The connections may be terminal-to-root or terminal-to-terminal (i.e., base stations are not involved in the transport connection).
TCP-like transport connections are established using a 3-way handshake. Each end selects its initial sequence number and acknowledges the other end's initial sequence number during the handshake. The node which initiates the connection must wait a MAX-PACKET-LIFE time, before requesting a connection, to guarantee that initial sequence numbers are unambiguous. Sequence numbers are incremented modulo MAX-SEQ, where MAX-SEQ is large enough to insure that duplicate sequence numbers do not exist in the network. Packet types for establishing and breaking connections are defined as in TCP.
A TCP-like connection is full-duplex and a sliding window is used to allow multiple outstanding transport packets. An ARQ bit in the transport header is used to require an immediate acknowledgment from the opposite end.
VMTP-like connections are used for transient messages (i.e. terminal-to-terminal mail messages). VMTP-like connection records are built automatically. A VMTP-like connection record is built (or updated) whenever a VMTP-like transport message is received. The advantage is that an explicit connection request is not required. The disadvantage is that longer and more carefully selected sequence numbers are required. A VMTP-like connection is half-duplex. (A full-duplex connection at a higher layer can be built with two independent half-duplex VMTP-like connections.) Acknowledgments must be handled by higher layers.
Transport connections are defined by the network end-to-end destination and source addresses.
A MAX_TP_LIFE timeout is associated with transport connections. Transport connection records are purged after a MAX_TP_LIFE time expires without activity on the connection. The transport entity in a terminal can ensure that its transport connection will not be lost by transmitting an empty time-fill transport packet whenever TP_TIMEOUT time expires without activity.
The transport entity in a node stores messages for possible retransmission. Note that retransmissions may not always follow the same path (primarily) due to moving terminals and the resulting changes in the spanning tree. For example, the network entity in a parent node may disconnect a child after the DLC entity reports a message delivery failure. The child will soon discover that it is detached and will reattach to the spanning tree. Now when the transport entity (i.e. in the root) re-sends the message, it will follow the new path.
Transport Message Timing and Sleeping Terminals.
The transport entity in a terminal calculates a separate timeout for SEND and TRANSACTION operations. Initially, both timeouts are a function of the distance of the terminal from the root node.
A TCP-like algorithm is used to estimate the expected propagation delay for each message type. Messages, which require a response, are retransmitted if twice the expected propagation time expires before a response is received. SLEEPING terminals can power down for a large percentage of the expected propagation delay before waking up to receive the response message. Note that missed messages may be stored by the network layer for “count” hello times.
Medium Access Control (MAC) Theory and Implementation Notes.
Access to the network communications channel is regulated in several ways: executing the full CSMA algorithm (see MAC layer above). The sender retransmits unacknowledged messages until a RETRY MAX count is exhausted.
The retry time of the DLC must be relatively short so that lost nodes can be detected quickly. When the DLC layer reports a failure to deliver a message to the network layer, the network layer can 1) save messages for SLEEPING terminals for later attempts, or 2) DETACH the node from the spanning tree. Note that most lost nodes are due to moving terminals.
The node identifier part of the DLC address is initially all 0's for all nodes except the root node. The all 0's address is used by a node to send and received data-link frames until a unique node identifier is passed to the DLC entity in the node. (The unique node identifier is obtained by the network entity.)
Address Resolution.
Well-known names too are bound to network addresses in several ways:

    
    
        The network address and TRANSPORT ACCESS ID of a name server, contained in the root, is well-known by all nodes.
        A node can register a well-known name with the name server contained in the root node.
        A node can request the network access address of another application from the name server by using the well-known name of the application.

Possible Extensions.

    
    


Base station-to-base station traffic could also be routed through the controller if the backward learning algorithm included base station nodes. (Each base station would simply have to remember which direction on its branch of the spanning tree to send data directed toward another base station.)
The possibility of multiple controllers is kept open by including a spanning-tree identifier in address fields. Each controller defines a unique spanning tree. A node can be in more than one spanning tree, with separate network state variables defined for each.
Thus, the preferred embodiment of the present invention describes an apparatus and a method of efficiently routing data through a network of intermediate base stations in a radio data communication system.
In alternate embodiments of the present invention, the RF Networks contain multiple gateways. By including a system identifier in the address field of the nodes, it is possible to determine which nodes are connected to which networks.
Multipath Fading.
In a preferred embodiment, the data to be sent through the RF communication link is segmented into a plurality of DATA packets and is then transmitted. Upon receipt, the DATA packets are reassembled for use or storage. Data segmentation of the RF link provides better communication channel efficiency by reducing the amount of data loss in the network. For example, because collisions between transmissions on an RF link cannot be completely avoided, sending the data in small segments results in an overall decrease in data loss in the network, i.e., only the small segments which collide have to be re-sent.
Similarly, choosing smaller data packets for transmission also reduces the amount of data loss by reducing the inherent effects of perturbations and fluctuations found in RF communication links. In particular, RF signals are inherently subject to what is termed “multi-path fading.” A signal received by a receiver is a composite of all signals that have reached that receiver by taking all available paths from the transmitter. The received signal is therefore often referred to as a “composite signal” which has a power envelope equal to the vector sum of the individual components of the multi-path signals received. If the signals making up the composite signal are of amplitudes that add “out of phase”, the desired data signal decreases in amplitude. If the signal amplitudes are approximately equal, an effective null (no detectable signal at the receiver) results. This condition is termed “fading”.
Normally changes in the propagation environment occur relatively slowly, i.e., over periods of time ranging from several tenths ( 1/10's) of seconds to several seconds. However, in a mobile RF environment, receivers (or the corresponding transmitters) often travel over some distance in the course of-receiving a message. Because the signal energy at each receiver is determined by the paths that the signal components take to reach that receiver, the relative motion between the receiver and the transmitter causes the receiver to experience rapid fluctuations in signal energy. Such rapid fluctuations can cause fading and result in the loss of data if the amplitude of the received signal falls below the sensitivity of the receiver.
Over small distances, the signal components that determine the composite signal are well correlated, i.e., there is a small probability that a significant change in the signal power envelope will occur over the distance. If a transmission of a data packet can be initiated and completed before the relative movement between the receiver and transmitter exceeds the “small distance”, data loss to fading is unlikely to occur. The maximum “small distance” wherein a high degree of correlation exists is referred to hereafter as the “correlation distance”.
As expressed in wavelengths of the carrier frequency, the correlation distance is one half (1⁄2) of the wavelength, while a more conservative value is one quarter (1⁄4) of the wavelength. Taking this correlation distance into consideration, the size of the data packet for segmentation purposes can be calculated. For example, at 915 MHz (a preferred RF transmission frequency), a quarter wavelength is about 8.2 centimeters. A mobile radio moving at ten (10) miles per hour, or 447 centimeters per second, travels the quarter wavelength in about 18.3 milliseconds. In such an environment, as long as the segment packet size remains under 18.3 milliseconds, fading does not pose any problems. In a preferred embodiment, five (5) millisecond data packet segments are chosen which provides a quasi-static multipath communication environment.
Duty Cycle.
In a preferred embodiment, each base station broadcasts HELLO messages about every two (2) seconds. If upon power up, two base stations choose to broadcast at the exact same broadcast, collisions between HELLO messages would occur and continue to occur in a lock-step fashion upon each broadcast. To prevent such an occurrence, each base station chooses a pseudo-random offset from the 2 second base time between HELLO messages to actually broadcast the HELLO message. For example, instead of beginning each HELLO message broadcast at exactly 2 seconds after the last, the base station might pseudo-randomly offset the 2 seconds by a negative (−) value of 0.2, yielding a broadcast at 1.8 seconds. Because every base station generates a different pseudo-random offset generation, the problem of lock-stepping collisions is avoided.
Additionally, instead of using a true randomization, a pseudo-random offset is used which bases all pseudo-random offset calculations on a seed value (the “seed”). The “seed” is broadcast in each HELLO message so that the timing of the next HELLO message may be calculated by any listening mobile terminal. The use of the seed, and pseudo random offset generation, allows the terminal to “sleep” (enter an energy and CPU saving mode) between HELLO messages and be able to “wake up” (dedicate energy and CPU concentration on RF reception) and stay awake for the minimal time needed to receive the next HELLO message. The relationship between the time that a base station must remain awake to the time it may sleep is called the “duty cycle”.
Using a 2 second HELLO to HELLO message timing with a pseudo-random offset range of +/−1⁄3 of a second, the preferred embodiment has achieved a very low duty cycle. Further details of this timing can be found in the Bridge Layer Specification in Appendix E.
In addition, Appendix A provides a list of the program modules which are found in microfiche Appendix B. These modules comprise an exemplary computer program listing of the source code (“C” programming language) used by the network controllers and intelligent base transceivers of the present invention. Note that the term “AMX” found in Appendices A and B refers to the operating system software used. “AMX” is a multi-tasking operating system from KADAK Products, Ltd., Vancouver, B.C., Canada. Appendix C, D, E, F, and G provide system specifications for the SST Network Architecture, SST Network Frame Format, Bridging Layer, MAC Layer, and Physical Layer of one embodiment of the present invention.
As is evident from the description that is provided above, the implementation of the present invention can vary greatly depending upon the desired goal of the user. However, the scope of the present invention is intended to cover all variations and substitutions which are and which may become apparent from the illustrative embodiment of the present invention that is provided above, and the scope of the invention should be extended to the claimed invention and its equivalents.

## Claims

1. A communication network supporting wireless communication comprising:
at least one roaming wireless terminal node selectively operable in a sleep mode and in an awake mode;
at least one bridging node for relaying messages, the bridging node storing messages for wireless terminal nodes and transmitting at predetermined intervals a first message that indicates the presence of pending messages, the bridging node forwarding a stored message upon request from a wireless terminal node; and
the wireless terminal node, while in a sleep mode, wakes to listen to a first message transmitted from a bridging node to determine whether to request a pending message.

2. A communication network as recited in claim 1 wherein the bridging node determines whether a wireless terminal node has been disconnected from the network.

3. A communication network as recited in claim 2 wherein the bridging node considers whether a wireless terminal node is in a sleep mode in making a determination of whether the wireless terminal node has been disconnected.

4. A communication network as recited in claim 1 wherein the terminal node includes a transceiver and when in the sleep mode the terminal node disables the transceiver.

5. A communication network supporting wireless communication comprising:
at least one terminal node having a wireless transceiver operable in a normal state and in a power saving state;
at least one bridging node having a wireless transceiver to support communication to a terminal node, a bridging node attempting to deliver a message destined for a terminal node operating in a normal state upon receipt of the message by the bridging node and the bridging node attempting to deliver a message destined for a terminal node operating in a power saving state by transmitting at predetermined intervals a first message identifying terminal nodes having a pending message awaiting delivery;
a terminal node operating in the power saving state synchronizing operation of its transceiver to receive the first message from a bridging node and when the terminal node determines from the first message that it has a pending message awaiting, the terminal node directing further operation of its transceiver to receive the pending message.

6. A communication network as recited in claim 5 wherein the terminal node transmits to a bridging node an indication of whether the terminal node is operating in the power saving state.

7. A communication network as recited in claim 5 wherein a terminal node that directs further operation of its transceiver to receive a pending message does so to receive the pending message in a time period that follows one of the received first messages.

8. A communication network as recited in claim 7 wherein the time period immediately follows the one of the received first messages.

9. A communication network as recited in claim 7 wherein the time period follows the received first messages during an awake time window.

10. A communication network as recited in claim 8 wherein the terminal node requests that the pending message be delivered during the awake time window.

11. A communication network as recited in claim 5 wherein a terminal node requests a pending message when the terminal node determines from the first message that it has a pending message awaiting delivery.

12. A communication network as recited in claim 5 wherein the bridging node stores messages awaiting delivery.

13. A communication network as recited in claim 12 wherein the messages awaiting delivery remain stored until delivery is successful or until a predetermined number of first messages occur where delivery is unsuccessful.

14. A method for operating a bridging node and a roaming wireless terminal node in a communication network comprising:
storing at a bridging node pending messages;
transmitting from a bridging node at predetermined intervals, a first message indicating the presence of pending messages;
operating the terminal node in a sleep mode;
waking the terminal node to receive a first message;
determining at the terminal node from a received first message whether a bridging node has a stored pending message for the terminal node; and
requesting a pending message if a pending message is determined to be stored at a bridging node for the terminal node.

15. A method for operating a roaming wireless terminal node in a communication network having at least one bridging node that transmits at predetermined intervals a first message indicating the presence of a pending message, the method comprising:
operating in a sleep mode;
waking to receive a first message;
determining from a received first message whether there is a pending message for the terminal node; and
requesting the pending message if it is determined from the first message that there is a pending message for the terminal node.

16. The method of claim 15, further comprising, after waking to receive a first message, receiving the first message from a bridging node.

17. The method of claim 16, where the bridging node is an intermediate node in the communication network.

18. The method of claim 16, where the bridging node is a node of a spanning tree.

19. The method of claim 16, where the bridging node is a base station of a communication network.

20. The method of claim 16, where the bridging node is an access point of a communication network.

21. The method of claim 16, where the bridging node relays messages between other nodes.

22. The method of claim 16, where the bridging node routes messages between other nodes.

23. The method of claim 15, where prior to transmitting the first message, the bridging node immediately attempts to communicate the pending message to the roaming wireless terminal node upon receipt of the pending message from another network node.

24. The method of claim 23, where the bridging node immediately attempts to communicate the pending message to the roaming wireless terminal node by, at least in part, queuing the pending message for transmission to the roaming wireless terminal node.

25. The method of claim 23, where the bridging node immediately attempts to communicate the pending message to the roaming wireless terminal node by, at least in part, attempting to acquire access to a communication medium.

26. The method of claim 15, where the roaming wireless terminal node is operable to receive electrical power from a battery.

27. The method of claim 15, where the roaming wireless terminal node is a hand-held terminal.

28. The method of claim 15, where the roaming wireless terminal node comprises a hand-held computer.

29. The method of claim 15, where the roaming wireless terminal node is operable to communicate utilizing spread spectrum communications.

30. The method of claim 15, where the method is performed at the roaming wireless terminal node by, at least in part, utilizing a processor executing software instructions stored in a memory of the roaming wireless terminal node.

31. The method of claim 15, where the roaming wireless terminal node is a terminal that is able to be moved.

32. The method of claim 15, wherein the sleep mode is an energy-saving mode.

33. The method of claim 15, wherein the sleep mode comprises operating receiver circuitry of the roaming wireless terminal node in a powered down state.

34. The method of claim 15, further comprising determining at the roaming wireless terminal node when to wake to receive the first message.

35. The method of claim 34, wherein determining when to wake to receive the first message comprises determining when to wake to receive the first message based, at least in part, on information received from the bridging node.

36. The method of claim 34, wherein determining when to wake to receive the first message comprises determining when to wake to receive the first message based, at least in part, on seed information received from the bridging node.

37. The method of claim 34, wherein determining when to wake to receive the first message comprises determining when to wake to receive the first message based, at least in part, on temporal offset information received from the bridging node.

38. The method of claim 34, wherein determining when to wake to receive the first message comprises determining when to wake to receive the first message based, at least in part, on an expected duration of a communication between another roaming wireless terminal node and the bridging node.

39. The method of claim 15, wherein waking to receive a first message comprises waking to receive the first message at a predetermined interval.

40. The method of claim 15, wherein waking to receive a first message comprises waking to receive the first message at a consistent predetermined interval.

41. The method of claim 15, wherein waking to receive a first message comprises waking to receive the first message at a predetermined interval that comprises a pseudo-random component.

42. The method of claim 15, wherein waking to receive a first message comprises waking to receive the first message at a predetermined interval that is based, at least in part, on a consistent time interval adjusted by a pseudo-random amount.

43. The method of claim 15, further comprising synchronizing waking of the roaming wireless terminal node to receive the first message following operation in the sleep mode.

44. The method of claim 15, wherein waking to receive a first message comprises waking to receive a first message after operating in a sleep mode for a plurality of consecutive predetermined intervals.

45. The method of claim 15, wherein waking to receive a first message comprises waking for up to a maximum listening period, where the maximum listening period is at least a maximum expected time interval between consecutive transmissions of the first message.

46. The method of claim 15, further comprising determining whether to consider a received first message based, at least in part, on signal strength.

47. The method of claim 15, wherein the first message is a beacon message.

48. The method of claim 15, wherein the first message is a HELLO message.

49. The method of claim 15, wherein the first message comprises a plurality of sub-messages of different respective types.

50. The method of claim 15, where the first message is broadcast to a plurality of roaming wireless terminal nodes.

51. The method of claim 15, where the first message is transmitted at a consistent predetermined interval.

52. The method of claim 15, where the first message is transmitted at a predetermined interval comprising a pseudo-random component.

53. The method of claim 15, where the first message is transmitted at an inconsistent predetermined interval.

54. The method of claim 15, further comprising utilizing information communicated with the first message to attach to the communication network.

55. The method of claim 15, further comprising utilizing information communicated with the first message to modify attachment to the communication network.

56. The method of claim 15, further comprising determining when to wake to receive a second message based, at least in part, on information communicated with the first message.

57. The method of claim 15, further comprising determining when to wake to receive a second message based, at least in part, on seed information communicated with the first message.

58. The method of claim 15, further comprising determining when to wake to receive a second message based, at least in part, on temporal displacement information communicated with the first message.

59. The method of claim 15, wherein the first message comprises a pending message list.

60. The method of claim 15, wherein the first message comprises a list that indicates to the roaming wireless terminal node whether the roaming wireless terminal node has a message pending.

61. The method of claim 15, wherein the first message comprises information indicating that a pending message for the roaming wireless terminal node is stored and awaiting delivery to the roaming wireless terminal node.

62. The method of claim 15, wherein the first message comprises information indicating that at least one pending message is awaiting delivery to the roaming wireless terminal node and at least one other pending message is awaiting delivery to another roaming wireless terminal node.

63. The method of claim 15, wherein the first message comprises information identifying the roaming wireless terminal node as a terminal for which a stored pending message is awaiting delivery.

64. The method of claim 15, wherein the first message comprises information identifying the roaming wireless terminal node as a terminal for which a stored pending message is awaiting delivery and information describing at least one characteristic of the stored pending message.

65. The method of claim 15, wherein the first message comprises information identifying the roaming wireless terminal node as a terminal for which a stored pending message is awaiting delivery and information describing a size of the stored pending message.

66. The method of claim 15, wherein the first message comprises information of the roaming wireless terminal node's address to indicate that a stored pending message is awaiting delivery to the roaming wireless terminal node.

67. The method of claim 15, wherein the first message comprises information indicating that one or more pending messages are stored in a base station of the communication network and awaiting delivery to the roaming wireless terminal node.

68. The method of claim 15, wherein the first message comprises information indicating that one or more pending messages are stored in a node of the communication network and awaiting delivery to the roaming wireless terminal node.

69. The method of claim 15, wherein the first message comprises information indicating that one or more pending messages are stored in a parent node of the roaming wireless terminal node.

70. The method of claim 15, wherein the first message comprises information indicating that one or more pending mail messages are awaiting delivery to the roaming wireless terminal node.

71. The method of claim 15, further comprising communicating information to the bridging node regarding how long a message should be stored for the roaming wireless terminal node.

72. The method of claim 15, further comprising communicating information to the bridging node indicating that the roaming wireless terminal node is operable in a sleep mode.

73. The method of claim 15, further comprising communicating information to the bridging node regarding how long the roaming wireless terminal node might operate in a sleep mode.

74. The method of claim 15, wherein the pending message comprises a mail message.

75. The method of claim 15, further comprising forming a transport connection to receive the pending message.

76. The method of claim 75, wherein forming a transport connection comprises forming a TCP connection.

77. The method of claim 75, wherein forming a transport connection comprises forming a VMTP connection.

78. The method of claim 15, further comprising forming a connection-oriented communication link to receive the pending message if the pending message is a first type of message and forming a non-connection-oriented communication link to receive the pending message if the pending message is a second type of message.

79. The method of claim 15, further comprising operating the roaming wireless terminal node in an awake state if a predetermined number of expected signals from the communication network are not received.

80. The method of claim 15, further comprising operating the roaming wireless terminal node in the sleep mode for at least a portion of an expected delay to receive a message in response to a message sent from the roaming wireless terminal node.

81. The method of claim 15, further comprising, after transmitting a request for the pending message, operating the roaming wireless terminal node in the sleep mode for at least a portion of an expected delay to receive the requested pending message in response to the transmitted request.

82. The method of claim 15, further comprising utilizing a keyboard of the roaming wireless terminal node to collect information to be communicated to the bridging node.

83. The method of claim 15, wherein requesting the pending message comprises transmitting a message to the bridging node requesting the pending message.

84. The method of claim 15, wherein requesting the pending message comprises transmitting a message to the bridging node requesting at least one pending message.

85. The method of claim 15, further comprising building and storing a list of access points that are in communication range of the roaming wireless terminal.

86. The method of claim 15, further comprising building and storing a list of access points that are in communication range of the roaming wireless terminal based, at least in part, on signal strength of respective signals received from access points.

87. A method for operating a bridging node in a communication network for communicating with a plurality of roaming wireless terminal nodes that operate in a sleep mode and that wake to receive messages, the method comprising:
transmitting at predetermined intervals, a first message indicating the presence of pending messages for one or more roaming wireless terminal nodes;
receiving a request for a pending message from a terminal node that has determined from the first message that a pending message for the terminal node is present; and
transmitting the pending message to the terminal node in response to the received request.

88. The method for operating a bridging node as recited in claim 16 including storing pending messages until a predetermined number of first messages have been transmitted and delivery is unsuccessful.

89. The method of claim 87, where the bridging node is an intermediate node in the communication network.

90. The method of claim 87, where the bridging node is a node of a spanning tree.

91. The method of claim 87, where the bridging node is a base station of the communication network.

92. The method of claim 87, where the bridging node is a wireless access point of the communication network.

93. The method of claim 87, where the bridging node relays messages between other nodes.

94. The method of claim 87, wherein the bridging node routes messages between other nodes.

95. The method of claim 87, wherein prior to transmitting the first message indicating the presence of a particular pending message for a particular roaming wireless terminal node, the bridging node immediately attempts to communicate the particular pending message to the particular roaming wireless terminal node upon receipt of the particular pending message from another network node.

96. The method of claim 95, wherein the bridging node immediately attempts to communicate the particular pending message to the roaming wireless terminal node by, at least in part, queuing the particular pending message for transmission to the roaming wireless terminal node.

97. The method of claim 95, wherein the bridging node immediately attempts to communicate the particular pending message to the roaming wireless terminal node by, at least in part, attempting to acquire access to a communication medium.

98. The method of claim 87, wherein the roaming wireless terminal node is a hand-held terminal.

99. The method of claim 87, where the bridging node is operable to communicate utilizing spread spectrum communications.

100. The method of claim 87, where the method is performed, at least in part, utilizing a processor executing software instructions stored in a memory of the bridging node.

101. The method of claim 87, wherein the roaming wireless terminal node is a wireless terminal node that is able to be moved.

102. The method of claim 87, where the sleep mode is an energy-saving mode.

103. The method of claim 87, further comprising determining at the bridging node when to transmit the first message.

104. The method of claim 103, further comprising communicating information to the roaming wireless terminal node indicative of when the first message will be transmitted.

105. The method of claim 103, wherein determining when to transmit the first message comprises determining when to transmit the first message based, at least in part, on a randomization seed, and further comprising communicating information of the randomization seed to the roaming wireless terminal node.

106. The method of claim 103, wherein determining when to transmit the first message comprises adjusting a calculated randomized transmission time by a temporal offset to avoid a collision, and further comprising communicating information of the temporal offset to the roaming wireless terminal node.

107. The method of claim 87, wherein transmitting at predetermined intervals comprises transmitting at a consistent predetermined interval.

108. The method of claim 87, wherein transmitting at predetermined intervals comprises transmitting at inconsistent predetermined intervals.

109. The method of claim 87, wherein transmitting at predetermined intervals comprises transmitting at a predetermined interval that comprises a pseudo-random component.

110. The method of claim 87, wherein transmitting at predetermined intervals comprises transmitting at a predetermined interval that is based, at least in part, on a consistent time interval adjusted by a pseudo-random amount.

111. The method of claim 87, wherein the first message comprises information to assist the roaming wireless terminal node in synchronizing waking of the roaming wireless terminal node from the sleep mode.

112. The method of claim 87, wherein the first message is a beacon message.

113. The method of claim 87, wherein the first message is a HELLO message.

114. The method of claim 87, where transmitting the first message comprises broadcasting the first message to a plurality of roaming wireless terminal nodes.

115. The method of claim 87, wherein the first message comprises information to assist a roaming wireless terminal node in attaching to the communication network.

116. The method of claim 87, wherein the first message comprises information to assist a roaming wireless terminal node in modifying attachment to the communication network.

117. The method of claim 87, wherein the first message comprises information to assist a roaming wireless terminal node in determining when to wake to receive a second message transmitted after the first message.

118. The method of claim 87, wherein the first message comprises a pending message list.

119. The method of claim 87, wherein the first message comprises a list that indicates to the roaming wireless terminal node whether the roaming wireless terminal node has a message pending.

120. The method of claim 87, wherein the first message comprises information indicating that a pending message for the roaming wireless terminal node is stored and awaiting delivery to the roaming wireless terminal node.

121. The method of claim 87, wherein the first message comprises information indicating that at least one pending message is awaiting delivery to the roaming wireless terminal node and at least one other pending message is awaiting delivery to another roaming wireless terminal node.

122. The method of claim 87, wherein the first message comprises information identifying the roaming wireless terminal node as a terminal for which a stored pending message is awaiting delivery.

123. The method of claim 87, wherein the first message comprises information identifying the roaming wireless terminal node as a terminal for which a stored pending message is awaiting delivery and information describing at least one characteristic of the stored pending message.

124. The method of claim 87, wherein the first message comprises information identifying the roaming wireless terminal node as a terminal for which a stored pending message is awaiting delivery and information describing a size of the stored pending message.

125. The method of claim 87, wherein the first message comprises information of an address of the roaming wireless terminal node to indicate that a stored pending message is awaiting delivery to the roaming wireless terminal node.

126. The method of claim 87, wherein the first message comprises information indicating that one or more pending messages are stored in a base station of the communication network and awaiting delivery to the roaming wireless terminal node.

127. The method of claim 87, wherein the first message comprises information indicating that one or more pending messages are stored in a node of the communication network and awaiting delivery to the roaming wireless terminal node.

128. The method of claim 87, wherein the first message comprises information indicating that one or more pending messages are stored in a parent node of the roaming wireless terminal node.

129. The method of claim 87, wherein the first message comprises information indicating that one or more pending mail messages are awaiting delivery to the roaming wireless terminal node.

130. The method of claim 87, further comprising, prior to transmitting the first message, receiving the pending message from another node of the communication network.

131. The method of claim 130, further comprising, prior to transmitting the first message, attempting to immediately deliver the received pending message to the roaming wireless terminal node.

132. The method of claim 131, further comprising, prior to transmitting the first message, storing the received pending message in memory for later delivery to the roaming wireless terminal node.

133. The method of claim 132, further comprising, after transmitting a predetermined number of messages indicating that the stored pending message is awaiting delivery, removing the stored pending message from memory.

134. The method of claim 133, wherein the predetermined number is based, at least in part, on information communicated to the bridging node from the roaming wireless terminal node.

135. The method of claim 87, further comprising receiving information from the roaming wireless terminal node regarding how long a message should be stored for the roaming wireless terminal node.

136. The method of claim 87, further comprising receiving information from the roaming wireless terminal node indicating that the roaming wireless terminal node is operable in a sleep mode.

137. The method of claim 87, further comprising receiving information from the roaming wireless terminal node indicating how long the roaming wireless terminal node might operate in a sleep mode.

138. The method of claim 87, wherein the pending message comprises a mail message.

139. The method of claim 87, further comprising forming a transport connection to transmit the pending message to the roaming wireless terminal node.

140. The method of claim 139, wherein forming a transport connection comprises forming a TCP connection.

141. The method of claim 139, wherein forming a transport connection comprises forming a VMTP connection.

142. The method of claim 87, further comprising forming a connection-oriented communication link to transmit the pending message to the roaming wireless terminal node if the pending message is a first type of message and forming a non-connection-oriented conmmnication link to transmit the pending message to the roaming wireless terminal node if the pending message is a second type of message.

143. The method of claim 87, wherein receiving a request for the pending message comprises receiving a message from the roaming wireless terminal node requesting one or more pending messages.

144. A method for operating a bridging node and a roaming wireless terminal node in a communication network comprising:
transmitting from a bridging node at predetermined intervals, a first message indicating the presence of a pending message;
operating the terminal node in a sleep mode;
waking the terminal node to receive a first message;
determining at the terminal node from a received first message the presence of a pending message for the terminal node; and
requesting a pending message if a pending message for the terminal node is determined to be present.

145. A roaming wireless terminal node for use in a communication network having at least one bridging node that transmits at predetermined intervals a first message indicating the presence of a pending message, the roaming wireless terminal comprising:
at least one module that operates to, at least:
cause the roaming wireless terminal node to operate in a sleep mode;
cause the roaming wireless terminal node to wake from the sleep mode to receive a first message;
determine from a received first message whether there is a pending message for the terminal node; and
cause the roaming wireless terminal to request the pending message if it is determined from the first message that there is a pending message for the terminal node.

146. The roaming wireless terminal of claim 145, wherein the at least one module further operates to, after waking the roaming wireless terminal node to receive a first message, receive the first message from the bridging node.

147. The roaming wireless terminal of claim 146, where the bridging node is an intermediate node in the communication network.

148. The roaming wireless terminal of claim 146, where the bridging node is a node of a spanning tree.

149. The roaming wireless terminal of claim 146, where the bridging node is a base station of a communication network.

150. The roaming wireless terminal of claim 146, where the bridging node is an access point of a communication network.

151. The roaming wireless terminal of claim 146, where the bridging node relays messages between other nodes.

152. The roaming wireless terminal of claim 146, where the bridging node routes messages between other nodes.

153. The roaming wireless terminal of claim 145, where prior to transmitting the first message, the bridging node immediately attempts to communicate the pending message to the roaming wireless terminal node upon receipt of the pending message from another network node.

154. The roaming wireless terminal of claim 153, where the bridging node immediately attempts to communicate the pending message to the roaming wireless terminal node by, at least in part, queuing the pending message for transmission to the roaming wireless terminal node.

155. The roaming wireless terminal of claim 153, where the bridging node immediately attempts to communicate the pending message to the roaming wireless terminal node by, at least in part, attempting to acquire access to a communication medium.

156. The roaming wireless terminal of claim 145, further comprising circuitry operable to receive electrical power from a battery.

157. The roaming wireless terminal of claim 145, where the roaming wireless terminal node is a hand-held terminal.

158. The roaming wireless terminal of claim 145, further comprising hand-held computer circuitry that operates to execute software instructions.

159. The roaming wireless terminal of claim 145, wherein the at least one module operates to communicate utilizing spread spectrum communications.

160. The roaming wireless terminal of claim 145, wherein the at least one module comprises software instructions executable by a processor of the roaming wireless terminal.

161. The roaming wireless terminal of claim 145, where the roaming wireless terminal node is a terminal that is able to be moved.

162. The roaming wireless terminal of claim 145, where the sleep mode is an energy-saving mode.

163. The roaming wireless terminal of claim 145, wherein the at least one module operates to cause the roaming wireless terminal node to operate in a sleep mode by, at least in part, causing the powering down of receiver circuitry of the roaming wireless terminal node.

164. The roaming wireless terminal of claim 145, wherein the at least one module operates to determine when to wake the roaming wireless terminal node to receive the first message.

165. The roaming wireless terminal of claim 164, wherein the at least one module operates to determine when to wake the roaming wireless terminal node to receive the first message based, at least in part, on information received from the bridging node.

166. The roaming wireless terminal of claim 164, wherein the at least one module operates to determine when to wake the roaming wireless terminal node to receive the first message comprises based, at least in part, on seed information received from the bridging node.

167. The roaming wireless terminal of claim 164, wherein the at least one module operates to determine when to wake the roaming wireless terminal node to receive the first message based, at least in part, on temporal offset information received from the bridging node.

168. The roaming wireless terminal of claim 164, wherein the at least one module operates to determine when to wake the roaming wireless terminal node to receive the first message based, at least in part, on an expected duration of a communication between another roaming wireless terminal node and the bridging node.

169. The roaming wireless terminal of claim 145, wherein the at least one module operates to wake the roaming wireless terminal node to receive a first message by, at least in part, operating to wake the roaming wireless terminal node to receive the first message at a predetermined interval.

170. The roaming wireless terminal of claim 145, wherein the at least one module operates to wake the roaming wireless terminal node to receive a first message by, at least in part, operating to wake the roaming wireless terminal node to receive the first message at a consistent predetermined interval.

171. The roaming wireless terminal of claim 145, wherein the at least one module operates to wake the roaming wireless terminal node to receive a first message by, at least in part, operating to wake the roaming wireless terminal node to receive the first message at a predetermined interval that comprises a pseudo-random component.

172. The roaming wireless terminal of claim 145, wherein the at least one module operates to wake the roaming wireless terminal node to receive a first message by, at least in part, operating to wake the roaming wireless terminal node to receive the first message at a predetermined interval that is based, at least in part, on a consistent time interval adjusted by a pseudo-random adjustment.

173. The roaming wireless terminal of claim 145, wherein the at least one module operates to synchronize waking of the roaming wireless terminal node to receive the first message following operation in the sleep mode.

174. The electrical circuitroaming wireless terminal of claim 145, wherein the at least one module operates to wake the roaming wireless terminal node to receive a first message by, at least in part, operating to wake the roaming wireless terminal node to receive a first message after operating in a sleep mode for a plurality of consecutive predetermined intervals.

175. The electrical circuitroaming wireless terminal of claim 145, wherein the at least one module operates to wake the roaming wireless terminal node to receive a first message by, at least in part, operating to wake the roaming wireless terminal node for up to a maximum listening period, where the maximum listening period is at least a maximum expected time interval between consecutive transmissions of the first message.

176. The electrical circuitroaming wireless terminal of claim 145, wherein the at least one module operates to determine whether to consider a received first message based, at least in part, on signal strength.

177. The roaming wireless terminal of claim 145, wherein the first message is a beacon message.

178. The roaming wireless terminal of claim 145, wherein the first message is a HELLO message.

179. The roaming wireless terminal of claim 145, where the first message is broadcast to a plurality of roaming wireless terminal nodes.

180. The roaming wireless terminal of claim 145, where the first message is transmitted at a consistent predetermined interval.

181. The roaming wireless terminal of claim 145, where the first message is transmitted at a predetermined interval comprising a pseudo-random component.

182. The roaming wireless terminal of claim 145, where the first message is transmitted at an inconsistent predetermined interval.

183. The roaming wireless terminal of claim 145, wherein the at least one module operates to utilize information communicated with the first message to cause the roaming wireless terminal node to attach to the communication network.

184. The roaming wireless terminal of claim 145, wherein the at least one module operates to utilize information communicated with the first message to cause the roaming wireless terminal node to modify attachment to the communication network.

185. The roaming wireless terminal of claim 145, wherein the at least one module operates to determine when to wake the roaming wireless terminal node to receive a second message based, at least in part, on information communicated with the first message.

186. The roaming wireless terminal of claim 145, wherein the at least one module operates to determine when to wake the roaming wireless terminal node to receive a second message based, at least in part, on seed information communicated with the first message.

187. The roaming wireless terminal of claim 145, wherein the at least one module operates to determine when to wake the roaming wireless terminal node to receive a second message based, at least in part, on temporal displacement information communicated with the first message.

188. The roaming wireless tenninal of claim 145, wherein the first message comprises a pending message list.

189. The roaming wireless terminal of claim 145, wherein the first message comprises a list that indicates to the roaming wireless terminal node whether the roaming wireless terminal node has a message pending.

190. The roaming wireless terminal of claim 145, wherein the first message comprises information indicating that a pending message for the roaming wireless terminal node is stored and awaiting delivery to the roaming wireless terminal node.

191. The roaming wireless terminal of claim 145, wherein the first message comprises information indicating that at least one pending message is awaiting delivery to the roaming wireless terminal node and at least one other pending message is awaiting delivery to another roaming wireless terminal node.

192. The roaming wireless terminal of claim 145, wherein the first message comprises information identifying the roaming wireless terminal node as a terminal for which a stored pending message is awaiting delivery.

193. The roaming wireless terminal of claim 145, wherein the first message comprises information identifying the roaming wireless terminal node as a terminal for which a stored pending message is awaiting delivery and information describing at least one characteristic of the stored pending message.

194. The roaming wireless terminal of claim 145, wherein the first message comprises information identifying the roaming wireless terminal node as a terminal for which a stored pending message is awaiting delivery and information describing a size of the stored pending message.

195. The roaming wireless terminal of claim 145, wherein the first message comprises information of the roaming wireless terminal node's address to indicate that a stored pending message is awaiting delivery to the roaming wireless terminal node.

196. The roaming wireless terminal of claim 145, wherein the first message comprises information indicating that one or more pending messages are stored in a base station of the communication network and awaiting delivery to the roaming wireless terminal node.

197. The roaming wireless terminal of claim 145, wherein the first message comprises information indicating that one or more pending messages are stored in a node of the communication network and awaiting delivery to the roaming wireless terminal node.

198. The roaming wireless terminal of claim 145, wherein the first message comprises information indicating that one or more pending messages are stored in a parent node of the roaming wireless terminal node.

199. The roaming wireless terminal of claim 145, wherein the first message comprises information indicating that one or more pending mail messages are awaiting delivery to the roaming wireless terminal node.

200. The roaming wireless terminal of claim 145, wherein the at least one module operates to cause the roaming wireless terminal node to communicate information to a network node regarding how long a message should be stored for the roaming wireless terminal node.

201. The roaming wireless terminal of claim 145, wherein the at least one module operates to cause the roaming wireless terminal node to communicate information to a network node indicating that the roaming wireless terminal node is operable in a sleep mode.

202. The roaming wireless terminal of claim 145, wherein the at least one module operates to cause the roaming wireless terminal node to communicate information to a network node regarding how long the roaming wireless terminal node might operate in a sleep mode.

203. The roaming wireless terminal of claim 145, wherein the pending message comprises a mail message.

204. The roaming wireless terminal of claim 145, wherein the at least one module operates to cause the roaming wireless terminal node to form a transport connection to receive the pending message.

205. The roaming wireless terminal of claim 204, wherein the transport connection comprises a TCP connection.

206. The roaming wireless terminal of claim 204, wherein the transport connection comprises a VMTP connection.

207. The roaming wireless terminal of claim 145, wherein the at least one module operates to cause the roaming wireless terminal node to form a connection-oriented communication link to receive the pending message if the pending message is a first type of message and cause the roaming wireless terminal node to form a non-connection-oriented communication link to receive the pending message if the pending message is a second type of message.

208. The roaming wireless terminal of claim 145, wherein the at least one module operates to cause the roaming wireless terminal node to operate in an awake state if a predetermined number of expected signals from the communication network are not received.

209. The roaming wireless terminal of claim 145, wherein the at least one module operates to cause the roaming wireless terminal node to operate in the sleep mode for at least a portion of an expected delay to receive a message in response to a message sent from the roaming wireless terminal node.

210. The roaming wireless terminal of claim 145, wherein the at least one module operates to, after a request for the pending message is transmitted, cause the roaming wireless terminal node to operate in the sleep mode for at least a portion of an expected delay to receive the requested pending message in response to the transmitted request.

211. The roaming wireless terminal of claim 145, further comprising circuitry that operates to utilize a keyboard of the roaming wireless terminal node to collect information to be communicated to the network node.

212. The roaming wireless terminal of claim 145, wherein the at least one module operates to request the pending message by, at least in part, causing the transmission of a message to the network node requesting the pending message.

213. The roaming wireless terminal of claim 145, wherein the at least one module operates to request the pending message by, at least in part, causing the transmission of a message to the network node requesting at least one pending message.

214. The roaming wireless terminal of claim 145, wherein the at least one module operates to build and store a list of access points that are in communication range of the roaming wireless terminal.

215. The roaming wireless terminal of claim 145, wherein the at least one module operates to build and store a list of access points that are in communication range of the roaming wireless terminal based, at least in part, on signal strength of respective signals received from access points.

216. A bridging node in a communication network for communicating with a plurality of roaming wireless terminal nodes that operate in a sleep mode and that wake to receive messages, the bridging node comprising:
at least one module that operates to, at least:
cause the bridging node to transmit at predetermined intervals, a first message indicating the presence of pending messages for one or more roaming wireless terminal nodes;
receive a request for a pending message from a roaming wireless terminal node that has determined from the first message that a pending message for the roaming wireless terminal node is present; and
cause the bridging node to transmit the pending message to the roaming wireless terminal node in response to the received request.

217. The bridging node of claim 216, where the bridging node is an intermediate node in the communication network.

218. The bridging node of claim 216, where the bridging node is a node of a spanning tree.

219. The bridging node of claim 216, where the bridging node is a base station of the communication network.

220. The bridging node of claim 216, where the bridging node is a wireless access point of the communication network.

221. The bridging node of claim 216, where the bridging node relays messages between other nodes.

222. The bridging node of claim 216, where the bridging node routes messages between other nodes.

223. The bridging node of claim 216, wherein prior to causing the bridging node to transmit the first message indicating the presence of a particular pending message for a particular roaming wireless terminal node, the at least one module operates to cause the bridging node to immediately attempt to communicate the particular pending message to the particular roaming wireless terminal node.

224. The bridging node of claim 223, wherein the at least one module operates to cause the bridging node to immediately attempt to communicate the particular pending message to the roaming wireless terminal node by, at least in part, operating to cause the bridging node to queue the particular pending message for transmission to the roaming wireless terminal node.

225. The bridging node of claim 223, wherein the at least one module operates to cause the bridging node to immediately attempt to communicate the particular pending message to the roaming wireless terminal node by, at least in part, operating to cause the bridging node to attempt to acquire access to a communication medium.

226. The bridging node of claim 216, where the roaming wireless terminal node is a hand-held terminal.

227. The bridging node of claim 216, where the bridging node is operable to communicate utilizing spread spectrum communications.

228. The bridging node of claim 216, where the roaming wireless terminal node is a wireless terminal node that is able to be moved.

229. The bridging node of claim 216, where the sleep mode is an energy-saving mode.

230. The bridging node of claim 216, wherein the at least one module operates to determine when to transmit the first message.

231. The bridging node of claim 230, wherein the at least one module operates to cause the bridging node to communicate information to the roaming wireless terminal node indicative of when the first message will be transmitted.

232. The bridging node of claim 230, wherein the at least one module operates to determine when to transmit the first message based, at least in part, on a randomization seed, and further operates to cause the bridging node to communicate information of the randomization seed to the roaming wireless terminal node.

233. The bridging node of claim 230, wherein the at least one module operates to determine when to transmit the first message by, at least in part, operating to adjust a calculated randomized transmission time by a temporal offset to avoid a collision, and further operates to cause the bridging node to communicate information of the temporal offset to the roaming wireless terminal node.

234. The bridging node of claim 216, wherein the at least one module operates to cause the bridging node to transmit the first message at predetermined intervals by, at least in part, operating to cause the bridging node to transmit the first message at a consistent predetermined interval.

235. The bridging node of claim 216, wherein the at least one module operates to cause the bridging node to transmit the first message at predetermined intervals by, at least in part, operating to cause the bridging node to transmit the first message at inconsistent predetermined intervals.

236. The bridging node of claim 216, wherein the at least one module operates to cause the bridging node to transmit the first message at predetermined intervals by, at least in part, operating to cause the bridging node to transmit the first message at a predetermined interval that comprises a pseudo-random component.

237. The bridging node of claim 216, wherein the at least one module operates to cause the bridging node to transmit the first message at predetermined intervals by, at least in part, operating to cause the bridging node to transmit the first message at a predetermined interval that is based, at least in part, on a consistent time interval adjusted by a pseudo-random amount.

238. The bridging node of claim 216, wherein the first message comprises information to assist the roaming wireless terminal node in synchronizing waking of the roaming wireless terminal node from the sleep mode.

239. The bridging node of claim 216, wherein the first message is a beacon message.

240. The bridging node of claim 216, wherein the first message is a HELLO message.

241. The bridging node of claim 216, wherein the at least one module operates to cause the bridging node to transmit the first message by, at least in part, causing the bridging node to broadcast the first message to a plurality of roaming wireless terminal nodes.

242. The bridging node of claim 216, wherein the first message comprises information to assist a roaming wireless terminal node in attaching to the communication network.

243. The bridging node of claim 216, wherein the first message comprises information to assist a roaming wireless terminal node in modifying attachment to the communication network.

244. The bridging node of claim 216, wherein the first message comprises information to assist a roaming wireless terminal node in determining when to wake to receive a second message transmitted after the first message.

245. The bridging node of claim 216, wherein the first message comprises a pending message list.

246. The bridging node of claim 216, wherein the first message comprises a list that indicates to the roaming wireless terminal node whether the roaming wireless terminal node has a message pending.

247. The bridging node of claim 216, wherein the first message comprises information indicating that a pending message for the roaming wireless terminal node is stored and awaiting delivery to the roaming wireless terminal node.

248. The bridaina node of claim 216, wherein the first message comprises information indicating that at least one pending message is awaiting delivery to the roaming wireless terminal node and at least one other pending message is awaiting delivery to another roaming wireless terminal node.

249. The bridging node of claim 216, wherein the first message comprises information identifying the roaming wireless terminal node as a terminal for which a stored pending message is awaiting delivery.

250. The bridging node of claim 216, wherein the first message comprises information identifying the roaming wireless terminal node as a terminal for which a stored pending message is awaiting delivery and information describing at least one characteristic of the stored pending message.

251. The bridging node of claim 216, wherein the first message comprises information identifying the roaming wireless terminal node as a terminal for which a stored pending message is awaiting delivery and information describing a size of the stored pending message.

252. The bridging node of claim 216, wherein the first message comprises information of an address of the roaming wireless terminal node to indicate that a stored pending message is awaiting delivery to the roaming wireless terminal node.

253. The bridging node of claim 216, wherein the first message comprises information indicating that one or more pending messages are stored in a base station of the communication network and awaiting delivery to the roaming wireless terminal node.

254. The bridging node of claim 216, wherein the first message comprises information indicating that one or more pending messages are stored in a node of the communication network and awaiting delivery to the roaming wireless terminal node.

255. The bridging node of claim 216, wherein the first message comprises information indicating that one or more pending messages are stored in a parent node of the roaming wireless terminal node.

256. The bridging node of claim 216, wherein the first message comprises information indicating that one or more pending mail messages are awaiting delivery to the roaming wireless terminal node.

257. The bridging node of claim 216, wherein the at least one module, prior to operating to cause the bridging node to transmit the first message, operates to cause the bridging node to receive the pending message from another node of the communication network.

258. The bridging node of claim 257, wherein the at least one module, prior to operating to cause the bridging node to transmit the first message, operates to cause the bridging node to attempt to immediately deliver the received pending message to the roaming wireless terminal node.

259. The bridging node of claim 258, wherein the at least one module, prior to operating to cause the bridging node to transmit the first message, operates to cause the bridging node to store the received pending message in memory for later delivery to the roaming wireless terminal node.

260. The bridging node of claim 259, wherein the at least one module, after operating to cause the bridging node to transmit a predetermined number of messages indicating that the stored pending message is awaiting delivery, operates to cause the bridging node to remove the stored pending message from memory.

261. The bridging node of claim 260, wherein the predetermined number is based, at least in part, on information communicated to the bridging node from the roaming wireless terminal node.

262. The bridging node of claim 216, wherein the at least one module operates to receive information from the roaming wireless terminal node regarding how long a message should be stored for the roaming wireless terminal node.

263. The bridaing node of claim 216, wherein the at least one module operates to receive information from the roaming wireless terminal node indicating that the roaming wireless terminal node is operable in a sleep mode.

264. The bridging node of claim 216, wherein the at least one module operates to receive information from the roaming wireless terminal node indicating how long the roaming wireless terminal node might operate in a sleep mode.

265. The bridging node of claim 216, wherein the pending message comprises a mail message.

266. The bridaing node of claim 216, wherein the at least one module operates to cause the bridging node to form a transport connection to transmit the pending message to the roaming wireless terminal node.

267. The bridging node of claim 266, wherein the transport connection comprises a TCP connection.

268. The bridging node of claim 266, wherein the transport connection comprises a VMTP connection.

269. The bridging node of claim 216, wherein the at least one module operates to cause the bridging node to form a connection-oriented communication link to transmit the pending message to the roaming wireless terminal node if the pending message is a first type of message and form a non-connection-oriented communication link to transmit the pending message to the roaming wireless terminal node if the pending message is a second type of message.

270. The bridging node of claim 216, wherein the at least one module operates to receive a request for a pending message by, at least in part, operating to receive a message from the roaming wireless terminal node requesting one or more pending messages.