CN104636931A - Two-dimensional code production method for tobacco industry - Google Patents
Two-dimensional code production method for tobacco industry Download PDFInfo
- Publication number
- CN104636931A CN104636931A CN201510038530.XA CN201510038530A CN104636931A CN 104636931 A CN104636931 A CN 104636931A CN 201510038530 A CN201510038530 A CN 201510038530A CN 104636931 A CN104636931 A CN 104636931A
- Authority
- CN
- China
- Prior art keywords
- product
- code
- dimensional code
- unique
- dimensional
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开一种用于烟草行业的二维码生产方法,通过以随机码作为产品溯源编号的方式,采用加密算法得到二维码的定义,并生成二维码图片,对每件产品贴码,通过读取产品二维码图片,得到随机码,与产品数据库中的产品信息进行匹配,得到产品唯一标识码,在采用激光打码的方式,为每件产品打上唯一标识码;客户通过扫描二维码,并输入产品唯一表示码的方式验证产品的真伪,本发明的方法可追溯系统的建立,不仅作为烟草自身产品安全性、可追溯性的展示,而且一次性解决了物流节点管理、假冒伪劣产品和窜货等现象。本发明的方法通过二维码结合产品唯一标识码的方式,进一步加强了产品防伪强度,难以仿冒。
The invention discloses a two-dimensional code production method used in the tobacco industry. By using random codes as product traceability numbers, an encryption algorithm is used to obtain the definition of two-dimensional codes, generate two-dimensional code pictures, and paste codes on each product , by reading the product QR code picture, get the random code, match it with the product information in the product database, get the unique product identification code, and use the laser marking method to mark the unique identification code for each product; the customer scans Two-dimensional code, and the way of inputting the unique product code to verify the authenticity of the product, the establishment of the traceability system of the method of the present invention, not only serves as a display of the safety and traceability of the tobacco itself, but also solves the logistics node management at one time , Counterfeit and shoddy products and channeling goods. The method of the present invention further enhances the anti-counterfeiting strength of the product through the combination of the two-dimensional code and the unique product identification code, making counterfeiting difficult.
Description
技术领域technical field
本发明属于条码生产领域,具体涉及一种二维码生产方法。The invention belongs to the field of barcode production, and in particular relates to a two-dimensional code production method.
背景技术Background technique
二维码(Quick Response Code),又称二维条码,它是用特定的几何图形按一定规律在平面(二维方向)上分布的黑白相间的图形,是所有信息数据的一把钥匙。如图1所示的QR码为二维码中的一种,在现代商业活动中,可实现的应用十分广泛,如:产品防伪/溯源、广告推送、网站链接、数据下载、商品交易、定位/导航、电子商务应用、车辆管理、信息传递等。如今智能手机扫一扫(简称313)功能的应用使得二维码更加普遍,随着国内物联网产业的蓬勃发展,更多的二维码技术应用解决方案被开发,二维码成为移动互联网入口真正成为现实。QR code (Quick Response Code), also known as two-dimensional barcode, is a black and white pattern distributed on a plane (two-dimensional direction) with specific geometric figures according to certain rules, and is a key to all information data. The QR code shown in Figure 1 is one of the two-dimensional codes. In modern commercial activities, it can be used in a wide range of applications, such as: product anti-counterfeiting/traceability, advertisement push, website link, data download, commodity transaction, positioning /Navigation, e-commerce applications, vehicle management, information delivery, etc. Nowadays, the application of smart phone scanning (313 for short) function makes QR codes more common. With the vigorous development of the domestic Internet of Things industry, more QR code technology application solutions have been developed, and QR codes have become the entrance to the mobile Internet. really become a reality.
运用二维码技术及无线通信网络技术,以二维码为信息载体,对每一件商品的信息进行跟踪、采集、汇总、查询、管理等,一品一码,建立商品信息管理数据链和整个流通过程监管系统,通过手机终端中安装的识读软件轻松扫码,即可实时方便地查询商品信息,有效辨识真假,构筑阻击假冒伪劣的“防火墙”。Using two-dimensional code technology and wireless communication network technology, using two-dimensional code as the information carrier, to track, collect, summarize, query, manage, etc. the information of each commodity, one code for one product, to establish a commodity information management data chain and the entire The circulation process supervision system can easily scan the code through the reading software installed in the mobile terminal to query product information in real time and conveniently, effectively identify the true and false, and build a "firewall" to block counterfeit and shoddy products.
通过二维码技术的产品信息可追溯系统的建立,不仅作为烟草自身产品宣传,产品安全性、可追溯性的展示,提升品牌形象和价值的有利手段,而且一次性解决了物流节点管理、假冒伪劣产品和窜货等现象。目前缺乏有效的应用于烟草这一特殊行业的防伪溯源方法。The establishment of the product information traceability system through the two-dimensional code technology is not only used as a favorable means to promote the tobacco's own products, display product safety and traceability, and enhance brand image and value, but also solve logistics node management and counterfeiting at one time. Phenomena such as fake and inferior products and channeling goods. At present, there is no effective anti-counterfeiting traceability method applied to the special industry of tobacco.
发明内容Contents of the invention
为解决上述问题,本发明提出一种用于烟草行业的二维码生产方法。In order to solve the above problems, the present invention proposes a two-dimensional code production method used in the tobacco industry.
本发明的技术方案为:一种用于烟草行业的二维码生产方法,包括以下步骤:The technical scheme of the present invention is: a kind of two-dimension code production method that is used in tobacco industry, comprises the following steps:
S1:二维码定义,通过加密算法对溯源编号进行加密处理,得到每件产品唯一的二维码定义,并生成二维码图像;S1: Two-dimensional code definition, encrypt the traceability number through an encryption algorithm, obtain the unique two-dimensional code definition of each product, and generate a two-dimensional code image;
S2:根据二维码图像,对每件产品进行贴码操作;S2: According to the two-dimensional code image, carry out the labeling operation on each product;
S3:读取二维码信息,通过与产品数据库中的对应产品数据进行匹配,得到产品的唯一码;S3: Read the two-dimensional code information, and obtain the unique code of the product by matching with the corresponding product data in the product database;
S4:根据产品的唯一码,通过激光打码的方式为对应产品进行打码。S4: According to the unique code of the product, code the corresponding product by means of laser coding.
进一步地,所述步骤S1的加密算法具体为:采用DES与RSA的混合加密算法。Further, the encryption algorithm in the step S1 is specifically: adopting a mixed encryption algorithm of DES and RSA.
进一步地,所述溯源编号为长度为N的随机码。Further, the traceability number is a random code with a length of N.
进一步地,所述方法还包括:S5解码方法,具体包含以下步骤:Further, the method also includes: S5 decoding method, specifically including the following steps:
S51:客户端通过扫描产品二维码,进入提示界面;S51: The client enters the prompt interface by scanning the QR code of the product;
S52:客户端根据提示界面提示输入产品唯一标识码,进入认证界面,所述认证界面至少包括:产品信息、扫描次数;所述产品信息至少包括产品属地、产品名称、产品生产日期。S52: The client enters the unique product identification code according to the prompt interface, and enters the authentication interface. The authentication interface includes at least product information and scan times; the product information includes at least product location, product name, and product production date.
更进一步地,所述认证界面与第三方认证关联,根据查询第三方存储的产品数据库,得到认证信息。Furthermore, the authentication interface is associated with a third-party authentication, and authentication information is obtained by querying a product database stored by a third-party.
更进一步地,若当前所述扫描次数显示为1则表示该产品为正品,若当前所扫描次数显示大于1,则表示该产品为伪劣产品。Furthermore, if the current number of scans displayed is 1, it indicates that the product is authentic, and if the current number of scans displayed is greater than 1, it indicates that the product is a counterfeit product.
本发明的有益效果:本发明的用于烟草行业的二维码生产方法,通过以随机码作为产品溯源编号的方式,采用加密算法得到二维码的定义,并生成二维码图片,对每件产品贴码,通过读取产品二维码图片,得到随机码,与产品数据库中的产品信息进行匹配,得到产品唯一标识码,在采用激光打码的方式,为每件产品打上唯一标识码;客户通过扫描二维码,并输入产品唯一表示码的方式验证产品的真伪,本发明的方法可追溯系统的建立,不仅作为烟草自身产品安全性、可追溯性的展示,而且一次性解决了物流节点管理、假冒伪劣产品和窜货等现象。本发明的方法通过二维码结合产品唯一标识码的方式,进一步加强了产品防伪强度,难以仿冒。Beneficial effects of the present invention: the method for producing two-dimensional codes used in the tobacco industry of the present invention uses random codes as product traceability numbers, uses encryption algorithms to obtain the definition of two-dimensional codes, and generates two-dimensional code pictures, for each By reading the QR code picture of the product, a random code is obtained, which is matched with the product information in the product database to obtain a unique product identification code, and a unique identification code is printed on each product by laser marking The customer verifies the authenticity of the product by scanning the two-dimensional code and inputting the unique product code. The establishment of the traceability system of the method of the present invention is not only a display of the safety and traceability of the tobacco itself, but also a one-time solution It eliminates the phenomenon of logistics node management, counterfeit and shoddy products, and cross-selling. The method of the present invention further enhances the anti-counterfeiting strength of the product through the combination of the two-dimensional code and the unique product identification code, making counterfeiting difficult.
附图说明Description of drawings
图1为本发明实施例提供的QR示意图。FIG. 1 is a schematic diagram of a QR provided by an embodiment of the present invention.
图2为本发明方案流程图。Fig. 2 is the scheme flow chart of the present invention.
图3为本发明实施例提供的验证流程图。Fig. 3 is a verification flowchart provided by the embodiment of the present invention.
具体实施方式Detailed ways
为便于本领域技术人员理解本发明的技术内容,下面结合附图和具体的实施例对本发明作进一步的阐述。In order to facilitate those skilled in the art to understand the technical content of the present invention, the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
如图2所示为本发明方案的流程图,具体包括以下步骤:As shown in Figure 2, it is a flowchart of the scheme of the present invention, specifically comprising the following steps:
一种用于烟草行业的二维码生产方法,包括以下步骤:A method for producing a two-dimensional code used in the tobacco industry, comprising the following steps:
S1:二维码定义,通过加密算法对溯源编号进行加密处理,得到每件产品唯一的二维码定义,并生成二维码图像;所述溯源编号为长度为N的随机码,本实施例中N为17。通过DES与RSA的混合加密方式,对随机码进行加密处理,得到二维码图像,保证图像的安全性,难以复制性。S1: Two-dimensional code definition, the traceability number is encrypted through an encryption algorithm to obtain a unique two-dimensional code definition for each product, and a two-dimensional code image is generated; the traceability number is a random code with a length of N, in this embodiment where N is 17. Through the mixed encryption method of DES and RSA, the random code is encrypted to obtain the two-dimensional code image, which ensures the security of the image and is difficult to copy.
S2:根据生成的二维码图像,对每件产品进行贴码操作;根据一件产品一个贴码的原则,对产品进行贴码操作。S2: According to the generated two-dimensional code image, carry out the labeling operation on each product; according to the principle of one product one labeling, carry out the labeling operation on the product.
S3:读取二维码信息,通过与产品数据库中的对应产品数据进行匹配,得到产品的唯一标识码;例如读取二维码得到随机码,查询产品数据库得到当前产品的产品信息数据,具体产品信息数据包括产品名称、产品出厂地、出场时间、零售点信息等,通过将随机码与产品信息数据进行编码得到产品的唯一标识码,所述唯一标识码至少为13位。所述唯一标识码由数字和字母组成。S3: Read the two-dimensional code information, and obtain the unique identification code of the product by matching with the corresponding product data in the product database; for example, read the two-dimensional code to obtain the random code, query the product database to obtain the product information data of the current product, specifically The product information data includes the product name, the place where the product leaves the factory, the time of appearance, the information of the retail outlet, etc., and the unique identification code of the product is obtained by encoding the random code and the product information data, and the unique identification code is at least 13 digits. The unique identification code is composed of numbers and letters.
S4:根据产品的唯一标识码,通过激光打码的方式为对应产品进行打码。S4: According to the unique identification code of the product, code the corresponding product by laser marking.
如图3所示为本发明的验证流程图,客户通过扫描二维码,进入提示界面,按照提示输入产品唯一标识码,进入认证界面,通过认证界面的认证信息,查证产品的真伪;如果认证界面显示当前产品的扫描次数为1,则表示当前产品为正品,否则为伪劣产品。As shown in Figure 3, it is a verification flowchart of the present invention, the customer enters the prompt interface by scanning the two-dimensional code, enters the unique product identification code according to the prompt, enters the authentication interface, and checks the authenticity of the product through the authentication information on the authentication interface; if If the authentication interface shows that the number of scans of the current product is 1, it means that the current product is genuine, otherwise it is a counterfeit product.
所述认证界与第三方认证关联,根据查询第三方认证存储的数据库,得到认证信息。所述数据库,存储定义二维码的随机码以及与随机码对应的产品信息,并且采用加密的通信方式,保证查询的安全性。所述认证界面通过向第三方发送请求认证数据,所述请求认证数据根据加密算法进行加密处理,认证方返回的认证数据也采用加密算法,保证认证通信的安全性。The authentication world is associated with the third-party authentication, and the authentication information is obtained by querying the database stored in the third-party authentication. The database stores a random code defining a two-dimensional code and product information corresponding to the random code, and adopts an encrypted communication method to ensure the security of the query. The authentication interface sends request authentication data to a third party, the request authentication data is encrypted according to an encryption algorithm, and the authentication data returned by the authenticator also uses an encryption algorithm to ensure the security of authentication communication.
本发明的有益效果:本发明的用于烟草行业的二维码生产方法,通过以随机码作为产品溯源编号的方式,采用加密算法得到二维码的定义,并生成二维码图片,对每件产品贴码,通过读取产品二维码图片,得到随机码,与产品数据库中的产品信息进行匹配,得到产品唯一标识码,在采用激光打码的方式,为每件产品打上唯一标识码;客户通过扫描二维码,并输入产品唯一表示码的方式验证产品的真伪,本发明的方法可追溯系统的建立,不仅作为烟草自身产品安全性、可追溯性的展示,而且一次性解决了物流节点管理、假冒伪劣产品和窜货等现象。本发明的方法通过二维码结合产品唯一标识码的方式,进一步加强了产品防伪强度,难以仿冒。Beneficial effects of the present invention: the method for producing two-dimensional codes used in the tobacco industry of the present invention uses random codes as product traceability numbers, uses encryption algorithms to obtain the definition of two-dimensional codes, and generates two-dimensional code pictures, for each By reading the QR code picture of the product, a random code is obtained, which is matched with the product information in the product database to obtain a unique product identification code, and a unique identification code is printed on each product by laser marking The customer verifies the authenticity of the product by scanning the two-dimensional code and inputting the unique product code. The establishment of the traceability system of the method of the present invention is not only a display of the safety and traceability of the tobacco itself, but also a one-time solution It eliminates the phenomenon of logistics node management, counterfeit and shoddy products, and cross-selling. The method of the present invention further enhances the anti-counterfeiting strength of the product through the combination of the two-dimensional code and the unique product identification code, making counterfeiting difficult.
本领域的普通技术人员将会意识到,这里所述的实施例是为了帮助读者理解本发明的原理,应被理解为本发明的保护范围并不局限于这样的特别陈述和实施例。对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。Those skilled in the art will appreciate that the embodiments described here are to help readers understand the principles of the present invention, and it should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Various modifications and variations of the present invention will occur to those skilled in the art. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the scope of the claims of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510038530.XA CN104636931A (en) | 2015-01-26 | 2015-01-26 | Two-dimensional code production method for tobacco industry |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510038530.XA CN104636931A (en) | 2015-01-26 | 2015-01-26 | Two-dimensional code production method for tobacco industry |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104636931A true CN104636931A (en) | 2015-05-20 |
Family
ID=53215645
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510038530.XA Pending CN104636931A (en) | 2015-01-26 | 2015-01-26 | Two-dimensional code production method for tobacco industry |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104636931A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104899751A (en) * | 2015-06-09 | 2015-09-09 | 广西中烟工业有限责任公司 | Method for identifying cigarette authenticity based on self-encrypted self-checking two-dimensional code |
CN107730265A (en) * | 2016-08-11 | 2018-02-23 | 株式会社电装 | Auto parts flow control system, auto parts flow control method and method for distinguishing the authenticity of auto parts |
CN108256874A (en) * | 2018-01-31 | 2018-07-06 | 刘世洪 | Management system and management method based on the polygon platform of agricultural product quality and safety |
CN109816224A (en) * | 2019-01-11 | 2019-05-28 | 红云红河烟草(集团)有限责任公司 | Management method and system for tracing production information based on two-dimension code of cigarette packet |
CN110020872A (en) * | 2019-01-24 | 2019-07-16 | 中企信诚(北京)防伪技术有限公司 | The online endowed method of cold laser books |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103325042A (en) * | 2013-05-17 | 2013-09-25 | 包晗 | Tracing anti-fake market interaction integration system and method |
CN103854185A (en) * | 2012-11-30 | 2014-06-11 | 上海透云物联网科技有限公司 | QR code, anti-counterfeiting code, RFID tag and mobile application combined anti-counterfeiting system |
-
2015
- 2015-01-26 CN CN201510038530.XA patent/CN104636931A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103854185A (en) * | 2012-11-30 | 2014-06-11 | 上海透云物联网科技有限公司 | QR code, anti-counterfeiting code, RFID tag and mobile application combined anti-counterfeiting system |
CN103325042A (en) * | 2013-05-17 | 2013-09-25 | 包晗 | Tracing anti-fake market interaction integration system and method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104899751A (en) * | 2015-06-09 | 2015-09-09 | 广西中烟工业有限责任公司 | Method for identifying cigarette authenticity based on self-encrypted self-checking two-dimensional code |
CN107730265A (en) * | 2016-08-11 | 2018-02-23 | 株式会社电装 | Auto parts flow control system, auto parts flow control method and method for distinguishing the authenticity of auto parts |
CN108256874A (en) * | 2018-01-31 | 2018-07-06 | 刘世洪 | Management system and management method based on the polygon platform of agricultural product quality and safety |
CN109816224A (en) * | 2019-01-11 | 2019-05-28 | 红云红河烟草(集团)有限责任公司 | Management method and system for tracing production information based on two-dimension code of cigarette packet |
CN110020872A (en) * | 2019-01-24 | 2019-07-16 | 中企信诚(北京)防伪技术有限公司 | The online endowed method of cold laser books |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12067440B2 (en) | Systems and methods for generating secure tags | |
TWI776084B (en) | Two-dimensional code provision, verification method and device | |
CN104835046B (en) | A kind of data false distinguishing method for two-dimension code safe verification | |
US20140095398A1 (en) | Double ID Anti-Counterfeit Method and System | |
US20070170241A1 (en) | Method and system to provide security information when authenticating product code | |
CN106529976A (en) | Checking system and checking method for commodity determination uniqueness | |
CN102663592A (en) | Two-dimensional code-based object identity dual-code identification method | |
CN104636929A (en) | Information management system based on two-dimensional code and information management method based on two-dimensional code | |
CN104951943A (en) | Anti-counterfeiting method based on random plain and secret code association examination | |
CN102184380A (en) | Color-superposition two-dimension code system and application method thereof | |
CN104636931A (en) | Two-dimensional code production method for tobacco industry | |
CN105046504A (en) | Multiple key checking, inspection and forgery prevention source forming method and forgery prevention label | |
CN104240095A (en) | Two-dimensional code anti-fake method and system based on domain name | |
CN104854597B (en) | Certificate server, Verification System and authentication method | |
WO2014091252A1 (en) | Improvements relating to identifier authentication | |
CN102708391A (en) | Anti-counterfeiting label on basis of fractal image and anti-counterfeiting verification method | |
KR20140087084A (en) | Authentication server and method by using label and, mobile device | |
WO2016155159A1 (en) | Anti-fake method for realizing all-barcode verification based on wechat id | |
CN104318442A (en) | Involved part interaction based mobile internet information anti-fake system | |
CN108830626A (en) | A kind of two-dimension code anti-counterfeit traceability system and method suitable for e-commerce | |
CN108537559B (en) | Anti-counterfeiting method and system free of remote service | |
TWI518598B (en) | A barcode tamper-proofing system and method thereof | |
KR20240071682A (en) | System for confirming genuine article and confirming method using the same | |
CN105574573A (en) | Product selling activation inquiry anti-counterfeiting label | |
KR20060106152A (en) | Activation service system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150520 |
|
RJ01 | Rejection of invention patent application after publication |