Patent ID: 8396788

Claim:
A method comprising: determining one or more distributions, to service execution environments, of component services associated with a composite service associated with an analysis of data generated by one or more sensors, the composite service including an ordering of execution of the associated component services for the analysis of the data, at least one of the service execution environments located at a first network node associated with a device layer and at least one other one of the service execution environments located at a second network node associated with a middleware layer that includes a request handling layer and a device handling layer; identifying valid distributions regarding resource constraints, resource demands and performance measures; determining an evaluation of each of the distributions of the component services by calculating a score for each distribution based on a metric associating one or more weighted values with a consumption by the each distribution of one or more respective resources associated with each of the first and second network nodes, wherein the metric includes a quality measure of distributions based on the consumption by each of the distributions of the one or more respective resources associated with each of the first and second network nodes; determining, based on the evaluation, a recommendation including one or more of the distributions for mapping the component services onto service execution environments located on network nodes; selecting, if the recommendation includes more than one distribution, a best distribution from the recommendation based on the respective distribution's score; deploying the component services according to the selected distribution to respective service environments; and initiating execution of the component services in the respective service execution environments at an entry point for processing via a service call mechanism that allows passing parameter values among the component services, wherein pre-processed result values are returned by each of the component services in succession by the ordering of execution of the called component services.