System and method for providing a hypertext transfer protocol service multiplexer
First Claim
1. A data processing system for providing a HyperText Transfer Protocol (HTTP) service multiplexing, comprising:
- one or more applications executed by a processor within the data processing system; and
an HTTP service multiplexer executed by the processor within the data processing system, configured to;
allocate a port to a network service locally on the HTTP service multiplexer, wherein the network service binds to the port locally allocated on the HTTP service multiplexer to obtain a local endpoint on the HTTP service multiplexer, the network service associated with a name and a uniform resource locator (URL);
register the name and the URL for the network service in response to receiving an HTTP POST request from the network service, wherein the HTTP POST request was sent by the network service to a predetermined URL representing the HTTP service multiplexer;
receive an HTTP GET request from one of the one or more applications, wherein the HTTP GET request further includes the name for the network service; and
redirect the HTTP GET request received from the application to the port locally allocated to the network service on the HTTP service multiplexer, wherein the network service listens for and receives the HTTP GET request on the port locally allocated to the network service on the HTTP service multiplexer, wherein the one or more applications and the HTTP service multiplexer are running within the data processing system and communicating with each other using the HTTP GET and POST requests over a message bus.
7 Assignments
0 Petitions
Accused Products
Abstract
A system and method for registering one or more services at a location where clients can access the services both locally and remotely is provided. A HyperText Transfer Protocol (HTTP) service multiplexer (HSM) may be accessed at a recognizable location, which may be any suitable location or resource that a client can locate on a local system. The HSM may make a plurality of services available at the recognizable location by binding the location (e.g., a Uniform Resource Identifier (URI)) to URLs or other resources associated with the services. In this manner, the HSM functions similarly to a domain name service, as HTTP redirections can be issued to enable a single well-known resource to be used for accessing the plurality of registered services.
-
Citations
24 Claims
-
1. A data processing system for providing a HyperText Transfer Protocol (HTTP) service multiplexing, comprising:
-
one or more applications executed by a processor within the data processing system; and an HTTP service multiplexer executed by the processor within the data processing system, configured to; allocate a port to a network service locally on the HTTP service multiplexer, wherein the network service binds to the port locally allocated on the HTTP service multiplexer to obtain a local endpoint on the HTTP service multiplexer, the network service associated with a name and a uniform resource locator (URL); register the name and the URL for the network service in response to receiving an HTTP POST request from the network service, wherein the HTTP POST request was sent by the network service to a predetermined URL representing the HTTP service multiplexer; receive an HTTP GET request from one of the one or more applications, wherein the HTTP GET request further includes the name for the network service; and redirect the HTTP GET request received from the application to the port locally allocated to the network service on the HTTP service multiplexer, wherein the network service listens for and receives the HTTP GET request on the port locally allocated to the network service on the HTTP service multiplexer, wherein the one or more applications and the HTTP service multiplexer are running within the data processing system and communicating with each other using the HTTP GET and POST requests over a message bus. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer implemented method for providing a HyperText Transfer Protocol (HTTP) service multiplexing, the method comprising:
-
registering a network service with the HTTP service multiplexer executed by a processor within a data processing system, wherein registering the network service includes; allocating a port to the network service on the HTTP service multiplexer, wherein the network service binds to the port locally allocated on the HTTP service multiplexer to obtain a local endpoint on the HTTP service multiplexer; receiving, at the HTTP service multiplexer, an HTTP POST request from the network service that includes a name and a Uniform Resource Locator (URL) for the network service; and registering the name and the URL for the network service at the HTTP service multiplexer in response to receiving the HTTP POST request from the network service; receiving, at the HTTP service multiplexer, a message that includes an HTTP GET request from an application executed by the processor within the data processing system, wherein the message that includes the HTTP GET request further includes the name for the network service; and redirecting the message received from the application to the port locally allocated to the network service on the HTTP service multiplexer, wherein the network service listens for and receives the message that includes the HTTP GET request on the port locally allocated to the network service on the HTTP service multiplexer, wherein the application and the HTTP service multiplexer are running within the data processing system and communicating with each other using HTTP GET and HTTP POST requests. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A non-transitory machine-readable medium having instructions stored therein, which when executed by a processor, cause the processor to perform a method for providing a HyperText Transfer Protocol (HTTP) service multiplexing, the method comprising:
-
registering a network service with the HTTP service multiplexer executed by a processor within a data processing system, wherein registering the network service includes; allocating a port to the network service on the HTTP service multiplexer, wherein the network service binds to the port locally allocated on the HTTP service multiplexer to obtain a local endpoint on the HTTP service multiplexer; receiving, at the HTTP service multiplexer, an HTTP POST request from the network service that includes a name and a Uniform Resource Locator (URL) for the network service; and registering the name and the URL for the network service at the HTTP service multiplexer in response to receiving the HTTP POST request from the network service; receiving, at the HTTP service multiplexer, a message that includes an HTTP GET request from an application executed by the processor within the data processing system, wherein the message that includes the HTTP GET request further includes the name for the network service; and redirecting the message received from the application to the port locally allocated to the network service on the HTTP service multiplexer, wherein the network service listens for and receives the message that includes the HTTP GET request on the port locally allocated to the network service on the HTTP service multiplexer, wherein the application and the HTTP service multiplexer are running within the data processing system and communicating with each other using HTTP GET and HTTP POST requests. - View Dependent Claims (24)
-
Specification