Connect public, paid and private patent data with Google Patents Public Datasets

Conversion method and system for article bar code and electronic tag

Download PDF

Info

Publication number
CN103258182A
CN103258182A CN 201310204998 CN201310204998A CN103258182A CN 103258182 A CN103258182 A CN 103258182A CN 201310204998 CN201310204998 CN 201310204998 CN 201310204998 A CN201310204998 A CN 201310204998A CN 103258182 A CN103258182 A CN 103258182A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
electronic
code
article
bar
data
Prior art date
Application number
CN 201310204998
Other languages
Chinese (zh)
Inventor
陈新
包先雨
李军
殷杰
陈枝楠
王洋
徐伟
吴辉
吴彦
毛晶晶
Original Assignee
深圳市检验检疫科学研究院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date

Links

Abstract

The invention belongs to the technical field of communications, and provides a conversion method for an article bar code and an electronic tag. The conversion method includes the following steps: 1, reading the data information included in the article bar code, 2, decoding the data information of the article bar code and extracting the data of each section of the bar code respectively, 3, identifying the electronic tag, reading the electronic tag data and/ or written electronic tag data and printing the electronic tag, 4, decoding the electronic tag and extracting the data of each section of the electronic tag, and 5, processing the article bar code and the data of the electronic tag and converting the data of the article bar code and the electronic tag. The invention further provides a conversion system for the article bar code and the electronic tag. By means of the conversion method and system, the information can be converted between the electronic tag and the article bar code conveniently, and users can acquire the article information well.

Description

商品条码与电子标签的转换方法与系统 Product code conversion method and system with electronic tag

技术领域 FIELD

[0001] 本发明涉及通信技术领域,尤其涉及一种商品条码与电子标签的转换方法与系统。 [0001] The present invention relates to communications technologies, and in particular relates to a method for converting the electronic product code label system.

背景技术 Background technique

[0002] 条码技术出现于20世纪40年代,因其成本低、采集信息准确率高等特点在各个行业得到了广泛的应用,其中包括物流、仓储,图书馆,银行,pos收银系统,医疗卫生、零售商品、服装、食品服务以及高科技电子产品等等,商品条码为其最具代表性的应用典范,商品条码是实现商业现代化的基础,是商品进入超级市场、POS扫描商店的入场券,它已成为商品进入超市的必备条件。 [0002] bar code technology appeared in the 1940s, because of its low cost, high rate of accuracy of the information collected in various sectors has been widely used, including logistics, warehousing, libraries, banks, pos cash register system, health care, retail goods, clothing, food service and high-tech electronic products and so on, for the most representative product barcode application model, commodity bar code is the basis of modern commercial, commodity into the supermarket, POS scanning the store tickets, it has become a prerequisite for goods to enter the supermarket.

[0003] EAN商品条形码亦称通用商品条形码,由国际物品编码协会制定,通用于世界各地,是目前国际上使用最广泛的一种商品条形码。 [0003] EAN product bar codes, also known as EAN Code, developed by the International Article Numbering Association, common around the world, is currently the world's most widely used of a product bar codes. 而EAN-13商品条码则为其最主要的结构,主要应用于超级市场和其它零售业,因此这种是我们比较常见的,随便拿起身边的一个从超市买来的商品都可以从包装上看得到,是我国在国内推行使用最广泛的商品条形码。 The EAN-13 bar code commodity is its main structure, mainly used in supermarkets and other retail, so this is our more common, casually picked up the side of a bought from the supermarket goods can be on the packaging see, our country is in the country to implement the most widely used product bar codes. 条码技术虽然是当今最流行的标识技术,但因其固有的缺陷,不能满足快速、实时、准确的信息采集和处理。 Although the bar code technology to identify the most popular technology, but because of its inherent flaws, can not meet the rapid, real-time, accurate information gathering and processing. 现代物流的标准化和高效化已成为了衡量物流的重要指标,这就要求物流企业必须实时和精确地了解、掌握整个物流环节上包括采购、存储、包装、运输、流通加工、配送、销售到服务等等环节中实时的变化和发展。 Modern logistics standardization and efficient logistics has become an important indicator, which requires real-time and logistics companies must accurately understand and master the entire logistics chain including procurement, storage, packaging, transportation, processing, distribution, sales to service real-time change and development, etc. session. RFID电子标签技术具有可读写能力、快速大批量的数据扫描、抗污染能力和耐久性强、使用寿命长、穿透性无屏障阅读能力强、数据记忆容量大以及安全性高等特点,能够广泛应用在现代物流供应链上的生产管理、运输管理、仓库管理、物料跟踪、运载工具和货架识别、商店等场合。 RFID tag technology has the ability to read, scan large amounts of data quickly, contamination resistance and durability, long service life, high penetration barrier-free reading capabilities, data storage capacity and high security features, can be widely used in the production of modern logistics and supply chain management, transportation management, warehouse management, materials tracking, delivery vehicles and shelves to identify, store and other occasions. 而且其能实现其在现代物流中具有相当重要的的应用价值,也是未来物流行业发展的一个趋势。 And it can realize its value of considerable importance in modern logistics, it is also a trend in the future development of the logistics industry.

