Computer Science Network Layers Please Explain

Watch
GuyK03
Badges: 3
Rep:
?
#1
Report Thread starter 2 years ago
#1
Hi, I'm doing a GCSE in OCR Computer Science, and I know nothing about packet switching or TCP/IP or Network Layers. Can someone please tell me the process that data would take as it is sent from Computer A to Computer B over the internet?
0
reply
Baby_Mama
Badges: 12
Rep:
?
#2
Report 2 years ago
#2
Enjoy
TCP/IP:
It's the protocol which controls how data is sent between networks.
The TCP part of TCP/IP - sets the rules of how devices connect on the network
- in charge of splitting the data into packets and reassembling them back into the correct order when its received.

The IP part of TCP/IP - is responsible for packet Switching.
Packet Switching is used by routers to direct data packets on the internet and other IP networks.

PACKET SWITCHING PROCESS:

1) Computer A splits data into packets to be sent across the network
2) each packet is given a packet number to show the order of the data
3) each router reads packet header and decides where the packet is to be sent.
4) as packets take different routes they can arrive in the wrong order so Computer B uses the packet number to reassemble them back in the right order
5) Computer B checks if all the data packets have been received
6) If it hasn't received all the data packets in a certain time (e.g. 10-15sec) it sends a timeout message back to Computer A.
7) If all the data packets have been received in the correct time and the checksum match a receipt confirmation is sent back to Computer A.

Checksum - a form of validation to check if payload( the data read by receiver) data isn't corrupt.

NETWORK LAYERS:
(definition) Layer - a group of protocols which have similar functions
-each layer servers the layer above it.
- layers are self-contained meaning the protocols in the layers do their job without needing to know what's happening in other layers.

LAYER 4 - turns data into applications and websites
Protocols present : HTTPS/HTTP/SMTP
LAYER 3 - controls data flow
Protocols present : TCP
LAYER 2 - makes connections between networks directing data packets
Protocols present : IP
LAYER 1 - responsible for how bits are sent as electrical signals over networks
Protocols present : Ethernet
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

If you haven't confirmed your firm and insurance choices yet, why is that?

I don't want to decide until I've received all my offers (44)
40.74%
I am waiting until the deadline in case anything in my life changes (21)
19.44%
I am waiting until the deadline in case something in the world changes (ie. pandemic-related) (6)
5.56%
I am waiting until I can see the unis in person (9)
8.33%
I still have more questions before I made my decision (9)
8.33%
No reason, just haven't entered it yet (8)
7.41%
Something else (let us know in the thread!) (11)
10.19%

Watched Threads

View All