Docsity

IGCSE ICT NOTE/SLIDES, Slides of Technology

Partial preview of the text

Download IGCSE ICT NOTE/SLIDES and more Slides Technology in PDF only on Docsity!

Chapter 2

Data Transmission

Data Transmission

 Data Transmission is a transfer of data from one devices to another devices.

 Data Transmission can be either over short or long distance

 The transmission data need to be considered with respect to:

How the data is transmitted

How can errors of transmission be detected and can the data be

recovery

The role of encryption to make sure data that falls into the wrong hands

can not be used

Packet Structure

 Packet is split up into:

 A packet header

 The payload

 A trailer

Type and Method of Data Transmission

Packet Structure

For each packets, the packet header consists

of:

 The IP address of the sending device

 The IP address of the receiving device

 The sequence number of the packet ( this

is to ensure that all packet can be

reassembled into the correct order once

they reach destination)

 Packet size (this is to ensure the receiver

can check if all of the packets has arrived

intact)

Type and Method of Data Transmission

Header

Packet Structure

For each packet, the packet trailer consists of:

 Some way to identifying the end of the packet;

this is essential to allow each packet to be

separated from each other as they travel from

sending and receiving station

 An error checking method: cyclic redundancy

checks(CRCs) are use to check data packets

Type and Method of Data Transmission

Trailer

An error checking method  This involves the sending computer adding up all the 1 bits in the payload and storing this as hex value in trailer before it is sent  Once the packet arrives, the receiver recalculates the number of 1 bit in the payload  The compute then check this value against the one sent in trailer  If the two values match, then no transmission errors have occurred; otherwise the packet needs to be resent.

Type and Method of Data Transmission

Each stage in the route contains a router. Router will determine which route the packet needs to take, in order to reach its destination Packet Switching

Packet Switching

The benefits of packet switching are:

» there is no need to tie up a single communication line

» it is possible to overcome failed, busy or faulty lines by simply re-routing packets

» a high data transmission rate is possible.

The drawbacks of packet switching include:

» packets can be lost and need to be re-sent

» the method is more prone to errors with real-time streaming (for example, a live sporting

event being transmitted over the internet)

» there is a delay at the destination whilst the packets are being re-ordered.

Type and Method of Data Transmission

Sometimes it is possible for packets to get lost because they keep ‘bouncing’ around from router to router and never actually reach their destination

 Eventually the network would just grind to a halt as the number of lost packets

mount up, clogging up the system.

 To overcome this, a method called hopping is used.

 A hop number is added to the header of each packet, and this number is reduced

by 1 every time it leaves a router

Simplex

 Data transfer only

one way.

 Eg. Sending data

from computer to

printer.

Half-Duplex Duplex

 Data can transfer

in both direction,

but only one at a

time.

 Eg. Walkie-talkies

 Data can transfer

in both direction

at the same time.

 Eg. Phone

Conversation

Data Transmission

Direction of Data Transmission

Data Transmission

Serial Transmission

 Data sent one bit at a time over

single wire.

 transfer well over for long distance

 Slower rate of transmission

 no problem of data (not skewed)

arriving at receiver.

 Used in Universal Serial Bus

(USB)

 Eg. Sending data from a computer

to modem.

Sender Receiver Method of Transmission

Data Transmission

Method of Transmission

Comparison of serial and parallel data transmission

Example

Simplex Half- duplex full- duplex Serial Parallel Data transmitted in one direction, one bit at a time over single channel or wire Several bits are transmitted in both direction at the same time over several channel or wires Data transmitted in both direction, but not at a time over single wire.

Universal Serial Bus (USB)

 USB is an serial data transmission.

 USB allows both half-duplex and full-duplex data transmission.

 USB is now the most common type of input/output port found on computer

and has led to a standardization method for the transfer of data between

devices and a computer

 USB cable consists of four wire shielded cable.

 Two wires are used for power and earth

 Two wires are used for data transmission

When you plug a USB into your device

 Computer detect a device automatically due to difference voltage.

 Device is recognized automatically and device driver are loaded up for

communication between computer and device.

 If it is new device

 Search for related device driver

 If it is not present, the user is prompted to download the appropriate

software.