[0004] EPC中文称为产品电子代码。 [0004] EPC Chinese called Electronic Product Code. EPC的载体是RFID电子标签,并借助互联网来实现信息的传递。 EPC carriers are RFID tags, and to realize transmission of information through the Internet. 2003年10月国际上成立EPC GLOBLE全球组织推广EPC和物联网的应用。 In October 2003, the global organization set up to promote EPC EPC GLOBLE and the Internet of Things applications internationally. 欧、美、日等发达国家在全力推动符合EPC`技术电子标签应用,全球最大的零售商美国沃尔玛宣布••从2005年I月份开始,前100名供应商必须在托盘中使用EPC电子标签,2006年必须在产品包装中使用EPC电子标签,我国近几年来的EPC电子标签的发展也日益迅猛,其必然会成为一个发展趋势。 Europe, America, Japan and other developed countries, in line with efforts to promote the application of RFID technology EPC`, the world's largest retailer Wal-Mart announced in 2005 I •• from the beginning of May, top 100 suppliers must use EPC RFID tags in the tray, 2006 must be used in product packaging EPC RFID tags, our country in recent years, the development of EPC RFID tags are increasingly rapidly, it is bound to become a trend.

[0005] 在零售商品行业中,EPC电子标签应用逐渐普及,其主要采用序列化的全球贸易项目代码(SGTIN)编码结构的EPC电子标签。 [0005] In the retail industry, EPC RFID applications becoming more common, its main use of Global Trade Item Number (SGTIN) EPC tag coding sequence of the structure. 然而受生产工艺和价格成本所限,还不能广泛应用于标示单个个体。 However, by the production process and the cost price constraints, it can not be widely used in labeling a single individual. 而条码标签具有价格便宜的优势,将两者结合起来应用于商品供应链全过程管理,具有重要的现实意义。 The bar code label with a cheaper price advantage, combining the two commodities used in the entire supply chain management, has important practical significance. 在条形码和电子标签共存的环境下,商品流通过程中,采用RFID技术与条码技术结合,来解决电子标签成本和自动数据采集效率之间的矛盾是一条非常合适的途径。 In the bar code and the coexistence tag environment, process of commodity circulation, the use of RFID technology in conjunction with barcode technology to solve the contradiction between the electronic tag and the cost efficiency of the automatic data acquisition is a very suitable route. 在大宗物品上,例如托盘采用电子标签标识,方便出入库管理,在商品单品上,通过后台系统,将电子标签信息转换为条形码,做到单品标识,方便消费者追溯查询。 On bulk items, such as pallets using RFID to identify, easy storage management, merchandise on a single product, through back-office systems to convert the electronic bar code label information, so that a single product identification, traceability convenient consumer inquiries. 这就需要在电子标签信息和条码信息之间做转换,以保证商品链信息的畅通和追溯与召回的实现。 This needs to be done to switch between the electronic labels and bar code information, in order to ensure the smooth flow of goods and traceability chain information and recall of implementation. 采用电子标签和条码技术应用于商品的标识,对于加强对商品供应链实时监管具有重要意义。 The use of electronic identification tags and bar code technology in commodities, strengthening the supervision of commodity supply chain in real time is important.

[0006] 综上可知,现有的商品条码,在实际使用上显然存在不便与缺陷,所以有必要加以改进。 [0006] To sum up, the existing product code, there are problems and disadvantages apparent in practical use, it is necessary to be improved.

发明内容 SUMMARY

[0007] 针对上述的缺陷,本发明的目的在于提供一种商品条码与电子标签的转换方法与系统,可以方便的实现电子标签与商品条码的信息转换,使用户能更好的获取商品信息。 [0007] In view of the above drawbacks, an object of the present invention to provide a conversion method and a system for product code of the electronic tag, can be easily implemented with the electronic tag information into a product code, so that users can obtain better product information.

[0008] 为了实现上述目的,本发明提供一种商品条码与电子标签的转换方法,所述方法包括: [0009] 读取所述商品条码包含的数据信息; [0008] To achieve the above object, the present invention provides a method of converting the commodity bar code of the electronic tag, the method comprising: [0009] reading the data included in said product code;

[0010] 对所述商品条码的数据信息进行译码并分别提取条码各段的数据; [0010] The data of the product code is decoded and extracted barcode data of each segment, respectively;

[0011] 识别所述电子标签,并读取电子标签数据和/或写电子标签数据以及打印电子标签; [0011] The electronic identification tag, and reads electronic tag data and / or writing the electronic tag data, and printing the electronic tag;

[0012] 对所述电子标签进行译码并分别提取所述电子标签各段的数据; [0012] decoding the electronic tag and the data were extracted from each stage of the electronic tag;

[0013] 处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换。 [0013] processing the product code and the electronic tag data, the data conversion and product code and an electronic tag.

[0014] 根据本发明的商品条码与电子标签的转换方法,所述电子标签是工作频率为840MHz〜960MHz的超高频无源电子标签。 [0014] The product code conversion method of the present invention, an electronic tag, the electronic tag is the operating frequency of UHF 840MHz~960MHz of passive tags.

[0015] 根据本发明的商品条码与电子标签的转换方法,所述处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换的步骤包括: Step [0015] The method of converting the electronic product code label of the present invention, the data processing and the product code of the electronic tag, and the product code and data conversion of the electronic tag comprising:

[0016] 确定所述电子标签分段数据的属性类别; [0016] determines the attribute category electronic tag segment data;

[0017] 将对应的所述属性类别的数据作为无符号数据,并转换为十进制表示的数据; [0017] category corresponding to the attribute data as unsigned data, and converted into data in decimal notation;

[0018] 从所述十进制数据中提取所述商品条码的属性类别数据; [0018] Extraction of the product code data from said category attribute decimal data;

[0019] 构造对应位数的所述商品条码数据,并计算检验码。 [0019] The configuration bits corresponding to the product code data, and calculate the check code.

[0020] 根据本发明的商品条码与电子标签的转换方法,所述处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换的步骤包括: Step [0020] The method of converting the electronic product code label of the present invention, the data processing and the product code of the electronic tag, and the product code and data conversion of the electronic tag comprising:

