• ↑↓ pour naviguer
  • pour ouvrir
  • pour sélectionner
  • ⌘ ⌥ ↵ pour ouvrir dans un panneau
  • ←→ pour naviguer
  • esc pour rejeter
⌘ '
raccourcis clavier

The Problem

Layers in a network architecture need to provide capabilities to the layer above without exposing implementation details. The upper layer needs to know what functionality is available, not how it’s implemented.

Core Idea

An abstract description of the capabilities or operations that a lower layer provides to the layer directly above it — the “what” of what a layer offers.

How It Works

  1. Lower layer defines a service interface (Service Access Point)
  2. Upper layer makes requests through the interface (service primitives)
  3. Lower layer performs the requested operation, possibly using its protocol
  4. Lower layer returns responses or indications through the interface
  5. The upper layer doesn’t need to know protocol details — just the service contract

Visual Explanation

G Upper Layer N+1 (Uses service) SAP Service Access Point (Interface) Upper->SAP Request SAP->Upper Lower Layer N (Provides service via protocol) SAP->Lower Process Lower->SAP Indication/Confirm

Key Properties

  • Vertical relationship: between adjacent layers on the same system
  • Abstract: describes “what” not “how”
  • Accessed through service primitives (request, indication, response, confirm)
  • Implemented by protocols at the same layer across systems

Connections

Edge Cases & Gotchas

  • Service primitives are often implemented as API calls (e.g., socket API)
  • Service changes require updating all upper layers that use it
  • A single service can have multiple protocol implementations