Circuit switching is a very basic concept that has been used by telephone networks for over 100 years. What happens is that when a call is made between two parties, the connection is maintained for the entire duration of the call. Because you are connecting two points in both directions, the connection is called a circuit. This is the foundation of the Public Switched Telephone Network (PSTN).
Here's how a typical telephone call works:
You pick up the receiver and listen for a dial tone. This lets you know that you have a connection to the local office of your telephone carrier. You dial the number of the party you wish to talk to. The call is routed through the switch at your local carrier to the party you are calling. A connection is made between your telephone and the other party's line, opening the circuit. You talk for a period of time and then hang up the receiver. When you hang up, the circuit is closed, freeing your line. Let's say that you talk for 10 minutes. During this time, the circuit is continuously open between the two phones. Telephone conversations over the traditional PSTN are transmitted at a fixed rate of about 64 kilobits per second (Kbps), or 1,024 bits per second (bps), in each direction, for a total transmission rate of 128 Kbps. Since there are 8 kilobits (Kb) in a kilobyte (KB), this translates to a transmission of 16 KB each second the circuit is open, and 960 KB every minute it's open. So in a 10-minute conversation, the total transmission is 9600 KB, which is roughly equal to 9.4 megabytes (MB).
If you look at a typical phone conversation, much of this transmitted data is wasted. While you are talking, the other party is listening, which means that only half of the connection is in use at any given time. Based on that, we can surmise that we could cut the file in half, down to about 4.7 MB. Plus, a significant amount of the time in most conversations is dead air -- for seconds at a time, neither party is talking. If we could remove these silent intervals, the file would be even smaller.
Data networks do not use circuit switching. Your Internet connection would be a lot slower if it maintained a constant connection to the Web page you were looking at. Instead of simply sending and retrieving data as you need it, the two computers involved in the connection would pass data back and forth the whole time, whether the data was useful or not. That's no way to set up an efficient data network. Instead, data networks use a method called packet switching.
Here's how a typical telephone call works:
You pick up the receiver and listen for a dial tone. This lets you know that you have a connection to the local office of your telephone carrier. You dial the number of the party you wish to talk to. The call is routed through the switch at your local carrier to the party you are calling. A connection is made between your telephone and the other party's line, opening the circuit. You talk for a period of time and then hang up the receiver. When you hang up, the circuit is closed, freeing your line. Let's say that you talk for 10 minutes. During this time, the circuit is continuously open between the two phones. Telephone conversations over the traditional PSTN are transmitted at a fixed rate of about 64 kilobits per second (Kbps), or 1,024 bits per second (bps), in each direction, for a total transmission rate of 128 Kbps. Since there are 8 kilobits (Kb) in a kilobyte (KB), this translates to a transmission of 16 KB each second the circuit is open, and 960 KB every minute it's open. So in a 10-minute conversation, the total transmission is 9600 KB, which is roughly equal to 9.4 megabytes (MB).
If you look at a typical phone conversation, much of this transmitted data is wasted. While you are talking, the other party is listening, which means that only half of the connection is in use at any given time. Based on that, we can surmise that we could cut the file in half, down to about 4.7 MB. Plus, a significant amount of the time in most conversations is dead air -- for seconds at a time, neither party is talking. If we could remove these silent intervals, the file would be even smaller.
Data networks do not use circuit switching. Your Internet connection would be a lot slower if it maintained a constant connection to the Web page you were looking at. Instead of simply sending and retrieving data as you need it, the two computers involved in the connection would pass data back and forth the whole time, whether the data was useful or not. That's no way to set up an efficient data network. Instead, data networks use a method called packet switching.
No comments:
Post a Comment