Protocols Flashcards
What are protocols? (1 mark)
Protocols are standards used to define how devices communicate.
What are protocols used for?(2 marks)
They are used to govern the transmission of data and allow everyone to follow the same rules and standards when using data.
Key terms you will need to know.
Handshaking - Handshaking is when the client requests access, the server grants the access and protocols are agreed on.
Packets - Collection of data
Packet switching - Packet switching is when packets are sent individually across a network. The packets may take different routes depending on the availability and traffic conditions. The packets then reassemble when they arrive to the user.
Give one advantage of packet switching.
One advantage of packet switching is improved efficiency because packets of data will take different routes depending on the traffic conditions to ensure the network doesn’t slow down.
Information of protocols
Each protocol has its own method to determine:
How data is formatted when sent
How that data is compressed
The size of the message and the speed of the transmission
What to do with it once recieved
How to check for errors in data
What several parts make up a data packet?
You need to include these in your answer:
Source address - Where the file is coming from
Destination address - Where it is going to
Packet sequence number - Which part of the file is it
DATA - The data itself
Checksum - Ensuring it is the same as the original
What is the TCP model?
It’s a model which consist of four layers with each layer having responsibility in the communication process
What does the application layer do?
The application layer encodes data so it can be understood by the recipient. It formats the data to the protocol being used as well as giving it an appropriate header.
What does the transport layer do?
The transport layer splits the data packets up and adds packet information.
What does the network/internet layer do?
The network/internet layer attaches the IP address of the sender to the recipient.
What does the link layer do?
The link layer attaches the media access control address of the sender and the reciever.
What is a HTTP?
A hypertext transfer protocol is a protocol used for requesting and recieving web pages in the form of hypertext markup language.
How does a HTTP work?
The protocol requests the webs server to transmit the requested page to the client machine.
File Transfer Protocol
Used to transfer files online.
Can be used to share/upload files - Files are uploaded onto a FTP server and the link is sent to another person.
Simple Mail Transfer Protocol
Used for sending e-mails
Needed when using different e-mail service providers
One requirement of this protocol is the specification of an IP port address. This requires a sender name, receiver name, subject and body.