Research on Time-Space Consistency in Large-Scale Distributed Simulations
- Author
- ZhongHaiRong
- Advisor
- JinShiYao
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP391.9 Computer simulation
- Degree
- Doctoral dissertation
- Year
- 2005
- Downloads
- 932
- Citations
- 14
- Large Scale Distributed Simulation
- Time-space consistency
- Middleware
- High Level Architecture (HLA)
- Run-Time Infrastructure (RTI)
- Coordinate Transformations
- More Reward with More Service Time
- Entity Migration
- Real-time scheduling
- Time Advance
Abstract
Time-space consistency is a basic requirement in distributed interactive simulations. Owing to the boosting of relevant techniques and current requirements, distributed simulation is enlarging its application field in nearly all dimensions. Simulation systems become larger and wider, and more simulation entities are engaged. Consequently, time-space inconsistency comes to be a prominent trouble in large-scale distributed simulations.This thesis addressed some issues related on time-space consistency in High Level Architecture (HLA) simulation.Firstly, the definitions, classifications and causes of time-space inconsistency are presented; a method of quantitative analysis is proposed, including the definitions and calculating methods of various kinds of degree of time-space inconsistency, the designing requirements, as well as three policis to control time-space consistency. The relationship between time advance and requirement of time-space consistency is studied, and as a result, RTI (Run-Time Infrastructure) should play a role as a distributed real-time scheduler and introduce distributed real-time scheduling to overcome the dynamic time-space inconsistency in distributed simulations; the approaches for overcoming various kinds’ time-space inconsistency are presented finally.Then, this thesis specifically introduces the new techniques, as follows, for overcoming various time-space inconsistencies.According to the Principle of Locality in large-scale distributed simulation, the conditionality of advancing time among federates are analyzed. And an improved advancing-time strategy, which is based on Region’s Prediction, is proposed to avoid current "too conservative" strategy for computing LBTS, Lower Bound on Time Stamp, in HLA/RTI. By extending regions, the strategy can predict the conditionality in future interval. Federate whose time-constrained flag is true can advance time faster, because some federates, without restriction to it, will not be included to compute its LBTS. The optimistic synchronization is used to overcome disorder with little probability. Performance analysis and simulated tests shows the strategy can increase the degree of concurrent, speedup ratio and reduce time-space inconsistency.In order to overcome space inconsistency caused by different coordinates, the coordinate transformation mechanism in HLA/RTI simulation framework is discussed, such as how and when to transform, who accomplishes transformations, and how to designate used coordinate system in messages and to invoke corresponding coordinate transformation module. The modules for transformation between the ordinary coordinates are implemented. The synthetic transformation mode presented, in which the region should be transformed with standard coordinates when a federate declares its interests, while the receivers should transform to its own coordinates when a federate updates its states, can reduce transformations between different coordinates, and cut down the accumulated error in the transformations.According to the characteristics of the delay in WANs, we studied the control mechanism for the probabilistic-weak time-space consistency based on entity migration. Firstly, a criterion topartition entities for time-space consistency is proposed, which tries to make a compromise among load, access locality and communication bandwidth, and the significance entity migration owes to time-space consistency is also presented. Secondly, the advantages and disadvantages that HLA/RTI supports entity migration are studied, especially the entity-migration arbitration policy that satisfied probabilistic-weak time-space consistency. An entity-migration arbitration algorithm based on expected income is proposed. And finally the efficiency of entity-migration arbitration policy is verified by simulated tests.Based on MRMS (More Reward with More Service Time) model we studied the control mechanism for time-space quasi-consistency. At first, the relationship between MRMS model and time-space quasi-consistency in HLA simulations is analyzed. Then a heuristic policy, on-line two-level scheduling policy, is used, in which the top-level algorithm is used to determine the amount of service to allocate to tasks, and the lower-level algorithm is to determine the order to execute tasks by EDF (Earliest Deadline First). By the trade-off between the precision of computing simulated objects and their time-space consistency, consequently time-space quasi-consistency can be satisfied. At last, the simulated tests show that the two-level scheduling policy can improve the time-space consistency of system.Having the development of enabling technologies such as network, real-time operation system and middleware in mind, an extended HLA/RTI framework of time-space strong-consistency is studied. Firstly, the necessity and probability to extend HLA/RTI are analyzed, and the requirement and principle for HLA/RTI extending are presented. Secondly a HLA/RTI architecture with time-space strong-consistency is proposed, including presentation layer, RTI interior-function layer, abstraction layer, operation system layer and communication layer, etc., and the functions and implementation approach of these layers are presented. Finally, the extension in OMT and interface specification is discussed.The current HLA/RTI framework can not overcome time-space inconsistency in large-scale distributed simulations perfectly. So, in this thesis an extension of HLA/RTI based on middleware technique, which can not only encapsulate the standard RTI services but also extend needed ones, is proposed. These extended services can monitor the run-time performance of the simulation system, and be integrated with the time-space consistency technique discussed above. As a result, the extended HLA/RTI framework to overcome the time-space inconsistency can come into being, with the advantages of portability, compatibility and transparency.Finally, based on the research above, a prototype system is developed and tested as well. More improvement could be expected in the future.
Table of contents
Abstract 11-13
ABSTRACT 13-15
Chapter 1 Introduction 15-35
1.1 scale distributed simulation and development 15-20
1.1.1 Features 15-17
1.1.2 technology development history 17-19
1.1.3 Typical Applications 19-20
1.2 consistent with large-scale distributed simulation problems facing the space 20-24
1.2.1 temporal inconsistencies prevalent 20-21
1.2.2 temporal inconsistencies in large-scale systems is more serious 21-23
1.2.3 Effect of different temporal 23-24
1.3 temporal coherence of relevant research status 24-31
1.3.1 Consistency model 24-26
1.3.2 consistency maintenance technology 26-28
1.3.3 Technology Platform 28-31
1.4 content of this study and the main contribution 31-33
1.5 The paper is organized 33-35
Chapter 2, large-scale distributed simulation system temporal coherence 35-60
2.1 temporal consistency defined 35-39
2.1.1 Definition 35-36
2.1.2 Classification of temporal inconsistencies 36-39
2.2 Quantitative analysis of spatial and temporal coherence method 39-48
2.2.1 defines the degree of temporal inconsistency 39-41
2.2.2 temporal inconsistency degree computation 41-45
2.2.3 relative temporal inconsistency degree 45-46
2.2.4 temporal consistency requirement 46-47
2.2.5 temporal consistency control intensity 47-48
2.3 consistent with the time and space propulsion mechanism relationship 48-55
2.3.1 temporal coherence and distributed real-time scheduling 48-49
2.3.2 Lookahead value is consistent with the temporal 49-51
2.3.3 RTI space while maintaining consistent role 51-55
2.4 generalized space-time consistency problem 55-58
2.5 temporal coherence solutions 58-59
2.6 Summary 59-60
Chapter 3, based on regional forecasts is to promote optimization strategy 60-76
3.1 optimization time and space propulsion strategy to improve consistency 60-61
3.2 HLA / RTI time advance mechanism 61-63
3.2.1 Basic concepts related 61-63
3.2.2 LBTS calculation \
3.3 based on regional forecasts is to promote optimization strategy 63-71
3.3.1 distributed simulation applications, \
3.3.2 federate relationship between time constraints analysis 64-65
3.3.3 based on the \
3.3.4 Time propulsion optimization algorithm 67-70
3.3.5 to avoid deadlock 70
3.3.6 Implementation Framework 70-71
3.4 Performance Analysis and Scope 71-75
3.4.1 Concurrent processing time window and the concurrent analysis 71-72
3.4.2 Analog Test 72-74
3.4.3 consistent temporal causal analysis and scope 74-75
3.5 Summary 75-76
Chapter 4 HLA / RTI simulation framework and spatial coordinate transformation consistency 76-87
4.1 Coordinate Transformation necessity 76-77
4.2 common coordinate system conversion and implementation 77-80
4.3 HLA / RTI implementation mechanism of the coordinate transformation 80-86
4.3.1 How to convert 80-81
4.3.2 when converting 81-83
4.3.3 Who conversion 83-84
4.3.4 how to mark the coordinate system used 84-85
4.3.5 how to call the coordinate conversion module 85-86
4.4 Summary 86-87
Chapter 5, the probability of a weak entity-based temporal consistency of migration research 87-101
5.1 entity migration on the significance of dynamic spatial and temporal coherence 87-90
5.1.1 optimal temporal entity consistent configuration 87-90
5.1.2 Migration entities to improve the dynamic spatial and temporal coherence 90
5.2 HAL / RTI entity migration support and inadequate 90-91
5.3 entity migration probability temporal consistency of the weak control mechanisms 91-98
5.3.1 Weak probability temporal consistency analysis 91-93
5.3.2 entity migration decisions and arbitration 93-98
5.3.3 entity migration agreements 98
5.4 analog test 98-100
5.4.1 test simulation scenarios 98-99
5.4.2 Test Results 99-100
5.5 Summary 100-101
Chapter 6 MRMS model based on variable temporal consistency control quasi 101-112
6.1 MRMS model 101-102
6.2 HLA distributed simulation model becomes MRMS relationship with the prospective temporal consistency 102
6.3 MRMS model based on variable temporal consistency of the quasi- control mechanisms 102-109
6.3.1 system model 103-104
6.3.2 quasi- temporal consistency of control strategies 104-109
6.4 instance validation 109-111
6.4.1 simulation task instance feature 109-110
6.4.2 simulation and verification results 110-111
6.5 Summary 111-112
Chapter 7 HLA / RTI strong spatial and temporal coherence extensions 112-122
7.1 strong spatial and temporal coherence expand the necessity and possibility 112-113
7.1.1 Necessity 112
7.1.2 possibility 112-113
7.1.3 expansion requirements and principles 113
7.2 architecture 113-118
7.2.1 presentation layer 114-115
7.2.2 RTI internal functional layers 115-116
7.2.3 abstraction layer 116-118
7.2.4 operating system 118
7.2.5 communication mechanism 118
7.3 object model template expansion 118-120
7.3.1 attribute table 118
7.3.2 Parameters Table 118-119
7.3.3 Transmission table 119-120
7.3.4 because of the need to increase the optional table 120
7.4 interface specification 120-121
7.5 Summary 121-122
Chapter 8 based on HLA / RTI framework and temporal coherence solution prototype implementation 122-131
8.1 HLA / RTI framework for distributed simulation system runs 122-123
8.2 middleware-based expansion 123-127
8.2.1 Architecture 123-124
8.2.2 middleware technology 124-126
8.2.3 federate development 126-127
8.2.4 expansion scheme has the advantage 127
8.3 based on HLA / ERTI temporal consistency of technology integration 127-129
8.3.1 integrated solution 127-128
8.3.2 Performance Monitoring 128-129
8.4 Prototype Implementation and testing 129-130
8.4.1 prototype implementation 129-130
8.4.2 prototype testing 130
8.5 Summary 130-131
Chapter 9 Conclusion 131-134
9.1 thesis work summarizes 131-132
9.2 Further research 132-134
Thanks 134-136
doctoral and research papers published during work 136-138
References 138-152
Appendix 152-153
Related dissertations
- Time-Space Consistency in Large-Scale Distributed Virtual Environment
- Real-Time Adaptive Resource Management Middleware for Next Generation Avionics and Algorithms
- Research and Implementation on the Highly-scalable Distributed Interactive Simulation Support Platform
- Research on Extention of Function for HLA/RTI Based on Middleware
- The Study of Intelligent Warehouse System Based on the Internet of Things
- Design and Implementation of Secure Industrial Ethernet Based on Cortex-A8
- Research on Information Fusion Technology in Internet of Things for Context Awareness in Shmart Home
- Research on Web Information Extraction Middleware for Supply and Demand of Agricultural Products
- Development of Realtime Interface Device for Hit-tena’s Resources
- Research of RFID-based Commodity Anti-counterfeiting and Traceability System Technology
- Research and Application of RFID Middleware Based on Warehouse Management
- The Design and Implementation of the Securities Industry Large Centralized Trading System
- Research and Design of Middleware about Data Distributing in Campaign System
- Application and Research of Digital Room Service System Based on Cluster Server
- Design and Implementation of Food Safety Traceability System for Asia Group
- Passenger Transport Enterprises for the Public and Road Passenger Transport Management System Design and Implementation
- Seamless Steel Tube Production Logistics Management System Based on Radio Frequency Technology
- Distributed Electronic Health Record System Based on Middleware
- Development of the New System Applied to the Career Technical College
- The Design and Implementation of Hotel IC Card Management System Based on the Theory of RFID