Method and system for executing data stream of Web service

A web service and data flow technology, applied in the field of web services, can solve problems such as long time for updating data flow, and achieve the effect of reducing the execution path

Inactive Publication Date: 2009-12-30
IBM CORP
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] If the response to the web service requires a large amount of data or the service takes a lon

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for executing data stream of Web service
  • Method and system for executing data stream of Web service
  • Method and system for executing data stream of Web service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] figure 1 is a flowchart of a data flow for executing a Web service according to an embodiment of the present invention. This embodiment provides a method for executing a data flow of a Web service. Wherein, in step S10, an execution tree or directed execution graph of the Web service is created, which includes multiple execution paths, and an execution path includes multiple nodes and connections between nodes. Nodes receive input data, process the data, and output the processed data. The process of execution is the process of executing data flow through the connection between nodes. Nodes in the execution path are generally nodes for obtaining data, computational nodes, or Web service nodes, and so on.

[0016] In step S15, the node for acquiring data may check whether the data source has changed. Here, the HTTP protocol can be used to determine whether the data source of the node has changed, and other protocols can also be used to determine whether the data sourc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and a system for executing a data stream of a Web service. The method comprises the following steps: creating an execution tree of the Web service; responding to the change of a data source of a node or responding to the change of the data processing logic of a node and determining a changed path so as to determine a path requiring to be renewedly executed; executing the path requiring to be renewedly executed, wherein the execution tree comprises a plurality of execution paths, and each execution path comprises a plurality of nodes and connections among the nodes. Once the execution tree is created, when the data stream requires to be renewedly operated next time, if the execution path of the data stream is not changed, for example the place for receiving data of a node is not changed, only the data source is changed or the data processing logic is changed, the execution tree does not need to be renewedly created according to the method and the system, but the execution paths can be reduced.

Description

technical field [0001] The present invention relates to Web services, and more particularly to methods and systems for executing data flows of Web services. Background technique [0002] Web services are generally based on Web protocols. Web services can be used to create products, business processes, B2B interactions, etc. on the Internet or Intranet. Data flow refers to the movement of data across a system from ingress to destination. [0003] Connections between distributed Web services are usually described using data flows. Wherein, a Web service call is represented as a step, and a data connection between Web services is represented as a connection between steps. A connection can also be used to represent a data connection between a Web service and a data operation, such as filtering and sorting. [0004] In the prior art, to execute a Web service, generally an execution tree or a directed execution graph is created first. An execution tree or directed execution g...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L12/56H04L29/08H04L12/825
Inventor 张军单松巍毛新生成富
Owner IBM CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products