Design and Implementation of Centralized and Distributed Self-Adaption of Simulation System Framework

Similar documents
Design and Implementation of Office Automation System based on Web Service Framework and Data Mining Techniques. He Huang1, a

The Research of Middleware Architecture of Intelligent Logistics System Based on SOA

Research on the Application Integration Model for the Agricultural Enterprise of Integrative Production and Marketing

Design of Seismic Intensity Rapid Report Platform Guo Yunkai 1,*, Tan Qiao1, Li Zhitao1, Fu Jihua1, Xiao Ke2

Design and Implementation of Heterogeneous Workflow System Integration Mode Based on SOA Framework

15th ICCRTS. The Evolution of C2. Title of Paper: Network Centric Simulation Architecture. Topic(s): 6, 1, 8

Research on the simulation of an Automatic Train over speed Protection driver-machine interface based on Model Driven Architecture

Research on Design and Implementation of Intelligent Warehouse Management System in Z Company

Research on Model-Driven Simulation Approach for Healthcare Information System

Design and Research on Co-simulation Training System of Large-Scale Power Grid with Distribution Network Based on Intelligent Materials System

The Research of Online Analysis Computing Mode Considering the Integrated and Cooperative Multi-Level Dispatching Systems

Application of Plug-in Technology in Computer Software Technology

RESEARCH OF BEIJING AGRICULTURE INFORMATION SERVICE PLATFORM BASED ON SOA ARCHITECTURE

AGENT-BASED WHEAT SIMULATION MODEL COOPERATION RESEARCH

Combined Programming of LabVIEW and Simulink to Simulate a Hybrid Energy Power Generation System

Laboratory Management Based on Internet of Things. Jianming Huang

Changes of Clothing Distribution Logistics Management RFID Technology

Design of AGV 3D Real-Time Simulation Control System Based on Wireless Network

A Platform Design for GIS Scientific Research Service Based On Middle-Ware

Production Management Modelling Based on MAS

BUSINESS FLOW INTEGRATION FOR E-COMMERCE AND ERP SYSTEM

Design of Automatic Packaging and Palletizing Device of Secondary Intelligent Production Line for Motor Rotor of Electric Tool

PREDICTIVE-CONSERVATIVE SYNCHRONIZATION FOR COMMERCIAL SIMULATION PACKAGE INTEROPERABILITY. Singapore Singapore

CIMFLOW A WORKFLOW MANAGEMENT SYSTEM BASED ON INTEGRATION PLATFORM ENVIRONMENT

China. Keywords: Automotive manufacturing, Servitization, Total factor productivity (TFP), Research and development (R&D).

Design and implementation of energy management system software in green building

STUDY ON BIM-BASED STRUCTURAL WORKING DRAWING DESIGN SYSTEM

A Semantic Service Oriented Architecture for Enterprise Application Integration

A New Management Architecture for College Graduate Employment Based on the Electronic Employment Agreement

The application of workflow management technology in Web-based collaborative produce development

Application of System Simulation in Mechanical Improvement of Express Processing Center

SOA Oriented Web Services Operational Mechanism

Research on Operation Mode of Intelligent Logistics Base on Fourth Party Logistics Platform

Windchill PDMLink Curriculum Guide

Expert System Applied to High-Speed Railway Track Circuit Coding and Its Simulation

A Service-Oriented Architecture for Design and Development of Middleware

Information Integration of Virtual Enterprise Based on Service-Oriented Architecture

A Web Service-Based Approach to Integrated Information Management for Railway Emergency Scenario

The Development Status Quo and Counter measures of Logistics Informationization Standards of China

Models simulation and interoperability using MDA and HLA

A SYSTEMS ENGINEERING PROCESS SUPPORTING THE DEVELOPMENT OF OPERATIONAL REQUIREMENTS DRIVEN FEDERATIONS

The Next Step - Applying the Model Driven Architecture to HLA

IT6801 / Service Layers/ A.Kowshika SERVICE LAYERS

