# 汉斯·彼得·卢恩

**汉斯·彼得·卢恩**（Hans Peter Luhn，1964年逝世）是IBM的一位发明家与信息检索研究员。他创造了如今被称为[卢恩算法](https://www.edgepedia.org/zh/luhn-algorithm)的模10校验和，开创了自动标引与自动摘要的统计方法，并在20世纪50年代末提出了上下文关键词（KWIC）索引与定题信息服务（SDI）。<sup>[1](https://www.nytimes.com/1964/08/20/archives/hans-peter-luhn-mentor-68-dies-dataprocessing-specialist-served-fbm.html)</sup>《纽约时报》的讣告称他为“自动标引、自动摘要与文献信息匹配统计方法的创始人”，并称他基本上是一个自学成才的人。<sup>[1](https://www.nytimes.com/1964/08/20/archives/hans-peter-luhn-mentor-68-dies-dataprocessing-specialist-served-fbm.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 生卒 | 1964年8月逝世于纽约州阿蒙克家中，享年68岁<sup>[1](https://www.nytimes.com/1964/08/20/archives/hans-peter-luhn-mentor-68-dies-dataprocessing-specialist-served-fbm.html)</sup> |
| IBM生涯 | 1941年从纺织业转入IBM；曾任信息（运营）经理；1961年退休<sup>[2](https://spectrum.ieee.org/hans-peter-luhn-and-the-birth-of-the-hashing-algorithm)</sup><sup> • </sup><sup>[1](https://www.nytimes.com/1964/08/20/archives/hans-peter-luhn-mentor-68-dies-dataprocessing-specialist-served-fbm.html)</sup> |
| 专利 | 据《IEEE光谱》称拥有70项IBM专利；据IT历史学会称超过80项（数据存在未解决的出入）<sup>[2](https://spectrum.ieee.org/hans-peter-luhn-and-the-birth-of-the-hashing-algorithm)</sup><sup> • </sup><sup>[3](https://do.ithistory.org/honor-roll/hans-peter-luhn)</sup> |
| 卢恩算法 | 模10校验和，见美国专利2,950,048，1954年1月6日申请，1960年8月23日授予<sup>[3](https://do.ithistory.org/honor-roll/hans-peter-luhn)</sup> |
| 错误检测 | 可捕获任何单一位错误及任何相邻换位错误，唯一例外是09与90互换<sup>[4](https://www.scientificamerican.com/article/what-is-the-luhn-algorithm-the-math-behind-secure-credit-card-numbers/)</sup> |
| KWIC索引 | 至20世纪60年代初已成为数百个计算机化索引服务的核心，包括化学文摘社、生物学文摘和科学信息研究所<sup>[2](https://spectrum.ieee.org/hans-peter-luhn-and-the-birth-of-the-hashing-algorithm)</sup> |
| 商业情报 | 他1958年的《商业情报系统》一文提出将摘要后的文献自动分发给组织内的“行动点”<sup>[5](https://www.mirrorservice.org/sites/www.bitsavers.org/pdf/ibm/IBM_Journal_of_Research_and_Development/024/ibmrd0204H.pdf)</sup> |

## 早年生活与通往计算领域的意外之路

卢恩1924年来到美国，为纺织厂选址，并于1927年发明了Lunometer——一种用于计算织物经纬密度的量规。<sup>[2](https://spectrum.ieee.org/hans-peter-luhn-and-the-birth-of-the-hashing-algorithm)</sup>1941年加入IBM时，他对纺织业的了解远多于对计算机科学的了解；那个领域当时几乎还不存在。按讣告的说法，他基本上是自学成才的。<sup>[2](https://spectrum.ieee.org/hans-peter-luhn-and-the-birth-of-the-hashing-algorithm)</sup><sup> • </sup><sup>[1](https://www.nytimes.com/1964/08/20/archives/hans-peter-luhn-mentor-68-dies-dataprocessing-specialist-served-fbm.html)</sup>他在IBM作为发明家和顾问工作了二十年，最终担任信息（运营）经理，1961年退休。<sup>[1](https://www.nytimes.com/1964/08/20/archives/hans-peter-luhn-mentor-68-dies-dataprocessing-specialist-served-fbm.html)</sup><sup> • </sup><sup>[2](https://spectrum.ieee.org/hans-peter-luhn-and-the-birth-of-the-hashing-algorithm)</sup>他于1964年死于白血病。<sup>[2](https://spectrum.ieee.org/hans-peter-luhn-and-the-birth-of-the-hashing-algorithm)</sup>

## IBM生涯与关键专利

有两项专利奠定了他技术遗产的基石。美国专利2,731,196——一项自校验数字打孔机，1954年11月14日申请并转让给IBM——描述了附加一位校验数字的方法：对所有数字进行交叉相加，其中交替位数字按替换规则处理，结果在除以10取余后应为零；若结果非零，打孔机便锁定。<sup>[6](https://patentimages.storage.googleapis.com/1a/15/41/52de5092c42482/US2731196.pdf)</sup>模10算法本身则见于美国专利2,950,048，1954年1月6日申请，1960年8月23日授予。<sup>[3](https://do.ithistory.org/honor-roll/hans-peter-luhn)</sup>

**究竟有多少项专利？**《IEEE光谱》称他为IBM产出了70项专利；IT历史学会的记录则称他被授予了80多项。<sup>[2](https://spectrum.ieee.org/hans-peter-luhn-and-the-birth-of-the-hashing-algorithm)</sup><sup> • </sup><sup>[3](https://do.ithistory.org/honor-roll/hans-peter-luhn)</sup>

## 卢恩算法

卢恩算法是一种模10校验和，通过捕获转录错误来验证标识号码。对于一个末位为校验位的号码，步骤如下：<sup>[4](https://www.scientificamerican.com/article/what-is-the-luhn-algorithm-the-math-behind-secure-credit-card-numbers/)</sup>

1. 写出除最后一位以外的所有数字。
2. 从右往左数，每隔一位数字将其加倍。<sup>[4](https://www.scientificamerican.com/article/what-is-the-luhn-algorithm-the-math-behind-secure-credit-card-numbers/)</sup>
3. 将每个结果的各位数字相加；加倍后得到的14变为1 + 4 = 5。<sup>[4](https://www.scientificamerican.com/article/what-is-the-luhn-algorithm-the-math-behind-secure-credit-card-numbers/)</sup>
4. 将所有这些数字相加，再加上校验位，若总和不是10的倍数，则拒绝该号码。<sup>[4](https://www.scientificamerican.com/article/what-is-the-luhn-algorithm-the-math-behind-secure-credit-card-numbers/)</sup>

《IEEE光谱》从生成方的角度描述了同一过程，以一个10位数为例：每隔一位数字加倍，对任何大于等于10的结果求各位数字之和，将所有数字相加，乘以9，取最后一位作为校验位；在卢恩最初的表述中，结果为0表示有效。<sup>[2](https://spectrum.ieee.org/hans-peter-luhn-and-the-birth-of-the-hashing-algorithm)</sup>

**能捕获什么，不能捕获什么。** 该校验可检测任何单一位错误及任何相邻数字的换位，唯一例外是将09换成90或反之。<sup>[4](https://www.scientificamerican.com/article/what-is-the-luhn-algorithm-the-math-behind-secure-credit-card-numbers/)</sup>它的设计目的是防范意外错误，而非恶意攻击。<sup>[3](https://do.ithistory.org/honor-roll/hans-peter-luhn)</sup>通过校验并不保证号码有效；未通过校验则保证号码无效。<sup>[4](https://www.scientificamerican.com/article/what-is-the-luhn-algorithm-the-math-behind-secure-credit-card-numbers/)</sup>

**为何沿用至今。** 所有主流信用卡号码仍在使用这一校验，《[科学美国人](https://www.edgepedia.org/zh/scientific-american)》将其归功于卢恩1960年的专利。<sup>[4](https://www.scientificamerican.com/article/what-is-the-luhn-algorithm-the-math-behind-secure-credit-card-numbers/)</sup>由于它所需的处理能力极低，处理交易的计算机可以在本地运行校验，无需联系第三方验证服务。<sup>[4](https://www.scientificamerican.com/article/what-is-the-luhn-algorithm-the-math-behind-secure-credit-card-numbers/)</sup>除支付卡外，模10校验还用于验证手机的IMEI号码、美国[国家提供者标识符](https://www.edgepedia.org/zh/national-provider-identifier)号码以及加拿大社会保险号码。<sup>[2](https://spectrum.ieee.org/hans-peter-luhn-and-the-birth-of-the-hashing-algorithm)</sup><sup> • </sup><sup>[3](https://do.ithistory.org/honor-roll/hans-peter-luhn)</sup>由同一思路衍生的相关错误校验方案还出现在条形码、包裹追踪号、银行账号和国际标准书号中。<sup>[4](https://www.scientificamerican.com/article/what-is-the-luhn-algorithm-the-math-behind-secure-credit-card-numbers/)</sup>

## KWIC索引与定题信息服务

卢恩的KWIC论文提出了一种由机器生成的索引，随当前文献保持更新，并配有一套兼容的编码方案来标识被索引的文献。<sup>[7](http://altaplana.com/Luhn-KWICindexing.pdf)</sup>撰写之时，仅有少数KWIC索引服务以实验性质投入使用，用户接受度非常好。<sup>[7](http://altaplana.com/Luhn-KWICindexing.pdf)</sup>此后采用速度很快：至20世纪60年代初，KWIC已成为数百个计算机化索引系统设计的核心，包括[化学文摘社](https://www.edgepedia.org/zh/chemical-abstracts-service)、生物学文摘和科学信息研究所的系统；KWIC系统处理的文章通常长500至5000词。<sup>[2](https://spectrum.ieee.org/hans-peter-luhn-and-the-birth-of-the-hashing-algorithm)</sup>

**一项被纠正的优先权。** KWIC通常被完全归功于卢恩，但《JASIST》上的同行评审学术研究表明，这项发明的功劳应同等归于卢恩和系统开发公司的赫伯特·奥尔曼。<sup>[8](https://onlinelibrary.wiley.com/doi/10.1002/asi.21265)</sup>

**SDI。** 卢恩的定题分发方案将新文献的关键词模式与参与者画像进行比较；在达到给定相似度时，通过一张载有摘要的卡片通知参与者，参与者通过寄回或不寄回回执条来表示相关性，肯定性回复则反馈回用户画像中。<sup>[9](https://onlinelibrary.wiley.com/doi/10.1002/asi.5090120209)</sup>该论文于1959年12月29日在芝加哥第126届AAAS会议上宣读，并于1961年4月在《美国文献工作》上发表。<sup>[9](https://onlinelibrary.wiley.com/doi/10.1002/asi.5090120209)</sup>

## 自动摘要与商业情报系统

在《文献摘要的自动生成》（1957年12月2日收到）一文中，卢恩描述了在[IBM 704](https://www.edgepedia.org/zh/ibm-704)上扫描一篇文章完整的机器可读文本，利用词频与分布统计计算相对重要性度量，先针对单个词，再针对句子；得分最高的句子被提取出来并打印为“自动摘要”。<sup>[10](https://www.mirrorservice.org/sites/www.bitsavers.org/pdf/ibm/IBM_Journal_of_Research_and_Development/022/luhn.pdf)</sup>《IEEE光谱》对该方法的描述是：在丢弃非常常见的词之后，自动摘要器定位出若干最频繁的词共同出现的句子，这是一种纯粹统计的方法，并不试图理解文本。<sup>[2](https://spectrum.ieee.org/hans-peter-luhn-and-the-birth-of-the-hashing-algorithm)</sup>卢恩认为，自动摘要具有高度的可靠性、一致性和稳定性，因为它们是对作者本人用词进行统计分析的产物，并称自动摘要或许是文献评价中机器生成的、可与完全智力性任务相媲美的第一个例子。<sup>[10](https://www.mirrorservice.org/sites/www.bitsavers.org/pdf/ibm/IBM_Journal_of_Research_and_Development/022/luhn.pdf)</sup>

他1958年的《商业情报系统》一文提出了一种自动系统，将信息分发给任何工业、科学或政府组织的各个部门：无论是外来文献还是内部生成的文献，都将被自动摘要、以词模式加以表征，并自动发送到适当的行动点。<sup>[5](https://www.mirrorservice.org/sites/www.bitsavers.org/pdf/ibm/IBM_Journal_of_Research_and_Development/024/ibmrd0204H.pdf)</sup>所列技术包括文献自动摘要、文献自动编码以及行动点画像的自动创建与更新，全部基于可在当时数据处理机器上执行的统计程序。<sup>[5](https://www.mirrorservice.org/sites/www.bitsavers.org/pdf/ibm/IBM_Journal_of_Research_and_Development/024/ibmrd0204H.pdf)</sup>

## 同时代人中的卢恩

卢恩与[万尼瓦尔·布什](https://www.edgepedia.org/zh/vannevar-bush)一样，投身于战后对信息过载的应对；布什提出了[Memex](https://www.edgepedia.org/zh/memex)，一种书桌大小的机电装置，用于存储和链接信息。<sup>[2](https://spectrum.ieee.org/hans-peter-luhn-and-the-birth-of-the-hashing-algorithm)</sup>卡尔文·穆尔斯在麻省理工学院的硕士论文中创造了“信息检索”一词，并创立Zator公司来推销他的系统；卢恩贡献了统计方法，穆尔斯则贡献了该领域的词汇。<sup>[11](https://garfield.library.upenn.edu/commentaries/tsv11%2806%29p09y19970317.pdf)</sup>穆尔斯还观察到：“当客户获取信息比不获取信息更痛苦、更麻烦时，信息检索系统往往不会被使用。”<sup>[11](https://garfield.library.upenn.edu/commentaries/tsv11%2806%29p09y19970317.pdf)</sup>

## References

1. [Hans Peter Luhn, Mentor, 68, Dies, The New York Times (August 20, 1964)](https://www.nytimes.com/1964/08/20/archives/hans-peter-luhn-mentor-68-dies-dataprocessing-specialist-served-fbm.html)
2. [Hans Peter Luhn and the Birth of the Hashing Algorithm, IEEE Spectrum](https://spectrum.ieee.org/hans-peter-luhn-and-the-birth-of-the-hashing-algorithm)
3. [Hans Peter Luhn, IT History Society Honor Roll](https://do.ithistory.org/honor-roll/hans-peter-luhn)
4. [What Is the Luhn Algorithm? The Math Behind Credit Card Transactions, Scientific American](https://www.scientificamerican.com/article/what-is-the-luhn-algorithm-the-math-behind-secure-credit-card-numbers/)
5. [H. P. Luhn, "A Business Intelligence System," IBM Journal of Research and Development (1958)](https://www.mirrorservice.org/sites/www.bitsavers.org/pdf/ibm/IBM_Journal_of_Research_and_Development/024/ibmrd0204H.pdf)
6. [US Patent 2,731,196, Self-Checking Number Punch](https://patentimages.storage.googleapis.com/1a/15/41/52de5092c42482/US2731196.pdf)
7. [Keyword-in-Context Index for Technical Literature (KWIC Index), Luhn's original KWIC paper](http://altaplana.com/Luhn-KWICindexing.pdf)
8. [Hans Peter Luhn and Herbert M. Ohlman: Their roles in the origins of keyword-in-context/permutation automatic indexing, JASIST](https://onlinelibrary.wiley.com/doi/10.1002/asi.21265)
9. [Selective dissemination of new scientific information with the aid of electronic processing equipment, American Documentation (1961)](https://onlinelibrary.wiley.com/doi/10.1002/asi.5090120209)
10. [H. P. Luhn, "The Automatic Creation of Literature Abstracts," IBM Journal of Research and Development (1958)](https://www.mirrorservice.org/sites/www.bitsavers.org/pdf/ibm/IBM_Journal_of_Research_and_Development/022/luhn.pdf)
11. [A Tribute to Calvin N. Mooers, A Pioneer of Information Retrieval, Eugene Garfield](https://garfield.library.upenn.edu/commentaries/tsv11%2806%29p09y19970317.pdf)

---
*Initially written Oct 10, 2026 · Edited: Oct 11, 2026; 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/hans-peter-luhn

English original: https://www.edgepedia.org/hans-peter-luhn
