This invention pertains generally to computer networking and, more particularly, to improving bandwidth by enabling direct communication rather than indirect communication when doing so would yield greater throughput.
As the use of wireless networking technologies in home environments increases, the need for ensuring high bandwidth and traffic prioritization increases. For example, much of the material transported over networks in the home environment is entertainment material, and most of this material is video and/or audio intensive. Audio and video materials require adequate average bandwidth as well as a certain level of reliable and timely transmission, perhaps ahead of other non-time sensitive information.
One way to allow interconnectivity of devices is through a wireless LAN. Wireless LANs are becoming an increasingly popular technology for interconnecting devices that are in close proximity (e.g., within the range of IEEE 802.11 technologies) to each other. The most common way to maintain a wireless LAN is in what is known as infrastructure mode. This mode entails the use of a specialized device known as an Access Point (AP). There is typically a single AP per wireless LAN and all the wireless stations (STAs) and the AP in a wireless LAN communicate using the same channel (frequency). Multiple wireless LANs may communicate with each other to form an extended wireless LAN. In addition to the AP and STAs in infrastructure mode, there may also be devices known as wireless repeater APs. A wireless repeater AP attaches to an AP as an STA but simultaneously advertises itself as another AP with the same network ID and channel number as the AP it is attached to.
An alternative manner of interconnecting wireless devices involves the use of what is known as “adhoc” mode. In this mode, there is no specialized AP device. An ad-hoc network can be formed for example when all the STAs that are to be a part of the adhoc network are configured with the same network name and security keys.
When two STAs communicate with each other through an AP (in infrastructure mode), the communication happens twice over the wireless link, once from the sending STA to the AP and then again from the AP to the receiving STA.
The duplication of transmissions in a typical wireless LAN operating in infrastructure mode results in wastage of wireless bandwidth, e.g., data transfer capacity is approximately half of what it would optimally be. Such waste is generally undesirable, and is particularly problematic in home or other environments where the transmission of audio and/or video data requires high bandwidth and optimal channel usage.
As discussed above,
According to various embodiments of the invention, a mechanism is provided for dynamically establishing an optimal communication mode between wireless devices, such that STAs communicate directly (either by forming a new wireless LAN using a wireless repeater AP or in adhoc mode) with each other or indirectly through an existing AP depending upon which mode would yield higher throughput under present network conditions and configuration.
In an embodiment of the invention, a measurement based mechanism is used to decide which communication mode is more efficient. If it is decided that direct communication is optimal, then the two STAs can either form an adhoc network or with soft MAC capability, as that provided by Microsoft's™ Native WiFi, an STA can be dynamically configured to become a wireless repeater access point (soft AP). The measurements are also used to detect the support of traffic prioritization at the AP and if an application needs support for traffic prioritization, it can be dynamically enabled at the wireless repeater AP if the two STAs decide to communicate directly with one of them becoming the wireless repeater AP.
The proposed invention has significant application in home entertainment scenarios. Media streaming between devices (such as Microsoft's MCE PC and Microsoft's Bobsled or Sony's Vaio PC and Sony's Roomlink) in the home over wireless LAN can be seriously constrained by the limited bandwidth of the wireless LAN. Further, interference from other applications and lack of prioritization support at the AP can degrade the media application's user experience. The proposed invention helps avoid wastage of wireless bandwidth and protects multimedia stream from other traffic where the physical location of entertainment devices allows for this. The invention also has application in any other scenario where direct communication between STAs is permitted.
Additional features and advantages of the invention will be apparent from the following detailed description of illustrative embodiments which proceeds with reference to the accompanying figures.
While the appended claims set forth the features of the present invention with particularity, the invention and its advantages are best understood from the following detailed description taken in conjunction with the accompanying drawings, of which:
Methods and systems for optimizing communications paths in a wireless network will now be described with respect to various embodiments. The skilled artisan will readily appreciate that the methods and systems described herein are merely exemplary and that variations can be made without departing from the spirit and scope of the invention.
The present invention will be more completely understood through the following detailed description, which should be read in conjunction with the attached drawings. In this description, like numbers refer to similar elements within various embodiments of the present invention.
The invention is illustrated as being implemented in a suitable computing environment. Although not required, the invention will be described in the general context of computer-executable instructions, such as procedures, being executed by a personal computer. Generally, procedures include program modules, routines, functions, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the invention may be practiced in a variety of computer system configurations, including hand-held devices, multi-processor systems, and microprocessor-based or programmable consumer electronics devices. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices. The term computer system may be used to refer to a system of computers such as may be found in a distributed computing environment.
That said, one example system for implementing the invention includes a general purpose computing device in the form of a computer 310. Components of the computer 310 may include, but are not limited to, a processing unit 320, a system memory 330, and a system bus 321 that couples various system components including the system memory to the processing unit 320. The system bus 321 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures.
The computer 310 typically includes a variety of computer-readable media. Computer-readable media can be any available media that can be accessed by the computer 310 and include both volatile and nonvolatile media, and removable and non-removable media. By way of example, and not limitation, computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computer 310. Communication media typically embodies computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of the any of the above are included within the scope of computer-readable media.
The system memory 330 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 331 and random access memory (RAM) 332. By way of example, and not limitation,
The computer 310 may also include other removable and non-removable, volatile and nonvolatile computer storage media. By way of example only,
The computer system may include interfaces for additional types of removable non-volatile storage devices. For instance, the computer may have a USB port 353 that can accept a USB flash drive (UFD) 354, or a SD card slot 357 that can accept a Secure Digital (SD) memory card 358. A USB flash drive is a flash memory device that is fitted with a USB connector that can be inserted into a USB port on various computing devices. A SD memory card is a stamp-sized flash memory device. Both the USB flash drive and SD card offer high storage capacity in a small package and high data transfer rates.
The drives and their associated computer storage media, discussed above and illustrated in
The computer 310 preferably operates or is adaptable to operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 380. The remote computer 380 may be a personal computer, a server, a router, a peer device or other network node, and typically includes some or all of the elements described above relative to the computer 310, although only a memory storage device 381 has been illustrated in
When used in a LAN environment, the computer 310 is connectable to the LAN 371 through a network interface or adapter 370. The computer 310 may also include a modem 372 or other means for establishing communications over the WAN 373. The modem 372, which may be internal or external, may be connected to the system bus 321 by way of the user input interface 360 or other appropriate mechanism. In a networked environment, program modules depicted relative to the computer 310, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation,
Having discussed one of many suitable computing device environments, the details pertaining to various embodiments of the invention will now be discussed in greater depth. As discussed above, wireless bandwidth in a wireless LAN can sometimes be more efficiently used, depending upon the exact current network parameters, if STAs (Stations) directly communicate with each other without going through an AP (Access Point). According to various embodiments of the invention, a mechanism is provided for dynamically establishing an optimal communication mode between wireless devices, such that STAs communicate directly or indirectly depending upon which mode would yield higher throughput under present network conditions and configuration.
In an embodiment of the invention, a measurement based mechanism is used to decide which communication mode is more efficient. If it is decided that direct communication is optimal, then the two STAs can either form an adhoc network or with soft MAC capability, as that provided by Microsoft's™ Native WiFi, an STA can be dynamically configured to become a wireless repeater access point (soft AP). The measurements are also used to detect the support of traffic prioritization at the AP and if an application needs support for traffic prioritization, it can be dynamically enabled at the wireless repeater AP if the two STAs decide to communicate directly with one of them becoming the wireless repeater AP.
Embodiments of the invention are particularly, though not exclusively, useful in home entertainment scenarios. Media streaming between devices in the home over wireless LAN can be seriously constrained by the limited bandwidth of the wireless LAN. Further, interference from other applications and lack of prioritization support at the AP can degrade the media application's user experience further. Embodiments of the invention help avoid wastage of wireless bandwidth. In further embodiments of the invention, multimedia streams are protected from other traffic where the physical location of entertainment devices allows for this. The invention also has application in any other scenario where direct communication between STAs is permitted.
As illustrated, the link 407 between the media sending device 403 and the AP 401 has a bandwidth of 7×, as does the link 409 from the AP 401 to the media receiving device 405. Many factors can affect bandwidth including appliances, toys, and physical structures. As illustrated, the direct link 411 from the media sending device 403 to the media receiving device 405 has a bandwidth of 6×. In this scenario, the maximum bandwidth that the media sending device will experience in indirect mode, i.e. going through the AP 401, will be 7× due to links 407, 409. However, the maximum bandwidth experienced by the media sending device 403 in direct mode will be 6×. Thus, in this case the sending and receiving devices 403, 405 will experience greater throughput by communicating via the AP 401 in indirect mode.
An architecture for allowing the dynamic selection of either direct or indirect communications modes is illustrated schematically in
The illustrated architecture 600 supplements the existing wireless stack, driver, and NIC to allow a decision as to the type of communications to send, and to allow implementation of that decision. Thus, the sending host 600 implements the ordinary networking stack 601, native wireless driver 603, and wireless network interface card (NIC) 605. In addition, the sending host also implements a Measurement Module 607 and a Direct Communication Module 609. The Measurement Module 607 and Direct Communication Module 609 are interconnected to allow communication of messages there between. For example, if the Measurement Module 607 determines that direct communications would provide better throughput, as will be described below, then it can activate the Direct Communication Module 609. Moreover, the Measurement Module 607 and the Direct Communication Module 609 are linked to the remaining components to allow them to execute their functions. For example, the Measurement Module 607 is bidirectionally linked to the host networking stack 601 so as to send and receive data related to bandwidth measurement. Moreover, the Direct Communication Module 609 is also bidirectionally linked to the stack 601 as well as to the native wireless driver 603 to allow it to implement direct communications when called for.
Thus, in operation, the Measurement Module 607 actively measures the bandwidth of the current (e.g., indirect) and alternative (e.g., direct) communications channels. Such measurements may be accomplished in a number of ways. In an embodiment of the invention, the bandwidths of the relevant channels are estimated using standard packet pair techniques. Such techniques involve sending pairs of packets back-to-back over the link in question and observing any alterations in spacing between the packets. Typically, the greater the dilation of the packet spacing, the lower the bandwidth on the link, although there are complications to using such techniques, and as such they should be understood to yield only a rough estimate of bandwidth. Another measurement mechanism is sometimes referred to as direct probing. This technique involves sequentially transmitting higher and higher bandwidth signals on the relevant link until a bandwidth limit is found whereat the transmitted material does not come through the link or is substantially delayed or dispersed. In this manner, the Measurement Module 607 causes both the direct and indirect links to be probed to determine their respective bandwidths. If it is determined that direct communications would yield better throughput than indirect communications, then the Measurement Module 607 activates the Direct Communication Module 609. The manner in which the Direct Communication Module 609 operates and the host changes its operation will be discussed below with greater specificity. In an embodiment of the invention, the Measurement Module 607 and Direct Communication Module 609 may each be deactivated for scenarios where it is not desirable, due to policy reasons or otherwise, for two wireless devices to directly communicate with each other without going through an AP.
After the first set of measurements for throughput between S1 and S2 when they are communicating through an AP are complete, Direct Communication Module (DCM) on S1, exchanges information with the corresponding DCM module on S2 for direct communication between S1 and S2 in step 709. This information includes in an embodiment of the invention the MAC address for the two STAs among other things like security information and is preferably encrypted during transmission. The MAC address is used to identify the wireless repeater AP (and acts as the BSSID) for direct communication between S1 and S2. After this information is communicated, one of the two STAs (S1 or S2) becomes a wireless repeater AP in step 711. Alternatively, S1 and S2 can join in an adhoc fashion, but this raises greater security concerns. The decision as to which of S1 or S2 becomes the wireless repeater AP can be made by any mechanism and is mutually agreed upon and communicated between the two devices using their respective DCMs before they switch to the new network formed by the wireless repeater AP.
Mechanisms for selecting which STA should act as the wireless repeater include a random number generator, a criteria such as which has a smaller ID, etc., without limitation. If it is known which of S1 or S2 has a higher probability of acting as the source of multimedia content. For example, if one of S1 or S2 is a media center PC, it may be more useful to have that device become the wireless repeater AP. This is preferred, though not required, in that it allows yet another STA S3 to connect directly to the wireless repeater AP device as will be discussed below if another multimedia application is started from the wireless repeater AP device to S3. A device may become a wireless repeater AP for example by calling the Native WiFi (or softAP) functionality on the wireless card. The other station waits for the new AP (the wireless repeater AP) to appear for a fixed duration of time T in step 713.
If the two STAs do not get directly attached to each other within a fixed period of time, they abort the process and attach back to the original AP at step 714. If the other station sees the wireless repeater AP, it attaches to it in step 715, irrespective of the signal strength from the two visible APs. Stations S1 and S2 directly attach to each other by one STA becoming an STA for the other STA which acts as a wireless repeater AP to the original AP. Support for traffic prioritization is automatically enabled on the wireless repeater AP if such support is available. The direct connection module then triggers the measurement module to run another set of measurements in step 717, this time to measure the throughput when S1 and S2 are directly connected to each other. These measurements are preferably run with prioritization turned on at the wireless repeater AP.
In step 719, it is determined whether S1 and S2 obtain better throughput when directly connected to each other than if when connected through the AP. If so, then S1 and S2 remain connected directly at step 721. If on the other hand, measurement indicates that the throughput is lower as compared to when they were connected through the AP, S1 and S2 rejoin the AP in step 723.
As noted above, in an embodiment of the invention, two STAs S1 and S2 communicate directly with each other by means of one of them becoming a wireless repeater AP attached to the original AP. This enables S1 and S2 to continue communicating with the original AP and with any devices attached to the original AP as well as the Internet if the original AP is connected to the Internet through an Internet Gateway Device. This is because a wireless repeater AP can act as an STA to one AP while simultaneously acting as an AP to another STA. If connectivity of S1 and S2 to other devices and to the Internet is not desired, then S1 and S2 can directly communicate with each other by one of them becoming an AP (rather than wireless repeater AP) and the two devices can communicate over a channel orthogonal to the original AP in an embodiment of the invention. Note that even though a wireless repeater based direct communication uses the same channel as the original AP, there is still a savings in wireless bandwidth as communications between S1 and S2 do not need to consume scarce wireless bandwidth twice and happen directly between S1 and S2 by using one of S1 and S2 as the wireless repeater AP.
In the event that the devices S1 and S2 are mobile, or if for any other reason the bandwidth experiences high fluctuations, the measurement module is also triggered if the multimedia application is unable to get enough bandwidth to meet its requirements in an embodiment of the invention. The measurement module may then decide to either end the direct connectivity between S1 and S2 (in case they were directly connected) and make them communicate through the AP or vice versa based on the new set of measurements.
In an embodiment of the invention, “load balancing” or load optimization on the APs is provided using the above mechanisms if there are multiple APs providing coverage in an area. In this embodiment of the invention, each STA runs a measurement between itself and each of the various APs with which it can communicate to detect the available bandwidth with respect to these APs. It then joins the AP that provides the maximum available throughput. This yields better results than signal strength based load balancing schemes, because signal strength does not necessarily provide any information about the remaining available bandwidth on an AP. Rather, signal strength only provides information about the how strong the wireless channel is between the STA and the AP. While signal strength can affect throughput, there are a number of other factors that can affect throughput between two devices. For example, signal strength may be high even though the capacity of one device or the other is almost entirely consumed by another task.
It will be appreciated that a new and useful system for wireless LAN node communication mode selection has been described. Preferred embodiments of this invention are described herein, including the best mode known to the inventors for carrying out the invention. Variations of those preferred embodiments may become apparent to those of ordinary skill in the art upon reading the foregoing description. The inventors expect skilled artisans to employ such variations as appropriate, and the inventors intend for the invention to be practiced otherwise than as specifically described herein. Accordingly, this invention includes all modifications and equivalents of the subject matter recited in the claims appended hereto as permitted by applicable law. Moreover, any combination of the above-described elements in all possible variations thereof is encompassed by the invention unless otherwise indicated herein or otherwise clearly contradicted by context.
All references, including publications, patent applications, patents and appendices, cited herein are hereby incorporated by reference to the same extent as if each reference were individually and specifically indicated to be incorporated by reference and were set forth in its entirety herein.
The use of the terms “a” and “an” and “the” and similar referents in the context of describing the invention (especially in the context of the following claims) are to be construed to cover both the singular and the plural, unless otherwise indicated herein or clearly contradicted by context. The terms “comprising,” “having,” “including,” and “containing” are to be construed as open-ended terms (i.e., meaning “including, but not limited to,”) unless otherwise noted. Any recitation of ranges of values herein is merely intended to serve as a shorthand method of referring individually to each separate value falling within the range, unless otherwise indicated herein, and each separate value is incorporated into the specification as if it were individually recited herein. All methods described herein can be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The use of any and all examples, or exemplary language (e.g., “such as”) provided herein, is intended merely to better illuminate the invention and does not pose a limitation on the scope of the invention unless otherwise claimed. No language in the specification should be construed as indicating any non-claimed element as essential to the practice of the invention.
Number | Name | Date | Kind |
---|---|---|---|
6799047 | Bahl et al. | Sep 2004 | B1 |
6816886 | Elvanoglu et al. | Nov 2004 | B2 |
6826617 | Ansell et al. | Nov 2004 | B1 |
6839560 | Bahl et al. | Jan 2005 | B1 |
7130646 | Wang | Oct 2006 | B2 |
7190686 | Beals | Mar 2007 | B1 |
7245915 | Matta et al. | Jul 2007 | B2 |
20030069018 | Matta et al. | Apr 2003 | A1 |
20040090924 | Giaimo et al. | May 2004 | A1 |
20050070303 | Lagno et al. | Mar 2005 | A1 |
20050141468 | Kim et al. | Jun 2005 | A1 |
20050271021 | Alemany et al. | Dec 2005 | A1 |
20050271174 | DiRenzo et al. | Dec 2005 | A1 |
20050272420 | Matsuda et al. | Dec 2005 | A1 |
20060092890 | Gupta et al. | May 2006 | A1 |
20060126645 | Devarapalli et al. | Jun 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
20060193292 A1 | Aug 2006 | US |