Design of material management system of mining group based on Hadoop

Production Scheduling System for Oil and Gas Storage and Transportation Based on GIS and SCADA Technology

Design of SaaS Layer Cloud Platform for Rapid Design of Series Products Wuxue Jiang 1, Dukun Ding 2, Yuqiang Chen 1, Wenliang Cao 1, Yan Liang 3

Simulation of a high-speed train control system based on High Level Architecture and its credibility analysis

Towards a Model-driven and Tool-integration Framework for Co- Simulation Environments. Jinzhi Lu, Martin Törngren

Xiaobing Zhao Ameya Shendarkar and Young-Jun Son

Car Service Spare Parts Procurement Process Improvements Based on SOA

Drugstore Control System Design and Realization Based on Programmable Logic Controller (PLC)

CHAPTER 7 DESIGN AND IMPLEMENTATION OF AN APPLICATION LAYER ORIENTED ARCHITECTURE FOR RFID SYSTEMS

The Application and Research of Property-management Information System based on JSF Technology Lin Tang

Analysis on Critical Factors for PDM Success Implementation in Chinese Tobacco Industry Enterprise Yong Cen, Hong-Lv Wang

A Framework for Seamless Information Retrieval between an EPC Network and a Mobile RFID Network

Design and Implementation of Web-Based Food Regulatory Information Resources Management Platform

SOA-based Collaborative Modeling Method for Cross-Organizational Business Process Integration

Intellicyber Development Exchange Material Handling Equipment IDX MHE. White Paper

The application of Information Exchange Bus in Electric-power Information System

An Application Research on Configuration Software System Platform Based on Component Technology

Service Oriented Architecture. Reference MIDDLEWARE & ENTERPRISE INTEGRATION TECHNOLOGIES By

Dynamic Parameterized States Tracking for Reusable Workflow Routing

Application of Radio Frequency Identification Devices Technology in Vehicle Logistics Electronic Transfer System and Logistics Management Data Errors

1 INTRODUCTION GENERIC COMPONENTS INTERFACES Interface with non-ros-based AGVs Interface with ROS-based AGVs...

A SaaS-Based Logistics Informatization Model for Specialized Farmers Cooperatives in China

Service-Oriented Analysis and Design for Constructing the Online Sales Process Integration

Path Planning for Multi-AGV Systems based on Two-Stage Scheduling

Introducing. Data analysis & Machine learning Machine vision Powerful script language Custom instrument drivers

Research and Application of the Control Technology for Flexible Manufacturing System Based on PROFIBUS

CLOUD COMPUTING- A NEW EDGE TO TECHNOLOGY

Information Integration of Engineering Construction Project Based on Management Process. Cui Bo

Analysis of Cooperation between Wind Power and Load Side Resources

Coordination Mechanisms in the Supply Chain Based E-business

SOA BASED INTEGRATION INFORMATION SERVICE PLATFORM STRATEGY IN RURAL INFORMATIZATION

IBM WebSphere Service Registry and Repository, Version 6.0

An Expert System Approach for Analyzing and Evaluating the Testing Results of CTCS-3 On-board Equipment

Model Driven Architecture as Approach to Manage Variability in Software Product Families

The Research of the Tracking and Traceability System for Vegetable Quality Assessment and Assurance

Research Article Study on the Students Intelligent Food Card System Based on SaaS

Research of the Social Media Data Analyzing Platform Based on Cloud Mining Yi-Tang ZENG, Yu-Feng ZHANG, Sheng CAO, Li LI, Cheng-Wei ZHANG *

Windchill PDMLink Curriculum Guide

Design of Rotary Root Stubble Digging Machine Based on Solidworks

International Conference on Management Science and Management Innovation (MSMI 2015)

DECISION SUPPORT SYSTEM OF VARIABLE RATE IRRIGATION BASED ON MATHEMATICAL MODEL AND GIS

Research and Application Study on Accident-Based 3D Power Station Simulation Technology

