Patent ID: 8769101
Filing Date: 2014-07-01
Classification: G06F,H04L

Abstract:
1. A method for handling a composite service, comprising: obtaining, by a service composition engine, a concrete service corresponding to a service invocation segment description in a composite service logic, wherein the service invocation segment is an abstract service invocation segment or a service template invocation segment, wherein the service composition engine supports a direct execution mode and indirect execution mode for the execution of the abstract composite service logic, wherein the direct execution mode refers to that the service composition engine directly executes the abstract composite service logic without firstly converting the abstract composite service logic to the concrete composite service logic, and the indirect execution mode refers to that the service composition engine replaces the abstract composite service logic with the concrete composite service logic first and then executes the concrete composite service logic and invokes the corresponding services; and triggering a service replacement, requesting to replace the service invocation segment with a concrete service invocation segment corresponding to the obtained concrete service; or, triggering a service invocation, requesting to generate a service invocation based on the concrete service, where obtaining a concrete service corresponding to a service invocation segment description in a composite service logic comprises: generating a service discovery request according to an abstract service invocation segment description, a service template invocation segment description or the obtained service template information; querying to acquire a service list which contains one or more concrete services matching the query information, according to the service discovery request; and selecting a concrete service from the service list; and, there is a mapping relationship between the concrete service and the service template and a corresponding concrete service or a service template is found according to the mapping relationship.