Difference between revisions of "Packet Switching"

From CompSciWiki
Jump to: navigation, search
 
(11 intermediate revisions by 6 users not shown)
Line 3: Line 3:
  
 
|Introduction=
 
|Introduction=
Have you ever think how Internet sends information to other users?<br />
+
Have you ever wondered how information is transmitted over the Internet?<br />
Packet switching is a way of sending and receiving informations from the Internet. There exists other ways of sending informations as [http://en.wikipedia.org/wiki/Circuit_switching Circuit Switching].  
+
It uses packet switching. Other methods, such as [http://en.wikipedia.org/wiki/Circuit_switching Circuit Switching], also exist.
  
<br /> Packet switching refers to protocols in which information or message are broken up into small packets before sending off. Each packet would be send individually across the net, not necessary in the same routine. Packet has a maximum length to prevent delays. Once all the packets forming a messages arrives, they are recompiled and build up to the original message.
+
<br />Packet switching refers to protocols in which information or messages are broken up into small packets before being sent off. Each packet is then individually sent across the net, not necessary along the same route. A packet has a maximum length to prevent delays. Once all the packets arrive at their destination, they are recompiled into their original message.
  
 +
 +
|...by students=<em><b>When Traffic Stops</b>
 +
<br />Have you experienced a webpage where its imagery and sound only partially loaded?<br/>
 +
Imagine that each package that makes up this media is a car.  In circuit-switching, if one car crashes, then all other cars would need to wait for that car to be fixed.<br/>
 +
But, what about side-roads? One car could crash but others do not need to wait. They can use other roads.<br/>
 +
Packet-switching is like that. There is no specific road that a package needs to travel.<br/>
 +
</em>
 +
 +
|Content=
  
 
==How does it work?==
 
==How does it work?==
Think you have made a jigsaw puzzle. You are sending each piece of puzzle to all your classmates you had in early childhood with a message that has the date, time and place to meet. Your goal is to gather all your classmates and construct the puzzle with everyone.<br/>
+
Imagine that you have made a jigsaw puzzle. You are sending each piece of the puzzle to all your classmates you had in early childhood with a message that has the date, time and place to meet. Your goal is to gather all your classmates and construct the puzzle with everyone.<br/>
  
Package Switching works in the same way. <br/>
+
[[image:PackageS3.jpg|frame|none|puzzle sending]]
The message would be packaged and send to the destination. This packages doesn't need to go through the same roads. As all the packets necessary to construct the message arrives to its destination, packets are reassembled into original message.<br/>
+
  
 +
Packet switching works in the same way.<br/>
 +
The message is packaged and sent to the destination. These packets may travel along different roads. As all the packets necessary to construct the message arrive at their destination, they are reassembled into the original message.<br/>
  
|...by students=<em><b>title</b>
 
<br />comment
 
</em>
 
  
|Content=
 
  
 +
==Circuit-switching vs Packet-switching==
 +
Circuit-switching is another protocol which sends messages to others. It is normally used in telephone communication. Circuit-switching is quicker then packet-switching.  However, circuit-switching needs data to be sent in order and at the same time.
 +
Packet-switching is more efficient and robust, and can withdraw some days in transmitting.<!--Clarify last part of sentence--> For that, packet-switching is better suited for emails and websites.  Circuit-switching is more useful for real-time data transmission.
  
===Example?===
 
* [http://www.pbs.org/opb/nerds2.0.1/geek_glossary/packet_switching_flash.html packet_switching]
 
This is a flash demonstration.
 
  
==Circuit-switching vs Package-switching==
+
[[image:PackageS.jpg|frame|none|Image of Package Switching]]
Circuit-switching is another form of protocol which sends message to others. It is normally used in telephone communications. Circuit-switching is quicker then package-switching, but circuit-switching needs data to be send in order and in the same time.
+
[[image:PackageS2.jpg|frame|none|Image of Circuit Switching]]
Package-switching is more efficient and robust, and can withdraw some days in transmitting. For that, package-switching is better used in e-mails and website, where circuit-switching is more based for real-time data transmition.
+
 
 +
 
 +
===Example===
 +
* [http://www.pbs.org/opb/nerds2.0.1/geek_glossary/packet_switching_flash.html packet_switching] Easy to understand: flash demonstration.
 +
 
 +
==Further Readings==
 +
*[http://computer.howstuffworks.com/question525.htm HowStuffWorks "What is a packet?"] Learn more about packets.
 +
 
 +
*[http://voip.about.com/od/voipbasics/a/switchingtypes.htm Circuit Switching vs. Packet Switching] Learn more about the differences between circuit-switching and packet-switching.
  
 
==References==
 
==References==
Line 35: Line 49:
 
* Shiri Chechik, Adi Gati [http://www3.rad.com/networks/2004/PacketSwitching/main.htm Protocols and Computer Networks Course at Tel Aviv University]
 
* Shiri Chechik, Adi Gati [http://www3.rad.com/networks/2004/PacketSwitching/main.htm Protocols and Computer Networks Course at Tel Aviv University]
 
* The Linux Information Project[http://www.linfo.org/packet_switching.html Packet Switching Definition]November 4, 2005.
 
* The Linux Information Project[http://www.linfo.org/packet_switching.html Packet Switching Definition]November 4, 2005.
 
  
 
|Previous=[[Domain Names, IP Addresses and URLs]]
 
|Previous=[[Domain Names, IP Addresses and URLs]]

Latest revision as of 11:01, 9 December 2009

COMP1260 > Understanding the Internet



Introduction

Have you ever wondered how information is transmitted over the Internet?
It uses packet switching. Other methods, such as Circuit Switching, also exist.


Packet switching refers to protocols in which information or messages are broken up into small packets before being sent off. Each packet is then individually sent across the net, not necessary along the same route. A packet has a maximum length to prevent delays. Once all the packets arrive at their destination, they are recompiled into their original message.

 

...by students

When Traffic Stops
Have you experienced a webpage where its imagery and sound only partially loaded?
Imagine that each package that makes up this media is a car. In circuit-switching, if one car crashes, then all other cars would need to wait for that car to be fixed.
But, what about side-roads? One car could crash but others do not need to wait. They can use other roads.
Packet-switching is like that. There is no specific road that a package needs to travel.

How does it work?

Imagine that you have made a jigsaw puzzle. You are sending each piece of the puzzle to all your classmates you had in early childhood with a message that has the date, time and place to meet. Your goal is to gather all your classmates and construct the puzzle with everyone.

puzzle sending

Packet switching works in the same way.
The message is packaged and sent to the destination. These packets may travel along different roads. As all the packets necessary to construct the message arrive at their destination, they are reassembled into the original message.


Circuit-switching vs Packet-switching

Circuit-switching is another protocol which sends messages to others. It is normally used in telephone communication. Circuit-switching is quicker then packet-switching. However, circuit-switching needs data to be sent in order and at the same time. Packet-switching is more efficient and robust, and can withdraw some days in transmitting. For that, packet-switching is better suited for emails and websites. Circuit-switching is more useful for real-time data transmission.


Image of Package Switching
Image of Circuit Switching


Example

Further Readings

References

Previous Page: Domain Names, IP Addresses and URLs

Next Page: FTP