SPECIAL CNC BASED ON ADVANCED CONTROLLER

e-commerce, a New Strategy for Marketplaces

CCRA: Cloud Computing Reference Architecture

Windchill ProjectLink Curriculum Guide

New Solution Deployment: Best Practices White Paper

PhD Dissertation Defense Presentation

Can MDA help Defense and Government Achieve Interoperable Components?

1Introduction. Features. 2System. Automation College, Beijing Union University, Beijing, China

ENGINEERING TESTING PROCESS MANAGEMENT SYSTEM BASED ON.NET FRAMEWORK

Oracle Fusion Applications Supply Chain Planning, Order Promising Guide. 11g Release 1 (11.1.4) Part Number E

Research on the Mobile Electronic Delivery Platform for Iron and Steel Sales Logistics Based on 3G Netbook

Research of Modeling in Complex Manufacturing-process-oriented Visual Production Fucheng Pan 1, Peng Li 2, a

Service Orientation for the Design of HLA Federations

Research on the Processes and Strategic Points of SOA Project Implementation

Research on Optimization Design of Multi-motor Intelligent Dispensing System

Transcription:

Design and Implementation of Centralized and Distributed Self-Adaption of Simulation System Framework Jianxing GONG, Jiangtao KONG, Jianguo HAO, Jian HUANG College of Mechatronics Engineering and Automation, National University of Defense Technology, Changsha 410073, China Abstract Firstly, the integration techniques of simulation systems, such as component-based, middleware-based and bridgedesign mode and so on, have been introduced in this paper. Then, based on these, a common simulation system framework has been designed on the view of software architecture, which enables the simulation system based on the simulation system framework to run on the distribution mode and the centralized mode. Moreover, based on the two running mode, the simulation system could use the same modeling specification, the unified protocol of data interoperation and integrative simulation running infrastructure. Lastly, according to the above design idea, this thesis has put forward the implementation process of key software modules, application modes and the work flow, which simulation model components and simulation running infrastructure based on the simulation system framework would meet the requirement of self-adaption of distribution mode and the centralized mode so that it has improved the reusing and interoperability of resources of simulation system. Keywords - design mode based on bridge; simulation system framework; centralized and distributed self-adaption; simulation model component; simulation running infrastructure I. INTRODUCTION Reusability and interoperability have always been one of the basic principles of designs of simulation system. How to max the reusability of simulation system, improve the developing efficiency of the system and expand the field of application are one of needs of simulation system s reconstruction at present and in the future. Simulation system framework is defined as a kind of simulation system or semireusable design which represented by a set of reusable simulation models and correlations of those models or simulation system frame that can be instantiated by system developers. Therefore, simulation system framework is a partial implemented simulation software system structure and a technology that can reuse simulation system and implementation. Nowadays, HLA[1] (High Level Architecture) has been widely used in simulation system design and development in distributed simulation domain and has been the standard of distributed simulation development. The framework, rules, OMT (Object Model Template) and federate interface provided by HLA ensure the reusability and interoperability of distributed simulation system as far as possible. Thus, the former developing incompatible HLA simulation system (such as, JSIMS, JMAS, OneSAF) generally use centralized running mode and provide the modules to connect with HLA which can be implemented in high-speed using the integration and use the interoperation with distributed simulation system based on HLA and non-hla system. Because this centralized simulation systems only draw support from HLA, not their own characteristics and can t compatible with HLA completely, they can hardly get best reusability and interoperability in distributed running mode, for example, they have own standard of modeling, protocol of data interoperability and running platform. Design and implementation of a universal simulation system framework is proposed in this paper which has great compatibility in distributed and centralized simulation running mode and use consistent standard of modeling, unified protocol of data interoperability and integrative running platform. This simulation system framework allows users to select different running modes based on their needs, adapt the centralized or distributed mode automatically and implement the high reusability and interoperability of simulation system resources. II. RELATED TECHNOLOGY OF SIMULATION SYSTEM INTEGRATION technology [2][3]has been one of the popular and mature technology in most simulation system designs which integrates simulation systems in high speed using the combination and reusability of component modules. Middleware technology[4][5]detaches the universal and dedicated modules efficiently, reduce the coupling degree between universal modules in low level and application modules in high level and improve the reusability and adaptability of simulation system. Bridge-Design method enables detach the abstract interface and implementation efficiently, the basic structure of which is free form changes of implementation because of changes of application requirements and improve the adaptability and robustness of simulation system. In this paper, these three methods are the basic technology of simulation system framework and integrate simulation systems based on above framework fast and conveniently. DOI 10.5013/ IJSSST.a.17.44.07 7.1 ISSN: 1473-804x online, 1473-8031 print

