Búsqueda Imágenes Maps Play YouTube Noticias Gmail Drive Más »
Iniciar sesión
Usuarios de lectores de pantalla: deben hacer clic en este enlace para utilizar el modo de accesibilidad. Este modo tiene las mismas funciones esenciales pero funciona mejor con el lector.

Patentes

  1. Búsqueda avanzada de patentes
Número de publicaciónCN103258182 A
Tipo de publicaciónSolicitud
Número de solicitudCN 201310204998
Fecha de publicación21 Ago 2013
Fecha de presentación24 May 2013
Fecha de prioridad24 May 2013
Número de publicación201310204998.2, CN 103258182 A, CN 103258182A, CN 201310204998, CN-A-103258182, CN103258182 A, CN103258182A, CN201310204998, CN201310204998.2
Inventores陈新, 包先雨, 李军, 殷杰, 陈枝楠, 王洋, 徐伟, 吴辉, 吴彦, 毛晶晶
Solicitante深圳市检验检疫科学研究院
Exportar citaBiBTeX, EndNote, RefMan
Enlaces externos:  SIPO, Espacenet
Conversion method and system for article bar code and electronic tag
CN 103258182 A
Resumen
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.
Reclamaciones(7)  traducido del chino
1. 一种商品条码与电子标签的转换方法,其特征在于,所述方法包括: 读取所述商品条码包含的数据信息; 对所述商品条码的数据信息进行译码并分别提取条码各段的数据; 识别所述电子标签,并读取电子标签数据和/或写电子标签数据以及打印电子标签; 对所述电子标签进行译码并分别提取所述电子标签各段的数据; 处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换。 1. A product barcode and the electronic tag conversion method, wherein the method comprises: reading the data contained in the product bar code; on the barcode decoding the information and data were extracted from each segment barcode The electronic identification tag, and reads electronic tag data and / or writing the electronic tag data, and printing the electronic tag;; for decoding the electronic tag and the data were extracted from each stage of the electronic tag; said data processing product barcode and RFID data, and make the product barcode and RFID data conversion.
2.根据权利要求I所述的商品条码与电子标签的转换方法,其特征在于,所述电子标签是工作频率为840MHz〜960MHz的超高频无源电子标签。 According to claim I wherein the conversion method and electronic product barcode labels, wherein the electronic tag is the operating frequency of UHF passive RFID 840MHz~960MHz of.
3.根据权利要求I所述的商品条码与电子标签的转换方法,其特征在于,所述处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换的步骤包括: 确定所述电子标签分段数据的属性类别; 将对应的所述属性类别的数据作为无符号数据,并转换为十进制表示的数据; 从所述十进制数据中提取所述商品条码的属性类别数据; 构造对应位数的所述商品条码数据,并计算检验码。 3. I The conversion method and electronic product barcode label claim, characterized in that the processing data of the product barcode and the electronic tag, and said step of product barcode and RFID data conversion include : determining whether the attribute category tag segmented data; the corresponding categories of data as the attribute unsigned data, and convert to decimal representation of data; extracting the barcode data from the attribute category decimal data ; structure corresponding to the number of bits of the product bar code data, and calculate the check code.
4.根据权利要求I所述的商品条码与电子标签的转换方法,其特征在于,所述处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换的步骤包括: 确定所述商品条码的分段数据的属性类别; 将对应的所述属性类别的数据转换为二进制表示的数据形式; 从所述二进制数据中提取所述电子标签的属性类别数据; 生成所述电子标签。 4. I said conversion method and electronic product barcode label claim, characterized in that the processing data of the product barcode and the electronic tag, and said step of product barcode and RFID data conversion include : determining whether the attribute category barcode segmentation data; the corresponding class of the property data into the data in the form of binary representation; and extracting the electronic labels category data from the binary data; generating the electronic tags.
5.根据权利要求3或4所述的商品条码与电子标签的转换方法,其特征在于,所述商品条码为13位数据格式的EAN-13,所述电子标签为EPC SGTIN-96。 5. 3 or 4 product code and the electronic tag conversion method according to claim wherein said product bar code data format is 13 EAN-13, the electronic tag is EPC SGTIN-96.
6.根据权利要求3或4所述的商品条码与电子标签的转换方法,其特征在于,所述商品条码为13位数据格式的EAN-13,所述电子标签为EPC SGTIN-198。 6. Product bar code and electronic tag conversion method 3 or 4 according to claim wherein said product bar code data format is 13 EAN-13, the electronic tag is EPC SGTIN-198.
7. —种商品条码与电子标签的转换系统,其特征在于,包括: 条码阅读模块,用于读取所述商品条码包含的数据信息; 第一数据解析模块,用于对所述商品条码的数据信息进行译码并分别提取条码各段的数据; 电子标签读写模块,用于识别所述电子标签,并读取电子标签数据和/或写电子标签数据以及打印电子标签; 第二数据解析模块,用于对所述电子标签进行译码并分别提取所述电子标签各段的数据; 数据处理转换模块,用于处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换。 7. - kind of product bar code and electronic tag conversion system comprising: a barcode reader module for reading data information contained in the product bar code; a first data analysis module for the product code data decoding and data were extracted from each segment of the bar code; RFID reader module, for identifying the electronic tag and an electronic tag data read and / or write RFID data and printing the electronic tag; a second data analysis module for the electronic tag is decoded and the data were extracted from each segment of the electronic tag; data processing conversion module for data processing of the product barcode and the electronic tag, and the product barcode and electronic Data label conversion.
Descripción  traducido del chino

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

