US7222152B1 - Generic communications framework - Google Patents

Generic communications framework Download PDF

Info

Publication number
US7222152B1
US7222152B1 US09/968,632 US96863201A US7222152B1 US 7222152 B1 US7222152 B1 US 7222152B1 US 96863201 A US96863201 A US 96863201A US 7222152 B1 US7222152 B1 US 7222152B1
Authority
US
United States
Prior art keywords
application
client
server
component
communications object
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.)
Expired - Fee Related, expires
Application number
US09/968,632
Inventor
Donald Thompson
Alan S. Geller
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.)
Microsoft Technology Licensing LLC
Original Assignee
Microsoft Corp
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 Microsoft Corp filed Critical Microsoft Corp
Priority to US09/968,632 priority Critical patent/US7222152B1/en
Assigned to MICROSOFT CORPORATION reassignment MICROSOFT CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: THOMPSON, DONALD, GELLER, ALAN S.
Application granted granted Critical
Publication of US7222152B1 publication Critical patent/US7222152B1/en
Assigned to MICROSOFT TECHNOLOGY LICENSING, LLC reassignment MICROSOFT TECHNOLOGY LICENSING, LLC ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MICROSOFT CORPORATION
Adjusted expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/321Interlayer communication protocols or service data unit [SDU] definitions; Interfaces between layers

