This invention relates to network management.
Examples of client-server networks include local area networks (LANS), wide area networks (WANS), global networks (Internet), and the networking of telecommunications devices (e.g., cellular networks, personal communication services (PCS) networks, wireline telephony networks). Although it may appear to an end-user that the network is indifferent to computer type (e.g., Intel®-based PC, a Macintosh, or a UNIX system), the user interface to the network protocols providing the communication interface among heterogeneous computer systems relies on the host operating system (OS) to produce a seemingly transparent network.
For controlling the operation of a computer network, it is common to provide network management devices for discovering and collecting information from different types of networked computers and transferring files to and from remote systems. One such network management device is disclosed in U.S. Pat. No. 5,968,116 (issued Oct. 19, 1999) (the “'116 patent”) and incorporated by reference.
In
In some examples, clients 102 and 104 include client application(s) 120 and 122, client operating systems (OS) 130 and 132, and network transport services 140 and 142 (sometimes referred to as the transport layer), connected as shown. Client 102 also includes network management service 150.
Client applications 120 and 122 are intended to represent a wide variety of applications, for example, management applications such as Client Manager and Work Group Manager, available from Intel Corp., of Santa Clara, Calif. Client applications 120 and 122 rely on operating systems 130 and 132, respectively, to interface with network transport services 140 and 142 and, ultimately, with network medium 110. Client application 120 could instead interface with network medium 110 through network management service 150 and network transport service 140. Similarly, operating systems 130 and 132 are intended to represent a wide variety of operating systems common to a corresponding variety of computing platforms. Examples of such operating systems include the UNIX operating system, LINUX operating systems, Windows™-based operating systems (e.g., Windows™ 3.1, Windows™ 95/98, Windows™ 2000, Windows™ NT and Windows™ CE), the Macintosh™ and NeXTStep™ operating systems.
In addition to clients 102 and 104, network 100 also includes servers 106 and 108, which include server applications 160 and 162, server operating system 170 and 172, network transport services 180 and 182, and network management services 190 and 192. Server applications 160 and 162 and operating systems 170 and 172 could be any application and operating system, respectively. Internet Protocol (IP) environments are now very common and other protocols are now increasingly rare. Accordingly, network transport devices 140, 142, 180, and 182 are intended to represent only one communication protocol. For example, the protocol could be IP or, alternatively, any protocol common to all network elements of network 100. On the other hand, network management services 150, 190 and 192, as discussed in more detail below, include services which enable, for example, network management applications to interact with network elements independent of the hardware included in the elements and the operating systems resident on those network elements.
In one example, shown in
In one example, network management service 200, shown in
Agent discovery service 202 also maintains lists of discovered remote agents. For example, network management service 190, shown in
In one example, network management service 200, shown in
In addition to its agent discovery service 202 and file transfer service 204 elements, network management service 200 of
The components of network management service 200, as implemented, for example, on network management services 150, 190 and 192, perform their tasks through network transport services 140, 142, 180, and 182, shown in
Network management service 200 relies on sending packets of information across a network of computers to accomplish tasks. The packets may contain several types of data or instructions depending on the particular function that must be accomplished. The network management service described in the '116 patent used several datagram formats for identifying the data contained within each packet depending on the purpose of the packet (e.g., transferring files of remotely executing applications). The datagram formats of the '116 patent include fields describing characteristics of a packet and the data within it. That datagram format begins with several fields each describing a characteristic of the packet (e.g. version, type of data within packet, size, client information, server information, and data size, and concludes with a field containing data). However, adding new data to an already existing datagram structure is difficult when trying to remain backwards compatible. An agent discovery service is particularly susceptible to compatibility issues as the variety of data that could be discovered increases with advances in technologies associated with networks of devices.
In some examples, agent discovery service 202 of network management service 200 sends and receives packets having a format that does not limit the type of data that may be sent and received. In other examples, network management service 200 could use the substantially the same format whether it is discovering remote agents, transferring files, executing remote applications, or performing other functions. The format could be used whether broadcasting messages, performing a directed broadcast of messages, or sending a single message using a point-to-point protocol.
In one example, agent discovery service 202 sends and receives packets of information that could contain one or more data blocks 300A, shown in
In some examples, agent discovery service 202 could send and receive packets containing one or more data blocks 300A nested within a single data block 300B, as shown in
In some examples, nesting data blocks within data blocks could be used by agent discovery service 202 to organize the handling of multiple discovery requests.
In one example, one or more applications could call upon agent discovery service 202 to make multiple, overlapping discovery requests wherein replies from each request are received in some mixed sequence. For each received reply, agent discovery service 202 may have to call one or more callback functions for every reply it receives. While performing listening and reply functions, an agent discovery service may receive several different discovery requests from different discovery services before replying to any.
In some examples, agent discovery service 202, when performing its discovery function, builds discovery messages with nested data blocks containing instance data, such as data block 300C for example. When performing listening and reply functions, agent discovery service 202 identifies the instance data in a received discovery message by its tag. Agent discovery service 202 then copies data block 300C into its reply message and, in due course, sends the reply. When receiving discovery replies, agent discovery service 202 uses the instance data in data block 300C to identify the corresponding discovery request for the reply and the appropriate callback functions to be performed. In one example, instance data is used only by agent discovery service 202 and is not known to the discovering application.
In another example, an application could initiate several discovery requests and require agent discovery service 202 to make the same callback function for each. In this example, the application would need some way to identify for which discovery requests each reply was made.
In some examples, an application could supply agent discovery service 202 with application instance data to include within a discovery request, such as within nested data block 300C for example. The application instance data could be anything the application needed to identify and keep track of the replies to several different discovery requests. As described above for instance data, agent discovery service 202 performing listening and reply functions could simply copy data block 300C from a received discovery request to a discovery reply. When receiving a discovery reply containing application instance data, agent discovery service 202 passes data block 300C back to the application.
In some examples, during the construction of data block 300A, agent discovery service 202 organizes the data to occupy data field 306 into bytes. Referring to
Network management service 200 may be implemented on large networks possibly including thousands of networked devices. Almost all of these will use agent discovery service 202 to continuously listen for discovery requests (e.g., PING packets) and prepare replies when such requests are received. In contrast, very few network devices will use agent discovery service 202 to discover other network devices. Thus, reducing the resources used by agent discovery service 202 to perform listening and reply functions could result in significant conservation of computing resources across an entire network. In some examples, agent discovery service 202 includes one or more dynamically loaded modules that can be hosted by an application that is an up-and-running service on a network device connected to a network. In one example, the modules could be dynamic-link libraries.
In some examples, agent discovery service 202 could include three dynamically loaded modules as shown in
Explained in the context of network 100 (
In some examples, listening service 402 could also include a feature for forwarding discovery requests to local applications. Listening service 402 could receive a PING packet requesting information about a local application, such as client application 120 for example. Listening service 402 could forward the packet to client application 120 along with a reply address so that client application 120 may respond with information about itself. The information may be kept current by autonomous acts of client application 120 or, alternatively, client application could update the information only when it receives a forwarded discovery request.
Registration service 404 could contain functions and applications needed by local applications in order to register with listening service 402. For example, client application 120 could host registration service 404 to gather specific information about itself. Client application could then provide the information to listening service 402, and unload registration service 404 to conserve computing resources.
In some examples, machine information service 406 could collect information about the local network device on which it is running, such as client 102 for example. Listening service 402 could load machine information service 406 as soon as possible to gather machine-specific information that could then be included in any discovery response. In one example, the machine specific information is included in all discovery responses. The network management service described in the '116 patent gathered a limited amount of information about the machine on which it is running, the breadth and depth of which machine information service 406 expands upon. For example, machine information service 406 could gather information about one or more network cards connecting the device to a network medium, including an IP address, subnet mask, and media access control (MAC) address for each connecting network card. Machine information service 406 could also collect, for example, the names of the applications present on client 102. Machine information service 406 could identify the protocols supported by client 102 that allow communication between a user and a remote application. Machine information service 406 could also collect monotonically increasing versions of the applications present on a networked device. The application version tells a discovering application what data is necessary to communicate with the local application. Machine information service 406 could collect information about operating system 130, including version information and any patches, for example. In another example, machine information service 406 could create a unique identifier for the local network device and reply to discovering application with the identifier. The code that is used to gather this information is comparatively large because of the number of system functions that are included. Thus, conservation of significant computing resources could be realized by using a dynamically loaded module to collect this information—if the dynamic module is unloaded and removed from memory after the needed machine information has been obtained.
For operating systems that provide protocol hosting services, such as the inetd daemon of the Unix and Linux operating systems, agent discovery service 202 can be implemented using the appropriate interfaces, such as, for example, an executable that uses stdin/stdout. In this example, the computing resources necessary for network management service 200 are even further reduced, as the code for the agent discovery service 202 is only resident in random access memory when a received discovery packet is being processed. When not processing a received packet, only the entries in the inetd's tables are resident.
In other examples, file transfer service 204, remote execution service 206, or both could implement the use of dynamic-link libraries to conserve networked computing resources when not in use.
In some examples, listening service 402 could operate according to the method 500, shown in
Typical agent discovery services broadcast packets of information across a network to discover agents residing on remote network devices. When a discovery packet is sent out in the form of a broadcast or directed broadcast, it is possible that hundreds or thousands of remote network devices might reply at nearly the same time. Because the reply to a discovery request sent by some agent discovery services, including agent discovery service 202, could be a connectionless user datagram protocol (UDP) packet, there is a good chance some reply packets will be discarded at various points in the network infrastructure before they reach the discovering application.
In some examples, agent discovery service 202 employs a technique to evenly distribute the receipt of discovery replies from remote agents over time. One such technique could be the method shown in
In one example, network management service 150, incorporating possible features of agent discovery service 202, listens on a well-known port for discovery requests, step 702. If no discovery requests are received, network management service 150 continues to listen on the well-known port for discovery requests, step 704. If network management service 150 receives a discovery request in the form of a datagram containing a data block 300A and tag field 302 contains a known code, network management service 150 proceeds to step 706 and parses the request and prepares a reply. If network management service 150 determines that the request does not contain a tag indicating the presence of randomDelay or randomDelay is equal to zero, step 708, network management service 150 proceeds to step 716 and sends the reply to server 190. For random reply maximum values that are nonzero, network management service 150 calculates “sleepTime” as the time to delay its reply. Network management service 190 gets a large random number from operating system 170 (step 710), for example, using a GetTickCount call, which returns a value, referred to as “TickCount”, representing the number of milliseconds since client 106 last booted up. Alternatively a random number generator, like the rand() standard C function, can be used to obtain the random number. Network management service 150 then produces a random number for the reply delay, step 712, referred to as sleepTime, using the random number in the following formula:
sleepTime=(Random Number)modulo(randomDelay) (1)
The modulo function performs a simple division of randomDelay into the random number and returns the remainder of that division. Client 106 then sleeps for sleepTime milliseconds, step 714, and finishes by sending the reply back to client 102, step 716.
Other embodiments are within the scope of the following claims.
Number | Name | Date | Kind |
---|---|---|---|
4748620 | Adelmann et al. | May 1988 | A |
5481735 | Mortensen et al. | Jan 1996 | A |
5611050 | Theimer et al. | Mar 1997 | A |
5686902 | Reis et al. | Nov 1997 | A |
5854901 | Cole et al. | Dec 1998 | A |
5898681 | Dutta | Apr 1999 | A |
5915095 | Miskowiec | Jun 1999 | A |
5968116 | Day et al. | Oct 1999 | A |
6009274 | Fletcher et al. | Dec 1999 | A |
6032175 | Fletcher et al. | Feb 2000 | A |
6052727 | Kamalanathan | Apr 2000 | A |
6122483 | Lo et al. | Sep 2000 | A |
6134692 | Sekiya et al. | Oct 2000 | A |
6182075 | Hsu | Jan 2001 | B1 |
6249814 | Shaffer et al. | Jun 2001 | B1 |
6269099 | Borella et al. | Jul 2001 | B1 |
6269400 | Douglas et al. | Jul 2001 | B1 |
6457059 | Kobayashi | Sep 2002 | B1 |
6466549 | Hattig | Oct 2002 | B1 |
6496859 | Roy et al. | Dec 2002 | B2 |
6546046 | Sweitzer et al. | Apr 2003 | B1 |
6556541 | Bare | Apr 2003 | B1 |
6633909 | Barrett et al. | Oct 2003 | B1 |
6636499 | Dowling | Oct 2003 | B1 |
6671746 | Northrup | Dec 2003 | B1 |
6721286 | Williams et al. | Apr 2004 | B1 |
6751672 | Khalil et al. | Jun 2004 | B1 |
6801507 | Humpleman et al. | Oct 2004 | B1 |
6810259 | Zhang | Oct 2004 | B1 |
6922396 | Knappe | Jul 2005 | B1 |
6987739 | Kitazawa et al. | Jan 2006 | B2 |
6993499 | Gagnon et al. | Jan 2006 | B2 |
7006525 | Jha | Feb 2006 | B1 |
7007062 | Serenyi et al. | Feb 2006 | B1 |
7065579 | Traversat et al. | Jun 2006 | B2 |
7085814 | Gandhi et al. | Aug 2006 | B1 |
20010044822 | Nishio | Nov 2001 | A1 |
20020090952 | Cantwell | Jul 2002 | A1 |
20020107939 | Ford et al. | Aug 2002 | A1 |
20020146985 | Naden | Oct 2002 | A1 |
20030095504 | Ogier | May 2003 | A1 |
Number | Date | Country | |
---|---|---|---|
20020120672 A1 | Aug 2002 | US |