A. Integrated technology base on component technology has been widely used in many industries and also in simulation field. Because of different limitations of application requirements and field characteristics, component technology doesn t have a united specification and standard. Thus, BOM[6] (Base Object Models) is used in this paper which is also an object model [7]and a model description standard for composition models based on the object models of HLA. With the purpose of providing a kind of mechanism promoting interoperability, reusability and composability, BOM specification raised by SISO (Simulation Interoperability Standards Organization) helps to implement the composability based on components in the field of modeling and simulation. Regarding the interoperability, reusability and composability as its core, BOM has the idea of DIY (Do it by yourself) through combining reusable simulation resources into customized simulation system according to requirements. With the standard specification describing component-oriented models, BOM provides an open architecture for extendable, composable and interoperable simulation systems. BCI models. At last, the interface assembly and combination of functions are implemented. This design can integrate simulation systems rapidly and improve the self-adaptation ability of the system. BOM1 BOM2 BOM3 BOMn Developing BCI1 BCI2 BCI3 BCI4 Interface Assembly Composing Figure 2. BOM-Based Integration of Simulation System B. Intergradation Technology Base on Middleware Figure 3. Structure of Simulation System Base on Middleware Figure 1. BOM Architecture As illustrated in Fig. 1, BOM architecture [8] is composed of three levels. The top level is the view of federates and also a view of simulation system design, that is federates structuring federation in the distributed simulation field based on HLA. This view shows that simulation system is composed of one or several simulation models described by reusable BCI (BOM Implementation). In the concept interface level, IF-BOM (Interface BOM) describes the simulation model component s ability of data exchange and interrelationship with external though one or several related object class or interactive class. Design of simulation system as shown in Fig. 2, firstly, simulation system assembles corresponding BOM (Encapsulation BOM) according practical needs. Secondly, according to different mapping rules based on the idea of MDA, PIM [9] (Platform Independent Model) BOM models are transformed into PSM (Platform Specific Model) As shown in Fig. 3, infrastructure of simulation system mainly includes two parts: simulation system middleware and services (usually provided by simulation runtime platform, such as RTI [10]). The middleware is a narrowsense software middleware, acting as a bridge between application system and simulation system services. This helps to isolate the realization of runtime services and the detailed application system, which enables the simulation application software developed based on this structure running in a distributed and centralized runtime services. Thus the infrastructure realizes the cross-platform transplantation of simulation model components and simulation system under the circumstances of little changes or even no compilation. C. Intergradation Technology based on Bridge-Design Mode The simulation service in infrastructure of simulation includes simulation service abstract interface and implementation two parts. Simulation service abstract interface is provided for users and supplies necessary data for simulation service, according to which, the call of simulation service can be completed. Connected with the simulation service by a simulation adaptor, the same simulation service DOI 10.5013/ IJSSST.a.17.44.07 7.2 ISSN: 1473-804x online, 1473-8031 print

