communication tasks protocols protocol architecture characteristics of a protocol
TRANSCRIPT
![Page 1: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/1.jpg)
Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol
![Page 2: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/2.jpg)
Communications Tasks
Transmission System utilization
Interfacing
Signal Generation SynchronizationExchange
ManagementError Detection and
CorrectionFlow Control Addressing
Routing RecoverySecurity Network
Management
![Page 3: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/3.jpg)
•Transmission System Utilization
Need to make efficient use of Transmission facilities that are shared among a no. of communicating devicesFor Example:• Techniques like Multiplexing to allow
multiple users to share total capacity of a Transmission Medium
• Congestion Control: TX. System should not be overwhelmed by traffic
![Page 4: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/4.jpg)
InterfacingA device must have an Interface with the Transmission System/Transmission Medium• Signal GenerationElectromagnetic Signals travel over Transmission Medium. Once an interface is established, Signal generation is required• Properties of Signals• Capable of being propagated over Tx. MediumInterpretable as data at the Receiver
![Page 5: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/5.jpg)
The transmission and the reception should be properly synchronized. Synchronization means that the receiver must be able to determine, when to expect a new transmission and when to send acknowledgements. In other words transmitter and receiver should have an agreement on the nature as well as timing of the signals
Exchange Management If the data needs to be exchanged in both directions over
a period of time, both parties must cooperate as follows Whether both devices must transmit simultaneously or
take turns Amount of Data to be sent at one time Format f the Data What to do when an Error Arises
Synchronization
![Page 6: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/6.jpg)
In all comm. Systems, there is a potential risk for errors and impairments.
Tx. Signals are distorted to some extent before reaching their destination. Error Detection & Correction needs to be employed in Data Processing Systems where a change in say the contents of a file cannot be tolerated
Flow Control To make sure that source does not overwhelm destination by
sending data faster than it can be handled and processed Addressing & Routing If facility is shared by two or more devices , source must
specify the identity or the address of the destination system and if Tx. System is itself a system , a proper route must be allocated that the data will take in order to reach the desired destination
Error Detection and Correction
![Page 7: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/7.jpg)
If a data transmission is interrupted due to a fault somewhere in the system, recovery techniques are needed. The objective is either to resume activity at the point of interruption and to restore the state of the system to what it was prior to the interruption
Security Security is very important issue in a Data
Communication System. The sender needs to be assured that
Only the Intended receiver receives the data Data is delivered unaltered
Recovery
![Page 8: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/8.jpg)
“Set of Rules Governing Communication”
Protocols
![Page 9: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/9.jpg)
Protocols defines:
◦What is Communicated?◦How, it is Communicated?◦When, it is Communicated?
Protocols
![Page 10: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/10.jpg)
Elements of a Protocol:◦ Syntax
Represents the Structure or the format of the Data
Meaning the order in which data is presented
For Example
◦ First eight bits to be Sender address◦ Next eight to be Receiver’s Address
The Rest to be Data
Protocols
![Page 11: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/11.jpg)
Refer to the Meaning of each section of bits
How is a particular pattern to be interpreted?
What action should be taken based on interpretation?
For Example
◦ Does an address identify the route to be taken or the final destination of the message?
Semantics
![Page 12: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/12.jpg)
Refers to 2 characteristics: When data should be sent? How fast it should be sent? For Example
◦ If sender produces data at 100 Mbps◦ But Receiver can only process data at 1 Mbps
The TX. will overload receiver and data will be lost
Timing
![Page 13: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/13.jpg)
“Instead of having a single Module for performing communication,
there is a structured set of modules that implement communications
function”
Protocol Architecture
![Page 14: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/14.jpg)
Simplified File Transfer Architecture
![Page 15: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/15.jpg)
Direct or indirect Monolithic or structured Symmetric or asymmetric Standard or nonstandard
Characteristics of a Protocol
![Page 16: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/16.jpg)
i) SyntaxThe structure or format of the data.Eg. A simple protocol;
Elements of protocol
64 bits8 bits 8 bits
Sender address
Receiver address
data
![Page 17: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/17.jpg)
ii) Semantics - Refers to the meaning of each section of bits.
- how is a particular pattern to be interpreted, and what action is to be taken based on that interpretation.
Eg. Does an address identify the route to be taken or the final of the message?
![Page 18: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/18.jpg)
iii) TimingRefers to two characteristics:a. When data to be sentb. How fast it can be sentEg. If a sender produces data at 100 Mbps but
the receiver can process data at only 1 Mbps, the transmission will overload the receiver and data will be largely lost.
![Page 19: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/19.jpg)
a) Direct / indirect- communication between two entities
maybe direct or indirect.i) point-to-point link - connection provides a dedicated link between two devices- the entities in these systems may
communicate directly that is data and control information pass directly between entities with no intervening active agent.
Characteristics of protocol
![Page 20: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/20.jpg)
ii) multipoint link
- connection more than two devices can share a single link
- The entities must be concerned with the issue of access control and making the protocol more complex.
![Page 21: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/21.jpg)
b) Monolithic / structured - The task of communication between
entities on different systems is too complex to be handled as a unit.
![Page 22: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/22.jpg)
Eg. An electronic mail package running on two computers connected by a synchronous HDLC link. To be structured, the package would need to include all of the HDLC logic. If the connection were over a packet-switched network, the packaged would still need the HDLC logic to attach it to the network.
![Page 23: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/23.jpg)
c) Symmetric / asymmetric - Symmetric is the most use in protocol and involve communication between peer entities. - Asymmetry may be dictated by the logic of an exchange (eg; client and a server process) the desire to keep one of the entities or systems as simple as possible.
![Page 24: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/24.jpg)
d) Standard / nonstandard If K different kinds of information sources
have to communicate with L types of information receivers, as many as K x L different protocols are needed without standards and a total of 2 x K x L implementations are requiredIf all systems shared a common protocol, only K+L implementations would be needed.
![Page 25: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/25.jpg)
Why Standards are Essential?
• K sources and L receivers leads to K*L protocols and 2*K*L implementations• If common protocol used, K + L implementations needed
![Page 26: Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol](https://reader033.vdocuments.net/reader033/viewer/2022061616/56649e9e5503460f94b9f82e/html5/thumbnails/26.jpg)
Communication Tasks Protocols Protocol Architecture Characteristics of a Protocol
Summary