2.2.6-Layers Flashcards
What is the concept of layering?
The breaking down of the process of sending data into multiple components. The layers are organised into the order in which their rules must be applied. Each layer is independent
What are the properties of layers?
Independent of each other. Layers should only know the inputs and outputs of other layers, not how it works.
How are layers everywhere?
Example of decomposition
What layers does the TCP model have?
APPLICATION LAYER- Encodes or decodes messages so that they are understood by the sender or receiver. (TCP)
TRANSPORT LAYER- Breaks down the message into packets. Each packet is given a packet number, used to order the packets and make sure they are not missing. (TCP)
INTERNET LAYER - Uses IP address to to see where the packets are going and where they came from. (IP)
NETWORK ACCESS LAYER - Which hardware is going to be used to send the data. (Transmission media)
What is the main advantage of layers?
Each layer is independent but is able to send and receive data to/from the layers above and below it.
How is layer independence an advantage to layers?
You can change the layer without affecting the other layers.
How is debugging an advantage of layers?
Because the process has been split into different layers, it is easier to locate and fix the problem, because the layers are interdependent then fixing the layers won’t impact the other layers.
What is the process of wrapping the data with more information as it passes through the layers called?
Encapsulation