📚 Computer Data Storage: Media, Methods and Characteristics | 计算机数据存储:介质、方式与特性
Data storage is a fundamental concept in computer science, referring to the technology used to retain digital information for later retrieval and use. Understanding the different types of storage media, how data is written and read, and the key characteristics that influence performance is essential for any CIE Computer Science student.
数据存储是计算机科学中的基础概念,指用于保存数字信息以便日后检索和使用的技术。理解不同类型的存储介质、数据的写入与读取方式,以及影响性能的关键特性,对于每一位 CIE 计算机科学学生来说都至关重要。
1. Primary vs Secondary Storage | 主存储器与辅助存储器
Storage in a computer system is generally classified into two broad categories: primary storage and secondary storage. Primary storage, such as RAM and ROM, is directly accessed by the CPU and is typically volatile or semi-permanent. Secondary storage, such as hard disk drives and solid-state drives, provides long-term, non-volatile data retention and is not directly accessed by the CPU.
计算机系统中的存储通常分为两大类:主存储器和辅助存储器。主存储器(如 RAM 和 ROM)由 CPU 直接访问,通常具有易失性或半永久性。辅助存储器(如硬盘驱动器和固态驱动器)提供长期、非易失性的数据保存,CPU 不直接访问它。
Primary storage holds data and instructions that are currently in use, allowing the CPU to fetch them quickly. Secondary storage is used for storing the operating system, application software, and user files, ensuring data survives power-off and system restarts.
主存储器保存当前正在使用的数据和指令,便于 CPU 快速获取。辅助存储器用于存放操作系统、应用软件和用户文件,确保数据在断电和系统重启后仍然保留。
2. Magnetic Storage Media | 磁存储介质
Magnetic storage uses magnetised particles on a rotating platter or tape surface to represent binary data. A read/write head detects or changes the magnetisation direction, where one direction represents a 0 and the opposite direction represents a 1.
磁存储利用旋转盘片或磁带表面上的磁化颗粒来表示二进制数据。读写磁头检测或改变磁化方向,其中一个方向表示 0,相反方向表示 1。
- Hard Disk Drive (HDD): contains one or more rigid platters coated with magnetic material, spinning at high speed (typically 5400 or 7200 RPM).
- 硬盘驱动器(HDD):包含一个或多个涂有磁性材料的刚性盘片,以高速旋转(通常为 5400 或 7200 转/分钟)。
- Magnetic Tape: a long strip of flexible plastic coated with magnetic material, used mainly for backup and archival storage because of its very low cost per gigabyte.
- 磁带:一条涂有磁性材料的柔性塑料长带,主要用于备份和归档存储,因为其每吉字节成本非常低。
Magnetic storage is generally less expensive than solid-state storage for high capacities, but it has moving parts, making it more susceptible to mechanical failure and slower in access speed.
对于大容量来说,磁存储通常比固态存储便宜,但它具有机械运动部件,因此更容易发生机械故障,且访问速度较慢。
3. Optical Storage Media | 光存储介质
Optical storage uses laser light to read and write data on a reflective disc surface. Pits and lands on the surface represent binary data: a change from pit to land or land to pit represents a 1, while no change represents a 0.
光存储使用激光在反射盘片表面上读写数据。表面上的凹坑(pits)和平面(lands)表示二进制数据:从凹坑到平面或从平面到凹坑的变化表示 1,而无变化则表示 0。
- CD (Compact Disc): typically holds 700 MB, used for music and software distribution.
- CD(光盘):通常容量为 700 MB,用于音乐和软件分发。
- DVD (Digital Versatile Disc): holds 4.7 GB (single layer) or 8.5 GB (dual layer), used for video and larger software packages.
- DVD(数字多功能光盘):容量为 4.7 GB(单层)或 8.5 GB(双层),用于视频和较大型软件包。
- Blu-ray Disc: holds 25 GB (single layer) or 50 GB (dual layer), uses a blue-violet laser with a shorter wavelength for higher density.
- 蓝光光盘:容量为 25 GB(单层)或 50 GB(双层),使用波长更短的蓝紫色激光以实现更高存储密度。
Optical media are portable and durable against scratches and magnetic fields, but their storage capacity is significantly lower than modern magnetic and solid-state devices.
光存储介质便携且耐刮擦、抗磁场干扰,但其存储容量明显低于现代磁存储和固态存储设备。
4. Solid-State Storage Media | 固态存储介质
Solid-state storage uses flash memory based on NAND or NOR gates, with no moving parts. Data is stored in floating-gate transistors, where trapped electrons represent a binary 0 or 1. Common forms include USB flash drives, memory cards, and solid-state drives (SSD).
固态存储使用基于 NAND 或 NOR 门电路的闪存,没有机械运动部件。数据存储在浮栅晶体管中,俘获的电子表示二进制 0 或 1。常见形式包括 U 盘、存储卡和固态驱动器(SSD)。
Solid-state drives are faster, quieter, and more shock-resistant than HDDs, but they cost more per gigabyte and have a finite number of write cycles. This makes them ideal for operating systems and frequently accessed applications where speed is critical.
固态驱动器比 HDD 更快、更安静、更抗震,但每吉字节成本更高,且写入次数有限。因此,它们非常适合操作系统和需要频繁访问的高速应用。
5. Serial and Parallel Access | 串行访问与并行访问
Serial access means data is read or written in a predetermined linear sequence, starting from the beginning of the storage medium until the desired location is reached. Magnetic tape is a classic example of serial access storage.
串行访问意味着数据按照预先确定的线性顺序进行读或写,从存储介质的起始位置开始,直到到达目标位置。磁带是串行访问存储的典型例子。
Parallel access, more commonly called direct or random access, allows the system to jump directly to any desired location without reading intervening data. HDDs, SSDs, and optical discs all support direct access, making them suitable for interactive applications.
并行访问,更常称为直接访问或随机访问,允许系统直接跳到任意目标位置,无需读取中间数据。HDD、SSD 和光盘都支持直接访问,因此它们适用于交互式应用。
Access Speed: Direct Access ≫ Serial Access
访问速度:直接访问 ≫ 串行访问
6. Volatile and Non-Volatile Storage | 易失性与非易失性存储
Volatile storage requires a continuous power supply to retain data. When power is removed, all stored data is lost. RAM (Random Access Memory) is the primary example of volatile storage, used for temporary storage of running programs and current data.
易失性存储需要持续供电才能保留数据。当电源断开时,所有存储的数据都会丢失。RAM(随机存取存储器)是易失性存储的主要例子,用于临时存储正在运行的程序和当前数据。
Non-volatile storage retains data even when power is turned off. ROM (Read-Only Memory), HDDs, SSDs, USB flash drives, and optical discs are all non-volatile. This property is essential for long-term data persistence and system boot-up.
非易失性存储即使断电也能保留数据。ROM(只读存储器)、HDD、SSD、U 盘和光盘都是非易失性存储。这一特性对于长期数据保存和系统启动至关重要。
It is important to note that some storage technologies can be both volatile and non-volatile in different contexts — for example, cache memory is volatile, while firmware stored in ROM is non-volatile.
值得注意的是,某些存储技术在不同情境下可能既有易失性又有非易失性——例如,缓存是易失性的,而存储在 ROM 中的固件是非易失性的。
7. Key Characteristics of Storage Media | 存储介质的关键特性
Several characteristics must be considered when comparing storage devices: capacity (the total amount of data a medium can hold), speed (how quickly data can be accessed or transferred), portability (how easily the medium can be transported), durability (resistance to physical damage), and cost (price per unit of storage).
比较存储设备时需考虑几个关键特性:容量(介质能保存的数据总量)、速度(数据访问或传输的快慢)、便携性(介质是否易于携带)、耐用性(抵抗物理损坏的能力)以及成本(每单位存储的价格)。
| Medium | 介质 | Capacity | 容量 | Speed | 速度 | Durability | 耐用性 |
|---|---|---|---|
| HDD | Up to 20+ TB | Medium (100–200 MB/s) | Low (moving parts) |
| SSD | Up to 8 TB | Very high (500+ MB/s) | High (no moving parts) |
| Optical Disc | 光盘 | 700 MB – 50 GB | Low (10–30 MB/s) | Medium (scratch-prone) |
| Magnetic Tape | 磁带 | Up to 100+ TB | Very low (serial access) | High (stable in storage) |
8. Storage Capacity Units | 存储容量单位
Data storage capacity is measured in binary units. The smallest unit is the bit (binary digit), which can represent either 0 or 1. Eight bits form one byte, which can represent 256 different values (2⁸).
数据存储容量以二进制单位测量。最小单位是比特(二进制位),可表示 0 或 1。八个比特组成一个字节,可表示 256 种不同值(2⁸)。
1 KB = 2¹⁰ bytes = 1024 bytes
1 MB = 2²⁰ bytes = 1,048,576 bytes
1 GB = 2³⁰ bytes = 1,073,741,824 bytes
1 TB = 2⁴⁰ bytes ≈ 10¹² bytes
Note that in some contexts, such as network speeds, decimal units are used (1 Mbps = 10⁶ bits per second), but for CIE Computer Science examinations, binary units are expected for storage capacity.
注意在某些情境下(如网络速度)使用十进制单位(1 Mbps = 每秒 10⁶ 比特),但在 CIE 计算机科学考试中,存储容量预期使用二进制单位。
9. Virtual Storage and Cloud Storage | 虚拟存储与云存储
Virtual storage is an abstraction technique that allows the computer to use secondary storage as an extension of primary memory. This is implemented through techniques such as paging and segmentation, enabling programs larger than physical RAM to execute.
虚拟存储是一种抽象技术,允许计算机将辅助存储器用作主存储器的扩展。这通过分页和分段等技术实现,使得大于物理 RAM 的程序也能运行。
Cloud storage is a model where data is stored on remote servers accessed via the internet. It offers scalability, accessibility from any device, and automated backup, but requires a stable internet connection and raises privacy and security concerns.
云存储是一种将数据存储在通过互联网访问的远程服务器上的模式。它具有可扩展性、可从任何设备访问以及自动备份等优点,但需要稳定的互联网连接,并带来隐私和安全方面的担忧。
10. Choosing the Right Storage Medium | 选择正确的存储介质
The choice of storage medium depends on the purpose and requirements. For an operating system installation, an SSD is ideal due to high read/write speeds and reliability. For mass archival of large datasets, magnetic tape is preferred due to its very low cost per terabyte. For distributing software or media, optical discs or USB drives remain practical.
存储介质的选择取决于用途和需求。对于操作系统安装,SSD 因其高读写速度和可靠性而非常理想。对于大量数据的归档保存,磁带因其极低的每太字节成本而受到青睐。对于分发软件或媒体,光盘或 U 盘仍然是实用的选择。
Factors such as cost per byte, data transfer rate, access time, power consumption, portability, and required longevity should all be considered in the decision-making process. A good understanding of these characteristics enables efficient and cost-effective data management.
决策过程中应考虑每字节成本、数据传输速率、访问时间、功耗、便携性以及所需使用寿命等因素。充分理解这些特性有助于实现高效且经济的数据管理。
Published by TutorHao | Computer Science Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)
屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导Cancel reply