abstract interface can have multiple simulation service realizations. Client IFSimEventPort SendSimEvent ServiceIF() Adaptor ListenToSimEvent IFWService ServiceImp() OperationImp () OperationImp () data. In order to guarantee the independence of components, they cannot communicate directly and the distribution, filtration and cache of data are completed by data manager layer. After data processing layer, the components are transferred into prescriptive simulation events. Then, simulation events will call corresponding simulation services. At last, the data communication layer will implement the data interoperation of internal components and other components of simulation system in distributed running mode which makes the interoperation between components more efficient. 2) Logical structure Figure 4. Implementation of Simulation Services Base on Bridge-Design Mode Changeable Part User Interface As shown in Fig. 4, in the implementation structure, the left is abstract interface of simulation service. The right is implementation of simulation service and the adapter is in the middle. While the abstract structure remains the same, the bridge-design mode adapts simulation services in different simulation platform wonderfully. III. DESIGN OF SIMULATION SYSTEM FRAMEWORK Generally, simulation system framework is a universal module in simulation system. As a specialized module, the simulation model component designs a favorable soft framework for supplying itself an efficient data interoperation mechanism. A. Design of software framework In this section, the data layer and logical layer of simulation system soft framework are discussed. 1) Structure of Data Level Figure 5. Structure of Simulation System Framework Base on Data Level As illustrated by Fig. 5, the simulation system framework is very data centric. And flowing of data drives the running of the whole framework. Thus, according the different needs of data, the structure of simulation system framework is divided into four main layers: data providing layer, data manager layer, data processing layer and data communication layer. Each layer can only calls the services provided by contiguous layers. The top layer is simulation model components related to applications which use and provide Unchangeable Part Proxy Proxy Proxy Proxy Tables of Data filter Simulation s Manager Simulation Scheduler Simulation Adapter Simulation Server Modules Data Buffers Simulation Engine Figure 6. Logic Structure of Simulation System Framework Mode As shown in Fig. 6, a simulation system is abstracted and divided into changeable and unchangeable parts. On the application layer of the simulation system which is useroriented, the changeable part is mainly composed of different model components with different functions and other application components. The paper defines the unchangeable part as a simulation system framework, controlling the data filtration, cache and distribution of the simulation system. Besides, it also dispatches simulation model components based on the BCI, drives the harmonious advancement of model components in the simulation system and invokes simulation services module provided by simulation system framework through the simulation adapter. The simulation system framework will not couple with any specific simulation model components and is also independent of detail simulation application. It is customized according to user s requires. This framework is not a specific simulation application system, but a general framework for constructing different kinds of simulation system through combination of model components. B. Data Interoperability of s The Fig. 7 is interoperability implementation approach based on the simulation model component of BOM, the I/O data channel of simulation system framework is the inner data channel of simulation system (in distributed system, it means federate) and the data interactive way among simulation model component. The framework does not use the broadcast way of distributing data produced by model components, while the data filtering net regarding IF BOM DOI 10.5013/ IJSSST.a.17.44.07 7.3 ISSN: 1473-804x online, 1473-8031 print