[0021] 确定所述商品条码的分段数据的属性类别; [0021] determines the attribute categories segment data of a product code;

[0022] 将对应的所述属性类别的数据转换为二进制表示的数据形式; [0022] converting the category corresponding to the attribute data in the form of a binary representation of the data;

[0023] 从所述二进制数据中提取所述电子标签的属性类别数据; [0023] extracted from the binary data in the electronic tag data attribute categories;

[0024] 生成所述电子标签。 [0024] generating the electronic tag.

[0025] 根据本发明的商品条码与电子标签的转换方法,所述商品条码为13位数据格式的EAN-13,所述电子标签为EPC SGTIN-96。 [0025] The method of converting the electronic product code label of the present invention, the product code is a data format 13 EAN-13, the electronic tag is EPC SGTIN-96.

[0026] 根据本发明的商品条码与电子标签的转换方法,所述商品条码为13位数据格式的EAN-13,所述电子标签为EPC SGTIN-198。 [0026] The method of converting the electronic product code label of the present invention, the product code is a data format 13 EAN-13, the electronic tag is EPC SGTIN-198.

[0027] 本发明还提供一种商品条码与电子标签的转换系统,其包括: [0027] The present invention further provides a system for converting the electronic product code label, which comprises:

[0028] 条码阅读模块,用于读取所述商品条码包含的数据信息; [0028] The bar code reading means for reading the data information contained in said product code;

[0029] 第一数据解析模块,用于对所述商品条码的数据信息进行译码并分别提取条码各段的数据;[0030] 电子标签读写模块,用于识别所述电子标签,并读取电子标签数据和/或写电子标签数据以及打印电子标签; [0029] The first data parsing module, for the data information of the product code is decoded and the data were extracted from the bar code of each stage; [0030] RFID reader module for the electronic identification tag and read take the electronic tag data and / or writing the electronic tag data, and printing the electronic tag;

[0031] 第二数据解析模块,用于对所述电子标签进行译码并分别提取所述电子标签各段的数据; [0031] The second data parsing module, for decoding the electronic tag and the data were extracted from each stage of the electronic tag;

[0032] 数据处理转换模块,用于处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换。 [0032] The data conversion processing means for processing the data of the product code and the electronic tag, the data conversion and product code and an electronic tag.

[0033] 本发明通过商品条码与电子标签的转换系统读取所述商品条码包含的数据信息,并对所述商品条码的数据信息进行译码并分别提取条码各段的数据;识别所述电子标签,并读取电子标签数据和/或写电子标签数据以及打印电子标签;对所述电子标签进行译码并分别提取所述电子标签各段的数据;处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换。 [0033] The present invention is the product code data read by the conversion system comprises a product code and an electronic tag, and the product code data is decoded and the data were extracted from each segment of the bar code; identifying the electronic tag, and the electronic tag data read and / or write electronic tag data and a print electronic tag; decoding the electronic tag and the data were extracted from each stage of the electronic tag; product code and said data processing electronic tag , and the product code and data conversion of the electronic tag. 借此可以方便的实现电子标签与商品条码的信息转换,使用户能更好的获取商品信息。 Thereby facilitate the realization of information into an electronic tag with a product code, allowing users to better access to product information.

附图说明 BRIEF DESCRIPTION

[0034] 图1是本发明商品条码与电子标签的转换方法流程图; [0034] FIG. 1 is a commodity bar code conversion method of the present invention and a flowchart of the electronic tag;

[0035] 图2是本发明一实施例的电子标签转换为商品条码的关系图; [0035] FIG 2 is an embodiment of the present invention is converted into an electronic tag diagram embodiment of a product code;

[0036] 图3是本发明一实施例的商品条码转换为电子标签的关系图; [0036] FIG. 3 is a graph of an example of product code is converted into an electronic tag embodiment of the present invention;

[0037] 图4是本发明的商品条码与电子标签的转换系统结构示意图。 [0037] FIG. 4 is a schematic structural product code conversion system and the electronic tag of the present invention.

具体实施方式 detailed description

[0038] 为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。 [0038] To make the objectives, technical solutions and advantages of the present invention will become more apparent hereinafter in conjunction with the accompanying drawings and embodiments of the present invention will be further described in detail. 应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 It should be understood that the specific embodiments described herein are only intended to illustrate the present invention and are not intended to limit the present invention.

[0039] 参见图1,本发明提供了一种商品条码与电子标签的转换方法,该方法包括: [0039] Referring to Figure 1, the present invention provides a method of converting a commodity barcode electronic tag, the method comprising:

[0040] 步骤S101,读取所述商品条码包含的数据信息。 [0040] step S101, the read data information included in said product code. 需要说明的,本发明中所提商品条码均为13位数据格式的EAN13商品条码。 Incidentally, the present invention is referred EAN13 product code product code are 13 data format.

[0041] 步骤S102,对所述商品条码的数据信息进行译码并分别提取条码各段的数据。 [0041] Step S102, the data of the product code is decoded and the data were extracted from the bar code of each stage. 不同的商品条码包含有不同的商品数据信息,通过对商品条码的识别、译码可以获取其商品数据信息。 Different product code with different product data, by identifying a product code, product coded data which can be acquired.

[0042] 步骤S103,识别所述电子标签,并读取电子标签数据和/或写电子标签数据以及打印电子标签。 [0042] In step S103, the identification of the electronic tag, the electronic tag data and read and / or write electronic tag data, and printing the electronic tag. 具体应用中,可能通过射频识别电子标签,并读取/写入电子标签数据信息。 In particular applications it may be by radio frequency identification tags, and a read / write electronic tag data information. 优选的是,本发明的电子标签可以为多种类别,其可以根据不同的需求具体为EPCSGTIN-96电子标签或EPC SGTIN-198电子标签。 Preferably, the electronic label of the present invention may be a variety of categories, which may be different according to the specific needs of electronic tag EPCSGTIN-96 EPC SGTIN-198 or an electronic tag.

