How much do you know about OSI and TCP/IP? Let us take you into the world of communications

How much do you know about OSI and TCP/IP? Let us take you into the world of communications

When I first came into contact with computers, I was very curious about how data was transmitted. Through later learning, I gradually understood the principles of computer communication. I believe that when many people learn computers, the first course they take is the principles of computer communication, and the principles of communication are inseparable from two reference models: the OSI seven-layer reference model and the TCP/IP four-layer model.

1. Physical layer: mainly defines physical equipment standards, such as the interface type of network cables, the interface type of optical fibers, the transmission rate of various transmission media, etc. Its main function is to transmit bit streams (that is, converting 1 and 0 into current strength for transmission, and then converting them into 1 and 0 after reaching the destination, which is what we often call digital-to-analog conversion and analog-to-digital conversion). The data at this layer is called bits.

2. Data Link Layer: defines how to format data for transmission and how to control access to the physical medium. This layer also usually provides error detection and correction to ensure reliable transmission of data.

3. Network layer: Provides connections and path selection between two host systems in a network located in different geographical locations. The development of the Internet has greatly increased the number of users accessing information from sites around the world, and the network layer is the layer that manages this connection.

4. Transport layer: defines some protocols and port numbers for data transmission (such as WWW port 80), such as TCP (Transmission Control Protocol, low transmission efficiency, strong reliability, used to transmit data with high reliability requirements and large data volume), UDP (User Datagram Protocol, which is exactly the opposite of TCP characteristics and is used to transmit data with low reliability requirements and small data volume, such as QQ chat data is transmitted in this way). It mainly segments and transmits the data received from the lower layer, and reassembles it after reaching the destination address. This layer of data is often called a segment.

5. Session layer: Establish a data transmission channel through the transport layer (port number: transmission port and receiving port). Mainly initiate a session or accept a session request between your systems (devices need to know each other, which can be IP, MAC or host name).

6. Presentation layer: It ensures that information sent by the application layer of one system can be read by the application layer of another system. For example, a PC program communicates with another computer, one of which uses Extended Binary Decimal Interchange (EBCDIC) and the other uses American Standard Code for Information Interchange (ASCII) to represent the same characters. If necessary, the presentation layer converts between multiple data formats by using a common format.

7. Application layer: This is the OSI layer closest to the user. This layer provides network services for user applications (such as email, file transfer, and terminal emulation).

<<:  Ruijie launches the new generation of smart classroom "A Good Class" to activate education informatization 2.0

>>:  It is a duty for China Unicom to win against China Mobile, but it is a skill to win against China Telecom

Recommend

Unexpectedly, China Unicom is the biggest loser in number portability

It is said that China Mobile has announced that t...

If WeChat declines, who will replace it? Big guesses about the Internet in 2018

Where will the major domestic Internet companies ...

Should you change your 5G package? You will understand after reading this!

[[281696]] Recently, the three major operators of...

What is the process of DNS domain name resolution?

Interviewer: Please tell me what the process of D...

The legend of network protocols (Part 2): TCP emerges

This section will formally enter the content of n...

What is 6G and when will it be launched?

Is this what comes after 5G? Since 5G networks ar...

A look back at five major outages in 2019

Any time a network service outage occurs, it can ...

Big and small! The little sister tells you everything about BeautifulSoup

[[427165]] Learn more about BeautifulSoup Scrapin...

Is 6G going to overturn 5G? Musk: No, it’s my satellite internet

It stands to reason that with 5G already official...

What is AirGig?

At the MWC 2017 conference, which has ended, peop...