Unit 1 · Data Communication Fundamentals

1.2Components of a data communication system

ComponentRoleExample
MessageThe information to sendAn email, a video
SenderDevice that originates the messageYour laptop
ReceiverDevice that receives the messageA web server
MediumPhysical path of transmissionCable, radio waves
ProtocolSet of rules both sides followHTTP, TCP

Without a protocol, two devices may be connected but unable to understand each other, just as two people speaking different languages cannot communicate even in the same room.

Protocol: the rules both sides follow (e.g. HTTP, TCP)MessageMedium: cable, fibre or radio wavesSenderyour laptopReceivera web server
The five components of data communication: a message travels from sender to receiver over a medium, following a protocol

Each component in more detail

Why protocols matter so much

A protocol is like the rules of a conversation. When you phone someone you say "Hello", wait for a reply, take turns to speak and say "Goodbye" at the end. Without such rules, both people could talk at once, or never know when the call is over. Computer protocols set rules like these, but much more precisely.

A protocol defines three things:

ElementQuestion it answersExample
SyntaxWhat is the format of the data?The first 6 bytes of an Ethernet frame are the destination address
SemanticsWhat does each part mean, and what action should follow?A "404" in an HTTP reply means the page was not found
TimingWhen should data be sent, and how fast?Wait for an acknowledgement before sending more

Protocols are written as standards so that equipment from different manufacturers works together. Important standards organisations include the IEEE (Ethernet and Wi-Fi), the IETF (Internet protocols such as TCP, IP and HTTP), the ISO (the OSI model) and the ITU (telecommunications).

Remember

  • Five components: message, sender, receiver, medium and protocol.
  • A protocol defines syntax, semantics and timing.
  • Standards let devices from different vendors communicate.