© 2000 Morgan Kaufman Overheads for Computers as Components Networking for Embedded Systems zWhy we use networks. zNetwork abstractions. zExample networks.

Slides:



Advertisements
Similar presentations
OSI Model OSI LAYER / MODEL.
Advertisements

Data Communications System By Ajarn Preecha Pangsuban.
1 n OSI Reference Model n Hierarchical Software Layers.
Chapter 2 Network Models.
1 Chapter 9 Computer Networks. 2 Chapter Topics OSI network layers Network Topology Media access control Addressing and routing Network hardware Network.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
1 Fall 2005 Internetworking: Concepts, Architecture and TCP/IP Layering Qutaibah Malluhi CSE Department Qatar University.
Protocols and the TCP/IP Suite
Advanced Operating Systems The I 2 C Bus. Inter-Integrated Circuit Bus Designed for low-cost, medium data rate applications. Characteristics: –Synchronous;
© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Networking for Embedded Systems zWhy we use networks. zNetwork abstractions. zExample.
04/26/2004CSCI 315 Operating Systems Design1 Computer Networks.
5-1 Data Link Layer r Today, we will study the data link layer… r This is the last layer in the network protocol stack we will study in this class…
Review on Networking Technologies Linda Wu (CMPT )
COMPUTER NETWORKS.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Lecturer: Tamanna Haque Nipa
1 Computer Networks Course: CIS 3003 Fundamental of Information Technology.
1 Protocol Interaction (ISO’s Open Systems Interconnection (OSI model)) the 7 layers.
Network Management Concepts and Practice Author: J. Richard Burke Presentation by Shu-Ping Lin.
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.
Data Communications and Networks
William Stallings Data and Computer Communications Chapter 2 Protocols and Architecture.
Chapter 1 Overview Review Overview of demonstration network
Chapter 2 Network Models
Presentation on Osi & TCP/IP 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.
Protocols and the TCP/IP Suite
1 Module 15: Network Structures n Topology n Network Types n Communication.
Component 9 – Networking and Health Information Exchange Unit 1-2 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
ECE 354 Copyright ECE Department, some slides modified from W. Wolf, Computers as Components, Morgan Kaufmann, 2005 Big Picture: Lab 3 Networks (OSI-view)
Computer Communication & Networks Lecture # 02 Nadeem Majeed Choudhary
Chapter 1. Introduction. By Sanghyun Ahn, Deot. Of Computer Science and Statistics, University of Seoul A Brief Networking History §Internet – started.
Internetworking An internetwork is typically comprised of many physical networks over which data travels There are many different types of physical networks:
The OSI Model.
Internet SecurityInternet Security Dr. ClincyLecture1 CS 4491 Internet Security Dr. Clincy Networking Fundamentals Note: I am still “tweaking” your syllabus.
Protocols 1 Objective: Build a protocol foundation for Client / Server programming in an Internet Environment Note: RFCs available from
UNDERSTANDING THE HOST-TO-HOST COMMUNICATIONS MODEL - OSI LAYER & TCP/IP MODEL 1.
1 Kyung Hee University Chapter 2 Network Models. 2 Kyung Hee University 2.1 LAYERED TASKS We use the concept of layers in our daily life. As an example,
Network Protocols n ISO OSI 7-layer model n TCP/IP suite l TCP/UDP l IP l Ethernet/Token Ring l ICMP.
William Stallings Data and Computer Communications
1 Chapter Overview Network Communications The OSI Reference Model.
1 Chapter Overview Network Communications The OSI Reference Model.
Chapter 2. Network Models
THE OSI MODEL ISO is the organization.OSI is the model. ISO  International Standards Organization OSI  Open Systems Interconnection.
Chapter 2 Network Models
Network Models.
Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to.
 2004 Deitel & Associates, Inc. All rights reserved. Chapter 16 – Networking Outline 16.1Introduction 16.2Network Topology 16.3Network Types 16.4TCP/IP.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
