System and method for connection efficiency
AssigneeOpen Invention Network, LLC
InventorRobert W. Peterson
Life of this patent
Estimating the term…
Abstract
In a distributed object computing system, a server application may create multiple, uniquely identified, server contexts that each provide one or more services to a service consumer (client). Instead of creating a connection to a client for each server context, a single connection can be used. A service request handler may be configured to handle service requests for each server context. Service requests may be generated in the client with a service context identity. When a service request is received by the server application, the service request handler resolves the service context identity and forwards the service request to the appropriate server context.
Claims20
A method for providing services from a service provider to a service consumer, the method comprising:
- configuring a plurality of server contexts at a device, each server context comprising:
- a unique server context identity;
- and
- one or more indexed services;
- wherein each server context is configured to provide an indexed service in response to a service request;
- configuring a service request handler to handle service requests for the plurality of server contexts;
- receiving a service request into the service request handler from the service consumer;
- resolving a server context identity of the service request in the service request handler;
- and
- forwarding the service request to the resolved server context;
- retrieving an indexed service in the server context;
- and
- generating a service response in the server context, the service response comprising the result of an invocation of the retrieved indexed service.
A method for sharing a connection from a client application on a client device to a server application on a server device comprising a plurality of server contexts, the method comprising:
- configuring an endpoint in the client application comprising a connection to the server application;
- configuring a plurality of client contexts in the client application, each client context comprising a reference to one of the plurality of server contexts;
- generating a plurality of service requests from the plurality of client contexts, each service request comprising:
- a service request ID;
- a namespace ID that identifies one of the plurality of server contexts;
- and
- a service index that identifies a service within the identified server context;
- and
- providing the plurality of service requests from the client application to the service application on the connection.
A system comprising:
- at least one server device executing a server application configured to create a plurality of server contexts at a network address of the server device, each server context comprising:
- a server context identity independent of the network address;
- and
- one or more referenced services;
- at least one client device executing a client application configured to:
- create a plurality of client contexts as proxies for the one or more referenced services of a respective server context;
- generate a service request for the one or more referenced services, the service request comprising a server context identity;
- wherein at least one of the client application and the server application is configured to create a network connection between the client application and the server application such that a plurality of service requests to a plurality of the server contexts are able to be provided over the same connection.
Dependencies are inferred from the claim text.