WO2008157036A1 - Network interface selection using historical connection information - Google Patents
Network interface selection using historical connection information Download PDFInfo
- Publication number
- WO2008157036A1 WO2008157036A1 PCT/US2008/065737 US2008065737W WO2008157036A1 WO 2008157036 A1 WO2008157036 A1 WO 2008157036A1 US 2008065737 W US2008065737 W US 2008065737W WO 2008157036 A1 WO2008157036 A1 WO 2008157036A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network
- computer
- network interface
- interface
- connection
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
- H04L45/124—Shortest path evaluation using a combination of metrics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
Definitions
- the techniques described herein relate to network communication using a computer.
- Computers can be configured to communicate with one another over a network connection.
- the details of a network connection may not be readily apparent to the user.
- a computer may communicate with a server that could be located nearby or in a different state or country. Communication may take place over different types of media, such as telephone lines, cable lines, fiber optics or radio waves, for example. If the network communication takes place over the Internet, communication may be facilitated by an Internet Service Provider (ISP), which may route the communications through any one of a variety of different network paths.
- ISP Internet Service Provider
- Some computers may have a variety of different options for how they will access a computer network. For example, a computer may access a network through an Ethernet connection which provides a wired network interface or a wireless network interface card (NIC) that provides a wireless network interface.
- NIC wireless network interface card
- a computer When a computer has more than one network interface it may choose which interface to use for a connection.
- One prior technique for choosing a network interface is to select an available interface that has the highest interface data rate.
- the computer's interfaces may advertise the data rate that they are capable of providing and the computer may select the interface based on the advertised data rates.
- a network interface may be chosen for the network connection based on the performance of previous network connections through the available interfaces. Applicants have appreciated that, although one interface may have a higher data rate than another interface, in some embodiments using the slower interface may provide better overall performance for the network connection. Historical information about previous connections through multiple interfaces may be used to predict which interface will provide the best overall performance for a new connection. In some embodiments, such historical information may be stored by the computer itself. As the computer makes connections to other computers, one or more performance-related parameters of those connections may be stored and associated with the interface through which they were established.
- such information may include the round-trip time, the connection data rate, the connection loss rate, the hop count for the connection and/or any other suitable information.
- the computer may access some or all of this stored information to determine which interface to use. As a result, improved connection performance may be achieved by selecting an interface that is most likely to provide the best connection performance.
- One embodiment relates to a method for use in a computing environment that includes a first computer configured to communicate via a network through a first network interface and a second network interface.
- the network may enable the first computer to communicate with a plurality of other computers via the network.
- the first computer may store first and second historical network connection information.
- the first historical network connection information may represent a performance of a first network connection between the first computer and at least one of the plurality of other computers through the first network interface.
- the second historical network connection information may represent a performance of a second network connection between the first computer and at least one of the plurality of other computers through the second network interface.
- a network interface may be selected to use for a third network connection from among the first and second network interfaces.
- a third network connection may be established between the first computer and a second computer from among the plurality of other computers such that third network connection communication passes through the selected network interface.
- Another embodiment relates to a computer readable medium for use in a computing environment that includes a first computer configured to communicate via a network through a first network interface and a second network interface.
- the network may enable the first computer to communicate with a plurality of other computers via the network.
- the computer readable medium may have instructions recorded thereon which, when executed, perform a method that includes several acts.
- the computer in response to the execution of the instructions, the computer may store historical network connection information representing a performance of a plurality of network connection between the first computer and at least one of the plurality of other computers through the plurality of network interfaces.
- a network interface may be selected from among the plurality of network interfaces to use for a network connection between the first computer and at least one of the plurality of other computers.
- a network connection may be established between the first computer and a second computer from among the plurality of other computers such that communication between the first computer and the second computer passes through the selected network interface.
- a system that includes a computer and also includes first and second network interfaces that enable the computer to communicate with a plurality of other computers via a network.
- the computer may include at least one storage device storing first historical network connection information representing a performance parameter of a first network connection between the computer and at least one of the plurality of other computers through the first network interface, and second historical network connection information representing a performance parameter of a second network connection between the computer and at least one of the plurality of other computers through the second network interface.
- the computer may also include a processor that determines, based on the first and second historical information, which of the first and second network interfaces to use for a third network connection to be established with at least one of the plurality of other computers.
- FIG. 1 illustrates a computing environment in which embodiments may be implemented
- FIG. 2 is a flowchart illustrating a method of communicating over a network, according to some embodiments.
- FIG. 3 illustrates an exemplary computer on which embodiments may be implemented.
- prior techniques for selecting a network interface suffer from disadvantages.
- one prior technique for selecting a network interface is to choose an available interface that advertises that it can provide the highest data rate.
- an Ethernet network adapter interface may advertise that it is available and capable of providing a high data rate
- a cellular data network adapter interface may advertise that it is available and capable of providing a lower data rate.
- the Ethernet interface would be selected because it advertises that it is capable of providing better performance than the cellular data interface.
- connecting via the cellular data interface may actually provide better performance, as the interface speed itself does not take into account factors beyond the interface that may affect network performance.
- the Ethernet connection may provide a connection to a server of an internet service provider (ISP).
- ISP internet service provider
- the computer may experience better performance by connecting using the cellular data interface which may provide a network connection through a different ISP that may provide better service.
- factors besides the interface speed may limit the performance that can be achieved by a connection.
- different and/or additional criteria may be used for selecting the interface to be used for a connection. For example, the performance of previous connections as a whole may be taken into account rather than just the capabilities of a network interface.
- an interface may be selected based on historical information about the performance of previous connections through the available interfaces. Such historical information may include any of a variety of factors, such as the round-trip time, the connection data rate, the connection loss rate, the hop count for the connection and/or any other suitable information.
- the computer may record historical information about such connection parameters when connections are established, and may access this historical information to make a decision about which interface to use for a new connection. Such historical information may not be limited to the performance of the interfaces themselves, but may in addition to or instead reflect the performance of the connection as a whole. If an interface has recently provided good performance for a network connection to a particular network location, it may be assumed that the interface may continue to provide good performance to that network location and to locations nearby.
- Such an interface may be selected over a faster interface which may have provided inferior service to a similar network location.
- Suitable historical information about previous network connections may be used to select an interface that is more likely to provide good performance in the future.
- such a solution may advantageously be implemented by the computer itself based on historical information about previous network connections.
- FIG. 1 illustrates an example of a computing environment 10 in which embodiments may be implemented.
- Computing environment 10 includes a first computer 1 and a second computer 2 to which computer 1 may establish a connection via network 7.
- Computers 1 and 2 can be computers of any suitable type, and network 7 can be a network of any suitable type, as the techniques described herein are not limited in these respects.
- First computer 1 may be in communication with a first interface 3 and a second interface 4 which may enable computer 1 to exchange information with devices via network 7. If computer 1 is connected to computer 2 through interface 3, communication may take place via a first route 5 through network 7. If computer 1 is connected to computer 2 through interface 4, communication may take place via a second route 6 through network 7. Routes 5 and 6 may experience different performance.
- a network interface may be part of a computer or separate from a computer.
- a computer may have a built-in network interface in the form of a network interface card (e.g., a built-in wireless NIC or Ethernet NIC) which is a part of the computer.
- a network interface card e.g., a built-in wireless NIC or Ethernet NIC
- an interface may be separate from a computer, and may communicate with the computer via a local data bus (e.g., a serial or parallel bus) to provide access to another device via a network.
- a local data bus e.g., a serial or parallel bus
- Computer 1 may subsequently attempt to establish a new connection to computer 2 through interface 3, interface 4 or some other interface.
- computer 1 may select the interface to use based on historical information about the performance of previous connections that have been established (e.g., via interfaces 3 and 4 in the example of FIG. 1). Such historical information may enable the computer to take into account the effect of interface selection upon the route (e.g., route 5 or 6) that is taken through the network.
- interface 3 may be capable of providing a much higher data rate than interface 4. Selecting interface 3 might lead to communications being routed through route 5 through network 7. However, if route 5 is slower than route 6, then choosing interface 4 may provide better overall performance than choosing interface 3.
- historical information about previous connections made through interfaces 3 and 4 may allow the computer to make an educated prediction about which interface is likely to provide a connection with better performance.
- the historical information may include information about the round-trip time (RTT) for a previous network connection.
- RTT round-trip time
- computer 1 sends a packet to computer 2
- computer 2 may send a response to computer 1.
- computer 1 may send an acknowledgment packet to acknowledge the receipt of the packet sent by computer 1.
- the RTT may be an amount of time it takes from the time a communication is sent by computer 1 until a response is received by computer 1. A smaller RTT may be preferred because a smaller RTT may enable a connection to provide better performance.
- the RTT may be affected by a variety of factors, such as the distance between the computers, the speed of computer 2 and/or the speed of the route that is taken through the network.
- the historical information may include information about the data rate that has been achieved by a past connection.
- the data rate may be affected by a variety of factors such as the speed of the route that is taken through the network.
- the historical information may include information about the loss rate for a connection.
- the historical information may include information about the "hop count" which is the number of steps that are taken through the network for data to reach its destination.
- the data may need to pass through multiple steps, each of which may include a device (e.g., switch, router or gateway) which may forward the data along. If the hop count is relatively large, the data may need to pass through a large number of routers which may slow down a connection, and may present a larger chance for the connection to fail.
- FIG. 2 is a flowchart illustrating a method of communicating over a network, according to some embodiments.
- historical connection information may be saved by a computer for future use in selecting an interface.
- a computer may store historical connection information about a connection that has been established through a first interface. This can be done in any suitable way, for example, when the computer establishes a connection through the first interface to a network, the computer may store information about the connection. This information may be obtained from any source.
- the computer itself could measure a connection information and/or could receive connection information from another device.
- connection information could be received from another device that measures connection information.
- the computer could store the historical connection information locally in memory, or this information could be stored elsewhere.
- the information may be stored by the device that measures the information and obtained by the computer later prior to selecting an interface.
- the historical connection information may include any suitable performance-related information about the connection, examples of which are discussed above.
- the historical connection information may be associated with the network address of the device to which the computer connected, and the network address and historical connection information may be stored together.
- act Al may be performed by computer 1 for a connection established to computer 2 via interface 3. However, this is just an example, as act Al may be performed in any suitable way.
- a computer may store historical connection information about a connection that has been established through a second interface different from the first interface.
- the historical connection information may represent performance-related information about a connection made through the second interface.
- the historical connection information that is stored in act A2 may be the same type of information stored in the act Al, thus allowing different connections to be compared based on the same criteria.
- different types of historical connection information may be stored for different connections, as the techniques described herein are not limited in this respect.
- the historical connection information may be measured by the computer or by a different device, and may be stored locally on the computer or in another location.
- act A2 may be performed by computer 1 for a connection established to computer 2 via interface 4.
- act A2 may be performed in any suitable way.
- historical connection information may be saved for connections through different interfaces.
- acts Al and A2 may be repeated multiple times so that a computer may build a dataset of historical connection information for connections to multiple different devices.
- connection information may be measured and saved periodically while a connection is established. The interval between measurements may be chosen to be approximately equal to the RTT the connection, for example, and measurements may be also be made when the RTT changes.
- connection information need not be measured or saved periodically, and could be performed in a different manner. Any suitable raw connection measurement and/or derived connection information may be stored for one or more connection parameters. If a computer has access to more than two network interfaces, historical connection information may also be stored for any of these additional interfaces, if desired.
- a computer may wish to establish a new network connection.
- the computer may make a decision in act A3 based at least in part on the historical connection information saved in acts Al and A2.
- Such historical connection information may be used in a variety of ways. As one example, the decision may be made based on one type of historical connection information, such as the best data rate. As another example, the decision may be made based on a combination of different historical connection parameters. If multiple parameters are used, each parameter may be weighted according to its relative importance to connection quality. An interface may be chosen that is likely to provide better performance, as measured by the weighted parameters. The parameters used and the weights give can be chosen in any suitable way, as the invention is not limited to any particular parameters or weighting.
- multiple measurements of a single connection parameter may be used for interface selection.
- a statistical function or other mathematical function may be performed upon a plurality of measurements of a single parameter such that one or more mathematically-generated connection parameters are determined.
- an average connection parameter may be determined based upon multiple measurements of the connection parameter that have been made over time, such that the most recent measurements for over a particular time period are used. More recent measurements may be given more weight than older measurements, for example.
- the techniques described herein are not limited as to the method of weighting multiple measurements or the particular function that is employed to determine such a mathematically-generated parameter.
- a subset of the available historical connection information may be used for the selection of an interface.
- IP internet protocol
- connection parameters may be similar when connecting to devices that are physically close to one another.
- connections made to devices having similar IP prefixes may be of a similar quality, and may have similar connection performance characteristics.
- an interface may be selected based on historical data for connections to similar IP addresses.
- similar IP addresses may include IP addresses that are exactly the same, which represents a connection to the same network location.
- IPv4 internet protocol version four
- similar addresses may include IP addresses that have the same first three bytes or the same first two bytes, for example.
- similar addresses may include IP addresses having the same first eight bytes, the same first seven bytes, the same first six bytes, or the same prefix having any other suitable length. Any suitable prefix length may be chosen for computers that have similar IP addresses, as the techniques described herein are not limited to the particular size of IP address prefix that is compared.
- a connection may be established in the act A4 such that communication via the connection takes place through the selected interface.
- Any suitable type of connection may be established, as the techniques described herein are not limited as to the particular protocol that is used for connections.
- a suitable connection is a transmission control protocol (TCP) connection, however other types of connections may be established.
- TCP transmission control protocol
- computers 1 and/or 2 may be any suitable types of computers, such as the computer described in further detail below.
- computers 1 and/or 2 may be desktop computers, laptop computers, cellular telephones, personal digital assistants or any other suitable type of computing device.
- Interfaces 3 and 4 may be any suitable interfaces that enable computer 1 to access network 7.
- Interfaces 3 and 4 may be network adapters that are in communication with a processor of computer 1 via a wired bus, for example.
- suitable interfaces include wired NICs, such as Ethernet cards, telephone modems, DSL cards, etc.
- suitable interfaces also include wireless NICs, such as NICs capable of communicating via Bluetooth, IEEE Standard 802.11, cellular data protocols, and/or any other suitable type of NICs.
- Network 7 may be any suitable computer network such as the Internet, an intranet and/or any other suitable type of network, as the techniques described herein are not limited in this respect.
- an exemplary system on which embodiments of the invention may be implemented includes a computing device, such as computing device 40, which may be a device suitable to function as one or more of computers 1 and 2, for example.
- Computing device 40 may include at least one processing unit 41 and memory 42.
- memory 42 may be volatile, non- volatile or some combination of the two.
- dashed line 43 One possible configuration is illustrated in FIG. 3 by dashed line 43.
- device 40 may also have additional features/functionality.
- Memory 42 is a form of computer-readable media that may store information such as computer-readable instructions, which, when executed, implement any of the techniques described herein.
- Device 40 may include at least some form of computer readable media.
- Computer readable media can be any available media that can be accessed by device 40.
- Computer readable media may comprise computer storage media and communication media.
- device 40 may also include additional storage (removable and/or non-removable) including, but not limited to, magnetic or optical disks or tape.
- additional storage is illustrated in FIG. 3 by removable storage 44 and non-removable storage 45.
- 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.
- Memory 42, removable storage 44 and nonremovable storage 45 are all examples of computer storage media.
- Device 40 may also include output device(s) 46, input device(s) 47 and/or one or more communication connection(s) 48.
- Communication connection(s) 48 may include, for example, a bus interface that enables device 40 to communicate with a network interface via any suitable data bus, such as a parallel bus or a serial bus.
- inventions are not limited to executing on any particular system or group of systems.
- embodiments of the invention may run on one device or on a combination of devices.
- the invention is not limited to any system or network architecture.
- Example 1 One detailed example of an application of the techniques described herein will now be described. However, this is just an example, and the invention is not limited to this particular application, as the techniques described herein may be used in numerous other applications.
- an interface may be chosen to achieve the highest bandwidth at layer four of the OSI network communication module. Since bandwidth achieved on a particular route may be measured, past performance may be used to make more informed decisions about future interface selection. Below is describe an example of a solution based on end-to-end bandwidth measurements from the past to make route selection. 1.
- Each off-link route may maintain two bandwidth values: near (corresponding to bandwidth measurement from TCP connections to "nearby" hosts) and far bandwidth (corresponding to bandwidth measurement from TCP connections to hosts which are not "nearby"). For routes to destinations on the same subnet, there may be only one value of measured bandwidth.
- the near and far bandwidths may be set to values derived based on interface speed reported by the NICs. Until sufficient information has been reported on bandwidth by TCP connections, bandwidth values based on interface speed are used. Sufficient information may be obtained by storing connection information for at least 5 connections to 5 different destinations, in some embodiments.
- bandwidth obtained may be measured and reported to IP layer as follows: a.
- the bandwidth sample may be taken and reported to the IP layer by the TCP layer if i. a) The sender is efficiently filling the pipe (sends at least 50% of what he is allowed to send) or b) The sender is congestion limited. (Loss, delay spikes, reordering etc).
- samples may be provided if autotuning is enabled or 75% of receive window we get every RTT - efficient receiver .
- the sample may be passed to the IP layer and tracked on a per-route basis, separating the measurement into subsets or "buckets," such as near and far buckets:
- AvgBW AvgBW + (Sample - AvgBW) / N, N for each case may be chosen based on testing and experimentation (e.g., 8). Note that this algorithm may not differentiate the direction of transfer; sender and receiver samples are treated alike and are not summed. So if the data transfer is happening simultaneously, its estimates will be more conservative.
- bandwidth information obtained may be categorized into the near or the far bucket. To do so, the destination IP address for which the bandwidth is reported is used. This may done as follows: a. All destinations whose IP address match the IP address of the host under the subnet mask of the host left shifted by 8 (for IPv4) or 16 (for IPv6) may be considered near. b. For destinations not meeting criteria (a), RTT value or hop count may be used as follows. If the RTT to the destination is below a threshold (e.g., 10 milliseconds) or hop count is less than a threshold (e.g., 6), the destination is treated as near. Further, for future connections, all destinations that match a near destination under the subnet mask of the host left shifted by 8
- the computer may maintain a list of near IP address ranges. c. Any IP address that does not belong to near or is on subnet is considered far. 5.
- the destination IP may first be categorized into near vs. far and then various routes from the route lookup that match may be compared based on average near or far bandwidths for those routes. The route with the higher average bandwidth may be selected.
- Xl and Yl may be compared while for a far destination, X2 and Y2 may be compared
- the average far bandwidth for a particular route may be upper bounded by the average near bandwidth for that route.
- hysteresis may be introduced by bucketizing average bandwidth into few buckets. An average bandwidth may be categorized into a different bucket only if it crossed the bucket threshold by over 25%.
- the average bandwidth for that route may be reset to based on interface speed as in 1.
- the state maintained in section 3 above may purged when a machine reboots. On sleep/wake-up or media disconnect/re-connect, the state may be purged if any IP address assigned to the interface is different (since a different IP address indicates connectivity to a different network and hence, likely to result in different performance).
- the above algorithm may load balance TCP connections across interfaces that fall into the same bucket based on interface speed; e.g., if a large number of TCP connections start going over one interface such that the average throughput for each connection is reduced to below what is achievable over the other interface, then the above algorithm may automatically detect that and start routing new TCP connections over the other interface.
- NetBT/RDR client on some operating systems, a NetBT/RDR client may attempt to connect using the NetBT protocol (over port 138/139) as well as using the SMB protocol (using port 445). Connectivity using NetBT may be tried over all the available interfaces and then the interface that connects first may be picked. This is independent of the TCP/IP stack. Due to this behavior, NetBT may actually end up picking a slower interface and not taking the benefit of improvement in TCP/IP to select the best interface.
- the computer may attempt to connect over port 445 first (which may end up using TCP/IP routing preference), failing which it may fall back to 138/139 ports which tries connectivity over all interfaces.
- SMB may prioritize TCP/IP connections by delaying issuance of NetBT connections by 0.5s.
- NetBT may maintain long-lived connections which are shared across multiple data transfers from/to the same host. This may causes stickiness as to which interface gets picked even after a computer (e.g., a laptop) is docked especially due to strong host behavior since the routing is based on the source address as well, which gets specified when the connection was initially established.
- an operating system may implement a feature known as fast reconnect which re-establishes a TCP connection after media disconnect/connect (e.g., during sleep/wakeup) without tearing it down. This means that a machine may be put in sleep mode and connected via another interface before wake up may continue to pick the previous interface independent of routing metric.
- a solution at the TCP layer may involve TCP migration which is out of scope of this feature.
- a solution at the application layer is possible however.
- SMB may perform the following:
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A computer may be capable of communicating with devices via network through multiple interfaces. When a new connection is to be established, the computer may select an interface to use for the connection. In some embodiments, the interface may be selected based on historical connection information representing the performance of previous network connections that the computer has established through the interfaces.
Description
NETWORK INTERFACE SELECTION USING HISTORICAL CONNECTION INFORMATION
BACKGROUND
1. Technical Field
The techniques described herein relate to network communication using a computer.
2. Discussion of Related Art
Computers can be configured to communicate with one another over a network connection. The details of a network connection may not be readily apparent to the user. For example, a computer may communicate with a server that could be located nearby or in a different state or country. Communication may take place over different types of media, such as telephone lines, cable lines, fiber optics or radio waves, for example. If the network communication takes place over the Internet, communication may be facilitated by an Internet Service Provider (ISP), which may route the communications through any one of a variety of different network paths. Some computers may have a variety of different options for how they will access a computer network. For example, a computer may access a network through an Ethernet connection which provides a wired network interface or a wireless network interface card (NIC) that provides a wireless network interface. When a computer has more than one network interface it may choose which interface to use for a connection. One prior technique for choosing a network interface is to select an available interface that has the highest interface data rate. The computer's interfaces may advertise the data rate that they are capable of providing and the computer may select the interface based on the advertised data rates.
SUMMARY
In one aspect, when a computer seeks to establish a new network connection, a network interface may be chosen for the network connection based on the performance of previous network connections through the available interfaces. Applicants have appreciated that, although one interface may have a higher data rate than another interface, in some embodiments using the slower interface may provide better overall performance
for the network connection. Historical information about previous connections through multiple interfaces may be used to predict which interface will provide the best overall performance for a new connection. In some embodiments, such historical information may be stored by the computer itself. As the computer makes connections to other computers, one or more performance-related parameters of those connections may be stored and associated with the interface through which they were established. By way of example, such information may include the round-trip time, the connection data rate, the connection loss rate, the hop count for the connection and/or any other suitable information. When a new connection is desired to be established, the computer may access some or all of this stored information to determine which interface to use. As a result, improved connection performance may be achieved by selecting an interface that is most likely to provide the best connection performance.
One embodiment relates to a method for use in a computing environment that includes a first computer configured to communicate via a network through a first network interface and a second network interface. The network may enable the first computer to communicate with a plurality of other computers via the network. The first computer may store first and second historical network connection information. The first historical network connection information may represent a performance of a first network connection between the first computer and at least one of the plurality of other computers through the first network interface. The second historical network connection information may represent a performance of a second network connection between the first computer and at least one of the plurality of other computers through the second network interface. Based on at least the first and second historical network connection information, a network interface may be selected to use for a third network connection from among the first and second network interfaces. Based on the interface selected, a third network connection may be established between the first computer and a second computer from among the plurality of other computers such that third network connection communication passes through the selected network interface.
Another embodiment relates to a computer readable medium for use in a computing environment that includes a first computer configured to communicate via a network through a first network interface and a second network interface. The network may enable the first computer to communicate with a plurality of other computers via the network. The computer readable medium may have instructions recorded thereon which, when executed, perform a method that includes several acts. For example, in response to
the execution of the instructions, the computer may store historical network connection information representing a performance of a plurality of network connection between the first computer and at least one of the plurality of other computers through the plurality of network interfaces. A network interface may be selected from among the plurality of network interfaces to use for a network connection between the first computer and at least one of the plurality of other computers. Based on the interface selected, a network connection may be established between the first computer and a second computer from among the plurality of other computers such that communication between the first computer and the second computer passes through the selected network interface. Yet another embodiment relates to a system that includes a computer and also includes first and second network interfaces that enable the computer to communicate with a plurality of other computers via a network. The computer may include at least one storage device storing first historical network connection information representing a performance parameter of a first network connection between the computer and at least one of the plurality of other computers through the first network interface, and second historical network connection information representing a performance parameter of a second network connection between the computer and at least one of the plurality of other computers through the second network interface. The computer may also include a processor that determines, based on the first and second historical information, which of the first and second network interfaces to use for a third network connection to be established with at least one of the plurality of other computers.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
BRIEF DESCRIPTION OF DRAWINGS
In the drawings, each identical or nearly identical component that is illustrated in various figures is represented by a like numeral. For purposes of clarity, not every component may be labeled in every drawing. In the drawings:
FIG. 1 illustrates a computing environment in which embodiments may be implemented;
FIG. 2 is a flowchart illustrating a method of communicating over a network, according to some embodiments; and
FIG. 3 illustrates an exemplary computer on which embodiments may be implemented.
DETAILED DESCRIPTION
Applicants have appreciated that prior techniques for selecting a network interface suffer from disadvantages. As discussed above, one prior technique for selecting a network interface is to choose an available interface that advertises that it can provide the highest data rate. For example, an Ethernet network adapter interface may advertise that it is available and capable of providing a high data rate, and a cellular data network adapter interface may advertise that it is available and capable of providing a lower data rate. According to prior techniques for selecting the best available interface, the Ethernet interface would be selected because it advertises that it is capable of providing better performance than the cellular data interface. However, in some circumstances, connecting via the cellular data interface may actually provide better performance, as the interface speed itself does not take into account factors beyond the interface that may affect network performance. For example, the Ethernet connection may provide a connection to a server of an internet service provider (ISP). However, if the ISP is currently unable to provide a high quality of service, a connection made through the Ethernet connection may be relatively slow. The computer may experience better performance by connecting using the cellular data interface which may provide a network connection through a different ISP that may provide better service. Accordingly, Applicants have appreciated that factors besides the interface speed may limit the performance that can be achieved by a connection. Thus, in some embodiments, different and/or additional criteria may be used for selecting the interface to be used for a connection. For example, the performance of previous connections as a whole may be taken into account rather than just the capabilities of a network interface.
In some embodiments, an interface may be selected based on historical information about the performance of previous connections through the available interfaces. Such historical information may include any of a variety of factors, such as the round-trip time, the connection data rate, the connection loss rate, the hop count for the connection and/or any other suitable information. The computer may record historical information about such connection parameters when connections are established, and may access this
historical information to make a decision about which interface to use for a new connection. Such historical information may not be limited to the performance of the interfaces themselves, but may in addition to or instead reflect the performance of the connection as a whole. If an interface has recently provided good performance for a network connection to a particular network location, it may be assumed that the interface may continue to provide good performance to that network location and to locations nearby. Under those circumstances, such an interface may be selected over a faster interface which may have provided inferior service to a similar network location. Suitable historical information about previous network connections may be used to select an interface that is more likely to provide good performance in the future. In some embodiments, such a solution may advantageously be implemented by the computer itself based on historical information about previous network connections.
FIG. 1 illustrates an example of a computing environment 10 in which embodiments may be implemented. Computing environment 10 includes a first computer 1 and a second computer 2 to which computer 1 may establish a connection via network 7. Computers 1 and 2 can be computers of any suitable type, and network 7 can be a network of any suitable type, as the techniques described herein are not limited in these respects. First computer 1 may be in communication with a first interface 3 and a second interface 4 which may enable computer 1 to exchange information with devices via network 7. If computer 1 is connected to computer 2 through interface 3, communication may take place via a first route 5 through network 7. If computer 1 is connected to computer 2 through interface 4, communication may take place via a second route 6 through network 7. Routes 5 and 6 may experience different performance.
Although only two interfaces are illustrated in FIG. 1, the techniques described herein are not limited to this example as additional interfaces may provide access to network 7, and these techniques may be extended to these additional network interfaces. A network interface may be part of a computer or separate from a computer. For example, a computer may have a built-in network interface in the form of a network interface card (e.g., a built-in wireless NIC or Ethernet NIC) which is a part of the computer. Alternatively, an interface may be separate from a computer, and may communicate with the computer via a local data bus (e.g., a serial or parallel bus) to provide access to another device via a network. Any suitable type and configuration of network interface may be used, as the techniques described herein are not limited in this respect.
Computer 1 may subsequently attempt to establish a new connection to computer 2 through interface 3, interface 4 or some other interface. In some embodiments, computer 1 may select the interface to use based on historical information about the performance of previous connections that have been established (e.g., via interfaces 3 and 4 in the example of FIG. 1). Such historical information may enable the computer to take into account the effect of interface selection upon the route (e.g., route 5 or 6) that is taken through the network. As one example, interface 3 may be capable of providing a much higher data rate than interface 4. Selecting interface 3 might lead to communications being routed through route 5 through network 7. However, if route 5 is slower than route 6, then choosing interface 4 may provide better overall performance than choosing interface 3. In some embodiments, historical information about previous connections made through interfaces 3 and 4 may allow the computer to make an educated prediction about which interface is likely to provide a connection with better performance.
Any suitable historical information may be considered. As one example, the historical information may include information about the round-trip time (RTT) for a previous network connection. When computer 1 sends a packet to computer 2, there may be a delay before computer 2 receives the packet. Once computer 2 receives the packet, computer 2 may send a response to computer 1. For example, computer 1 may send an acknowledgment packet to acknowledge the receipt of the packet sent by computer 1. The RTT may be an amount of time it takes from the time a communication is sent by computer 1 until a response is received by computer 1. A smaller RTT may be preferred because a smaller RTT may enable a connection to provide better performance. The RTT may be affected by a variety of factors, such as the distance between the computers, the speed of computer 2 and/or the speed of the route that is taken through the network. As another example, the historical information may include information about the data rate that has been achieved by a past connection. As with RTT, the data rate may be affected by a variety of factors such as the speed of the route that is taken through the network. As yet another example, the historical information may include information about the loss rate for a connection. When sending data over a network, a packet may not always reach its destination, and sometimes may reach its destination in corrupted form. When this occurs, the packet is said to be lost, and the packet may need to be retransmitted. The loss rate for a connection represents the rate at which packets are lost for a given connection. As a further example, the historical information may include information about the "hop count" which is the number of steps that are taken through the
network for data to reach its destination. When data is routed through a connection, the data may need to pass through multiple steps, each of which may include a device (e.g., switch, router or gateway) which may forward the data along. If the hop count is relatively large, the data may need to pass through a large number of routers which may slow down a connection, and may present a larger chance for the connection to fail.
The above are merely examples of parameters that may be measure to determine performance of a connection, and it should be appreciated that the invention is not limited to using these, as any suitable historical connection information may be used for interface selection. FIG. 2 is a flowchart illustrating a method of communicating over a network, according to some embodiments. As discussed above, historical connection information may be saved by a computer for future use in selecting an interface. In act Al, a computer may store historical connection information about a connection that has been established through a first interface. This can be done in any suitable way, for example, when the computer establishes a connection through the first interface to a network, the computer may store information about the connection. This information may be obtained from any source. The computer itself could measure a connection information and/or could receive connection information from another device. For example, the connection information could be received from another device that measures connection information. The computer could store the historical connection information locally in memory, or this information could be stored elsewhere. For example, the information may be stored by the device that measures the information and obtained by the computer later prior to selecting an interface. The historical connection information may include any suitable performance-related information about the connection, examples of which are discussed above. In some embodiments, the historical connection information may be associated with the network address of the device to which the computer connected, and the network address and historical connection information may be stored together. In one example, act Al may be performed by computer 1 for a connection established to computer 2 via interface 3. However, this is just an example, as act Al may be performed in any suitable way.
In act A2, a computer may store historical connection information about a connection that has been established through a second interface different from the first interface. The historical connection information may represent performance-related information about a connection made through the second interface. In some embodiments,
the historical connection information that is stored in act A2 may be the same type of information stored in the act Al, thus allowing different connections to be compared based on the same criteria. Alternatively, different types of historical connection information may be stored for different connections, as the techniques described herein are not limited in this respect. As discussed above with respect to act Al, the historical connection information may be measured by the computer or by a different device, and may be stored locally on the computer or in another location. In one example, act A2 may be performed by computer 1 for a connection established to computer 2 via interface 4. However, this is just an example, as act A2 may be performed in any suitable way. As a result, historical connection information may be saved for connections through different interfaces. In some embodiments, acts Al and A2 may be repeated multiple times so that a computer may build a dataset of historical connection information for connections to multiple different devices. For example, connection information may be measured and saved periodically while a connection is established. The interval between measurements may be chosen to be approximately equal to the RTT the connection, for example, and measurements may be also be made when the RTT changes. However, connection information need not be measured or saved periodically, and could be performed in a different manner. Any suitable raw connection measurement and/or derived connection information may be stored for one or more connection parameters. If a computer has access to more than two network interfaces, historical connection information may also be stored for any of these additional interfaces, if desired.
At some point, a computer may wish to establish a new network connection. To select a network interface, the computer may make a decision in act A3 based at least in part on the historical connection information saved in acts Al and A2. Such historical connection information may be used in a variety of ways. As one example, the decision may be made based on one type of historical connection information, such as the best data rate. As another example, the decision may be made based on a combination of different historical connection parameters. If multiple parameters are used, each parameter may be weighted according to its relative importance to connection quality. An interface may be chosen that is likely to provide better performance, as measured by the weighted parameters. The parameters used and the weights give can be chosen in any suitable way, as the invention is not limited to any particular parameters or weighting.
In some embodiments, multiple measurements of a single connection parameter may be used for interface selection. For example, a statistical function or other
mathematical function may be performed upon a plurality of measurements of a single parameter such that one or more mathematically-generated connection parameters are determined. As one particular example, an average connection parameter may be determined based upon multiple measurements of the connection parameter that have been made over time, such that the most recent measurements for over a particular time period are used. More recent measurements may be given more weight than older measurements, for example. However, the techniques described herein are not limited as to the method of weighting multiple measurements or the particular function that is employed to determine such a mathematically-generated parameter. In some embodiments, a subset of the available historical connection information may be used for the selection of an interface. For example, if a new connection is to be established to a computer having a particular network address, historical connection information may be considered for previous connections that were made to computers that had similar network addresses, as the inventors have appreciated that computers with similar addresses tend to be located in a similar physical location. Similarity of addresses can be determined in any suitable way, as the techniques described herein are not limited to any particular technique for determining similarity. One analogy that can be made is with respect to telephone numbers, which may have the same area code for telephone numbers who's "home address" is in the same area. The same may be true for internet protocol (IP) addresses, as computers that are located near each other may have addresses with the same prefix. Thus, there may be a statistical correlation between IP address prefixes and physical proximity. In some circumstances, connection parameters may be similar when connecting to devices that are physically close to one another. As a result, connections made to devices having similar IP prefixes may be of a similar quality, and may have similar connection performance characteristics. Thus, in some embodiments, when a new connection is desired to be established to a particular IP address, an interface may be selected based on historical data for connections to similar IP addresses. In some embodiments, similar IP addresses may include IP addresses that are exactly the same, which represents a connection to the same network location. In internet protocol version four (IPv4), similar addresses may include IP addresses that have the same first three bytes or the same first two bytes, for example. In IPv6, similar addresses may include IP addresses having the same first eight bytes, the same first seven bytes, the same first six bytes, or the same prefix having any other suitable length. Any suitable prefix length may
be chosen for computers that have similar IP addresses, as the techniques described herein are not limited to the particular size of IP address prefix that is compared.
In response to selecting an interface in act A3, a connection may be established in the act A4 such that communication via the connection takes place through the selected interface. Any suitable type of connection may be established, as the techniques described herein are not limited as to the particular protocol that is used for connections. One example of a suitable connection is a transmission control protocol (TCP) connection, however other types of connections may be established.
For the computing environment illustrated in FIG. 1, computers 1 and/or 2 may be any suitable types of computers, such as the computer described in further detail below. For example, computers 1 and/or 2 may be desktop computers, laptop computers, cellular telephones, personal digital assistants or any other suitable type of computing device. Interfaces 3 and 4 may be any suitable interfaces that enable computer 1 to access network 7. Interfaces 3 and 4 may be network adapters that are in communication with a processor of computer 1 via a wired bus, for example. Examples of suitable interfaces include wired NICs, such as Ethernet cards, telephone modems, DSL cards, etc. Examples of suitable interfaces also include wireless NICs, such as NICs capable of communicating via Bluetooth, IEEE Standard 802.11, cellular data protocols, and/or any other suitable type of NICs. Network 7 may be any suitable computer network such as the Internet, an intranet and/or any other suitable type of network, as the techniques described herein are not limited in this respect.
A computing system will now be described, on which embodiments of the invention may be implemented. With reference to FIG. 3, an exemplary system on which embodiments of the invention may be implemented includes a computing device, such as computing device 40, which may be a device suitable to function as one or more of computers 1 and 2, for example. Computing device 40 may include at least one processing unit 41 and memory 42. Depending on the exact configuration and type of computing device, memory 42 may be volatile, non- volatile or some combination of the two. One possible configuration is illustrated in FIG. 3 by dashed line 43. Additionally, device 40 may also have additional features/functionality. Memory 42 is a form of computer-readable media that may store information such as computer-readable instructions, which, when executed, implement any of the techniques described herein.
Device 40 may include at least some form of computer readable media. Computer readable media can be any available media that can be accessed by device 40. By way of
example, and not limitation, computer readable media may comprise computer storage media and communication media. For example, device 40 may also include additional storage (removable and/or non-removable) including, but not limited to, magnetic or optical disks or tape. Such additional storage is illustrated in FIG. 3 by removable storage 44 and non-removable storage 45. 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. Memory 42, removable storage 44 and nonremovable storage 45 are all examples of computer storage media. Device 40 may also include output device(s) 46, input device(s) 47 and/or one or more communication connection(s) 48. Communication connection(s) 48 may include, for example, a bus interface that enables device 40 to communicate with a network interface via any suitable data bus, such as a parallel bus or a serial bus.
It should be appreciated that the invention is not limited to executing on any particular system or group of systems. For example, embodiments of the invention may run on one device or on a combination of devices. Also, it should be appreciated that the invention is not limited to any system or network architecture.
Example 1 One detailed example of an application of the techniques described herein will now be described. However, this is just an example, and the invention is not limited to this particular application, as the techniques described herein may be used in numerous other applications.
In some embodiments, an interface may be chosen to achieve the highest bandwidth at layer four of the OSI network communication module. Since bandwidth achieved on a particular route may be measured, past performance may be used to make more informed decisions about future interface selection. Below is describe an example of a solution based on end-to-end bandwidth measurements from the past to make route selection. 1. Each off-link route may maintain two bandwidth values: near (corresponding to bandwidth measurement from TCP connections to "nearby" hosts) and far bandwidth (corresponding to bandwidth measurement from TCP connections to
hosts which are not "nearby"). For routes to destinations on the same subnet, there may be only one value of measured bandwidth.
2. Initially, the near and far bandwidths may be set to values derived based on interface speed reported by the NICs. Until sufficient information has been reported on bandwidth by TCP connections, bandwidth values based on interface speed are used. Sufficient information may be obtained by storing connection information for at least 5 connections to 5 different destinations, in some embodiments.
3. For each TCP connection, bandwidth obtained may be measured and reported to IP layer as follows: a. The bandwidth sample may be taken and reported to the IP layer by the TCP layer if i. a) The sender is efficiently filling the pipe (sends at least 50% of what he is allowed to send) or b) The sender is congestion limited. (Loss, delay spikes, reordering etc). ii. For receiver bandwidth, samples may be provided if autotuning is enabled or 75% of receive window we get every RTT - efficient receiver . iii. The sample may be passed to the IP layer and tracked on a per-route basis, separating the measurement into subsets or "buckets," such as near and far buckets:
AvgBW = AvgBW + (Sample - AvgBW) / N, N for each case may be chosen based on testing and experimentation (e.g., 8). Note that this algorithm may not differentiate the direction of transfer; sender and receiver samples are treated alike and are not summed. So if the data transfer is happening simultaneously, its estimates will be more conservative.
4. For each route, bandwidth information obtained may be categorized into the near or the far bucket. To do so, the destination IP address for which the bandwidth is reported is used. This may done as follows: a. All destinations whose IP address match the IP address of the host under the subnet mask of the host left shifted by 8 (for IPv4) or 16 (for IPv6) may be considered near.
b. For destinations not meeting criteria (a), RTT value or hop count may be used as follows. If the RTT to the destination is below a threshold (e.g., 10 milliseconds) or hop count is less than a threshold (e.g., 6), the destination is treated as near. Further, for future connections, all destinations that match a near destination under the subnet mask of the host left shifted by 8
(for IPv4) or 16 (for IPv6) may be considered near. To do this, the computer may maintain a list of near IP address ranges. c. Any IP address that does not belong to near or is on subnet is considered far. 5. For a destination to which a new TCP connection is to be established, the destination IP may first be categorized into near vs. far and then various routes from the route lookup that match may be compared based on average near or far bandwidths for those routes. The route with the higher average bandwidth may be selected.
For a near destination, if route 1 and 2 are matching routes, Xl and Yl may be compared while for a far destination, X2 and Y2 may be compared
6. The average far bandwidth for a particular route may be upper bounded by the average near bandwidth for that route.
7. To increase stability, hysteresis may be introduced by bucketizing average bandwidth into few buckets. An average bandwidth may be categorized into a different bucket only if it crossed the bucket threshold by over 25%.
8. After a period of time (say 2 hrs) if no new bandwidth samples have been reported for a route, the average bandwidth for that route may be reset to based on interface speed as in 1.
The state maintained in section 3 above may purged when a machine reboots. On sleep/wake-up or media disconnect/re-connect, the state may be purged if any IP address assigned to the interface is different (since a different IP address indicates connectivity to a different network and hence, likely to result in different performance).
The above algorithm may load balance TCP connections across interfaces that fall into the same bucket based on interface speed; e.g., if a large number of TCP connections start going over one interface such that the average throughput for each connection is reduced to below what is achievable over the other interface, then the above algorithm may automatically detect that and start routing new TCP connections over the other interface.
Below is a description notifications that may be provided to applications that maintain long-lived connections:
NetBT/RDR client: on some operating systems, a NetBT/RDR client may attempt to connect using the NetBT protocol (over port 138/139) as well as using the SMB protocol (using port 445). Connectivity using NetBT may be tried over all the available interfaces and then the interface that connects first may be picked. This is independent of the TCP/IP stack. Due to this behavior, NetBT may actually end up picking a slower interface and not taking the benefit of improvement in TCP/IP to select the best interface.
To address this issue, in some embodiments the computer may attempt to connect over port 445 first (which may end up using TCP/IP routing preference), failing which it may fall back to 138/139 ports which tries connectivity over all interfaces. To do this, SMB may prioritize TCP/IP connections by delaying issuance of NetBT connections by 0.5s.
NetBT may maintain long-lived connections which are shared across multiple data transfers from/to the same host. This may causes stickiness as to which interface gets picked even after a computer (e.g., a laptop) is docked especially due to strong host behavior since the routing is based on the source address as well, which gets specified when the connection was initially established. In addition, an operating system may implement a feature known as fast reconnect which re-establishes a TCP connection after media disconnect/connect (e.g., during sleep/wakeup) without tearing it down. This means that a machine may be put in sleep mode and connected via another interface before wake up may continue to pick the previous interface independent of routing metric.
To address the long-lived connections issue, in some embodiments a solution at the TCP layer may involve TCP migration which is out of scope of this feature. A solution at the application layer is possible however. SMB may perform the following:
1. Register for media connect/disconnect notifications
2. On a media connect notification; query the stack if a better interface is available.
3. If a better interface is available, tear down all connections that can be torn down (i.e., no active file open) and that have been inactive for a period of time
Having now described some embodiments of the invention, it should be apparent to those skilled in the art that the foregoing is merely illustrative and not limiting, having been presented by way of example only. Numerous modifications and other embodiments are within the scope of one of ordinary skill in the art and are contemplated as falling within the scope of the invention. The foregoing description and drawings are by way of example only. In particular, although many of the examples presented herein involve specific combinations of method acts or system elements, it should be understood that those acts and those elements may be combined in other ways to accomplish the same objectives. Acts, elements and features discussed only in connection with one embodiment are not intended to be excluded from a similar role in other embodiments.
Use of ordinal terms such as "first", "second", "third", etc., in the claims to modify a claim element does not by itself connote any priority, precedence, or order of one claim element over another or the temporal order in which acts of a method are performed, but are used merely as labels to distinguish one claim element having a certain name from another element having a same name (but for use of the ordinal term) to distinguish the claim elements. The use of "including," "comprising," or "having," "containing," "involving," and variations thereof herein, is meant to encompass the items listed thereafter and equivalents thereof as well as additional items. What is claimed is:
Claims
1. In a computing environment including a first computer 1 configured to communicate via a network 7 through a first network interface 3 and a second network interface 4, the network enabling 7 the first computer 1 to communicate with a plurality of other computers via the network 7, a method comprising acts of:
(A) storing, by the first computer 1 , first historical network connection information representing a performance of a first network connection between the first computer 1 and at least one of the plurality of other computers through the first network interface 3;
(B) storing, by the first computer 1 , second historical network connection information representing a performance of a second network connection between the first computer and at least one of the plurality of other computers through the second network interface 4; (C) selecting, based on at least the first and second historical network connection information, a selected network interface from among the first and second network interfaces to use for a third network connection; and
(D) based on the act (C), establishing the third network connection between the first computer 1 and a second computer 2 from among the plurality of other computers such that third network connection communication passes through the selected network interface.
2. The method of claim 1, wherein the first network interface 3 and the second network interface 4 operate according to different network communication protocols.
3. The method of claim 1, wherein the first network interface 3 and the second network interface 4 provide access to the network through different types of communication media.
4. The method of claim 3, wherein the different types of communication media comprise a wireless medium and a wired medium.
5. The method of claim 1, wherein the act (C) is performed by the first computer 1 and the first computer initiates the act (D) in response to the act (C).
6. The method of claim 1 , wherein the first network connection is between the first computer 1 and a third computer 2 from among the plurality of other computers, wherein a network address of the third computer 2 is similar to a network address of the second computer, and wherein the selected network interface is selected to be the first network interface based in part on a similarity of the network addresses of the second and third computers.
7. The method of claim 6, wherein the address of the third computer and the address of the second computer have a same prefix.
8. The method of claim 6, wherein the third computer has a physical location that is close to a physical location of the second computer.
9. The method of claim 1 , wherein at least a portion of the first historical network connection information represents a hop count for the first network connection, and wherein the selected network interface is selected to be the first network interface based at least in part on the hop count.
10. The method of claim 1, wherein at least a portion of the first historical network connection information represents a round-trip time for the first network connection, and wherein the selected network interface is selected to be the first network interface based at least in part on the round-trip time.
11. The method of claim 1 , wherein the first historical network connection information represents a data rate for the first network connection, and wherein the selected network interface is selected to be the first network interface based at least in part on the data rate.
12. The method of claim 1 , wherein the first historical network connection information represents a packet loss rate for the first network connection, and wherein the selected network interface is selected to be the first network interface based at least in part on the packet loss rate.
13. The method of claim 1 , wherein the selected network interface provides a higher overall connection data rate than a non-selected network interface of the first and second network interfaces would provide.
14. The method of claim 1 , wherein the act (A) is performed prior to terminating the first network connection and the act (C) is performed after terminating the first network connection.
15. In a computing environment including a first computer 1 configured to communicate via a network 7 through a first network interface 3 and a second network interface 4, the network enabling the first computer 1 to communicate with a plurality of other computers via the network 7, a computer readable medium having instructions which, when executed, perform a method comprising acts of:
(A) storing, by the first computer 1 , historical network connection information representing a performance of a plurality of network connection between the first computer and at least one of the plurality of other computers through the plurality of network interfaces;
(B) selecting, based on at least the historical network connection information, a selected network interface from among the plurality of network interfaces to use for a network connection between the first computer 1 and at least one of the plurality of other computers; and
(C) based on the act (B), establishing the network connection between the first computer 1 and a second computer 2 from among the plurality of other computers such that communication between the first computer and the second computer passes through the selected network interface.
16. The computer readable medium of claim 15, wherein (A) is performed such that the historical network connection information is stored while at least one of the plurality of network connections is active.
17. A system, comprising: a computer 1 ; a first network interface 3 that enables the computer to communicate with a plurality of other computers via a network; and a second network interface 4 that enables the computer to communicate with a plurality of other computers via the network; wherein the computer comprises: at least one storage device 42 storing first historical network connection information representing a performance parameter of a first network connection between the computer and at least one of the plurality of other computers through the first network interface 3, and second historical network connection information representing a performance parameter of a second network connection between the computer and at least one of the plurality of other computers through the second network interface 4; a processor 41that determines, based on the first and second historical information, which of the first and second network interfaces to use for a third network connection to be established with at least one of the plurality of other computers.
18. The computer of claim 17, wherein the first and second network interfaces are part of the computer.
19. The computer of claim 17, wherein the computer further comprises: at least one wired bus 48 coupled to the processor; wherein the first network interface is a network adapter in communication with the processor via the at least one wired bus.
20. The computer of claim 17, wherein the first network interface 3 is a wired network adapter and the second network interface 4 is a wireless network adapter.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008800200706A CN101682549B (en) | 2007-06-15 | 2008-06-04 | Network interface selection using historical connection information |
EP08780747.5A EP2165465B1 (en) | 2007-06-15 | 2008-06-04 | Network interface selection using historical connection information |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/818,888 US8274893B2 (en) | 2007-06-15 | 2007-06-15 | Network interface selection using historical connection information |
US11/818,888 | 2007-06-15 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008157036A1 true WO2008157036A1 (en) | 2008-12-24 |
Family
ID=40132250
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2008/065737 WO2008157036A1 (en) | 2007-06-15 | 2008-06-04 | Network interface selection using historical connection information |
Country Status (4)
Country | Link |
---|---|
US (1) | US8274893B2 (en) |
EP (1) | EP2165465B1 (en) |
CN (1) | CN101682549B (en) |
WO (1) | WO2008157036A1 (en) |
Families Citing this family (46)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8159962B2 (en) * | 2007-07-27 | 2012-04-17 | General Instrument Corporation | Method and apparatus for optimizing home network interface selection in home networking applications |
JP4402170B2 (en) * | 2007-12-25 | 2010-01-20 | パナソニック株式会社 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
US9319299B2 (en) * | 2008-01-25 | 2016-04-19 | Alcatel Lucent | Method and apparatus for link aggregation using links having different link speeds |
US8537677B2 (en) * | 2009-10-13 | 2013-09-17 | Hewlett-Packard Development Company, L.P. | Incremental adaptive packet routing in a multi-dimensional network |
US10218467B2 (en) | 2009-12-23 | 2019-02-26 | Pismo Labs Technology Limited | Methods and systems for managing error correction mode |
EP2456136A1 (en) * | 2010-11-17 | 2012-05-23 | Thomson Licensing | Device and method for determining one or more communication paths between one device with a plurality of communication interfaces and another device with at least one communication interface |
EP2456135A1 (en) * | 2010-11-17 | 2012-05-23 | Thomson Licensing | Method and device for determining one or more communication paths between communication devices with multiple communication interfaces |
US8583824B2 (en) * | 2010-12-16 | 2013-11-12 | Microsoft Corporation | Identifying an efficient destination server |
US9059869B2 (en) * | 2012-10-09 | 2015-06-16 | Qualcomm Incorporated | Interface selection in a hybrid communication device |
GB2515676B (en) * | 2013-03-28 | 2021-04-14 | Pismo Labs Technology Ltd | Method and system to transmit and receive data packets through at least one end-to-end connection |
US20140297818A1 (en) * | 2013-03-29 | 2014-10-02 | Microsoft Corporation | Parallel and Dynamic Interface Selection |
CN105594176B (en) * | 2013-07-05 | 2019-09-13 | 柏思科技有限公司 | Pass through the method and system of network interface transfers packet |
WO2015001392A1 (en) * | 2013-07-05 | 2015-01-08 | Pismo Labs Technology Limited | Methods and systems for sending and receiving information data |
CN103825795A (en) * | 2013-12-05 | 2014-05-28 | 青岛海信电子设备股份有限公司 | IPIP tunnel automatic identification creation method |
US10291597B2 (en) | 2014-08-14 | 2019-05-14 | Cisco Technology, Inc. | Sharing resources across multiple devices in online meetings |
CN107079569B (en) * | 2014-11-24 | 2019-10-11 | 飞利浦灯具控股公司 | Control network connection lighting apparatus |
US10542126B2 (en) | 2014-12-22 | 2020-01-21 | Cisco Technology, Inc. | Offline virtual participation in an online conference meeting |
US10681145B1 (en) * | 2014-12-22 | 2020-06-09 | Chelsio Communications, Inc. | Replication in a protocol offload network interface controller |
US10833925B2 (en) * | 2015-02-24 | 2020-11-10 | Red Hat Israel, Ltd. | Attachment of a logical network to a virtual machine |
US9948786B2 (en) | 2015-04-17 | 2018-04-17 | Cisco Technology, Inc. | Handling conferences using highly-distributed agents |
US10291762B2 (en) | 2015-12-04 | 2019-05-14 | Cisco Technology, Inc. | Docking station for mobile computing devices |
CN107231318B (en) * | 2016-03-25 | 2022-07-08 | 阿尔格布鲁控股有限公司 | Method, equipment and device for dynamic switching control based on real-time network performance |
US10454877B2 (en) | 2016-04-29 | 2019-10-22 | Cisco Technology, Inc. | Interoperability between data plane learning endpoints and control plane learning endpoints in overlay networks |
US10091070B2 (en) | 2016-06-01 | 2018-10-02 | Cisco Technology, Inc. | System and method of using a machine learning algorithm to meet SLA requirements |
US10182387B2 (en) * | 2016-06-01 | 2019-01-15 | At&T Intellectual Property I, L.P. | Method and apparatus for distributing content via diverse networks |
US10574609B2 (en) | 2016-06-29 | 2020-02-25 | Cisco Technology, Inc. | Chat room access control |
KR102581310B1 (en) | 2016-10-25 | 2023-09-22 | 삼성전자 주식회사 | Method and Apparatus for selecting an access network in a wireless communication system |
US10592867B2 (en) | 2016-11-11 | 2020-03-17 | Cisco Technology, Inc. | In-meeting graphical user interface display using calendar information and system |
US10516707B2 (en) | 2016-12-15 | 2019-12-24 | Cisco Technology, Inc. | Initiating a conferencing meeting using a conference room device |
US10515117B2 (en) | 2017-02-14 | 2019-12-24 | Cisco Technology, Inc. | Generating and reviewing motion metadata |
US9942519B1 (en) | 2017-02-21 | 2018-04-10 | Cisco Technology, Inc. | Technologies for following participants in a video conference |
US10440073B2 (en) | 2017-04-11 | 2019-10-08 | Cisco Technology, Inc. | User interface for proximity based teleconference transfer |
US10375125B2 (en) | 2017-04-27 | 2019-08-06 | Cisco Technology, Inc. | Automatically joining devices to a video conference |
US10963813B2 (en) | 2017-04-28 | 2021-03-30 | Cisco Technology, Inc. | Data sovereignty compliant machine learning |
US10404481B2 (en) | 2017-06-06 | 2019-09-03 | Cisco Technology, Inc. | Unauthorized participant detection in multiparty conferencing by comparing a reference hash value received from a key management server with a generated roster hash value |
US10375474B2 (en) | 2017-06-12 | 2019-08-06 | Cisco Technology, Inc. | Hybrid horn microphone |
US10477148B2 (en) | 2017-06-23 | 2019-11-12 | Cisco Technology, Inc. | Speaker anticipation |
US10516709B2 (en) | 2017-06-29 | 2019-12-24 | Cisco Technology, Inc. | Files automatically shared at conference initiation |
US10608901B2 (en) | 2017-07-12 | 2020-03-31 | Cisco Technology, Inc. | System and method for applying machine learning algorithms to compute health scores for workload scheduling |
US10706391B2 (en) | 2017-07-13 | 2020-07-07 | Cisco Technology, Inc. | Protecting scheduled meeting in physical room |
US10091348B1 (en) | 2017-07-25 | 2018-10-02 | Cisco Technology, Inc. | Predictive model for voice/video over IP calls |
US10715638B2 (en) * | 2017-10-30 | 2020-07-14 | Nec Corporation | Method and system for server assignment using predicted network metrics |
US10771621B2 (en) | 2017-10-31 | 2020-09-08 | Cisco Technology, Inc. | Acoustic echo cancellation based sub band domain active speaker detection for audio and video conferencing applications |
US10867067B2 (en) | 2018-06-07 | 2020-12-15 | Cisco Technology, Inc. | Hybrid cognitive system for AI/ML data privacy |
US10446170B1 (en) | 2018-06-19 | 2019-10-15 | Cisco Technology, Inc. | Noise mitigation using machine learning |
JP7523254B2 (en) | 2020-05-29 | 2024-07-26 | キヤノン株式会社 | COMMUNICATION DEVICE, WIRELESS CONNECTION METHOD, AND PROGRAM |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030065816A1 (en) * | 2001-09-28 | 2003-04-03 | Intel Corporation | User-preferred network interface switching using route table manipulation |
JP2005085078A (en) * | 2003-09-10 | 2005-03-31 | Fuji Xerox Co Ltd | Network system including power saving dealing device |
US20060015636A1 (en) * | 2004-07-01 | 2006-01-19 | Alcatel | Method for selecting among network interfaces, device with multiple network interfaces and application |
Family Cites Families (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0664631B1 (en) * | 1993-12-27 | 2001-02-28 | Ricos Co., Ltd. | Communications apparatus for downloading data |
US6064671A (en) * | 1995-12-08 | 2000-05-16 | Killian; Michael G. | Multi-homed end system for increasing computers network bandwidth |
JPH10257098A (en) * | 1997-03-07 | 1998-09-25 | Sony Corp | Communication route controller, communication route control method and communication route control unit |
US6697333B1 (en) * | 1998-03-04 | 2004-02-24 | Alcatel Canada Inc. | Bandwidth load consideration in network route selection |
US6256309B1 (en) * | 1998-04-28 | 2001-07-03 | Cisco Technology, Inc. | Quality of service sensitive routes precomputed in bandwidth brackets |
US5943317A (en) * | 1998-10-15 | 1999-08-24 | International Business Machines Corp. | Sub-network route optimization over a shared access transport facility |
US7039709B1 (en) * | 2000-05-31 | 2006-05-02 | International Business Machines Corporation | Dynamically selection of most efficient transmission medium and route from a client browser |
US20040111529A1 (en) * | 2002-12-10 | 2004-06-10 | Intel Corporation (A Delaware Corporation) | Dynamic host based load balancing of a multihomed network |
EP1515487B1 (en) * | 2003-09-10 | 2010-05-05 | Delta Networks, Inc. | Qos Based load-balance policy for WLAN |
US7613171B2 (en) * | 2004-08-31 | 2009-11-03 | Ephraim Zehavi | Cellular network service over WLAN |
US20060075124A1 (en) * | 2004-10-01 | 2006-04-06 | Michael Joseph Dougherty | Automatic activation and deactivation of wireless network adapter |
KR100716986B1 (en) * | 2004-11-11 | 2007-05-10 | 삼성전자주식회사 | Method and apparatus for determining route using RR procedure |
US20060142021A1 (en) * | 2004-12-29 | 2006-06-29 | Lucent Technologies, Inc. | Load balancing on shared wireless channels |
US20070014241A1 (en) * | 2005-07-14 | 2007-01-18 | Banerjee Dwip N | Resolver caching of a shortest path to a multihomed server as determined by a router |
US7835743B2 (en) * | 2005-08-03 | 2010-11-16 | Toshiba America Research, Inc. | Seamless network interface selection, handoff and management in multi-IP network interface mobile devices |
US7606159B2 (en) * | 2005-08-30 | 2009-10-20 | Cisco Technology, Inc. | Method and apparatus for updating best path based on real-time congestion feedback |
JP2007088949A (en) * | 2005-09-22 | 2007-04-05 | Fujitsu Ltd | Information processing apparatus, communication load diffusing method and communication load diffusion program |
US7626994B2 (en) * | 2005-11-14 | 2009-12-01 | Broadcom Corporation | Multiple node applications cooperatively managing a plurality of packet switched network pathways |
US20080081576A1 (en) * | 2006-09-28 | 2008-04-03 | Olsen Christopher N | Multi-antenna configurations with one or more embedded antennae |
US8000239B2 (en) * | 2006-12-14 | 2011-08-16 | Oracle America, Inc. | Method and system for bandwidth allocation using router feedback |
US8259613B2 (en) * | 2006-12-29 | 2012-09-04 | Lenovo (Singapore) Pte. Ltd. | Autonomic network connections |
-
2007
- 2007-06-15 US US11/818,888 patent/US8274893B2/en active Active
-
2008
- 2008-06-04 WO PCT/US2008/065737 patent/WO2008157036A1/en active Application Filing
- 2008-06-04 EP EP08780747.5A patent/EP2165465B1/en active Active
- 2008-06-04 CN CN2008800200706A patent/CN101682549B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030065816A1 (en) * | 2001-09-28 | 2003-04-03 | Intel Corporation | User-preferred network interface switching using route table manipulation |
JP2005085078A (en) * | 2003-09-10 | 2005-03-31 | Fuji Xerox Co Ltd | Network system including power saving dealing device |
US20060015636A1 (en) * | 2004-07-01 | 2006-01-19 | Alcatel | Method for selecting among network interfaces, device with multiple network interfaces and application |
Non-Patent Citations (2)
Title |
---|
JUKKA YLITALO ET AL.: "Dynamic Network Interface Selection in Multihomed Mobile Hosts", 36TH ANNUAL HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES (HICSS'03) - TRACK 9, 2003, pages 315 - 325, XP002320751 * |
See also references of EP2165465A4 * |
Also Published As
Publication number | Publication date |
---|---|
EP2165465B1 (en) | 2019-01-23 |
US20080310419A1 (en) | 2008-12-18 |
EP2165465A1 (en) | 2010-03-24 |
CN101682549A (en) | 2010-03-24 |
US8274893B2 (en) | 2012-09-25 |
CN101682549B (en) | 2013-11-20 |
EP2165465A4 (en) | 2010-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2165465B1 (en) | Network interface selection using historical connection information | |
US10917322B2 (en) | Network traffic tracking using encapsulation protocol | |
CN101573927B (en) | Path MTU discovery in network system | |
US7623455B2 (en) | Method and apparatus for dynamic load balancing over a network link bundle | |
US8583831B2 (en) | Thin client discovery | |
US8493839B2 (en) | Method and system of teamed network adapters with offloaded connections | |
EP2984798B1 (en) | Identification of paths taken through a network of interconnected devices | |
US20100271964A1 (en) | Flow redirection employing state information | |
CN111771359B (en) | Method and system for connecting communication networks | |
US10135736B1 (en) | Dynamic trunk distribution on egress | |
WO1999001010A1 (en) | Management of entries in a network element forwarding memory | |
JP4279300B2 (en) | Network virtualization apparatus and network virtualization program | |
CN103581009A (en) | Drop sensitive prefix (BGP path) attribute modification | |
EP1363429A2 (en) | Logically grouping physical ports into logical interfaces to expand bandwidth | |
EP2294739B1 (en) | Inter-office communication method | |
US9356989B2 (en) | Learning values of transmission control protocol (TCP) options | |
US6973503B2 (en) | Preventing at least in part control processors from being overloaded | |
JP2001211190A (en) | Device and method for managing communication | |
Rayes et al. | The internet in IoT | |
EP4135288A1 (en) | Multiple state control interfaces between a control plane and a user plane in a disaggregated broadband network gateway architecture | |
KR100506182B1 (en) | A vpn system supporting a multitunnel ipsec and operation method thereof | |
US12088676B2 (en) | Integrated broadband network gateway (BNG) device for providing a BNG control plane for one or more distributed BNG user plane devices | |
US7392318B1 (en) | Method and system for balancing a traffic load in a half-duplex environment | |
US20230164149A1 (en) | Causing or preventing an update to a network address translation table | |
Ayar et al. | Mitigating reordering vulnerability of MPTCP with transparent proxies |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 200880020070.6 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 08780747 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2008780747 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 6746/CHENP/2009 Country of ref document: IN |
|
NENP | Non-entry into the national phase |
Ref country code: DE |