US20140379784A1 - Method and apparatus for using a command design pattern to access and configure network elements - Google Patents

Method and apparatus for using a command design pattern to access and configure network elements Download PDF

Info

Publication number
US20140379784A1
US20140379784A1 US14/330,846 US201414330846A US2014379784A1 US 20140379784 A1 US20140379784 A1 US 20140379784A1 US 201414330846 A US201414330846 A US 201414330846A US 2014379784 A1 US2014379784 A1 US 2014379784A1
Authority
US
United States
Prior art keywords
service
network device
network
xml
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US14/330,846
Inventor
Olivier K. Swedor
Tal I. Lavian
Robert J. Duncan
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
RPX Clearinghouse LLC
Original Assignee
Rockstar Consortium US LP
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rockstar Consortium US LP filed Critical Rockstar Consortium US LP
Priority to US14/330,846 priority Critical patent/US20140379784A1/en
Publication of US20140379784A1 publication Critical patent/US20140379784A1/en
Assigned to RPX CLEARINGHOUSE LLC reassignment RPX CLEARINGHOUSE LLC ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BOCKSTAR TECHNOLOGIES LLC, CONSTELLATION TECHNOLOGIES LLC, MOBILESTAR TECHNOLOGIES LLC, NETSTAR TECHNOLOGIES LLC, ROCKSTAR CONSORTIUM LLC, ROCKSTAR CONSORTIUM US LP
Assigned to JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT reassignment JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT SECURITY AGREEMENT Assignors: RPX CLEARINGHOUSE LLC, RPX CORPORATION
Assigned to RPX CORPORATION, RPX CLEARINGHOUSE LLC reassignment RPX CORPORATION RELEASE (REEL 038041 / FRAME 0001) Assignors: JPMORGAN CHASE BANK, N.A.
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • G06F40/143Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • G06F17/2247
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0266Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play