Definitions

  • the present invention relates to the field of computer communications.
  • this invention relates to a system and method for communicating between a client and a server using communications object that supports a plurality of protocols and transports.
  • IP Internet Protocol
  • HTTP hypertext transfer protocol
  • FTP file transfer protocol
  • a client application program that wishes to communicate with a server application program across such a network must include software code to handle each of the various protocols used by the application programs for communication.
  • Some prior art systems provide a library of objects where each object includes software code to support one or more of the various protocols.
  • a software programmer selects the objects from the library that include support for the desired protocol and links the selected objects into the application program during compilation.
  • the software programmer modifies the static application program by re-compiling to add support for other protocols.
  • the invention includes a system and method for communicating between a client and a server using a generic, extensible, high-speed framework that separates clients and servers from the application layer and transport layer protocols commonly used for network communications.
  • An application client or server
  • URI uniform resource identifier
  • the invention executing on the client and/or server, instantiates an object based on the URI to implement the specified protocol and transport for communication between the client and the server.
  • Clients and servers use the invention for robust, protocol-independent network applications in which the invention establishes socket connections, listens over ports, and performs similar low-level communication details using a Generic Communications Framework (GCF).
  • GCF Generic Communications Framework
  • the invention is protocol agnostic and manages all connections for clients and servers.
  • the invention supports different standard protocols so that applications according to the invention can communicate with any protocol-conformant client or server.
  • the invention allows applications (clients and servers) to be written quickly and easily by abstracting them away from the underlying protocols and transports. Clients and servers that use the invention can switch between different protocols by changing configuration settings.
  • the invention reduces application complexity through abstraction.
  • the invention also reduces application development time by not writing redundant code, resulting in fewer bugs.
  • the invention further allows software programmers to focus on a single software code base allowing the code base to be optimized.
  • a method allows communication between a client and a server in a distributed processing system.
  • the client executes a client application and the server executes a server application.
  • the method includes creating a communications object that supports a plurality of protocols enabling communication between the client and the server.
  • the method also includes passing a uniform resource identifier (URI) from the client application to the communications object.
  • the URI identifies the server application with which the client application desires to communicate.
  • the method also includes instantiating the communications object based on the URI.
  • the instantiated communications object specifies a desired application layer protocol.
  • the application layer protocol is one of the protocols supported by the communications object.
  • the method also includes implementing, by the instantiated communications object, the application layer protocol to establish a connection between the client application and the server application.
  • one or more computer-readable media have computer-executable components including a client application component, a server application component, and a communications object component.
  • the client application component desires to communicate with the server application component.
  • the communications object component supports a plurality of protocols enabling communication between the client and server application components.
  • the communications object component is instantiated based on a URI identifying the server application component.
  • the instantiated communications object component specifies a desired application layer protocol.
  • the application layer protocol is one of the protocols supported by the communications object component.
  • the instantiated communications object component implements the application layer protocol to establish a connection between the client application component and the server application component.
  • a distributed processing system embodying aspects of the invention includes a client executing a client application, a server executing a server application with which the client application desires to communicate, and a computer-readable medium.
  • the computer-readable medium has computer-executable instructions for implementing a communications object.
  • the communications object supports a plurality of protocols to enable communication between the client and server applications.
  • the communications object is instantiated based on a URI identifying the server application.
  • the instantiated communications object component specifies a desired application layer protocol.
  • the application layer protocol is one of the protocols supported by the communications object.
  • the instantiated communications object implements the application layer protocol to establish a connection between the client application and the server application.
  • a method allows communication between a first device and a second device via a communication component.
  • the first device executes an application program.
  • the method includes conveying, from the application program to a communication component associated with the first device, a URI for specifying a protocol and transport.
  • the method also includes receiving, by the application program from the communication component, identification of a transmitting interface.
  • the transmitting interface transmits, by the application program to the second device, at least one message.
  • the transmitting interface implements the specified protocol and transport to transmit the message from the application program to the second device.
  • a method allows communication between a first device and a second device via a communication component.
  • the first device executes an application program.
  • the method includes conveying, from the application program to a communication component associated with the first device, a uniform resource identifier (URI) for specifying a protocol and transport.
  • the method also includes identifying, by the application program to the communication component, a receiving interface.
  • the receiving interface receives, by the application program from the communication component, at least one message.
  • the communication component implements the specified protocol and transport to receive the message from the second device for processing by the first device.
  • URI uniform resource identifier
  • Another embodiment of the invention is directed to a method that allows communication between a first device and a second device via a communication component associated with the first device.
  • the method includes receiving, by the communication component from an application program executing on the first device, a URI for specifying a protocol and transport.
  • the method also includes instantiating an object based on the URI.
  • the object is accessible by the application program for implementing the specified protocol and transport to transmit at least one message from the first device to the second device.
  • the method also includes receiving, by the communication component from the application program, identification of a receiving interface.
  • the receiving interface receives, by the application program from the communication component, a second message in response to the first message.
  • the application program processes the second message.
  • the invention may comprise various other methods and apparatuses.
  • FIG. 1 is a block diagram of one embodiment of the method and system of the invention illustrating an example of a suitable computing system environment on which the invention may be implemented.
  • FIG. 2A is a block diagram of one embodiment of the invention illustrating communication between a client application with a GCF client and a server.
  • FIG. 2B is a block diagram of one embodiment of the invention illustrating communication between a server application with a GCF server and a client.
  • FIG. 2C is a block diagram of one embodiment of the invention illustrating communication between a client application with a GCF client and a server application with a GCF server.
  • FIG. 3 is a block diagram of one embodiment of the invention illustrating the flow of data between the various layers of a client computer and a server computer.
  • FIG. 4 is a block diagram of one embodiment of the invention illustrating the process for implementing a GCF client.
  • FIG. 5 is a block diagram of one embodiment of the invention illustrating the process for implementing a GCF server.
  • FIG. 6 is a block diagram of one embodiment of the invention illustrating the flow of data through the interfaces exposed and implemented by a GCF client and a GCF server.
  • FIG. 7 is a flow chart of one embodiment of the invention illustrating operation of a GCF client.
  • FIG. 8 is a block diagram of one embodiment of the invention illustrating an electronic advertisement client application interacting with a electronic advertisement server.
  • the invention relates to a system and method of communicating between a client and a server in a distributed processing system.
  • the invention implements high-performance client/server communications patterns using arbitrary protocols and transports.
  • a client according to the invention can exchange data with various Web servers or browsers using a hypertext transfer protocol (HTTP) or a file transfer protocol (FTP).
  • HTTP hypertext transfer protocol
  • FTP file transfer protocol
  • the invention is a component developed in C++ according to a component object model (COM).
  • the client executes a client application and the server executes a server application.
  • the invention includes a generic communications framework (GCF) or other communications object or component.
  • the communications object supports a plurality of protocols enabling communication between the client and the server.
  • the invention supports a client/server communications model in which clients and servers are addressable via a uniform resource locator (URL) or other uniform resource identifier (URI).
  • the client application passes a URI from the client application to the communications object.
  • the URI identifies the server application with which the client application desires to communicate.
  • a communications object is instantiated based on the URI.
  • the instantiated communications object specifies a desired application layer protocol.
  • the communications object implements the application layer protocol to establish a connection between the client application and the server application.
  • the GCF object is an instantiated communications object or component.
  • the invention provides a flexible and efficient way of shuttling application data across arbitrary transports using arbitrary protocols.
  • Application coding is minimized due to the completeness of the implementation, making it easy to quickly construct new clients and servers that are capable of taking advantage of features such as I/O completion ports (on transports that support them) and multiplexed/demultiplexed (MUX/DEMUX) transmissions (using protocols that support such a feature).
  • I/O completion ports on transports that support them
  • MUX/DEMUX multiplexed/demultiplexed
  • Both clients and servers specify protocol and host information in standard URI format.
  • Monikers representing custom protocols will be used in place of standard protocols (i.e., HTTP).
  • the meaning of the host information depends on the context. For example, the host information for HTTP will be the name (or IP address) of the remote server or network interface card to listen on.
  • the URI that a client application uses to create a client communications object depends on the type of requests the client application needs to make. For instance, if a client application needs to contact an HTTP server, the URI must specify that protocol.
  • Some protocols are inherently serial and cannot be MUX/DEMUXed (i.e., HTTP). Limits can be placed (via configuration) on the number of connections to create on a per protocol basis (both globally and per destination). Multiple connections to the same URI on serialized protocols allow them to transact in parallel. Non-serialized connections place no limits on the number of clients that may concurrently have access.
  • the invention is generally asynchronous and requests made to the communications component will complete immediately.
  • the application is notified using event sinks in the form of callback interfaces that the application must implement.
  • Clients and servers that use the invention can switch between different protocols by changing configuration settings.
  • the invention is a thin layer over different application and transport protocols such as HTTP, FTP, and TCP/IP.
  • HTTP HyperText Transfer Protocol
  • FTP FTP
  • TCP/IP Transport Control Protocol
  • FIG. 1 a block diagram illustrates one example of a suitable computing system environment 100 on which the invention may be implemented.
  • the computing system environment 100 is only one example of a suitable computing or operating environment and is not intended to suggest any limitation as to the scope of use or functionality of the invention. Neither should the computing system environment 100 be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the exemplary computing system environment 100 .
  • FIG. 1 shows one example of a general purpose computing device in the form of a computer 130 .
  • a computer such as the computer 130 is suitable for use in the other figures illustrated and described herein.
  • Computer 130 preferably has one or more processors or processing units 132 and a system memory 134 .
  • a system bus 136 couples various system components including the system memory 134 to the processors 132 .
  • the bus 136 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures.
  • bus architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus also known as Mezzanine bus.
  • ISA Industry Standard Architecture
  • MCA Micro Channel Architecture
  • EISA Enhanced ISA
  • VESA Video Electronics Standards Association
  • PCI Peripheral Component Interconnect
  • the computer 130 typically has at least some form of computer readable media.
  • Computer readable media which include both volatile and nonvolatile media, removable and non-removable media, may be any available medium that can be accessed by computer 130 .
  • Computer readable media comprise computer storage media and communication media.
  • Computer storage media include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data.
  • computer storage media include RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and that can accessed by computer 130 .
  • Communication media typically embody computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism and include any information delivery media. Those skilled in the art are familiar with the modulated data signal, which has one or more of its characteristics set or changed in such a manner as to encode information in the signal.
  • Wired media such as a wired network or direct-wired connection
  • wireless media such as acoustic, RF, infrared, and other wireless media
  • communication media such as acoustic, RF, infrared, and other wireless media
  • the system memory 134 preferably includes computer storage media in the form of removable and/or non-removable, volatile and/or nonvolatile memory.
  • system memory 134 includes read only memory (ROM) 138 and random access memory (RAM) 140 .
  • ROM read only memory
  • RAM random access memory
  • BIOS basic input/output system
  • RAM 140 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 132 .
  • FIG. 1 illustrates operating system 144 , application programs 146 , other program modules 148 , and program data 150 .
  • the computer 130 may also include other removable/non-removable, volatile/nonvolatile computer storage media.
  • FIG. 1 illustrates a hard disk drive 154 that reads from or writes to non-removable, nonvolatile magnetic media.
  • FIG. 1 also shows a magnetic disk drive 156 that reads from or writes to a removable, nonvolatile magnetic disk 158 , and an optical disk drive 160 that reads from or writes to a removable, nonvolatile optical disk 162 such as a CD-ROM or other optical media.
  • removable/non-removable, volatile/nonvolatile computer storage media that can be used in the exemplary operating environment include, but are not limited to, magnetic tape cassettes, flash memory cards, digital versatile disks, digital video tape, solid state RAM, solid state ROM, and the like.
  • the hard disk drive 144 , and magnetic disk drive 156 and optical disk drive 160 are typically connected to the system bus 136 by a non-volatile memory interface, such as interface 166 .
  • the drives or other mass storage devices and their associated computer storage media discussed above and illustrated in FIG. 1 provide storage of computer readable instructions, data structures, program modules and other data for the computer 130 .
  • hard disk drive 154 is illustrated as storing operating system 170 , application programs 172 , other program modules 174 , and program data 176 .
  • operating system 170 application programs 172 , other program modules 174 , and program data 176 .
  • these components can either be the same as or different from operating system 144 , application programs 146 , other program modules 148 , and program data 150 .
  • Operating system 170 , application programs 172 , other program modules 174 , and program data 176 are given different numbers here to illustrate that, at a minimum, they are different copies.
  • a user may enter commands and information into computer 130 through input devices such as a keyboard 180 and a pointing device 182 (e.g., a mouse, trackball, pen, or touch pad).
  • Other input devices may include a microphone, joystick, game pad, satellite dish, scanner, or the like.
  • processing unit 132 may connect to processing unit 132 through a user input interface 184 that is coupled to system bus 136 , but may be connected by other interface and bus structures, such as a parallel port, game port, or a universal serial bus (USB).
  • a monitor 188 or other type of display device is also connected to system bus 136 via an interface, such as a video interface 190 .
  • computers often include other peripheral output devices (not shown) such as a printer and speakers, which may be connected through an output peripheral interface (not shown).
  • the computer 130 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 194 .
  • the remote computer 194 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to computer 130 .
  • the logical connections depicted in FIG. 1 include a local area network (LAN) 196 and a wide area network (WAN) 198 , but may also include other networks.
  • LAN local area network
  • WAN wide area network
  • Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets, and global computer networks (e.g., the Internet).
  • computer 130 When used in a local area networking environment, computer 130 is connected to the LAN 196 through a network interface or adapter 186 . When used in a wide area networking environment, computer 130 typically includes a modem 178 or other means for establishing communications over the WAN 198 , such as the Internet.
  • the modem 178 which may be internal or external, is connected to system bus 136 via the user input interface 194 , or other appropriate mechanism.
  • program modules depicted relative to computer 130 may be stored in a remote memory storage device (not shown).
  • FIG. 1 illustrates remote application programs 192 as residing on the memory device. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.
  • the data processors of computer 130 are programmed by means of instructions stored at different times in the various computer-readable storage media of the computer.
  • Programs and operating systems are typically distributed, for example, on floppy disks or CD-ROMs. From there, they are installed or loaded into the secondary memory of a computer. At execution, they are loaded at least partially into the computer's primary electronic memory.
  • the invention described herein includes these and other various types of computer-readable storage media when such media contain instructions or programs for implementing the steps described below in conjunction with a microprocessor or other data processor.
  • the invention also includes the computer itself when programmed according to the methods and techniques described below.
  • FIGS. 2A-2C a block diagram illustrates the various types of communication between clients and servers using a GCF communications object.
  • FIG. 2A illustrates communication between a client application 202 with a GCF client and a server 204 .
  • the server 204 does not have a GCF object.
  • FIG. 2B illustrates communication between a client 206 and a server application 208 with a GCF server.
  • the client 206 does not have a GCF object.
  • FIG. 2C illustrates communication between a client application 210 with a GCF client and a server application 212 with a GCF server.
  • the communications object establishes a single connection between the client application 210 and the server application 212 and multiplexes and demultiplexes requests from the client application 210 .
  • FIG. 3 a block diagram illustrates the exemplary flow of data between the various layers of a client computer with a GCF object and a server computer.
  • a client computer 302 with a client application 304 communicates with a GCF client 306 .
  • the GCF client 306 implements a protocol and a transport via a GCF protocol 308 and a GCF transport layer 310 , respectively, to communicate with a server computer 312 .
  • Communication between the client 302 and the server 312 is enabled according to a protocol stack having at least an application layer protocol (e.g., HTTP) and a transport layer protocol.
  • the communication object 306 separates at least one of the client applications 304 from the application layer 308 and transport layer 310 protocols.
  • the GCF object of the server application separates at least one of the server applications from the application layer and transport layer protocols.
  • the instantiated GCF communications object 306 specifies a desired transport layer protocol 310 .
  • the instantiated communications object implements an application layer protocol 308 (e.g., HTTP) over the transport layer protocol 310 .
  • the server computer 312 includes a server application 314 communicating with a server 316 .
  • the server 316 implements a protocol and transport via a protocol layer 318 and a transport layer 320 , respectively, to communicate with the client computer 302 .
  • a block diagram illustrates the process for implementing a GCF client.
  • a client computer or other client is part of a distributed processing system.
  • the client computer executes a client application 402 .
  • a communications object (IGCF) 404 is created (e.g., by a software programmer) to support a plurality of protocols enabling communication between the client and a server.
  • the IGCF 404 is protocol agnostic.
  • the client application 402 passes a uniform resource identifier (URI) to the IGCF 404 to identify a server application executed by the server with which the client application wishes to communicate.
  • URI uniform resource identifier
  • the client application 402 uses the IGCF 404 to instantiate a specific communications object (IGCFClient) 406 based on the URI.
  • the IGCFClient 406 specifies a desired application layer protocol that is one of the protocols supported by the IGCF 404 .
  • the IGCFClient 406 implements the application layer protocol via an IGCFProtocol object 408 and an IGCFTransport object 410 to establish a connection between the client application 402 and the server.
  • the client application 402 instantiates the IGCF 404 based on a different URI identifying another server application with which the client application 402 desires to communicate.
  • the IGCF 404 includes IGCFClient 406 for use by the client application 402 to send one or more requests to the server application.
  • the client application 402 sends messages to the IGCFClient 406 that are transmitted to the server via packets sent by the IGCFProtocol 408 and IGCFTransport 410 objects.
  • the IGCFTransport object 410 manages connections with the server.
  • a request from the client application 402 includes, but is not limited to, one of the following types of requests: a notification, a transaction, or a query.
  • a notification is a one-way communication from the client to the server.
  • the notification is a unidirectional transmission that is not guaranteed to be delivered and may have a size restriction (depending on the transport).
  • a client application 402 uses a notification to send requests when a response or acknowledgement is not needed.
  • a transaction is a two-way communication in which a client sends data to the server for processing. The server returns either the processed data or additional data back to the client. Clients expect a response to all transactions.
  • the transaction is a bidirectional transmission that is guaranteed to be delivered and does not have a size restriction.
  • a query is a two-way communication. The query is similar to the transaction in that the query is essentially a qualified transaction. If the client needs information from the server, the client queries for this information and passes attributes to the server that qualify the required information. For example, the client could request an active server page (ASP) from the server and include attributes such as tag/value parameters in the request.
  • ASP active server page
  • One or more computer-readable media have computer-executable instructions to perform the method illustrated in FIG. 4 .
  • a server computer is part of a distributed processing system and executes a server application 502 .
  • a software programmer creates a communications object (IGCF) 504 that supports a plurality of protocols enabling communication between a client and the server.
  • the IGCF 504 is protocol agnostic.
  • the server application 502 passes a URI to the IGCF 504 to identify the server application 502 .
  • the server application 502 uses the IGCF 504 to instantiate a specific communications object (IGCFServer) 506 based on the URI.
  • IGCFServer specific communications object
  • the IGCFServer object 506 specifies a desired application layer protocol that is one of the protocols supported by the IGCF 504 .
  • the IGCFServer object 506 implements the application layer protocol via an IGCFProtocol object 508 and an IGCFTransport object 510 to establish a connection between the server application 502 and a client application executed by the client.
  • the server application 502 instantiates the IGCF 504 based on a different URI identifying another client application with which the server application 502 desires to communicate.
  • the IGCF 504 includes the IGCFServer object 506 for use by the server application 502 to receive one or more requests or other messages sent by the client.
  • the server application 502 receives messages from the IGCFServer object 506 .
  • the IGCFServer object 506 communicates with the client via packets received by the IGCFProtocol 508 and IGCFTransport 510 objects.
  • the IGCFTransport object 510 manages connections with the client.
  • the server application 502 generates one or more replies.
  • the server application 502 uses the IGCFServer 506 to send the replies to the client.
  • FIG. 6 a block diagram illustrates the exemplary flow of data through the interfaces exposed and implemented by a GCF client and a GCF server.
  • a client computer 602 has a client application 604 communicating with a GCF client component 606 .
  • a server computer 608 has a server application 610 communicating with a GCF server component 612 .
  • the GCF client component 606 sends one or more requests to the GCF server component 612 .
  • the GCF server component 612 sends one or more replies to the GCF client component 606 .
  • the GCF exposes several public interfaces.
  • Appendix A includes a programming reference for the public GCF interfaces implemented as COM objects.
  • a GCF component creates all other interfaces.
  • FIG. 6 depicts the public interfaces exposed by the GCF, plus those implemented by client applications such as client application 604 and servers, and the flow of data through those interfaces.
  • the GCF works on an asynchronous model by sending requests or responses. The clients and servers send data and continue other processing until they receive requests or responses. To receive requests and replies, the server applications and client applications must implement the appropriate callback interface, either IGCFServerEvents or IGCFClientEvents, respectively (see below).
  • the process for implementing a GCF client component 606 is next described.
  • the client application 604 For the client application 604 to send a request to a listening server application 610 , the client application 604 creates the GCF client component 606 and queries the GCF client component 606 for an IGCF interface.
  • the client application 604 uses standard component object model (COM) methods to create the GCF component.
  • An initialize method on the IGCF interface initializes the GCF client component 606 .
  • the client application 604 passes the URI of the desired server application 610 to the GCF client component 606 via the IGCF interface.
  • the GCF client component 606 then returns a pointer to the IGCFClient interface.
  • COM component object model
  • the client application 604 uses the IGCFClient interface to send one or more requests to the server application 610 .
  • the requests include one or more of the following: a notification, a transaction, and a query.
  • the requests are encapsulated with data such as headers and trailers according to a protocol and transport identified by the URI.
  • the IGCFClient interface of the GCF client component 606 establishes a connection with the server computer 608 to send the encapsulated requests to the GCF server component 612 .
  • the GCF client component 606 raises an OnSend notification to the client application 604 .
  • the client application 604 also passes a pointer to an IGCFClientEvents callback interface to the GCF client component 606 .
  • the client application 604 uses the IGCFClientEvents interface to receive messages such as replies from the GCF client component 606 .
  • the GCF client component 606 receives a reply from the server application 610
  • the GCF client component 606 notifies the client application 604 by raising an event designated OnRecv and passing in the data received from the server to the client application 604 via the IGCFClientEvents interface.
  • the IGCFClientEvents interface implements asynchronous events generated by the GCF client component 606 .
  • the GCF client component 606 also supports client time-outs. If a GCF client component 606 does not receive a reply from a server within a specified time, the GCF client component 606 times out and sends a null response or other error message to the client application 604 . Users and developers can configure the time-outs in various ways including, but not limited to, configuring the duration of time prior to sending an error message to the client application 604 .
  • the process for implementing a GCF server resembles the process for implementing a GCF client.
  • the server application 610 creates and initializes the GCF server component 612 and receives identification of an IGCF interface from the GCF server component 612 .
  • the server application 610 then passes the URI on which the server application 610 will listen to the GCF server component 612 via the IGCF interface.
  • the GCF server component 612 then returns a pointer to the IGCFServer interface.
  • the server application 610 uses the IGCFServer interface to receive one or more request from the client and to send one or more replies to the client.
  • the server application 610 also uses the IGCFServer interface to call a StartListening method and listen for any clients that want to connect. When the server application 610 no longer wants to accept connections from any client, it calls a StopListening method and communication ends.
  • the server application 610 passes a pointer to an IGCFServerEvents callback interface to the GCF server component 612 .
  • the GCF server component 612 uses the IGCFServerEvents interface to notify the server application 610 of the request.
  • the server application 610 processes the request, and then uses the IGCFServer interface to send the reply to the client.
  • the IGCFServerEvents interface implements asynchronous events generated by the GCF server component 612 .
  • the server application 610 uses the IGCFServerEvents callback interface to send a reply to a request received from the client application 604 .
  • either or both of the GCF client and GCF server component 612 are component object model (COM) components.
  • COM component object model
  • an exemplary flow chart illustrates operation of a GCF client according to one embodiment of the invention.
  • An application program instantiates a GCF component at 702 .
  • the application program requests at 704 a connection by specifying a URL.
  • the GCF component looks up the URL in a registry at 706 . If the URL is not found in the registry at 708 , the GCF component proceeds to 710 .
  • the GCF component looks up at 710 a scheme associated with the URL in the registry. If the URL scheme is not found at 712 , an error to the application program is returned at 714 .
  • the GCF component retrieves configuration settings from the registry at 716 .
  • the GCF component instantiates protocol and transport objects based on the retrieved configuration settings at 718 .
  • the GCF component returns at 720 the requested object to the application program.
  • FIG. 8 a block diagram illustrates an electronic advertisement client application interacting with a electronic advertisement server.
  • Web server software 802 has access to Web pages such as active server pages (ASP) 804 .
  • a client application 806 such as an advertisement client application uses a GCF component 808 to send requests to a server 810 such as an advertisement server.
  • the advertisement server 810 stores, for example, content associated with the advertisements.
  • the advertisement server 810 sends one or more responses to the client application.
  • users can configure several operational parameters for protocols, transports, and hosts by manually changing values in the registry.
  • a configuration tool simplifies the process. Some of the configuration parameters for protocols use hints or other values for frequently used sizes of data structures. The GCF uses hints for efficiency purposes, to pool, or recycle frequently used data structures. However, hints do not prevent applications from sending sizes greater or smaller than the values specified in the configuration settings.
  • the following registry key contains default values for the protocols: HKEY_LOCAL_MACHINE ⁇ SOFTWARE ⁇ AdDelivery ⁇ GCF ⁇ Protocols.
  • a ProgId specifies the program ID of the desired protocol.
  • a Timeout represents a value in milliseconds that elapses before a request times out.
  • a negative 1 ( ⁇ 1) disables the timeouts.
  • a ReceiveBufferHint represents the size in bytes of data typically received by a server.
  • a BufferArrayHint represents the number of SGCFBuffers an application typically sends to GCF.
  • a Transport represents the configuration tree for the transport layer. In one embodiment, the following registry key contains the default values for the transport layers:
  • a ProgId represents the program ID of the desired transport.
  • a ReceiveBufferSize represents a typical size of the buffers that receive requests.
  • An OutstandingReceives represents the number of requests in a queue awaiting replies.
  • a ConnectionRetryDelay represents the amount of time that elapses before a client tries to reconnect to a server.
  • the application layer protocol implements a hypertext transfer protocol (HTTP) or a generic communications framework protocol (GCFP) in one embodiment of the invention.
  • the transport layer implements a transmission control protocol/Internet protocol (TCP/IP) transport or a universal data protocol (UDP) transport.
  • GCFP is a proprietary, packed binary format used for internal data flows.
  • the invention also supports a file transfer protocol (FTP).
  • FTP file transfer protocol
  • the invention supports transports such as transmission control protocol (TCP) and universal data protocol (UDP). For example, a URL of http://www.msn.com:80 will cause the GCF component to create a protocol object (IGCFProtocol) to handle HTTP across a TCP transport (IGCFTransport), in the default configuration.
  • IGCFProtocol protocol object
  • IGCFTransport TCP transport
  • the client application passes http://www.adtech.com/databucket.asp in the call to create the GCF client object.
  • the GCF internally parses and caches the resource from the URL for use in any GCF “transactions” made to the page.
  • the GCF component supports the HTTP “drizzle” feature to enable background downloads.
  • the URL might be specified as gcfp://127.24.122.52:8000.
  • a GCF component need not communicate with another GCF component.
  • a GCF client can communicate with Web server software and a GCF server can accept requests from a Web browser using the HTTP protocol.
  • the client can be a computer and the server can be a hardware device.
  • the server can also be a computer-readable medium.
  • the client can be a hardware device and the server can be a computer.
  • the invention supports any custom or third-party protocol and/or transport as long as the GCF public interface (see below) is supported.
  • the invention can be used to communicate with any computer hardware or software including, but not limited to, a network, a computer-readable medium, any peripheral hardware device, and an application program.
  • the computer-readable media are associated with either or both of the client and server computers.
  • the invention is implemented as a COM object in C++. Any aspect of the invention is implemented in hardware and/or software.
  • Client and server applications can send arrays of buffers to the GCF for transmission. With these buffers, the memory to which the buffers point—the data a client or server sends—must persist until the client and server applications receive a notification (e.g., OnSend) or confirmation from the GCF.
  • a notification e.g., OnSend
  • a communications component as described herein includes functionality for program-to-program transfer of information and functionality for accurate delivery of information and service quality.
  • the invention may also include functionality for shutting down GCF clients and servers.
  • a client application finishes using a GCF client it calls the Shutdown method on the IGCFClient interface.
  • the client application finishes using the GCF as whole it calls the Shutdown method on the IGCF interface.
  • the server application then shuts down the GCF server by calling the Shutdown method on the IGCFServer interface.
  • the server application finishes with the GCF as a whole, the server application calls the Shutdown method on the IGCF interface.
  • a client application After a client application creates a GCF client object it should maintain the object until the client application no longer intends to communicate with the server application. Generally, a client application does not need to create and destroy GCF objects more than once per session.
  • the GCF uses a feature such as the “boxcar” feature in HTTP version 1.1 to multiplex/demultiplex (mux/demux) requests and increase communication speeds.
  • the GCF establishes a single connection between a client and server application. Any thread from a client application can then submit requests to a GCF client object at any time. As the client object sends data the server object accumulates the data in its kernel and passes it up to the GCF, which breaks them apart in the order received and processes them. Under this model, client and server applications establish and manage one connection, and they receive large numbers of requests over that connection. As a result, they spend nearly 100 percent of their resources processing data instead of transitioning to and from kernel mode and managing socket overhead.
  • the electronic advertisement delivery embodiment there may be hundreds of threads executing on a client and communicating with a remote server storing the advertisements. All the threads use the same GCF object (with established connections) to communicate with the remote server.
  • the GCF object can combine from multiple threads onto one connections, and demultiplex the responses to the requests after they are received by the GCF object.
  • the multiplex/demultiplex capability works across multiple protocols.
  • the GCF object can implement multiplexing and demultiplexing differently for each protocol. For example, demultiplexing may occur on a first-in first-out (FIFO) basis or according to embedded state information in each received packet.
  • FIFO first-in first-out
  • a multi-homed computer includes more than one network interface card and can connect to more than one LAN.
  • the URIs used to create GCF clients and servers should include the IP address of the network card connected to the desired LAN, not the machine name.
  • http://192.168.13.21/DataBucket.asp would serve as a proper URL for a multi-homed machine, but http://AdTech/DataBucket.asp may route the request to the wrong destination.
  • Machine names resolve to specific interface cards, so passing machine names could route the request to a card connected to the wrong LAN.
  • the invention uses thread affinity to reduce CPU load.
  • the GCF transports operate under an input/output completions model. If interrupts raised by the network interface cards on the servers are bound to a single CPU, the threads started by the GCF can also be bound to the interrupts. Thread binding reduces the load on the server's CPUs by confining requests and replies to a single CPU. Further, in a multi-threaded application, the invention supports re-entrant multithreading. As such, implementing locking around any GCF code or critical sections is not necessary.
  • one or more computer-readable media have computer-executable components for operation of the invention.
  • the components include a client application component, a server application component, and a communications object component.
  • the client component desires to communicate with the server application component.
  • the client application component and the server application component are located on separate computer-readable media.
  • the communications object component supports a plurality of protocols enabling communication between the client and server application components.
  • the communications object component is instantiated based on the URI identifying the server application component.
  • the instantiated communications object component (IGCFClient or IGCFServer) specifies a desired application layer protocol.
  • the application layer protocol is one of the protocols supported by the communications object component.
  • the instantiated communications object component implements the application layer protocol to establish a connection between the client application component and the server application component.
  • a distributed processing system in another embodiment, includes a client executing a client application and a server executing a server application.
  • the client application desires to communicate with the server application.
  • the distributed processing system also includes a computer-readable medium having computer-executable instructions for implementing a communications object.
  • the communications object supports a plurality of protocols to enable communication between the client and server applications.
  • the communications object is instantiated based on the URI identifying the server application.
  • the instantiated communications object component (IGCFClient or IGCFServer) specifies a desired application layer protocol.
  • the application layer protocol is one of the protocols supported by the communications object.
  • the instantiated communications object implements the application layer protocol to establish a connection between the client application and the server application.
  • the instantiated communications object specifies a desired transport layer protocol and implements the application layer over the transport layer protocol.
  • the invention includes a method of communicating between a first device and a second device via a communication component.
  • the first device executes an application program.
  • the method includes conveying from the application program to a communications component associated with the first device the URI.
  • the URI specifies a protocol and transport.
  • the application program receives from the communication component identification of a transmitting interface (e.g., IGCFClient).
  • the transmitting interface transmits to the second device at least one message.
  • the transmitting interface implements the specified protocol and transport to transmit the message from the application program to the second device.
  • the message is a request message.
  • the application program identifies to the communication component a receiving interface (e.g., IGCFClientEvents) for receiving, by the application program from the communication component (IGCF), at least one reply message in response to the request message.
  • a receiving interface e.g., IGCFClientEvents
  • the application program processes the reply message.
  • the invention also includes a method of communicating between a first device and a second device via a communication component.
  • the first device executes an application program.
  • the method includes the application program conveying to a communication component associated with the first device the URI.
  • the URI specifies a protocol and transport.
  • the application program identifies to the communication component a receiving interface (e.g., IGCFServerEvents) for receiving from the communication component at least one message.
  • the communication component implements the specified protocol and transport to receive the message from the second device for processing by the first device.
  • the message is a request message.
  • the application program receives from the communication component identification of a transmitting interface (e.g., IGCFServer) for transmitting to the second device at least one reply message in response to the request message.
  • the second device processes the reply message.
  • a transmitting interface e.g., IGCFServer
  • the invention also includes a method for communicating between a first device and a second device via a communication component associated with the first device.
  • the communication component receives from an application program executing on the first device the URI.
  • the URI specifies a protocol and transport.
  • the communications component instantiates an object based on the URI.
  • the object is accessible by the application program for implementing the specified protocol and transport to transmit at least one message from the first device to the second device.
  • the communications component receives from the application program identification of a receiving interface (e.g., IGCFServerEvents or IGCFClientEvents) for receiving from the communication component a second message in response to the first message.
  • the application program processes the second message.
  • the invention is operational with numerous other general purpose or special purpose computing system environments or configurations.
  • the computing system environment is not intended to suggest any limitation as to the scope of use or functionality of the invention.
  • the computing system environment should not be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the exemplary operating environment.
  • Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the invention include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
  • the invention may be described in the general context of computer-executable instructions, such as program modules, executed by one or more computers or other devices.
  • program modules include, but are not limited to, routines, programs, objects, components, and data structures that perform particular tasks or implement particular abstract data types.
  • the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network.
  • program modules may be located in both local and remote computer storage media including memory storage devices.

