Basic knowledge of computer network

Source: Internet
Author: User
Tags ack

An ISO and OSI seven layer model

    • What is ISO?
    • Iso
    • OSI seven layer model?
    • The conceptual model, presented by the International Standards Organization, aims to provide a standard framework for the interconnection of a wide range of computers and networks worldwide. It divides the computer network architecture into 7 layers
    1. At the bottom of the physical layer, ensure that the original data is transmitted on a variety of physical media, in bits.
    2. The role of the data link layer is physical address addressing, data detection error, the bitstream is encapsulated into frames.
    3. The network layer routes the packets between subnets, which are congestion control and Internet interconnection. Unit is packet packet
    4. The transport layer provides data transfer services for end-to-end communication. This layer has TCP and UDP protocols, and data units are segments.
    5. The session layer manages the session process between hosts, and uses the data to insert checkpoints to synchronize data, access authentication and session management functions. Unit is a message.
    6. Represents the encryption and decryption of layer data, compressed decompression. Unit is a message.
    7. The application layer provides an interface for operating system or network applications to access network services. Complete specific network applications by applying inter-process interactions.

Tcp / ip:

Network interface layer: PPP, FDDI

Internetwork: IP, ICMP

Transport layer: TCP, UDP

Application layer: FTP, TELNET

The difference between TCP and UDP:

TCP: Transmission Control Protocol. is a connection-oriented, reliable, byte-stream-based communication protocol for Transport layer

UDP: User Datagram Protocol. In the network it is the same as the TCP protocol for processing packets, is a non-connected protocol

TCP connection-oriented, UDP for non-connected

Reliable TCP transmission, UDP transmission unreliable

TCP is used to transmit large amounts of data, and UDP is used to transmit

Slow TCP transmission, fast UDP transmission

TCP supports point-to-point communication, and UDP supports one-to-many, many-to-one, many-to-many communications.

Three-time handshake:

1. Establish Connection Agreement (three handshake)

(1) The client sends a TCP message with a SYN flag to the server. This is the message 1 in the three-time handshake process.
(2) server-side response client, this is the 2nd message in the three-time handshake, this message with both an ACK flag and a SYN flag. So it represents the response to the client's SYN message, and it also flags the SYN to the client and asks the client if it is ready for data communication.
(3) The customer must again respond to the service segment an ACK message, which is the message segment 3.

Basic knowledge of computer network

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.