A portion of the disclosure of this patent document contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.
The present application includes a Computer Program Listing filed on a single compact disc (CD), filed in duplicate. The Computer Program Listing is presented in a single file on each CD and is named ComputerProgramListing. The Computer Program Listing was last modified Jun. 29, 2011 at 4:16 PM and comprises 11.5 kilobytes.
When a server is added to an existing network, problems may arise with the network's router that require the router to be reconfigured. For example, in a small business or home office network that operates without a server, routers purchased from typical chain stores are prepared to work with client computers, generally building a networking infrastructure for global access to the Internet, while assuming no Intranet services. When a server is later added to such a network, the router is not configured for the now-existing infrastructure on the local area network (Intranet).
Configuration of a router is not particularly straightforward for most computer users. Most router manufacturers typically rely on web-based administration of the router's features (although some manufacturers use Telnet). While programmatic access via UPnP (Universal Plug-and-Play) is sometimes accessible, it is often disabled on routers, and is virtually always incomplete. This because router manufactures tend not to fully support UPnP due to inherent insecurities embedded in the UPnP protocol.
This Summary is provided to introduce a selection of representative 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 in any way that would limit the scope of the claimed subject matter.
Briefly, various aspects of the subject matter described herein are directed towards a technology by which network software (e.g., in a server) communicates with a plurality of router providers that have methods to configure routers, to determine each of the provider's capabilities with respect to configuring a network router. A router provider is chosen based on that provider's capabilities in order to configure the router.
In one example implementation, a router configuration component of the network software is coupled to the plurality of providers via a defined interface to determine each provider's capabilities with respect to configuring the router. For example, the router configuration component passes an IP address of the router to each provider and receives a score in return. In this example, the score comprises a sum of values, wherein the values are weighted such that port mapping capability has a higher weight than dynamic host configuration protocol (DHCP) switch configuration capability, which has a higher weight than Network Address Translation (NAT) switch configuration capability, which has a higher weight than HTTPS manual configuration capability, which has a higher weight than HTTP manual configuration capability, which has a higher weight than Telnet manual configuration capability. The router provider associated with the best returned score is chosen for use in configuring the router.
Other advantages may become apparent from the following detailed description when taken in conjunction with the drawings.
The present invention is illustrated by way of example and not limited in the accompanying figures in which like reference numerals indicate similar elements and in which:
Programmatically Choosing a Router Configuration Provider
Various aspects of the technology described herein are generally directed towards selecting a provider that reconfigures a router in an existing network, in which a provider comprises a software component containing logic (e.g., configuration methods) that can evaluate and/or configure a router to the extent of that router's capabilities. Other aspects are directed to selecting a provider when a new router is added to a network, for the purpose of initially configuring that router.
In one example implementation, there is a described a server with software into which providers may simply plug in, e.g., via a defined interface. For example, default providers are included with the server software, and other vendors such as router manufacturers or third party software suppliers may distribute a provider, such as via a CD-ROM or other media (or possibly downloadable or in firmware) included with the router. While one example interface is described, it can be readily appreciated that any way to couple a component to software is suitable for use with the concepts described herein.
As such, the present invention is not limited to any particular embodiments, aspects, concepts, structures, functionalities or examples described herein. Rather, any of the embodiments, aspects, concepts, structures, functionalities or examples described herein are non-limiting, and the present invention may be used various ways that provide benefits and advantages in computing and networking in general.
A network server 110 including a software image 112 for server/networking functionality and a network card 114 is coupled to the network, such as when received from a manufacturer. As described below, the coupling of the network server 110 typically necessitates reconfiguring the router to operate with the intranet that now exists. Alternatively, as also described below, a different router may be substituted into the network, requiring its configuration for use with the intranet. In general, the server software 112 is configured to communicate with pluggable router providers 114, choose one (typically the best) provider for configuring the router 106, and configure the router in conjunction with the chosen provider.
In one example implementation generally represented in
Also represented in
In general, the router configuration component configures any brand of router by having “plug-in” pieces of software from each router provider. To this end, each router provider plug-in registers on installation, and announces the services it can configure on the router (e.g., to a registrar) of the server software 112. In one implementation, as described below, the service with the highest amount of configurability is chosen by the user interface 220 to configure the router. This approach allows the router manufacturers the greatest amount of flexibility. The choice is theirs on what protocols and security level they use to configure their router.
In
The router configuration component 222 is responsible for configuration of the router/gateway device 106 on the network. To this end, the router configuration component 222 (as represented via the query mechanism 224) queries each provider to determine the best router provider to use for a given router that appears on the network, based upon a scoring system. To this end, the router configuration component 222 passes the IP address of the router 106 to each of the providers 230-233. Each provider in turn attempts to access the router 106 on a set of configuration methods 240-243, and as described below, returns a score to the router configuration component 222, which (as represented via the selection mechanism 226) makes a decision on which provider to use for the given router 106.
In one example implementation, the configuration methods are each given a value (a score) such when added together, each provider obtains a number score from which the capabilities of that router provider with respect to configuring the router 106 may be determined. In this example implementation, the values are rated for what are deemed most important for making the ongoing router configuration for a small business owner or other user as easy as possible. The table below sets forth one suitable scoring system; (note that other configuration methods may be added, e.g., to establish a score for whether authenticated configuration is possible):
By way of example, consider a router provided by CompanyA that is present on a small business network. As part of the query operation, the IP address of this router is handed to the router configuration providers. The HTTP provider 230 includes a generic configuration method that attempts to open port 80 and 443 (HTTP and HTTPS); should these respond, the score is six (2+4=6) from the above table. Responding with six (6) tells the router configuration component 222 that the HTTP provider can configure both HTTP and HTTPS (whereas a score of two (2) would tell router configuration component 222 that only HTTP was possible). The UPnP provider 231 may return a score of zero (for example if UPnP was not installed or enabled on the physical router). However, a provider (e.g., 232) supplied by CompanyA may support all of the above, whereby it would return a perfect score of sixty-three (1+2+4+8+16+32=63). Based upon the returned scores, the router configuration component 222 chooses the CompanyA router provider 232 for configuring this router.
To extend the above example, consider that the administrator replaces the CompanyA router with a router from CompanyB, which does not have a router configuration provider. When the administrator ran the user interface 220, the router configuration component 222 goes through the same methodology, but this time may choose a different router provider. For example, the HTTP provider 230 may again return six (6) as its score, while the UPnP provider 231 may return thirty-eight (2+4+32=38). Because the router vendor is different, CompanyA's provider 232 which is still plugged into the server software 112 is not able to configure this router (e.g., it may use a proprietary protocol that only works with CompanyA's routers), and returns a value of zero (0), making it the least viable option for configuration. In this extended example scenario, the router configuration component 222 chooses the UPnP provider 231 to configure the new router.
To summarize the operation,
Step 306 represents the selected provider performing its configuration methods to obtain a score based on how the router responds. Steps 308 and 310 represent receiving the score in response to the query and storing the returned score (e.g., in the selection mechanism 226) in association with the identity of the selected provider that returned the score.
Steps 312 and 314 represent repeating the process for all plugged-in (or otherwise available) providers until none remain. Note that again, some of these steps may be performed in parallel. Also note that the process may terminate early if any provider returns a perfect score.
Step 316 represents choosing the provider with the best (highest) score. In the event two or more providers are tied for the best score, any tie-breaking mechanism may be employed, e.g., the first one that returned that highest score. Step 318 represents using the chosen provider to configure the router.
Exemplary Operating Environment
The invention is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the invention include, but are not limited to: personal computers, server computers, hand-held or laptop devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, and so forth, which perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in local and/or remote computer storage media including memory storage devices.
With reference to
The computer 410 typically includes a variety of computer-readable media. Computer-readable media can be any available media that can be accessed by the computer 410 and includes both volatile and nonvolatile media, and removable and non-removable media. By way of example, and not limitation, computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by the computer 410. Communication media typically embodies computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of the any of the above should also be included within the scope of computer-readable media.
The system memory 430 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 431 and random access memory (RAM) 432. A basic input/output system 433 (BIOS), containing the basic routines that help to transfer information between elements within computer 410, such as during start-up, is typically stored in ROM 431. RAM 432 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 420. By way of example, and not limitation,
The computer 410 may also include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only,
The drives and their associated computer storage media, described above and illustrated in
The computer 410 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 480. The remote computer 480 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 410, although only a memory storage device 481 has been illustrated in
When used in a LAN networking environment, the computer 410 is connected to the LAN 471 through a network interface or adapter 470. When used in a WAN networking environment, the computer 410 typically includes a modem 472 or other means for establishing communications over the WAN 473, such as the Internet. The modem 472, which may be internal or external, may be connected to the system bus 421 via the user input interface 460 or other appropriate mechanism. A wireless networking component 474 such as comprising an interface and antenna may be coupled through a suitable device such as an access point or peer computer to a WAN or LAN. In a networked environment, program modules depicted relative to the computer 410, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation,
An auxiliary subsystem 499 (e.g., for auxiliary display of content) may be connected via the user interface 460 to allow data such as program content, system status and event notifications to be provided to the user, even if the main portions of the computer system are in a low power state. The auxiliary subsystem 499 may be connected to the modem 472 and/or network interface 470 to allow communication between these systems while the main processing unit 420 is in a low power state.
While the invention is susceptible to various modifications and alternative constructions, certain illustrated embodiments thereof are shown in the drawings and have been described above in detail. It should be understood, however, that there is no intention to limit the invention to the specific forms disclosed, but on the contrary, the intention is to cover all modifications, alternative constructions, and equivalents falling within the spirit and scope of the invention.
Number | Name | Date | Kind |
---|---|---|---|
5590069 | Levin | Dec 1996 | A |
5787246 | Lichtman et al. | Jul 1998 | A |
5852722 | Hamilton | Dec 1998 | A |
5974461 | Goldman et al. | Oct 1999 | A |
6028846 | Cain | Feb 2000 | A |
6131119 | Fukui | Oct 2000 | A |
6269398 | Leong et al. | Jul 2001 | B1 |
6366563 | Weldon et al. | Apr 2002 | B1 |
6629145 | Pham et al. | Sep 2003 | B1 |
6735619 | Sawada | May 2004 | B1 |
6842769 | Kim et al. | Jan 2005 | B1 |
6959329 | Thakor | Oct 2005 | B2 |
6978301 | Tindal | Dec 2005 | B2 |
7039688 | Matsuda et al. | May 2006 | B2 |
7103650 | Vetrivelkumaran et al. | Sep 2006 | B1 |
7111054 | Lo | Sep 2006 | B2 |
7150037 | Wolf et al. | Dec 2006 | B2 |
7249170 | Tindal et al. | Jul 2007 | B2 |
7392301 | Perry et al. | Jun 2008 | B1 |
7600003 | Okmianski et al. | Oct 2009 | B1 |
7734738 | Daniel et al. | Jun 2010 | B2 |
7752625 | Larson | Jul 2010 | B2 |
20020026504 | Lo | Feb 2002 | A1 |
20030018755 | Masterson et al. | Jan 2003 | A1 |
20030041136 | Cheline et al. | Feb 2003 | A1 |
20030172145 | Nguyen | Sep 2003 | A1 |
20030179703 | Levy et al. | Sep 2003 | A1 |
20040010778 | Kaler et al. | Jan 2004 | A1 |
20040243968 | Hecksel | Dec 2004 | A1 |
20050044265 | Vinel et al. | Feb 2005 | A1 |
20050076114 | Cook | Apr 2005 | A1 |
20060013236 | Fischer | Jan 2006 | A1 |
20060072543 | Lloyd et al. | Apr 2006 | A1 |
20060173979 | Roellgen | Aug 2006 | A1 |
20060212547 | Deleu et al. | Sep 2006 | A1 |
20070005887 | Larson | Jan 2007 | A1 |
20070025310 | Weng et al. | Feb 2007 | A1 |
20070058567 | Harrington et al. | Mar 2007 | A1 |
20070094338 | Kirkham | Apr 2007 | A1 |
20070101342 | Flegg et al. | May 2007 | A1 |
20070203748 | Rothpearl et al. | Aug 2007 | A1 |
20080016233 | Schneider | Jan 2008 | A1 |
20080046569 | DePue et al. | Feb 2008 | A1 |
20090147700 | Sewall et al. | Jun 2009 | A1 |
Number | Date | Country | |
---|---|---|---|
20080172477 A1 | Jul 2008 | US |