Definitions

  • the present invention relates to network device configuration and monitoring, and more particularly, to a method and apparatus for accessing, configuring and controlling a device stationed on a network using a command design pattern and documents written in a markup language such as XML.
  • Computer networks continue to proliferate. As they do so, they become increasingly complex and difficult to manage. This problem is exacerbated when a variety of network devices, computers, and software are combined together to integrate large intranets with the Internet.
  • a client 100 when a client 100 wants to learn information regarding a remote network device 104 stationed on a network 102 , code executing on client 100 formats a message requesting such information and sends it to the network device 104 .
  • Network device 104 must be preprogrammed with functionality for communicating in the protocol required by client 100 's message and for knowing exactly how to get the information requested. If so, network device 104 can then respond with the requested information.
  • Simple network management protocol is one example of a network protocol that allows clients to learn information about remote network devices.
  • SNMP allows network devices 104 to send alerts to a manager 102 , or to send statistical information about traffic, but it limits the kind of information that can be sent to that which is pre-defined in the management information blocks (MIBs) coded into the network device. Accordingly, a new MIB needs to be redefined each time a new type of information is maintained or is needed about the device, thus making network management and performance even more problematic.
  • MIBs management information blocks
  • the present invention relates to an apparatus and method for more efficiently accessing, configuring and controlling a network device using a common design pattern and documents written in a markup language such as the Extensible Markup Language (XML).
  • XML Extensible Markup Language
  • an XML accessible network device is capable of performing functions in response to an XML encoded request transmitted over a network. It includes a network data transfer service, coupled to a network, that is capable of receiving XML encoded requests from a client also connected to the network.
  • a service engine is capable of understanding and parsing the XML encoded requests according to a corresponding document type definition (DTD).
  • the service engine further instantiates a service using parameters provided in the XML encoded request and launches the service for execution on the network device using a command design parameter.
  • a set of device APIs interacts with hardware and software on the network device for executing the requested service on the network device. If necessary or desired, a response is further collected from the device and provided to the client in a response message.
  • a method for causing a network device to locally perform a service comprises the steps of receiving at the network device a document written in accordance with a markup language and a corresponding document definition, parsing by the network device the received document in accordance with the corresponding document definition, and executing the service on the network device in accordance with the parsed document and a command design parameter.
  • a network device for locally perform a service in response to a remote request comprises means for receiving at the network device a document written in accordance with a markup language and a corresponding document definition, means for parsing by the network device the received document in accordance with the corresponding document definition, and means for executing the service on the network device in accordance with the parsed document and a command design parameter.
  • a network device for locally performing a service in accordance with a received document written in a document markup language comprises a parser that is adapted to parse the received document in accordance with a document definition, a service engine coupled to the parser that is adapted to instantiate an object corresponding to the service in accordance with the parsed received document, and to execute the service in accordance with the instantiated object and a command design parameter.
  • FIG. 1 illustrates a conventional architecture for accessing, configuring and controlling a network device using standard network protocols
  • FIG. 2 is a functional overview of an apparatus for accessing, configuring and controlling a network device using XML encoded data and a command design parameter in accordance with the present invention
  • FIG. 3 further illustrates an example of a network device that is configured in accordance with the present invention
  • FIG. 4 further illustrates a service engine that can be included in a network device according to the invention such as that illustrated in FIG. 3 ;
  • FIG. 5 is an architectural view of a network device that is configured in accordance with the present invention.
  • FIG. 6 is an example implementation of a network device in accordance with the invention and the architecture depicted in FIG. 5 ;
  • FIG. 7 illustrates a process for accessing, configuring and controlling a network device using XML encoded data in accordance with the present invention.
  • FIG. 2 is a functional overview of one embodiment of the present invention.
  • a client 100 ′ is connected in the conventional manner to a network such as the Internet or an intranet (i.e. LAN/WAN/MAN) 102 , which in turn is connected to a network device 104 ′ (e.g. router, switch, hub or similar device capable of processing fixed-length or variable-length packets in a network).
  • a network device 104 ′ e.g. router, switch, hub or similar device capable of processing fixed-length or variable-length packets in a network.
  • network device 104 ′ may also include gateways, multiplexers and other known or future equivalents, including those having a packet forwarding architecture.
  • XML is a metalanguage built upon the Standard Generalized Markup Language (SGML), and is a tool for defining text markup languages, defined by the World Wide Web Consortium (W3C).
  • An XML-defined language comprises a set of tags, attributes, and constraints on how to use them.
  • XML is a simple, open, portable, extensible means of representing data. Unlike HTML, XML tags tell what the data means, instead of just how to display it. Further information regarding XML can be found from the W3C web pages at http://www.w3.org/XML.
  • XML is described in detail in this application because of its wide acceptance and adoption.
  • equivalents to XML that are within the scope of the invention can include, for example, XSL, XSLT, XPath, XLink, XPointer, HyTime, DSSSL, CSS, SPDL, CGM, ISO-HTML, and others.
  • the format of an XML document is defined by a Document Type Definition (DTD).
  • DTD Document Type Definition
  • the present invention includes local copies of DTD 202 at the sending and receiving ends of the XML document.
  • DTD 202 defines all communications for all applications, or there may be different DTDs 202 for different types of applications, and those skilled in the art will understand the possible variations.
  • network device 104 ′ there are many ways known in the art that such local copies of DTD 202 can be retrieved and obtained by network device 104 ′, and the details thereof will not be presented so as not to obscure the invention.
  • the client computer 100 ′ wants to access or configure network device 104 ′ (i.e., cause network device 104 ′ to perform a service locally on the network device 104 ′), it creates an XML request identifying the service to be performed, which XML document is encoded in the format defined by DTD 202 but with parameters specific to the desired access or configuration.
  • Client 100 ′ sends the document over the network 102 , which document is received by the network device 104 ′ in the form of data packets as is conventionally done.
  • the network device 104 ′ has been adapted to include functionality necessary to decode the XML encoded request and to identify the service to be performed.
  • the network device 104 ′ allows the service to perform tasks necessary to complete the request, including, if required, interacting with the hardware and software of the device to perform a service locally on the network device 104 ′. If further needed or desired by the client computer, network device 104 ′ may create and format a response to client computer 100 ′, which may or may not also be an XML encoded document.
  • FIG. 3 illustrates a network device 104 ′ in accordance with the present invention in further detail.
  • network device 104 ′ comprises, in part, a network data transfer service 302 , a service engine 304 that accesses local copies of DTD 202 and services 308 , and device software and hardware 306 .
  • network device 104 ′ can contain or include other components for performing conventional switching and routing functions, for example. However, the details of such additional components are not presented here so as not to obscure the present invention.
  • DTD 202 and services 308 are shown as local storages, it should be apparent that such storage need not be permanent. For example, DTDs and services may be retrieved from a remote server via a URL, and just a temporary representation can be resident on device 104 ′ as needed by service engine 304 according to techniques well understood by those of skill in the art.
  • Device hardware and software 306 represents conventional switch or router functionality that has been adapted for use in the present invention.
  • device hardware and software 306 includes an ASIC-based forwarding architecture, with switch ASICs comprising most of the device's switch fabric and handling most forwarding tasks among switch ports in accordance with resident forwarding rules.
  • device hardware and software 306 further includes a CPU and associated memory coupled to the switch fabric that runs the VxWorks real-time OS, and existing applications stored in memory and executed by the CPU that run as VxWorks “tasks” for monitoring and controlling and configuring the ASIC forwarding hardware via a switch-specific API.
  • switch fabric that runs the VxWorks real-time OS, and existing applications stored in memory and executed by the CPU that run as VxWorks “tasks” for monitoring and controlling and configuring the ASIC forwarding hardware via a switch-specific API.
  • other types of switches and routers may be used in accordance with the invention, and that other operating systems such as Linux, PSOS, Vertex and RMX may comprise the device's operating
  • Services in storage 308 preferably include applications that enhance the network management capabilities of the device 104 ′ above and beyond that which is possible with a conventional network device 104 .
  • Such applications may include means for setting and reporting system variables that are not limited by pre-configured MIBs.
  • Such applications may further include means for configuring the forwarding architecture so as to enable the device to filter network traffic containing packets generated from activities not essential to a company's business, such as browsing the Internet.
  • Other examples of services can include event loggers and monitors, means for establishing different levels of quality of service in packet forwarding decisions, and the like.
  • device 104 ′ may also include functionality for executing similar remotely downloaded, installed and managed services, which additional similar services may also be stored in storage 308 .
  • device hardware and software 306 also includes an Oplet Runtime Environment (ORETM, a trademark of Nortel Networks), which is a platform for secure downloading, installation, and safe execution of services on a network device such as a switch or router, the downloaded services (i.e. Oplets) being locally stored in services storage 308 .
  • ORETM Oplet Runtime Environment
  • the network data transfer service 302 and service engine 304 may actually be implemented as one or more services (i.e. Oplets) managed by the ORETM (not necessarily having a command design parameter).
  • the ORETM is described in more detail in other publications, including publications posted at the website www.openetlab.org, and so will not be described in detail here so as not to obscure the invention.
  • Network data transfer service 302 is, for example, an HTTP server such as one provided by Apache. This is because, in one example of the invention, the XML encoded requests and device responses (if any) are exchanged using the HTTP protocol.
  • HTTP is an application-level protocol that is generic, stateless, and can be used for many tasks other than transferring hypertext, which is its most widely known use.
  • the HTTP communications take place over TCP/IP connections.
  • the most widely used HTTP methods for handling communications are GET, HEAD and POST.
  • the service engine 304 is registered with the HTTP server (by port number, for example) so that when XML encoded requests according to the invention are received by service 302 , service engine 304 can be activated and provided with the XML encoded request.
  • the HTTP server keeps handles for all received requests pointing to the requesting client's address (perhaps with a timeout), and when responses from service engine 304 are received along with the handle, the HTTP server provides the response back to the requesting client using HTTP methods.
  • responses may be forwarded back to the requesting client in various presentation alternatives such as providing HTML pages for browser access.
  • Device hardware and software 306 is adapted in accordance with the invention to forward packets using the HTTP protocol and addressed to network device 104 ′ to the network data transfer service 302 , if an HTTP server is not already provided in the device.
  • This can be done in many ways known to those skilled in the art, and may depend on the particular packet forwarding architecture of the device. For example, where packets addressed to the device are automatically forwarded to the device's CPU, the device's kernel packet handling need only be aware of, and be able to communicate packets with, the HTTP server.
  • Service engine 304 is generally responsible for receiving XML encoded documents, for parsing the documents to identify the requested service and any specific run-time parameters, for causing the device 104 ′ to perform the requested service in accordance with the common design pattern and, if appropriate, obtaining and formatting a response to the requesting client.
  • Service engine 304 is further illustrated in FIG. 4 . As shown, it includes a parser 402 , a service launcher 404 , device APIs 406 , response retriever 408 and response formatter 410 . Although shown separately for clarity of the invention, the different blocks shown in FIG. 4 can be implemented in various combinations either together or separately. Moreover, some or all of the functionalities may be partially or fully included as functionalities of the ORETM in the example of the invention where the ORETM is included in the network device 104 ′.
  • Parser 402 receives the XML document from the network data transfer service 302 (preferably along with a handle for the individual request), and retrieves the necessary DTD based on the required identifier in the XML document. Using the appropriate DTD, parser 402 performs processing based on the XML tags defined in the DTD and extracts out the values for each included in the XML document. These parsed-out values are provided to the service launcher 404 .
  • DOM Document Object Model
  • SAX Simple API for XML
  • JDOM Java Document Object Model
  • parser 402 is implemented by an Aelfred XML parser from OpenText.
  • the Aelfred parser generates SAX events for each parsed XML tag. These parsed-out values and SAX events are supplied to service launcher 404 .
  • the DTD and the XML document should at least specify one of the services 308 to be performed.
  • the DTD may include a definition such as:
  • Such a corresponding XML document may include the following text (as well as an identifier of the DTD that defines its structure):
  • This XML document requests the network device 104 ′ to launch a “service” having a class of “Address.” Accordingly, in this example of the invention, when the network device 104 ′ receives the XML document, parser 402 will retrieve the DTD indicated by the identifier in the document. Using this DTD, it will understand that a “service” having a class of “Address” should be launched. Accordingly, it will send a message to service launcher 404 to launch a service defined by the class “Address,” which can, for example, cause the physical address of the device to be set or reported.
  • the source or byte code corresponding to the service “class” may be originally available locally on the device 104 ′ or it may be remotely located and specified by a URL or other path descriptor to a class file containing such source or byte code.
  • the “class” identifier is a class whose byte code can be included in a Java Archive (JAR) file. If the byte code corresponding to the specified “class” is located with a URL, the service engine 304 (perhaps in cooperation with transfer service 302 ) downloads the file for local access in storage 308 . Additionally or alternatively, the service engine 304 may check whether an object corresponding to the requested service has already been instantiated using the “id” parameter.
  • the DTD and XML documents should specify those as well, although the service should be able to execute using default parameters.
  • one requested service may be to provide traffic statistics of the device, for which a response would be collected from the device hardware and software and returned to the client.
  • another requested service may be to adjust priorities of certain traffic flows, for which a response from the device hardware and software would not necessarily be requested.
  • a requested service may be to report on device throughput, collected a variable number of seconds apart, with the report repeatedly provided back to the client once per variable number of minutes.
  • the DTD may further include a definition such as:
  • service launcher 404 includes a Java Virtual Machine (JVM) that is ported to the device 104 ′ and operates as a task on the device CPU under an operating system such as VxWorks.
  • JVM Java Virtual Machine
  • the JVM receives the byte code corresponding to the Java class from storage 308 and instantiates an object corresponding to the service using a no arguments constructor.
  • service launcher 404 identifies an already-instantiated object corresponding to the service using an “id” parameter or the like. Further, during or before instantiating the object, service engine 404 may detect that certain other class files are needed and operate to download or access them as well.
  • service engine 404 sets properties in the object using any parameters also provided in the XML document and parsed out by parser 402 . For example, for each property “name” there may be a corresponding “set” method (e.g. for the “city” property, there is a “setCity” method), which method the service engine 404 calls using the JVM to set the property to the “value” parsed from the XML document.
  • set e.g. for the “city” property, there is a “setCity” method
  • all services do not continually run on the device 104 ′. Rather, individual services are launched as requested by clients so as to perform functionality when needed. Moreover, services according to the invention are designed to be executed using a command design parameter so that the service engine 404 need not be aware of the internal code used to implement the service.
  • all services designed in accordance with the invention include an “operate” method which serves as the command design parameter.
  • this can be done by requiring all services to be based on, or to “implement” a standard interface class.
  • each service class may implement an interface class defined as:
  • service launcher 404 calls this specific “operate” method. Accordingly, service launcher 404 can cause various types of services to be performed without needing to know their implementation. This is akin to putting the code needed to process the requested service in the request itself.
  • Device APIs 406 includes functionality to interact with device hardware and software 306 to perform the requested service and to receive any responses from the device's device hardware and software. For example, where a service requests a network parameter of the device such as the device's name, the device APIs 406 will interact with the device hardware and software to retrieve the name (e.g. a string) from the device's system variables (e.g. MIB) and provide it to response retriever 408 , along with an identifier of the service that requested the parameter.
  • name e.g. a string
  • MIB device's system variables
  • device APIs 406 depends on the code used to implement services 308 , as well as the device hardware and software.
  • all services 308 use a common code language such as C/C++.
  • device APIs 406 comprises APIs that provide a common interface for all such services to the existing code running on the device 104 ′.
  • services 308 can be designed to execute on various platforms, with a known set of APIs providing a common interface to the services, while providing a variable interface with the existing code, depending on the device.
  • the design and implementation of such APIs are within the skill of those in the art given the existing code, the device operating system and the design of services 308 .
  • device APIs 406 communicate with existing conventional applications of network device 104 through a loopback address of the device.
  • the service requested by the received XML document may request access to network parameters of the device.
  • the requested service launched by the service engine can access the network parameters of the device by specifying the loopback address, which can then access the parameters through a network protocol stack such as an SNMP stack.
  • Response retriever 408 keeps track of the services that require responses from the device hardware and software and initiates response messages to the requesting client when responses are received. It receives from service launcher 404 identifiers of the services that have been launched, as well as handles to the XML encoded request that caused the service to be launched. When responses are received from device APIs 406 , they are preferably received along with the identifier of the service. Response retriever 408 can then correlate the response to the XML encoded request to whom the response belongs and forward the response to response formatter 410 along with the handle to the XML encoded request.
  • Response formatter 410 formats response messages to be sent back to the requesting client. It receives from response retriever 408 a response along with an identifier of the XML encoded request, formats a response message for transmission back to the requesting client, and forwards the response message to the network data transfer service 302 . Network data transfer service 302 can then send the message back to the requesting client by using the handle of the XML encoded request to retrieve the header information contained in the packets carrying the XML encoded request.
  • responses are also XML encoded documents that will instantiate a response object on the client.
  • response formatter 410 may also access DTDs such as DTD 202 for formatting a response.
  • DTDs such as DTD 202 for formatting a response.
  • response retriever 408 and response formatter 410 may be partially or fully implemented by either or both of services 308 and device APIs 406 .
  • FIG. 5 is an architectural view of an example of network device 104 ′ in accordance with the principles of the present invention.
  • interaction with the device hardware 514 is performed through the device operating system 512 (e.g. VxWorks).
  • the device code (e.g. routing software, etc.) 502 interacts with the device operating system 512 .
  • Application programming interfaces (API's) 504 e.g. Java, C/C++, etc.
  • API's 504 may further interact with device hardware and operating system through device drivers (not shown).
  • Java Virtual Machine (JVM) 508 preferably includes all functionality provided by a conventional JVM and is ported to the device 104 ′ and operating system 512 .
  • Oplet Runtime EnvironmentTM (ORE) 506 interacts with the JVM to coordinate the downloading, management and execution of services 308 .
  • Service engine 304 interacts with ORE 506 for execution of services 308 .
  • Service engine 304 and transfer service 302 may also interact with API's 504 , which further interact with device code 502 .
  • FIG. 6 illustrates an example implementation of a network device 104 ′ having the architecture illustrated in FIG. 5 .
  • network device 104 ′ includes a CPU 602 , switch fabric 604 , storage 608 , network port 610 and memory 612 all communicating via a bus 614 .
  • Switch fabric 604 further communicates with switch ports 606 .
  • Storage 608 can comprise memory for storing program and device data.
  • Network port 610 can provide a loopback address for access by services and other network management applications as described above.
  • Memory 612 includes code for execution by CPU 602 .
  • FIG. 7 illustrates an example of a process by which an XML encoded request received by the network device 104 ′ is fulfilled in accordance with the present invention.
  • the client computer 100 ′ encodes the request by constructing an XML encoded document corresponding to the request and in accordance with a corresponding DTD.
  • This XML document is sent across the network 102 using a standard network protocol such as HTTP and received by network device 104 ′ (block S 702 ).
  • the XML document is received by the network data transfer service 302 running on the network device 104 ′ and provided to the service engine 304 .
  • the service engine 304 parses the XML document using the corresponding DTD identified in the document (block S 704 ).
  • the parsed document corresponds to one of the services provided or retrieved for local access in storage 308 .
  • service engine 304 instantiates a copy (or identifies an already-instantiated copy) of the service with the properties specified in in the parsed document (block S 706 ).
  • the instantiated service is then launched for execution by invoking the “operate” method of the service or similar command design parameter (block S 708 ).
  • the requested service may require interaction with the device software and hardware for execution, as indicated in block S 710 . If a response message back to the requesting client 100 ′ is required by the service (determined in block S 712 ), the response from the device hardware and/or software is retrieved (block S 714 ), and a response message is formatted and forwarded to network data transfer service 302 for transmission back to client 100 ′ (block S 716 ).

Abstract

An XML accessible network device is capable of performing functions in response to an XML encoded request transmitted over a network. It includes a network data transfer service, coupled to a network, that is capable of receiving XML encoded requests from a client also connected to the network. A service engine is capable of understanding and parsing the XML encoded requests according to a corresponding DTD. The service engine further instantiates a service using parameters provided in the XML encoded request and launches the service for execution on the network device in accordance with a command design parameter. A set of device APIs interacts with hardware and software on the network device for executing the requested service on the network device. If necessary, a response is further collected from the device and provided to the client in a response message.

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • The present application is based on, and claims priority from U.S. Provisional Appln. No. 60/213,107, filed Jun. 21, 2000. The present application is also related to co-pending U.S. application Ser. No. ______ (NOR-12520BA) and co-pending U.S. application Ser. No. ______ (NOR-12675HU), both commonly owned by the assignee of the present application.
  • FIELD OF THE INVENTION
  • The present invention relates to network device configuration and monitoring, and more particularly, to a method and apparatus for accessing, configuring and controlling a device stationed on a network using a command design pattern and documents written in a markup language such as XML.
  • BACKGROUND OF THE INVENTION
  • Computer networks continue to proliferate. As they do so, they become increasingly complex and difficult to manage. This problem is exacerbated when a variety of network devices, computers, and software are combined together to integrate large intranets with the Internet.
  • As shown in FIG. 1, when a client 100 wants to learn information regarding a remote network device 104 stationed on a network 102, code executing on client 100 formats a message requesting such information and sends it to the network device 104. Network device 104 must be preprogrammed with functionality for communicating in the protocol required by client 100's message and for knowing exactly how to get the information requested. If so, network device 104 can then respond with the requested information.
  • Simple network management protocol (SNMP) is one example of a network protocol that allows clients to learn information about remote network devices. SNMP allows network devices 104 to send alerts to a manager 102, or to send statistical information about traffic, but it limits the kind of information that can be sent to that which is pre-defined in the management information blocks (MIBs) coded into the network device. Accordingly, a new MIB needs to be redefined each time a new type of information is maintained or is needed about the device, thus making network management and performance even more problematic.
  • SUMMARY OF THE INVENTION
  • The present invention relates to an apparatus and method for more efficiently accessing, configuring and controlling a network device using a common design pattern and documents written in a markup language such as the Extensible Markup Language (XML).
  • In accordance with one aspect of the invention, an XML accessible network device is capable of performing functions in response to an XML encoded request transmitted over a network. It includes a network data transfer service, coupled to a network, that is capable of receiving XML encoded requests from a client also connected to the network. A service engine is capable of understanding and parsing the XML encoded requests according to a corresponding document type definition (DTD). The service engine further instantiates a service using parameters provided in the XML encoded request and launches the service for execution on the network device using a command design parameter. A set of device APIs interacts with hardware and software on the network device for executing the requested service on the network device. If necessary or desired, a response is further collected from the device and provided to the client in a response message.
  • In accordance with another aspect of the invention, a method for causing a network device to locally perform a service comprises the steps of receiving at the network device a document written in accordance with a markup language and a corresponding document definition, parsing by the network device the received document in accordance with the corresponding document definition, and executing the service on the network device in accordance with the parsed document and a command design parameter.
  • In accordance with a further aspect of the invention, a network device for locally perform a service in response to a remote request comprises means for receiving at the network device a document written in accordance with a markup language and a corresponding document definition, means for parsing by the network device the received document in accordance with the corresponding document definition, and means for executing the service on the network device in accordance with the parsed document and a command design parameter.
  • In accordance with a further aspect of the invention, a network device for locally performing a service in accordance with a received document written in a document markup language comprises a parser that is adapted to parse the received document in accordance with a document definition, a service engine coupled to the parser that is adapted to instantiate an object corresponding to the service in accordance with the parsed received document, and to execute the service in accordance with the instantiated object and a command design parameter.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The foregoing and other features, aspects, and advantages of the present invention will become more apparent from the following detailed description when read in conjunction with the following drawings, wherein:
  • FIG. 1 illustrates a conventional architecture for accessing, configuring and controlling a network device using standard network protocols;
  • FIG. 2 is a functional overview of an apparatus for accessing, configuring and controlling a network device using XML encoded data and a command design parameter in accordance with the present invention;
  • FIG. 3 further illustrates an example of a network device that is configured in accordance with the present invention;
  • FIG. 4 further illustrates a service engine that can be included in a network device according to the invention such as that illustrated in FIG. 3;
  • FIG. 5 is an architectural view of a network device that is configured in accordance with the present invention;
  • FIG. 6 is an example implementation of a network device in accordance with the invention and the architecture depicted in FIG. 5; and
  • FIG. 7 illustrates a process for accessing, configuring and controlling a network device using XML encoded data in accordance with the present invention.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • The present invention will now be described in detail with reference to the accompanying drawings, which are provided as illustrative examples of preferred embodiments of the present invention. Notably, the implementation of certain elements of the present invention may be accomplished using software, hardware or any combination thereof, as would be apparent to those of ordinary skill in the art, and the figures and examples below are not meant to limit the scope of the present invention. Moreover, where certain elements of the present invention can be partially or fully implemented using known components, only those portions of such known components that are necessary for an understanding of the present invention will be described, and detailed descriptions of other portions of such known components will be omitted so as not to obscure the invention. Further, the present invention encompasses present and future known equivalents to the known components referred to herein by way of illustration.
  • FIG. 2 is a functional overview of one embodiment of the present invention. As shown, a client 100′ is connected in the conventional manner to a network such as the Internet or an intranet (i.e. LAN/WAN/MAN) 102, which in turn is connected to a network device 104′ (e.g. router, switch, hub or similar device capable of processing fixed-length or variable-length packets in a network). It should be noted that although the features and advantages of the present invention are particularly well suited to routers, switches and hubs, and will be described in more detail below with reference to such devices, other network-aware devices can be adapted for use in the present invention, and so the invention is not to be limited to these particular illustrative devices. For example, network device 104′ may also include gateways, multiplexers and other known or future equivalents, including those having a packet forwarding architecture.
  • As is apparent from FIG. 2, in contrast with the prior art, the present invention provides communications for accessing and configuring network elements using XML documents and a common design pattern. As is known, XML is a metalanguage built upon the Standard Generalized Markup Language (SGML), and is a tool for defining text markup languages, defined by the World Wide Web Consortium (W3C). An XML-defined language comprises a set of tags, attributes, and constraints on how to use them. XML is a simple, open, portable, extensible means of representing data. Unlike HTML, XML tags tell what the data means, instead of just how to display it. Further information regarding XML can be found from the W3C web pages at http://www.w3.org/XML.
  • Those skilled in the art, after being taught by the present disclosure, will appreciate that there are many flavors of XML and SGML and that many markup languages are equivalent to XML for adaptation and implementation according to the present invention. XML is described in detail in this application because of its wide acceptance and adoption. However, equivalents to XML that are within the scope of the invention can include, for example, XSL, XSLT, XPath, XLink, XPointer, HyTime, DSSSL, CSS, SPDL, CGM, ISO-HTML, and others.
  • As is further known, the format of an XML document is defined by a Document Type Definition (DTD). Accordingly, the present invention includes local copies of DTD 202 at the sending and receiving ends of the XML document. There can be just one DTD 202 that defines all communications for all applications, or there may be different DTDs 202 for different types of applications, and those skilled in the art will understand the possible variations. Further, there are many ways known in the art that such local copies of DTD 202 can be retrieved and obtained by network device 104′, and the details thereof will not be presented so as not to obscure the invention.
  • Generally, when the client computer 100′ wants to access or configure network device 104′ (i.e., cause network device 104′ to perform a service locally on the network device 104′), it creates an XML request identifying the service to be performed, which XML document is encoded in the format defined by DTD 202 but with parameters specific to the desired access or configuration. Client 100′ sends the document over the network 102, which document is received by the network device 104′ in the form of data packets as is conventionally done. In contrast to the conventional network device 104, the network device 104′ has been adapted to include functionality necessary to decode the XML encoded request and to identify the service to be performed. Using a common design pattern, the network device 104′ allows the service to perform tasks necessary to complete the request, including, if required, interacting with the hardware and software of the device to perform a service locally on the network device 104′. If further needed or desired by the client computer, network device 104′ may create and format a response to client computer 100′, which may or may not also be an XML encoded document.
  • FIG. 3 illustrates a network device 104′ in accordance with the present invention in further detail. As shown in FIG. 3, network device 104′ comprises, in part, a network data transfer service 302, a service engine 304 that accesses local copies of DTD 202 and services 308, and device software and hardware 306. It should be apparent that network device 104′ can contain or include other components for performing conventional switching and routing functions, for example. However, the details of such additional components are not presented here so as not to obscure the present invention. Further, although DTD 202 and services 308 are shown as local storages, it should be apparent that such storage need not be permanent. For example, DTDs and services may be retrieved from a remote server via a URL, and just a temporary representation can be resident on device 104′ as needed by service engine 304 according to techniques well understood by those of skill in the art.
  • Device hardware and software 306 represents conventional switch or router functionality that has been adapted for use in the present invention. In one possible implementation, where network device 104′ is an Accelar/Passport family router switch from Nortel Networks, device hardware and software 306 includes an ASIC-based forwarding architecture, with switch ASICs comprising most of the device's switch fabric and handling most forwarding tasks among switch ports in accordance with resident forwarding rules. For such a device 104′, device hardware and software 306 further includes a CPU and associated memory coupled to the switch fabric that runs the VxWorks real-time OS, and existing applications stored in memory and executed by the CPU that run as VxWorks “tasks” for monitoring and controlling and configuring the ASIC forwarding hardware via a switch-specific API. It should be apparent that other types of switches and routers may be used in accordance with the invention, and that other operating systems such as Linux, PSOS, Vertex and RMX may comprise the device's operating system.
  • Services in storage 308 preferably include applications that enhance the network management capabilities of the device 104′ above and beyond that which is possible with a conventional network device 104. Such applications may include means for setting and reporting system variables that are not limited by pre-configured MIBs. Such applications may further include means for configuring the forwarding architecture so as to enable the device to filter network traffic containing packets generated from activities not essential to a company's business, such as browsing the Internet. Other examples of services can include event loggers and monitors, means for establishing different levels of quality of service in packet forwarding decisions, and the like. Although the discussion below will center on services that are launched using a command design parameter in accordance with the invention, it should be noted that device 104′ may also include functionality for executing similar remotely downloaded, installed and managed services, which additional similar services may also be stored in storage 308.
  • In one example of the invention, device hardware and software 306 also includes an Oplet Runtime Environment (ORE™, a trademark of Nortel Networks), which is a platform for secure downloading, installation, and safe execution of services on a network device such as a switch or router, the downloaded services (i.e. Oplets) being locally stored in services storage 308. In such an example of the invention, the network data transfer service 302 and service engine 304 may actually be implemented as one or more services (i.e. Oplets) managed by the ORE™ (not necessarily having a command design parameter). The ORE™ is described in more detail in other publications, including publications posted at the website www.openetlab.org, and so will not be described in detail here so as not to obscure the invention. Although use of the invention in network devices equipped with an ORE™ is considered one preferred implementation, the invention is not so limited. Further, the functionalities provided by the ORE™ that are useful for the present invention will be apparent to those skilled in the art after being taught by the present specification and can be separately provided.
  • Network data transfer service 302 is, for example, an HTTP server such as one provided by Apache. This is because, in one example of the invention, the XML encoded requests and device responses (if any) are exchanged using the HTTP protocol. As is known, HTTP is an application-level protocol that is generic, stateless, and can be used for many tasks other than transferring hypertext, which is its most widely known use. In one example of the invention, the HTTP communications take place over TCP/IP connections. The most widely used HTTP methods for handling communications are GET, HEAD and POST. The service engine 304 is registered with the HTTP server (by port number, for example) so that when XML encoded requests according to the invention are received by service 302, service engine 304 can be activated and provided with the XML encoded request. The HTTP server keeps handles for all received requests pointing to the requesting client's address (perhaps with a timeout), and when responses from service engine 304 are received along with the handle, the HTTP server provides the response back to the requesting client using HTTP methods.
  • It should be apparent that other techniques for sending XML files through the HTTP protocol could be used. Moreover, in another alternative of the invention, responses may be forwarded back to the requesting client in various presentation alternatives such as providing HTML pages for browser access.
  • Device hardware and software 306 is adapted in accordance with the invention to forward packets using the HTTP protocol and addressed to network device 104′ to the network data transfer service 302, if an HTTP server is not already provided in the device. This can be done in many ways known to those skilled in the art, and may depend on the particular packet forwarding architecture of the device. For example, where packets addressed to the device are automatically forwarded to the device's CPU, the device's kernel packet handling need only be aware of, and be able to communicate packets with, the HTTP server.
  • Service engine 304 is generally responsible for receiving XML encoded documents, for parsing the documents to identify the requested service and any specific run-time parameters, for causing the device 104′ to perform the requested service in accordance with the common design pattern and, if appropriate, obtaining and formatting a response to the requesting client.
  • Service engine 304 is further illustrated in FIG. 4. As shown, it includes a parser 402, a service launcher 404, device APIs 406, response retriever 408 and response formatter 410. Although shown separately for clarity of the invention, the different blocks shown in FIG. 4 can be implemented in various combinations either together or separately. Moreover, some or all of the functionalities may be partially or fully included as functionalities of the ORE™ in the example of the invention where the ORE™ is included in the network device 104′.
  • Parser 402 receives the XML document from the network data transfer service 302 (preferably along with a handle for the individual request), and retrieves the necessary DTD based on the required identifier in the XML document. Using the appropriate DTD, parser 402 performs processing based on the XML tags defined in the DTD and extracts out the values for each included in the XML document. These parsed-out values are provided to the service launcher 404. There are several different conventionally available XML parsers that can be used to implement parser 402, such as Document Object Model (DOM), Simple API for XML (SAX) and Java Document Object Model (JDOM). In one example of the invention, parser 402 is implemented by an Aelfred XML parser from OpenText. The Aelfred parser generates SAX events for each parsed XML tag. These parsed-out values and SAX events are supplied to service launcher 404.
  • At a minimum, the DTD and the XML document should at least specify one of the services 308 to be performed. For example, the DTD may include a definition such as:
  • <!ELEMENT service >
    <!ATTLIST service
      class CDATA #IMPLIED
      source CDATA #IMPLIED
      id ID #IMPLIED>

    This allows an XML document to specify a “service” having “class,” “source” and “id” parameters. Accordingly, a client wishing to launch a service on a remote device would create an XML document specifying a “service” with at least a desired “class.” Such a corresponding XML document may include the following text (as well as an identifier of the DTD that defines its structure):
  • <service class=”Address” id=”ID_2”>
    </service>

    This XML document requests the network device 104′ to launch a “service” having a class of “Address.” Accordingly, in this example of the invention, when the network device 104′ receives the XML document, parser 402 will retrieve the DTD indicated by the identifier in the document. Using this DTD, it will understand that a “service” having a class of “Address” should be launched. Accordingly, it will send a message to service launcher 404 to launch a service defined by the class “Address,” which can, for example, cause the physical address of the device to be set or reported.
  • It should be noted that the source or byte code corresponding to the service “class” may be originally available locally on the device 104′ or it may be remotely located and specified by a URL or other path descriptor to a class file containing such source or byte code. In one example of the invention where the Java programming language is used, the “class” identifier is a class whose byte code can be included in a Java Archive (JAR) file. If the byte code corresponding to the specified “class” is located with a URL, the service engine 304 (perhaps in cooperation with transfer service 302) downloads the file for local access in storage 308. Additionally or alternatively, the service engine 304 may check whether an object corresponding to the requested service has already been instantiated using the “id” parameter.
  • If the service includes any runtime parameters, the DTD and XML documents should specify those as well, although the service should be able to execute using default parameters. Depending on the service requested, there may or may not be a requested response to be sent back to the client. For example, one requested service may be to provide traffic statistics of the device, for which a response would be collected from the device hardware and software and returned to the client. Meanwhile, another requested service may be to adjust priorities of certain traffic flows, for which a response from the device hardware and software would not necessarily be requested. As an example of a requested service with runtime parameters, a requested service may be to report on device throughput, collected a variable number of seconds apart, with the report repeatedly provided back to the client once per variable number of minutes.
  • Using the above example of the service of class “Address,” the DTD may further include a definition such as:
  • <!ELEMENT property (value | null)*>
    <!ATTLIST property
      name CDATA #REQUIRED>
    <!ELEMENT value (#PCDATA)*>
    <!ATTLIST value
      class  CDATA #IMPLIED
      id   ID #IMPLIED
      source IDREF #IMPLIED>

    This allows a “property” with a “name” to be assigned a “value.” A corresponding XML document may then be created by the requesting client that contains the following text:
  • <property name = “city”>
      <value id=”ID_3”>San Francisco</value>
    <property>
    <property name = “country”>
      <value id=”ID_4”>USA</value>
    </property>

    When these definitions and this text are combined with the previously-described XML-encoded request, the combined XML text could, for example, cause a service of class “Address” to set a city field and a country field in the device address system variables to San Francisco and USA, respectively.
  • In one example of the invention where the source code corresponding to a service is provided as Java classes, service launcher 404 includes a Java Virtual Machine (JVM) that is ported to the device 104′ and operates as a task on the device CPU under an operating system such as VxWorks. The JVM receives the byte code corresponding to the Java class from storage 308 and instantiates an object corresponding to the service using a no arguments constructor. Alternatively, service launcher 404 identifies an already-instantiated object corresponding to the service using an “id” parameter or the like. Further, during or before instantiating the object, service engine 404 may detect that certain other class files are needed and operate to download or access them as well.
  • Once instantiated, service engine 404 sets properties in the object using any parameters also provided in the XML document and parsed out by parser 402. For example, for each property “name” there may be a corresponding “set” method (e.g. for the “city” property, there is a “setCity” method), which method the service engine 404 calls using the JVM to set the property to the “value” parsed from the XML document.
  • According to an aspect of the invention, all services do not continually run on the device 104′. Rather, individual services are launched as requested by clients so as to perform functionality when needed. Moreover, services according to the invention are designed to be executed using a command design parameter so that the service engine 404 need not be aware of the internal code used to implement the service.
  • Therefore, all services designed in accordance with the invention include an “operate” method which serves as the command design parameter. In the example of the invention where services are implemented using the Java programming language, this can be done by requiring all services to be based on, or to “implement” a standard interface class. For example, each service class may implement an interface class defined as:
  • public interface Operation
    {
      public Object operate( );
    }

    Each service class thus provides its own implementation of the “operate” method of the Operation interface. After instantiating the service class (perhaps also after “setting” various properties of the service object using parameters from the parsed document), service launcher 404 calls this specific “operate” method. Accordingly, service launcher 404 can cause various types of services to be performed without needing to know their implementation. This is akin to putting the code needed to process the requested service in the request itself.
  • Device APIs 406 includes functionality to interact with device hardware and software 306 to perform the requested service and to receive any responses from the device's device hardware and software. For example, where a service requests a network parameter of the device such as the device's name, the device APIs 406 will interact with the device hardware and software to retrieve the name (e.g. a string) from the device's system variables (e.g. MIB) and provide it to response retriever 408, along with an identifier of the service that requested the parameter.
  • It should be appreciated that the actual implementation of device APIs 406 depends on the code used to implement services 308, as well as the device hardware and software. In one example of the invention, all services 308 use a common code language such as C/C++. In such an example, device APIs 406 comprises APIs that provide a common interface for all such services to the existing code running on the device 104′. Accordingly, services 308 can be designed to execute on various platforms, with a known set of APIs providing a common interface to the services, while providing a variable interface with the existing code, depending on the device. The design and implementation of such APIs are within the skill of those in the art given the existing code, the device operating system and the design of services 308.
  • In another example, device APIs 406 communicate with existing conventional applications of network device 104 through a loopback address of the device. For example, the service requested by the received XML document may request access to network parameters of the device. Specifically, the requested service launched by the service engine can access the network parameters of the device by specifying the loopback address, which can then access the parameters through a network protocol stack such as an SNMP stack.
  • It should be apparent that the above two examples are not necessarily mutually exclusive. Further, other example implementations of device APIs 406 are possible. Moreover, it should be apparent that some services 308 need not require APIs to fully operate.
  • Response retriever 408 keeps track of the services that require responses from the device hardware and software and initiates response messages to the requesting client when responses are received. It receives from service launcher 404 identifiers of the services that have been launched, as well as handles to the XML encoded request that caused the service to be launched. When responses are received from device APIs 406, they are preferably received along with the identifier of the service. Response retriever 408 can then correlate the response to the XML encoded request to whom the response belongs and forward the response to response formatter 410 along with the handle to the XML encoded request.
  • Response formatter 410 formats response messages to be sent back to the requesting client. It receives from response retriever 408 a response along with an identifier of the XML encoded request, formats a response message for transmission back to the requesting client, and forwards the response message to the network data transfer service 302. Network data transfer service 302 can then send the message back to the requesting client by using the handle of the XML encoded request to retrieve the header information contained in the packets carrying the XML encoded request. In one example of the invention, responses are also XML encoded documents that will instantiate a response object on the client. In this example, response formatter 410 may also access DTDs such as DTD 202 for formatting a response. However, it should be apparent that many other variations of formatting a response other than using XML documents are possible.
  • It should be further apparent that there are many possible ways of implementing response retriever 408 and response formatter 410, and that they may be omitted altogether. For example, response retriever 408 and/or response formatter 410 may be partially or fully implemented by either or both of services 308 and device APIs 406.
  • FIG. 5 is an architectural view of an example of network device 104′ in accordance with the principles of the present invention.
  • As shown in this example, interaction with the device hardware 514 (e.g. switch fabric, ports, memory, etc.) is performed through the device operating system 512 (e.g. VxWorks). The device code (e.g. routing software, etc.) 502 interacts with the device operating system 512. Application programming interfaces (API's) 504 (e.g. Java, C/C++, etc.) interact directly with the device hardware 514 and/or via device operating system 512. API's 504 may further interact with device hardware and operating system through device drivers (not shown). Java Virtual Machine (JVM) 508 preferably includes all functionality provided by a conventional JVM and is ported to the device 104′ and operating system 512. Oplet Runtime Environment™ (ORE) 506 interacts with the JVM to coordinate the downloading, management and execution of services 308. Service engine 304 interacts with ORE 506 for execution of services 308. Service engine 304 and transfer service 302, during operation, may also interact with API's 504, which further interact with device code 502.
  • FIG. 6 illustrates an example implementation of a network device 104′ having the architecture illustrated in FIG. 5.
  • As shown, network device 104′ includes a CPU 602, switch fabric 604, storage 608, network port 610 and memory 612 all communicating via a bus 614. Switch fabric 604 further communicates with switch ports 606. Storage 608 can comprise memory for storing program and device data. Network port 610 can provide a loopback address for access by services and other network management applications as described above. Memory 612 includes code for execution by CPU 602.
  • It should be apparent that components corresponding to CPU 602, switch fabric 604, switch ports 606, storage 608, network port 610, memory 612 and bus 614 are also provided in a conventional network device 104. Accordingly, as should be further apparent from FIG. 6, adapting a conventional network device 104 in accordance with the invention merely requires updating memory 612 to include executable software corresponding to the above-described functionality of the invention.
  • FIG. 7 illustrates an example of a process by which an XML encoded request received by the network device 104′ is fulfilled in accordance with the present invention.
  • As shown in FIG. 7, when interaction with the network device 104′ is desired, the client computer 100′ encodes the request by constructing an XML encoded document corresponding to the request and in accordance with a corresponding DTD. This XML document is sent across the network 102 using a standard network protocol such as HTTP and received by network device 104′ (block S702). The XML document is received by the network data transfer service 302 running on the network device 104′ and provided to the service engine 304. The service engine 304 parses the XML document using the corresponding DTD identified in the document (block S704). The parsed document corresponds to one of the services provided or retrieved for local access in storage 308. Accordingly, service engine 304 instantiates a copy (or identifies an already-instantiated copy) of the service with the properties specified in in the parsed document (block S706). The instantiated service is then launched for execution by invoking the “operate” method of the service or similar command design parameter (block S708). The requested service may require interaction with the device software and hardware for execution, as indicated in block S710. If a response message back to the requesting client 100′ is required by the service (determined in block S712), the response from the device hardware and/or software is retrieved (block S714), and a response message is formatted and forwarded to network data transfer service 302 for transmission back to client 100′ (block S716).
  • Although the present invention has been particularly described with reference to the preferred embodiments, it should be readily apparent to those of ordinary skill in the art that changes and modifications in the form and details may be made without departing from the spirit and scope of the invention. It is intended that the appended claims include such changes and modifications.

Claims (20)

1. A method of causing a network device to perform a service at the network device, the method comprising:
sending a service request from a requesting client to the network device, the service request comprising a request identifier and a markup language document, the markup language document identifying a document type definition; and
at the network device:
receiving the service request;
retrieving the document type definition identified by the markup language document;
parsing the service request using the retrieved document type definition;
determining whether an object corresponding to the service has already been instantiated; and
when no object corresponding to the service has already been instantiated, instantiating an object corresponding to the service, and calling an operate method of the instantiated object to launch the service.
2. The method of claim 1, wherein the markup language document comprises parameter values and parsing the service request comprises extracting parameter values from the markup language document.
3. The method of claim 2, wherein the parameter values comprise class, source and identifier parameter values.
4. The method of claim 3, wherein the identifier parameter value indicates the document type definition.
5. The method of claim 3, wherein the class parameter value indicates a service class.
6. The method of claim 5, wherein instantiating the object corresponding to the service comprises instantiating the object based on the service class.
7. The method of claim 6, wherein the operate method is instantiated by each of a plurality of service classes.
8. The method of claim 6, wherein instantiating the object based on the service class comprises identifying a byte code for the service based on the class parameter value.
9. The method of claim 1, wherein the markup language document comprises tags, at least some of the tags being defined by the document type definition.
10. The method of claim 9, comprising generating events for each tag in the markup language document which is defined by the document type definition.
11. The method of claim 1, comprising keeping track of services that require responses.
12. The method of claim 11, comprising, at the network device:
receiving response messages associated with services;
formatting response messages for transmission to clients requesting the services; and
transmitting the response messages to the clients requesting the services.
13. The method of claim 12, comprising, at the network device, for services requiring multiple responses, receiving multiple responses and correlating the multiple responses for the requesting client.
14. The method of claim 1, wherein the service is associated with an HTTP server.
15. The method of claim 1, wherein the markup language comprises XML.
16. The method of claim 15, wherein the document type definition comprises an XML DTD.
17. The method of claim 1, wherein the service configures a packet forwarding architecture in the network device.
18. The method of claim 17, wherein the service causes changes in packet forwarding behavior at the network device.
19. The method of claim 18, wherein the service filters packets at the network device.
20. The method of claim 1, wherein the service monitors packet forwarding at the network device.
US14/330,846 2000-06-21 2014-07-14 Method and apparatus for using a command design pattern to access and configure network elements Abandoned US20140379784A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/330,846 US20140379784A1 (en) 2000-06-21 2014-07-14 Method and apparatus for using a command design pattern to access and configure network elements

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US21310700P 2000-06-21 2000-06-21
US09/726,758 US8782230B1 (en) 2000-06-21 2000-11-29 Method and apparatus for using a command design pattern to access and configure network elements
US14/330,846 US20140379784A1 (en) 2000-06-21 2014-07-14 Method and apparatus for using a command design pattern to access and configure network elements

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US09/726,758 Continuation US8782230B1 (en) 2000-06-21 2000-11-29 Method and apparatus for using a command design pattern to access and configure network elements

Publications (1)

Publication Number Publication Date
US20140379784A1 true US20140379784A1 (en) 2014-12-25

Family

ID=51135805

Family Applications (2)

Application Number Title Priority Date Filing Date
US09/726,758 Expired - Fee Related US8782230B1 (en) 2000-06-21 2000-11-29 Method and apparatus for using a command design pattern to access and configure network elements
US14/330,846 Abandoned US20140379784A1 (en) 2000-06-21 2014-07-14 Method and apparatus for using a command design pattern to access and configure network elements

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US09/726,758 Expired - Fee Related US8782230B1 (en) 2000-06-21 2000-11-29 Method and apparatus for using a command design pattern to access and configure network elements

Country Status (1)

Country Link
US (2) US8782230B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130332524A1 (en) * 2012-06-12 2013-12-12 Intermec Ip Corp. Data service on a mobile device
US20150081361A1 (en) * 2012-03-16 2015-03-19 Samsung Electronics Co., Ltd. Collaborative personal assistant system for delegating provision of services by third party task providers and method therefor
US20170339003A1 (en) * 2016-05-23 2017-11-23 Telefonaktiebolaget Lm Ericsson (Publ) Automatic network mangement system and methods

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10140381B2 (en) 2014-03-11 2018-11-27 Cisco Technology, Inc. HTML device tags to control operational features of devices in an internet of things
US9633131B2 (en) * 2014-03-11 2017-04-25 Cisco Technology, Inc. HTML network service tags used with web browsers for controlling network elements
US20220103415A1 (en) * 2020-09-28 2022-03-31 MobileNOC Corporation Remote network and cloud infrastructure management

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5956509A (en) * 1995-08-18 1999-09-21 Microsoft Corporation System and method for performing remote requests with an on-line service network
US7024450B1 (en) * 1997-10-06 2006-04-04 Mci, Inc. Method and apparatus for deploying service modules among service nodes distributed in an intelligent network
US7620980B1 (en) * 1999-07-21 2009-11-17 Sun Microsystems, Inc. Secure data broker

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3419627B2 (en) * 1996-06-11 2003-06-23 株式会社日立製作所 Router device
US5848233A (en) * 1996-12-09 1998-12-08 Sun Microsystems, Inc. Method and apparatus for dynamic packet filter assignment
CN1115824C (en) * 1998-05-07 2003-07-23 三星电子株式会社 Method and apparatus for universally accessiable command and control information in a network
US6167448A (en) * 1998-06-11 2000-12-26 Compaq Computer Corporation Management event notification system using event notification messages written using a markup language
US6463528B1 (en) * 1999-04-20 2002-10-08 Covad Communications Group, Inc. Method and apparatus for simplifying the configuration of several models of customer premise equipment
US7743089B2 (en) * 1999-10-13 2010-06-22 Intel Corporation Method and system for dynamic application layer gateways
US6662342B1 (en) * 1999-12-13 2003-12-09 International Business Machines Corporation Method, system, and program for providing access to objects in a document
US6880005B1 (en) * 2000-03-31 2005-04-12 Intel Corporation Managing policy rules in a network
US6973488B1 (en) * 2000-03-31 2005-12-06 Intel Corporation Providing policy information to a remote device
US20020032768A1 (en) * 2000-04-10 2002-03-14 Voskuil Erik K. Method and system for configuring remotely located applications
US7054901B2 (en) * 2001-05-31 2006-05-30 Juniper Networks, Inc. Network management interface with selective rendering of output

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5956509A (en) * 1995-08-18 1999-09-21 Microsoft Corporation System and method for performing remote requests with an on-line service network
US7024450B1 (en) * 1997-10-06 2006-04-04 Mci, Inc. Method and apparatus for deploying service modules among service nodes distributed in an intelligent network
US7620980B1 (en) * 1999-07-21 2009-11-17 Sun Microsystems, Inc. Secure data broker

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150081361A1 (en) * 2012-03-16 2015-03-19 Samsung Electronics Co., Ltd. Collaborative personal assistant system for delegating provision of services by third party task providers and method therefor
US20130332524A1 (en) * 2012-06-12 2013-12-12 Intermec Ip Corp. Data service on a mobile device
US20170339003A1 (en) * 2016-05-23 2017-11-23 Telefonaktiebolaget Lm Ericsson (Publ) Automatic network mangement system and methods
US10547496B2 (en) * 2016-05-23 2020-01-28 Telefonaktiebolaget Lm Ericsson (Publ) Automatic network management system and methods

Also Published As

Publication number Publication date
US8782230B1 (en) 2014-07-15

Similar Documents

Publication Publication Date Title
US7054901B2 (en) Network management interface with selective rendering of output
US7363351B1 (en) Network router management interface with API invoked via login stream
US20140379784A1 (en) Method and apparatus for using a command design pattern to access and configure network elements
US10860567B2 (en) Storing state in a dynamic content routing network
US7676562B2 (en) Computer system for accessing instrumentation information
US5996010A (en) Method of performing a network management transaction using a web-capable agent
US6519646B1 (en) Method and apparatus for encoding content characteristics
US6393475B1 (en) Method of performing a network management transaction using a web-capable agent
US8458467B2 (en) Method and apparatus for adaptive application message payload content transformation in a network infrastructure element
US7127720B2 (en) Storing state in a dynamic content routing network
JP3980596B2 (en) Method and system for remotely and dynamically configuring a server
US7277917B2 (en) Asynchronous messaging using a dynamic routing network
US7734756B2 (en) Object oriented communication among platform independent systems over networks using soap
US7647404B2 (en) Method of authentication processing during a single sign on transaction via a content transform proxy service
US6167448A (en) Management event notification system using event notification messages written using a markup language
US7302618B1 (en) Diagnosis of network fault conditions
US7246263B2 (en) System and method for portal infrastructure tracking
US6490617B1 (en) Active self discovery of devices that participate in a network
US20060155825A1 (en) Network device managing apparatus and method and storage medium
US7313608B1 (en) Method and apparatus for using documents written in a markup language to access and configure network elements
US20020161935A1 (en) System and method for dynamically adding management information base object
Choi et al. Towards xml and snmp integrated network management
Choi An Architectural Framework For XML-based Network Management

Legal Events

Date Code Title Description
AS Assignment

Owner name: RPX CLEARINGHOUSE LLC, CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ROCKSTAR CONSORTIUM US LP;ROCKSTAR CONSORTIUM LLC;BOCKSTAR TECHNOLOGIES LLC;AND OTHERS;REEL/FRAME:034924/0779

Effective date: 20150128

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION

AS Assignment

Owner name: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT, IL

Free format text: SECURITY AGREEMENT;ASSIGNORS:RPX CORPORATION;RPX CLEARINGHOUSE LLC;REEL/FRAME:038041/0001

Effective date: 20160226

AS Assignment

Owner name: RPX CORPORATION, CALIFORNIA

Free format text: RELEASE (REEL 038041 / FRAME 0001);ASSIGNOR:JPMORGAN CHASE BANK, N.A.;REEL/FRAME:044970/0030

Effective date: 20171222

Owner name: RPX CLEARINGHOUSE LLC, CALIFORNIA

Free format text: RELEASE (REEL 038041 / FRAME 0001);ASSIGNOR:JPMORGAN CHASE BANK, N.A.;REEL/FRAME:044970/0030

Effective date: 20171222