upc码如何获取(简介UPC码)
upc码如何获取(简介UPC码)
2024-09-27 07:27:30  作者:往昔不复  网址:https://m.xinb2b.cn/know/mgq532369.html


01.UPC码的简介和特性

通用产品代码,通常简称UPC码,是美国均匀码理事会制定的一种商品条码。是最早大规模应用的条码,其特性是一种长度固定、连续性的条码,主要在美国和加拿大使用,由于其应用范围广泛,故又被称万用条码。 UPC码仅可用来表示数字,故其字码即为数字0~9。

UPC码共有A、B、C、D、E等五种版本。

UPC码只能用来表示0-9的数字。每7个模组表达一个字符,每个模组有空(白色)与条(黑色)两种状态。

02.应用场景

1、UPC-A

通用商品

2、UPC-B

医药卫生

3、UPC-C

产业部门

4、UPC-D

仓库批发

5、UPC-E

商品短码

UPC条码也有标准版和缩短版两种,标准版由12位数字构成,缩短版由8位数字构成。

标准版的UPC12的编码结构为:系统码(1位) 厂商码(5位) 商品码(5位) 校检码(1位)。

03.编码方式

UPC-A码

用于通用商品,是适用范围最广的一种UPC码。一共有113个模组,每个模组长0.33毫米。左右两个各由9个模组组成的空白。

UPC-A码是定长码,只能表示12位数字。

从左至右,依次是3个模组(101)的起始码、1位的系统码、5位的左侧数据码、5个模组(01010)的中间码、5位的右侧数据码、检查码、3个模组(101)的终止码。

其中,起始码、中间码、终止码的模组长度都要长于数据码。

UPC-B\C\D码

与UPC-A码基本相同。

其中:B码主要用于医药卫生;C码用于产业部门,第二位为系统码,倒数第二位为检查码;D码用于仓库批发,倒数第三位为检查码。

UPC-E码

短码,总长度为8个字码。A码与E码之间数字的对应规则与最后一位检查码有关。

E表示偶码,O表示奇码。UPC-E的奇码与UPC-A的奇码完全相同。

04.举例

从国别码开始自左至右取数,设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)

翻译成英文:

Introduction to UPC Code

01. Introduction and characteristics of UPC code

Universal product code, usually referred to as UPC code, is a commodity bar code formulated by the U.S. Uniform Code Council.

It is the first barcode to be used on a large scale.

Its characteristic is a fixed-length, continuous barcode. It is mainly used in the United States and Canada. Because of its wide range of applications, it is also called a universal barcode.

UPC code can only be used to represent numbers, so its character code set is numbers 0~9.

There are five versions of UPC code: A, B, C, D, and E.

UPC codes can only be used to represent numbers from 0-9. Every 7 modules express a character, and each module has two states: empty (white) and bar (black).

02. Application scenarios

1. UPC-A

General merchandise

2. UPC-B

Medicine & Health

3. UPC-C

Industry sector

4. UPC-D

Warehouse wholesale

5. UPC-E

Product short code

UPC barcodes are also available in standard and shortened versions. The standard version consists of 12 digits and the shortened version consists of 8 digits.

The coding structure of the standard version of UPC12 is: system code (1 digit) manufacturer code (5 digits) product code (5 digits) verification code (1 digit).

03. Coding method

UPC-A code

It is the most widely applicable UPC code for general commodities. There are a total of 113 modules, each of which is 0.33 mm long. The two left and right blanks each consist of 9 modules.

The UPC-A code is a fixed-length code, which can only represent 12 digits.

From left to right, it is the start code of 3 modules (101), the system code of 1 bit, the data code of 5 digits on the left, the middle code of 5 modules (01010), and the data of 5 digits on the right. Code, check code, termination code of 3 modules (101).

Among them, the module length of the start code, intermediate code, and stop code must be longer than the data code.

UPC-B\C\D code

It is basically the same as the UPC-A code.

Among them: B code is mainly used for medicine and health;

C code is used for industrial departments, the second digit is the system code, and the penultimate digit is the check code;

the D code is used for warehouse wholesale, and the third digit is the check code.

UPC-E code

Short code, the total length is 8 characters. The corresponding rule of the number between the A code and the E code is related to the last check code.

E means even code, O means odd code. The odd code of UPC-E is exactly the same as the odd code of UPC-A.

04. Example

Counting from left to right starting from the country code, suppose the codes of UPC-A are as follows:

N1 N2 N3 N4 N5 N6 N7 N8 N9 N10 N11 C

The calculation steps of the check code are as follows:

