Data Communication and NetworksA Communications ModelSimplified Communications Model - DiagramKey Communications TasksSimplified Data Communications ModelNetworkingSimplified Network ModelWide Area NetworksCircuit SwitchingPacket SwitchingFrame RelayAsynchronous Transfer ModeLocal Area NetworksProtocolsKey Elements of a ProtocolWhat’s a protocol?Slide 17In Summary, a protocol is ....Protocol SpecificationEvent -Time DiagramsTransition DiagramProtocol ArchitectureA Three Layer ModelNetwork Access LayerTransport LayerApplication LayerAddressing RequirementsProtocol Architectures and NetworksProtocols in Simplified ArchitectureStandardized Protocol ArchitecturesOSIOSI - The ModelOSI LayersTCP/IP Protocol ArchitecturePhysical LayerSlide 36Internet Layer (IP)Transport Layer (TCP)Slide 39TCP/IP Protocol Architecture ModelPDUs in TCP/IPOSI v TCP/IPStandardsData Communication and NetworksLecture 1Introduction and Overview September 8, 2005A Communications ModelSourcegenerates data to be transmittedTransmitterConverts data into transmittable signalsTransmission SystemCarries dataReceiverConverts received signal into dataDestinationTakes incoming dataSimplified Communications Model - DiagramKey Communications TasksTransmission System UtilizationInterfacingSignal GenerationSynchronizationError detection and correctionAddressing and routingRecoveryMessage formattingSecurityNetwork ManagementSimplified Data Communications ModelNetworkingPoint to point communication not usually practicalDevices are too far apartLarge set of devices would need impractical number of connectionsSolution is a communications networkSimplified Network ModelWide Area NetworksLarge geographical areaCrossing public rights of wayRely in part on common carrier circuitsAlternative technologiesCircuit switchingPacket switchingFrame relayAsynchronous Transfer Mode (ATM)Circuit SwitchingDedicated communications path established for the duration of the conversatione.g. telephone networkPacket SwitchingData sent out of sequenceSmall chunks (packets) of data at a timePackets passed from node to node between source and destinationUsed for terminal to computer and computer to computer communicationsFrame RelayPacket switching systems have large overheads to compensate for errorsModern systems are more reliableErrors can be caught in end systemMost overhead for error control is stripped outAsynchronous Transfer ModeATMEvolution of frame relayLittle overhead for error controlFixed packet (called cell) lengthAnything from 10Mbps to GbpsConstant data rate using packet switching techniqueLocal Area NetworksSmaller scopeBuilding or small campusUsually owned by same organization as attached devicesData rates much higherUsually broadcast systemsProtocolsUsed for communications between entities in a systemMust speak the same languageEntitiesUser applicationse-mail facilitiesterminalsSystemsComputerTerminalRemote sensorKey Elements of a ProtocolSyntaxData formatsSignal levelsSemanticsControl informationError handlingTimingSpeed matchingSequencingWhat’s a protocol?human protocols:“what’s the time?”“I have a question”introductions… specific msgs sent… specific actions taken when msgs received, or other eventsnetwork protocols:machines rather than humansall communication activity in Internet governed by protocolsprotocols define format, order of msgs sent and received among network entities, and actions taken on msg transmission, receipt From Computer Networking: A Top-Down Approach Featuring the Internet by Kurose & RossWhat’s a protocol?a human protocol and a computer network protocol:HiHiGot thetime?2:00TCP connection req.TCP connectionreply.Get http://gaia.cs.umass.edu/index.htm<file>timeFrom Computer Networking: A Top-Down Approach Featuring the Internet by Kurose & RossIn Summary, a protocol is ....An agreement about communication between two or more entitiesIt specifies– Format of messages– Meaning of messages– Rules for exchange– Procedures for handling problemsProtocol SpecificationAs designers, we can specify a protocol usingSpace-Time DiagramsTransition DiagramsWe can implement a protocol with a Finite State Machine (FSM)Internet Protocols are formalized by RFCs which are administered by IETF01/14/19 20Event -Time Diagrams• Defines causal ordering• Defines indication/request/response actionsTransition DiagramIllustratesStatesInput (the event that causes transition)Transitions (to new states)Protocol ArchitectureTask of communication broken up into modulesFor example file transfer could use three modulesFile transfer applicationCommunication service moduleNetwork access moduleA Three Layer ModelNetwork Access LayerTransport LayerApplication LayerNetwork Access LayerExchange of data between the computer and the networkSending computer provides address of destinationMay invoke levels of serviceDependent on type of network used (LAN, packet switched etc.)Transport LayerReliable data exchangeIndependent of network being usedIndependent of applicationApplication LayerSupport for different user applicationse.g. e-mail, file transferAddressing RequirementsTwo levels of addressing requiredEach computer needs unique network addressEach application on a (multi-tasking) computer needs a unique address within the computerThe service access point or SAPThe port on TCP/IP stacksProtocol Architectures and NetworksProtocols in Simplified ArchitectureStandardized Protocol ArchitecturesRequired for devices to communicateVendors have more marketable productsCustomers can insist on standards based equipmentTwo standards:OSI Reference modelNever lived up to early promisesTCP/IP protocol suiteMost widely usedAlso: IBM Systems Network Architecture (SNA)OSIOpen Systems InterconnectionDeveloped by the International Organization for Standardization (ISO)Seven layersA theoretical system delivered too late!TCP/IP is the de facto standardOSI - The ModelA layer modelEach layer performs a subset of the required communication functionsEach layer relies on the next lower layer to perform more primitive functionsEach layer provides services to the next
View Full Document