Abstract

A system and method for communicating between a client and a server using a generic, extensible, high-speed framework that separates clients and servers from the application layer and transport layer protocols commonly used for network communications. An application (client or server) specifies a uniform resource identifier (URI) to identify an interface for transmitting or receiving one or more messages and to identify the desired protocol and transport for communication. The invention, executing on the client and/or server, instantiates an object based on the URI to implement the specified protocol and transport for communication between the client and the server.

Description

TECHNICAL FIELD
The present invention relates to the field of computer communications. In particular, this invention relates to a system and method for communicating between a client and a server using communications object that supports a plurality of protocols and transports.
BACKGROUND OF THE INVENTION
Some computer systems communicate across networks based on the Internet Protocol (IP) using various protocols such as hypertext transfer protocol (HTTP), file transfer protocol (FTP), and various proprietary protocols. A client application program that wishes to communicate with a server application program across such a network must include software code to handle each of the various protocols used by the application programs for communication.
Some prior art systems provide a library of objects where each object includes software code to support one or more of the various protocols. A software programmer selects the objects from the library that include support for the desired protocol and links the selected objects into the application program during compilation. The software programmer modifies the static application program by re-compiling to add support for other protocols. These prior art systems lack a pluggable framework that can be reused and extended as needed without requiring re-compilation of the application program.
Other prior art systems include software customized to allow two or more application programs to communicate. Such “middleware” is specifically customized to the unique communication requirements of the communicating application programs. The middleware in these prior art systems is static and not re-usable by other application programs with different communication requirements.
For these reasons, a pluggable framework is desired to address one or more of these and other disadvantages.
SUMMARY OF THE INVENTION
The invention includes a system and method for communicating between a client and a server using a generic, extensible, high-speed framework that separates clients and servers from the application layer and transport layer protocols commonly used for network communications. An application (client or server) specifies a uniform resource identifier (URI) to identify an interface for transmitting or receiving one or more messages and to identify the desired protocol and transport for communication. The invention, executing on the client and/or server, instantiates an object based on the URI to implement the specified protocol and transport for communication between the client and the server.
Clients and servers use the invention for robust, protocol-independent network applications in which the invention establishes socket connections, listens over ports, and performs similar low-level communication details using a Generic Communications Framework (GCF). The invention is protocol agnostic and manages all connections for clients and servers. The invention supports different standard protocols so that applications according to the invention can communicate with any protocol-conformant client or server. The invention allows applications (clients and servers) to be written quickly and easily by abstracting them away from the underlying protocols and transports. Clients and servers that use the invention can switch between different protocols by changing configuration settings.
The invention reduces application complexity through abstraction. The invention also reduces application development time by not writing redundant code, resulting in fewer bugs. The invention further allows software programmers to focus on a single software code base allowing the code base to be optimized.
In accordance with one aspect of the invention, a method allows communication between a client and a server in a distributed processing system. The client executes a client application and the server executes a server application. The method includes creating a communications object that supports a plurality of protocols enabling communication between the client and the server. The method also includes passing a uniform resource identifier (URI) from the client application to the communications object. The URI identifies the server application with which the client application desires to communicate. The method also includes instantiating the communications object based on the URI. The instantiated communications object specifies a desired application layer protocol. The application layer protocol is one of the protocols supported by the communications object. The method also includes implementing, by the instantiated communications object, the application layer protocol to establish a connection between the client application and the server application.
In accordance with another aspect of the invention, one or more computer-readable media have computer-executable components including a client application component, a server application component, and a communications object component. The client application component desires to communicate with the server application component. The communications object component supports a plurality of protocols enabling communication between the client and server application components. The communications object component is instantiated based on a URI identifying the server application component. The instantiated communications object component specifies a desired application layer protocol. The application layer protocol is one of the protocols supported by the communications object component. The instantiated communications object component implements the application layer protocol to establish a connection between the client application component and the server application component.
A distributed processing system embodying aspects of the invention includes a client executing a client application, a server executing a server application with which the client application desires to communicate, and a computer-readable medium. The computer-readable medium has computer-executable instructions for implementing a communications object. The communications object supports a plurality of protocols to enable communication between the client and server applications. The communications object is instantiated based on a URI identifying the server application. The instantiated communications object component specifies a desired application layer protocol. The application layer protocol is one of the protocols supported by the communications object. The instantiated communications object implements the application layer protocol to establish a connection between the client application and the server application.
In another embodiment, a method allows communication between a first device and a second device via a communication component. The first device executes an application program. The method includes conveying, from the application program to a communication component associated with the first device, a URI for specifying a protocol and transport. The method also includes receiving, by the application program from the communication component, identification of a transmitting interface. The transmitting interface transmits, by the application program to the second device, at least one message. The transmitting interface implements the specified protocol and transport to transmit the message from the application program to the second device.
In accordance with yet another aspect of the invention, a method allows communication between a first device and a second device via a communication component. The first device executes an application program. The method includes conveying, from the application program to a communication component associated with the first device, a uniform resource identifier (URI) for specifying a protocol and transport. The method also includes identifying, by the application program to the communication component, a receiving interface. The receiving interface receives, by the application program from the communication component, at least one message. The communication component implements the specified protocol and transport to receive the message from the second device for processing by the first device.
Another embodiment of the invention is directed to a method that allows communication between a first device and a second device via a communication component associated with the first device. The method includes receiving, by the communication component from an application program executing on the first device, a URI for specifying a protocol and transport. The method also includes instantiating an object based on the URI. The object is accessible by the application program for implementing the specified protocol and transport to transmit at least one message from the first device to the second device. The method also includes receiving, by the communication component from the application program, identification of a receiving interface. The receiving interface receives, by the application program from the communication component, a second message in response to the first message. The application program processes the second message.
Alternatively, the invention may comprise various other methods and apparatuses.
Other features will be in part apparent and in part pointed out hereinafter.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of one embodiment of the method and system of the invention illustrating an example of a suitable computing system environment on which the invention may be implemented.
FIG. 2A is a block diagram of one embodiment of the invention illustrating communication between a client application with a GCF client and a server.
FIG. 2B is a block diagram of one embodiment of the invention illustrating communication between a server application with a GCF server and a client.
FIG. 2C is a block diagram of one embodiment of the invention illustrating communication between a client application with a GCF client and a server application with a GCF server.
FIG. 3 is a block diagram of one embodiment of the invention illustrating the flow of data between the various layers of a client computer and a server computer.
FIG. 4 is a block diagram of one embodiment of the invention illustrating the process for implementing a GCF client.
FIG. 5 is a block diagram of one embodiment of the invention illustrating the process for implementing a GCF server.
FIG. 6 is a block diagram of one embodiment of the invention illustrating the flow of data through the interfaces exposed and implemented by a GCF client and a GCF server.
FIG. 7 is a flow chart of one embodiment of the invention illustrating operation of a GCF client.
FIG. 8 is a block diagram of one embodiment of the invention illustrating an electronic advertisement client application interacting with a electronic advertisement server.
Corresponding reference characters indicate corresponding parts throughout the drawings.
DETAILED DESCRIPTION OF THE INVENTION
The invention relates to a system and method of communicating between a client and a server in a distributed processing system. The invention implements high-performance client/server communications patterns using arbitrary protocols and transports. For example, a client according to the invention can exchange data with various Web servers or browsers using a hypertext transfer protocol (HTTP) or a file transfer protocol (FTP). In one embodiment, the invention is a component developed in C++ according to a component object model (COM).
The client executes a client application and the server executes a server application. The invention includes a generic communications framework (GCF) or other communications object or component. The communications object supports a plurality of protocols enabling communication between the client and the server. The invention supports a client/server communications model in which clients and servers are addressable via a uniform resource locator (URL) or other uniform resource identifier (URI). The client application passes a URI from the client application to the communications object. The URI identifies the server application with which the client application desires to communicate. A communications object is instantiated based on the URI. The instantiated communications object specifies a desired application layer protocol. The communications object implements the application layer protocol to establish a connection between the client application and the server application. The GCF object is an instantiated communications object or component.
The invention provides a flexible and efficient way of shuttling application data across arbitrary transports using arbitrary protocols. Application coding is minimized due to the completeness of the implementation, making it easy to quickly construct new clients and servers that are capable of taking advantage of features such as I/O completion ports (on transports that support them) and multiplexed/demultiplexed (MUX/DEMUX) transmissions (using protocols that support such a feature). These elements will work together to move the data between client and server transparently to the application. Both elements can be “plugged in” to the system and mixed-and-matched arbitrarily.
Both clients and servers specify protocol and host information in standard URI format. Monikers representing custom protocols will be used in place of standard protocols (i.e., HTTP). The meaning of the host information depends on the context. For example, the host information for HTTP will be the name (or IP address) of the remote server or network interface card to listen on. The URI that a client application uses to create a client communications object depends on the type of requests the client application needs to make. For instance, if a client application needs to contact an HTTP server, the URI must specify that protocol.
Some protocols are inherently serial and cannot be MUX/DEMUXed (i.e., HTTP). Limits can be placed (via configuration) on the number of connections to create on a per protocol basis (both globally and per destination). Multiple connections to the same URI on serialized protocols allow them to transact in parallel. Non-serialized connections place no limits on the number of clients that may concurrently have access.
The invention is generally asynchronous and requests made to the communications component will complete immediately. The application is notified using event sinks in the form of callback interfaces that the application must implement.
Clients and servers that use the invention can switch between different protocols by changing configuration settings. In one embodiment, the invention is a thin layer over different application and transport protocols such as HTTP, FTP, and TCP/IP. When a client application wants to contact a listening server application, the client application interacts with the client communications component that implements the desired application layer protocol over the desired transport layer. Data travels up a similar hierarchy to communicate with the server-side application.
Referring first to FIG. 1, a block diagram illustrates one example of a suitable computing system environment 100 on which the invention may be implemented. The computing system environment 100 is only one example of a suitable computing or operating environment and is not intended to suggest any limitation as to the scope of use or functionality of the invention. Neither should the computing system environment 100 be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the exemplary computing system environment 100.
FIG. 1 shows one example of a general purpose computing device in the form of a computer 130. In a preferred embodiment of the invention, a computer such as the computer 130 is suitable for use in the other figures illustrated and described herein.
Computer 130 preferably has one or more processors or processing units 132 and a system memory 134. In the illustrated embodiment, a system bus 136 couples various system components including the system memory 134 to the processors 132. The bus 136 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus also known as Mezzanine bus.
The computer 130 typically has at least some form of computer readable media. Computer readable media, which include both volatile and nonvolatile media, removable and non-removable media, may be any available medium that can be accessed by computer 130. By way of example and not limitation, computer readable media comprise computer storage media and communication media. Computer storage media include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. For example, computer storage media include RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and that can accessed by computer 130. Communication media typically embody computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism and include any information delivery media. Those skilled in the art are familiar with the modulated data signal, which has one or more of its characteristics set or changed in such a manner as to encode information in the signal. Wired media, such as a wired network or direct-wired connection, and wireless media, such as acoustic, RF, infrared, and other wireless media, are examples of communication media. Combinations of the any of the above are also included within the scope of computer readable media.
The system memory 134 preferably includes computer storage media in the form of removable and/or non-removable, volatile and/or nonvolatile memory. In the illustrated embodiment, system memory 134 includes read only memory (ROM) 138 and random access memory (RAM) 140. A basic input/output system 142 (BIOS), containing the basic routines that help to transfer information between elements within computer 130, such as during start-up, is typically stored in ROM 138. RAM 140 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 132. By way of example, and not limitation, FIG. 1 illustrates operating system 144, application programs 146, other program modules 148, and program data 150.
The computer 130 may also include other removable/non-removable, volatile/nonvolatile computer storage media. For example, FIG. 1 illustrates a hard disk drive 154 that reads from or writes to non-removable, nonvolatile magnetic media. FIG. 1 also shows a magnetic disk drive 156 that reads from or writes to a removable, nonvolatile magnetic disk 158, and an optical disk drive 160 that reads from or writes to a removable, nonvolatile optical disk 162 such as a CD-ROM or other optical media. Other removable/non-removable, volatile/nonvolatile computer storage media that can be used in the exemplary operating environment include, but are not limited to, magnetic tape cassettes, flash memory cards, digital versatile disks, digital video tape, solid state RAM, solid state ROM, and the like. The hard disk drive 144, and magnetic disk drive 156 and optical disk drive 160 are typically connected to the system bus 136 by a non-volatile memory interface, such as interface 166.
The drives or other mass storage devices and their associated computer storage media discussed above and illustrated in FIG. 1, provide storage of computer readable instructions, data structures, program modules and other data for the computer 130. In FIG. 1, for example, hard disk drive 154 is illustrated as storing operating system 170, application programs 172, other program modules 174, and program data 176. Note that these components can either be the same as or different from operating system 144, application programs 146, other program modules 148, and program data 150. Operating system 170, application programs 172, other program modules 174, and program data 176 are given different numbers here to illustrate that, at a minimum, they are different copies.
A user may enter commands and information into computer 130 through input devices such as a keyboard 180 and a pointing device 182 (e.g., a mouse, trackball, pen, or touch pad). Other input devices (not shown) may include a microphone, joystick, game pad, satellite dish, scanner, or the like. These and other input devices are connected to processing unit 132 through a user input interface 184 that is coupled to system bus 136, but may be connected by other interface and bus structures, such as a parallel port, game port, or a universal serial bus (USB). A monitor 188 or other type of display device is also connected to system bus 136 via an interface, such as a video interface 190. In addition to the monitor 188, computers often include other peripheral output devices (not shown) such as a printer and speakers, which may be connected through an output peripheral interface (not shown).
The computer 130 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 194. The remote computer 194 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to computer 130. The logical connections depicted in FIG. 1 include a local area network (LAN) 196 and a wide area network (WAN) 198, but may also include other networks. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets, and global computer networks (e.g., the Internet).
When used in a local area networking environment, computer 130 is connected to the LAN 196 through a network interface or adapter 186. When used in a wide area networking environment, computer 130 typically includes a modem 178 or other means for establishing communications over the WAN 198, such as the Internet. The modem 178, which may be internal or external, is connected to system bus 136 via the user input interface 194, or other appropriate mechanism. In a networked environment, program modules depicted relative to computer 130, or portions thereof, may be stored in a remote memory storage device (not shown). By way of example, and not limitation, FIG. 1 illustrates remote application programs 192 as residing on the memory device. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.
Generally, the data processors of computer 130 are programmed by means of instructions stored at different times in the various computer-readable storage media of the computer. Programs and operating systems are typically distributed, for example, on floppy disks or CD-ROMs. From there, they are installed or loaded into the secondary memory of a computer. At execution, they are loaded at least partially into the computer's primary electronic memory. The invention described herein includes these and other various types of computer-readable storage media when such media contain instructions or programs for implementing the steps described below in conjunction with a microprocessor or other data processor. The invention also includes the computer itself when programmed according to the methods and techniques described below.
For purposes of illustration, programs and other executable program components, such as the operating system, are illustrated herein as discrete blocks. It is recognized, however, that such programs and components reside at various times in different storage components of the computer, and are executed by the data processor(s) of the computer.
Referring next to FIGS. 2A-2C, a block diagram illustrates the various types of communication between clients and servers using a GCF communications object. FIG. 2A illustrates communication between a client application 202 with a GCF client and a server 204. In this embodiment, the server 204 does not have a GCF object. FIG. 2B illustrates communication between a client 206 and a server application 208 with a GCF server. In this embodiment, the client 206 does not have a GCF object. FIG. 2C illustrates communication between a client application 210 with a GCF client and a server application 212 with a GCF server. According to the invention, the communications object establishes a single connection between the client application 210 and the server application 212 and multiplexes and demultiplexes requests from the client application 210.
Referring next to FIG. 3, a block diagram illustrates the exemplary flow of data between the various layers of a client computer with a GCF object and a server computer. A client computer 302 with a client application 304 communicates with a GCF client 306. The GCF client 306 implements a protocol and a transport via a GCF protocol 308 and a GCF transport layer 310, respectively, to communicate with a server computer 312. Communication between the client 302 and the server 312 is enabled according to a protocol stack having at least an application layer protocol (e.g., HTTP) and a transport layer protocol. The communication object 306 separates at least one of the client applications 304 from the application layer 308 and transport layer 310 protocols. In an embodiment in which the server 312 includes a GCF object, the GCF object of the server application separates at least one of the server applications from the application layer and transport layer protocols. The instantiated GCF communications object 306 specifies a desired transport layer protocol 310. The instantiated communications object implements an application layer protocol 308 (e.g., HTTP) over the transport layer protocol 310. The server computer 312 includes a server application 314 communicating with a server 316. The server 316 implements a protocol and transport via a protocol layer 318 and a transport layer 320, respectively, to communicate with the client computer 302.
Referring next to FIG. 4, a block diagram illustrates the process for implementing a GCF client. In one embodiment, a client computer or other client is part of a distributed processing system. The client computer executes a client application 402. A communications object (IGCF) 404 is created (e.g., by a software programmer) to support a plurality of protocols enabling communication between the client and a server. The IGCF 404 is protocol agnostic. The client application 402 passes a uniform resource identifier (URI) to the IGCF 404 to identify a server application executed by the server with which the client application wishes to communicate. The client application 402 uses the IGCF 404 to instantiate a specific communications object (IGCFClient) 406 based on the URI. The IGCFClient 406 specifies a desired application layer protocol that is one of the protocols supported by the IGCF 404. The IGCFClient 406 implements the application layer protocol via an IGCFProtocol object 408 and an IGCFTransport object 410 to establish a connection between the client application 402 and the server. In one embodiment, the client application 402 instantiates the IGCF 404 based on a different URI identifying another server application with which the client application 402 desires to communicate.
The IGCF 404 includes IGCFClient 406 for use by the client application 402 to send one or more requests to the server application. The client application 402 sends messages to the IGCFClient 406 that are transmitted to the server via packets sent by the IGCFProtocol 408 and IGCFTransport 410 objects. The IGCFTransport object 410 manages connections with the server. A request from the client application 402 includes, but is not limited to, one of the following types of requests: a notification, a transaction, or a query. A notification is a one-way communication from the client to the server. The notification is a unidirectional transmission that is not guaranteed to be delivered and may have a size restriction (depending on the transport). A client application 402 uses a notification to send requests when a response or acknowledgement is not needed. A transaction is a two-way communication in which a client sends data to the server for processing. The server returns either the processed data or additional data back to the client. Clients expect a response to all transactions. The transaction is a bidirectional transmission that is guaranteed to be delivered and does not have a size restriction. A query is a two-way communication. The query is similar to the transaction in that the query is essentially a qualified transaction. If the client needs information from the server, the client queries for this information and passes attributes to the server that qualify the required information. For example, the client could request an active server page (ASP) from the server and include attributes such as tag/value parameters in the request.
One or more computer-readable media have computer-executable instructions to perform the method illustrated in FIG. 4.
Referring next to FIG. 5, a block diagram illustrates the process for implementing a GCF server. In one embodiment, a server computer is part of a distributed processing system and executes a server application 502. A software programmer creates a communications object (IGCF) 504 that supports a plurality of protocols enabling communication between a client and the server. The IGCF 504 is protocol agnostic. The server application 502 passes a URI to the IGCF 504 to identify the server application 502. The server application 502 uses the IGCF 504 to instantiate a specific communications object (IGCFServer) 506 based on the URI. The IGCFServer object 506 specifies a desired application layer protocol that is one of the protocols supported by the IGCF 504. The IGCFServer object 506 implements the application layer protocol via an IGCFProtocol object 508 and an IGCFTransport object 510 to establish a connection between the server application 502 and a client application executed by the client. In one embodiment, the server application 502 instantiates the IGCF 504 based on a different URI identifying another client application with which the server application 502 desires to communicate.
The IGCF 504 includes the IGCFServer object 506 for use by the server application 502 to receive one or more requests or other messages sent by the client. The server application 502 receives messages from the IGCFServer object 506. The IGCFServer object 506 communicates with the client via packets received by the IGCFProtocol 508 and IGCFTransport 510 objects. The IGCFTransport object 510 manages connections with the client. For some requests received from the client, the server application 502 generates one or more replies. To send a reply to the client, the server application 502 uses the IGCFServer 506 to send the replies to the client.
Referring next to FIG. 6, a block diagram illustrates the exemplary flow of data through the interfaces exposed and implemented by a GCF client and a GCF server. A client computer 602 has a client application 604 communicating with a GCF client component 606. In this embodiment, a server computer 608 has a server application 610 communicating with a GCF server component 612. In turn, the GCF client component 606 sends one or more requests to the GCF server component 612. The GCF server component 612 sends one or more replies to the GCF client component 606.
The GCF exposes several public interfaces. Appendix A includes a programming reference for the public GCF interfaces implemented as COM objects. A GCF component (IGCF) creates all other interfaces. FIG. 6 depicts the public interfaces exposed by the GCF, plus those implemented by client applications such as client application 604 and servers, and the flow of data through those interfaces. The GCF works on an asynchronous model by sending requests or responses. The clients and servers send data and continue other processing until they receive requests or responses. To receive requests and replies, the server applications and client applications must implement the appropriate callback interface, either IGCFServerEvents or IGCFClientEvents, respectively (see below).
The process for implementing a GCF client component 606 is next described. For the client application 604 to send a request to a listening server application 610, the client application 604 creates the GCF client component 606 and queries the GCF client component 606 for an IGCF interface. In one embodiment, the client application 604 uses standard component object model (COM) methods to create the GCF component. An initialize method on the IGCF interface initializes the GCF client component 606. The client application 604 passes the URI of the desired server application 610 to the GCF client component 606 via the IGCF interface. The GCF client component 606 then returns a pointer to the IGCFClient interface. The client application 604 uses the IGCFClient interface to send one or more requests to the server application 610. In one embodiment, the requests include one or more of the following: a notification, a transaction, and a query. The requests are encapsulated with data such as headers and trailers according to a protocol and transport identified by the URI. The IGCFClient interface of the GCF client component 606 establishes a connection with the server computer 608 to send the encapsulated requests to the GCF server component 612. When the GCF client component 606 successfully sends a request to the server, the GCF client component 606 raises an OnSend notification to the client application 604.
The client application 604 also passes a pointer to an IGCFClientEvents callback interface to the GCF client component 606. The client application 604 uses the IGCFClientEvents interface to receive messages such as replies from the GCF client component 606. When the GCF client component 606 receives a reply from the server application 610, the GCF client component 606 notifies the client application 604 by raising an event designated OnRecv and passing in the data received from the server to the client application 604 via the IGCFClientEvents interface. The IGCFClientEvents interface implements asynchronous events generated by the GCF client component 606.
The GCF client component 606 also supports client time-outs. If a GCF client component 606 does not receive a reply from a server within a specified time, the GCF client component 606 times out and sends a null response or other error message to the client application 604. Users and developers can configure the time-outs in various ways including, but not limited to, configuring the duration of time prior to sending an error message to the client application 604.
The process for implementing a GCF server is next described. The process for implementing a GCF server resembles the process for implementing a GCF client. The server application 610 creates and initializes the GCF server component 612 and receives identification of an IGCF interface from the GCF server component 612. The server application 610 then passes the URI on which the server application 610 will listen to the GCF server component 612 via the IGCF interface. The GCF server component 612 then returns a pointer to the IGCFServer interface. The server application 610 uses the IGCFServer interface to receive one or more request from the client and to send one or more replies to the client. The server application 610 also uses the IGCFServer interface to call a StartListening method and listen for any clients that want to connect. When the server application 610 no longer wants to accept connections from any client, it calls a StopListening method and communication ends.
The server application 610 passes a pointer to an IGCFServerEvents callback interface to the GCF server component 612. When the GCF server component 612 receives a request from a client, the GCF server component 612 uses the IGCFServerEvents interface to notify the server application 610 of the request. The server application 610 processes the request, and then uses the IGCFServer interface to send the reply to the client. The IGCFServerEvents interface implements asynchronous events generated by the GCF server component 612. In one embodiment, the server application 610 uses the IGCFServerEvents callback interface to send a reply to a request received from the client application 604. In one embodiment, either or both of the GCF client and GCF server component 612 are component object model (COM) components.
Referring next to FIG. 7, an exemplary flow chart illustrates operation of a GCF client according to one embodiment of the invention. An application program instantiates a GCF component at 702. The application program requests at 704 a connection by specifying a URL. The GCF component then looks up the URL in a registry at 706. If the URL is not found in the registry at 708, the GCF component proceeds to 710. At 710, the GCF component looks up at 710 a scheme associated with the URL in the registry. If the URL scheme is not found at 712, an error to the application program is returned at 714. If the URL or URL scheme is found in the registry at 708, the GCF component retrieves configuration settings from the registry at 716. The GCF component instantiates protocol and transport objects based on the retrieved configuration settings at 718. The GCF component returns at 720 the requested object to the application program.
Referring next to FIG. 8, a block diagram illustrates an electronic advertisement client application interacting with a electronic advertisement server. Web server software 802 has access to Web pages such as active server pages (ASP) 804. A client application 806 such as an advertisement client application uses a GCF component 808 to send requests to a server 810 such as an advertisement server. The advertisement server 810 stores, for example, content associated with the advertisements. The advertisement server 810 sends one or more responses to the client application.
In one embodiment, users can configure several operational parameters for protocols, transports, and hosts by manually changing values in the registry. In one embodiment, a configuration tool simplifies the process. Some of the configuration parameters for protocols use hints or other values for frequently used sizes of data structures. The GCF uses hints for efficiency purposes, to pool, or recycle frequently used data structures. However, hints do not prevent applications from sending sizes greater or smaller than the values specified in the configuration settings.
As an example, the following registry key contains default values for the protocols: HKEY_LOCAL_MACHINE\SOFTWARE\AdDelivery\GCF\Protocols.
In this embodiment, the following values can be configured for a protocol. A ProgId specifies the program ID of the desired protocol. A Timeout represents a value in milliseconds that elapses before a request times out. A negative 1 (−1) disables the timeouts. A ReceiveBufferHint represents the size in bytes of data typically received by a server. A BufferArrayHint represents the number of SGCFBuffers an application typically sends to GCF. A Transport represents the configuration tree for the transport layer. In one embodiment, the following registry key contains the default values for the transport layers:
HKEY_LOCAL_MACHINE\SOFTWARE\AdDelivery\GCF\Transports
The following values can be configured for a transport layer. A ProgId represents the program ID of the desired transport. A ReceiveBufferSize represents a typical size of the buffers that receive requests. An OutstandingReceives represents the number of requests in a queue awaiting replies. A ConnectionRetryDelay represents the amount of time that elapses before a client tries to reconnect to a server.
The application layer protocol implements a hypertext transfer protocol (HTTP) or a generic communications framework protocol (GCFP) in one embodiment of the invention. The transport layer implements a transmission control protocol/Internet protocol (TCP/IP) transport or a universal data protocol (UDP) transport. GCFP is a proprietary, packed binary format used for internal data flows. The invention also supports a file transfer protocol (FTP). The invention supports transports such as transmission control protocol (TCP) and universal data protocol (UDP). For example, a URL of http://www.msn.com:80 will cause the GCF component to create a protocol object (IGCFProtocol) to handle HTTP across a TCP transport (IGCFTransport), in the default configuration. In another example, to post data to a page called “databucket.asp” located at www.adtech.com, the client application passes http://www.adtech.com/databucket.asp in the call to create the GCF client object. The GCF internally parses and caches the resource from the URL for use in any GCF “transactions” made to the page. The GCF component supports the HTTP “drizzle” feature to enable background downloads. To use a proprietary protocol such as GCFP, the URL might be specified as gcfp://127.24.122.52:8000.
A GCF component need not communicate with another GCF component. For instance, a GCF client can communicate with Web server software and a GCF server can accept requests from a Web browser using the HTTP protocol. Similarly, the client can be a computer and the server can be a hardware device. The server can also be a computer-readable medium. The client can be a hardware device and the server can be a computer. The invention supports any custom or third-party protocol and/or transport as long as the GCF public interface (see below) is supported. The invention can be used to communicate with any computer hardware or software including, but not limited to, a network, a computer-readable medium, any peripheral hardware device, and an application program. The computer-readable media are associated with either or both of the client and server computers. The invention is implemented as a COM object in C++. Any aspect of the invention is implemented in hardware and/or software. Client and server applications can send arrays of buffers to the GCF for transmission. With these buffers, the memory to which the buffers point—the data a client or server sends—must persist until the client and server applications receive a notification (e.g., OnSend) or confirmation from the GCF.
Further, the invention is not limited to any specific reference model that separates computer-to-computer communications into protocol layers. The invention can be implemented according to any reference model that implements functionality similar to the functionality described herein. For example, a communications component as described herein includes functionality for program-to-program transfer of information and functionality for accurate delivery of information and service quality.
The invention may also include functionality for shutting down GCF clients and servers. When a client application finishes using a GCF client, it calls the Shutdown method on the IGCFClient interface. When the client application finishes using the GCF as whole, it calls the Shutdown method on the IGCF interface. Similarly, when a server application finishes using a GCF server, the server application stops listening for further connection attempts by calling the StopListening method. The server application then shuts down the GCF server by calling the Shutdown method on the IGCFServer interface. When the server application finishes with the GCF as a whole, the server application calls the Shutdown method on the IGCF interface.
Similarly, after a client application creates a GCF client object it should maintain the object until the client application no longer intends to communicate with the server application. Generally, a client application does not need to create and destroy GCF objects more than once per session.
The GCF uses a feature such as the “boxcar” feature in HTTP version 1.1 to multiplex/demultiplex (mux/demux) requests and increase communication speeds. The GCF establishes a single connection between a client and server application. Any thread from a client application can then submit requests to a GCF client object at any time. As the client object sends data the server object accumulates the data in its kernel and passes it up to the GCF, which breaks them apart in the order received and processes them. Under this model, client and server applications establish and manage one connection, and they receive large numbers of requests over that connection. As a result, they spend nearly 100 percent of their resources processing data instead of transitioning to and from kernel mode and managing socket overhead.
For example, in the electronic advertisement delivery embodiment, there may be hundreds of threads executing on a client and communicating with a remote server storing the advertisements. All the threads use the same GCF object (with established connections) to communicate with the remote server. The GCF object can combine from multiple threads onto one connections, and demultiplex the responses to the requests after they are received by the GCF object. The multiplex/demultiplex capability works across multiple protocols. The GCF object can implement multiplexing and demultiplexing differently for each protocol. For example, demultiplexing may occur on a first-in first-out (FIFO) basis or according to embedded state information in each received packet.
A multi-homed computer includes more than one network interface card and can connect to more than one LAN. To use the invention with multi-homed machines, the URIs used to create GCF clients and servers should include the IP address of the network card connected to the desired LAN, not the machine name.
For example, http://192.168.13.21/DataBucket.asp would serve as a proper URL for a multi-homed machine, but http://AdTech/DataBucket.asp may route the request to the wrong destination. Machine names resolve to specific interface cards, so passing machine names could route the request to a card connected to the wrong LAN.
If the client and server applications execute on multi-processor machines, the invention uses thread affinity to reduce CPU load. In one embodiment, the GCF transports operate under an input/output completions model. If interrupts raised by the network interface cards on the servers are bound to a single CPU, the threads started by the GCF can also be bound to the interrupts. Thread binding reduces the load on the server's CPUs by confining requests and replies to a single CPU. Further, in a multi-threaded application, the invention supports re-entrant multithreading. As such, implementing locking around any GCF code or critical sections is not necessary.
In one embodiment, one or more computer-readable media have computer-executable components for operation of the invention. The components include a client application component, a server application component, and a communications object component. The client component desires to communicate with the server application component. In one embodiment, the client application component and the server application component are located on separate computer-readable media. The communications object component supports a plurality of protocols enabling communication between the client and server application components. The communications object component is instantiated based on the URI identifying the server application component. The instantiated communications object component (IGCFClient or IGCFServer) specifies a desired application layer protocol. The application layer protocol is one of the protocols supported by the communications object component. The instantiated communications object component implements the application layer protocol to establish a connection between the client application component and the server application component.
In another embodiment, a distributed processing system includes a client executing a client application and a server executing a server application. The client application desires to communicate with the server application. The distributed processing system also includes a computer-readable medium having computer-executable instructions for implementing a communications object. The communications object supports a plurality of protocols to enable communication between the client and server applications. The communications object is instantiated based on the URI identifying the server application. The instantiated communications object component (IGCFClient or IGCFServer) specifies a desired application layer protocol. The application layer protocol is one of the protocols supported by the communications object. The instantiated communications object implements the application layer protocol to establish a connection between the client application and the server application. The instantiated communications object specifies a desired transport layer protocol and implements the application layer over the transport layer protocol.
The invention includes a method of communicating between a first device and a second device via a communication component. The first device executes an application program. The method includes conveying from the application program to a communications component associated with the first device the URI. The URI specifies a protocol and transport. The application program receives from the communication component identification of a transmitting interface (e.g., IGCFClient). The transmitting interface transmits to the second device at least one message. The transmitting interface implements the specified protocol and transport to transmit the message from the application program to the second device. In one embodiment, the message is a request message. The application program identifies to the communication component a receiving interface (e.g., IGCFClientEvents) for receiving, by the application program from the communication component (IGCF), at least one reply message in response to the request message. The application program processes the reply message.
The invention also includes a method of communicating between a first device and a second device via a communication component. The first device executes an application program. The method includes the application program conveying to a communication component associated with the first device the URI. The URI specifies a protocol and transport. The application program identifies to the communication component a receiving interface (e.g., IGCFServerEvents) for receiving from the communication component at least one message. The communication component implements the specified protocol and transport to receive the message from the second device for processing by the first device. In one embodiment, the message is a request message. The application program receives from the communication component identification of a transmitting interface (e.g., IGCFServer) for transmitting to the second device at least one reply message in response to the request message. The second device processes the reply message.
The invention also includes a method for communicating between a first device and a second device via a communication component associated with the first device. The communication component receives from an application program executing on the first device the URI. The URI specifies a protocol and transport. The communications component instantiates an object based on the URI. The object is accessible by the application program for implementing the specified protocol and transport to transmit at least one message from the first device to the second device. The communications component receives from the application program identification of a receiving interface (e.g., IGCFServerEvents or IGCFClientEvents) for receiving from the communication component a second message in response to the first message. The application program processes the second message.
Although described in connection with an exemplary computing system environment, including computer 130, the invention is operational with numerous other general purpose or special purpose computing system environments or configurations. The computing system environment is not intended to suggest any limitation as to the scope of use or functionality of the invention. Moreover, the computing system environment should not be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the exemplary operating environment. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the invention include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The invention may be described in the general context of computer-executable instructions, such as program modules, executed by one or more computers or other devices. Generally, program modules include, but are not limited to, routines, programs, objects, components, and data structures that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
When introducing elements of the present invention or the preferred embodiment(s) thereof, the articles “a,” “an,” “the,” and “said” are intended to mean that there are one or more of the elements. The terms “comprising,” “including,” and “having” are intended to be inclusive and mean that there may be additional elements other than the listed elements.
In view of the above, it will be seen that the several objects of the invention are achieved and other advantageous results attained.
As various changes could be made in the above products and methods without departing from the scope of the invention, it is intended that all matter contained in the above description and shown in the accompanying drawings shall be interpreted as illustrative and not in a limiting sense.