[0043] 步骤S104,对所述电子标签进行译码并分别提取所述电子标签各段的数据。 [0043] step S104, the electronic tag and decodes data were extracted from the tag of each segment. 电子标签的数据的有个数据段,每个数据段具有不同的商品信息,通过提取各段数据及对应的含义,可方便的实现后续步骤S105。 Electronic tag data is data segments, each segment having a different product information, by extracting data of each segment and the corresponding meanings, may be conveniently implemented subsequent step S105.

[0044] 步骤S105,处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换。 [0044] step S105, and processing the product code of the electronic tag data, the data conversion and product code and an electronic tag.

[0045] 本发明不仅可以实现商品条码转换为电子标签,也可以实现电子标签转换为商品条码,借此方便用户对商品信息的获取。 [0045] The present invention is not product code may be implemented into an electronic tag, the electronic tag may also be implemented converted to product code, whereby the user access to product information.

[0046] 再参见图2,本发明的一具体实施例中,该实施例具体是将电子标签转换为商品条码。 [0046] Referring again to Figure 2, a particular embodiment of the present invention, this particular embodiment is to convert the electronic product code label. 其具体可以通过如下流程实现转换:确定所述电子标签分段数据的属性类别;将对应的所述属性类别的数据作为无符号数据,并转换为十进制表示的数据;从所述十进制数据中提取所述商品条码的属性类别数据;构造对应位数的所述商品条码数据,并计算检验码。 Specific conversion process may be achieved by: determining the category attribute of the electronic tag data segment; category corresponding to the attribute data as unsigned data, and converted into data expressed in decimal notation; decimal data extracted from the the product code attribute category data; configuration bits corresponding to the product code data, and calculate the check code.

[0047] 对于具体应用中,商品条码和电子标签(EPC SGTIN-96)的数据组成结构如下: [0047] For the particular application, and the electronic tag product code (EPC SGTIN-96) composed of a data structure as follows:

[0048]( 一)零售商品条码的13位代码结构: [0048] (a) retail barcode 13 code structure:

[0049] 组成 [0049] Composition

[0050] 由厂商识别代码、商品项目代码、校验码三部分组成的13位数字代码,分为四种结构,其结构见表I。 [0050] 13-digit code consists of three parts manufacturer identification code, commodity item code, checksum component is divided into four structures, the structure shown in Table I.

[0051] 表I 13位代码结构 [0051] TABLE I 13-bit code structure

[0052] [0052]

Figure CN103258182AD00061

[0053] 厂商识别代码 [0053] Manufacturer identification code

[0054] 厂商识别代码由7〜10位数字组成,中国物品编码中心负责分配和管理。 [0054] vendor identification code consists of 7 to 10 digits, Article Numbering Center of China responsible for the allocation and management.

[0055] 厂商识别代码的前3位代码为前缀码,国际物品编码协会已分配给中国物品编码中心的前缀码为690〜695。 [0055] The first three-digit code for the vendor identification code prefix code, EAN International has been allocated to Article Numbering Center of China's prefix code is 690~695.

[0056] 商品项目代码 [0056] commodity item code

[0057] 商品项目代码由5〜2位数字组成,一般由厂商编制,也可由中国物品编码中心负责编制。 [0057] commodity item code consists of 5~2 digits, usually prepared by the manufacturer, it may also be responsible for preparing the Article Numbering Center of China.

[0058] 校验码 [0058] checksum

[0059] 校验码为I位数字,用于检验整个编码的正误。 [0059] I-digit check code for checking correctness of the entire coding.

[0060] (二)EPC电子标签的SGTIN-96编码结构 [0060] (ii) SGTIN-96 coding structure EPC electronic tag

[0061] 组成 [0061] Composition

[0062] SGTIN由6个字段组成:标头、滤值、分区、厂商识别代码、贸易项代码和序列代码,如表2所示。 [0062] SGTIN consists of six fields: header, filtered off value, partition, manufacturer identification code, and the code sequence of the code trade items, as shown in Table 2.

[0063] 表2 SGTIN-96的结构、标头和各字段的十进制容量 [0063] Decimal capacity structure of Table 2 SGTIN-96, and the header fields of

[0064] [0064]

Figure CN103258182AD00071

[0065] 标头 [0065] Header

[0066] 标头8位,二进制值为00110000。 [0066] Header 8-bit binary value 00110000.

[0067] 滤值 [0067] Filter Value

[0068] 滤值的标准规范详见表3。 [0068] The filtered standard specification values ​​shown in Table 3.

[0069] 表3 SGTIN滤值表 [0069] Table 3 SGTIN filtered value table

[0070] [0070]

Figure CN103258182AD00072

[0071] [0071]

[0072] 分区 [0072] Partition

[0073] 分区的可用值以及厂商识别代码和贸易项代码字段的相关大小在表4中定义。 [0073] values ​​are available, and vendor identification code and business related items Code field size of the partition is defined in Table 4.

[0074]表 4 SGTIN-96 分区值 [0074] TABLE 4 SGTIN-96 partition value

[0075] [0075]

Figure CN103258182AD00081

[0076] 本文件所描述的能被转换的EPC电子标签指示码为O。 [0076] described in this document can be converted EPC tag designating code is O.

[0077] I)厂商识别代码 [0077] I) vendor identification code

