2- Data transmission Flashcards
Types and methods of data transmission
1- Data packets
2- Data transmission
3- Universal serial bus (USB)
1-Data packets
- Data sent over long distances is usually broken up into data packets (sometimes called datagrams).
- The packets of data are usually quite small, typically 64KiB, which are much easier to control than a long continuous stream of data.
So Data packet is : – a small part of a message/data that is transmitted over a network; after transmission all the data packets are reassembled to form the original message/data
A typical packet is split up into
» a packet header
» the payload
» a trailer
packet header
the part of the data packet that contains the IP addresses of the sender and receiver, and includes the packet number which allows reassembly of the data packets
payload
the actual data being carried in a data packe
packet trailer
the part of a data packet that indicates the end of the data packet and cyclic redundancy check error ( CRC)
Packet switching
method of transmission in which a message is broken into many data packets which can then be sent along pathways independently of each other
A video conference is taking place between delegates in the USA and Mauritius. Packet switching is used to send video and sound data between delegates.
Describe:
a) the potential problems with sound and video quality
b) how the problems in part a) could be overcome.
a) Video conferencing is in real time. Video and audio data is split up into data packets before it is sent over the internet. This means that each data packet could potentially follow a different route from delegate to delegate. Data packets could therefore take different times from sender to recipient, or some may even become ‘lost’. The arriving packets also need to be reassembled into the correct sequence, which can also cause a time delay. All of this could lead to gaps in data received, freezing of images, drop out or voice and mouth ‘out of synchronisation’ – this would be caused by audio and video data taking different times from sender to receiver.
b) Since the problems seem to be due to timing issues, the best solution would be to eliminate these time differences. A single path for all data packets would resolve this; that could be achieved using a dedicated communication link between delegates.
Benefits of packet switching
- 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.
- It is relatively easy to expand package usage.
- A high data transmission rate is possible.
Drawbacks of packet switching
- Packets can be lost and need to be re-sent.
- The method doesn’t work well
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.
Explain how packet switching could be used to download some software from a website
- The software is broken up into data packets; each numbered in sequence and each has the same MAC/IP addresses.
- Each data packet is sent to its destination via its own route; the route taken is ‘decided’ by the routers within the network which take various factors into consideration.
- When the data packets arrive at their destination, they are reassembled into the correct order according to their sequence numbers.
- A CRC check is carried out on each data packet to ensure no errors occurred during the transmission of the software.
- Note: mention of hop numbers can also be included in the description and should gain credit.
Data being shared between two computers is split up into a number
of data packets prior to transmission. The data packets contain a header and a trailer.
a) Give three pieces of information found in the header.
b) The trailer contains a cyclic redundancy check (CRC).
Name another item found in the trailer.
c) i) Explain how it is possible for data packets to be lost during their transmission across a network.
ii) Describe how it is possible to deal with lost packets so that they don’t cause network problems, such as ‘clogging up’ the system.
a - IP addresses of sender and recipient.
- Packet sequence number.
- Packet size.
b - Some indication of the end of the packet.
c i) Data packets keep ‘bouncing’ around from
router to router and never actually reach their destination; this then becomes a lost data packet.
ii) Each data packet is given a hop number; every time a packet leaves a router, the hop number is decreased by 1; if the hop number reaches 0, and it hasn’t yet reached its destination, then the data packet is deleted from the system and a request is made for it to be re-sent.
router
a device that enables data packets to be moved between different networks, for example to join a LAN to a WAN
real time streaming
the transmission of data over a network for live events where the data is sent as soon as it is received or generated
hopping/hop number
a number in a data packet header used to stop data packets that never reach their destination from ‘clogging up’ the data paths/routes
2- Data transmission
- Data transmission can be either over a short distance (for example, computer to printer) or over longer distances (for example, from one computer to another in a global network).
- Essentially, three factors need to be considered when transmitting data:
» the direction of data transmission
» the method of transmission
» how will data be synchronised - These factors are usually considered by a communication protocol.
The modes of data transmission
- Simplex : mode occurs when data can be sent in ONE DIRECTION ONLY.
- Half-duplex : mode occurs when data is sent in BOTH DIRECTIONS but NOT AT THE SAME TIME.
- Full-duplex : mode occurs when data can be sent in BOTH DIRECTIONS AT THE SAME TIME.
Types of data transmission
- Serial data transmission : occurs when data is sent ONE BIT AT A TIME over a
SINGLE WIRE/CHANNEL. Bits are sent one after the other as a single stream.
Serial data transmission works well over long distance. - Parallel data transmission : occurs when SEVERAL BITS OF DATA (usually one byte) are sent down SEVERAL CHANNELS/WIRES all at the same time. Each channel/wire transmits one bit.
Parallel data transmission works well over short distances.
Features of serial transmission
- less risk of external interference than with parallel (due to fewer wires)
- more reliable transmission over longer distances
- transmitted bits won’t have the risk of being skewed (that is, out of synchronisation)
- used to send data over long distances (for example, telephone lines)
- less expensive than parallel due to fewer hardware requirements
Features of parallel transmission
- faster rate of data transmission than serial
- works well over shorter distances (for example, used in internal pathways on computer circuit boards)
- since several channels/wires used to transmit data, the bits can arrive out of synchronisation (skewed)
- preferred method when speed is important
- if data is time-sensitive, parallel is the most appropriate transmission method
- parallel ports require more hardware, making them more expensive to implement than serial ports
- easier to program input/output operations when parallel used
3- Universal serial bus (USB)
a type of serial data transmission which has become the industry standard for connecting computers to devices via a USB port
the benefits of using the USB system
- devices plugged into the computer are automatically detected and device drivers are automatically loaded up
- connections can only fit one way preventing incorrect connections being made
- it has become an industry standard, which means considerable support is available
- can support different data transmission rates (from 1.5 Mbps to 5 Gbps)
- no need for external power source since cable supplies +5V power
- USB protocol notifies the transmitter to re- transmit data if any errors are detected; this leads to error-free data transmission
- it is relatively easy to add more USB ports if necessary, by using USB hubs
- USB is backward compatible (that is, older versions are still supported)
The drawbacks of using the USB system
- standard USB only supports a maximum cable length of 5 m; beyond that, USB hubs are needed to extend the cable length.
- even though USB is backward compatible, very early USB standards (V1) may not always be supported by the latest computers.
- even the latest version 3 (V3) and version 4 (V4) USB-C systems have a data transfer rate which is slow compared to, for example, Ethernet connections (Note: USB V2 has a maximum data transfer rate of 480 Mbps.)
Errors can occur during data transmission due to:
- electrical interference – can corrupt data.
- packet switching – can lead to data being lost or out of synchronisation.
- skewing of data – bits arrive at their destination no longer synchronised.