Efficient RPC mechanism using XML
First Claim
1. A computer-based system to reduce bandwidth utilization by performing remote procedure calls utilizing a markup language as a marshalling format in which a client is passed a method name and associated parameters for a remote procedure call, marshals said method name and parameters into a request markup language format document encoded in a tokenized format and transmits said document, said system comprising:
- a markup language remote procedure call server, said server receiving said method name and associated parameters from said tokenized request markup language document;
said server invoking a method corresponding to said method name;
said server receiving return parameters from said invoked method;
said server generating a response markup language document encoded in said tokenized format containing said return parameters;
a parser, said parser parsing said tokenized request markup language format document and presenting said document to said server such that said server receives said method name and associated parameters; and
said bandwidth utilization reduced by applying character level compression to content data separated from structure data of said request markup language format document and said response markup language document.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides for a system and method of performing efficient XML-RPC. Generally, the system comprises a client which generates XML-RPC requests in a compression format which encodes tags, attributes and attribute values as tokens rather than strings and transmits the request to a server. The server gets the requests from the client, invokes the corresponding method and sends a response encoded in the same format that the clients request was encoded in. In a further aspect of the present invention, the client receives a URL of a valid XML-RPC server. The client establishes a persistent connection with the server via a request utilizing the URL. The method to be called utilizing XM-RPC is passed to the client along with the associated parameters. The client generates and XML-RPC request which is transmitted in an encoding format which represents at least a portion of the tags (and attributes and attribute values if present) as tokens rather than strings. The server receives the requests, and after being parsed receives the method to be called and the associated parameters. The server attempts to locate the method and handler in a hash table, and if available, calls the method. When the return parameters of the method are returned to the server, it encodes the parameters in a XML-RPC response according to the tokenized format, and sends the response back to the client. The response is then parsed and the client obtains the parameters, which it then utilizes as appropriate.
-
Citations
40 Claims
-
1. A computer-based system to reduce bandwidth utilization by performing remote procedure calls utilizing a markup language as a marshalling format in which a client is passed a method name and associated parameters for a remote procedure call, marshals said method name and parameters into a request markup language format document encoded in a tokenized format and transmits said document, said system comprising:
-
a markup language remote procedure call server, said server receiving said method name and associated parameters from said tokenized request markup language document; said server invoking a method corresponding to said method name; said server receiving return parameters from said invoked method; said server generating a response markup language document encoded in said tokenized format containing said return parameters; a parser, said parser parsing said tokenized request markup language format document and presenting said document to said server such that said server receives said method name and associated parameters; and said bandwidth utilization reduced by applying character level compression to content data separated from structure data of said request markup language format document and said response markup language document. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 38, 39, 40)
-
-
14. A computer-based system to reduce bandwidth utilization by performing remote procedure calls utilizing a markup language as a marshalling format in which a server receives a request for a remote procedure call including a method name and associated parameters in the form of a request markup language document encoded in a tokenized format, said server invokes a method corresponding to said method name and transmits a response markup language document encoded in tokenized format containing return parameters returned from said invoked method, said system comprising:
-
a client, said client being passed said method name and associated parameters for said remote procedure call; said client generating said tokenized request markup language document including said method name and associated parameters and sending said document to said server; and said bandwidth utilization reduced by applying character level compression to content data separated from structure data of said request markup language document and said response markup language document. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25)
-
-
26. A computer-based system to reduce bandwidth utilization by performing efficient remote procedure calls, utilizing XML as a marshalling format, where a method name and associated parameters are included in a remote procedure call request XML document encoded in tokenized format transmitted as the body of a HTTP-POST message, said system comprising:
-
a markup language remote procedure call server, said server receiving said method name and associated parameters from said tokenized request XML document; a servlet, said servlet receiving a request from said client to establish a connection with said server; said servlet invoking said server upon receiving said request, said server establishing a connection with said client; said server registering handler objects and associated methods which are able to be invoked via said tokenized request XML documents transmitted by said client, references to said handler objects and associated methods stored in a hash table at said server; said server determining if a method corresponding to said method name is registered utilizing said hash table and upon determining said method is registered, said server invoking said method corresponding to said method name; said server receiving return parameters from said invoked method; said server generating a response XML document encoded in said tokenized format containing said return parameters; a server side parser, said server side parser parsing said tokenized request XML format document and presenting said document to said server such that said server receives said method name and associated parameters; and said bandwidth utilization reduced by applying character level compression to content data separated from structure data of said request XML document and said response XML document. - View Dependent Claims (27, 28, 29, 30, 31)
-
-
32. A computer-based method to reduce bandwidth utilization by implementing a remote procedure call in which a client generates a request markup language document encoded in tokenized format including a method name and associated parameters, said method comprising:
-
receiving said tokenized request markup language document; parsing said document to determine said method name and associated parameters; invoking a method corresponding to said method name and passing said parameters to said method; receiving return parameters from said method; generating a response markup language document including said returned parameters, said response markup language document encoded in a tokenized format; and said bandwidth utilization reduced by applying character level compression to content data separated from structure data of said request markup language document and said response markup language document. - View Dependent Claims (33)
-
-
34. A computer-based method to reduce bandwidth utilization by performing remote procedure calls utilizing a markup language as a marshalling format in which a server receives a request markup language document encoded in tokenized format including a method name and associated parameters, said server invokes a method corresponding to said method name and returns a tokenized response markup language document including returned parameters returned from said method, said method of performing remote procedure calls comprising:
-
receiving a method name and associated parameters; generating a request markup language document including said method name and associated parameters, said request markup language document encoded in a tokenized format; sending said tokenized request markup language document to said server; receiving said tokenized response markup language document returned from said server; and parsing said tokenized response markup language server to obtain said return parameter; and said bandwidth utilization reduced by applying character level compression to content data separated from structure data of said request markup language document and said response markup language document. - View Dependent Claims (35)
-
-
36. An article of manufacture comprising a computer user medium having computer readable code embodied therein to reduce bandwidth utilization by implementing a remote procedure call in which a client generates a request markup language document encoded in tokenized format including a method name and associated parameters, said computer readable code comprising:
-
computer readable program code receiving said tokenized request markup language document; computer readable program code parsing said document to determine said method name and associated parameters; computer readable program code invoking a method corresponding to said method name and passing said parameters to said method; computer readable program code receiving return parameters from said method; computer readable program code generating a response markup language document including said returned parameters, said response markup language document encoded in a tokenized format; and computer readable program code applying character level compression to content data separated from structure data of said request markup language document and said response markup language document.
-
-
37. An article of manufacture comprising a computer user medium having computer readable code embodied therein to reduce bandwidth utilization by performing remote procedure calls utilizing a markup language as a marshalling format in which a server receives a request markup language document encoded in tokenized format including a method name and associated parameters, said server invokes a method corresponding to said method name and returns a tokenized response markup language document including returned parameters returned from said method, said computer readable code comprising:
-
computer readable program code receiving a method name and associated parameters; computer readable program code generating a request markup language document including said method name and associated parameters, said request markup language document encoded in a tokenized format; computer readable program code sending said tokenized request markup language document to said server; computer readable program code receiving said tokenized response markup language document returned from said server; and computer readable program code parsing said tokenized response markup language server to obtain said return parameter; and computer readable program code applying character level compression to content data separated from structure data of said request markup language document and said response markup language document.
-
Specification