[0078] 厂商识别代码包含EAN.UCC厂商识别代码的一个逐位编码。 [0078] Manufacturer identification code comprises a bit-wise encoding EAN.UCC vendor identification code. 由EAN或UCC分配给管理者实体。 Assigned to the UCC or EAN manager entity.

[0079] 2)贸易项代码 [0079] 2) trade item codes

[0080] 贸易项代码由管理实体分配给一个特定对象分类。 [0080] trade item codes assigned by the management entity to a particular object class. 指示码同项目参考代码字段以以下方式结合:把指示码放在域中最左位置,结果看作一个整数,编码成二进制作为贸易项代码字段。 Indicating the code with the project reference code field in the following manner in conjunction with: the designation code on the left-most position in the domain, as a result of integer, encoded into binary code field as a trade item.

[0081] 5序列号 [0081] SEQ ID NO 5

[0082] 由管理实体分配给一个单个对象。 [0082] a single object assigned to the management entity. SGTIN-96编码只能表示有限范围内的整数值序列代码。 SGTIN-96 coding sequence of integer values ​​represent only a limited range of the code.

[0083] 6EPC SGTIN-96 编码表 [0083] 6EPC SGTIN-96 coding table

[0084] 编码表应用在转换过程中的EPC电子标签编码过程和解码过程。 [0084] The encoding table used in the conversion process EPC tag encoding process and decoding process.

[0085] SGTIN-96编码表如表5所示。 [0085] SGTIN-96 encoding table as shown in Table 5. 编码表中“二进制位位置”一行说明了每个用二进制编码表示的段的相对位置。 Coding table "bit position" line indicates the relative position of each binary representation of the coding segment. 在“二进制位位置”行,最高的下标表示最高有效位,下标O表示最低有效位。 In the "bit position" line, the highest index indicates the most significant bit, O subscript represents the least significant bit.

[0086]表 5 SGTIN-96 编码表 [0086] TABLE 5 SGTIN-96 coding table

[0087] [0087]

Figure CN103258182AD00091

[0088] 本发明的一实例中,按照上述商品条码和电子标签的数据组成结构,具体的实现转换过程如下: [0088] In one embodiment of the invention, the composition according to the data structure of the above product code and the electronic tag, converting specific implementation process is as follows:

[0089] a)读取电子标签分区值P = b84b83b82,若O彡P彡6,继续译码;否则转换停止。 [0089] a) reading electronic tag partition value P = b84b83b82, if P O San San 6, continue decoding; otherwise the conversion is stopped.

[0090] b)根据表4,获取厂商识别代码的位数M,分离出厂商识别代码部分b81b8(l...b(82_M)和贸易项代码部分b [0090] b) According to Table 4, to obtain the number of bits M manufacturer identification code, isolated b81b8 (l ... b (82_M) trade item code portions b and vendor identification code portion

(81-M)b(80-M)...匕38。 (81-M) b (80-M) ... 38 dagger.

[0091] c)将厂商识别代码b81b8(l...b(82_M)当作无符号整数,转换为十进制数表示的L位数字P1P2...Py提取厂商识别代码。如果L大于12,输入位串是非法的SGTIN-96编码,转换停止;如L等于12、11或者6,则输入位串为不能转换为零售商品条码编码的SGTIN-96编码,转换停止。 [0091] c) The manufacturer identification code b81b8 (l ... b (82_M) as an unsigned integer, the decimal number is converted to L-bit digital P1P2 ... Py extracts the vendor identification code. If L is greater than 12, an input bit string is illegal SGTIN-96 coding, conversion is stopped; if L is equal to 12, 11 or 6, the input bit string can not be converted to a bar code encoding the retail SGTIN-96 coding, conversion is stopped.

[0092] d)将贸易项代码b (81_M) b (80_M)...b38当作无符号整数,转换为十进制数表示的(13-L)位数字,提取项目参考代码和指示码。 [0092] d) trade on code b (81_M) b (80_M) ... b38 as an unsigned integer, the conversion (13-L) bits for the decimal number, and extracts an item reference code indication code. 如果(13-L)大于7,则输入位串是非法的SGTIN-96编码,转换停止;如果指示码I1不等于零,则输入位串为不能转换为零售商品条码编码的SGTIN-96编码,转换停止。 If the (13-L) is greater than 7, the input bit string is illegal SGTIN-96 coding, conversion is stopped; if the indicated symbols I1 is not equal to zero, then the input bit string can not be converted to a retail product code encoded SGTIN-96 encoded, converted stop.

[0093] e)构造13 位数字X13X12...X1,这里X13X12...X(14_L)对应为步骤a)中的P1P2...pL,X(13-L)X(12-L)...X2 为步骤W 中的i2i3...i(13-L)。 P1P2 ... pL [0093] e) 13 configured digital X13X12 ... X1, where X13X12 ... X (14_L) corresponds to step a),, X (13-L) X (12-L). ..X2 step of W in i2i3 ... i (13-L).

[0094] f)计算校验码X1,方法见附录A。 [0094] f) calculating checksum X1, see Appendix A.

[0095] g)生成零售商品代码=X13X12X11X10X9X8X7X6X5X4X3X2X115 [0095] g) generating retail commodity = X13X12X11X10X9X8X7X6X5X4X3X2X115

[0096]示例 1:EPC 电子标签SGTIN-96 二进制代码00110000 001101011010011010001111101010 00000011000000111001 000...01101010000101 转换为 [0096] Example 1: EPC RFID tags SGTIN-96 binary 00110000 00000011000000111001 000 001101011010011010001111101010 ... 01101010000101 converted to

EAN-13零售商品代码方法见表6。 EAN-13 shown in Table 6. The method of retail commodity.

