Data Transmission and Security Flashcards
Methods of transmission
- Copper cables using electrical pulses
- Radio frequency (wireless)
- optical fibre (light)
- infrared
Use of fibre optic cables
Carry almost 100% of worldwide internet and phone traffic
Bandwidth
Amount of data that can be carried at one time
Serial Transmission
Method:
Advantages:
Bits are sent one signal at a time
Advantages over parallel:
- smaller and simpler connectors
- crosstalk creates interference between parallel lines and can result in corrupted bytes which would need to be retransmitted
- serial links are much more reliable over greater distances than parallel
Parallel Transmission
- Signals (bits) are sent simultaneously over a number of parallel wires
Crosstalk
Crosstalk occurs when a signal from one line gets transferred to another line
Skew
Each wire in a parallel cable has slightly different properties so the signals travel down the wires at slightly different speeds. This means the transmission must be over very short distances to avoid this problem
Simplex Transmission
Data travels in one direction only
Half duplex transmission
Data can travel in both directions along a single cable, but not simultaneously (not in both directions at the same time)
(Full) Duplex transmission
Data can travel in both directions simultaneously using two cables
Bit rate and Baud rate
The speed of data is measured in bits per second
The baud rate is the rate at which the signal changes
Baseband means one signal (bit) is sent at a time down a serial connection
In standard baseband, bit rate = baud rate
Why serial transmission can be faster than parallel
With higher bandwidths, more than one bit can be coded in a signal, increasing the bit rate
- Bit rate of channel = baud rate x number of bits per
signal
Transmission errors
When data is transmitted, it doesn’t always arrive in the same format that it was sent
- Electric interference
- Power surges
- Synchronisation
- Wear and tear on the cable or connectors
Error checking
Computers need methods to check for data transmission errors caused by interference
These methods include the use of:
- Parity bits, blocks
- Check digits
- Check sums
- Automatic Repeat reQuests (ARQ)
Parity bits
Computers use either odd or even parity
When sending a byte of data one bit is used as a parity bit
This is bit is set to a 1 or a 0 to make the total number of 1s and 0s in the byte (including the parity bit) odd or even depending on the machine
Using Parity for error detection
When data is transmitted, the parity bit is set at the transmitting end and parity is checked at the receiving end
If the wrong number of bits are ‘on’, an error has occurred
The receiving computer notifies the transmitting end and the data is resent
Check digits
A check digit is an additional digit at the end of a string of other numbers designated to check for mistakes in input or transmission
Printed books and other products have a unique barcode with an ISBN (International Standard book number) EAN (European Article Number)
The first 12 digits of the barcode are the unique item number, the 13th is the check digit
This can be calculated using the Modulo 10 system
Check sums
A check sum works similar to a check digit
The checksum of all bytes in a data transmission is calculated using an algorithm
The check sum is sent with the data
The receiving computer recalculates the checksum based on the data it received and compares it with the checksum received or a known, expected value
If it does not match, the data may have been altered or corrupted during transmission and the data is resent
Automatic Repeat reQuests
Computers using ARQs will automatically return an acknowledgement that the data was correct
The simplest stop and wait ARQ will resend the data if an acknowledgement is not received within a specific period of time period, it will assume that there was a flaw in the data or transmission error
What is the internet
A collection of interconnected networks, not the world wide web as that is a part of the internet