A Workflow Oriented Computation Model and Its Distributed Runtime Enviroment
- Author
- ShangKun
- Advisor
- GuXueYong
- School
- Tsinghua University
- Major
- Management Science and Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 26
- Citations
- 0
Abstract
This paper studied the formal definition of data manipulation in Many Sorted Logic, Entity-Relationship Model, and the mathematical definition of Coloured Petri Nets, established a concurrent and workflow oriented functional computing model, named EPNet, and implement the preliminary formal definition of EPNet structural characteristics and executive semantic.This paper designed and implemented Java-based distributed EPNet execution environment, named Tetra-Net, to concrete implement the execution semantics of the EPNet. This paper discussed the technical feasibility of serialized command transfer mode, computing status persistence methods and computing tasks remote loading and executing behavior in Internet computing environment. This paper also presents an EPNet model decomposition method and assignment algorithm, automatically assign the computing tasks into different remote computing nodes to improve the EPNetexecuting efficiencyat runtime. A load balancing mechanism is also designed to make full use of remote computing node capacities. In part III, some experimentsdemonstrate the executing efficiency improvement byusing the assignment algorithm and load balancing mechanism.Combination of basic control flow patterns of EPNet can describe concurrent, asynchronous, distributed, paralleland other complex system logicintuitively.Distributed RDBMS based persistence implementation enable Tetra-Net can storage large homogeneous data.In part IV, this paper use EPNet to analyse Discrete-Time Markov Chain and asynchronous serial productionsystemto validate EPNet modeling ability and executing environment correctness.
Table of contents
Abstract 3-4
Abstract 4-8
Chapter 1 background and literature review 8-42
1.1 workflow and Petri net 9-15
1.1.1 workflow concepts 9-11
1.1.2 object process methodology 11
1.1.3 Petri Nets in (PTNet ) 11-13
1.1.4 the Coloured Petri Nets (CPNet) 13-15
1.2 computability and compiler theory 15-17
1.2.1 The formal language and automata theory 15-17
1.2.2 compiler theory and technology-related concepts 17
1.3 data and operating 17-27 < br /> 1.3.1 Naive set theory 17-18
1.3.2 propositional logic and first order predicate logic 18
1.3.3 Many-Sorted Logic and Modelclass 18-23
1.3.4 entity-relationship model, relational algebra and SQL language 23-25 ??
1.3.5 relational database tools introduced 25-26 <br / > 1.3.6 embedded computing kernel introduced 26-27
1.4 distributed computing framework 27-34
1.4.1 the concept of distributed computing 27-28
1.4.2 Computational Grid 28-29
1.4.3 cloud computing 29-32
1.4.4 Other open-source distributed computing framework 32-34
1.5 distributed scheduling algorithm 34-40
1.5.1 Distributed computing tasks model 34-36
1.5.2 simple task allocation model 36-37
1.5.3 production line operation planning 37-40
1.6 of this chapter Summary 40-42
Chapter 2 EPNet computational model nbsp 42-48
of 2.2 EPNet group model; 42-54
2.1 logic implementation of the abstract description 48-50
2.3 status and behavioral characteristics 50-54
Chapter 3 EPNet runtime environment designed 54-92
3.1 remote computing node design 55-71
3.1.1 JSON serialization Description 57-59
3.1.2 Entity remote loading and access to the instance of the relational database 59-62
3.1.3 Process execution instance to achieve 62 - 64
3.1.4 Based on the Process of Java multi-threaded concurrent execution 64
3.1.5 TCP port command 64-65
3.1.6 remote computing node procedural framework Figure 65
3.1.7 single-node performance testing 65-68
3.1.8 Name Server registration mechanism 68-69
3.1.9 software Introduction 69-71
3.2 distributed execution mechanisms and scheduling design 71-92
3.2.1 EPNet of distributed operating mechanism 71-77 < br /> 3.2.2 remote computing node management 77-78
3.2.3 based on the realization of the Java EPNet description, and distributed deployment 78-79
3.2.4 dynamic load balancing to achieve 79
3.2.5 Distributed running instance 79
3.2.6 performance test 79-92
Chapter 4 EPNet example model and example results of the implementation of verification 92-111
4.1 basic control flow patterns 92-94
4.1.1 serial (causality) mode (Sequence) 92
4.1.2 parallel branch mode (Parallel Split).; 92-93
4.1.3 synchronous mode (Synchronization) 93
4.1.4 select the mode ( choice) 93-94
4.1.5 merge mode (Simple Merge).; 94
4.2 Discrete-time Markov chain (DTMC) example 94-98 < br /> 4.3 asynchronous serial production system simulation example 98-111
4.3.1 EPNet model example is the establishment of two-table system 98-105
4.3.2 nbsp 4.3.3 Multi-table serial system; 105-108
example 108-109
4.3.4 Summary 109-111
5 Chapter summary and outlook 111-114
References . 114-119
thank 119-120
Appendix 1 compiler theory and technology related concepts 120-125
Appendix 2 norm equivalence class definition 125-130
Appendix 3 remote computing node port command 130-137
Appendix 4 Java-based EPNet element description 137-140
Appendix 5 EPNet distributed running instance 140-145
Appendix 6 first-order predicate logic 145-148
Appendix 7 PTNet the formal description 148-150
Appendix 8 CPNet formal definition and implementation of nature 150-153
biographical notes, published during the school academic and research 153