as its components used in data regional filtering mechanism. The simulation model components are mainly composed of two parts: BOM implementation and BOM interface, which depicts the interaction of model components and the ability of the interaction among simulation model components and between simulation model components and the outer environment respectively. Through the BOM information provided by each simulation model component, the simulation scheduler can get all the publishing and subscribing information of model components in the whole framework and filter the data within federates effectively, reduce redundant data transmission and improve the transmission ability of I/O data line in framework. 1 2 3 Service Port Service Port Assembly BOM Service Port Simulation system/federates Figure 7. Interoperation among s C. Simulation Scheduling Algorithm The scheduling algorithm of the simulation system framework is actually based on the method of BL [11] protocol which first defines the unique look ahead[12] for every simulation model components to ensure the visibility of all those TSO events in the future. The safe execution time window, i.e. LBTS min, can be computed by look ahead. The simulation model components inside the time window are permitted to advance based on the priority to determine the calling order. The specific scheduling process is shown in Alg.1. Alg.1 Simulation Scheduling Known:time lookahead of each simulation model component (LP i.lookahead) and LP i.requested_time,ib (system framework of inner cache area), IE(inner event), EE (external event). 1.LBTS min=min{lp i, LP i.lookahead+lp i.requested_time } 2. L {LP LPi, LPi.requested_Time LBTSmin} 3.SortByPriority(L) 4.while(L Ø) { 5. LP i.lookahead head(l) 6. EL RO EL RO CheckOutSimEventOfRO(LP i ) 7. EL TSO {e e ELTSO, e.timestamp LBTSmin} CheckOutSimEventOfTSO(LP i) 8. LP i.local_time LP i.requested_time 9. LP i.state update 10.} 11.while(EL RO Ø) { 12. EL RO EL RO-{e} 13. {IE,EE} execute(e) 14. IB IB IE 15. Send(EE) 16.} 17.SortByTimestamp(EL TSO) 18.while(EL TSO Ø) { 19. e head(el TSO ) 20. {IE, EE} execute(e) 21. IB IB IE 22. Send(EE) 23.} IV. THE REALIZATION OF SIMULATION SYSTEM FRAMEWORK The above discussion is described mainly from the angle of architecture design of simulation system framework. This section will described the core module of simulation system framework, the application model of framework and the processing of key module from the implementation perspective. A. key modules of realization As shown in Fig. 8, the simulation system framework mainly includes: simulation execution control module, component management module, data distribution module, simulation service module and network service module. 1) Simulation Execution Control Module This module is used to provide the human-computer interaction interface, control the running state of simulation such as starting, pausing, continuing and ending and so on, and analyze the configuration information of the system, controlling commands of simulation. Moreover, through simulation service module, it establishes data interaction table among components, as well as the table between system and external federate in the distributed running mode. Under the centralized running mode, the simulation execution control module loads the data distribution module and the component management module, inputs the script data for data distribution module and the component initial information of system configuration for component management module respectively. 2) Management Module The simulation model component management module includes the component combination management unit, the component scheduling management unit and the component event management unit. The component combination management unit obtains the system configuration information parsed by the execution control module, checks the completeness of component resources of simulation models, and loads components composed to build the simulation system. The component scheduling management unit stores the component instances created by the combination management unit through the scheduling DOI 10.5013/ IJSSST.a.17.44.07 7.4 ISSN: 1473-804x online, 1473-8031 print

manager and manages the scheduling states of components during the simulation running. The component event management unit manages the simulation events generated in the process of scheduling management unit and calls the simulation service module to realize data interaction among model components. 3) Data Distribution Module This module is used to parse the input simulation script data file under the centralized running mode, obtain the information of simulation entities and their corresponding components. In the process of simulation running according to the time of its advancement, this module outputs temporal system configuration files, sends corresponding script data and calls the service module to distribute script data to model components by simulation events. Data Distribution Module Data Parser Unit Data Distribute Unit Simulation Execution Control Module Human-computer Interaction Uint Configuration Parser Unit Execution Control Unit Simulation Service Module Data Interaction Declaration Unit Object Time Coordinate Network Service Module Data Converting Unit Service Transformation Unit Management Module Combination Scheduling Event 1) Distributed Application Mode Figure 9. Distributed Running Mode As shown in Fig. 9, the Runtime Infrastructure of Simulation System reads the specified configuration files of simulation system through human-machine interaction unit provided by Simulation Execution Module in the distributed running mode. And those files are parsed by the configuration analysis unit. The result of the parse information is used as the input of the component management module. According to the information, component management module loads simulation model components (SCMs) in specified locations to construct of simulation system. Through invoking the RTI services, successfully established system would be added to the Because the runtime infrastructure and specified version of RTI are separated,hla distributed simulation system as a federate in compliance with HLA specification and realizes interoperability with other federates. 2) Centralized Application Mode HLA Services Management Unit Figure 8. Software Modules of Simulation System Framework 4) Simulation Service Module This module is used to provide model components with simulation service set, realize data publishing and subscribing among components. Moreover it establishes data interaction table among components as well as table between system and external federates in the distributed running mode, maintains the registration and remove of model entities within system and coordinates time advancement of the runtime simulation system. 5) Network Service Module The network service module is used for the transformation among the RTI serves and the framework simulation services under the distributed running mode. It can separate model components and RTI, and ensures the data interaction between system s runtime infrastructure and external federates. B. application mode By the simulation system framework, it can make simulation system auto-adapt the operating requirement of the two modes which is distributed application mode and centralized application mode without modification even compiled code. Figure 10. Centralized Running Mode As shown in Fig. 10, under the centralized running mode, the Runtime Infrastructure of Simulation System reads a simulation script data file through human-machine interaction unit provided by simulation execution control module. Firstly, data files are converted into system configuration files by data parse unit of simulation data module and analyzed through configuration parser unit of simulation execution control module. Then the script data is embedded into the system configuration file as an independent information node. Just as the distributed running mode, component management module loads components required by the construction of simulation system according to the system configuration information. While different DOI 10.5013/ IJSSST.a.17.44.07 7.5 ISSN: 1473-804x online, 1473-8031 print

