GCSE Computer Science · public explanation

Protocol Layers

Explain why networks use protocols and layers. Follow how responsibilities are divided in TCP/IP and distinguish the GCSE OCR and AQA requirements.

Read the explanation and worked examples, then choose your exam board to continue with activities and practice in your account.

OCR J277On the specificationOCR J277 1.3.2

Explain the concept, advantages and purpose of layers; recall of every layer name is not required by OCR.

AQA 8525 (2027+)On the specificationAQA 8525 3.5

Name application, transport, internet and link layers, describe their functions and place named protocols correctly.

One request needs several different jobs

A student opens the school notices page. In this illustrative example, the browser already has the server's destination IP address and requests /notices.html. Finding that address is the Web Address lesson's job; here, follow how the request becomes a message that another computer can receive and understand.

The browser needs rules for asking for a web resource. The computers also need to organise their communication, attach destination information and send data over a local connection. A layered model groups these different responsibilities. Each layer uses services provided below it instead of doing every job itself.

The page request is not replaced by an IP address or a cable. Its content travels with supporting communication information. AQA requires the four TCP/IP layer names and their functions. OCR requires protocols, standards and the purpose and advantages of layering; individual TCP/IP layer names and functions are supplied teaching context, not an extra OCR recall list.

The worked request

  1. Application: request /notices.html using web protocol rules.
  2. Transport and internet: organise communication between the hosts and address the data.
  3. Link: use the local network connection; the receiver then handles the message through the corresponding responsibilities.

The layers cooperate on one request; they are not four separate computers.

Rules make the message understandable

A network protocol is a set of rules used when devices communicate. The rules can specify how messages are formatted, what particular fields mean and how participants respond. A physical connection can carry bits without the two programs agreeing what those bits mean.

Imagine one notices program sends the resource name first, while the receiving program expects a command there. Receiving all the bits would not repair that disagreement. If both implement the same request rules, the receiver can recognise the command and resource instead of guessing their meanings.

A standard is an agreed specification that different organisations can follow. Standards can describe protocols or other networking details, such as a connection technology. Shared standards let independently made systems work together. A protocol is the communication rule set; standardisation makes an agreed rule set available for compatible implementations. Neither is a cable, nor a promise that every implementation is fault-free.

Give each responsibility a precise purpose

The application layer supports network applications such as browsers and email programs. HTTP supplies web request and response rules; HTTPS protects that web communication using encryption. These are not the same job as routing data to a destination. Calling this layer an app icon describes an appearance, not its communication responsibility.

The transport layer sets up communication between the two hosts, including agreeing settings such as how much data can be carried in a packet. TCP provides reliable, ordered communication: missing data can be sent again and data is delivered to the application in order. Reliability does not mean secrecy, and even TCP cannot make an unreachable destination respond successfully.

The internet layer uses IP to address and package data and route packets across networks. The link layer handles communication over the local network connection, using network hardware such as the NIC and its operating-system driver. A driver is software that allows the operating system to communicate with that hardware. AQA calls this bottom layer link; network access is another name sometimes used for the same layer.

AQA layer / OCR supplied modelJob in the notices requestAssociated example
ApplicationRequest the web resource using agreed web rulesHTTP or HTTPS
TransportSet up communication and provide TCP reliability/orderTCP
InternetAdd IP addressing and route packetsIP
LinkUse the local network connectionNIC and its device driver

Change the connection without rewriting every job

An interface is the agreed way that neighbouring responsibilities exchange data. For example, the network software above a connection needs a consistent way to hand over data for delivery. The interface states what service is expected without requiring every higher-level program to implement the hardware details.

Suppose the school replaces a wired connection with Wi-Fi and the new NIC and driver preserve a compatible interface to the software above. The local delivery mechanism changes, but the browser can keep using the same web-request rules for /notices.html. Developers can change one part without rewriting all the other parts merely because the connection technology changed.

This separation makes development and testing more manageable. Teams can check a responsibility against its agreed interface, and implementations from different suppliers can cooperate when they follow compatible standards. The condition matters: an incompatible interface may require other changes. Layering also does not guarantee a strong Wi-Fi signal, remove addressing or eliminate every network fault.

Continue with your exam board

The course combines lesson videos, interactive activities, topic questions and original exam mocks. Sign in to use the learning tools and save your progress; your account’s course access applies.

Independent learning resources. Not endorsed by AQA or OCR. These public introductions complement the full course and the official specification.