Lecture 6 Networked Systems Network Operating Systems Introduction to Sockets HTTP – FTP – TCP - UDP Client-Server Model.
Net 221D:Computer Networks Fundamentals
Chapter 2. Network Models
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. Overview of Ethernet Networking A Rev /31/2011.
THE NETWORKS Theo Chakkapark. Open System Interconnection  The tower of power!  The source of this power comes from the model’s flexibility.
Networking and Health Information Exchange Unit 1b ISO Open Systems Interconnection (OSI) Component 9/Unit 1b1 Health IT Workforce Curriculum Version 1.0/Fall.
Data Communication Network Models
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Computer Network Lab. 1 3 장 OSI 기본 참조 모델 n OSI : Open System Interconnection n Basic Reference Model : ISO-7498 n Purpose of OSI Model ~ is to open communication.
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
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.
A quick intro to networking
Scaling the Network: The Internet Protocol
Click to edit Master subtitle style
Chap. 2 Network Models.
Distributed Embedded Systems
ISO/OSI Model and Collision Domain
Data and Computer Communications by William Stallings Eighth Edition
Network Model.
Scaling the Network: The Internet Protocol
Presentation transcript:

© 2000 Morgan Kaufman Overheads for Computers as Components Networking for Embedded Systems zWhy we use networks. zNetwork abstractions. zExample networks.

© 2000 Morgan Kaufman Overheads for Computers as Components Network elements PE network communication link distributed computing platform: PEs may be CPUs or ASICs.

© 2000 Morgan Kaufman Overheads for Computers as Components Networks in embedded systems PE sensor PEactuator initial processing more processing

© 2000 Morgan Kaufman Overheads for Computers as Components Why distributed? zHigher performance at lower cost. zPhysically distributed activities---time constants may not allow transmission to central site. zImproved debugging---use one CPU in network to debug others. zMay buy subsystems that have embedded processors.

© 2000 Morgan Kaufman Overheads for Computers as Components Network abstractions zInternational Standards Organization (ISO) developed the Open Systems Interconnection (OSI) model to describe networks: y7-layer model. zProvides a standard way to classify network components and operations.

© 2000 Morgan Kaufman Overheads for Computers as Components OSI model physical mechanical, electrical data link reliable data transport network end-to-end service transport connections presentation data format session application dialog control application end-use interface

© 2000 Morgan Kaufman Overheads for Computers as Components OSI layers zPhysical: connectors, bit formats, etc. zData link: error detection and control across a single link (single hop). zNetwork: end-to-end multi-hop data communication. zTransport: provides connections; may optimize network resources.

© 2000 Morgan Kaufman Overheads for Computers as Components OSI layers, cont’d. zSession: services for end-user applications: data grouping, checkpointing, etc. zPresentation: data formats, transformation services. zApplication: interface between network and end-user programs.

© 2000 Morgan Kaufman Overheads for Computers as Components Hardware architectures zMany different types of networks: ytopology; yscheduling of communication; yrouting.

© 2000 Morgan Kaufman Overheads for Computers as Components Point-to-point networks zOne source, one or more destinations, no data switching (serial port): PE 1 PE 2 PE 3 link 1 link 2

© 2000 Morgan Kaufman Overheads for Computers as Components Bus networks zCommon physical connection: PE 1PE 2PE 3PE 4 headeraddressdataECC packet format

© 2000 Morgan Kaufman Overheads for Computers as Components Bus arbitration zFixed: Same order of resolution every time. zFair: every PE has same access over long periods. yround-robin: rotate top priority among Pes. A,B,C fixed round-robin ABCABC ABCABC

© 2000 Morgan Kaufman Overheads for Computers as Components Crossbar in1in2 in3 in4 out1 out2 out3 out4

© 2000 Morgan Kaufman Overheads for Computers as Components Crossbar characteristics zNon-blocking. zCan handle arbitrary multi-cast combinations. zSize proportional to n 2.

© 2000 Morgan Kaufman Overheads for Computers as Components Multi-stage networks zUse several stages of switching elements. zOften blocking. zOften smaller than crossbar.

© 2000 Morgan Kaufman Overheads for Computers as Components Message-based programming zTransport layer provides message-based programming interface: send_msg(adrs,data1); zData must be broken into packets at source, reassembled at destination. zData-push programming: make things happen in network based on data transfers.

© 2000 Morgan Kaufman Overheads for Computers as Components I 2 C bus zDesigned for low-cost, medium data rate applications. zCharacteristics: yserial; ymultiple-master; yfixed-priority arbitration. zSeveral microcontrollers come with built- in I 2 C controllers.