Claims (50)

1. A method of communicating between a client and a server in a distributed processing system, said client executing a client application and said server executing a server application, said method comprising:
creating a first communications object that supports a plurality of protocols enabling communication between the client and the server, said first communications object being protocol agnostic;
passing a uniform resource identifier (URI) from the client application to the first communications object, said URI identifying the server application with which the client application desires to communicate;
identifying a desired application layer protocol based on the URI from the client application, said desired application layer protocol being one of the plurality of protocols supported by the first communications object;
instantiating a second communications object based on the URI, said second communications object being protocol specific and corresponding to the identified application layer protocol, said second communications object specifying a desired transport layer protocol; and
implementing, by the instantiated second communications object, the application layer protocol to establish a connection between the client application and the server application, said instantiated second communications object implementing the application layer over the transport layer protocol.
2. The method of claim 1, wherein communication between the client and server is enabled according to a protocol stack having at least the application layer protocol and the transport layer protocol and wherein the first communications object separates at least one of the client and server applications from the application layer and transport layer protocols.
3. The method of claim 1, further comprising creating a callback interface from the instantiated second communications object and implementing, by one or both of the client and server applications, asynchronous events generated by the instantiated second communications object.
4. The method of claim 3, wherein the server application uses the callback interface to send a reply to a request received from the client application.
5. A method of communicating between a client and a server in a distributed processing system, said client executing a client application and said server executing a server application, said method comprising:
creating a first communications object that supports a plurality of protocols enabling communication between the client and the server, said first communications object being protocol agnostic;
passing a uniform resource identifier (URI) from the client application to the first communications object, said URI identifying the server application with which the client application desires to communicate;
identifying a desired application layer protocol based on the URI from the client application, said desired application layer protocol being one of the plurality of protocols supported by the first communications object;
instantiating a second communications object based on the URI, said second communications object being protocol specific and corresponding to the identified application layer protocol, wherein said second communications object specifying a desired transport layer protocol, wherein the instantiated second communications object comprises a client object for use by the client application, said client application using the client object to send one or more requests to the server application; and
implementing, by the instantiated second communications object, the application layer protocol to establish a connection between the client application and the server application, said instantiated second communications object implementing the application layer over the transport layer protocol.
6. The method of claim 5, wherein the request from the client application is one or more of the following: notification, transaction, and query.
7. The method of claim 1, wherein the instantiated second communications object comprises a server object for use by the server application, said server application using the server object to receive one or more requests sent by the client application.
8. The method of claim 1, wherein the second communications object establishes a single connection between the client application and the server application and further comprising multiplexing/demultiplexing requests from the client application.
9. A method of communicating between a client and a server in a distributed processing system, said client executing a client application and said server executing a server application, said method comprising:
creating a first communications object that supports a plurality of protocols enabling communication between the client and the server, said first communications object being protocol agnostic;
passing a uniform resource identifier (URI) from the client application to the first communications object, said URI identifying the server application with which the client application desires to communicate;
identifying a desired application layer protocol based on the URI from the client application, said desired application layer protocol based one of the plurality of protocols supported by the first communications object;
instantiating a second communications object based on a different URI identifying another server application with which the client application desires to communicate, said second communications object being protocol specific and corresponding to the identified application layer protocol; and
implementing, by the instantiated second communications object, the application layer protocol to establish a connection between the client application and the server application.
10. One or more computer-readable media having computer-executable components comprising:
a client application component, said client application component providing a uniform resource identifier (URI) identifying a server application component with which the client application component desires to communicate; and
a communications object component that supports a plurality of protocols enabling communication between the client and server application components, said communications object component identifying one of the supported plurality of protocols as a desired application layer protocol based on the URI, said communications object component instantiating a communications object based on the desired application layer protocol, said communications object component implementing the application layer protocol based on the instantiated communications object to establish a connection between the client application component and a server application component, wherein communication between the client and server application components is enabled according to a protocol stack having at least the application layer protocol and the transport layer protocol and wherein the communications object component separates at least one of the client and server application components from the application layer and transport layer protocols.
11. The computer-readable media of claim 10, wherein the instantiated communications object specifies a desired transport layer protocol and wherein the communications object component implements the application layer over the transport layer protocol based on the instantiated communications object.
12. The computer-readable media of claim 10, further comprising a callback interface component created from the instantiated communications object, one or both of said client and server application components using the callback interface component to implement asynchronous events generated by the instantiated communications object.
13. The computer-readable media of claim 12, wherein the server application component uses the callback interface component to send a reply to a request received from the client application component.
14. The computer-readable media of claim 10, wherein the communications object component comprises a client object component for use by the client application component, said client application component using the client object component to send one or more requests to the server application component.
15. The computer-readable media of claim 14, wherein the request from the client application component is one or more of the following: notification, transaction, and query.
16. The computer-readable media of claim 10, wherein the instantiated communications object comprises a server object component for use by the server application component, said server application component using the server object component to receive one or more requests sent by the client application component.
17. The computer-readable media of claim 10, wherein the communications object component is a Component Object Model (COM) component.
18. One or more computer-readable media having computer-executable components comprising:
a client application component, said client application component providing a uniform resource identifier (URI) identifying a server application component with which the client application component desires to communicate; and
a communications object component that supports a plurality of protocols enabling communication between the client and server application components, said communication object component identifying one of the supported plurality of protocols as a desired application layer protocol based on the URI, said communications object component instantiating a communications object based on the desired application layer protocol, said communications object component implementing the application layer protocol based on the instantiated communications object to establish a connection between the client application component and a server application component, wherein the communications object is protocol agnostic, and wherein the instantiated communications object is protocol specific.
19. The computer-readable media of claim 10, wherein the application layer protocol is Hypertext Transfer Protocol (HTTP).
20. The computer-readable media of claim 10, wherein the application layer protocol is Generic Communications Framework Protocol (GCFP).
21. The computer-readable media of claim 10, wherein the transport layer implements a transmission control protocol/Internet protocol transport.
22. The computer-readable media of claim 10, wherein the transport layer is Universal Data Protocol (UDP).
23. A distributed processing system comprising:
a client executing a client application;
a server executing a server application with which the client application desires to communicate; and
a computer-readable medium having computer-executable instructions for implementing a first communications object, said first communications object supporting a plurality of protocols to enable communication between the client and server applications, said first communications object identifying one of the supported plurality of protocols as a desired application layer protocol based on a uniform resource identifier (URI) identifying the server application, a second communications object being instantiated based on the desired application layer protocol to implement the desired application layer protocol to establish a connection between the client application and the server application, said instantiated second communications object specifies a desired transport layer protocol and said instantiated second communications object implements the application layer over the transport layer protocol, said instantiated second communications object comprising a server object for use by the server application, said server application using the server object to receive one or more requests sent by the client application.
24. The system of claim 23, wherein the computer-readable medium is associated with the client.
25. The system of claim 23, wherein the instantiated second communications object specifies a desired transport layer protocol and wherein the instantiated second communications object implements the application layer over the transport layer protocol.
26. The system of claim 25, wherein communication between the client and server is enabled according to a protocol stack having at least the application layer protocol and the transport layer protocol and wherein the first communications object separates at least one of the client and server applications from the application layer and transport layer protocols.
27. The system of claim 23, further comprising a computer-readable medium having computer-executable instructions for creating a callback interface from the instantiated second communications object and implementing, by one or both of the client and server applications, asynchronous events generated by the instantiated second communications object.
28. The system of claim 27, wherein the server application uses the callback interface to send a reply to a request received from the client application.
29. The system of claim 23, wherein the instantiated second communications object comprises a client object for use by the client application, said client application using the client object to send one or more requests to the server application.
30. The system of claim 29, wherein the request from the client application is one or more of the following: notification, transaction, and query.
31. The system of claim 23, wherein the first communications object is protocol agnostic, and wherein the second communications object is protocol specific.
32. The system of claim 23, wherein the second communications object establishes a single connection between the client application and the server application and further comprising a computer-readable medium having computer-executable instructions for multiplexing/demultiplexing requests from the client application.
33. The system of claim 23, another server application with which the client application desires to communicate, said second communications object being instantiated based on a different URI identifying the other server application.
34. A method of communicating between a first device and a second device via a communication component, said first device executing an application program, said method comprising:
conveying, from the application program to the communication component associated with the first device, a uniform resource identifier (URI) for specifying a protocol and transport from a plurality of protocols and transports supported by the communication component; and
receiving, by the application program from the communication component, identification of a transmitting interface for transmitting, by the application program to the second device, at least one message, said receiving identification of the transmitting interface comprising passing from the communication component to the application program a pointer associated with the transmitting interface.
35. The method of claim 34, wherein the message is a request message, further comprising identifying, by the application program to the communication component, a receiving interface for receiving, by the application program from the communication component, at least one reply message in response to the request message, said reply message for processing by the application program.
36. The method of claim 35, wherein identifying a receiving interface comprises passing from the application program to the communication component a pointer associated with the receiving interface.
37. The method of claim 34, wherein the message is unidirectional.
38. The method of claim 34, wherein the URI identifies the second device and/or an application executing on the second device.
39. The method of claim 34, wherein the message is a notification, a transaction, or a query.
40. The method of claim 34, wherein the first device is a computer and the second device is a hardware device.
41. The method of claim 40, wherein the hardware device is a computer-readable medium.
42. The method of claim 34, wherein the first device is a client and the second device is a server.
43. One or more computer-readable media having computer-executable instructions for performing the method of claim 34.
44. A method of communicating between a first device and a second device via a communication component, said first device executing an application program, said method comprising:
conveying, from the application program to the communication component associated with the first device, a uniform resource identifier (URI) for specifying a protocol and transport from a plurality of protocols and transports supported by the communication component;
determining a receiving interface for receiving based on the URI;
identifying, by the application program to the communication component, the determined receiving interface for receiving, by the application program from the communication component, at least one request message, said communication component implementing the specified protocol and transport to receive the request message from the second device for processing by the first device; and
receiving, by the application program from the communication component, identification of a transmitting interface for transmitting, by the application program to the second device, at least one reply message in response to the request message, said reply message for processing by the second device.
45. A method of communicating between a first device and a second device via a communication component associated with the first device, said method comprising:
receiving, by the communication component from an application program executing on the first device, a uniform resource identifier (URI) for specifying a protocol and transport from a plurality of protocols and transports supported by the communication component;
identifying an object based on the URI, said identified object corresponding to the specified protocol and transport;
instantiating another object being accessible by the application program via a pointer associated therewith based on the identified object, said instantiated object being accessible by the application program for implementing the specified protocol and transport to transmit at least one message from the first device to the second device; and
receiving, by the communication component from the application program, identification of a receiving interface for receiving, by the application program from the communication component, a second message in response to the first message, said second message for processing by the application program.
46. The method of claim 5, further comprising creating a callback interface from the instantiated second communications object and implementing, by one or both of the client and server applications, asynchronous events generated by the instantiated second communications object.
47. The method of claim 1, wherein the request from the client application is one or more of the following: notification, transaction, and query.
48. The computer-readable media of claim 18, wherein the instantiated communications object specifies a desired transport layer protocol and wherein the communications object component implements the application layer over the transport layer protocol based on the instantiated communications object.
49. The computer-readable media of claim 18, wherein the instantiated communications object component comprises a client object component for use by the client application component, said client application component using the client object component to send one or more requests to the server application component.
50. The computer-readable media of claim 18, wherein the instantiated communications object comprises a server object component for use by the server application component, said server application component using the server object component to receive one or more requests sent by the client application component.
US09/968,632 2001-10-01 2001-10-01 Generic communications framework Expired - Fee Related US7222152B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US09/968,632 US7222152B1 (en) 2001-10-01 2001-10-01 Generic communications framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US09/968,632 US7222152B1 (en) 2001-10-01 2001-10-01 Generic communications framework

