Difference between revisions of "Packet Switching"

From CompSciWiki
Jump to: navigation, search
(i change the word think to "Imagine", it is more appropriate.)
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
  
 
|Introduction=
 
|Introduction=
Have you ever thought about how the 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 information to and from the Internet. There exists other ways of sending information 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 sent individually across the net, not necessary in the same routine. A packet has a maximum length to prevent delays. Once all the packets forming a messages arrive, they are recompiled and make up 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>
+
|...by students=<em><b>When Traffic Stops</b>
<br />Have you experienced when a picture or background or icon/buttons from a web-page would not show-up? <br/>
+
<br />Have you experienced a webpage where its imagery and sound only partially loaded?<br/>
Imagine that each package is a car, in a circuit-switching, if one car crashes, then all other cars would need to wait for that car to recuperate.<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 other do not need to wait. They can use other roads.<br/>
+
But, what about side-roads? One car could crash but others do not need to wait. They can use other roads.<br/>
Package-switching is like that. There is no specific road that a package need to go.<br/>
+
Packet-switching is like that. There is no specific road that a package needs to travel.<br/>
 
</em>
 
</em>
  
Line 19: Line 19:
  
 
==How does it work?==
 
==How does it work?==
Imagine that 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/>
  
 
[[image:PackageS3.jpg|frame|none|puzzle sending]]
 
[[image:PackageS3.jpg|frame|none|puzzle sending]]
  
Package Switching works in the same way. <br/>
+
Packet switching works in the same way.<br/>
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/>
+
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/>
  
  
  
==Circuit-switching vs Package-switching==
+
==Circuit-switching vs Packet-switching==
Circuit-switching is another 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.
+
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.
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.
+
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.
  
  
Line 36: Line 36:
 
[[image:PackageS2.jpg|frame|none|Image of Circuit Switching]]
 
[[image:PackageS2.jpg|frame|none|Image of Circuit Switching]]
  
 +
 +
===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 41: 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.
 
===Example?===
 
* [http://www.pbs.org/opb/nerds2.0.1/geek_glossary/packet_switching_flash.html packet_switching]
 
This is a flash demonstration.
 
  
 
|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