当前位置: 首页 > news >正文

[Notes] Computer Network - Overwiew

What is the Internet?

The Internet is a global network of interconnected computers that communicate using standard protocols (rules). It’s not a single entity but a network of networks that allows millions of devices worldwide to exchange data.

In simpler terms, the Internet is like a huge web connecting different smaller networks, allowing information to flow from one part of the world to another.


Layers of the Internet Structure

The Internet is organized into several layers, each with specific responsibilities. These layers form the Internet protocol stack (also called the TCP/IP model), which enables data transmission.

Here’s a simplified view of these layers:

  1. Physical Layer: The actual hardware that carries data (e.g., cables, fiber optics, Wi-Fi).
  2. Link Layer: Manages communication between directly connected devices. Examples: Ethernet, Wi-Fi.
  3. Network Layer: Routes data from the source to the destination across multiple networks. The most common protocol used here is the Internet Protocol (IP).
  4. Transport Layer: Ensures reliable data transfer between two systems. Common protocols: Transmission Control Protocol (TCP) and User Datagram Protocol (UDP).
  5. Application Layer: Consists of the applications and protocols that users interact with, like HTTP (for web browsing), FTP (for file transfer), and SMTP (for email).

Key Components of the Internet

The Internet is made up of several key components that allow it to function efficiently:

1. End Systems (Hosts)

These are the devices at the “edges” of the network, like your computer, smartphone, or tablet. They can be classified into:

  • Clients: Devices that request services (e.g., web browsers).
  • Servers: Devices that provide services (e.g., web servers, file servers).
2. Routers

Routers are devices that forward data between networks. They make sure data gets from its source to its destination by choosing the best path across the Internet, even if multiple networks are involved.

3. Communication Links

These are the physical and wireless connections that carry data between devices. Links can be:

  • Wired Links: Ethernet cables, fiber optics.
  • Wireless Links: Wi-Fi, LTE, 5G.
4. Internet Service Providers (ISPs)

ISPs provide access to the Internet for end systems. They can be categorized into three tiers:

  • Tier 1 ISPs: Large global networks that connect to each other and provide access to the whole Internet without paying anyone else. They form the backbone of the Internet.
  • Tier 2 ISPs: Regional networks that connect to Tier 1 ISPs.
  • Tier 3 ISPs: Local ISPs that provide Internet access to homes, businesses, and smaller regions.
5. Protocols

Protocols are sets of rules that define how data is transferred over the Internet. Some of the most important protocols are:

  • IP (Internet Protocol): Defines how data is broken into packets and routed across networks.
  • TCP (Transmission Control Protocol): Ensures reliable transmission of data.
  • UDP (User Datagram Protocol): Provides faster, but less reliable, data transmission.
  • DNS (Domain Name System): Translates human-readable domain names (like google.com) into IP addresses.

How Data Travels on the Internet

When you send data (like loading a webpage), this is how it travels through the Internet:

  1. Your Device (End System): You enter a URL in your browser. Your computer sends a request for the webpage to the web server.

  2. DNS Lookup: Your computer doesn’t know where google.com is, so it uses the Domain Name System (DNS) to find the IP address of the server hosting the webpage.

  3. Transport Layer: The data is broken into smaller pieces called packets. The TCP protocol ensures all packets are sent in the right order and none are lost.

  4. Network Layer: Each packet is given an IP address to specify its source and destination. Routers forward these packets across different networks.

  5. Link Layer: The physical communication links (wired or wireless) carry the packets between routers and devices.

  6. Web Server: The packets reach the web server, and the server sends the requested webpage back to your computer in the same way.


A Real-World Example

Let’s consider what happens when you access www.google.com:

  1. Request: Your browser sends a request to the DNS server to get the IP address of www.google.com.
  2. Routing: Once the IP address is found, your request is broken into packets and sent via routers through various networks until it reaches Google’s web server.
  3. Response: Google’s server processes the request and sends the webpage back in the form of packets.
  4. Reassembly: Your browser reassembles the packets to display the webpage you requested.

The Role of IP Addresses and Domain Names

  • IP Address: Every device on the Internet has a unique IP address (e.g., 192.168.0.1), much like a postal address for sending data.
  • Domain Name: Since IP addresses are hard to memorize, human-readable domain names (e.g., www.google.com) are used. The DNS translates these domain names into IP addresses.

Internet Architecture Summary

  • End Systems (clients and servers) communicate with each other using routers to forward data.
  • ISPs connect different networks together, forming the backbone of the Internet.
  • Protocols like IP, TCP, UDP, and DNS ensure data is transmitted correctly and efficiently.
  • Data is broken into packets, routed through multiple networks, and reassembled at the destination.
http://www.lryc.cn/news/453454.html

相关文章:

  • MyBatisPlus——学习笔记
  • 运维自动化shell脚本总结
  • 前端学习第三天笔记 JavaScript JavaScript的引入 数据类型 运算符 条件语句 字符串
  • C++教程一口气讲完!(万字讲解)( ̄y▽ ̄)╭ Ohohoho... 下
  • unity软件安装教程
  • [大语言模型-论文精读] 更大且更可指导的语言模型变得不那么可靠
  • 云手机可以解决TikTok运营的哪些问题?
  • Redis基础三(redis的高级配置)
  • Telnet、SSH、RDP和VNC
  • FiBiNET模型实现推荐算法
  • 影刀RPA:Excel内容填充指令
  • Threejs创建正多边体
  • 链表——单链表
  • 【YOLO学习】YOLOv5口罩检测实战
  • 场景题1-设计redis的key和value的原则
  • Shell-使用函数
  • Git介绍--github/gitee/gitlab使用
  • 【ubuntu】【VirtualBox】VirtualBox无法加载USB移动设备的解决方法(支持U盘启动盘)
  • Koa2+mongodb项目实战1(项目搭建)
  • Pyhton爬虫使用Selenium实现浏览器自动化操作抓取网页
  • 矩阵学习过程中的一些思考
  • 初识Django
  • VirtualBox虚拟机连接宿主机并能够上网(小白向)
  • 深度学习每周学习总结J1(ResNet-50算法实战与解析 - 鸟类识别)
  • 商家营销工具架构升级总结
  • 移动硬盘无法读取:问题解析与高效数据恢复实战
  • 20241005给荣品RD-RK3588-AHD开发板刷Rockchip原厂的Android12时使用iperf3测网速
  • node配置swagger
  • MATLAB plot画线的颜色 形状
  • Goland使用SSH远程Linux进行断点调试 (兼容私有库)