Publications (1)

Publication Number Publication Date
US7222152B1 true US7222152B1 (en) 2007-05-22

Family

ID=38049647

Family Applications (1)

Application Number Title Priority Date Filing Date
US09/968,632 Expired - Fee Related US7222152B1 (en) 2001-10-01 2001-10-01 Generic communications framework

Country Status (1)

Country Link
US (1) US7222152B1 (en)

Cited By (71)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050135418A1 (en) * 2003-12-19 2005-06-23 Solace Systems, Inc. Multiplexing of control and data over an HTTP connection
US20050267977A1 (en) * 2004-04-15 2005-12-01 Tillotson Timothy N Automatic creation of protocol dependent control path for instrument application
US20070083517A1 (en) * 2005-10-12 2007-04-12 Mecklenburg County Network system and a method for managing building inspections
US20080133782A1 (en) * 2006-12-01 2008-06-05 Lg Electronics Inc. Reception system and method of processing interface information
US20100070642A1 (en) * 2008-09-15 2010-03-18 Microsoft Corporation Offloading network protocol operations to network interface in sleep state
US20100169491A1 (en) * 2004-01-27 2010-07-01 Luc Martin On demand provisioning of applications
US20110161412A1 (en) * 2005-03-10 2011-06-30 International Business Machines Corporation Processing requests transmitted using a first communication directed to an application that uses a second communication protocol
USD648641S1 (en) 2009-10-21 2011-11-15 Lennox Industries Inc. Thin cover plate for an electronic system controller
USD648642S1 (en) 2009-10-21 2011-11-15 Lennox Industries Inc. Thin cover plate for an electronic system controller
US8239066B2 (en) 2008-10-27 2012-08-07 Lennox Industries Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8255456B2 (en) 2005-12-30 2012-08-28 Citrix Systems, Inc. System and method for performing flash caching of dynamically generated objects in a data communication network
US8255086B2 (en) 2008-10-27 2012-08-28 Lennox Industries Inc. System recovery in a heating, ventilation and air conditioning network
US8261057B2 (en) 2004-06-30 2012-09-04 Citrix Systems, Inc. System and method for establishing a virtual private network
US8260444B2 (en) 2010-02-17 2012-09-04 Lennox Industries Inc. Auxiliary controller of a HVAC system
WO2012134827A2 (en) * 2011-03-29 2012-10-04 Microsoft Corporation Locating and executing objects in a distributed network
US8291119B2 (en) 2004-07-23 2012-10-16 Citrix Systems, Inc. Method and systems for securing remote access to private networks
US8295981B2 (en) 2008-10-27 2012-10-23 Lennox Industries Inc. Device commissioning in a heating, ventilation and air conditioning network
US8301839B2 (en) 2005-12-30 2012-10-30 Citrix Systems, Inc. System and method for performing granular invalidation of cached dynamically generated objects in a data communication network
US8352080B2 (en) 2008-10-27 2013-01-08 Lennox Industries Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8352081B2 (en) 2008-10-27 2013-01-08 Lennox Industries Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8351333B2 (en) 2004-07-23 2013-01-08 Citrix Systems, Inc. Systems and methods for communicating a lossy protocol via a lossless protocol using false acknowledgements
US8433446B2 (en) 2008-10-27 2013-04-30 Lennox Industries, Inc. Alarm and diagnostics system and method for a distributed-architecture heating, ventilation and air conditioning network
US8437877B2 (en) 2008-10-27 2013-05-07 Lennox Industries Inc. System recovery in a heating, ventilation and air conditioning network
US8437878B2 (en) 2008-10-27 2013-05-07 Lennox Industries Inc. Alarm and diagnostics system and method for a distributed architecture heating, ventilation and air conditioning network
US8442693B2 (en) 2008-10-27 2013-05-14 Lennox Industries, Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8452456B2 (en) 2008-10-27 2013-05-28 Lennox Industries Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8452906B2 (en) 2008-10-27 2013-05-28 Lennox Industries, Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8463442B2 (en) 2008-10-27 2013-06-11 Lennox Industries, Inc. Alarm and diagnostics system and method for a distributed architecture heating, ventilation and air conditioning network
US8463443B2 (en) 2008-10-27 2013-06-11 Lennox Industries, Inc. Memory recovery scheme and data structure in a heating, ventilation and air conditioning network
US8495305B2 (en) 2004-06-30 2013-07-23 Citrix Systems, Inc. Method and device for performing caching of dynamically generated objects in a data communication network
US8499057B2 (en) 2005-12-30 2013-07-30 Citrix Systems, Inc System and method for performing flash crowd caching of dynamically generated objects in a data communication network
US8543243B2 (en) 2008-10-27 2013-09-24 Lennox Industries, Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8549149B2 (en) * 2004-12-30 2013-10-01 Citrix Systems, Inc. Systems and methods for providing client-side accelerated access to remote applications via TCP multiplexing
US8548630B2 (en) 2008-10-27 2013-10-01 Lennox Industries, Inc. Alarm and diagnostics system and method for a distributed-architecture heating, ventilation and air conditioning network
US8560125B2 (en) 2008-10-27 2013-10-15 Lennox Industries Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8559449B2 (en) 2003-11-11 2013-10-15 Citrix Systems, Inc. Systems and methods for providing a VPN solution
US8564400B2 (en) 2008-10-27 2013-10-22 Lennox Industries, Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8600558B2 (en) 2008-10-27 2013-12-03 Lennox Industries Inc. System recovery in a heating, ventilation and air conditioning network
US8600559B2 (en) 2008-10-27 2013-12-03 Lennox Industries Inc. Method of controlling equipment in a heating, ventilation and air conditioning network
US8615326B2 (en) 2008-10-27 2013-12-24 Lennox Industries Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8655491B2 (en) 2008-10-27 2014-02-18 Lennox Industries Inc. Alarm and diagnostics system and method for a distributed architecture heating, ventilation and air conditioning network
US8655490B2 (en) 2008-10-27 2014-02-18 Lennox Industries, Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8661165B2 (en) 2008-10-27 2014-02-25 Lennox Industries, Inc. Device abstraction system and method for a distributed architecture heating, ventilation and air conditioning system
US8694164B2 (en) 2008-10-27 2014-04-08 Lennox Industries, Inc. Interactive user guidance interface for a heating, ventilation and air conditioning system
US8700695B2 (en) 2004-12-30 2014-04-15 Citrix Systems, Inc. Systems and methods for providing client-side accelerated access to remote applications via TCP pooling
US8725298B2 (en) 2008-10-27 2014-05-13 Lennox Industries, Inc. Alarm and diagnostics system and method for a distributed architecture heating, ventilation and conditioning network
US8739274B2 (en) 2004-06-30 2014-05-27 Citrix Systems, Inc. Method and device for performing integrated caching in a data communication network
US8744629B2 (en) 2008-10-27 2014-06-03 Lennox Industries Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8762666B2 (en) 2008-10-27 2014-06-24 Lennox Industries, Inc. Backup and restoration of operation control data in a heating, ventilation and air conditioning network
US8774210B2 (en) 2008-10-27 2014-07-08 Lennox Industries, Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8788100B2 (en) 2008-10-27 2014-07-22 Lennox Industries Inc. System and method for zoning a distributed-architecture heating, ventilation and air conditioning network
US8798796B2 (en) 2008-10-27 2014-08-05 Lennox Industries Inc. General control techniques in a heating, ventilation and air conditioning network
US8802981B2 (en) 2008-10-27 2014-08-12 Lennox Industries Inc. Flush wall mount thermostat and in-set mounting plate for a heating, ventilation and air conditioning system
US8856777B2 (en) 2004-12-30 2014-10-07 Citrix Systems, Inc. Systems and methods for automatic installation and execution of a client-side acceleration program
US8855825B2 (en) 2008-10-27 2014-10-07 Lennox Industries Inc. Device abstraction system and method for a distributed-architecture heating, ventilation and air conditioning system
US8874815B2 (en) 2008-10-27 2014-10-28 Lennox Industries, Inc. Communication protocol system and method for a distributed architecture heating, ventilation and air conditioning network
US8892797B2 (en) 2008-10-27 2014-11-18 Lennox Industries Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8954595B2 (en) 2004-12-30 2015-02-10 Citrix Systems, Inc. Systems and methods for providing client-side accelerated access to remote applications via TCP buffering
US8977794B2 (en) 2008-10-27 2015-03-10 Lennox Industries, Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8994539B2 (en) 2008-10-27 2015-03-31 Lennox Industries, Inc. Alarm and diagnostics system and method for a distributed-architecture heating, ventilation and air conditioning network
US9152155B2 (en) 2008-10-27 2015-10-06 Lennox Industries Inc. Device abstraction system and method for a distributed-architecture heating, ventilation and air conditioning system
US20150365494A1 (en) * 2014-06-16 2015-12-17 International Business Machines Corporation Optimizing Network Communications
US9261888B2 (en) 2008-10-27 2016-02-16 Lennox Industries Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US9268345B2 (en) 2008-10-27 2016-02-23 Lennox Industries Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US9325517B2 (en) 2008-10-27 2016-04-26 Lennox Industries Inc. Device abstraction system and method for a distributed-architecture heating, ventilation and air conditioning system
US9377768B2 (en) 2008-10-27 2016-06-28 Lennox Industries Inc. Memory recovery scheme and data structure in a heating, ventilation and air conditioning network
US9432208B2 (en) 2008-10-27 2016-08-30 Lennox Industries Inc. Device abstraction system and method for a distributed architecture heating, ventilation and air conditioning system
US9632490B2 (en) 2008-10-27 2017-04-25 Lennox Industries Inc. System and method for zoning a distributed architecture heating, ventilation and air conditioning network
US9651925B2 (en) 2008-10-27 2017-05-16 Lennox Industries Inc. System and method for zoning a distributed-architecture heating, ventilation and air conditioning network
US9678486B2 (en) 2008-10-27 2017-06-13 Lennox Industries Inc. Device abstraction system and method for a distributed-architecture heating, ventilation and air conditioning system
US11265301B1 (en) * 2019-12-09 2022-03-01 Amazon Technologies, Inc. Distribution of security keys

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5535322A (en) 1992-10-27 1996-07-09 International Business Machines Corporation Data processing system with improved work flow system and method
US5594889A (en) 1992-01-03 1997-01-14 Digital Equipment Corporation Memory resource allocation look ahead system and method
US5844980A (en) 1993-03-03 1998-12-01 Siemens Business Communication Systems, Inc. Queue managing system and method
US6202089B1 (en) 1998-06-30 2001-03-13 Microsoft Corporation Method for configuring at runtime, identifying and using a plurality of remote procedure call endpoints on a single server process
US6363363B1 (en) * 1996-06-17 2002-03-26 Verifone, Inc. System, method and article of manufacture for managing transactions in a high availability system
US6473794B1 (en) * 1999-05-27 2002-10-29 Accenture Llp System for establishing plan to test components of web based framework by displaying pictorial representation and conveying indicia coded components of existing network framework
US6549773B1 (en) * 1998-09-21 2003-04-15 Nokia Mobile Phones Limited Method for utilizing local resources in a communication system
US6591277B2 (en) * 1999-12-27 2003-07-08 International Business Machines Corporation Dynamic object persistence
US6633923B1 (en) * 1999-01-29 2003-10-14 Iona Technologies Inc. Method and system for dynamic configuration of interceptors in a client-server environment
US6771660B1 (en) * 1999-10-29 2004-08-03 Ensemble Communication, Inc. Method and apparatus for synchronization between MAC and physical layers in a wireless communication system when transporting ATM cells
US6826594B1 (en) * 2000-07-15 2004-11-30 Commission Junction Method and system for remote content management of a designated portion of a web page
US6836888B1 (en) 2000-03-17 2004-12-28 Lucent Technologies Inc. System for reverse sandboxing
US7010586B1 (en) 2000-04-21 2006-03-07 Sun Microsystems, Inc. System and method for event subscriptions for CORBA gateway
US7065579B2 (en) * 2001-01-22 2006-06-20 Sun Microsystems, Inc. System using peer discovery and peer membership protocols for accessing peer-to-peer platform resources on a network

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5594889A (en) 1992-01-03 1997-01-14 Digital Equipment Corporation Memory resource allocation look ahead system and method
US5535322A (en) 1992-10-27 1996-07-09 International Business Machines Corporation Data processing system with improved work flow system and method
US5844980A (en) 1993-03-03 1998-12-01 Siemens Business Communication Systems, Inc. Queue managing system and method
US6363363B1 (en) * 1996-06-17 2002-03-26 Verifone, Inc. System, method and article of manufacture for managing transactions in a high availability system
US6202089B1 (en) 1998-06-30 2001-03-13 Microsoft Corporation Method for configuring at runtime, identifying and using a plurality of remote procedure call endpoints on a single server process
US6549773B1 (en) * 1998-09-21 2003-04-15 Nokia Mobile Phones Limited Method for utilizing local resources in a communication system
US6633923B1 (en) * 1999-01-29 2003-10-14 Iona Technologies Inc. Method and system for dynamic configuration of interceptors in a client-server environment
US6473794B1 (en) * 1999-05-27 2002-10-29 Accenture Llp System for establishing plan to test components of web based framework by displaying pictorial representation and conveying indicia coded components of existing network framework
US6771660B1 (en) * 1999-10-29 2004-08-03 Ensemble Communication, Inc. Method and apparatus for synchronization between MAC and physical layers in a wireless communication system when transporting ATM cells
US6591277B2 (en) * 1999-12-27 2003-07-08 International Business Machines Corporation Dynamic object persistence
US6836888B1 (en) 2000-03-17 2004-12-28 Lucent Technologies Inc. System for reverse sandboxing
US7010586B1 (en) 2000-04-21 2006-03-07 Sun Microsystems, Inc. System and method for event subscriptions for CORBA gateway
US6826594B1 (en) * 2000-07-15 2004-11-30 Commission Junction Method and system for remote content management of a designated portion of a web page
US7065579B2 (en) * 2001-01-22 2006-06-20 Sun Microsystems, Inc. System using peer discovery and peer membership protocols for accessing peer-to-peer platform resources on a network

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
Bal, et al., "Portability in the Orca Shared Object System," Technical Report, Vrije Universiteit, Sep. 1997, Amsterdam, The Netherlands, 14 pages.
Bernstein, "Middleware: A Model for Distributed System Services," Communications of the ACM, vol. 39, No. 2, Feb. 1996, USA, pp. 86-98.
Free, "Programming with Communication Protocol Stacks," Dr. Dobbs Journal, vol. 1992, Mar. 1992, USA, 15 pages.
Hutchinson et al., "Design of the x-Kernel," Symposium Proceedings on Communications Architectures and Protocols, Aug. 1988, USA, pp. 65-75.
Hutchinson et al., "RPC in the x-Kernel; Evaluating New Design Techniques," Proceedings of the Twelfth ACM Symposium on Operating Systems Principles, Dec. 1989, USA, pp. 91-101.
Jing, "Client-Server Computing in Mobile Environments," ACM Computing Surveys, vol. 31, No. 2, Jun. 1999, USA, pp. 117-157.
Joseph et al., "Rover: A Toolkit for Mobile Information Access," Proceedings of the Fifteenth ACM Symposium on Operating Systems Principles, Dec. 1995, USA, pp. 156-171.
Van Nieuwpoort et al., "Wide-Area Parrallel Computing in Java," Proceedings of the 1999 ACM Java Grande Conference, 1999, USA, pp. 8-14.

