Protocols là gì

What are protocols? Synthesize the knowledge you need to know about Protocols

What are protocols and what are their characteristics? This is considered a question that is being asked by many people, related to computer science. To meet the needs of readers, we will help you learn about Protocols. We invite you to follow the useful information that we share below.

1. What are protocols?

Entities of the network that want to exchange information with each other must shake hands, negotiate a number of procedures, rules, etc. They must “speak the same language”. The set of conversational rules are called network protocols (Protocols). The main components of a protocol include:

  • Syntax: data format, encoding method and signal levels.
  • Semantics: control information, flow control, and error handling.

Protocols La Gi Tong Hop Kien Thuc Ve Protocols Protocols

Information exchange between two entities can be direct or indirect. In two point-to-point connection systems, entities can exchange information directly without the intervention of intermediate entities. In the broadcast structure, two entities exchange data with each other through intermediate entities. More complicated when entities do not share on the same switching network, indirectly connected across multiple subnets.

2. How network protocols work

Once you understand what protocols are defined   , understanding how protocols work will help you understand what common networking conventions are supposed to do. All data transfer operations are divided into many different steps, so each step will have a separate protocol with its own rules.

Protocols La Gi Tong Hop Kien Thuc Ve Protocols How network protocols work

2.1 Computer sending

The operation of the network protocol is divided into two types, including the sending computer. At this time, the updated data is divided into many small data for faster processing. Then add the address information to the small data so that the receiving computer can know if the data is owned or not. Finally, prepare the data and transmit it to the receiving computer over the internet.

2.2 Receiving computer

Once they have the protocol, the receiving computer will take the data packet and put it on the receiving computer through the network card. Continue to remove the data package, copy the data to the buffer memory for re-assembly. Then perform the transfer of the reassembled data into the new application program that can be used.

Note that when doing so, it must be done step by step so that both the sending computer and the receiving computer can transmit. On top of that, the protocols will not be able to communicate successfully with computers using other protocols.

3. Protocol Functions

What is the protocol task function  ? The network protocol gives users a lot of outstanding and useful functions such as:

Protocols La Gi Tong Hop Kien Thuc Ve Protocols Functions of network protocols

3.1 Packing

During the information exchange, data packets are added with some control information. Adding control information to data packets is called encapsulation.

3.2 Segmentation and merging

Lower layer protocols need to be broken down, so this process is called segmentation and vice versa. The data packet exchanged between two entities over a protocol is called a data protocol unit PDU.

3.3 Link control

The exchange of data between methods requires a high degree of connection and security. Failure to do so will result in reduced service quality. Therefore, before there is a link, the entities must be tightly established.

3.4 Monitoring

After the segmentation and merge functions, protocols will have the monitoring function. PDU packets will flow independently, not in the same order as when transmitted. However, the packets must be monitored. Where, the PDU has a unique and sequential set code. Thus, the receiving entity can recover the information according to the correct sender.

3.5 Flow Control

Traffic control is the ability to receive packets that the sender sends. Flow control is an important function that must be performed in some protocols.

3.6 Error control

What is the function of protocols? That is to control technical errors to ensure the safety of data, to avoid leakage or damage during information exchange. If a receiving entity acknowledges the PDU in error, the packet will normally have to be retransmitted.

3.7 Synchronization

Synchronization is an important function of protocols for initialization, testing, and destruction. Two entities that will protocol in the same state will not take a long time to circulate information.

3.8 Addressing

In order for entities to be able to exchange information, a specific address is required. Otherwise the transmitted data will not arrive at the right place. Thus, the received data will identify each other and establish a tight connection.

4. Conclusion

Above is the whole thing about Protocols that we want to share. Good luck!

Leave a Reply

Your email address will not be published.

Facebook Chat Skype Maps