Communications handles and proxy agents
First Claim
Patent Images
1. A method comprising:
- prior to launching a service,distilling a configuration file by a computer, the configuration file comprises a plurality of objects for configuring the service that runs on the computer, wherein the service includes a plurality of sub-services, with each of the plurality of sub-services serving a different function of the service, and that sub-service is bound to a different operating system port and, the distilling comprises,creating multiple contemporaneously opened communication handles, wherein each communication handle creation includes,opening a communication handle for the service prior to launching the service, wherein the communication handle is associated with an object from the plurality of objects, is bound to a different one of the plurality of sub-services, is an identification for a communication channel between the service and a client, and includes the operating system port corresponding to the different one of the plurality of sub-services;
creating a serialized object tree from the plurality of objects, the serialized object tree comprises the multiple contemporaneously opened communication handles;
registering the service with a proxy agent, said registering comprises forwarding the serialized object tree to the proxy agent to allow an operating system kernel callback to return a data structure stored with the kernel callback for the service with the multiple contemporaneously opened communication handles; and
launching the service with the proxy agent.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatuses for proxying communication requests to services hosted on a data processing system. In one exemplary method, an open-ended configuration file is distilled to create an object tree from the configuration file. In addition, distillation creates communication handles for the services. The object tree is serialized and forwarded to a proxy agent. The proxy agent registers the service and monitors the communication handles for service requests by establishing a kernel callback. When a communication handle is readable, the proxy agent passes the communication handle to appropriate service.
18 Citations
26 Claims
-
1. A method comprising:
-
prior to launching a service, distilling a configuration file by a computer, the configuration file comprises a plurality of objects for configuring the service that runs on the computer, wherein the service includes a plurality of sub-services, with each of the plurality of sub-services serving a different function of the service, and that sub-service is bound to a different operating system port and, the distilling comprises, creating multiple contemporaneously opened communication handles, wherein each communication handle creation includes, opening a communication handle for the service prior to launching the service, wherein the communication handle is associated with an object from the plurality of objects, is bound to a different one of the plurality of sub-services, is an identification for a communication channel between the service and a client, and includes the operating system port corresponding to the different one of the plurality of sub-services; creating a serialized object tree from the plurality of objects, the serialized object tree comprises the multiple contemporaneously opened communication handles; registering the service with a proxy agent, said registering comprises forwarding the serialized object tree to the proxy agent to allow an operating system kernel callback to return a data structure stored with the kernel callback for the service with the multiple contemporaneously opened communication handles; and launching the service with the proxy agent. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for launching a software process, the method comprising:
-
retrieving, by a computer operating system kernel callback prior to launching a communication service on that computer, a data structure stored with the kernel callback containing a plurality of contemporaneously opened communication handles for the communication service that runs on the computer, wherein each of the plurality of contemporaneously opened communication handles is opened prior to the launching of the communication service, each of the plurality of contemporaneously opened communication handles is an identification for an opened communication channel between the service and a client, each of the plurality of contemporaneously opened communication handles is bound to a different sub-service of the communication service, wherein each of the different sub-services serves a different function of the communication service, each of the different sub-services is bound to a different operating system port and, each of the plurality of contemporaneously opened communication handles includes the operating system port corresponding to the different one of the plurality of sub-services; registering the communication service with a proxy agent by passing the plurality of contemporaneously opened communication handles from the data structure to the proxy agent; and launching the communication service with the data structure and the proxy agent, wherein a software entity responsible for creating the plurality of contemporaneously opened communication handles is separate from a software entity responsible for said launching. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A method for launching a service comprising:
-
prior to launching a service, wherein the service includes a plurality of sub-services with each of the plurality of sub-services serving a different function of the service, and that sub-service is bound to a different operating system port, distilling, by a computer, a configuration file with a distillation agent, wherein the distilling comprises, reading a set of configuration information associated with the service, creating contemporaneously opening multiple communication handles, wherein each of the multiple communication handles is bound to a different one of the plurality of sub-services, is an identification for a communication channel between the service and a client, and includes the operating system port corresponding to the different one of the plurality of sub-services and, converting at least some information in the configuration file into an operating system dependent user identifier, the set of configuration information comprises the multiple contemporaneously opened communication handles created and opened by the distilling and the operating system kernel callback dependent information; registering the service with a proxy agent by passing the set of configuration information to the proxy agent; and causing a launching of the service with a data structure stored with the kernel callback and the proxy agent, the service to run on a computer.
-
-
15. A non-transitory machine-readable storage medium having executable instructions, which when executed by a processor, cause the processor to perform a method comprising:
-
prior to launching a service, distilling a configuration file by a computer, the configuration file comprises a plurality of objects for configuring the service that runs on a computer, wherein the service includes a plurality of sub-services with each of the plurality of sub-services serving a different function of the service, and that sub-service is bound to a different operating system port and, the distilling comprises, creating multiple contemporaneously opened communication handles, wherein each communication handle creation includes, opening a communication handle for the service prior to launching the service, wherein the communication handle is associated with an object from the plurality of objects, is bound to a different one of the plurality of sub-services, is an identification for a communication channel between the service and a client, and includes the operating system port corresponding to the different one of the plurality of sub-services; creating a serialized object tree from the plurality of objects, the serialized object tree comprises the multiple contemporaneously opened communication handles; registering the service with a proxy agent, said registering comprises forwarding the serialized object tree to the proxy agent to allow an operating system kernel callback to return a data structure stored with the kernel callback for the service with the multiple contemporaneously opened communication handles; launching the service with the proxy agent. - View Dependent Claims (16, 17)
-
-
18. A non-transitory machine-readable storage medium having executable instructions, which when executed by a processor, cause the processor to perform a method for launching a software process, the method comprising:
-
retrieving, by a computer operating system kernel callback prior to launching a communication service on that computer, a data structure stored with the kernel callback containing a plurality of contemporaneously opened communication handles for the communication service that runs on the computer, wherein each of the plurality of contemporaneously opened communication handles is opened prior to the launching of the communication service, each of the plurality of contemporaneously opened communication handles is an identification for an opened communication channel between the service and a client, each of the plurality of contemporaneously opened communication handles is bound to a different sub-service of the communication service, wherein each of the different sub-services serves a different function of the communication service, each of the different sub-services is bound to a different operating system port and, each of the plurality of contemporaneously opened communication handles includes the operating system port corresponding to the different one of the plurality of sub-services; registering the communication service with a proxy agent by passing the plurality of contemporaneously opened communication handle from the data structure to the proxy agent; and launching the communication service with the data structure and the proxy agent, wherein a software entity responsible for creating the plurality of contemporaneously opened communication handles is separate from a software entity responsible for said launching. - View Dependent Claims (19)
-
-
20. A non-transitory machine-readable storage medium having executable instructions, which when executed by a processor, cause the processor to perform a method for launching a software process, the method comprising:
-
prior to launching a service, wherein the service includes a plurality of sub-services with each of the plurality of sub-services serving a different function of the service, and that sub-service is bound to a different operating system port, distilling, by a computer, a configuration file with a distillation agent, wherein the distilling comprises, reading a set of configuration information associated with the service, creating contemporaneously opening multiple communication handles, wherein each of the multiple communication handles is bound to a different one of the plurality of sub-services, is an identification for a communication channel between the service and a client, and includes the operating system port corresponding to the different one of the plurality of sub-services and, converting at least some information in the configuration file into an operating system dependent user identifier, the set of configuration information comprises the multiple contemporaneously opened communication handles created and opened by the distilling and the operating system kernel callback dependent information; registering the service with a proxy agent by passing the set of configuration information from the operating system dependent information to the proxy agent; and causing a launching of the service with the proxy agent.
-
-
21. An apparatus comprising:
-
means for distilling a configuration file prior to launching a service, the configuration file comprises a plurality of objects for configuring a service that runs on a computer, wherein the service includes a plurality of sub-services, with each of the plurality of sub-services serving a different function of the service, and that sub-service is bound to a different operating system port and the means for distilling comprises means for creating multiple contemporaneously opened communication handles and each means for creating includes means opening a communication handle for the service prior to launching the service, the communication handle is associated with an object from the plurality of objects, is bound to a different one of the plurality of sub-services, is an identification for a communication channel between the service and a client, and includes the operating system port corresponding to the different one of the plurality of sub-services; means for creating a serialized object tree from the plurality of objects, the serialized object tree comprises the multiple contemporaneously opened communication handles; means for registering the service with a proxy agent, said registering comprises means for forwarding the serialized object tree to the proxy agent to allow an operating system kernel callback to return a data structure stored with the kernel callback for the service with the multiple contemporaneously opened communication handles; and means for launching a service. - View Dependent Claims (22, 23)
-
-
24. An apparatus for launching a software process, the apparatus comprising:
-
means for retrieving, by a computer operating system kernel callback prior to launching a communication service on that computer, a data structure stored with the kernel callback containing a plurality of contemporaneously opened communication handles for the communication service that runs on the computer, wherein each of the plurality of contemporaneously opened communication handles is opened prior to the launching of the communication service, is an identification for an opened communication channel between the service and a client, is bound to a different sub-service of the communication service and includes the operating system port corresponding to the different one of the plurality of sub-services, wherein each of the different sub-services serves a different function of the communication service, and is bound to a different operating system port; means for registering the communication service with a proxy agent by passing the plurality of contemporaneously opened communication handle from the data structure to the proxy agent; and means for launching the communication service with the data structure and the proxy agent, wherein a software entity responsible for creating the plurality of contemporaneously opened communication handles is separate from a software entity responsible for said launching. - View Dependent Claims (25)
-
-
26. An apparatus for launching a service comprising:
-
means for distilling a configuration file with a distillation agent prior to launching a service, wherein the service includes a plurality of sub-services with each of the plurality of sub-services serving a different function of the service, and that sub-service is bound to a different operating system port and, the distilling comprises means for reading a set of configuration information associated with the service, means for creating contemporaneously opening multiple communication handles, wherein each of the multiple communication handles is bound to a different one of the plurality of sub-services, is an identification for a communication channel between the service and a client, and includes the operating system port corresponding to the different one of the plurality of sub-services, and means for converting at least some information in the configuration file into an operating system dependent user identifier, the set of configuration information comprises the multiple contemporaneously opened communication handles created and opened by the distilling and the operating system kernel callback dependent information; means for registering the service with a proxy agent by passing the set of configuration information from the operating system dependent information to the proxy agent; and means for causing a launching of the service with the operating system dependent information and the proxy agent, the service to run on a computer.
-
Specification