技术领域 Technical Field

[0001] 本发明涉及通信技术领域,尤其涉及一种商品条码与电子标签的转换方法与系统。 [0001] The present invention relates to the field of communication technology, and more particularly to a method for converting electronic product barcode labels with the system.

背景技术 Background

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

[0003] EAN商品条形码亦称通用商品条形码,由国际物品编码协会制定,通用于世界各地,是目前国际上使用最广泛的一种商品条形码。 [0003] EAN product bar code known as EAN Code, developed by the International Article Numbering Association, common around the world, is currently the world's most widely used product bar codes. 而EAN-13商品条码则为其最主要的结构,主要应用于超级市场和其它零售业,因此这种是我们比较常见的,随便拿起身边的一个从超市买来的商品都可以从包装上看得到,是我国在国内推行使用最广泛的商品条形码。 The EAN-13 bar code is its most important commodity structure, mainly used in supermarkets and other retail, so this is our more common, just picked up a side goods are bought from the supermarket from the packaging see, it is the most widely used in the domestic implementation of product bar codes. 条码技术虽然是当今最流行的标识技术,但因其固有的缺陷,不能满足快速、实时、准确的信息采集和处理。 Bar code technology is the most popular, although the identity of technology, but because of its inherent flaws, can not meet the rapid, real-time, accurate information gathering and processing. 现代物流的标准化和高效化已成为了衡量物流的重要指标,这就要求物流企业必须实时和精确地了解、掌握整个物流环节上包括采购、存储、包装、运输、流通加工、配送、销售到服务等等环节中实时的变化和发展。 Standardized and efficient modern logistics has become an important indicator to measure the stream, which requires real-time and accurate logistics enterprises must understand and master including procurement, storage, packaging, transportation, distribution processing, distribution, sales to service the entire logistics chain etc. in real-time aspects of change and development. RFID电子标签技术具有可读写能力、快速大批量的数据扫描、抗污染能力和耐久性强、使用寿命长、穿透性无屏障阅读能力强、数据记忆容量大以及安全性高等特点,能够广泛应用在现代物流供应链上的生产管理、运输管理、仓库管理、物料跟踪、运载工具和货架识别、商店等场合。 RFID tag technology with read-write capability, fast scanning large quantities of data, contamination resistance and durability, long life, strong penetration barrier-free reading capability, data memory capacity and high security features, can be widely Application of modern logistics supply chain, production 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, but 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 using the Internet to achieve the transfer of information. 2003年10月国际上成立EPC GLOBLE全球组织推广EPC和物联网的应用。 EPC GLOBLE global organization set up to promote the application of things EPC and internationally in October 2003. 欧、美、日等发达国家在全力推动符合EPC`技术电子标签应用,全球最大的零售商美国沃尔玛宣布••从2005年I月份开始,前100名供应商必须在托盘中使用EPC电子标签,2006年必须在产品包装中使用EPC电子标签,我国近几年来的EPC电子标签的发展也日益迅猛,其必然会成为一个发展趋势。 Europe, America, Japan and other developed countries in the efforts to promote compliance with EPC` electronic tagging technology, the world's largest retailer, Wal-Mart announced that from 2005 I •• January, before 100 suppliers must use EPC RFID tags in the tray, 2006 must be used in product packaging EPC tags, EPC RFID development of our country in recent years has become increasingly rapid, it is bound to become a trend.

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

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

发明内容 DISCLOSURE

