Modem computer systems allow for the interchange of data and resources through network environments. For example, a modem computer network may include a number of interconnected client computers. The computer network may further include resources. Such resources may be, for example and not limited to, file servers for storing data accessible by the clients, print servers for providing access to printers to the clients, and shared stores on client computers for storing data to be made available to other clients and resources on the network.
Networks vary in size. Smaller networks include Local Area Networks (LANs). Examples of LANs include home networks and small business networks where the network is at a single home or business site. Larger networks include Wide Area Networks (WANs). One common example of a WAN is the ubiquitous Internet. Another example includes a collection of LANs interconnected to create an. enterprise network. Similar to an enterprise network is a forest. A forest is a group of systems under a central control.
When LANs are interconnected to create an enterprise network, hubs may be used to connect branch offices to provide connectivity for the enterprise network. Typically, the enterprise network includes a number of distributed services located throughout the enterprise network. Clients on the enterprise network can register with one of the distributed services. The distributed service to which a client is registered provides routing capabilities that allow messages from the registered client to be delivered to other clients in the enterprise network, and allow messages from other clients to be delivered to the registered client. The distributed service may include functionality for providing security for the network. For example, the distributed service may include functionality for authenticating communications on the network to prevent unauthorized and/or malicious communications from being transmitted on the network.
The enterprise network may be arranged as a collection of sites, where each site is a range of network addresses. For example, a site may be defined as a collection of Internet Protocol (IP) addresses. Often, IP addresses are assigned based on geographical and/or logical proximity. Thus, clients and distributed services with similar IP address, and more particularly IP addresses within the same site, will often be geographically and/or logically near one another. Because much or all of the communication to a client passes through the distributed service to which the client is registered, it is often advantageous to register the client with a distributed service in the same site as the client. One advantage of close proximity of client and distributed service is the reduction of overall network traffic because each communication to and from the client will not need to be routed to a distributed service through a number of network connections to reach a remotely located distributed service.
Unfortunately however, situations may arise where a client is not able to register or communicate with a distributed service at the same site as the client. When this occurs, a client may randomly select another distributed service at another site with which to register. Understandably, this may result in a client registering with a distributed service that is geographically and/or logically far removed from the client.
The subject matter claimed herein is not limited to embodiments that solve any disadvantages or that operate only in environments such as those described above. Rather, this background is only provided to illustrate one exemplary technology area where some embodiments described herein may be practiced.
One embodiment is directed to a method of registering a client with a distributed service. The method may be practiced, for example, in a network computing environment including a client at a local site and a number of distributed services at a number of remote sites. The method includes pinging one or more distributed services at one or more remote sites. A message is received from a distributed service from among the one or more distributed services. The message specifies an optimal remote site. The method further includes registering with a distributed service at the optimal remote site.
Another embodiment described in more detail herein includes a method of providing from a distributed service at a remote site, a client at the local site with an indication of an optimal remote site. The method may be practiced, for example, in a network computing environment including a client at a local site and a number of distributed services at a number of remote sites. The method includes receiving a ping from the client. The optimal remote site is determined based on information about the client and information about the link connecting the client to the optimal remote site. The method further includes sending a message to the client. The message specifies the optimal remote site.
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 as an aid in determining the scope of the claimed subject matter.
Additional features and advantages will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the teachings herein. Features and advantages of the invention may be realized and obtained by means of the instruments and combinations particularly pointed out in the appended claims. Features of the present invention will become more fully apparent from the following description and appended claims, or may be learned by the practice of the invention as set forth hereinafter.
In order to describe the manner in which the above-recited and other advantages and features can be obtained, a more particular description of the subject matter briefly described above will be rendered by reference to specific embodiments which are illustrated in the appended drawings. Understanding that these drawings depict only typical embodiments and are not therefore to be considered to be limiting in scope, embodiments will be described and explained with additional specificity and detail through the use of the accompanying drawings in which:
Embodiments herein may comprise a special purpose or general-purpose computer including various computer hardware, as discussed in greater detail below.
One embodiment described herein is directed towards a system where distributed services on an enterprise network can provide an indication to a client that a distributed service is located at a remote site from the client that is an optimal remote site. If a client cannot register with a distributed service at the same site as the client, the client will then attempt to register with a distributed service at the optimal remote site. The optimal remote site may be determined on a per client basis. For example, each client on an enterprise network has an optimal remote site that may or may not be the same optimal remote site for other clients on the enterprise network. A site may be determined to be the optimal remote site by reference to various factors such as characteristics of the client, characteristics of systems at the remote site, and characteristics of one or more links interconnecting the client with the optimal remote site. For example, each link interconnecting a client with a remote site may be assigned an index number that is comparable to other links on the enterprise network. Each index number may be determined by reference to various characteristics as applied in a formulaic way to arrive at the index number. Formulas may include for example reference to factors such as reliability of a link, economic cost per minute or measure of data on the link, latency and performance of the link, user preferences, security of the link, network equipment, administrative costs, bandwidth of a link, and conflicting uses of a link. Distributed services in the enterprise network may include a table that includes link to link index numbers as well as an ability to calculate an index number for a client to a particular site. Index numbers calculated for links between the client and different sites can be compared such that a distributed service can return a message to the client indicating the optimal remote site is the site to with the most optimal index number.
Referring now to
Under normal operation, the client 106 prefers to register with the distributed service 104 located at a local site, local site A 102, of the client 106. However, situations may occur where distributed service 104 is not available to register clients. The client 106 will first attempt to register with a distributed service at local site A 102. When the client 106 realizes that no distributed services are available for registering clients at local site A 102, the client 106 will attempt to discover a next closest site for registering to a distributed service at the next closest site.
In the example shown in
The distributed service 120, by reference to the flag, can determine that a message 128 should be sent to the client 106 that includes an indication of an optimal remote site for the client 106. In alternative embodiments, the distributed service 120 may not reference a flag sent in the ping 126 but may rather assume that all clients and distributed services in the enterprise network 100 support the ability to receive optimal remote site information. Providing the flag by the client 106 and a reference to the flag by the distributed service 120, in one embodiment, simply provides for backward compatibility such that systems that include the functionality to request optimal remote site information and systems that include functionality to provide optimal remote site information can be used with systems that do not include such functionality.
A distributed service, such as distributed service 120 or the other distributed services shown in
Illustrating now the functionality of one embodiment, the client 106 sends a ping 126 to distributed service 120. The ping 126 may include information about the location of the client 106. For example, the ping 126 may include the IP address of the client 106. The IP address of the client 106 can be used to identify the client as a member of local site A 102. Knowing that client 106 resides at local site A 102, the distributed service 120 can then calculate the next closest site to the client 106. For example, the distributed service 120 references the cost index table to determine that the client 106 may access remote site B 108 at a cost of 1000. The client 106 may access remote site D 112 at a cost of 1500. The client 106 may access remote site C at a cost of 2000. As such, the distributed service 120 returns a message 128 to the client 106 indicating that remote site B is the closest or optimal remote site for the client 106. The client can then register with distributed service 130 at remote site B 108.
In one embodiment, if the client 106 is unable to register with a distributed service at the optimal remote site, which in this case is remote site B 108, then the client 106 may revert to a scheme whereby the client 106 registers with a random domain controller included in a list of domain controllers.
In one alternative embodiment, the distributed service 120 may provide a ranked listing of closest sites such that if the client 106 fails to connect to a distributed service at the most optimal remote site, remote site B 108, then the client 106 can attempt to contact a distributed service in the next most optimal remote site. For example, the distributed service 120 may return a message 128 that remote site B 108 is the most optimal remote site for connecting to the client 106 (with an index of 1000), remote site D 112 is the next most optimal remote site (with an index of 1500) and remote site C 116 is the next most optimal remote site after remote site D 112 (with an index of 2000). As such, if the client 106 fails to register with the distributed service 130 at remote site B 108, then the distributed service may attempt to register with the distributed service 121 at remote site D 112. If the client 106 fails to register with a distributed service at remote cite D, then the client 106 will attempt to register with a distributed service 120, 122, or 124 at remote site C 116.
The embodiments described above to have been described in general terms. However it should be realized that certain specific embodiments may also be implemented. For example, the embodiments described above may be implemented in an active directory embodiment using the active directory technology available on servers available from Microsoft Corporation of Redmond Wash. For example, the distributed services described previously herein may be embodied as domain controllers at sites in an active directory forest.
Referring now to
In one embodiment, pinging one or more distributed services at one or more remote sites (act 202) may be performed subsequent to first attempting to contact a distributed service at the same site as the client. For example and referring again to
Referring once again to
As alluded to previously, index numbers may be used to compare links from local sites to a remote site. As such, the optimal remote site may be determined to be the optimal remote site by virtue of an index comparable with an index for other sites. The index numbers may be calculated by using a number of different factors. For example, the index may be calculated by using at least one of physical proximity of the client to the optimal remote site, economic cost of a link connecting the client to the optimal remote site, reliability of the link, latency and performance of the link, user preferences, security of the link, network equipment, administrative costs, bandwidth of the link or, conflicting uses of the link.
As described above, one factor that may be used in calculating indexes of links connecting sites is a monetary cost of a link. For example, different types of links may have different monetary costs associated with their use. For example, dialup connections, direct Ethernet connections, satellite connections, DSL connections, wireless connections and the like each have a differing monetary cost when compared to one another. In the example shown in
As noted previously, another factor that may be used in calculating an index number may be the reliability of the link connecting the client to the optimal remote site. Some types of communication are less reliable than other types of communication. Thus a communication type that is more reliable may result in a lower index number for the link.
Yet another factor that may be used in determining an index number is the latency and performance of the link. Some links are able to transmit data at faster rates than other links. This may be due to the type of technology that is used to create the link, or the amount of traffic on the link, or for other various reasons. Thus, in one embodiment, links with higher performance and lower latency may have lower index numbers.
Another factor that may be used to determine an index for a link relates to the security of the link. For example, certain types of links have higher levels of encryption or are more secure. Often, hardwired links are more secure than wireless links. Certain types of wireless encryption are more secure than other types of wireless encryption. Thus, in one embodiment, more secure links may have a lower index number, or an index indication that the link is more or less optimal, than less secure links.
Yet another factor that may be used to determine an index value for a link relates to the bandwidth of the link. In one embodiment, the bandwidth of the link refers to bandwidth available for servicing additional clients. Thus, in one exemplary embodiment, while a link may have an overall higher bandwidth availability, the link may actually result in a higher index when the link has less available bandwidth because the link is dedicated to serving other clients or services on the network.
Another factor that may be used to determine the index number for a link relates to conflicting uses of the link. For example, some links may be valuable for servicing various types of network traffic and thus should be preserved for those types of network traffic. Thus, a link may receive a higher index value because the link is used for various types of network communications which may be less desirable to have interrupted than other communications on the other links.
The optimal remote site may be determined by identifying the local site by reference to an IP address of the client. For example, and referring again to
Notably, in the examples shown above, lower index values are illustrated as having a more optimal nature. However, one can imagine scenarios where higher index values are more optimal or other index indicators are used to indicate the optimalness of a link. Thus, the embodiments illustrated herein should not be limited to only embodiments where only lower index values indicate a more optimal link.
The method 200 illustrated in
The method 200 may further include reverting to a random pinging method of finding a distributed service if no message indicating an optimal remote site is received. For example, and referring again to
Referring now to
The method 300 further includes an act of determining the optimal remote site based on information about the client and information about the link connecting the client to the optimal remote site (act 304). Determining the optimal remote site (act 304) may include comparing an index of the optimal remote site to indexes of other sites. The index may be calculated by using physical proximity of the client and the optimal remote site, economic cost of a link connecting the client to the optimal remote site, reliability of the link, latency and performance of the link, user preferences, security of the link, network equipment, administrative costs, bandwidth of the link or, conflicting uses of the link. In one embodiment, the optimal remote site is determined by identifying the local site by reference to an IP address of the client. For example, as shown in
In one embodiment, the method 300 may include calculating the index of the optimal remote site. In this embodiment, a distributed service may include program modules or other functionality for calculating the index and numbers used to compare links interconnecting sites. The program modules may accept as input information such as that described previously herein, and may include program modules for calculating an index number based on the input information.
In an alternative embodiment, the method 300 may include receiving a calculated index of the optimal remote site. For instance, the distributed services on the enterprise network may include functionality for receiving index numbers from another agent on the enterprise network where the other agent provides the index numbers for the links interconnecting the sites in the enterprise network.
The method 300 shown in
Referring now to
The computer system 420 also includes, as alluded to above, storage media configured to store data and program modules. For example, application programs 436 can be stored on the hard drive 439 where they can be loaded into the RAM 425 of the system memory 422. Similarly, program data 438 may be stored on the hard drive 439 and stored in the RAM 425 of the system memory 422.
A storage medium may include one or more program modules 437 configured to ping one or more distributed services at one or more remote sites. The program modules may be further configured to receive a message from a distributed service from among the one or more distributed services, where the message specifies an optimal remote site. The program one or more modules may be further configured register with a distributed service at the optimal remote site.
In some embodiments, the distributed services are represented by the remote computer system 483 connected to the computer system 420 via a network interface 453 and network connection 451. The network connection 451 may be any of the various network connections that exist at the present time or may exist in the future. Present connections include Bluetooth connections, wired and wireless connections and various other connections. However, embodiments are not limited to the network connections recited herein, but may function with other, yet undiscovered connections.
In one embodiment, the one or more program modules 437 may be further configured to send an indication that the computer system 420 is capable of processing optimal site information. In yet another embodiment, the program modules may be configured to revert to a random pinging method of finding a distributed service if no message indicating an optimal remote site is received.
Embodiments may also include computer-readable media for carrying or having computer-executable instructions or data structures stored thereon. Such computer-readable media can be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer. When information is transferred or provided over a network or another communications connection (either hardwired, wireless, or a combination of hardwired or wireless) to a computer, the computer properly views the connection as a computer-readable medium. Thus, any such connection is properly termed a computer-readable medium. Combinations of the above should also be included within the scope of computer-readable media.
Computer-executable instructions comprise, for example, instructions and data which cause a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.
Number | Name | Date | Kind |
---|---|---|---|
5483652 | Sudama et al. | Jan 1996 | A |
5892946 | Woster et al. | Apr 1999 | A |
6012096 | Link et al. | Jan 2000 | A |
6304913 | Rune | Oct 2001 | B1 |
6792421 | Wyse | Sep 2004 | B2 |
7089301 | Labio et al. | Aug 2006 | B1 |
20010039587 | Uhler et al. | Nov 2001 | A1 |
20020051178 | Nakayasu et al. | May 2002 | A1 |
20020147774 | Lisiecki et al. | Oct 2002 | A1 |
20020198734 | Greene et al. | Dec 2002 | A1 |
20030009401 | Ellis | Jan 2003 | A1 |
20030041130 | Harrisville-Wolff et al. | Feb 2003 | A1 |
20030236779 | Choi et al. | Dec 2003 | A1 |
20040019659 | Sadot et al. | Jan 2004 | A1 |
20050128944 | Zhang et al. | Jun 2005 | A1 |
20050172011 | Gourlay et al. | Aug 2005 | A1 |
20050185660 | Ekberg et al. | Aug 2005 | A1 |
Number | Date | Country |
---|---|---|
1020000052556 | Aug 2000 | KR |
WO03055178 | Jul 2003 | WO |
Number | Date | Country | |
---|---|---|---|
20070130304 A1 | Jun 2007 | US |