Data Communication
Data Communication
Data Communication
http://www.final-yearprojects.co.cc/
Definition
Data-communication is the combination of dataprocessing and communication. It includes the processing of data of program's running on computersystems, and the communication over great distance where the information is transported by using of electrical-conductivity, radio-waves, light-signals, etc. With data-communication it is possible to communicate over great distances from terminals connected on the communication network.
1. Data
Voice Images Digital data Analog data Text Digitized voice or images
ElectroMagnetic Signals
Function of time
Analog (varies smoothly over time) Digital (constant level over time, followed by a change to another level)
BandWidth
Width of the spectrum of frequencies
that can be transmitted
Data Transmissions
Analog Transmission of Analog Data
Telephone networks (PSTN) Digital Transmission of Digital Data A computer system Analog Transmission of Digital Data Uses Modulation/Demodulation (Modem) Digital Transmission of Analog Data Uses Coder/Decoder (CODEC)
Methods of Modulation
Amplitude modulation (AM) or amplitude
shift keying (ASK) Frequency modulation (FM) or frequency shift keying (FSK) Phase modulation or phase shift keying (PSK) Differential Phase Shift Keying (DPSK)
PCM
PCM
PCM
PCM
PCM uses a sampling rate of 8000 samples per second. Each sample is an 8 bit sample resulting in a digital rate of 64,000 bps (8 x 8000).
Digital Interfaces
The point at which one device connects
to another Standards define what signals are sent, and how Some standards also define physical connector to be used
interface
interface
modem
DCE
terminal
Multiplexing Diagram
Direct Point-to-Point
Multidrop Line
Multiplexer
data rate of signals to be transmitted Signals take turns over medium Slices of data are organized into frames Used in the modern digital telephone system
US, Canada, Japan: DS-0, DS-1 (T-1), DS-3 (T-3), ... Europe, elsewhere: E-1, E3,
TDM
STDM
compressed portions of data Lossless: reconstituted data is identical to original (ZIP, GIF) Lossy: reconstituted data is only perceptually equivalent (JPEG, MPEG)
Computer Network
An interconnected collection of autonomous computers. Two computers are said to be interconnected if they are able to exchange information. A system with one control unit and many slaves is not a network.
Computer Network
User must explicitly do everything.
Client-server model Scalability: Ability to increase system performance gradually as the workload grows.
A Communications Model
Source
Generates data to be transmitted
Transmitter
Converts data into transmittable signals
Transmission system
Carries data
Receiver
Converts received signal into data
Destination
Takes incoming data
Network Hardware
Transmission Technology
Broadcast Network
Single communication channel that is shared by all the machines on the network. All the others receive Packets in certain contexts, sent by any machine. An address field within the packet specifies for whom it is intended. Multicasting: transmission to a subnet of the machines.
Networking
Point to point communication not usually practical
Devices are too far apart Large set of devices would need impractical number of connections
Usually owned by same organization as attached devices Data rates much higher Usually broadcast systems Now some switched systems and ATM are being introduced
LAN CHARACTERISTICS
Size Transmission Technology Topology
Restricted in Size
Single Cable 10 to 100 Mbps Low delay (ms) Very few Errors Megabits/Sec. (Unit)
MAN
Metropolitan Area Network Support data and voice No switching elements Standard: DQDB (Distributed Queue Dual Bus) Two unidirectional buses to which all the computers are connected. Each bus has a head-end, a device that initiates transmission activity. Traffic that is destined for a computer to the right of the sender uses the upper bus, traffics to the left uses the lower one.
Internet
Collection of interconnected networks. Example: A collection of LANs connected by a WAN. WAN : (router + hosts). SUBNET : (only routers).
Circuit Switching
Dedicated communications path established for the duration of the conversation E.G. Telephone network
Packet Switching
Data sent out of sequence Small chunks (packets) of data at a time Packets passed from node to node between source and destination Used for terminal to computer and computer to computer communications
Frame Relay
Packet switching systems have large overheads to compensate for errors Modern systems are more reliable Errors can be caught in end system Most overhead for error control is stripped out
Protocols
Used for communications between entities in a system Must speak the same language Entities
User applications E-mail facilities Terminals
Systems
Computer Terminal Remote sensor
Protocol Hierarchies
Organized as a series of layers or levels. The purpose of each layer is to offer certain services to the higher layers. Layer n on one-machine carries on a conversation with layer n on another machine. Protocol: is an agreement between the communicating parties on how communication is to proceed. Peers communicate using the protocol. In reality, no data directly transferred from layer n on one machine to layer n on another machine.
Protocol stack: A list of protocol used by a certain system, one protocol per layer.
Semantics
Control information Error handling
Timing
Speed matching Sequencing
Number and priorities of the logical connection channels. Many networks provide at least two logical channels per connection, one for normal data and one for urgent data. Error control.
Error detecting code. Error correcting code.
Protocol Architecture
Task of communication broken up into modules For example file transfer could use three modules
File transfer application Communication service module Network access module
Transport Layer
Reliable data exchange Independent of network being used Independent of application
Application Layer
Support for different user applications e.g. e-mail, file transfer
The entities in layer n implement a service used by layer n+1. Layer n called service provider. Layer n + 1 called service user. Services are available at saps (service access points). Each SAP has an address that uniquely identifies it.
At a typical interface, the layer n + 1 entity passes an IDU to the layer n entity through the SAP. In order to transfer the SDU, the layer n entity may have to fragment it into several pieces, each of which is given a header and send to as a separate PDU (protocol data unit) such as a packet.
Addressing Requirements
Two levels of addressing required Each computer needs unique network address Each application on a (multi-tasking) computer needs a unique address within the computer
The service access point or SAP
Network PDU
Adds network header
Network address for destination computer Facilities requests
SERVICES
Connection Oriented Modeled after the telephone system Establish a connection Use the Connection Release the connection Connectionless Modeled after posted system
Acts like a tube: receive data by the same order was sent
Service Primitives
A service is formally specified by a set of primitives (operations) available to a user or other entity to access the service. Primitive tells the service to
Perform some action OR Report an action by a peer entity.
Example (Cont.)
CONNECT.response Used by the caller to accept/reject calls. CONNECT.confirm Tell the caller whether the call was accepted. DATA.request Request the data be sent. DATA.indication Signal the arrival of data. DISCONNECT.request Request that a connection be released. DISCONNECT.indication Signal the peer about the request. Service Could be.
Confirmed (Example: CONNECT). Unconfirmed (Example: DISCONNECT).
Physical Layer
Physical interface between data transmission device (e.G. Computer) and transmission medium or network Characteristics of transmission medium Signal levels Data rates Etc.
Application Layer
Support for user applications e.g. http, SMPT
OSI Model
Open systems interconnection Developed by the international organization for standardization (ISO) Seven layers A theoretical system delivered too late! TCP/IP is the de facto standard
Principles
A layer should be created where a different level of abstraction is needed. Each layer should perform a well-defined function. The function of each layer should be chosen with an eye toward defining internationally standardized protocols. The layer boundaries should be chosen to minimize the information flow across the interfaces. The number of layers should be large enough that distinct functions need not be thrown together on the same layer out of necessity.
OSI Layers
Application Presentation Session Transport Network Data link Physical
Network Layer
Routing packets from source to destination. Routes can be static or dynamic Bottleneck, congestion Connect heterogeneous networks (different addressing method, larger packet service). In broadcast networks, routing problem is simple, so the network layer is thin.
Transport Layer
Accept data from the session layer, split it up into smaller units if needed, pass these to the network layer and ensure that the all pieces arrive correctly at the other end Under normal conditions, the transport layer creates a distinct network connection for each transport connection required by the session layer If the transport connection requires a high throughput, the transport layer might create multiple network connections, dividing the data among the network connections to improve throughput
Session Layer
Allows users on different machines to establish sessions between them A session might be used to allow a user to log into a remote timesharing system or to transfer a file between two machines Example: token management. Only the side holding the token may perform the critical operation. Synchronization: insert a checkpoint.
Example: sending file for 20 hours. After a crash the portion after the checkpoint will be resend again.
Presentation Layer
Concerned with the syntax and semantics of the information transmitted. A typical example of a presentation service is encoding data in a standard agreed upon way. [Character strings, integers, floatingpoint numbers].
Application Layer
The application layer contains a variety of protocols that are commonly needed. Example: incompatible terminal type. One way to solve this problem is to define an abstract network virtual terminal that editor can be written to deal with. To handle each terminal type, a piece of s/w must be written to map the functions of the network virtual terminal onto the real terminal. Other application is file transfer(ftp).
Example Of Networks
Novell NETWARE.
Client-server model. IPX/SPX. Network layer runs IPX (internet packet exchange). IPX uses 10 byte address (IP uses 4 bytes) flat addressing. Transport protocol.
NCP (network core protocol). Transport service & other services. SPX (sequenced packet exchange): Just transport service.
THANKS
http://www.final-yearprojects.co.cc/