[0007] 针对上述的缺陷,本发明的目的在于提供一种商品条码与电子标签的转换方法与系统,可以方便的实现电子标签与商品条码的信息转换,使用户能更好的获取商品信息。 [0007] In response to these shortcomings, the present invention is to provide a method and system for converting a product barcode and RFID can facilitate the realization of electronic tags and barcode information conversion, allowing users to better access to product information.

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

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

[0011] 识别所述电子标签,并读取电子标签数据和/或写电子标签数据以及打印电子标签; [0011] identify the electronic tags and electronic tag data read and / or write RFID tag data, and printing;

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

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

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

[0015] 根据本发明的商品条码与电子标签的转换方法,所述处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换的步骤包括: Step conversion method according to the product bar code and electronic tag of the present invention, the process [0015] data in the bar code and electronic merchandise tags, and the product barcode and RFID data conversion include:

[0016] 确定所述电子标签分段数据的属性类别; [0016] determining the properties category tag segmented data;

[0017] 将对应的所述属性类别的数据作为无符号数据,并转换为十进制表示的数据; [0017] The properties of the corresponding categories of data as unsigned data, and convert data in decimal notation;

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

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

[0020] 根据本发明的商品条码与电子标签的转换方法,所述处理所述商品条码及电子标签的数据,并使所述商品条码及电子标签的数据转换的步骤包括: Step conversion method according to the product bar code and electronic tag of the present invention, the process [0020] The data for the product barcode and RFID tags, and the product barcode and RFID data conversion include:

[0021] 确定所述商品条码的分段数据的属性类别; [0021] determining the property category barcode segmented data;

[0022] 将对应的所述属性类别的数据转换为二进制表示的数据形式; [0022] The properties of the corresponding categories of data into data in the form of binary representation;

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

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

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

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

[0027] 本发明还提供一种商品条码与电子标签的转换系统,其包括: [0027] The present invention also provides a product barcode labels and electronic conversion system, comprising:

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

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

[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 processing conversion module for data processing of the product barcode and RFID tags, and the product barcode and RFID data conversion.

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

附图说明 Brief Description

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

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

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

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

具体实施方式 DETAILED DESCRIPTION

[0038] 为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。 [0038] In order to make the objects, technical solutions and advantages of the present invention will become apparent from, the accompanying drawings and the following embodiments, the present invention will be described in further detail. 应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 It should be understood that the specific embodiments described herein are only for explaining 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 for converting a product barcode and the electronic tag, the method comprising:

[0040] 步骤S101,读取所述商品条码包含的数据信息。 [0040] step S101, the read data information contained in the product barcode. 需要说明的,本发明中所提商品条码均为13位数据格式的EAN13商品条码。 It should be noted, in the present invention are mentioned in the product bar code data format 13 EAN13 barcode for commodity.

[0041] 步骤S102,对所述商品条码的数据信息进行译码并分别提取条码各段的数据。 [0041] step S102, the data of the barcode decoding the information and data were extracted from each segment of the bar code. 不同的商品条码包含有不同的商品数据信息,通过对商品条码的识别、译码可以获取其商品数据信息。 Different product code contains different items of data information, through the identification of a product code decoding can get their goods data.

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

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

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

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

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

[0047] 对于具体应用中,商品条码和电子标签(EPC SGTIN-96)的数据组成结构如下: [0047] For specific applications, product barcode and RFID (EPC SGTIN-96) composed of data is structured as follows:

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

[0049] 组成 [0049] Composition

[0050] 由厂商识别代码、商品项目代码、校验码三部分组成的13位数字代码,分为四种结构,其结构见表I。 [0050] by the vendor identification code, commodity item code, checksum three-part 13-digit code 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] vendor 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 assigned to the Article Numbering Center of China prefix code is 690~695.

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

[0057] 商品项目代码由5〜2位数字组成,一般由厂商编制,也可由中国物品编码中心负责编制。 [0057] commodity item code consists of 5~2 digits, generally 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 the entire coding of right and wrong.

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

[0061] 组成 [0061] Composition

[0062] SGTIN由6个字段组成:标头、滤值、分区、厂商识别代码、贸易项代码和序列代码,如表2所示。 [0062] SGTIN the six fields: header, Filter Value, Partition, Company Prefix, trade item code and the serial code, as shown in Table 2.

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

[0064] [0064]

Figure CN103258182AD00071

[0065] 标头 [0065] Header

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

[0067] 滤值 [0067] Filter Value

[0068] 滤值的标准规范详见表3。 [0068] Standard filter specification values shown in Table 3.

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

[0070] [0070]

Figure CN103258182AD00072

[0071] [0071]

[0072] 分区 [0072] Subdivision

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