[0097] 表6 EPC SGTIN-96代码转换为EAN-13零售商品代码方法示例 [0097] Table 6 EPC SGTIN-96 as an example of code conversion method of EAN-13 code for retail

[0098] [0098]

Figure CN103258182AD00101

[0099] [0099]

[0100] 再参见图3,本发明提供了一种商品条码转换为电子标签的方法,该实施例同样采用前述的数据结构组成,其流程为:确定所述商品条码的分段数据的属性类别;将对应的所述属性类别的数据转换为二进制表示的数据形式;从所述二进制数据中提取所述电子标签的属性类别数据;生成所述电子标签。 [0100] Referring again to Figure 3, the present invention provides a method of converting an electronic product code tag, this embodiment also uses the data structures, which is the process of: determining the data segment attribute category product code ; converting the category corresponding to the attribute data in the form of a binary representation of data; extracting attribute category from the electronic tag data in the binary data; generating the electronic tag.

[0101] 具体的转换过程描述如下: [0101] DETAILED conversion process is described as follows:

[0102] a)扫描零售商品条码读取条码数据。 [0102] a) scanning the bar code reader retail commodity barcode data. 如果条码数据位数不等于13,则转换停止;否则,将读到的条码数据X13X12...X1进行解码,获取厂商识别代码长度L,并提取出厂商识另Ij代码X13...X(I4-L)和商品项目代码X (13-L)...乂2。 If barcode data is not equal to 13 bits, the conversion stops; otherwise, the read barcode data decoding X13X12 ... X1, obtaining vendor identification code length L, and extracts the vendor identification code for another Ij X13 ... X ( I4-L) and the commodity item code X (13-L) ... 2 qe. [0103] b)根据表4确定EPC电子标签的分区值P、厂商识别代码字段的位数目M和项目参考与指示码字段的位数目N。 [0103] b) in Table 4 is determined according to the electronic tag EPC partition value P, the number of bits and the number M of the reference item code field indicating the manufacturer identification code field N. 对于所有的分区值,应确保满足:M+N = 44。 Values ​​for all partitions, should ensure that: M + N = 44.

[0104] c)将厂商识别代X13X12...X(14_L)当作十进制整数,构造EPC厂商识别代码PiP2-..PL,并转换为二进制表示形式b81b80...b(82_M) ο [0104] c) the generation of vendor identification X13X12 ... X (14_L) as a decimal integer, vendor identification code configured EPC PiP2 - .. PL, and converted to a binary representation b81b80 ... b (82_M) ο

[0105] d)在商品项目代码X(13J...X2前增加O指示符,转换为十进制数表示的(13-L)位数字,构造项目参考Oi2...1 (13-L),并转换为二进制表示形式b (81-M)b(80-M)...b38。 Digit [0105] d) In commodity item code X ((13-L 13J ... X2 O before adding the indicator, as represented by the converted decimal number), the configuration of the project reference Oi2 ... 1 (13-L), and converted into a binary representation b (81-M) b (80-M) ... b38.

[0106] e)构造整数序列号S,这里O ≤ S < 238。 [0106] e) configured integer sequence number S, where O ≤ S <238. 转换为二进制表示形式b37b36...bQ。 Conversion representation b37b36 ... bQ binary.

[0107] f)根据表5从最高有效位到最低有效位串联以下位字段构造最终二进制编码:标头00110000 (8位)、滤值F(3位)、分区值P (3位)、厂商识别代码C(M位)、贸易项代码(N位)、序列号S (38位)。 [0107] f) Table 5 series the following bit field configuration resulting binary coding from the most significant bit to least significant bit: Header 00110000 (8 bits), Filter Value F (3 bits), partition value P (3 bits), the manufacturer identification code C (M bits), trade under the code (N bits), the sequence number S (38-bit). 生成EPC SGTIN-96 二进制代码:b95b94...b0。 Generating a binary code EPC SGTIN-96: b95b94 ... b0.

[0108] g)生成EPC电子标签数据。 [0108] g) EPC generating electronic tag data.

[0109] 表7 EAN-13零售商品代码转换为EPC SGTIN-96代码方法示例 [0109] Table 7 EAN-13 code into retail commodity EPC SGTIN-96 sample code means

[0110] [0110]

Figure CN103258182AD00121

步骤g) 生成电子标签数据 Step g) to generate the electronic tag data

`[0111] 再参见图4,本发明还提供一种商品条码与电子标签的转换系统,其可以实现以上实施例的转换方法,该系统100包括: `[0111] Referring again to Figure 4, the present invention also provides a system for converting the electronic product code labels, which may be implemented conversion method of the above embodiments, the system 100 comprises:

[0112] 条码阅读模块10,用于读取所述商品条码包含的数据信息。 [0112] Barcode reader module 10 for reading the data contained in the product code. 需要说明的,本发明中所提商品条码均为13位数据格式的EAN13商品条码。 Incidentally, the present invention is referred EAN13 product code product code are 13 data format.

[0113] 第一数据解析模块20,用于对所述商品条码的数据信息进行译码并分别提取条码各段的数据。 [0113] The first data analysis module 20 for the data information of the product code is decoded and the data were extracted from the bar code of each stage. 不同的商品条码包含有不同的商品数据信息,通过对商品条码的识别、译码可以获取其商品数据信息。 Different product code with different product data, by identifying a product code, product coded data which can be acquired.

