Unit 6 · The Internet & Computing Systems · Lesson 6.2
Protocols and the Layer Idea
Two strangers can have a phone call only if they agree on the language, the greeting, and who talks first. Computers are the same. The agreement is called a protocol — and the internet stacks them in layers.
Big Idea 4 — Computer Systems & NetworksCED 4.1 · abstraction, fifth visit
Internet. Yesterday: many owners, no boss. Today: the rules they all agreed on, and why stacking those rules in layers lets the internet grow.
2
The Hook
A phone call with no rules.
Two volunteers. Neither may agree in advance on language, greeting, or who speaks first. Try to set up a
meeting time. Now do it again with three rules agreed first.
The second call worked because of the rules, not the phones. Those
rules are a protocol.
3
The Idea
A protocol is an agreed-upon set of rules that says how a system behaves — what a message
looks like, what order things happen in, what to do when something goes wrong. The internet’s protocols are
open: anyone can read them and build a device that follows them.
The internet doesn’t use one giant protocol. It uses a stack, and each layer has one job:
Layer
Example
Its one job
What it ignores
Application
HTTP
What the message means — “send me this web page”
how the bits get there
Transport
TCP
Split into packets, number them, make sure all arrive
what the content means
Internet
IP
Address each packet and move it toward its destination
whether it arrives
Physical
Wi-Fi, fiber, 5G
Move bits as signals: radio, light, electricity
everything above
This is abstraction again — its cleanest example. Each layer trusts the one below it and
ignores how it works. So when 5G or faster fiber is invented, only the bottom layer changes. The web, email, and
every app above keep working without being rewritten. That’s why the internet is scalable:
it can grow and add new technology without starting over.
4
Try It — Swap the Bottom Layer
Click a layer to see its job. Then swap the physical connection and watch what changes above it.
physical connection:
5
Vocabulary
protocol Internet
An agreed-upon set of rules that specify the behavior of a system — for the internet, how data is formatted and sent.
abstraction layer Internet
One level of a system that hides the details of the level below it. Each internet protocol layer relies on the one beneath without knowing how it works.
scalability Internet
The capacity of a system to change in size and scale to meet new demands. The internet’s open, layered protocols are why it scales.
6
Check
Five questions. The “why is it scalable?” stem is a regular — know the answer cold.
0 of 5 answered
7
Impact Check
Open rules, open door
Because the protocols are public, a teenager with a laptop can build a website
that works on every device on Earth, without asking anyone. Closed, private rules would have meant one company
deciding who gets to build on the internet.
8
Connections
Came from 1.7 — the abstraction ladder. Same move: hide the details below, build on top.
Came from 3.10 — procedural abstraction — you call a procedure without knowing how it works. Layers call the layer below the same way.
Next in 6.3 — IP’s job is addressing. What does an address look like, and why don’t you ever type one?
Returns in 6.11 — the whole stack in one trace: URL to rendered page.