📚 Network Basics for GCSE Edexcel Computer Science | GCSE Edexcel 计算机:网络基础 考点精讲
Computer networks form the backbone of modern digital communication, allowing devices to share resources, data, and services. For the GCSE Edexcel Computer Science specification, you need to understand the key principles of networking, including types of networks, hardware components, network topologies, protocols, and the layered model. This article breaks down every core concept with clear explanations and comparisons to help you master network basics.
计算机网络是现代数字通信的骨架,使设备能够共享资源、数据和服务。在 GCSE Edexcel 计算机科学大纲中,你需要掌握网络的核心原理,包括网络类型、硬件组件、网络拓扑、协议以及分层模型。本文用清晰的解释和对比逐一剖析每个核心概念,助你彻底掌握网络基础。
1. What is a Computer Network? | 什么是计算机网络?
A computer network is a collection of two or more devices connected together to share data and resources. The connection can be wired (using cables) or wireless (using radio waves). Networks allow users to access shared files, printers, servers, and the internet from multiple locations.
计算机网络是由两台或两台以上设备连接在一起,以便共享数据和资源的集合。连接可以是有线(使用电缆)或无线(使用无线电波)。网络使用户能从多个地点访问共享文件、打印机、服务器和互联网。
Stand-alone computers are not connected to any network; they operate independently. Once connected, each device becomes a node on the network. The main advantages include file sharing, centralised management, cheaper software licences, and improved communication. However, networks also bring security risks like malware infection and the cost of network infrastructure.
独立计算机不连接任何网络,它们独立运行。一旦连接,每台设备就成为网络上的一个节点。主要优点包括文件共享、集中管理、更便宜的软件许可和更好的通信。但网络也带来安全风险,如恶意软件感染,以及网络基础设施的成本。
2. Types of Networks: LAN vs WAN | 网络类型:局域网与广域网
A Local Area Network (LAN) covers a small geographical area, such as a single building or campus. LANs are usually privately owned and managed, offering high data transfer speeds and low latency. All the hardware and cabling are contained within the site, which makes it faster and more secure.
局域网 (LAN) 覆盖较小的地理区域,如一座建筑物或校园。LAN 通常为私人拥有和管理,提供高数据传输速率和低延迟。所有硬件和布线都位于该场地内,因此速度更快、更安全。
A Wide Area Network (WAN) spans a large geographical area, often a country or continent. WANs connect multiple LANs together using external infrastructure like telephone lines, satellite links, or leased fibre optic cables. The internet is the largest example of a WAN. WANs tend to be slower than LANs due to longer distances and shared infrastructure.
广域网 (WAN) 跨越大的地理区域,通常是一个国家或大洲。WAN 使用外部基础设施(如电话线、卫星链路或租用光纤电缆)将多个 LAN 连接起来。互联网就是最大的 WAN 示例。由于距离更长且共享基础设施,WAN 往往比 LAN 更慢。
| LAN | WAN |
| Small area (e.g. school) | Large area (e.g. countries) |
| Owner-managed cables | Uses public/leased infrastructure |
| High speed, low latency | Slower, higher latency |
3. Client-Server and Peer-to-Peer Models | 客户机-服务器与对等模型
In a client-server network, powerful central computers called servers provide services and resources to client devices. Servers manage files, emails, user accounts, and security. All data is stored centrally, making backup and administration easier. This model is common in schools and businesses.
在客户机-服务器网络中,称为服务器的强大中央计算机向客户设备提供服务和资源。服务器管理文件、电子邮件、用户账户和安全。所有数据集中存储,使备份和管理更方便。此模型常见于学校和企业。
A peer-to-peer (P2P) network has no central server. Each device (= peer) shares resources directly with others. Peers act as both clients and servers. P2P is simple to set up and costs less, but it is less secure and harder to manage on a large scale. It is often used for small home networks or file sharing applications.
对等 (P2P) 网络没有中央服务器。每个设备(即对等体)直接与其他设备共享资源。对等体同时充当客户机和服务器。P2P 设置简单且成本更低,但安全性较低,在大规模环境中难以管理。通常用于小型家庭网络或文件共享应用。
4. Common Network Hardware | 常见网络硬件
A network interface card (NIC) is fitted inside a device to connect it to a network. Wired NICs use an RJ45 Ethernet port; wireless NICs use radio signals (Wi-Fi). Every NIC has a unique Media Access Control (MAC) address burned into it at manufacture.
网络接口卡 (NIC) 安装在设备内部以将其连接到网络。有线 NIC 使用 RJ45 以太网端口;无线 NIC 使用无线电信号 (Wi-Fi)。每张 NIC 在制造时被写入唯一的媒体访问控制 (MAC) 地址。
Switches connect multiple devices within a LAN. They use MAC addresses to forward data frames only to the intended destination port, reducing unnecessary traffic. Routers connect different networks, typically a LAN to the internet. They use IP addresses to forward data packets and can also provide network address translation (NAT) and firewall functions.
交换机在 LAN 内连接多个设备。它们使用 MAC 地址将数据帧仅转发到目标端口,减少不必要的流量。路由器连接不同的网络,通常是将 LAN 连接到互联网。它们使用 IP 地址转发数据包,还可提供网络地址转换 (NAT) 和防火墙功能。
A wireless access point (WAP) allows Wi-Fi devices to connect to a wired network. Modems convert digital signals to analogue and back for transmission over telephone lines (e.g. VDSL). Some home devices combine router, switch, WAP, and modem functions in one box.
无线接入点 (WAP) 允许 Wi-Fi 设备连接到有线网络。调制解调器将数字信号转换为模拟信号以通过电话线传输,反之亦然(如 VDSL)。一些家用设备将路由器、交换机、WAP 和调制解调器功能融为一体。
5. Network Topologies: Star and Mesh | 网络拓扑:星形与网状
In a star topology, all nodes connect to a central switch or hub. If one node fails, the rest of the network is unaffected. The central device manages all traffic. However, if the central switch fails, the whole network goes down. Star topology is widely used in modern Ethernet LANs.
在星形拓扑中,所有节点连接到一个中心交换机或集线器。如果一个节点发生故障,网络其余部分不受影响。中心设备管理所有流量。然而,如果中心交换机故障,整个网络会瘫痪。星形拓扑广泛用于现代以太网局域网。
A full mesh topology provides a direct connection between every pair of nodes. This gives excellent redundancy – no single point of failure – and high reliability. However, the cabling cost and complexity increase dramatically as nodes are added. Partial mesh is a compromise: some nodes have multiple connections while others have only one.
全网状拓扑为每对节点提供直接连接。这提供了出色的冗余性——没有单点故障——和高可靠性。但随着节点的增加,布线成本和复杂度急剧上升。部分网状是一种折衷方案:部分节点有多个连接,而其他节点仅有一个。
| Star | Mesh |
| Dependent on central device | Redundant, no central dependence |
| Less cable, simpler setup | More cable, complex setup |
| Easy to add/remove nodes | Adding nodes is more disruptive |
6. The TCP/IP Model and Protocol Layering | TCP/IP 模型与协议分层
The TCP/IP model has four layers used to standardise network communication. Layering breaks the complex process of data transmission into manageable parts. Each layer provides services to the layer above and uses services from the layer below. This allows protocols to be developed independently and swapped without affecting the whole system.
TCP/IP 模型有四层,用于标准化网络通信。分层将复杂的数据传输过程分解为可管理的部分。每层为上层提供服务,并使用下层的服务。这使得协议可以独立开发且能互相替换而不影响整个系统。
-
Application layer – handles application-level protocols like HTTP, FTP, SMTP.
应用层 – 处理应用程序级协议,如 HTTP、FTP、SMTP。
-
Transport layer – manages end-to-end data transfer, using TCP (reliable) or UDP (fast).
传输层 – 使用 TCP(可靠)或 UDP(快速)管理端到端数据传输。
-
Internet layer – routes packets across networks, using IP addresses.
网际层 – 使用 IP 地址跨网络路由数据包。
-
Link layer – handles physical hardware addressing (MAC) and access to the physical medium.
链路层 – 处理物理硬件寻址 (MAC) 和物理介质的访问。
7. Key Protocols: TCP, UDP, IP, HTTP(S), FTP, SMTP, IMAP | 关键协议
Transmission Control Protocol (TCP) provides reliable, ordered delivery of data. It establishes a connection, acknowledges received packets, and retransmits lost ones. This makes it ideal for web browsing, email, and file downloads where accuracy matters.
传输控制协议 (TCP) 提供可靠、有序的数据传递。它建立连接,确认接收到的数据包,并重新传输丢失的数据包。这使其非常适合对准确性要求高的网页浏览、电子邮件和文件下载。
User Datagram Protocol (UDP) is a connectionless protocol that sends data without checking delivery. It is faster but less reliable. UDP suits real-time applications like live streaming and online gaming where speed is more important than a few lost packets.
用户数据报协议 (UDP) 是一种无连接协议,发送数据时不检查传递情况。它速度更快但可靠性较差。UDP 适合实时应用,如直播和在线游戏,在这些场景中速度比少量丢包更重要。
Internet Protocol (IP) assigns logical addresses (IP addresses) to devices and routes packets between networks. IPv4 uses 32-bit addresses (e.g. 192.168.0.1), while IPv6 uses 128-bit addressing for a larger address space.
互联网协议 (IP) 为设备分配逻辑地址(IP 地址)并在网络之间路由数据包。IPv4 使用 32 位地址(如 192.168.0.1),而 IPv6 使用 128 位寻址以提供更大的地址空间。
Hypertext Transfer Protocol (HTTP/HTTPS) governs web page requests. HTTPS adds encryption via TLS/SSL for security. File Transfer Protocol (FTP) uploads and downloads files. Simple Mail Transfer Protocol (SMTP) sends emails, while IMAP/POP3 retrieves them.
超文本传输协议 (HTTP/HTTPS) 管理网页请求。HTTPS 通过 TLS/SSL 加密增强安全性。文件传输协议 (FTP) 上传和下载文件。简单邮件传输协议 (SMTP) 发送邮件,而 IMAP/POP3 检索邮件。
8. IP Addressing and MAC Addressing | IP 寻址与 MAC 寻址
Every device on a network has a physical MAC address, 48 bits long, usually written as six hexadecimal pairs (e.g. 00:1A:2B:3C:4D:5E). This address is hardwired into the NIC and does not change. MAC addresses operate at the link layer and are used within the local network.
网络上的每个设备都有一个物理 MAC 地址,长 48 位,通常写作六组十六进制数(如 00:1A:2B:3C:4D:5E)。该地址被固化在 NIC 中且不会改变。MAC 地址在链路层运行,用于本地网络内部。
An IP address is a logical address assigned manually or automatically (via DHCP). It allows global routing. IPv4 addresses are four octets displayed in dotted decimal (e.g. 192.168.1.50). Public IPs are unique on the internet; private IPs (e.g. 192.168.x.x, 10.x.x.x) are reused inside LANs.
IP 地址是手动或自动(通过 DHCP)分配的逻辑地址。它允许全球路由。IPv4 地址是四个字节,以点分十进制显示(如 192.168.1.50)。公共 IP 在互联网上唯一;私有 IP(如 192.168.x.x、10.x.x.x)在 LAN 内部重复使用。
9. Domain Name System (DNS) | 域名系统 (DNS)
DNS translates human-readable domain names (e.g. aleveler.com) into IP addresses that routers can understand. When you type a URL, your device queries a DNS server. If the server does not know the IP, it forwards the query up the DNS hierarchy until an authoritative server responds. The result is cached locally to speed up future requests.
DNS 将人类可读的域名(如 aleveler.com)转换为路由器能理解的 IP 地址。当你输入一个网址,你的设备向 DNS 服务器查询。如果该服务器不知道对应的 IP,它会沿着 DNS 层级向上转发查询,直到权威服务器给出回应。结果会被本地缓存以加速后续请求。
10. Factors Affecting Network Performance | 影响网络性能的因素
Bandwidth is the maximum amount of data that can be transmitted over a connection per second, measured in bits per second (bps). Higher bandwidth allows more data to flow, but actual speed also depends on latency. Latency is the time delay between sending and receiving data, measured in milliseconds. High latency causes lag, which is critical in gaming or voice calls.
带宽是每秒钟连接上能传输的最大数据量,单位是比特每秒 (bps)。更高的带宽允许更多数据流动,但实际速度也受延迟影响。延迟是发送与接收数据之间的时间延迟,以毫秒为单位。高延迟导致卡顿,对游戏或语音通话影响很大。
The number of concurrent users, network errors, collision rates, and the type of transmission media (fibre optic vs copper vs wireless) also affect performance. Fibre optic cables offer the highest bandwidth and lowest error rates over long distances.
并发用户数、网络错误、碰撞率以及传输介质类型(光纤、铜缆、无线)也会影响性能。光纤电缆在长距离上提供最高带宽和最低的错误率。
11. Network Security Basics | 网络安全基础
Networks are vulnerable to unauthorised access, malware, denial-of-service attacks, and eavesdropping. Common protection methods include firewalls (which filter incoming and outgoing traffic based on rules), encryption (e.g. WPA3 for Wi-Fi, TLS for HTTPS), and strong authentication (passwords, two-factor authentication).
网络容易受到未授权访问、恶意软件、拒绝服务攻击和窃听的威胁。常见的保护方法包括防火墙(根据规则过滤进出流量)、加密(如 Wi-Fi 的 WPA3、HTTPS 的 TLS)和强身份验证(密码、双因素认证)。
MAC address filtering allows only registered devices on a network, but MAC addresses can be spoofed. Virtual Private Networks (VPNs) encrypt data over the internet, creating a secure tunnel to a private network. Regular software updates and user education are also crucial.
MAC 地址过滤只允许已注册的设备入网,但 MAC 地址可以被伪造。虚拟专用网络 (VPN) 在互联网上加密数据,创建通往私有网络的安全隧道。定期软件更新和用户教育同样至关重要。
12. Packets and Packet Switching | 数据包与分组交换
Data sent across networks is split into small chunks called packets. Each packet contains a header (source/destination IP, sequence number), payload (the actual data), and a trailer (checksum for error detection). This approach makes data transfer more efficient and fault-tolerant.
通过网络发送的数据被分割成小块,称为数据包。每个数据包包含头部(源/目的 IP、序列号)、有效载荷(实际数据)和尾部(用于错误检测的校验和)。这种方法使数据传输更高效且容错性更强。
Packet switching is the method used by routers to forward packets independently along the best available path. Packets may travel different routes and arrive out of order; the receiving device uses sequence numbers to reassemble the original data. Packet switching maximises bandwidth utilisation compared to circuit switching, which reserves a dedicated end-to-end path.
分组交换是路由器沿最佳可用路径独立转发数据包的方法。数据包可能经过不同路由且乱序到达;接收设备利用序列号重新组装原始数据。与预留专用端到端路径的电路交换相比,分组交换最大限度利用了带宽。
Published by TutorHao | GCSE Edexcel Computer Science Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)
屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导