from distributed running mode, the infrastructure would not need the network service module anymore but as an independent-running simulation system. C. Processing of Modules The processing of core modules of the simulation framework is as follow. 1) Processing of Management Module As shown in Fig. 11(a), SMC management module constitutes the configuration information from simulation module, auto loading and combining SMCs to construct the simulation system. Through the BCI provided by SMC to build data interaction among SMCs, and then waiting for the simulation command from simulation execution control module. SMC management module maintains SMC schedule list, according to the schedule list coordinates scheduling sequence of simulation model component. As shown in Fig. 12(a), simulation service module constitutes configuration information based simulation system and build interactive map data between the inner SMCs and the outer simulation system.it will monitor the simulation events when simulation operates. The simulation service module parses simulation events, obtain the event type and invoking the corresponding simulation service once monitoring. If the running mode is the distributed application mode, it delivers the simulation event to the simulation service module, otherwise, waiting for new simulation event. 4) Processing of Network Service Module Read composition configuration of simulation system Load SMCs Parse the simulation script Build the queue of simulation script data Compose SMCs to build simulation system Wait for the start command Start Wait Waiting for start command Schedule SMCs Update event list of SMCs Waiting for the stop command Stop Starting Clear event list and schedule list of SMCs waiting Wait (a) Processing of SMC Management Module No Query the simulation script data Is exist the simulation script data to send? Yes Distribute the simulation script data Wait for the stop command Stop Clear the queue of the simulation script data Wait (b) Processing of Data Distribution Module Figure 11. Process of Management Module and Data Distribution Module 2) Processing of Data Distribution Module The treatment scheme of Data Distribution Module as shown in Fig. 11(b), it is effective only in distributed application mode and can be automatic identification by simulation system framework. First, it can parse the simulation script and building the queue of simulation script data according to time node information of simulation script, then it waits for the start simulation command from simulation execution control module. According to the simulation time advancement, Data Distribution Module can query the simulation script data and check whether it exists the simulation script data to be sent. 3) Processing of Simulation Service Module (a)processing of Simulation Service Module (b)processing of Network Service Module Figure 12. Process of Simulation Service Module and Net Service Module According to the running mode, the simulation system framework decides whether load the network service module. Only when it is the distribution running mode, Network Service Module can be loaded by the simulation system software framework. The whole process is shown as Fig. 12(b). Received the events from Simulation Service Module, Network Service Module parses the data of the events and maps them to the specified simulation services. Then Network Service Module invokes the simulation services and uses the events data as parameters of the service. V. 5 CONCLUSIONS The distributed and centralized-integrative Runtime Infrastructure of Simulation System proposed in this paper could load component-based models according to specific requirements of simulation application system. Through composing model components, it not only improves the developing efficiency of simulation system, but also enhances the reusability of models, thus realizing flexibility of structure and customization of functions for simulation system. Besides, the separation between models and implementation details of specific runtime infrastructure of simulation system helps models to be applied in large-scale distributed simulation system as well as small-scale centralized system, which enhance the adaptability of models. DOI 10.5013/ IJSSST.a.17.44.07 7.6 ISSN: 1473-804x online, 1473-8031 print