[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 electronic tag designating code is O.

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

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

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

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

[0081] 5序列号 [0081] 5 serial number

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

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

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

[0085] SGTIN-96编码表如表5所示。 [0085] SGTIN-96 coding table shown in Table 5. 编码表中“二进制位位置”一行说明了每个用二进制编码表示的段的相对位置。 Coding table "bit position" line shows the relative position of each segment with a binary coded representation. 在“二进制位位置”行,最高的下标表示最高有效位,下标O表示最低有效位。 In the "bit position" line, the highest index representing the most significant bit, the subscript O 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 above data structures and electronic product barcode labels, specifically to achieve the conversion process is as follows:

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

[0090] b)根据表4,获取厂商识别代码的位数M,分离出厂商识别代码部分b81b8(l...b(82_M)和贸易项代码部分b [0090] b) in accordance with Table 4, to obtain vendor identification code bits M, isolated vendor identification code section b81b8 (l ... b (82_M) and trade under the code section b

(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 vendor identification code b81b8 (l ... b (82_M) as an unsigned integer, converted to decimal notation L digit P1P2 ... Py extract manufacturer identification code. If L is greater than 12, an input bit string is illegal SGTIN-96 encoding, conversion is stopped; if L is equal to 12, 11, or 6, the input bit string is not converted to retail commodity bar codes SGTIN-96 encoding, conversion is stopped.

[0092] d)将贸易项代码b (81_M) b (80_M)...b38当作无符号整数,转换为十进制数表示的(13-L)位数字,提取项目参考代码和指示码。 [0092] d) will trade under the code b (81_M) b (80_M) ... b38 as an unsigned integer conversion (13-L) digits as a decimal number, the extraction project code reference code and instructions. 如果(13-L)大于7,则输入位串是非法的SGTIN-96编码,转换停止;如果指示码I1不等于零,则输入位串为不能转换为零售商品条码编码的SGTIN-96编码,转换停止。 If (13-L) is greater than 7, the input bit string is illegal SGTIN-96 encoding, conversion is stopped; if the instruction code I1 not equal to zero, then the input string is not converted to retail commodity bar codes SGTIN-96 encoding, conversion 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)。 [0093] e) 13 configured digital X13X12 ... X1, where X13X12 ... X (14_L) corresponds to step a) of the P1P2 ... pL, X (13-L) X (12-L). ..X2 step W in i2i3 ... i (13-L) is.

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

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

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

EAN-13零售商品代码方法见表6。 EAN-13 retail product code method in Table 6.

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

[0098] [0098]

Figure CN103258182AD00101

[0099] [0099]

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

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

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

[0104] c)将厂商识别代X13X12...X(14_L)当作十进制整数,构造EPC厂商识别代码PiP2-..PL,并转换为二进制表示形式b81b80...b(82_M) ο [0104] c) on behalf of the vendor identification X13X12 ... X (14_L) as a decimal integer, construction EPC vendor identification code 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。 Digits [0105] d) the commodity item code X ((13-L 13J ... X2 before adding O indicator, converted to decimal number), construction project reference Oi2 ... 1 (13-L), and converted to a binary representation b (81-M) b (80-M) ... b38.

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

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

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

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

[0110] [0110]

Figure CN103258182AD00121

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

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

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

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

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

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

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

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

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

Citas de patentes
Patente citada Fecha de presentación Fecha de publicación Solicitante Título
CN101201928A *6 Sep 200718 Jun 2008北京农业信息技术研究中心Method and system for whole course tracing and retroacting beef product quality safety
CN101281588A *3 Abr 20078 Oct 2008报联新动力(北京)科技有限公司Two-dimension bar code system being suitable for mobile application as well as encoding-decoding method thereof
CN101504716A *13 Mar 200912 Ago 2009重庆大学QR two-dimension bar code recognition method and system based on field programmable gate array
CN102509130A *17 Oct 201120 Jun 2012广州市远望谷信息技术有限公司Method and device for quickly checking clothes
US7048191 *17 Dic 200123 May 2006Electronics And Telecommunications Research Institute4-state bar code printing and reading system and method for controlling the same
Citada por
Patente citante Fecha de presentación Fecha de publicación Solicitante Título
CN103902951B *13 Abr 201421 Jul 2017深圳市检验检疫科学研究院电子标签与物流单元条码的转换系统与方法
Clasificaciones
Clasificación internacionalG06K7/10
Eventos legales
FechaCódigoEventoDescripción
21 Ago 2013C06Publication
14 May 2014C10Entry into substantive examination