# 系统软件

**系统软件**是管理计算机硬件资源、并为[应用软件](https://www.edgepedia.org/zh/application-software)运行提供基础服务的那一层程序。应用软件为使用计算机的人执行具体任务，而系统软件则在幕后不间断地运行，指挥CPU、内存分配、输入/输出硬件以及通信连接。这一类别包括操作系统、编译器和语言运行时、设备驱动程序和中间件，其范围从嵌入式控制器中的裸机固件一直延伸到通用云操作系统的内核。<sup>[1](https://technav.ieee.org/topic/system-software/)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 管理硬件资源并为应用软件提供基础服务的那一层程序<sup>[1](https://technav.ieee.org/topic/system-software/)</sup> |
| 主要组件 | 操作系统、编译器和语言运行时、设备驱动程序、中间件以及系统工具<sup>[1](https://technav.ieee.org/topic/system-software/)</sup><sup> • </sup><sup>[2](https://www.techtarget.com/whatis/definition/system-software)</sup> |
| 商业转折点 | 1969年：IBM将软件与硬件销售解绑，使系统软件成为独立的产品类别，并催生了独立软件供应商<sup>[1](https://technav.ieee.org/topic/system-software/)</sup> |
| 标志性系统 | 面向System/360系列的IBM OS/360（1964年）；由肯尼斯·汤普森（Kenneth Thompson）和丹尼斯·里奇（Dennis Ritchie）于1969年在贝尔实验室开发的UNIX<sup>[3](https://www.computerhistory.org/timeline/1964/)</sup><sup> • </sup><sup>[4](https://www.computerhistory.org/timeline/1969/)</sup> |
| 保护模型 | Windows将用户模式与内核模式分离；内核模式代码共享同一个虚拟地址空间，内核模式下的崩溃会导致整个操作系统停止运行<sup>[5](https://learn.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/user-mode-and-kernel-mode)</sup> |
| 安全地位 | NIST将操作系统、虚拟机监控程序和容器环境归类为关键软件，因为它们对硬件资源拥有特权性的直接控制权<sup>[6](https://www.nist.gov/itl/executive-order-14028-improving-nations-cybersecurity/software-supply-chain-security-guidance-26)</sup> |

## 组件

**操作系统**是最突出的组件。操作系统在争抢CPU时间的进程之间分配CPU时间，监管物理内存和虚拟内存，规范存储设备和外围设备的使用方式，并维护普通用户进程与特权内核操作之间的界限。<sup>[1](https://technav.ieee.org/topic/system-software/)</sup>它还负责加载和终止程序、向输入/输出设备传输数据并从中接收数据、维护将文件名映射到存储块的目录结构、处理进程间通信，以及检测硬件和软件错误。<sup>[7](https://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/2_Structures.html)</sup>广泛使用的通用系统包括微软Windows、macOS和Linux。<sup>[2](https://www.techtarget.com/whatis/definition/system-software)</sup>用于航空航天、汽车和工业控制的实时操作系统增加了确定性调度约束，保证响应时间在指定范围内，而Linux和[Windows NT](https://www.edgepedia.org/zh/windows-nt)等通用系统则在多样化的工作负载中平衡吞吐量、响应性和安全性。<sup>[1](https://technav.ieee.org/topic/system-software/)</sup>

**编译器和语言运行时**构成第二大组。编译器通过词法分析、语法分析、语义分析、优化和代码生成的流水线，将用C、C++或Java等高级语言编写的程序转换为处理器执行的机器指令。语言运行时增加了垃圾回收、异常处理、动态链接和即时编译等执行期服务。由于编译去除了硬件特异性，同一份源代码可以面向多种处理器架构。<sup>[1](https://technav.ieee.org/topic/system-software/)</sup>用于定位和消除软件错误的调试器也被归类为系统软件。<sup>[2](https://www.techtarget.com/whatis/definition/system-software)</sup>

**设备驱动程序**将通用操作系统调用转换为各个硬件所需的特定命令序列。对操作系统而言，声卡、GPU和工业总线适配器的驱动程序在接口上看起来完全相同，尽管每一个都隐藏着自己硬件的特殊性。没有设备驱动程序，计算机就无法运行依赖所连接设备的应用程序。<sup>[1](https://technav.ieee.org/topic/system-software/)</sup><sup> • </sup><sup>[2](https://www.techtarget.com/whatis/definition/system-software)</sup>

**中间件**位于操作系统和应用逻辑之间，提供更高层次的通信和协调服务。消息代理、数据库连接器、远程过程调用框架和容器编排平台都是中间件的形式，每一种都使应用开发者无需直接管理底层网络或并发。<sup>[1](https://technav.ieee.org/topic/system-software/)</sup>

**系统工具**使这一类别更加完整。示例包括磁盘碎片整理程序、病毒扫描程序、注册表清理程序、文件管理器、文件压缩工具、网络监视器和系统还原。大多数随操作系统捆绑提供，不过用户可以单独下载其他工具。<sup>[2](https://www.techtarget.com/whatis/definition/system-software)</sup>

## 系统软件与应用软件

应用软件为用户执行特定功能，例如创建文档、管理账户或更新客户详细信息，它位于系统软件之上，因为没有操作系统和系统工具它就无法运行。<sup>[2](https://www.techtarget.com/whatis/definition/system-software)</sup><sup> • </sup><sup>[8](https://www.cs.cmu.edu/~fgandon/lecture/uk1999/intro_soft/)</sup>相比之下，系统软件不针对任何特定应用；它一般性地支持应用程序的开发或执行控制。<sup>[8](https://www.cs.cmu.edu/~fgandon/lecture/uk1999/intro_soft/)</sup>这两类软件的编码方式也不同：系统软件用系统编程语言编写，这类语言旨在提供对底层计算机硬件的便捷访问。<sup>[2](https://www.techtarget.com/whatis/definition/system-software)</sup>界限并不总是清晰的。在一些出版物中，系统软件一词包括编译器、链接器和调试器等开发工具，而教科书在处理周围工具软件有多少算作操作系统本身的一部分时也存在差异。<sup>[9](https://workforce.libretexts.org/Bookshelves/Information_Technology/Computer_Applications/Introduction_to_Computer_Applications_and_Concepts_%28Lumen%29/03%3A_System_Software/3.03%3A_Reading-_System_Software)</sup><sup> • </sup><sup>[10](https://cs.nyu.edu/~gottlieb/courses/2000s/2000-01-spring/os/chapters/chapter-1.html)</sup>

## 各层如何相互保护

现代系统在系统软件本身内部强制执行特权边界。在Windows中，处理器以两种模式运行：应用程序在用户模式下运行，每个进程获得私有的虚拟地址空间和私有的句柄表，因此一个应用程序无法修改另一个应用程序的数据，一个应用程序崩溃也不会影响其他应用程序或操作系统。核心操作系统组件在内核模式下运行，所有代码共享同一个虚拟地址空间；内核模式驱动程序如果写入了错误的地址，就可能破坏操作系统数据，而内核模式下的崩溃会导致整个操作系统停止运行。<sup>[5](https://learn.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/user-mode-and-kernel-mode)</sup>

同样的分层也出现在移动系统中。Android是一个基于Linux的开源软件栈，其中Linux内核提供线程管理和底层内存管理，硬件抽象层将摄像头和[蓝牙](https://www.edgepedia.org/zh/bluetooth)等设备能力暴露给上层框架API，Android运行时则在其上执行应用程序字节码。<sup>[11](https://developer.android.com/guide/platform/index.html)</sup>Linux内核的内存管理子系统实现虚拟内存和按需分页，为内核结构和用户空间程序分配内存，并将文件映射到进程地址空间，大多数设置通过/proc文件系统暴露，并可用sysctl调整。<sup>[12](https://kernel.org/doc/html/latest/admin-guide/mm/index.html)</sup>

## 历史

系统软件源于让一个程序在多种机器配置上运行的需求。1964年，IBM发布了System/360系列，五个型号跨越50比1的性能范围，基本上无需修改就能运行相同的软件；单个操作系统OS/360的变体本应能在所有型号上运行。OS/360被证明难以编写，尤其是同时运行多个程序的多道程序设计版本，而且它推迟发布；不得不为最小的机器创建三个专用操作系统，当[弗雷德·布鲁克斯](https://www.edgepedia.org/zh/fred-brooks)（Fred Brooks）介入挽救这一努力时，已有1000多名程序员在为其工作。<sup>[3](https://www.computerhistory.org/timeline/1964/)</sup><sup> • </sup><sup>[13](https://www.computerhistory.org/revolution/mainframe-computers/7/164)</sup>

1969年，AT&T贝尔实验室的肯尼斯·汤普森和[丹尼斯·里奇](https://www.edgepedia.org/zh/dennis-ritchie)在一台备用的DEC小型计算机上开发了UNIX，融合了早期Multics项目的分时和文件管理功能。UNIX在工程师和科学家中赢得了广泛追随，是当今许多计算基础设施的基础。<sup>[4](https://www.computerhistory.org/timeline/1969/)</sup>同年，IBM将软件与硬件销售解绑，这使系统软件成为独立的产品类别，并创造了一个独立软件供应商行业。<sup>[1](https://technav.ieee.org/topic/system-software/)</sup>在个人计算机上，微软Windows 95成为20世纪90年代末最受欢迎的桌面操作系统，占据超过80%的市场份额，并装载到IBM、康柏、戴尔、Gateway和东芝的硬件上。<sup>[14](https://www.sciencedirect.com/topics/engineering/software-systems)</sup>

## 安全地位

由于系统软件控制着其他一切赖以运行的硬件，监管机构将其视为高风险基础设施。根据美国第14028号行政命令的软件供应链指南，NIST将操作系统、虚拟机监控程序和容器运行时系统归类为关键软件：它们具有高度特权，拥有对底层硬件资源的直接访问和控制权，并提供最基本的信任和安全功能，包括访问控制、内存管理和运行时执行环境。<sup>[6](https://www.nist.gov/itl/executive-order-14028-improving-nations-cybersecurity/software-supply-chain-security-guidance-26)</sup>NIST关于平台安全的指南同样将系统软件置于可信计算基础之内，即那些若无法抵御权限提升就会危及客户应用程序机密性和完整性的组件集合。<sup>[15](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=934427)</sup>

## References

1. [System software, IEEE Technology Navigator](https://technav.ieee.org/topic/system-software/)
2. [What is System Software? TechTarget](https://www.techtarget.com/whatis/definition/system-software)
3. [1964, Timeline of Computer History, Computer History Museum](https://www.computerhistory.org/timeline/1964/)
4. [1969, Timeline of Computer History, Computer History Museum](https://www.computerhistory.org/timeline/1969/)
5. [User Mode and Kernel Mode, Microsoft Learn](https://learn.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/user-mode-and-kernel-mode)
6. [Critical Software, Definition & Explanatory Material, NIST](https://www.nist.gov/itl/executive-order-14028-improving-nations-cybersecurity/software-supply-chain-security-guidance-26)
7. [Operating Systems: Structures, University of Illinois Chicago course notes](https://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/2_Structures.html)
8. [Introduction to Software, Carnegie Mellon University lecture notes](https://www.cs.cmu.edu/~fgandon/lecture/uk1999/intro_soft/)
9. [System Software, Workforce LibreTexts](https://workforce.libretexts.org/Bookshelves/Information_Technology/Computer_Applications/Introduction_to_Computer_Applications_and_Concepts_%28Lumen%29/03%3A_System_Software/3.03%3A_Reading-_System_Software)
10. [Chapter 1: Introduction, New York University operating systems course notes](https://cs.nyu.edu/~gottlieb/courses/2000s/2000-01-spring/os/chapters/chapter-1.html)
11. [Platform architecture, Android Developers](https://developer.android.com/guide/platform/index.html)
12. [Memory Management, The Linux Kernel documentation](https://kernel.org/doc/html/latest/admin-guide/mm/index.html)
13. [Inside System/360, CHM Revolution, Computer History Museum](https://www.computerhistory.org/revolution/mainframe-computers/7/164)
14. [Software Systems, ScienceDirect Topics](https://www.sciencedirect.com/topics/engineering/software-systems)
15. [Hardware-Enabled Security: Enabling a Layered Approach to Platform Security (NIST IR 8320)](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=934427)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/system-software

English original: https://www.edgepedia.org/system-software