Cited By (94)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8559449B2 (en) 2003-11-11 2013-10-15 Citrix Systems, Inc. Systems and methods for providing a VPN solution
US20050135418A1 (en) * 2003-12-19 2005-06-23 Solace Systems, Inc. Multiplexing of control and data over an HTTP connection
US7486698B2 (en) * 2003-12-19 2009-02-03 Solace Systems, Inc. Multiplexing of control and data over an HTTP connection
US9876731B2 (en) 2004-01-27 2018-01-23 Aod Corporation On demand provisioning of applications
US20100169491A1 (en) * 2004-01-27 2010-07-01 Luc Martin On demand provisioning of applications
US20050267977A1 (en) * 2004-04-15 2005-12-01 Tillotson Timothy N Automatic creation of protocol dependent control path for instrument application
US7519719B2 (en) * 2004-04-15 2009-04-14 Agilent Technologies, Inc. Automatic creation of protocol dependent control path for instrument application
US8261057B2 (en) 2004-06-30 2012-09-04 Citrix Systems, Inc. System and method for establishing a virtual private network
US8739274B2 (en) 2004-06-30 2014-05-27 Citrix Systems, Inc. Method and device for performing integrated caching in a data communication network
US8726006B2 (en) 2004-06-30 2014-05-13 Citrix Systems, Inc. System and method for establishing a virtual private network
US8495305B2 (en) 2004-06-30 2013-07-23 Citrix Systems, Inc. Method and device for performing caching of dynamically generated objects in a data communication network
US8897299B2 (en) 2004-07-23 2014-11-25 Citrix Systems, Inc. Method and systems for routing packets from a gateway to an endpoint
US8351333B2 (en) 2004-07-23 2013-01-08 Citrix Systems, Inc. Systems and methods for communicating a lossy protocol via a lossless protocol using false acknowledgements
US9219579B2 (en) 2004-07-23 2015-12-22 Citrix Systems, Inc. Systems and methods for client-side application-aware prioritization of network communications
US8914522B2 (en) 2004-07-23 2014-12-16 Citrix Systems, Inc. Systems and methods for facilitating a peer to peer route via a gateway
US8291119B2 (en) 2004-07-23 2012-10-16 Citrix Systems, Inc. Method and systems for securing remote access to private networks
US8634420B2 (en) 2004-07-23 2014-01-21 Citrix Systems, Inc. Systems and methods for communicating a lossy protocol via a lossless protocol
US8892778B2 (en) 2004-07-23 2014-11-18 Citrix Systems, Inc. Method and systems for securing remote access to private networks
US8363650B2 (en) 2004-07-23 2013-01-29 Citrix Systems, Inc. Method and systems for routing packets from a gateway to an endpoint
US8549149B2 (en) * 2004-12-30 2013-10-01 Citrix Systems, Inc. Systems and methods for providing client-side accelerated access to remote applications via TCP multiplexing
US8954595B2 (en) 2004-12-30 2015-02-10 Citrix Systems, Inc. Systems and methods for providing client-side accelerated access to remote applications via TCP buffering
US8700695B2 (en) 2004-12-30 2014-04-15 Citrix Systems, Inc. Systems and methods for providing client-side accelerated access to remote applications via TCP pooling
US8856777B2 (en) 2004-12-30 2014-10-07 Citrix Systems, Inc. Systems and methods for automatic installation and execution of a client-side acceleration program
US8848710B2 (en) 2005-01-24 2014-09-30 Citrix Systems, Inc. System and method for performing flash caching of dynamically generated objects in a data communication network
US8788581B2 (en) 2005-01-24 2014-07-22 Citrix Systems, Inc. Method and device for performing caching of dynamically generated objects in a data communication network
US20110161412A1 (en) * 2005-03-10 2011-06-30 International Business Machines Corporation Processing requests transmitted using a first communication directed to an application that uses a second communication protocol
US8510376B2 (en) * 2005-03-10 2013-08-13 International Business Machines Corporation Processing requests transmitted using a first communication directed to an application that uses a second communication protocol
US20070083517A1 (en) * 2005-10-12 2007-04-12 Mecklenburg County Network system and a method for managing building inspections
US8499057B2 (en) 2005-12-30 2013-07-30 Citrix Systems, Inc System and method for performing flash crowd caching of dynamically generated objects in a data communication network
US8255456B2 (en) 2005-12-30 2012-08-28 Citrix Systems, Inc. System and method for performing flash caching of dynamically generated objects in a data communication network
US8301839B2 (en) 2005-12-30 2012-10-30 Citrix Systems, Inc. System and method for performing granular invalidation of cached dynamically generated objects in a data communication network
US20080133782A1 (en) * 2006-12-01 2008-06-05 Lg Electronics Inc. Reception system and method of processing interface information
US20100070642A1 (en) * 2008-09-15 2010-03-18 Microsoft Corporation Offloading network protocol operations to network interface in sleep state
US8352081B2 (en) 2008-10-27 2013-01-08 Lennox Industries Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US9261888B2 (en) 2008-10-27 2016-02-16 Lennox Industries Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8463442B2 (en) 2008-10-27 2013-06-11 Lennox Industries, Inc. Alarm and diagnostics system and method for a distributed architecture heating, ventilation and air conditioning network
US8543243B2 (en) 2008-10-27 2013-09-24 Lennox Industries, Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8452906B2 (en) 2008-10-27 2013-05-28 Lennox Industries, Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8548630B2 (en) 2008-10-27 2013-10-01 Lennox Industries, Inc. Alarm and diagnostics system and method for a distributed-architecture heating, ventilation and air conditioning network
US8560125B2 (en) 2008-10-27 2013-10-15 Lennox Industries Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8352080B2 (en) 2008-10-27 2013-01-08 Lennox Industries Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8564400B2 (en) 2008-10-27 2013-10-22 Lennox Industries, Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8600558B2 (en) 2008-10-27 2013-12-03 Lennox Industries Inc. System recovery in a heating, ventilation and air conditioning network
US8600559B2 (en) 2008-10-27 2013-12-03 Lennox Industries Inc. Method of controlling equipment in a heating, ventilation and air conditioning network
US8615326B2 (en) 2008-10-27 2013-12-24 Lennox Industries Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8452456B2 (en) 2008-10-27 2013-05-28 Lennox Industries Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8655491B2 (en) 2008-10-27 2014-02-18 Lennox Industries Inc. Alarm and diagnostics system and method for a distributed architecture heating, ventilation and air conditioning network
US8655490B2 (en) 2008-10-27 2014-02-18 Lennox Industries, Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8661165B2 (en) 2008-10-27 2014-02-25 Lennox Industries, Inc. Device abstraction system and method for a distributed architecture heating, ventilation and air conditioning system
US8694164B2 (en) 2008-10-27 2014-04-08 Lennox Industries, Inc. Interactive user guidance interface for a heating, ventilation and air conditioning system
US8442693B2 (en) 2008-10-27 2013-05-14 Lennox Industries, Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8725298B2 (en) 2008-10-27 2014-05-13 Lennox Industries, Inc. Alarm and diagnostics system and method for a distributed architecture heating, ventilation and conditioning network
US8437878B2 (en) 2008-10-27 2013-05-07 Lennox Industries Inc. Alarm and diagnostics system and method for a distributed architecture heating, ventilation and air conditioning network
US8437877B2 (en) 2008-10-27 2013-05-07 Lennox Industries Inc. System recovery in a heating, ventilation and air conditioning network
US8744629B2 (en) 2008-10-27 2014-06-03 Lennox Industries Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8762666B2 (en) 2008-10-27 2014-06-24 Lennox Industries, Inc. Backup and restoration of operation control data in a heating, ventilation and air conditioning network
US8761945B2 (en) 2008-10-27 2014-06-24 Lennox Industries Inc. Device commissioning in a heating, ventilation and air conditioning network
US8774210B2 (en) 2008-10-27 2014-07-08 Lennox Industries, Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8788100B2 (en) 2008-10-27 2014-07-22 Lennox Industries Inc. System and method for zoning a distributed-architecture heating, ventilation and air conditioning network
US8433446B2 (en) 2008-10-27 2013-04-30 Lennox Industries, Inc. Alarm and diagnostics system and method for a distributed-architecture heating, ventilation and air conditioning network
US9678486B2 (en) 2008-10-27 2017-06-13 Lennox Industries Inc. Device abstraction system and method for a distributed-architecture heating, ventilation and air conditioning system
US8798796B2 (en) 2008-10-27 2014-08-05 Lennox Industries Inc. General control techniques in a heating, ventilation and air conditioning network
US8802981B2 (en) 2008-10-27 2014-08-12 Lennox Industries Inc. Flush wall mount thermostat and in-set mounting plate for a heating, ventilation and air conditioning system
US9651925B2 (en) 2008-10-27 2017-05-16 Lennox Industries Inc. System and method for zoning a distributed-architecture heating, ventilation and air conditioning network
US8255086B2 (en) 2008-10-27 2012-08-28 Lennox Industries Inc. System recovery in a heating, ventilation and air conditioning network
US9632490B2 (en) 2008-10-27 2017-04-25 Lennox Industries Inc. System and method for zoning a distributed architecture heating, ventilation and air conditioning network
US8855825B2 (en) 2008-10-27 2014-10-07 Lennox Industries Inc. Device abstraction system and method for a distributed-architecture heating, ventilation and air conditioning system
US8874815B2 (en) 2008-10-27 2014-10-28 Lennox Industries, Inc. Communication protocol system and method for a distributed architecture heating, ventilation and air conditioning network
US9432208B2 (en) 2008-10-27 2016-08-30 Lennox Industries Inc. Device abstraction system and method for a distributed architecture heating, ventilation and air conditioning system
US8892797B2 (en) 2008-10-27 2014-11-18 Lennox Industries Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8295981B2 (en) 2008-10-27 2012-10-23 Lennox Industries Inc. Device commissioning in a heating, ventilation and air conditioning network
US9377768B2 (en) 2008-10-27 2016-06-28 Lennox Industries Inc. Memory recovery scheme and data structure in a heating, ventilation and air conditioning network
US9325517B2 (en) 2008-10-27 2016-04-26 Lennox Industries Inc. Device abstraction system and method for a distributed-architecture heating, ventilation and air conditioning system
US8977794B2 (en) 2008-10-27 2015-03-10 Lennox Industries, Inc. Communication protocol system and method for a distributed-architecture heating, ventilation and air conditioning network
US8994539B2 (en) 2008-10-27 2015-03-31 Lennox Industries, Inc. Alarm and diagnostics system and method for a distributed-architecture heating, ventilation and air conditioning network
US9152155B2 (en) 2008-10-27 2015-10-06 Lennox Industries Inc. Device abstraction system and method for a distributed-architecture heating, ventilation and air conditioning system
US9268345B2 (en) 2008-10-27 2016-02-23 Lennox Industries Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
US8463443B2 (en) 2008-10-27 2013-06-11 Lennox Industries, Inc. Memory recovery scheme and data structure in a heating, ventilation and air conditioning network
US8239066B2 (en) 2008-10-27 2012-08-07 Lennox Industries Inc. System and method of use for a user interface dashboard of a heating, ventilation and air conditioning network
USD648641S1 (en) 2009-10-21 2011-11-15 Lennox Industries Inc. Thin cover plate for an electronic system controller
USD648642S1 (en) 2009-10-21 2011-11-15 Lennox Industries Inc. Thin cover plate for an electronic system controller
US9574784B2 (en) 2010-02-17 2017-02-21 Lennox Industries Inc. Method of starting a HVAC system having an auxiliary controller
US9599359B2 (en) 2010-02-17 2017-03-21 Lennox Industries Inc. Integrated controller an HVAC system
US8260444B2 (en) 2010-02-17 2012-09-04 Lennox Industries Inc. Auxiliary controller of a HVAC system
US8788104B2 (en) 2010-02-17 2014-07-22 Lennox Industries Inc. Heating, ventilating and air conditioning (HVAC) system with an auxiliary controller
WO2012134827A3 (en) * 2011-03-29 2012-12-27 Microsoft Corporation Locating and executing objects in a distributed network
WO2012134827A2 (en) * 2011-03-29 2012-10-04 Microsoft Corporation Locating and executing objects in a distributed network
US8856171B2 (en) 2011-03-29 2014-10-07 Microsoft Corporation Locating and executing objects in a distributed network
US10936693B2 (en) 2011-03-29 2021-03-02 Microsoft Technology Licensing, Llc Locating and executing objects in a distributed network
US9357035B2 (en) * 2014-06-16 2016-05-31 International Business Machines Corporation Optimizing network communications
US20150365493A1 (en) * 2014-06-16 2015-12-17 International Business Machines Corporation Optimizing Network Communications
US9350825B2 (en) * 2014-06-16 2016-05-24 International Business Machines Corporation Optimizing network communications
US20150365494A1 (en) * 2014-06-16 2015-12-17 International Business Machines Corporation Optimizing Network Communications
US11265301B1 (en) * 2019-12-09 2022-03-01 Amazon Technologies, Inc. Distribution of security keys

