Development of a Simulator for the HANARO Research Reactor (Communication Protocol) 2005.6.27. H.S. Jung.

Slides:



Advertisements
Similar presentations
OSI Model OSI MODEL.
Advertisements

OSI Model OSI LAYER / MODEL.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
Protocols and the TCP/IP Suite
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
OIS Model TCP/IP Model.
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
Communication Network Protocols Jaya Kalidindi CSC 8320(fall 2008)
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Process-to-Process Delivery:
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
TCP/IP Reference Model For more notes and topics visit: eITnotes.com.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
NetworkProtocols. Objectives Identify characteristics of TCP/IP, IPX/SPX, NetBIOS, and AppleTalk Understand position of network protocols in OSI Model.
Presentation on Osi & TCP/IP MODEL
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
SEED Infotech Pvt. Ltd. 1 Networking in Java. SEED Infotech Pvt. Ltd. 2 Objectives of This Session Describe issues related to any type of network using.
Copyright 2003 CCNA 1 Chapter 9 TCP/IP Transport and Application Layers By Your Name.
Huda AL_Omairl - Network 71 Protocols and Network Software.
Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff.
Mukesh N. Tekwani Elphinstone College Mumbai
Layer Architecture Layer architecture simplifies the network design. It is easy to debug network applications in a layered architecture network. The network.
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
Computer Networks. Introduction Computer Network2 A History Lesson of Networking 1969 – ARPANET, first packet switched network consist of UCLA, Stanford,
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
UNDERSTANDING THE HOST-TO-HOST COMMUNICATIONS MODEL - OSI LAYER & TCP/IP MODEL 1.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Chapter 2 Protocols and the TCP/IP Suite 1 Chapter 2 Protocols and the TCP/IP Suite.
1 Chapters 2 & 3 Computer Networking Review – The TCP/IP Protocol Architecture.
Advanced UNIX programming Fall 2002, lecture 16 Instructor: Ashok Srinivasan Acknowledgements: The syllabus and power point presentations are modified.
Protocol Suits and Layering Models OSI Model Dr. Abraham UTPA.
Reading TCP/IP Protocol. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also.
Transmission Control Protocol (TCP) Internet Protocol (IP)
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Computer Engineering and Networks, College of Engineering, Majmaah University Protocols OSI reference MODEL TCp /ip model Mohammed Saleem Bhat
Roadmap  Introduction to Basics  Computer Network – Components | Classification  Internet  Clients and Servers  Network Models  Protocol Layers.
11/18/2016Basic TCP/IP Networking 1 TCP/IP Overview Basic Networking Concepts.
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI MODEL.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Application Layer Functionality and Protocols Abdul Hadi Alaidi
Networking Using the OSI Model.
The OSI Model & TCP/IP model
Protocols and the TCP/IP Suite
Computer Networks.
ISO/OSI Model and Collision Domain
Lecturer, Department of Computer Application
Understand the OSI Model Part 2
Networking for Home and Small Businesses – Chapter 6
DEPARTMENT OF COMPUTER SCIENCE
Lecture 6: TCP/IP Networking By: Adal Alashban
The Open System Interconnection (OSI) Model & Network Protocols.
Networking for Home and Small Businesses – Chapter 6
Protocols and the TCP/IP Suite
ECEN “Internet Protocols and Modeling”
Process-to-Process Delivery:
Lecture 6: TCP/IP Networking 1nd semester By: Adal ALashban.
Chapter 15 – Part 2 Networks The Internal Operating System
TCP/IP Protocol Suite: Review
CPEG514 Advanced Computer Networkst
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
OSI Model OSI MODEL.
Network Architecture Models
Computer Networks Topic :User datagram protocol Transmission Control Protocol -Hemashree S( )
Protocols and the TCP/IP Suite
Networking for Home and Small Businesses – Chapter 6
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Presentation transcript:

Development of a Simulator for the HANARO Research Reactor (Communication Protocol) 2005.6.27. H.S. Jung

Contents Introduction Network models TCP UDP HLA

Introduction A distributed simulation of a dynamic system consists of a group of components or subsystem simulations that communicate across a network during execution All of the simulations run in parallel and pass data among themselves as needed over the network Simulation Non-real-time simulation The rate of passage in the simulation may be arbitrary Real-time simulation The rate of passage in the simulation may be constrained to match the passage of real time

Introduction Benefits of distributed simulation Non-real-time simulation Speedup Ability to connect multiple simulations Real-time simulation Requirements for communication Correctness Completeness Speed