© 2000 Morgan Kaufman Overheads for Computers as Components I 2 C physical layer master 1master 2 slave 1slave 2 SCL SDL data line clock line

© 2000 Morgan Kaufman Overheads for Computers as Components I 2 C data format SCL SDL... MSBstart... ack...

© 2000 Morgan Kaufman Overheads for Computers as Components I 2 C electrical interface SDL + zOpen collector interface: SCL +

© 2000 Morgan Kaufman Overheads for Computers as Components I 2 C signaling zSender pulls down bus for 0. zSender listens to bus---if it tried to send a 1 and heard a 0, someone else is simultaneously transmitting. zTransmissions occur in 8-bit bytes.

© 2000 Morgan Kaufman Overheads for Computers as Components I 2 C data link layer zEvery device has an address (7 bits in standard, 10 bits in extension). yBit 8 of address signals read or write. zGeneral call address allows broadcast.

© 2000 Morgan Kaufman Overheads for Computers as Components I 2 C bus arbitration zSender listens while sending address. zWhen sender hears a conflict, if its address is higher, it stops signaling. zLow-priority senders relinquish control early enough in clock cycle to allow bit to be transmitted reliably.

© 2000 Morgan Kaufman Overheads for Computers as Components I 2 C transmissions multi-byte write read from slave write, then read Sadrs0data P Sadrs1dataP Sadrs0dataSadrs1dataP

© 2000 Morgan Kaufman Overheads for Computers as Components Multiprocessor networks zMultiple DSPs are often connected by high-speed networks for signal processing: DSP

© 2000 Morgan Kaufman Overheads for Computers as Components SHARC link ports zSix per CPU. zFour bits per link port. zPackets have 32- or 48-bit payload. zCan be controlled by DMA. zAre half-duplex---must be turned around by program.

© 2000 Morgan Kaufman Overheads for Computers as Components Ethernet zDominant non-telephone LAN. zVersions: 10 Mb/s, 100 Mb/s, 1 Gb/s 10 Gb/s. zGoal: reliable communication over an unreliable medium.

© 2000 Morgan Kaufman Overheads for Computers as Components Ethernet topology zBus-based system, several possible physical layers: ABC

© 2000 Morgan Kaufman Overheads for Computers as Components CSMA/CD zCarrier sense multiple access with collision detection: ysense collisions; yexponentially back off in time; yretransmit.

© 2000 Morgan Kaufman Overheads for Computers as Components Exponential back-off times time

© 2000 Morgan Kaufman Overheads for Computers as Components Ethernet packet format preamble start frame source adrs dest adrs data payload lengthpaddingCRC

© 2000 Morgan Kaufman Overheads for Computers as Components Ethernet performance zQuality-of-service tends to non-linearly decrease at high load levels. zCan’t guarantee real-time deadlines. However, may provide very good service at proper load levels.

© 2000 Morgan Kaufman Overheads for Computers as Components Internet Protocol zInternet Protocol (IP) is basis for Internet. zProvides an internetworking standard: between two Ethernets, Ethernet and token ring, etc. zHigher-level services are built on top of IP.

© 2000 Morgan Kaufman Overheads for Computers as Components IP in communication physical data link network transport presentation application session physical data link network transport presentation application session physical data link network node A router node B IP

© 2000 Morgan Kaufman Overheads for Computers as Components IP packet zIncludes: yversion, service type, length ytime to live, protocol ysource and destination address ydata payload zMaximum data payload is 65,535 bytes.

© 2000 Morgan Kaufman Overheads for Computers as Components IP addresses z32 bits in early IP, 128 bits in IPv6.  Typically written in form xxx.xx.xx.xx. zNames (foo.baz.com) translated to IP address by domain name server (DNS).

© 2000 Morgan Kaufman Overheads for Computers as Components Internet routing zBest effort routing: ydoesn’t guarantee data delivery at IP layer. zRouting can vary: ysession to session; ypacket to packet.

© 2000 Morgan Kaufman Overheads for Computers as Components Higher-level Internet services zTransmission Control Protocol (TCP) provides connection-oriented service. zQuality-of-service (QoS) guaranteed services are under development.

© 2000 Morgan Kaufman Overheads for Computers as Components The Internet service stack IP UDP SNMP TCP User Datagram Protocol FTPHTTPSMTPtelnet