Computer network technology: network protocol (protocal)

The format and sequence of messages exchanged between two or more communicating entities, and the actions taken to send and/or receive a message or other event

Packet Switching and Circuit Switching

packet switching

  • End systems exchange messages with each other
  • store-and-forward transmission: the entire packet must be received before the switch can begin transmitting the first bit of the packet to the output link
  • Each router has a forwarding table (forwarding table), which is used to map the destination address (or part of the destination address) to the output link

circuit switching

  • Create a dedicated end-to-end connection between two hosts

Latency in Packet Switched Networks

Nodal processing delay

queuing delay

  • Waiting for transmission on the link
  • The queue is full, the router discards the newly arrived packets, packet loss occurs

transmission delay

  • The time it takes to push all the bits onto the link
  • L bits, R Bps, transmission delay L/R

Propagation delay

  • The time it takes to propagate from the start of the link to the router
  • The distance between routers is d, the propagation speed is s, and the propagation delay is d/s

end-to-end delay

  • Assuming that there are N-1 routers between the source host and the destination, the end-to-end delay is N(d(proc) + d(trans) + d(prop))

throughput in computer networks

  • Its throughput can be approximated as the minimum transmission rate along the path between source and destination when there is no other interfering traffic

Layered architecture and its service model

As long as the layer provides the same services to the layers above it, and uses the same services from the layers below, when a layer's implementation changes, the rest of the system remains the same

application layer

  • Where web applications and their application layer protocols reside
  • HTTP,SMTP,FTP,DNS
  • Information at the application layer is grouped into messages

transport layer

  • Pass messages between application endpoints
  • TCP, UDP
  • The transport layer grouping is called a segment

network layer

  • Move network layer packets from one host to another
  • IP
  • Network layer packets are called datagrams

link layer

  • Serves the network layer when moving packets from one node to the next
  • The link layer is grouped into frames (frame)

physical layer

  • Move individual bits in a frame from one node to another

encapsulation

  • At each layer, a packet has a header field and a payload field. The payload is usually a packet from the upper layer

Digression

In this first year of fast-growing technology, programming is like a ticket to a world of infinite possibilities for many people. In the star lineup of programming languages, Python is like the leading superstar. With its concise and easy-to-understand syntax and powerful functions, it stands out and becomes one of the most popular programming languages ​​in the world.


The rapid rise of Python is extremely beneficial to the entire industry , but " 人红是非多" has caused it to add a lot of criticism, but it still cannot stop its hot development momentum.

Will Python remain relevant and intact for the rest of the next decade? Today, we're going to analyze the facts and dispel some misconceptions.

If you are interested in Python and want to get a higher salary by learning Python, then the following set of Python learning materials must be useful to you!

Materials include: Python installation package + activation code, Python web development, Python crawler, Python data analysis, artificial intelligence, machine learning and other learning tutorials. Even beginners with 0 basics can understand and understand. Follow the tutorial and take you to learn Python systematically from zero basics!

1. Learning routes in all directions of Python

The route of all directions in Python is to organize the commonly used technical points of Python to form a summary of knowledge points in various fields. Its usefulness lies in that you can find corresponding learning resources according to the above knowledge points to ensure that you learn more comprehensively.
insert image description here
2. Python learning software

If a worker wants to do a good job, he must first sharpen his tools. The commonly used development software for learning Python is here!
insert image description here
3. Python introductory learning video

There are also many learning videos suitable for getting started with 0 basics. With these videos, you can easily get started with Python~insert image description here

4. Python exercises

After each video lesson, there are corresponding practice questions, you can test the learning results haha!
insert image description here

Five, Python actual combat case

Optical theory is useless. You have to learn to type codes along with it, and then you can apply what you have learned in practice. At this time, you can learn from some practical cases. This information is also included~insert image description here

6. Python interview materials

After we have learned Python, we can go out and find a job with the skills! The following interview questions are all from first-line Internet companies such as Alibaba, Tencent, and Byte, and some Alibaba bosses have given authoritative answers. After reading this set of interview materials, I believe everyone can find a satisfactory job.
insert image description here
insert image description here
7. Information collection

The full set of learning materials for the above-mentioned full version of Python has been uploaded to the CSDN official website. Those who need it can scan the QR code of the CSDN official certification below on WeChat to receive it for free.

Guess you like

Origin blog.csdn.net/Python966/article/details/132345719