# 巨人计算机

**巨人**（Colossus）是1943至1945年间在英国建造的一系列特殊用途电子数字计算机，用于破解德国洛伦兹电传打字机密码，也是第一台大规模电子数字计算机：它是数字的、电子的，并且在其逻辑可以重新配置的意义上是可编程的，尽管它并不在内存中存储程序<sup>[1](https://www.tnmoc.org/colossus)</sup>。M. H. A. 纽曼（M. H. A. Newman）教授提出了需求，多利斯山邮政总局研究站的[汤米·弗劳尔斯](https://www.edgepedia.org/zh/tommy-flowers)（Tommy Flowers）领导了设计和建造这些机器的团队<sup>[2](https://eprints.ncl.ac.uk/160056)</sup>。巨人计算机被保密了近六十年，长期缺席于计算机史；IEEE将“巨人计算机，1944–1945”列为电气与电子工程里程碑<sup>[3](https://www.ieee-ukandireland.org/event/ieee-milestone-award-the-colossus-computers-1944-1945/)</sup>。

| 关键事实 | 详情 |
|---|---|
| 用途 | 破译洛伦兹SZ40/42电传打字机密码（“金枪鱼”），用于德国高级别通信<sup>[4](https://markpriestley.net/pdfs/ColossusAndProgrammability.pdf)</sup> |
| 马克1型 | 1,500个电子管；每秒5,000字符的纸带输入；1944年1月18日交付布莱切利园，1944年2月5日破译第一条消息<sup>[2](https://eprints.ncl.ac.uk/160056)</sup><sup> • </sup><sup>[5](https://www.cryptomuseum.com/crypto/colossus/index.htm)</sup> |
| 马克2型 | 2,500个电子管；并行处理将有效速度提升至每秒25,000字符；1944年6月1日首次交付<sup>[5](https://www.cryptomuseum.com/crypto/colossus/index.htm)</sup><sup> • </sup><sup>[6](https://www.britannica.com/technology/Colossus-computer)</sup> |
| 建造数量 | 战争结束时在布莱切利园安装了十台；约十余台已安装或已订购<sup>[1](https://www.tnmoc.org/colossus)</sup><sup> • </sup><sup>[7](http://homepages.cs.ncl.ac.uk/brian.randell/Papers-Books/126.pdf)</sup> |
| 战时产出 | 550人利用十台机器解密了6,300万字符的德国高级别通信；每周分析100条以上消息<sup>[1](https://www.tnmoc.org/colossus)</sup><sup> • </sup><sup>[6](https://www.britannica.com/technology/Colossus-computer)</sup> |
| 体系结构 | 程序控制、外部编程、非存储程序；逻辑由插线板、开关和接线板设定<sup>[8](http://homepages.cs.ncl.ac.uk/brian.randell/Papers-Books/133.pdf)</sup><sup> • </sup><sup>[9](https://www.colossus-computer.com/colossus1.html)</sup> |
| 认可 | 1975年首次解密公开；《金枪鱼总报告》2000年6月解密公开；IEEE里程碑<sup>[2](https://eprints.ncl.ac.uk/160056)</sup><sup> • </sup><sup>[9](https://www.colossus-computer.com/colossus1.html)</sup><sup> • </sup><sup>[3](https://www.ieee-ukandireland.org/event/ieee-milestone-award-the-colossus-computers-1944-1945/)</sup> |

## 问题：洛伦兹与金枪鱼

巨人计算机的建造是为了攻击洛伦兹SZ40/42，这是一种德国电传打字机密码机，在[布莱切利园](https://www.edgepedia.org/zh/bletchley-park)的代号为**金枪鱼**。它用12个旋转密码轮对五位电传打字机字符进行加密，每个轮子上嵌有不同数量的可配置销钉；每输入一个新字符，其中一些轮子就转到下一个位置<sup>[4](https://markpriestley.net/pdfs/ColossusAndProgrammability.pdf)</sup>。与由机电式炸弹机攻击的恩尼格玛不同，金枪鱼承载着德国最高统帅部一些最敏感的通信<sup>[3](https://www.ieee-ukandireland.org/event/ieee-milestone-award-the-colossus-computers-1944-1945/)</sup>。

## 从希思·罗宾逊到巨人

设计始于1943年3月；到1943年12月所有电路均已工作，拥有1,500个电子管的马克1型在1943年圣诞节期间于布莱切利园组装完成<sup>[10](https://www.codesandciphers.org.uk/virtualbp/fish/colossus.htm)</sup>。

**电子管的豪赌。** 怀疑者不相信这台机器能运转：正如重建工程师托尼·塞尔（Tony Sale）所说，没有人相信一台有1,500个电子管的机器能工作超过10秒钟，这反映了对机器可靠性的怀疑<sup>[11](http://news.bbc.co.uk/2/hi/technology/3754887.stm)</sup>。马克1型的运行证明大量电子电路可以高速进行可靠计算<sup>[12](https://www.computinghistory.org.uk/det/6014/The-Colossus-Mark-1-computer-is-delivered-to-Bletchley-Park/)</sup>。原型成功后，计划从一台机器扩展到十二台<sup>[13](https://history.computer.org/pioneers/pdfs/F/Flowers.pdf)</sup>。

## 巨人计算机如何工作

巨人计算机以每秒最高5,000字符的速度读取首尾相接、循环运行的打孔纸带，同时12个电子环形计数器以电子方式模拟洛伦兹密码轮<sup>[4](https://markpriestley.net/pdfs/ColossusAndProgrammability.pdf)</sup>。机器逐字符统计环形计数器生成的差分密钥流与从纸带读取的差分密文之间的相似性。设定前两个卡方轮意味着在所有可能的起始位置上进行1,271次试解密<sup>[4](https://markpriestley.net/pdfs/ColossusAndProgrammability.pdf)</sup>。

**逻辑与控制。** 唯一的可变存储器是充气管和硬管触发电路<sup>[8](http://homepages.cs.ncl.ac.uk/brian.randell/Papers-Books/133.pdf)</sup>。操作员可以使用“多重测试”，以便同时评估一个轮子最多五个连续位置<sup>[4](https://markpriestley.net/pdfs/ColossusAndProgrammability.pdf)</sup>。巨人计算机可以计算涉及多达约100个符号的复杂布尔函数<sup>[8](http://homepages.cs.ncl.ac.uk/brian.randell/Papers-Books/133.pdf)</sup>。

重建时主要使用了穆拉德EF36五极管以及6J6系列三极管、6V6和807四极管、GT1C闸流管；团队攻击五位密文的第4位和第5位，它们由洛伦兹轮K4和K5加密，这两个轮最短，分别为26位和23位<sup>[14](https://www.tnmoc.org/rebuilding-colossus)</sup>。

## 巨人计算机的数字

马克1型使用了1,500个电子管，约为当时其他电子机器的十倍，每秒处理5,000字符<sup>[2](https://eprints.ncl.ac.uk/160056)</sup><sup> • </sup><sup>[15](https://www.independent.co.uk/news/uk/this-britain/gchq-releases-the-secret-details-of-how-bletchley-park-built-the-first-computer-698664.html)</sup>。马克2型于1944年6月1日首次交付，使用了约2,500个电子管<sup>[5](https://www.cryptomuseum.com/crypto/colossus/index.htm)</sup><sup> • </sup><sup>[12](https://www.computinghistory.org.uk/det/6014/The-Colossus-Mark-1-computer-is-delivered-to-Bletchley-Park/)</sup>。其“记忆”延迟电路允许并行处理，处理速度达到马克1型的五倍，将有效速率提升至每秒25,000字符<sup>[14](https://www.tnmoc.org/rebuilding-colossus)</sup><sup> • </sup><sup>[6](https://www.britannica.com/technology/Colossus-computer)</sup>。

战争结束时在布莱切利园安装了十台机器；兰德尔的统计是约十余台已安装或已订购，其中约10台实际已安装<sup>[1](https://www.tnmoc.org/colossus)</sup><sup> • </sup><sup>[7](http://homepages.cs.ncl.ac.uk/brian.randell/Papers-Books/126.pdf)</sup>。到战争结束时，550人利用十台机器解密了6,300万字符的德国高级别通信，这些机器很快每周分析100条以上消息<sup>[1](https://www.tnmoc.org/colossus)</sup><sup> • </sup><sup>[6](https://www.britannica.com/technology/Colossus-computer)</sup>。

## 比较与“第一台计算机”问题

巨人与炸弹机在目标和技术上均不同：炸弹机是攻击恩尼格玛的机电式机器，而巨人是电子的并攻击洛伦兹密码<sup>[16](https://www.gchq.gov.uk/news/colossus-80)</sup>。与同时代计算机相比，对比更为鲜明。哈佛马克1型完全是机电式的，于1943年1月演示，但1944年5月才在哈佛投入使用<sup>[8](http://homepages.cs.ncl.ac.uk/brian.randell/Papers-Books/133.pdf)</sup>。巨人的电子器件使其内部速度比基于继电器的设备提高了约一千倍<sup>[8](http://homepages.cs.ncl.ac.uk/brian.randell/Papers-Books/133.pdf)</sup>。

**与ENIAC相比。** ENIAC项目始于1943年5月，机器于1945年末或1946年初首次使用，约有18,000个电子管；巨人比它早两年<sup>[8](http://homepages.cs.ncl.ac.uk/brian.randell/Papers-Books/133.pdf)</sup><sup> • </sup><sup>[9](https://www.colossus-computer.com/colossus1.html)</sup>。然而ENIAC是通用计算机，巨人则不是<sup>[17](https://arstechnica.com/gadgets/2024/01/new-images-of-secret-nazi-busting-computer-emerge-on-80th-anniversary/)</sup>。

**程序控制，而非存储程序。** 兰德尔将巨人归类为特殊用途、外部编程的机器，认为它毫无疑问不是存储程序计算机<sup>[8](http://homepages.cs.ncl.ac.uk/brian.randell/Papers-Books/133.pdf)</sup>。要让它执行不同任务，必须使用开关和插头手动修改机器的一些接线<sup>[9](https://www.colossus-computer.com/colossus1.html)</sup>。TNMOC指出巨人是第一台数字的、可编程的、电子的机器<sup>[1](https://www.tnmoc.org/colossus)</sup>。科普兰的历史著作认为巨人比ENIAC早两年，而保密长期掩盖了这一点<sup>[18](https://academic.oup.com/book/40641)</sup>；后来的一项分析补充说，十台机器的集群原则上可以实现通用[图灵机](https://www.edgepedia.org/zh/turing-machine)<sup>[19](https://dl.acm.org/doi/10.1007/978-3-642-03745-0_27)</sup>。

## 保密、销毁、解密公开与遗产

战后，丘吉尔下令销毁大部分巨人机器并将所有信息列为机密；十台机器中有八台被销毁，弗劳尔斯被命令将所有建造文档移交给GCHQ<sup>[20](https://www.theguardian.com/world/2025/oct/12/move-over-alan-turing-meet-the-working-class-hero-of-bletchley-park-you-didnt-see-in-the-movies)</sup><sup> • </sup><sup>[16](https://www.gchq.gov.uk/news/colossus-80)</sup>。根据纽曼的建议保留了两台机器，仅保留其他机器的计数器和纸带设备，GCHQ使用巨人衍生技术直到1960年代初；其机密历史记录了多次尝试——有些较为成功——将保留的机器改装用于更通用的任务<sup>[21](https://www.tomandmaria.com/Tom/Writing/ColossusInContextPreprint.pdf)</sup><sup> • </sup><sup>[16](https://www.gchq.gov.uk/news/colossus-80)</sup>。一台或可能两台机器被拆解，零件上暴露其原先用途的线索被清除后，随纽曼去了曼彻斯特大学，帮助建造了以Ferranti Mark I之名销售的机器<sup>[20](https://www.theguardian.com/world/2025/oct/12/move-over-alan-turing-meet-the-working-class-hero-of-bletchley-park-you-didnt-see-in-the-movies)</sup>。

**解密公开。** 1975年10月，在官方沉默三十二年之后，英国政府在公共档案馆发布了巨人计算机的带说明照片<sup>[2](https://eprints.ncl.ac.uk/160056)</sup>。2000年6月，英国政府解除了围绕《金枪鱼总报告》的保密，这是一份500页的文件，由杰克·古德（Jack Good）、唐纳德·米奇（Donald Michie）和杰弗里·蒂姆斯（Geoffrey Timms）于1945年在布莱切利园撰写<sup>[9](https://www.colossus-computer.com/colossus1.html)</sup>。由于巨人计算机数十年来被排除在计算机硬件史之外，弗劳尔斯及其同事多年来得不到认可<sup>[1](https://www.tnmoc.org/colossus)</sup>。

**重建。** 托尼·塞尔的团队于1992年开始，花了近十五年时间在H区原巨人9号所占位置重建马克2型巨人<sup>[1](https://www.tnmoc.org/colossus)</sup>。到2003年12月，重建机器已能对用于设定卡方轮K1和K2的(1+2)算法、对K4和K5的给定1=2时4=5算法、以及对K3的斜线计数产生可靠计数，并用来自K2前一位限制的密文和BREAM模式进行了测试<sup>[14](https://www.tnmoc.org/rebuilding-colossus)</sup>。在2007年巨人密码挑战中，重建机器在3.5小时内破解了一段洛伦兹密文，但被约阿希姆·舒特（Joachim Schueth）击败，他为自己的个人电脑编写了专用软件，在46秒内破解<sup>[1](https://www.tnmoc.org/colossus)</sup>。IEEE已正式将巨人计算机列为里程碑<sup>[3](https://www.ieee-ukandireland.org/event/ieee-milestone-award-the-colossus-computers-1944-1945/)</sup>。

## References

1. [Colossus, The National Museum of Computing](https://www.tnmoc.org/colossus)
2. [The COLOSSUS, Newcastle University ePrints](https://eprints.ncl.ac.uk/160056)
3. [IEEE Milestone Award: The Colossus Computers, 1944–1945, IEEE UK and Ireland](https://www.ieee-ukandireland.org/event/ieee-milestone-award-the-colossus-computers-1944-1945/)
4. [Colossus and Programmability, IEEE Annals of the History of Computing (Priestley, 2018)](https://markpriestley.net/pdfs/ColossusAndProgrammability.pdf)
5. [Colossus, Crypto Museum](https://www.cryptomuseum.com/crypto/colossus/index.htm)
6. [Colossus, Encyclopaedia Britannica](https://www.britannica.com/technology/Colossus-computer)
7. [On Alan Turing and the Origins of Digital Computers, Brian Randell](http://homepages.cs.ncl.ac.uk/brian.randell/Papers-Books/126.pdf)
8. [The COLOSSUS, Brian Randell](http://homepages.cs.ncl.ac.uk/brian.randell/Papers-Books/133.pdf)
9. [Colossus: The Secrets of Bletchley Park's Codebreaking Computers (book excerpt)](https://www.colossus-computer.com/colossus1.html)
10. [The Colossus, Tony Sale, codesandciphers.org.uk](https://www.codesandciphers.org.uk/virtualbp/fish/colossus.htm)
11. [Return of Colossus marks D-Day, BBC News](http://news.bbc.co.uk/2/hi/technology/3754887.stm)
12. [The Colossus Mark 1 computer is delivered to Bletchley Park, Computing History](https://www.computinghistory.org.uk/det/6014/The-Colossus-Mark-1-computer-is-delivered-to-Bletchley-Park/)
13. [Thomas H. (Tommy) Flowers, IEEE Computer Society oral-history record](https://history.computer.org/pioneers/pdfs/F/Flowers.pdf)
14. [Rebuilding Colossus, The National Museum of Computing](https://www.tnmoc.org/rebuilding-colossus)
15. [GCHQ releases the secret details of how Bletchley Park built the first computer, The Independent](https://www.independent.co.uk/news/uk/this-britain/gchq-releases-the-secret-details-of-how-bletchley-park-built-the-first-computer-698664.html)
16. [GCHQ celebrates 80 years of Colossus](https://www.gchq.gov.uk/news/colossus-80)
17. [80 years later, GCHQ releases new images of Nazi code-breaking computer, Ars Technica](https://arstechnica.com/gadgets/2024/01/new-images-of-secret-nazi-busting-computer-emerge-on-80th-anniversary/)
18. [Colossus: The Secrets of Bletchley Park's Code-breaking Computers, Copeland, Oxford University Press](https://academic.oup.com/book/40641)
19. [Advances in I/O, Speedup, and Universality on Colossus, Springer LNCS](https://dl.acm.org/doi/10.1007/978-3-642-03745-0_27)
20. [Move over, Alan Turing: meet the working-class hero of Bletchley Park, The Guardian](https://www.theguardian.com/world/2025/oct/12/move-over-alan-turing-meet-the-working-class-hero-of-bletchley-park-you-didnt-see-in-the-movies)
21. [Contextualizing Colossus, Haigh & Priestley, Technology and Culture (2020)](https://www.tomandmaria.com/Tom/Writing/ColossusInContextPreprint.pdf)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Processors & processor engineering › Processors overview

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/colossus-computer

English original: https://www.edgepedia.org/colossus-computer