By using the component technology and data publishing and subscribing mechanism, the coupling degree between models has been reduced, which improves the parallelism of simulation models. Achieving parallelism of model calculation, simulation scheduling [13], time management in parallel and distributed real-time simulations [14] and simulation cloning [15] is one of the research hotspots in simulation application area, which is also the further work of this paper. ACKNOWLEDGMENT This work was supported by the National Nature Science Foundation Grant, funded by the Government of the People s Republic of China (Project No.61074108). The authors would like to thank an anonymous referee for their constructive comments. REFERENCES [1] IEEE Std 1516-2000 (2010) IEEE Standard for Modeling and Simulation (M&S) High Level Architecture (HLA) Frame and Rules, IEEE, 2010.8. [2] Manders, E.-j; Biswas, G.; Mahadevan, N; Karsai, G., oriented modeling of hybrid dynamic systems using the generic modeling environment, MBD/MOMPES 06, 2005. [3] LI San-de, The Study on -Based Development Environment Wuhan University of Technology, 2005.(In Chinese) [4] HU Rong, HUANG Ping, The Research of Middleware Technology Application Status, Computer Knowledge and Technology, Vol.9, No.22, August 2013:4990-4991. (In Chinese) [5] TANG Yan, HAN Ai-qing, Design and Implementation Based on the Bridge Patterns of Multi-platform Shared Memory Management, Computer Knowledge and Technology, Vol.8, No.31, Nov. 2012:75927596. [6] SISO-STD-003.1-2006, Base Object Model (BOM) Template Specification, SISO, 2006.3. [7] IEEE Std 1516.2-2000 (2010) IEEE Standard for Modeling and Simulation (M&S) High Level Architecture (HLA) Object Model Template (OMT) Specification, IEEE, 2010.8. [8] SISO-STD-003.0-2006, Guide for Base Object Model (BOM) Use and Implementation, SISO, 2006.3. [9] Gong Jian-xing, Zhang Xin-yu, Huang Jian, Li Ge, Huang Ke-di, Using XMI to Realize the Interchange of s Based on BOM, Journal of National University of Defense Technology, 2006,28(6): 120-123. [10] IEEE Std 1516.2-2000 (2010) IEEE Standard for Modeling and Simulation (M&S) High Level Architecture (HLA) Federate Interface Specification, IEEE, 2010.8. [11] Lubachevsky B. D., Efficient Distributed Event-driven Simulations of Multiple-loop Networks, Communications of the ACM 32(1) 1989 : 111-23. [12] Lin, Y. B, Lazowska, E.D., Exploiting lookahead in parallel simulatio, IEEE Transactions on Parallel and Distributed Systems, 11/1990, DOI:10.1109/71.80174. [13] Boukerche, A., McGraw, N.J., Dzermajko, C., Kaiyuan Lu, Gridfiltered region-based data distribution management in large-scale distributed simulation systems, Simulaion Symposium, 2005. Proceedings. 38th Annual, DOI:10.1109/ANSS.2005.23:259-266. [14] LI Ting-ting, HAN Liang, WANG Jiang-yun, Research and Application of Time Management in Parallel and Distributed Real- Time Simulations, Journal of System Simulation, 2013,25(8):1783-1788. (In Chinese) [15] ZHOU Yun, HAN Shoupeng, LIU Yan, HUAN Ke-di, HU De-wen, Mechanism of on Simulation Cloning Middleware of Performing Concurrent Mutiple Scenarious, Journal of National University of Defense Technology, 2008, 30(5): 108-113. DOI 10.5013/ IJSSST.a.17.44.07 7.7 ISSN: 1473-804x online, 1473-8031 print