C1 =( N1 N3 N5 N7 N9 N11)*3 C2 = N2 N4 N6 N8 N10

CC = (C1 C2) take the single digit C (check code) = 10-CC (if the value is 10, take 0)

部分参考资料来源于百度,英语来源于Google翻译。

本文由LearningYard学苑原创、如有侵权请联系删除!

  • 巴啦啦小魔仙美琪有没有刘海(巴啦啦小魔仙12年后)
  • 2024-09-27巴啦啦小魔仙12年后说到《巴啦啦小魔仙》,相信大家都有一定的了解吧?这是一部神奇的电视剧虽然里面有很多无厘头的情节和搞笑的变身咒语,但当年的学生会还是很喜欢看现在戏结束已经12年了,剧中的几位主演也发生了很大的变化首先,。
  • 物理学中的整体方法(物理学中的架构和美)
  • 2024-09-27物理学中的架构和美当广义相论论最后成功解释天体现象的时候,有人问爱因斯坦,假如你观测到的现象和你的理论有不同的时候,你会怎么想?爱因斯坦说,“我会替造物者惋惜,居然不懂得用到这样漂亮的理论.”为什么漂亮呢?因为用了等效。
  • 哪种酸奶是真的有效(酸奶真的有那么好吗)
  • 2024-09-27酸奶真的有那么好吗首先说说酸奶的种类,我们最直观的区分,酸奶分成固体和液体两种有的酸奶是凝固型的,好像一坨果冻,有的是液体的有人说,固体的酸奶好,液体的那不叫酸奶其实所谓液体的酸奶,叫搅拌型酸奶,它是怎么来的呢?就是固。
  • 海天黄豆酱的各种吃法
  • 2024-09-27海天黄豆酱的各种吃法1、海天黄豆酱,一般北方用来蘸蔬菜、蘸馒头、大葱、蘸黄瓜2、南方人尤其是广东人则喜欢用来炒青菜、蒸鱼、蒸排骨,不仅可以去除鱼腥味,而且还有一股浓浓的酱香,非常受欢迎3、海天黄豆酱可以制作炸酱面,炒锅倒。
  • 排卵期间不同阶段体温变化(排卵期增加的是体温而不是体重)
  • 2024-09-27排卵期增加的是体温而不是体重女性朋友在排卵期的期间,身体会出现一些变化,比如是身体的体温出现了波动,而且白带的也变多了能拉丝,有人还会关心体重是否会增加,排卵期常常会和这些现象挂钩:1、食欲下降:研究表明女性在排卵期的饭量是一个。
  • 小区水管爆裂导致业主无法用水(水管爆裂小区断水断电断暖)
  • 2024-09-27水管爆裂小区断水断电断暖“我们楼不知道什么原因停电了,你们快来看看吧!”12月7日下午5点左右,海淀区万寿路街道翠微中里社区民情热线里,传来居民焦急的声音放下电话,社区工作人员立刻与物业核实情况,原来是万方苑小区因主供水管道。
  • 朱的拼音(朱组词)
  • 2024-09-27朱组词朱,读作zhū或shú,最早见于甲骨文,本义是树干或赤心木,一种树心为红色的树木,即《说文解字》所谓的“赤心木,松柏之属”,引申泛指大红色,又引申指朱砂,用作动词指染成大红色,又引申指朱色的物品等“朱。
  • 四月初八是什么日子(每年四月初八是什么日子)
  • 2024-09-27每年四月初八是什么日子浴佛节,又称佛诞日、佛诞节等,为每年的农历四月初八,是佛祖释迦牟尼的诞辰释迦牟尼佛出生于公元前623年,是古印度迦毗罗卫国(今尼泊尔境内)王子在古印度佛教中即为一种重要仪式,其源则在释迦降生的历史记载。
  • 马拉松十种冷知识(盘点马拉松比赛你不知道的奇闻趣事)
  • 2024-09-27盘点马拉松比赛你不知道的奇闻趣事马拉松比赛,42公里,来自五湖四海的能人们水平不见得比专业选手差,今天给大家盘点一下,在马拉松赛事史上,发生过的让人啼笑皆非的趣事老话说:“光脚的不怕穿鞋的”马拉松比赛中就有一位赤脚大仙,他叫贝基拉,。
  • 暑假逆袭的时间作息表(极限魔方第一课)
  • 2024-09-27极限魔方第一课杨老师图图老师魔方是谁发明的?鲁比克匈牙利1974年魔方像什么?房子,九宫格,骰子……魔方有什么块?中心块每个面的中心叫中心块每一个块有几个颜色?一个什么叫角块?几个颜色?什么叫棱块?两个角块中间的块。