Table of contents
Advantages and Disadvantages of Circuit Switching
Advantages and Disadvantages of Message Exchange
Packet switching advantages and disadvantages
Circuit Switching
- The way a telephone exchange connects telephone lines is called circuit switching ;
- From the perspective of communication resource allocation, switching is to dynamically allocate transmission route resources in a certain way;
- Three steps of circuit switching:
1. Establish a connection (allocate communication resources)
2. Call (always occupying communication resources)
3. Release the connection (return communication resources)
When circuit switching is used to transmit computer data, the transmission efficiency of its lines is often very low.
Therefore, packet switching is often used in the Internet
Packet Switching
Suppose the user wants to send a message, usually we call the entire block of data representing the message a message;
Before sending a message, the longer message will be divided into smaller equal-length data segments. In front of each data segment, some headers consisting of necessary control information are added to form a A group can also be referred to as a "package". Correspondingly , the header can also be called a header .
- sender
Construct groups and send groups
- router
Caching groups, forwarding groups
- receiver
Receive packets and restore messages
Message Switching
It is one of the three methods of data exchange. The message is sent entirely, one hop at a time. Message switching is the predecessor of packet switching and was proposed by Leonard Kleinraucker in 1961.
Messages are exchanged using the "store-and-forward" method, which eliminates the need to establish lines in advance and to dismantle them afterwards.
Message switching uses messages as the unit of data exchange . Messages carry information such as destination address and source address. The storage and forwarding transmission method is used at the switching node.
Message switching was mainly used in early telegraph communication networks. It is rarely used now and is usually replaced by more advanced packet switching methods. Therefore, message switching will not be introduced in detail.
Compared
Advantages and Disadvantages of Circuit Switching
advantage:
- Small communication delay
- ordered transfer
- no conflict
- Wide range of applications
- Strong real-time performance
- Simple control
shortcoming:
- Long time to establish connection
- The line is exclusive and the usage efficiency is low.
- Poor flexibility
- Difficult to standardize
Advantages and Disadvantages of Message Exchange
advantage:
- No connection required
- Dynamically assign lines
- Improve line reliability
- Improve line utilization
- Provide multi-target services
shortcoming:
- Caused forwarding delay
- Requires larger storage cache space
- Additional amount of information needs to be transmitted
Packet switching advantages and disadvantages
advantage:
- No connection required
- High line utilization
- Storage management simplified
- Accelerate transfer
- Reduce the probability of errors and the amount of retransmitted data
shortcoming:
- Caused forwarding delay
- Additional amount of information needs to be transmitted
- For datagram services, there are problems with out-of-order, lost or repeated packets; for virtual circuit services, there are three processes: call establishment, data transmission and virtual circuit release.