UPC-A条码介绍
03:50来自LearningYard学苑
在我们日常生活中商品条码并不陌生,零食、卫生纸、电器等一系列商品都含有各自的条码,而在不同的商品品种、不同国家可能条码的类别也不相同,今天我们就来介绍一下UPC-A条码。
In our daily life, commodity barcodes are not unfamiliar. A series of commodities such as snacks, toilet paper and electrical appliances all contain their own barcodes, and the types of barcodes may be different in different commodity varieties and different countries. Today we will introduce UPC. -A barcode.
UPC-A码用于通用商品,是美国均匀码理事会制定的一种商品条码,主要在美国及加拿大使用,也是适用范围最广的一种UPC码。UPC-A码是定长码,支持的字符集为0-9数字,只能表示12位数字(1位系统符,5位制造商代码,5位产品代码,1位校验码)。UPC-A商品条码符号从左至右,依次是起始符、左侧数据符、中间分隔符、右侧数据符、校验符、终止符,如图。UPC-A码左、右侧空白区最小宽度均为9个模块宽,其它结构与EAN-13商品条码相同。
The UPC-A code is used for general commodities. It is a commodity bar code formulated by the American Uniform Code Council. It is mainly used in the United States and Canada, and it is also the most widely applicable UPC code. UPC-A code is a fixed-length code. The supported character set is 0-9 digits, which can only represent 12 digits (1 system symbol, 5 manufacturer codes, 5 product codes, 1 check code). UPC-A commodity bar code symbols from left to right, followed by start character, left data character, middle separator, right data character, check character, and terminator, as shown in the figure. The minimum width of the blank area on the left and right sides of the UPC-A code is 9 modules wide, and the other structure is the same as that of the EAN-13 commodity bar code.
UPC-A条码左侧6个条码字符均由A子集的条码字符组成,右侧数据符及校验符均由C子集的条码字符组成,这便是UPC-A条码,也就是说UPC-A条码是EAN-13条码的一种特殊形式,UPC-A条码与EAN-13码中N1=‘0’兼容,同时也说明UPC-A条码具有双向可读性,因为左右两侧的条码字符是由不同子集的条码字符组成,所以无论是从哪侧开始读,都能够迅速识别对应的左右侧。 UPC-A条码左侧第一个数字字符为系统字符,最后一个字符是校验字符,它们分别放在起始符和终止符的外侧;并且,表示系统字符和校验字符的条码字符的条长和终止符的条长相等。
The 6 barcode characters on the left side of the UPC-A barcode are all composed of barcode characters of subset A, and the right data character and check digit are all composed of barcode characters of subset C. This is the UPC-A barcode, that is, UPC -A barcode is a special form of EAN-13 barcode. UPC-A barcode is compatible with N1='0' in EAN-13 barcode. It also shows that UPC-A barcode has bidirectional readability because of the barcodes on the left and right sides. Characters are composed of barcode characters of different subsets, so no matter which side you read from, you can quickly identify the corresponding left and right sides. The first numeric character on the left side of the UPC-A barcode is the system character, and the last character is the check character. They are placed outside the start character and the stop character respectively; and, the bar code character representing the system character and check character The length is equal to the bar length of the terminator.
检查码的算法: 从国别码开始自左至右取数,设UPC-A各码代号如下: N1 N2 N3 N4 N5 N6 N7 N8 N9 N10 N11 C 则检查码之计算步骤如下: C1 =( N1+ N3+N5+N7+N9+N11)*3 C2 =N2+N4+N6+N8+N10
CC = (C1+C2) 取个位数 C (检查码) = 10 - CC (若值为10,则取0)
而UPC-A条码的应用场景可以根据其第一位的系统字符来判定,比如0-规则的通用商品,2-重量不规则商品,3-医药卫生用品,4-零售商专用(代码结构无限制,无校验码),5-票证,6-工业领域,7-零售商品,1.8.9为备用码。
部分参考资料来源于百度,英语来源于Google翻译
本文由LearningYard学苑原创、如有侵权请联系删除!
举报/反馈

LearningYard学苑

4449获赞 1947粉丝
分享兴趣,传播快乐,增长见闻,留下美好!
关注
0
0
收藏
分享