Method and a system for the composition of services
OwnerDoga Armangilinventor
Life of this patent
Estimating the term…
Abstract
Method for multiphase service composition in a distributed computing environment comprising at least one client and at least one server, and involving at least one service, which defines a specific format for composition messages associated with multiphase remote procedure calls. This format is different from the one of regular server messages. Once such a composition message is received by the client, it recognizes this specific format and can automatically invoke at least one service on any server by sending a new request message including the arguments passed in this composition message.
Claims16
A method for service composition in a distributed computing environment comprising at least one client and a server, and involving at least one service, comprising the steps of
- sending a request to said server from said client invoking said service;
- said client receives from said server, in response to said receives, a composition message in a specific format, wherein
- said specific format can be recognized and said format indicates that composition messages carry calls to said service, and wherein composition messages also carry results from said calls;
- said client recognizing said specific format when said composition message is received;
- said client
- automatically invoking said at least one service from said client on said server by sending a new request message including arguments included in said composition message;
- receiving call results from said at least one service in said client;
- sending said call results to any said server from said client;
- and
- maintaining in said client a call stack for handling composition massages by including the steps of:
- said client storing one of said composition messages in a top-most frame before performing service calls as instructed by said one of said composition messages,
- said client pushing a frame onto said call stack when initiating one of said service calls;
- when said one of said service calls terminates, said client removing the top-most frame by ending a result to said client, and
- before sending to any said server the said one of said composition messages, said client removing said one of said composition messages from the top-most frame.
A method for multiphase service composition in a distributed computing environment comprising at least one client land at least one server, comprising following steps:
- receiving a request on said server from said client;
- sending from said, server a composition message in a specific format to said client, whereby said composition message contains an instruction for said client to invoke a service and to send to, any said server a result of said invocation;
- receiving on any said server the result of said invocation;
- and
- maintaining in said client a call stack for handling composition messages by including the steps of:
- said client storing one of said composition messages in a top-most frame before performing service calls as instructed by said one of said composition messages,
- said client pushing a frame onto said call stack when initiating one of said service calls;
- when said one of said service calls terminates, said client removing the top-most frame by sending a result to said client, and
- before sending to any said server the results of one of said service calls as instructed by said one composition messages, said client removing said one of said composition messages from the top-most frame.
A method for service composition in a distributed computing environment comprising a client requesting a service and a server invoking said service, said method comprising the steps of:
- providing a composition message in a specific format, wherein said format indicates that composition messages carry calls to any additional service invoked by said request back to said client;
- sending a request to said server from said client invoking said service;
- said client receiving from said server, in response to said request, a composition message in said specific format, wherein in response to receiving said composition message, said client recognizing said specific format and, in response to said recognizing:
- said client sending a new request message including any said call to the additional service present in said composition message to said server or an additional server for invoking said additional service, wherein the arguments in said composition message that were obtained from invoking said service are also forwarded to said server or said additional server for invoking said additional service;
- and
- maintaining in said client call stack for handling composition messages by including the steps of:
- said client storing one of said composition messages in a top-most frame before performing service calls as instructed by said one of said composition messages;
- said client pushing a frame onto said call stack when initiating one of said service calls;
- when said one of said service calls terminates, said client removing the top-most frame by sending a result to said client, and
- before sending to any said server the results of said one of said service calls as instructed by said one of said composition messages, said client removing said one of said composition file messages from the top-most frame.
Dependencies are inferred from the claim text.