Design and implementation of Distributed DEVS M - PowerPoint PPT Presentation

1 / 43
About This Presentation
Title:

Design and implementation of Distributed DEVS M

Description:

Pipe communication channel between peers ... Pipe Advertisement !DOCTYPE jxta:PipeAdvertisement ... Develop reliable pipe for DEVS/P2P ... – PowerPoint PPT presentation

Number of Views:53
Avg rating:3.0/5.0
Slides: 44
Provided by: sc7796
Category:

less

Transcript and Presenter's Notes

Title: Design and implementation of Distributed DEVS M


1
Design and implementation of Distributed DEVS MS
Framework over Peer-to-Peer Networks
  • Saehoon Cheon

Novermber 15th, 2002
Arizona Center for Integrated Modeling and
Simulation (ACIMS)
2
Outline
  • Objectives
  • Background
  • DEVS/P2P
  • Conclusion
  • Future work

3
Objectives
  • Introduce distributed simulation issue to DEVS
    Modeling and Simulation
  • Design and implement DEVS over P2P network

4
Background
  • Peer-to-Peer network
  • DEVS Formalism
  • JXTA Project

5
P2P Network
  • No centralized control point
  • Direct connection to any other node
  • Role as both Server and client
  • Napster, Gnutellar, etc.

6
DEVS Formalism
  • Basic Parallel DEVS Model
  • M ltX,Y,S,dint ,dext , dcon , l , tagtX set of
    input eventsY set of output eventsS set of
    statesdint internal transition functiondext
    external transition function
  • dcon confluent functionl output
    functionta time advance function
  • Time base is logical time
  • Set theory based system specification formalism
  • Atomic model lowest level model, contains
    structural dynamics
  • Coupled model composed of one or more atomic
    and/or coupled model
  • -gt hierarchical construction

7
Coupled model and hierarchical structure
8
Coordinator and simulator
9
JXTA Project
  • An open network technology developed by Sun Inc.
    to support P2P computing on any platform,
    anywhere
  • Basic Concept
  • Peer network device that implements the JXTA
    protocol
  • Peer Groups- collection of cooperating peers
    providing a common set of services
  • Pipe communication channel between peers
  • Advertisement language-neutral metadata
    structure represented as XML documents
  • Fully open source at http//www.jxta.org

10
JXTA ProjectJXTA Search Network Architecture
11
DEVS/P2P
  • Support
  • Hierarchical model partitioning
  • Automatic coupling restructuring
  • Automatic model deployment
  • Distributed/parallel/local simulation

12
Scalable DEVSLayered Architecture
Application
DEVS
modeling
simulation
Scalable DEVS Interface
Network Middleware
JXTA
Globus
RTI
Visibroker
Network Infrastructure
P2P
Grid
HLA
CORBA
13
DEVS/P2P
  • Interface for DEVS implementation over P2P
    Network
  • Adopt JXTA as P2P infrastructure

14
DEVS/P2POverall Architecture
15
DEVS/P2P Model Deployment
16
DEVS/P2PCommunication between simulators
17
DEVS/P2P(XML) Data Format Example
  • lt!DOCTYPE jxtaDEVSAdvertisementgt
  • ltjxtaDEVSAdvertisement xmlnsjxta"http//devs.or
    g"gt
  • ltDEVS-P2P-Protocolgt version lt/
    DEVS-P2P-Protocolgt
  • ltProtocolGroupgt protocol group lt/
    ProtocolGroup gt
  • ltTypegt protocol-associated type lt/Typegt
  • ltSourcegt source id of a msg lt/Sourcegt
  • ltTargetgt target id of a msg lt/Targetgt
  • ltTime stampgt time stamp of a msg lt/Time stampgt
  • ltObjectgt embedded devs object lt/Objectgt
  • lt/DEVSAdvertisementgt

18
DEVS/P2PDEVS msg to JXTA msg
19
DEVS/P2PMapping DEVS ports into pipes
20
DEVS/P2P Module Spec Advertisement
  • lt?xml version"1.0"?gt
  • lt!DOCTYPE jxtaMSAgt
  • ltjxtaMSA xmlnsjxta"http//jxta.org"gt
  • ltMSIDgt
  • urnjxtauuid-DF8BC25CBFAE4E5A808A91B8985CB09FAC
    9275FF33114E4C93F38C4AD27263E706
  • lt/MSIDgt
  • ltNamegt JXTASPECDEVS-INPUTPORTgptProc-0.Protoc
    ol-In lt/Namegt
  • ltCrtrgt ACIMS lt/Crtrgt
  • ltSURIgt http//www.acims.arizona.edu/gptProc-0.P
    rotocol-In lt/SURIgt
  • ltVersgt Version 1.0 lt/Versgt
  • // Embedded PipeAdvertisement
  • lt/jxtaMSAgt

21
DEVS/P2PPipe Advertisement
  • lt!DOCTYPE jxtaPipeAdvertisementgt
  • ltjxtaPipeAdvertisement xmlnsjxta"http//jxta.or
    g"gt
  • ltIdgt
  • urnjxtauuid-59616261646162614E504720503250
    33
  • 4B02E6FA9 D054ECBA9BCB2C223E21C6204
  • lt/Idgt
  • ltTypegt
  • JxtaPropagate
  • lt/Typegt
  • ltNamegt
  • gptTransd.Protocol-In
  • lt/Namegt
  • lt/jxtaPipeAdvertisementgt

22
DEVS/P2P communication without coordinator
23
DEVS/P2PSimulation Protocol
24
DEVS/P2PSimulation Protocol (cont)

25
Demonstrationgpt model
26
Demonstration(1) run activator
27
Demonstration(2) run partitioner and send
payload to the peer
28
Demonstration(3) extract port information
establish IO Port connection
29
Demonstration(3) start simulation(Peer)
30
Conclusion
  • Introduced DEVS MS Framework
  • Developed DEVS over JXTA environment
  • Introduced the possibility of DEVS simulation
    without coordinator
  • Showed the distributed simulation over middleware
    for data communication

31
Future work
  • More care of DEVS/P2P protocol
  • Develop Coupled model simulator
  • Develop reliable pipe for DEVS/P2P
  • Design generic interface of DEVS Layer for
    various distributed network middlewares

32
Question?
33
BackupHierarchical Model Partitioning
  • Map a hierarchical model into a set of partitions
  • Maintain hierarchical structure as much as
    possible

34
Backup Hierarchical Model Partitioning
Example
35
Hierarchical Model partitioning (Cont)
36
Parallel and distributed DEVS simulation protocol
37
Parallel and distributed DEVS simulation
protocol(cont.)
38
Peer discovery
39
Peer discovery(2)
40
Peer resolver protocol
41
Pipe binding protocol
42
Pipe information protocol
43
BackgroundParallel simulation and Distributed
Simulation
  • Distributed simulation
  • The simulation technology that enables a
    simulation program to be executed in a
    geographically dispersed network system
  • Parallel simulation
  • The simulation technology that can execute the
    simulation concurrently in the multiprocessor
    architecture
Write a Comment
User Comments (0)
About PowerShow.com