2.1 Types and methods of data transmission Flashcards
What are packets?
Packets are small chunks of information/data
The structure of a data packet
A data packet has three sections:
- Packet Header
- Payload
- Packet Trailer
The packet header includes the:
– destination IP address
– packet number
– source/originator’s IP address
– error checker
Payload contains:
the actual data
Packet Trailer contains:
- Additional error checks
- End of packet notification (Includes a method of identifying the end of the packet)
Packet switching
Method of data transmission-
- the data is broken into multiple packets
- Packets are then sent independently from start to end and reassembled at the receiver’s computer.
Describe how packet switching is used and how it can be protected from corruption?
- The data is first broken down into packets which are given a source address (where its come from) and a destination address (where its going to) [1]
- Each packet receives a packet number so that the data can be reassembled when it reaches its destination [1]
- Each packet also receives an error check such as a parity bit. A parity bit checks whether any bits have been flipped due to corruption [1]
- Each packet is sent over the internet via routers. Routers contain routing tables that determine the next closest router to the destination [1]
- Packets may take different routes depending on internet traffic and arrive at their destination in any order [1]
- Packets are checked for errors using the error checks
- missing packets can be requested to be resent [1]
- Once all packets have been received then they can be put together in order using the packet numbers [1]
- Once assembled the data can be read by the reciever
The advantages of packet switching are:
- The whole file doesn’t need to be resent if a corruption occurs, only the individual packets that were corrupted need to be resent. This saves time and internet bandwidth
- High transmission rates
- It’s harder to hack an individual’s data as each packet contains minimal data, and travels through the network separately
- Possible to overcome failed or busy nodes
The disadvantages of packet switching are:
- Packets may be lost
- Delay at the receiver while the packets are being re-ordered
- not support real-time streaming
Types of data transmission
Serial data transmission
Parallel data transmission
Serial data transmission
One bit is sent at a time across a single wire
e.g. USB
Serial trasnmission ad and drawback
advantages:
* The data will arrive in the order it is sent
* It is less likely to have errors
* Serial transmission is cheap over short and long distances as the cost of wire is fairly inexpensive
* works well over long distances
drawback:
* low speed transmission
Parallel data transmission
Multiple bits are sent at a time across several wires
Parallel transmission ad and drawbacks
advantages:
* fast data transmission
* works well over short distances
drawbacks:
* expensive
* can cause delays
(Direction of transmission) Transmission Modes
- Simplex
- Half-duplex
- Full-duplex