[0114] 电子标签读写模块30,用于识别所述电子标签,并读取电子标签数据和/或写电子标签数据以及打印电子标签。 [0114] RFID reader module 30 for identifying the electronic tag, the electronic tag data and read and / or write electronic tag data, and printing the electronic tag. 具体应用中,可能通过射频识别电子标签,并读取/写入电子标签数据信息。 In particular applications it may be by radio frequency identification tags, and a read / write electronic tag data information. 优选的是,本发明的电子标签可以为多种类别,其可以根据不同的需求具体为EPC SGTIN-96电子标签或EPC SGTIN-198电子标签。 Preferably, the electronic label of the present invention may be a variety of categories, which may be different according to the specific needs of the electronic EPC SGTIN-96 EPC SGTIN-198 label or tag.

[0115] 第二数据解析模块40,用于对所述电子标签进行译码并分别提取所述电子标签各段的数据。 [0115] 40 second data parsing module, for decoding the electronic tag and the data were extracted from each stage of the electronic tag. 电子标签的数据的有个数据段,每个数据段具有不同的商品信息,通过提取各段数据及对应的含义,可方便的实现后续步骤S105。 Electronic tag data is data segments, each segment having a different product information, by extracting data of each segment and the corresponding meanings, may be conveniently implemented subsequent step S105. [0116] 数据处理转换模块50,用于处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换。 [0116] processing data conversion module 50, data for processing the product code and the electronic tag, the data conversion and product code and an electronic tag. 本发明不仅可以实现商品条码转换为电子标签,也可以实现电子标签转换为商品条码,借此方便用户对商品信息的获取。 The present invention can be implemented not only product code into an electronic tag, the electronic tag may also be implemented converted to product code, whereby the user access to product information.

[0117] 本系统还可以设置条码打印模块60,以方便打印商品条码。 [0117] The system may be provided barcode printing module 60, to facilitate printing product code.

[0118] 综上所述,本发明通过商品条码与电子标签的转换系统读取所述商品条码包含的数据信息,并对所述商品条码的数据信息进行译码并分别提取条码各段的数据;识别所述电子标签,并读取电子标签数据和/或写电子标签数据以及打印电子标签;对所述电子标签进行译码并分别提取所述电子标签各段的数据;处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换。 [0118] In summary, the present invention is the product code data read by the conversion system comprises a product code and an electronic tag, and the product code data is decoded and the data were extracted from the bar code of each stage ; identifying the electronic tag, the electronic tag data and read and / or write electronic tag data and a print electronic tag; decoding the electronic tag and the data were extracted from each stage of the electronic tag; processing the product barcode and the electronic tag data, the data conversion and product code and an electronic tag. 借此可以方便的实现电子标签与商品条码的信息转换,使用户能更好的获取商品信息。 Thereby facilitate the realization of information into an electronic tag with a product code, allowing users to better access to product information.

[0119]当然,本发明还可有其它多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。 [0119] Of course, the present invention may have a variety of other embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding modifications and variations according to the present invention, but these corresponding changes and variations should fall within the scope of the appended claims.

Claims (7)

1. 一种商品条码与电子标签的转换方法,其特征在于,所述方法包括: 读取所述商品条码包含的数据信息; 对所述商品条码的数据信息进行译码并分别提取条码各段的数据; 识别所述电子标签,并读取电子标签数据和/或写电子标签数据以及打印电子标签; 对所述电子标签进行译码并分别提取所述电子标签各段的数据; 处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换。 CLAIMS 1. A method of converting the electronic product code label, characterized in that, the method comprising: reading the data included in said product code; product code of said data information and decodes the segments were extracted from the barcode data; identifying the electronic tag, the electronic tag data and read and / or write electronic tag data and a print electronic tag; decoding the electronic tag and the data were extracted from each stage of the electronic tag; processing the product code data and the electronic tag, the data conversion and product code and an electronic tag.
2.根据权利要求I所述的商品条码与电子标签的转换方法,其特征在于,所述电子标签是工作频率为840MHz〜960MHz的超高频无源电子标签。 2. I claim the product code conversion method and the electronic tag, wherein the tag is a UHF operating frequency of the passive electronic tag 840MHz~960MHz.
3.根据权利要求I所述的商品条码与电子标签的转换方法,其特征在于,所述处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换的步骤包括: 确定所述电子标签分段数据的属性类别; 将对应的所述属性类别的数据作为无符号数据,并转换为十进制表示的数据; 从所述十进制数据中提取所述商品条码的属性类别数据; 构造对应位数的所述商品条码数据,并计算检验码。 The product code conversion method with an electronic tag according to claim I, wherein said product code and said data processing electronic tag, and product code data and said step of converting comprises the electronic tag : determining the category attribute of the electronic tag data segment; category corresponding to the attribute data as unsigned data, and the data is converted to a decimal representation; extracting a product code of said data from said category attribute decimal data ; configuration bits corresponding to the product code data, and calculate the check code.
4.根据权利要求I所述的商品条码与电子标签的转换方法,其特征在于,所述处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换的步骤包括: 确定所述商品条码的分段数据的属性类别; 将对应的所述属性类别的数据转换为二进制表示的数据形式; 从所述二进制数据中提取所述电子标签的属性类别数据; 生成所述电子标签。 The product code conversion method with an electronic tag according to claim I, wherein said product code and said data processing electronic tag, and product code data and said step of converting comprises the electronic tag : determining a category attribute of the product code segment data; converting data corresponding to said category attribute data in the form of binary representation; extracting attribute category from the electronic tag data in the binary data; generating the Electronic tags.
5.根据权利要求3或4所述的商品条码与电子标签的转换方法,其特征在于,所述商品条码为13位数据格式的EAN-13,所述电子标签为EPC SGTIN-96。 The conversion method of claim 3 or 4, and the product code in the electronic tag according to claim, characterized in that the product barcode 13 data format EAN-13, the electronic tag is EPC SGTIN-96.
6.根据权利要求3或4所述的商品条码与电子标签的转换方法,其特征在于,所述商品条码为13位数据格式的EAN-13,所述电子标签为EPC SGTIN-198。 6. The method of converting 3 or 4, wherein the electronic product code label according to claim, characterized in that the product barcode 13 data format EAN-13, the electronic tag is EPC SGTIN-198.
7. —种商品条码与电子标签的转换系统,其特征在于,包括: 条码阅读模块,用于读取所述商品条码包含的数据信息; 第一数据解析模块,用于对所述商品条码的数据信息进行译码并分别提取条码各段的数据; 电子标签读写模块,用于识别所述电子标签,并读取电子标签数据和/或写电子标签数据以及打印电子标签; 第二数据解析模块,用于对所述电子标签进行译码并分别提取所述电子标签各段的数据; 数据处理转换模块,用于处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换。 7. - commodities electronic tag and the bar code conversion system comprising: bar code reading means for reading the data included in said product code; a first data parsing module for the product code decoding the information data and the data were extracted from the bar code of each stage; RFID reader module for identifying the electronic tag, the electronic tag data and read and / or write electronic tag data, and printing the electronic tag; a second data analysis means for decoding the electronic tag and the data were extracted from each stage of the electronic tag; data conversion processing means for processing the data of the product code and the electronic tag, and the electronic product code and data label conversion.
CN 201310204998 2013-05-24 2013-05-24 Conversion method and system for article bar code and electronic tag CN103258182A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201310204998 CN103258182A (en) 2013-05-24 2013-05-24 Conversion method and system for article bar code and electronic tag

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201310204998 CN103258182A (en) 2013-05-24 2013-05-24 Conversion method and system for article bar code and electronic tag

