Monday, August 24, 2009

Circuit Switching vs. Packet Switching

Traditional connections for voice communications require a physical path connecting the users at the two ends of the line, and that path stays open until the conversation ends. This method of connecting a transmitter and receiver by giving them exclusive access to a direct connection is called circuit switching.

Most modern networking technology is radically different from this traditional model because it uses packet data. Packet data is information which is:

1.chopped into pieces (packets),
2.given a destination address,
3.mixed with other data from other sources,
4.transmitted over a line with all the other data,
5.reconstituted at the other end.
Packet-switched networks chop the telephone conversation into discrete "packets" of data like pieces in a jigsaw puzzle, and those pieces are reassembled to recreate the original conversation. Packet data was originally developed as the technology behind the Internet.




A data packet.


The major part of a packet's contents is reserved for the data to be transmitted. This part is called the payload. In general, the data to be transmitted is arbitrarily chopped-up into payloads of the same size. At the start of the packet is a smaller area called a header. The header is vital because the header contains the address of the packet's intended recipient. This means that packets from many different phone users can be mixed into the same transmission channel, and correctly sorted at the other end. There is no longer a need for a constant, exclusive, direct channel between the sender and the receiver.

Packet data is added to the channel only when there is something to send, and the user is only charged for the amount of data sent. For example, when reading a small article, the user will only pay for what's been sent or received. However, both the sender and the receiver get the impression of a communications channel which is "always on".

On the downside, packets can only be added to the channel where there is an empty slot in the channel, leading to the fact that a guaranteed speed cannot be given. The resultant delays pose a problem for voice transmission over packet networks, and is the reason why internet pages can be slow to load.

No comments:

Post a Comment