当前位置: 首页 > 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.

相关文章:

[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 simp…...

MyBatisPlus——学习笔记

MyBatisPlus 一、导入依赖 <!-- MyBatisPlus --><dependency><groupId>com.baomidou</groupId><artifactId>mybatis-plus-boot-starter</artifactId><version>3.5.2</version></dependency><!-- MySql --><de…...

运维自动化shell脚本总结

运维自动化是提升IT管理效率的关键&#xff0c;使用Shell脚本可以有效地实现许多日常任务的自动化。以下是一些常见的Shell脚本应用及其总结&#xff0c;涵盖基本概念、实用示例和最佳实践。 1. Shell脚本基础 1.1 Shell脚本定义 Shell脚本是一系列命令的集合&#xff0c;通…...

前端学习第三天笔记 JavaScript JavaScript的引入 数据类型 运算符 条件语句 字符串

这里写自定义目录标题 JavaScriptJavaScript引入到文件嵌入到HTML文件中引入本地独立js文件引入网络来源文件 JavaScript的注释方式嵌入在HTML文件中的注释JavaScript的输出方式数据类型原始类型&#xff08;基础类型&#xff09;合成类型&#xff08;复合类型&#xff09; 运算…...

C++教程一口气讲完!(万字讲解)( ̄y▽ ̄)╭ Ohohoho... 下

C 常量 常量是固定值&#xff0c;在程序执行期间不会改变。这些固定的值&#xff0c;又叫做字面量。 常量可以是任何的基本数据类型&#xff0c;可分为整型数字、浮点数字、字符、字符串和布尔值。 常量就像是常规的变量&#xff0c;只不过常量的值在定义后不能进行修改。 …...

unity软件安装教程

目录 一、Unity Hub的安装 二、Unity Hub的基础设置 语言切换 安装默认路径 安装unity编辑器和visual Studio 申请许可证 创建新项目 Unity和Visual Studio进行绑定 一、Unity Hub的安装 打开浏览器输入以下网址&#xff1a;unity.cn&#xff0c;打开unity官网 点击下载&#x…...

[大语言模型-论文精读] 更大且更可指导的语言模型变得不那么可靠

[大语言模型-论文精读] 更大且更可指导的语言模型变得不那么可靠 目录 文章目录 [大语言模型-论文精读] 更大且更可指导的语言模型变得不那么可靠目录0. 摘要1. 核心内容3. 创新点4. 算法模型5. 实验效果6. 重要数据与实验结论7. 推荐阅读指数&#xff1a;8. 推荐理由 后记 论文…...

云手机可以解决TikTok运营的哪些问题?

随着社交媒体的飞速发展&#xff0c;TikTok迅速崛起&#xff0c;成为个人和企业进行品牌宣传和内容创作的首选平台。然而&#xff0c;在运营TikTok账号的过程中&#xff0c;不少用户会遇到各种问题。本文将详细阐述云手机如何帮助解决这些问题。 1. 多账号管理的高效便捷 通过云…...

Redis基础三(redis的高级配置)

Redis进阶配置 一、Redis持久化操作 ​ 持久化就是把内存的数据写到磁盘中去&#xff0c;防止服务宕机了内存数据丢失。&#xff08;Redis 数据都放在内存中。如果机器挂掉&#xff0c;内存的数据就不存在。所以需要做持久化&#xff0c;将内存中的数据保存在磁盘&#xff0c…...

Telnet、SSH、RDP和VNC

Telnet、SSH、RDP和VNC都是远程访问和管理的协议或工具&#xff0c;它们各自具有不同的特点和适用场景。 一、基本概念与用途 Telnet 定义&#xff1a;一种基于命令行界面的远程管理协议&#xff0c;允许用户通过网络远程访问和管理计算机。用途&#xff1a;主要用于远程登录和…...

FiBiNET模型实现推荐算法

1. 项目简介 A031-FiBiNET模型项目是一个基于深度学习的推荐系统算法实现&#xff0c;旨在提升推荐系统的性能和精度。该项目的背景源于当今互联网平台中&#xff0c;推荐算法在电商、社交、内容分发等领域的广泛应用。推荐系统通过分析用户的历史行为和兴趣偏好&#xff0c;预…...

影刀RPA:Excel内容填充指令

1.实战目标 本次主要介绍影刀RPA如何操作内容相关的填充与替换指令。主要包含以下 这些指令在数据处理方面有着重要的作用&#xff0c;可以对数据做运算&#xff0c;填充&#xff0c;替换&#xff0c;实现数据格式统一&#xff0c;便于最终的数据分析。在操作的过程中&#xf…...

Threejs创建正多边体

上一章节实现了球体的绘制&#xff0c;这节来绘制多面体&#xff0c;包括正多面体&#xff0c;平面中&#xff0c;每条边一样长组成的图形叫正多边形&#xff0c;这里每个面一样&#xff0c;叫正多面体。如上文一样&#xff0c;先要创建出基础的组件&#xff0c;包括场景&#…...

链表——单链表

题目描述 实现一个单链表&#xff0c;链表初始为空&#xff0c;支持三种操作&#xff1a; (1) 向链表头插入一个数&#xff1b; (2) 删除第 k 个插入的数后面的数&#xff1b; (3) 在第 k 个插入的数后插入一个数 现在要对该链表进行 M 次操作&#xff0c;进行完所有操作后&am…...

【YOLO学习】YOLOv5口罩检测实战

文章目录 1. 环境配置2. 下载代码3. 安装库3.1 安装pytorch3.2 安装其他库 4. 测试5. 数据标注6. 模型训练7. 界面可视化 1. 环境配置 1. 先参考其他文章安装 Anaconda 或者 Miniconda&#xff0c;我安装的是 Miniconda。 2. 更换国内源&#xff0c;以加快速度 。可以参考下面这…...

场景题1-设计redis的key和value的原则

在设计 Redis 的 key 和 value 时&#xff0c;遵循一些最佳实践和设计原则可以确保系统的性能、可扩展性和易维护性。以下是设计 Redis key 和 value 时的常见原则&#xff1a; 1.RedisKey的设计原则 1.1.简短有意义 1&#xff09;Redis 是内存数据库&#xff0c;key 越短&am…...

Shell-使用函数

在 Shell 脚本中&#xff0c;函数是由一段代码定义的&#xff0c;可以被重复调用。Shell 函数的定义和调用相对简单&#xff0c;并且它支持参数传递和返回值。错误处理在 Shell 中也非常重要&#xff0c;通常通过检查返回的状态码来判断是否有错误发生。 1.Shell 函数的定义和…...

Git介绍--github/gitee/gitlab使用

一、Git的介绍 1.1、学习Git的原因&#xff1a;资源管理 1.2、SCM软件的介绍 软件配置管理(SCM)是指通过执行版本控制、变更控制的规程&#xff0c;以及使用合适的配置管理软件来保证所有配置项的完整性和可跟踪性。配置管理是对工作成果的一种有效保护。 二、版本控制软件 …...

【ubuntu】【VirtualBox】VirtualBox无法加载USB移动设备的解决方法(支持U盘启动盘)

TOC 提示&#xff1a;测试可用 一、安装VirtualBox VirtualBox-7.1.2-164945-Win。 下载路径。 Download_Old_Builds_7_0 – Oracle VirtualBox 二、安装Oracle_VirtualBox_Extension_Pack-7.1.2 下载路径见上文。 三、安装增强功能 四、挂载USB 4.1 设置USB协议 4.2 挂…...

Koa2+mongodb项目实战1(项目搭建)

前言 在正式开始之前&#xff0c;需要先知道用到的东西&#xff1a; koa&#xff1a;Koa 是一个基于 Node.js 的 Web 应用框架&#xff0c;非常适合开发API服务&#xff0c;可以与前端框架&#xff08;如 Vue.js、React.js&#xff09;结合使用&#xff0c;实现前后端分离的开…...

OCRmyPDF技术解构:3大创新点与制造业/法律服务效能优化实践

OCRmyPDF技术解构&#xff1a;3大创新点与制造业/法律服务效能优化实践 【免费下载链接】OCRmyPDF OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched 项目地址: https://gitcode.com/GitHub_Trending/oc/OCRmyPDF 一、技术内核&…...

Qwen2.5-14B-Instruct多轮记忆|像素剧本圣殿长剧本连贯性保障机制

Qwen2.5-14B-Instruct多轮记忆&#xff5c;像素剧本圣殿长剧本连贯性保障机制 1. 专业剧本创作的新范式 在创意写作领域&#xff0c;剧本创作一直面临着角色一致性、情节连贯性和风格统一性的挑战。传统创作工具往往只能提供片段式的辅助&#xff0c;而"像素剧本圣殿&qu…...

基于STM32的智能药箱系统开发实战:从硬件搭建到云端互联

1. 为什么需要智能药箱 记得去年我奶奶因为忘记吃药导致血压飙升住院&#xff0c;当时我就在想&#xff0c;如果能有个自动提醒吃药的装置该多好。后来发现这个问题其实困扰着很多家庭——据统计&#xff0c;65岁以上老年人中&#xff0c;有超过60%存在漏服、错服药物的情况。这…...

IEEE会议论文避雷指南:如何用GSview+Photoshop搞定EPS图片压缩与特殊字符命名

IEEE会议论文图片处理全攻略&#xff1a;从格式转换到命名规范 第一次投稿IEEE会议的新手研究者们&#xff0c;往往会在图片处理环节栽跟头——明明内容扎实、实验充分&#xff0c;却因为技术细节问题被编辑退回修改。这不是学术能力的问题&#xff0c;而是对印刷出版标准的不熟…...

3个关键场景与4步操作:深入解析RevokeMsgPatcher防撤回工具的技术实现与应用实践

3个关键场景与4步操作&#xff1a;深入解析RevokeMsgPatcher防撤回工具的技术实现与应用实践 【免费下载链接】RevokeMsgPatcher :trollface: A hex editor for WeChat/QQ/TIM - PC版微信/QQ/TIM防撤回补丁&#xff08;我已经看到了&#xff0c;撤回也没用了&#xff09; 项目…...

从七鳃鳗到潜水器:手把手教你用Python生态学模型搞定2024美赛A、B题

从七鳃鳗到潜水器&#xff1a;Python生态学建模实战指南 数学建模竞赛中&#xff0c;生态学问题往往让参赛者望而生畏——复杂的生物系统、多变的环境参数、非线性相互作用&#xff0c;这些要素叠加起来容易让人陷入理论推导的泥潭。但换个角度看&#xff0c;这正是Python科学计…...

告别配置迷茫!手把手教你用DaVinci Configurator配置Autosar NvM Block(含三种类型详解)

告别配置迷茫&#xff01;手把手教你用DaVinci Configurator配置Autosar NvM Block&#xff08;含三种类型详解&#xff09; 在汽车电子开发中&#xff0c;非易失性存储&#xff08;NVM&#xff09;的配置往往是工程师们最头疼的环节之一。面对复杂的AUTOSAR存储协议栈&#xf…...

Umi-OCR服务化集成解决方案:将离线OCR能力无缝嵌入你的技术栈

Umi-OCR服务化集成解决方案&#xff1a;将离线OCR能力无缝嵌入你的技术栈 【免费下载链接】Umi-OCR Umi-OCR: 这是一个免费、开源、可批量处理的离线OCR软件&#xff0c;适用于Windows系统&#xff0c;支持截图OCR、批量OCR、二维码识别等功能。 项目地址: https://gitcode.c…...

Nunchaku FLUX.1 CustomV3镜像免配置:预装ComfyUI+Custom Workflow+LoRA权重一体化方案

Nunchaku FLUX.1 CustomV3镜像免配置&#xff1a;预装ComfyUICustom WorkflowLoRA权重一体化方案 想体验最新的AI绘画模型&#xff0c;但被复杂的安装、配置和模型下载劝退&#xff1f;今天给大家介绍一个“开箱即用”的终极方案——Nunchaku FLUX.1 CustomV3镜像。它把文生图…...

JAVA中try catch无法捕获异常的原因是什么

Java 中的 try-catch 机制是处理异常的重要手段&#xff0c;但有时即使写了 try-catch 代码&#xff0c;异常仍会被抛出。这是因为 catch 块指定的异常类型可能无法与实际抛出的异常相匹配。让我们举一个代码意图捕获异常并打印特定信息的例子&#xff1a;public class Test {p…...