# 通用产品代码

通用产品代码（U.P.C.）是一种用于零售业的条码符号体系与产品识别系统：由黑色条纹组成的机器可读符号编码一个全球贸易项目代码（GTIN），销售点扫描器将其与存储的数据库比对，以查取价格和产品信息。它由IBM在乔治·劳雷尔（George Laurer）主持下开发，于1973年4月1日正式采用，并于1974年6月26日首次用于商店收银台。<sup>[1](https://www.ibm.com/history/upc)</sup><sup> • </sup><sup>[2](https://americanhistory.si.edu/de/collections/object/nmah_892778)</sup>

| 关键事实 | 详情 |
|---|---|
| 正式采用 | 1973年4月1日，采用劳雷尔的设计并略作调整；统一产品代码委员会随即成立，负责分配编号<sup>[1](https://www.ibm.com/history/upc)</sup> |
| 首次扫描 | 1974年6月26日，俄亥俄州特洛伊的Marsh超市；一包箭牌口香糖是首次购买的商品<sup>[2](https://americanhistory.si.edu/de/collections/object/nmah_892778)</sup> |
| 符号结构 | 30条黑色和29条空白垂直线条，传递95比特数据，可由激光全向读取<sup>[1](https://www.ibm.com/history/upc)</sup> |
| 承载数据 | UPC-A编码一个12位的GTIN-12（例如012345000058）；UPC-E是同一GTIN-12经零抑制后的8位形式<sup>[3](https://ref.gs1.org/guidelines/2d-in-retail/)</sup> |
| 编号分配 | 由统一代码委员会分配给付费企业的会员前缀，加上企业自行分配的商品编号；一个前缀最多可容纳10,000个唯一产品代码<sup>[4](https://www2.census.gov/ces/wp/2017/CES-WP-17-66.pdf)</sup> |
| 实测效果 | 采用后收银排队速度提高40%，零售商可以追踪库存，使供给与需求相匹配<sup>[1](https://www.ibm.com/history/upc)</sup> |
| 当前过渡 | 根据2027日出计划，全球零售销售点系统须在2027年底前具备扫描二维条码并至少提取GTIN的能力；线性条码并未被淘汰<sup>[5](https://www.packworld.com/coding-printing-labeling/coding-marking/article/22961063/sunrise-2027-advances-at-retail-amazon-adds-serialization-as-the-next-layer)</sup> |

## 发明

超市收银自动化的构想早于条码本身。1932年，哈佛商学院学生华莱士·弗林特（Wallace Flint）——其父是一名食品杂货批发商——撰写了一篇论文，论述利用流利货架和穿孔卡片实现收银排队自动化；这一构想始终不具备实用性。<sup>[1](https://www.ibm.com/history/upc)</sup>

1948年，德雷塞尔理工学院的研究生伯纳德·西尔弗（Bernard Silver）无意中听到一位超市高管请院长研究产品数据编码问题，于是着手解决这一问题。他请同为研究生、曾参与[曼哈顿计划](https://www.edgepedia.org/zh/manhattan-project)的约瑟夫·伍德兰（Joseph Woodland）加入研究，伍德兰全职投入解决方案的研究。伍德兰在海滩的沙地上画了四条粗细不一的线，意识到宽线和窄线可以像莫尔斯电码的点和划一样编码数据。两人将线条重新组织为同心圆构成的靶心图案，可从任意角度读取，并于1952年10月11日获得了“分类装置与方法”的专利。这一设计以当时的技术无法实现，需要500瓦的灯光和一个将光转换为代码的特殊电子管；西尔弗和伍德兰（两人均于1951年被IBM聘用）以15,000美元出售了这项专利。<sup>[1](https://www.ibm.com/history/upc)</sup>

到20世纪60年代末，食品杂货业蓬勃发展，年销售额超过1000亿美元，但仍然劳动密集且容易出错，员工需要为成千上万种商品贴价签并键入代码。1970年，食品杂货零售商和包装商品制造商呼吁制定一种标准的机器可读符号，电气工程师乔治·劳雷尔领导了IBM的响应工作。<sup>[1](https://www.ibm.com/history/upc)</sup>

**线性设计。** RCA拥有靶心图案的专利，并已在[辛辛那提](https://www.edgepedia.org/zh/cincinnati)运行了一套先驱系统，但圆形符号印刷时容易模糊。劳雷尔拒绝了经理要求保留靶心图案的请求，提出了线性替代方案。符号选择委员会的规格要求：符号面积不超过1.5平方英寸，可用现有标签技术印刷，可从任意方向高速读取，且每20,000次读取中未检测到的错误少于一次。劳雷尔的矩形设计满足了这些要求；在为IBM高管B.O. 埃文斯（B.O. Evans）做了一次完美无瑕的演示后，公司批准了这一设计。<sup>[1](https://www.ibm.com/history/upc)</sup><sup> • </sup><sup>[6](https://www.smithsonianmag.com/innovation/history-bar-code-180956704/)</sup>

## 结构与运作

UPC符号是一种线性条码：一系列宽度可变的黑色条纹和白色空白，编码GTIN，即标识产品的数字。<sup>[7](https://www.gs1.org/standards/barcodes)</sup> 最初的设计利用线条宽度和间距，以95比特传递商店和产品信息，数字印在条纹下方供人阅读。<sup>[1](https://www.ibm.com/history/upc)</sup>

这个数字本身，即GTIN-12，是一个12位字符串。其各位数字分别表示制造商或GTIN分配者、号码获取的国家、商品编号，以及一个校验位，用于验证条码的结构。一个GTIN只能分配给一种产品，但可以在该产品上无限次印刷；一瓶汽水的GTIN对于该瓶装规格是唯一的，却出现在数百万个瓶子上。<sup>[8](https://support.gs1.org/support/solutions/articles/43000734095-how-do-gs1-gtins-and-barcodes-work-)</sup> 在EAN/UPC符号体系中，校验位验证条码的读取与解码以及GTIN本身，这一检查由条码读取器自动完成。<sup>[9](https://ref.gs1.org/standards/genspecs/21.0.1/)</sup>

存在两种符号形式。UPC-A是编码12位GTIN-12的全尺寸符号；UPC-E是同一GTIN-12经零抑制后产生的紧凑8位版本，用于包装空间有限的情况。UPC-A号码也可以通过添加一个隐含的前导零作为13位值来读取，这就是它与国际上使用的13位EAN-13对齐的方式；所有与GTIN交互的零售系统都必须处理GTIN-13、GTIN-12和GTIN-8。<sup>[3](https://ref.gs1.org/guidelines/2d-in-retail/)</sup><sup> • </sup><sup>[10](https://gs1it.org/content/public/94/ce/94ce98c7-d21d-4f71-a837-c20d8600ee9a/gs1-general-specifications.pdf)</sup> 该符号体系在ISO/IEC 15420中标准化，并由GS1通用规范管理，后者是定义如何使用识别键、数据属性和条码的基础标准。<sup>[11](https://www.gs1.org/standards/gs1-system-architecture-document/90)</sup><sup> • </sup><sup>[12](https://www.gs1ie.org/standards/resources/general-specifications/)</sup>

## 采用与经济影响

UPC由食品行业的参与者——制造商、批发商和零售商——发起、设计和实施，没有政府监管。按照20世纪70年代初统一食品杂货产品识别代码特设委员会的设计，该代码由两个五位数字组成：一个是由统一代码委员会分配给付费企业的会员前缀，另一个是由企业分配的、可因产品类型、尺寸、颜色、口味或生产日期而异的部分。前缀以滑动费率一次性购买，从几百美元到超过10,000美元不等，取决于企业收入；一个前缀最多可容纳10,000个唯一产品代码。<sup>[4](https://www2.census.gov/ces/wp/2017/CES-WP-17-66.pdf)</sup>

首批安装的超市扫描器于1974年6月26日在俄亥俄州特洛伊的Marsh超市投入使用，使用Spectra-Physics A型价格扫描器；一台计算机化收银机将每次扫描与存储的数据库进行匹配以确定产品。<sup>[2](https://americanhistory.si.edu/de/collections/object/nmah_892778)</sup> 采用之后，收银排队速度提高了40%，店员不再需要键入每件商品，零售商可以追踪库存并将购买历史与供给相匹配，利润上升。<sup>[1](https://www.ibm.com/history/upc)</sup>

对推广过程的经济研究发现，1975年至1992年间UPC的扩散存在网络效应的证据，并得出结论：条码、扫描及相关技术有助于刺激增强多样性的产品创新和国际零售供应链的增长。<sup>[13](https://www.nber.org/papers/w24040)</sup> 一项对20世纪70年代末和80年代初食品杂货店扫描器采用情况的研究发现，技术采用与零售生产率之间存在直接的因果关系。<sup>[14](https://www.nber.org/papers/w17825)</sup> 扫描数据本身也成为一项商业资源：对UPC扫描数据的分析重塑了包装消费品行业的定价和促销决策，例如揭示了消费者对优惠券的平均反应非常低，从而导致优惠券活动减少。<sup>[15](https://pubsonline.informs.org/doi/abs/10.1287/mksc.18.3.247)</sup>

## 向二维条码的过渡

EAN/UPC系列仅承载GTIN，这一容量限制促使GS1推出DataBar，以及后来用于承载批号或批次号和有效期等额外数据的二维符号。<sup>[3](https://ref.gs1.org/guidelines/2d-in-retail/)</sup> 2020年5月，GS1美国理事会批准将2027年定为日出日期，以在零售销售点启用二维条码能力；2022年1月，GS1美国发布了条码能力测试套件，以帮助零售商评估准备情况。<sup>[16](https://documents.gs1us.org/adobe/assets/deliver/urn%3Aaaid%3Aaem%3A5c92fc3a-1827-49e0-8d30-2661fbb09265/Unlocking-Benefits-2D-Barcodes-Apparel-General-Merchandise.pdf)</sup><sup> • </sup><sup>[17](https://www.gs1us.org/industries-and-insights/media-center/press-releases/retail-industry-to-transition-from-u-p-c-to-two-dimensional-barcodes-on-product-packaging-by-2027)</sup>

根据美国的2027日出计划和全球的2027愿景，零售系统须在2027年底前具备扫描二维条码并至少提取GTIN的能力。存在三种合规的二维选项：GS1 DataMatrix、承载GS1数字链接URI的[二维码](https://www.edgepedia.org/zh/qr-code)，以及具有数字链接功能的[Data Matrix](https://www.edgepedia.org/zh/data-matrix)。线性条码并未被淘汰；在过渡期间，品牌通常将二维符号印在现有UPC旁边，GS1指南建议将二维符号置于线性条码50毫米范围内，以保持收银速度。<sup>[5](https://www.packworld.com/coding-printing-labeling/coding-marking/article/22961063/sunrise-2027-advances-at-retail-amazon-adds-serialization-as-the-next-layer)</sup> 二维代码除了GTIN外还可以承载批号、批次号、有效期或序列号，使单个符号能够取代包装上的UPC、营销二维码和防伪码。<sup>[5](https://www.packworld.com/coding-printing-labeling/coding-marking/article/22961063/sunrise-2027-advances-at-retail-amazon-adds-serialization-as-the-next-layer)</sup>

## 命名

虽然通常写作"UPC"，但该代码的官方缩写是"U.P.C."，因为"UPC"上的认证标志由统一管道规范（Uniform Plumbing Code）持有。<sup>[4](https://www2.census.gov/ces/wp/2017/CES-WP-17-66.pdf)</sup>

## References

1. [The UPC, IBM](https://www.ibm.com/history/upc)
2. [Supermarket Scanner, National Museum of American History, Smithsonian](https://americanhistory.si.edu/de/collections/object/nmah_892778)
3. [2D Barcodes at Retail Point-of-Sale Implementation Guideline, GS1](https://ref.gs1.org/guidelines/2d-in-retail/)
4. [The Universal Product Code, CES Working Paper 17-66, U.S. Census Bureau](https://www2.census.gov/ces/wp/2017/CES-WP-17-66.pdf)
5. [Sunrise 2027 Advances at Retail, Amazon Adds Serialization as the Next Layer, Packaging World](https://www.packworld.com/coding-printing-labeling/coding-marking/article/22961063/sunrise-2027-advances-at-retail-amazon-adds-serialization-as-the-next-layer)
6. [The History of the Bar Code, Smithsonian Magazine](https://www.smithsonianmag.com/innovation/history-bar-code-180956704/)
7. [GS1 Barcodes, GS1](https://www.gs1.org/standards/barcodes)
8. [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-)
9. [GS1 General Specifications, Release 21.0.1](https://ref.gs1.org/standards/genspecs/21.0.1/)
10. [GS1 General Specifications (PDF), GS1 Ireland](https://gs1it.org/content/public/94/ce/94ce98c7-d21d-4f71-a837-c20d8600ee9a/gs1-general-specifications.pdf)
11. [GS1 System Architecture Document, GS1](https://www.gs1.org/standards/gs1-system-architecture-document/90)
12. [General Specifications, GS1 Ireland](https://www.gs1ie.org/standards/resources/general-specifications/)
13. [Upstream, Downstream: Diffusion and Impacts of the Universal Product Code, NBER Working Paper 24040](https://www.nber.org/papers/w24040)
14. [Raising the Barcode Scanner: Technology and Productivity in the Retail Sector, NBER Working Paper 17825](https://www.nber.org/papers/w17825)
15. [Commercial Use of UPC Scanner Data: Industry and Academic Perspectives, Marketing Science](https://pubsonline.informs.org/doi/abs/10.1287/mksc.18.3.247)
16. [Unlocking the Benefits of 2D Barcodes in Apparel and General Merchandise, GS1 US](https://documents.gs1us.org/adobe/assets/deliver/urn%3Aaaid%3Aaem%3A5c92fc3a-1827-49e0-8d30-2661fbb09265/Unlocking-Benefits-2D-Barcodes-Apparel-General-Merchandise.pdf)
17. [Retail Industry to Transition from U.P.C. to Two-Dimensional Barcodes on Product Packaging by 2027, GS1 US press release](https://www.gs1us.org/industries-and-insights/media-center/press-releases/retail-industry-to-transition-from-u-p-c-to-two-dimensional-barcodes-on-product-packaging-by-2027)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Databases and data systems › Databases overview

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/universal-product-code

English original: https://www.edgepedia.org/universal-product-code