Similar Documents

Publication Publication Date Title
US7222152B1 (en) Generic communications framework
US5961586A (en) System and method for remotely executing an interpretive language application
US6845505B1 (en) Web request broker controlling multiple processes
AU772914B2 (en) A smart stub or enterprise javaTM bean in a distributed processing system
US7028091B1 (en) Web server in-kernel interface to data transport system and cache manager
US7130891B2 (en) Score-based scheduling of service requests in a grid services computing platform
US7480679B2 (en) Duplicated naming service in a distributed processing system
US6571274B1 (en) Clustered enterprise Java™ in a secure distributed processing system
US6553428B1 (en) Distributed object instantiation of native objects in java
US6636900B2 (en) Method and apparatus for executing distributed objects over a network
US20060020914A1 (en) Method and system for enabling a server application to be executed in the same virtual machine as a client application using direct object oriented programming method calls
EP1212680A2 (en) Graceful distribution in application server load balancing
EP1321853A2 (en) Dynamic component transfer based on resource negotiations between computer systems
JP2006318499A (en) System and method for managing connection between server and client node
CA2434258A1 (en) Exchanging electronic messages between a host computer system and a distributed computer system
US20010032267A1 (en) Method and apparatus for anonymous subject-based addressing
US6668279B1 (en) User level web server in-kernel network I/O accelerator
US7685258B2 (en) Disconnectible applications
US9537931B2 (en) Dynamic object oriented remote instantiation
Schmidt et al. Object Interconnections: CORBA and XML–Part 3: SOAP and Web Services
AU726488B2 (en) System and method for remotely executing an interpretive language application
CA2495413C (en) System and method for managing the connection between a server and a client node
AU2006252006A1 (en) Clustered enterprise Java in a secure distributed processing system
Shen Performance of adaptive middleware systems.
Polgar et al. Web Service Design Issues

Legal Events

Date Code Title Description
AS Assignment

Owner name: MICROSOFT CORPORATION, WASHINGTON

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:THOMPSON, DONALD;GELLER, ALAN S.;REEL/FRAME:012229/0434;SIGNING DATES FROM 20010928 TO 20011001

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

AS Assignment

Owner name: MICROSOFT TECHNOLOGY LICENSING, LLC, WASHINGTON

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MICROSOFT CORPORATION;REEL/FRAME:034541/0001

Effective date: 20141014

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20190522