# 条形码

条形码是一种机器可读的符号，印制或标记在物品上，编码产品编号、序列号或批次代码等识别数据，使扫描器能够借助激光或图像技术以电子方式读取。<sup>[1](https://www.gs1.org/standards/barcodes)</sup> 条形码是供应链的核心，让零售商、制造商、运输服务商和医院能够在产品从生产到销售点或诊疗点的整个过程中自动识别和追踪产品。<sup>[1](https://www.gs1.org/standards/barcodes)</sup>

| 关键事实 | 详情 |
|---|---|
| 条形码存储什么 | 以标准化语法编码的关键标识符（产品、货运、位置）和关键属性（序列号、批次/批号、日期）<sup>[1](https://www.gs1.org/standards/barcodes)</sup> |
| 两大类别 | 线性（一维）条形码使用宽度可变的线条和空白；二维条形码使用方块、六边形、圆点及其他形状构成的图案，能在更小的面积内承载更多数据<sup>[1](https://www.gs1.org/standards/barcodes)</sup> |
| 首次零售扫描 | 1974年6月26日，俄亥俄州特洛伊的马什超市（Marsh Supermarket）；商品是一份多包装的箭牌黄箭口香糖<sup>[2](https://www.smithsonianmag.com/innovation/history-bar-code-180956704/)</sup> |
| 发明者 | 诺曼·约瑟夫·“乔”·伍德兰（Norman Joseph "Joe" Woodland）受莫尔斯电码启发，在迈阿密海滩的沙地上画出了第一份构想；伯纳德·“鲍勃”·西尔弗（Bernard "Bob" Silver）从德雷塞尔理工学院（Drexel Institute of Technology）把这一难题带给了他<sup>[2](https://www.smithsonianmag.com/innovation/history-bar-code-180956704/)</sup> |
| 标准机构 | 非营利组织GS1负责维护条形码标准，包括零售条形码所承载的GTIN标识键<sup>[1](https://www.gs1.org/standards/barcodes)</sup><sup> • </sup><sup>[3](https://support.gs1.org/support/solutions/articles/43000734095-how-do-gs1-gtins-and-barcodes-work-)</sup> |
| 行业转型 | 在"日出2027"（Sunrise 2027）倡议下，零售业正从12位UPC转向在收银台读取的、可联网的二维条形码<sup>[4](https://www.axios.com/2023/04/17/2d-barcode-transition-2027)</sup> |

## 条形码如何工作

零售条形码的黑白线条是其GS1 GTIN（全球贸易项目编号）的可扫描表示，GTIN是标识该产品的识别键。<sup>[3](https://support.gs1.org/support/solutions/articles/43000734095-how-do-gs1-gtins-and-barcodes-work-)</sup> 扫描器读取符号，把解码后的数字传给计算机系统，系统再查询价格、库存和产品数据。

**线性符号与二维符号。** 线性条形码，如消费品上的U.P.C.码，把数据编码在一行条与空之中。GS1的线性系列包括用于零售销售点的UPC/EAN、可承载生鲜食品重量等附加属性的GS1 DataBar，以及用于配送环境的通用符号GS1-128和ITF-14。<sup>[1](https://www.gs1.org/standards/barcodes)</sup> 二维条形码在整个符号面积上编码数据，因此比一维符号能容纳更多数据，而外观尺寸反而更小。<sup>[1](https://www.gs1.org/standards/barcodes)</sup>

**扫描设备。** 激光扫描器和线性成像扫描器读取一维符号；而GS1 DataMatrix等二维符号则需要二维或阵列成像扫描器或基于摄像头的视觉系统；激光扫描器和线性成像仪无法读取GS1 DataMatrix。<sup>[5](https://ref.gs1.org/standards/genspecs/11.0.0/)</sup> 这种关系是单向的：二维图像扫描器也能读取一维条形码，反之则不行。<sup>[6](https://www.gs1.ch/en/barcodes-standards/gs1-standards/capture/gs1-barcodes)</sup>

**验证。** 在验证中，会对条形码进行技术测量，检查其符合符号规范的程度；这与扫描不同，因为验证仪评定的是印刷质量，而扫描器只是读取。<sup>[7](https://gs1za.org/wp-content/uploads/2022/04/GS1_General_Specifications-2022.pdf)</sup> 《GS1通用规范》是描述GS1条形码和识别键应如何使用的基础标准文件。<sup>[1](https://www.gs1.org/standards/barcodes)</sup>

## 发明与首次使用

问题来自食品杂货行业。一位焦头烂额的超市经理因收银延迟和盘点而损失利润，他向费城德雷塞尔理工学院的一位院长恳求，希望能找到让顾客更快通过门店的办法。院长拒绝了，但一名低年级研究生伯纳德·“鲍勃”·西尔弗无意中听到，便把这一难题告诉了乔·伍德兰——一位1947年毕业于德雷塞尔的发明家。<sup>[2](https://www.smithsonianmag.com/innovation/history-bar-code-180956704/)</sup> 条形码技术于1949年首次获得专利，而UPC码本身则是在20世纪70年代设计出来的。<sup>[8](https://www.history.com/articles/upc-barcode-invention-ibm-laurer)</sup>

伍德兰形容自己的灵感听起来像童话：他坐在迈阿密海滩上，凭借对莫尔斯电码的了解，用手指在沙地上画出了第一个条形码。目标是设计一种能印在杂货上并被扫描的代码，让收银队伍移动得更快，盘点也更简单。<sup>[2](https://www.smithsonianmag.com/innovation/history-bar-code-180956704/)</sup>

最终进入商店的系统，是由一个名为“食品杂货业特设委员会”（Ad Hoc Committee of the Grocery Industry）的团体开发的。该委员会由平时互不合作的超市高管与食品制造商联手组成，目的是实现收银台的自动化。<sup>[9](https://www.si.edu/object/supermarket-scanner%3Anmah_892778)</sup><sup> • </sup><sup>[10](https://www.smithsonianmag.com/history/bar-codes-reading-between-the-lines-65781715/)</sup>

**首次扫描。** 1974年6月26日上午8点刚过，第一件印有[通用产品代码](https://www.edgepedia.org/zh/universal-product-code)的商品在俄亥俄州特洛伊的马什超市收银台被扫描。前一天晚上，马什的员工为数百件商品贴上了条形码，国民收银机公司（National Cash Register）则安装了扫描器和计算机。第一位顾客是马什超市研发主管克莱德·道森（Clyde Dawson），收银员是莎伦·布坎南（Sharon Buchanan）。道森特意挑了一份多包装的箭牌黄箭口香糖：此前人们一直怀疑条形码能否印在一包口香糖这么小的物品上，而箭牌解决了这个问题。<sup>[2](https://www.smithsonianmag.com/innovation/history-bar-code-180956704/)</sup> 那包被扫描的口香糖一直留在道森手里，从未进入史密森尼学会。<sup>[9](https://www.si.edu/object/supermarket-scanner%3Anmah_892778)</sup>

认可来得较晚。1992年2月，乔治·H·W·布什（George H.W. Bush）总统在一场食品杂货大会上被拍到刷过一罐印有条形码的罐头，媒体将此解读为他对日常生活不熟悉；几个月后，布什向伍德兰颁发了国家技术奖章。<sup>[2](https://www.smithsonianmag.com/innovation/history-bar-code-180956704/)</sup>

## 应用

**零售。** UPC/EAN符号在世界各地的零售业中使用，几乎每一件消费品上都印有UPC。<sup>[1](https://www.gs1.org/standards/barcodes)</sup><sup> • </sup><sup>[4](https://www.axios.com/2023/04/17/2d-barcode-transition-2027)</sup> 条形码也支撑着自助收银，每个收银台每周最多可节省40小时的付费人工。<sup>[10](https://www.smithsonianmag.com/history/bar-codes-reading-between-the-lines-65781715/)</sup>

**医疗保健。** 医疗保健领域的GS1条形码标准支持诊疗点扫描，将产品数据与患者数据匹配；通过腕带核验患者身份；机器人配药；在患者病历和登记系统中记录植入物序列号；追踪器械的清洗消毒过程；以及库存控制。其宣称的益处包括减少用药错误、防止假冒、节约成本，以及提高供应链效率和透明度。<sup>[11](https://www.gs1.org/industries/healthcare/standards)</sup> 在行业应用中，UPC是零售业的主力，而GS1 DataMatrix则常用于医疗保健。<sup>[12](https://www.gs1.org/sites/gs1/files/2024-06/press-release-gs1-50-years-first-scan-and-industry-endorsement.pdf)</sup>

**配送与物流。** [GS1-128](https://www.edgepedia.org/zh/gs1-128)和ITF-14符号用于配送环境，物流标签可携带系列货运包装箱代码（SSCC）以追踪货运。<sup>[1](https://www.gs1.org/standards/barcodes)</sup><sup> • </sup><sup>[13](https://www.gs1us.org/content/dam/gs1us/documents/industries-insights/by-industry/food/initiative/GS1-US-2D-Barcode-Overview-General-Distribution.pdf)</sup>

## 向二维码转型

线性UPC作为消费品包装上的常客已近50年，但零售业正在一项名为"日出2027"的全球性推动下转向可联网的二维条形码，预计届时收银台将能读取二维码。<sup>[4](https://www.axios.com/2023/04/17/2d-barcode-transition-2027)</sup> 与12位UPC相比，二维码承载的信息多得多：包装上的批号和到期日期，以及可把消费者引向品牌定制体验的联网内容；它们还有望改善产品安全、产地透明度和后端库存控制。<sup>[4](https://www.axios.com/2023/04/17/2d-barcode-transition-2027)</sup> 美国GS1发布了"条形码能力测试套件"，帮助零售商评估自身准备情况；彪马（Puma）是第一家宣布在美国门店和产品中使用二维条形码的公司。<sup>[4](https://www.axios.com/2023/04/17/2d-barcode-transition-2027)</sup> 序列号、到期日期和计量值等可变数据可以印在GS1-128、GS1 DataBar或标准化二维符号中，有时以数字方式在线印制在传统预印留下的空白标签上。<sup>[14](https://www.gs1.org/standards/barcodes/10-steps-to-barcode-your-product/english)</sup>

## References

1. [Barcodes – GS1 Standards](https://www.gs1.org/standards/barcodes)
2. [The History of the Bar Code, Smithsonian Magazine (Gavin Weightman, 2015)](https://www.smithsonianmag.com/innovation/history-bar-code-180956704/)
3. [How do GS1 GTINs and barcodes work? GS1 GO Customer Service Portal](https://support.gs1.org/support/solutions/articles/43000734095-how-do-gs1-gtins-and-barcodes-work-)
4. [QR-style "2D barcodes" will revolutionize retail as we know it, Axios (2023)](https://www.axios.com/2023/04/17/2d-barcode-transition-2027)
5. [GS1 General Specifications, v.11](https://ref.gs1.org/standards/genspecs/11.0.0/)
6. [GS1 Barcodes, GS1 Switzerland](https://www.gs1.ch/en/barcodes-standards/gs1-standards/capture/gs1-barcodes)
7. [GS1 General Specifications (2022), GS1 South Africa](https://gs1za.org/wp-content/uploads/2022/04/GS1_General_Specifications-2022.pdf)
8. [How the Barcode Was Invented, HISTORY](https://www.history.com/articles/upc-barcode-invention-ibm-laurer)
9. [Supermarket Scanner, Smithsonian Institution, National Museum of American History](https://www.si.edu/object/supermarket-scanner%3Anmah_892778)
10. [Bar Codes: Reading Between the Lines, Smithsonian Magazine](https://www.smithsonianmag.com/history/bar-codes-reading-between-the-lines-65781715/)
11. [GS1 Standards in Healthcare](https://www.gs1.org/industries/healthcare/standards)
12. [GS1 press release: 50 years since the first scan and industry endorsement](https://www.gs1.org/sites/gs1/files/2024-06/press-release-gs1-50-years-first-scan-and-industry-endorsement.pdf)
13. [2D Barcode Overview: Use in General Distribution, GS1 US](https://www.gs1us.org/content/dam/gs1us/documents/industries-insights/by-industry/food/initiative/GS1-US-2D-Barcode-Overview-General-Distribution.pdf)
14. [10 steps to barcode your product, GS1](https://www.gs1.org/standards/barcodes/10-steps-to-barcode-your-product/english)

---
*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/barcode

English original: https://www.edgepedia.org/barcode
