21.01.2014 Views

Xiao Liu PhD Thesis.pdf - Faculty of Information and Communication ...

Xiao Liu PhD Thesis.pdf - Faculty of Information and Communication ...

Xiao Liu PhD Thesis.pdf - Faculty of Information and Communication ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.3.1 Calculating Weighted Joint Distribution<br />

The first step is to calculate weighted joint distribution. The statistic information, i.e.<br />

activity duration distribution <strong>and</strong> activity weight, can be obtained from system logs<br />

by statistical analysis [2, 57]. Afterwards, given the input process model for the<br />

scientific workflow, the weighted joint distribution <strong>of</strong> activity durations for the<br />

entire scientific workflow <strong>and</strong> workflow segments can be efficiently obtained by the<br />

composition <strong>of</strong> the four basic building blocks as illustrated in Section 5.2.1.<br />

5.3.2 Setting Coarse-grained Temporal Constraints<br />

The second step is to set coarse-grained upper bound temporal constraints at build<br />

time. Based on the four basic building blocks, the weighted joint distribution <strong>of</strong> an<br />

entire workflow or workflow segment can be obtained efficiently to facilitate the<br />

negotiation process for setting coarse-grained temporal constraints. Here, we denote<br />

the obtained weighted joint distribution <strong>of</strong> the target scientific workflow (or<br />

n<br />

2<br />

workflow segment) SW as N(<br />

µ sw,<br />

σ sw)<br />

where µ sw = ∑ w i µ i <strong>and</strong><br />

i=<br />

1<br />

n<br />

σ sw = ∑ w 2 i σi<br />

2 . Meanwhile, we assume that the minimum threshold for the<br />

i=<br />

1<br />

probability consistency is β % which implies user’s acceptable bottom-line<br />

probability, namely the confidence for timely completion <strong>of</strong> the workflow instance;<br />

<strong>and</strong> the maximum threshold for the upper bound constraint is max(SW )<br />

which<br />

denotes user’s acceptable latest completion time. The actual negotiation process can<br />

be conducted in two alternative ways, i.e. time oriented way <strong>and</strong> probability oriented<br />

way.<br />

The time oriented negotiation process starts with the user’s initial suggestion <strong>of</strong><br />

an upper bound temporal constraint <strong>of</strong> U (SW ) <strong>and</strong> the evaluation <strong>of</strong> the<br />

corresponding temporal consistency state by the service provider. If<br />

U ( SW ) = µ sw + σ sw with λ as the α % percentile, <strong>and</strong> α % is below the threshold<br />

<strong>of</strong> β % , then the upper bound temporal constraint needs to be adjusted, otherwise<br />

the negotiation process terminates. The subsequent process is the iteration that the<br />

user proposes a new upper bound temporal constraint which is less constrained as<br />

81

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!