Publications (1)

Publication Number Publication Date
CN103258182A true true CN103258182A (en) 2013-08-21

Family

ID=48962088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201310204998 CN103258182A (en) 2013-05-24 2013-05-24 Conversion method and system for article bar code and electronic tag

Country Status (1)

Country Link
CN (1) CN103258182A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902951B (en) * 2014-04-13 2017-07-21 深圳市检验检疫科学研究院 Transfer System and method for an electronic tag and the bar code stream unit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7048191B2 (en) * 2001-01-19 2006-05-23 Electronics And Telecommunications Research Institute 4-state bar code printing and reading system and method for controlling the same
CN101201928A (en) * 2007-09-06 2008-06-18 北京农业信息技术研究中心 Method and system for whole course tracing and retroacting beef product quality safety
CN101281588A (en) * 2007-04-03 2008-10-08 报联新动力(北京)科技有限公司 Two-dimension bar code system being suitable for mobile application as well as encoding-decoding method thereof
CN101504716A (en) * 2009-03-13 2009-08-12 重庆大学 QR two-dimension bar code recognition method and system based on field programmable gate array
CN102509130A (en) * 2011-10-17 2012-06-20 广州市远望谷信息技术有限公司 Method and device for quickly checking clothes

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7048191B2 (en) * 2001-01-19 2006-05-23 Electronics And Telecommunications Research Institute 4-state bar code printing and reading system and method for controlling the same
CN101281588A (en) * 2007-04-03 2008-10-08 报联新动力(北京)科技有限公司 Two-dimension bar code system being suitable for mobile application as well as encoding-decoding method thereof
CN101201928A (en) * 2007-09-06 2008-06-18 北京农业信息技术研究中心 Method and system for whole course tracing and retroacting beef product quality safety
CN101504716A (en) * 2009-03-13 2009-08-12 重庆大学 QR two-dimension bar code recognition method and system based on field programmable gate array
CN102509130A (en) * 2011-10-17 2012-06-20 广州市远望谷信息技术有限公司 Method and device for quickly checking clothes

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902951B (en) * 2014-04-13 2017-07-21 深圳市检验检疫科学研究院 Transfer System and method for an electronic tag and the bar code stream unit

Similar Documents

Publication Publication Date Title
Dave A deterministic lot‐size inventory model with shortages and a linear trend in demand
US7350708B2 (en) Method for data interchange
US20120006891A1 (en) Facilitating mobile device payments using product code scanning
US20020165931A1 (en) Method and apparatus for accessing product information using bar code data
Irani et al. Radio frequency identification (RFID): research trends and framework
Soon QR code
Kato et al. Barcodes for mobile devices
CN1841425A (en) The mobile terminal shopping method and system
WO2007107533A2 (en) Device and method for access of content by a barcode
Das et al. RFID forecasts, players and opportunities 2009–2019
Gonzalez et al. Modeling massive RFID data sets: a gateway-based movement graph approach
JPH10187820A (en) Commodity sale using method in ec system
Coustasse et al. Impact of radio-frequency identification (RFID) technologies on the hospital supply chain: a literature review
CN102117445A (en) Method for monitoring goods in real time in logistics management
Sheng et al. Ubiquitous RFID: Where are we?
Kim et al. Comparison of benefits of radio frequency identification: Implications for business strategic performance in the US and Korean retailers
US20120286031A1 (en) Symbology for unified barcode
Thiesse et al. RFID data sharing in supply chains: What is the value of the EPC network?
CN101645081A (en) Method and system for tracing farm product information through two-dimension code
CN101551867A (en) Agricultural product logistics system based on wireless radio frequency label
US8873829B1 (en) Method and system for capturing and utilizing item attributes
CN201217560Y (en) Intelligent goods shelves system
US7770797B2 (en) Method for processing data from barcodes
CN102592229A (en) Intelligent shopping trolley of Internet of things and intelligent shopping mall and supermarket system
CN102629357A (en) Secure access method of product information and system thereof

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
RJ01