3.3.6

Layers

Test yourself

Layering Concepts

Protocol layer models are often used to help conceptualise the many different network protocols.

Illustrative background for Protocol layer modelsIllustrative background for Protocol layer models ?? "content

Protocol layer models

  • In a protocol layer model, a protocol layer is simply a group or collection of network protocols that work at a similar level within the networking process.
Illustrative background for Layer propertiesIllustrative background for Layer properties ?? "content

Layer properties

  • Layers of a protocol layer model should be independent of each other.
  • Layers should only interact with each other by considering the inputs and outputs of that layer, not how it works.
Illustrative background for Layers everywhereIllustrative background for Layers everywhere ?? "content

Layers everywhere

  • Layers are not only used within networking.
  • Layers are one example of a technique called abstraction, which helps to simplify problems.
  • Layers are commonly used in software development. For example:
    • A user interface layer.
    • A processing layer.
    • A database layer.

TCP and OSI Models

The four-layer Transmission Control Protocol model and the seven-layer Open Systems Interconnection model are two of the best known protocol layer models.

Illustrative background for TCP modelIllustrative background for TCP model ?? "content

TCP model

  • Application layer:
    • Creates and interprets data (e.g. HTTP, IMAP, FTP).
  • Transport layer:
    • Splitting / joining of data (e.g. TCP).
  • Internet layer:
    • Adding addresses to data (e.g. IP).
  • Network Access layer:
    • Converting data into electrical signal (hardware) (e.g. Ethernet, WiFi).
Illustrative background for OSI modelIllustrative background for OSI model ?? "content

OSI model

  • The OSI model is a very similar protocol layer model.
  • The OSI model has seven layers:
    • Application.
    • Presentation.
    • Session.
    • Transport.
    • Network.
    • Data Link.
    • Physical.
Illustrative background for Comparing the two modelsIllustrative background for Comparing the two models ?? "content

Comparing the two models

  • The two models describe the exact same network system:
    • The first three layers of the OSI model are grouped into TCP's 'Application' layer.
    • The 'Transport' layers are the same in both models.
    • OSI's 'Network' layer is called 'Internet' in the TCP model.
    • OSI's bottom two layers are combined into TCP's 'Network Access' layer.

Advantages of Layering

Each layer is self-contained but is able to send and receive data to/from the layers above and below it.

Illustrative background for SpecialistsIllustrative background for Specialists ?? "content

Specialists

  • Software developers and engineers can be employed to work within one specific layer.
  • This allows people to specialise in one area.
Illustrative background for Layer independenceIllustrative background for Layer independence ?? "content

Layer independence

  • As long as the inputs and outputs of the layer remain consistent, then the layer can be changed without affecting the other layers.
  • This allows layers to be improved for efficiency without affecting other parts of the system.
Illustrative background for DebuggingIllustrative background for Debugging ?? "content

Debugging

  • Network engineers can diagnose and fix issues within individual layers when problems happen.
Illustrative background for Application developmentIllustrative background for Application development ?? "content

Application development

  • Application developers can create networked applications without knowing the details of how a network physically works.

Jump to other topics

1Components of a Computer

2Software & Software Development

3Exchanging Data

4Data Types, Data Structures & Algorithms

5Legal, Moral, Cultural & Ethical Issues

6Elements of Computational Thinking

6.1Thinking Abstractly

6.2Thinking Procedurally

6.3Thinking Logically

7Problem Solving & Programming

8Algorithms

Go student ad image

Unlock your full potential with GoStudent tutoring

  • Affordable 1:1 tutoring from the comfort of your home

  • Tutors are matched to your specific learning needs

  • 30+ school subjects covered

Book a free trial lesson