←Back to Subject
Notes
Notes
Study material and explanations
Diagrams
Diagrams
Visualize concepts easily
Mnemonics
Mnemonics
Tricks to remember faster
One Night Prep
One Night Prep
Short and focused revision
Revision
Revision
Quick summary and key points
Important Questions
Important Questions
Practice most relevant questions
Notes

Open Systems & Layered Network Architectures: Encapsulation

Study material and explanations for Unit 4

Open Systems and Layered Network Architectures: Concepts, Protocols, and Interfaces

Sending a file from an Android phone in India to a Windows web server in California involves thousands of complex steps: electrical voltages, error checking, routing across 15 routers, and file formatting.

If engineers tried to write one single giant program to do all of this, it would be impossible to debug or upgrade! The solution is Layering.


1. What is an Open System?

An Open System is a computer system that adheres to open, publicly available, vendor-independent standards (such as TCP/IP or ISO OSI).

  • Any manufacturer (Apple, Dell, Lenovo) can build equipment that complies with open standards, guaranteeing that devices from different companies work together seamlessly.

2. Why Use a Layered Architecture? (The Post Office Analogy)

Think of how you mail a physical handwritten letter through India Post:

  1. You (Sender): Write the letter, seal it in an envelope, write the recipient’s address, and stick a postal stamp.
  2. Local Post Office: Collects letters from your area, sorts them by PIN code, and packs them into mailbags.
  3. Airport / Railways: Transports mailbags across cities without ever opening or reading your letter!
  4. Destination Post Office: Unpacks the mailbag and gives it to the local postman.
  5. Friend (Receiver): Receives the envelope, opens it, and reads your letter.

Notice that the airline pilot doesn’t need to know what is written in your letter! Each layer has a specific job and communicates only with the layers directly above and below it.

Layered Communication Model
Layer N (Sender)Adds Header H_N
➔ Virtual Protocol ➔
Layer N (Receiver)Strips Header H_N

3. Protocols vs. Interfaces

In exams, this distinction is frequently asked:

Concept What It Is Who It Communicates With
Protocol A set of formal rules governing communication between peer entities on the same layer on two different machines (e.g., Layer 3 on Machine A talks to Layer 3 on Machine B). Horizontal communication between remote machines.
Interface The set of operations and services that a lower layer offers to the layer immediately above it inside the same computer. Vertical communication within the same computer.
  • Service Access Point (SAP): The specific software doorway or port where Layer N-1 delivers services to Layer N.

💡 DAVV Exam Tip

Question (5 Marks): “Explain the concept of layered architecture in computer networks. Differentiate between a Protocol and an Interface.”

  • Give the India Post letter analogy for layering.
  • Differentiate: Protocol = Horizontal communication between peer layers on different machines; Interface = Vertical communication between adjacent layers on the same machine.