+ All Categories
Home > Documents > ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by...

ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by...

Date post: 30-Dec-2015
Category:
Upload: marcus-cobb
View: 215 times
Download: 0 times
Share this document with a friend
Popular Tags:
25
ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the other device and stop bits to say that’s it finished. 10 11010011 110 FRAME with start and stop bits Used in low bandwidth situations
Transcript
Page 1: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

ASYNCHRONOUS

Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the other device and stop bits to say that’s it finished.

10 11010011 110

FRAME with start and stop bits

Used in low bandwidth situations

Page 2: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

SYNCHRONOUS

Here the devices are synchronised, they are both reading the line at the same speed.

A start frame is sent to set the synchronisation. A stream of data follows, then a stop frame.

Start frame… DATA …Stop frame

Used in high bandwidth situations

Page 3: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

PARITY CHECKS

As ASCII is a 7 bit code, we have a spare bit in each byte.

If we use this to ensure the number of ones and zeros is even, then this gives an error check.

Letter: 1000011

Even parity: 11000011

If an even number of ones is not received, then an error has occurred.

Page 4: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

PARITY CHECKS

This same can be done with odd parity.

Parity checks are very simple to implement BUT:

What if two bits are wrong?

Uses up 12.5% of the message, so high redundancy.

Page 5: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

CYCLIC REDUNDANCY CHECK

All the bytes in the packet of data are subject to a calculation according to some formula.

The result is divided by a set number and the remainder is sent.

At the other end the same calculation is performed and if they do not get the same remainder, then they request the packet to be resent.

Page 6: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

CSMACDCarrier Sense Multiple Access Collision Detection

•A node senses the bus to see if it is clear.

•It puts its message on the bus.

•If another node does this at the same time, a collision occurs.

•The node that first detects the collision sends out a signal to clear the bus.

•The two nodes wait a random time interval before retransmitting.

Page 7: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

WPANWireless Personal Area Network

Very local, one room, about 10 metres radius

Connect mobile, pda, laptop, mp3 player, psp

All devices must be using the same standard and have the necessary transmitter / receiver.

Bluetooth is the most common standard.

Page 8: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

WLAN

Wireless Local Area Network

Often used in homes to share

broadband.

Each machine must have a wireless network interface card (or a USB receiver).

The standard is 802.11, the latest version 802.11g has a speed of 108 Mbps.

Page 9: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

WWAN

Wireless Wide Area Network

This is possible using equivalent of mobile phone transmitters or satellite receivers.

Page 10: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

INTERNET CONNECTIONS

•Dial up

•Cable modem

•Leased line

•ISDN

•ADSL

Page 11: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

Dial-up

A device called a ‘Modem’ was developed to allow Digital data to be carried over the analogue telephone system.

MODEM

Digital signal

‘1’

‘0’

One Tone representsBinary ‘1’

A different TonerepresentsBinary ‘0’

Telephone line

This is why dial modems can be heard to ‘whistle’ as they communicate. You are hearing the tones that represent digital information

Page 12: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

•A dial-up connection makes use of a 56 Kilobits per second Modem.

•Your PC literally dials (hence the name) a phone number (provided by your ISP) and connects to the server and therefore the internet.

•You are circuit switched to your ISP and are paying a phone call.

Page 13: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

Dial Up

Same as making a phone call, so ties up your phone.

No special equipment apart from in-built modem.

Need to sign up with an ISP.

Good for casual users, but speed very frustrating.

(the World Wide Wait)

Page 14: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

Cable Modem

An always on connection.

Huge bandwidth possible (50Mbps), but you share your line with others.

Effective speed is only 2 - 8 Mbps.

Page 15: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

Cable Modem

Good for home users, small businesses,

You can get a cheap deal if you have cable TV as well

but because you share your line, not very secure

(subject to ‘packet sniffing’).

Bandwidth can drop at peak times.

Page 16: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

Leased Line

Here you rent your own dedicated line from BT.

Very expensive.

Often used by businesses to connect branches to head Office.

Very secure, reasonable bandwidth.

Page 17: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

ISDN

Integrated Services Digital Network.

Needs a separate digital line to be connected.

Like dial up you pay per call. Carries 64Kbps but uses two lines to get 128Kbps or more.

Don’t need a modem.

Page 18: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

Standard ISDN is 64Kb but can be multiplied for higher speed, however you pay multiple charges.

•The ISDN service allows you to use the telephone at the same time – it does not tie up the line.

•It is fast to connect.

Page 19: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

Gives you a dedicated (circuit switched) line while you are connected.

Good for business use, cheaper than leased but still very secure.

Excellent for video conferencing. Used by TV companies for outside broadcasts.

Expensive to install and run. Limited speed nowadays but there is a 1.5Mbps version.

Page 20: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

Providing bandwidth is expensive – it needs special equipment at the exchanges and your telephone line has to be of good quality .

Telephone companies realised that most domestic customers would be downloading far more than they would be uploading. And so it made sense to develop a DSL technology that provided fast download speeds but slower upload speeds.

This service is called Asymmetric Digital Subscriber Line (ADSL) otherwise known as ‘Broadband’

Page 21: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

ADSLThe connections work by splitting your phone line into two separate channels, one for data (internet) and one for voice (phone calls) which means you can talk on the phone and be connected to the internet at the same time.

Excellent for home users and businesses

Speeds of 1Mbps – 8Mbps (download)

Upload about 1/8 or less of download.

Page 22: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

Advantages of ADSL

• Faster downloads compared to dial-up or ISDN

• No need for a second phone line

• ADSL connections are Always on, so no dialling up, but you do re-connect.

Page 23: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

Disadvantages of ADSL• ADSL connections are not available to

everyone, you need to be within 3 miles of an ADSL enabled exchange.

• You will need a special ADSL modem and ADSL filters.

• Because ADSL connections are Always on you will need a firewall to protect your PC

Page 24: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

Network Interface Card

Must be present in any device connected to a LAN.

Like all interfaces they have to carry out data conversion and buffering.

They also organise data in frames with start and stop bits, add error checks and add headers with addresses

Page 25: ASYNCHRONOUS Sends A letter at a time. The devices are not synchronised. The letter is framed by start and stop bits. The start bits are to ‘wake up’ the.

MAC Address

Every NIC has its own 48 bit unique Media Access Control address.

Although LANs often use private IP addresses, they have to be translated into MAC addresses so that the NIC recognises it.


Recommended