Network models ISO/OSI Network Model Layer 1 - Physical Physical layer defines the cable or physical medium itself Layer 2 - Data Link Data Link layer defines the format of data on the network. Ethernet addresses a host using a unique, 48-bit address called its Ethernet address or Media Access Control (MAC) address. Layer 3 - Network NFS uses Internetwork Protocol (IP) as its network layer interface. IP is responsible for routing, directing datagrams from one network to another. Layer 4 - Transport Transport layer subdivides user-buffer into network-buffer sized datagrams and enforces desired transmission control. Layer 5 - Session The session protocol defines the format of the data sent over the connections. The NFS uses the Remote Procedure Call (RPC) for its session protocol. RPC may be built on either TCP or UDP. Login sessions uses TCP whereas NFS and broadcast use UDP. Layer 6 - Presentation External Data Representation (XDR) sits at the presentation level. It converts local representation of data to its canonical form and vice versa. The canonical uses a standard byte ordering and structure packing convention, independent of the host. Layer 7 - Application Provides network services to the end-users. Mail, ftp, telnet, DNS, NIS, NFS are examples of network applications

Network models TCP/IP Network Model Layer 1 - Link Layer 2 - Network This layer defines the network hardware and device drivers. Layer 2 - Network This layer is used for basic communication, addressing and routing. TCP/IP uses IP and ICMP protocols at the network layer. Layer 3 - Transport Handles communication among programs on a network. TCP and UDP falls within this layer. Layer 4 - Application End-user applications reside at this layer. Commonly used applications include NFS, DNS, Web, rlogin, talk, and ftp

Network models

TCP/IP Transmission Control Protocol/Internet Protocol A family of communication protocols High-level networking Web FTP Remote login Email Low-level networking Transmission of packets of data between applications on the computers within networks

TCP/IP Architecture Application Application Transport Internetwork Communicates with the transport layer Transport Deliver data to application Error detection and retransmission Internetwork Deliver data to the correct computer IP Network technology A networking hardware Application Internetwork Network technology Transport

Encapsulation of Data

Communication with TCP/IP

Transport Protocols Two primary protocols Reliability of the protocols TCP (Transmission Control Protocol) Point-to-point communication UDP (User Datagram Protocol) Multicast communication Reliability of the protocols Error-free delivery Assured delivery Delivery in the same sequence the data was sent No duplication of delivered data

TCP Connection-oriented protocol Stream-based Point-to-point Similar to telephone Reliable protocol Stream-based Data is a continuous stream of bytes Ordering of data Point-to-point Complexity Traffic Large latency and small jitter Use for non-real-time simulation

UDP Connectionless protocol Datagram-based Multicast Similar to mailbox Not reliable Datagram-based Data is a separate entity No ordering Multicast Simplicity No traffic Small latency and large jitter Use for real-time simulation

Effects of latency Latency degrades the overall performances Use extrapolation to minimize the effects Design data packet : for moving body P(t) V(t) Timestamp Estimation P(t)’=p(t) + (ta-tt)V(t) V(t)’=v(t) + [(ta-tt)/(tt-tp)] [v(tt) - v(tp)]

Lost Packets in UDP Monitoring variables Commands Not critical Updated at next time Commands Critical Use acknowledge method

Application in the simulator Use UDP between simulator and instructor station Data socket server Multicast to the domain of user group Data socket client Connect with IP of the server in the user group domain Use command acknowledge Checks the response and retransmits if no acknowledge is received

HLA HLA (High Level Architecture) A standard for communication among a group of cooperating simulations ( IEEE 1516) A software architecture for creating computer simulations out of component simulations. The HLA provides a general framework within which simulation developers can structure and describe their simulation applications Developed by DoD

HLA HLA Rules Interface Specification Object Model Template (OMT) Ensure proper interaction of federates in a federation Describe the responsibilities of federates and federations Interface Specification Defines Runtime Infrastructure (RTI) services and interfaces Identifies “callback” functions each federate must provide Object Model Template (OMT) Prescribes the format and syntax for recording information Establishes the format of key models Federation Object Model (FOM) Simulation Object Model (SOM) Management Object Model (MOM)

References Jim Ledin, Simulation Engineering, CMP books,2001 IEEE Std 1516-2000, IEEE Standard for Modeling and Simulation (M&S) High Level Architecture (HLA) - Framework and Rules