CN108665288A - The method of checking article genuine-fake and the system of checking article genuine-fake - Google Patents
The method of checking article genuine-fake and the system of checking article genuine-fake Download PDFInfo
- Publication number
- CN108665288A CN108665288A CN201810448466.6A CN201810448466A CN108665288A CN 108665288 A CN108665288 A CN 108665288A CN 201810448466 A CN201810448466 A CN 201810448466A CN 108665288 A CN108665288 A CN 108665288A
- Authority
- CN
- China
- Prior art keywords
- item
- code
- authenticity
- password
- manufacturer
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
- G06Q30/0185—Product, service or business identity fraud
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Technology Law (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明属于区块链领域,具体涉及一种验证物品真伪的方法和验证物品真伪的系统。该验证物品真伪的方法包括步骤:厂家节点为出厂的物品设置防伪码,防伪码随机产生、且包含与物品相关的明码和暗码;厂家节点建立物品与明码、暗码的码标对应表,物品、明码和暗码一一对应;用户节点至少在本地区块链的账本中检索明码,将针对明码的检索结果进行广播;用户节点根据物品是否在本地区块链被公开,确定物品的真伪性。该验证物品真伪的方法和验证物品真伪的系统形成一种基于全网区块链信息实时共享监督机制下的物品真伪的验证,避免了大量的造假行为,同时避免了虚假山寨网站或者虚假查询电话的方式欺骗消费者的行为,保证了消费者和厂家的双重利益。
The invention belongs to the field of block chains, and in particular relates to a method for verifying the authenticity of articles and a system for verifying the authenticity of articles. The method for verifying the authenticity of an article includes the steps: the manufacturer node sets an anti-counterfeiting code for the delivered article, and the anti-counterfeiting code is randomly generated and includes clear and secret codes related to the article; There is a one-to-one correspondence between the plain code and the secret code; the user node at least retrieves the plain code in the account book of the local blockchain, and broadcasts the retrieval results of the plain code; the user node determines the authenticity of the item according to whether the item is published in the local blockchain . The method for verifying the authenticity of the item and the system for verifying the authenticity of the item form a verification of the authenticity of the item based on the real-time sharing and supervision mechanism of the blockchain information of the whole network, which avoids a large number of counterfeiting behaviors, and at the same time avoids fake counterfeit websites or The behavior of deceiving consumers by making false inquiry calls ensures the double interests of consumers and manufacturers.
Description
技术领域technical field
本发明属于区块链技术领域,具体涉及一种验证物品真伪的方法和验证物品真伪的系统。The invention belongs to the technical field of block chains, and in particular relates to a method for verifying the authenticity of articles and a system for verifying the authenticity of articles.
背景技术Background technique
自从人类市场交易以来,从服装、日用物品在到食品等领域,市场都存在着假货,假货的肆意,损害了厂家的形象,严重危害了消费者的权益,给厂家和消费者均造成了许多的困扰。随着市场的规范化以及高新技术的发展,防伪标签、验证码应运而生,降低了消费者对物品的疑虑,同时为消费者制造了一个良好的购物环境。Since the human market transactions, from clothing, daily necessities to food and other fields, there have been fakes in the market, and the wantonness of fakes has damaged the image of manufacturers and seriously endangered the rights and interests of consumers. caused a lot of trouble. With the standardization of the market and the development of high-tech, anti-counterfeit labels and verification codes have emerged as the times require, which reduces consumers' doubts about items and creates a good shopping environment for consumers.
但是,目前的防伪方法存在以下问题:如果该物品的验证码被山寨厂家复制,或者是消费者登录到山寨网站或者是拨打了山寨服务电话,则查询到的该物品为正品的虚假信息,无法保证消费者的利益。究其原因,产生这种问题的根源在于,该查询并不是通过全网广播的方式进行的,也就是说该查询并不透明,因此造成了该正品验证码可以反复多次使用的现象,或者是消费者登录到了山寨网站或者是拨打了山寨服务电话来查询到了所谓的“正品”验证信息。However, the current anti-counterfeiting method has the following problems: if the verification code of the item is copied by the counterfeit manufacturer, or the consumer logs on to the counterfeit website or dials the counterfeit service phone, the false information that the item found is genuine and cannot be verified. Guarantee the interests of consumers. The reason for this problem is that the query is not broadcast through the entire network, that is to say, the query is not transparent, so the authenticity verification code can be used repeatedly, or Consumers log on to the counterfeit website or dial the counterfeit service number to inquire about the so-called "authentic product" verification information.
因此,如何实现全网信息实时共享监督机制下的物品真伪的验证,成为目前亟待解决的技术问题。Therefore, how to realize the verification of the authenticity of items under the real-time information sharing and supervision mechanism of the entire network has become an urgent technical problem to be solved.
发明内容Contents of the invention
本发明所要解决的技术问题是针对现有技术中上述不足,提供一种验证物品真伪的方法和验证物品真伪的系统,提供一种可以全网区块链信息实时共享监督机制下的物品真伪的验证方式。The technical problem to be solved by the present invention is to provide a method for verifying the authenticity of items and a system for verifying the authenticity of items in view of the above-mentioned deficiencies in the prior art, and to provide an item under the supervision mechanism of real-time sharing of blockchain information on the entire network. Authenticity verification method.
解决本发明技术问题所采用的技术方案是该验证物品真伪的方法,包括步骤:The technical solution adopted to solve the technical problem of the present invention is the method for verifying the authenticity of the article, including steps:
厂家节点为出厂的物品设置防伪码,所述防伪码随机产生、且包含与物品相关的明码和暗码;The manufacturer node sets an anti-counterfeit code for the delivered goods, and the said anti-counterfeit code is randomly generated and includes clear and secret codes related to the goods;
厂家节点建立所述物品与所述明码、所述暗码的码标对应表,所述物品、所述明码和所述暗码一一对应;The manufacturer node establishes a code label correspondence table between the item, the plain code, and the secret code, and the item, the plain code, and the secret code are in one-to-one correspondence;
用户节点至少在本地区块链的账本中检索所述明码,将针对所述明码的检索结果进行广播;The user node at least retrieves the plain code in the ledger of the local blockchain, and broadcasts the retrieval result of the plain code;
用户节点根据所述物品是否在本地区块链被公开,确定所述物品的真伪性。The user node determines the authenticity of the item according to whether the item is published in the local blockchain.
优选的是,还包括通过所述暗码确定所述物品的真伪性,包括步骤:Preferably, it also includes determining the authenticity of the article through the password, including the steps of:
用户节点在全网区块链中通过广播信息发起物品真伪验证请求,该所述查询请求中包括有该所述物品的暗码信息;The user node initiates an item authenticity verification request through broadcast information in the entire network blockchain, and the query request includes the encrypted information of the item;
厂家节点监控全网区块链中所有的所述物品真伪验证请求的广播信息,并提取所述暗码;The manufacturer node monitors the broadcast information of all the authenticity verification requests of the items in the entire network blockchain, and extracts the password;
厂家节点在所述码标对应表中检索提取得到的所述暗码,将针对所述暗码的检索结果广播至发出所述物品真伪验证请求的用户节点;The manufacturer node retrieves and extracts the password obtained in the code label correspondence table, and broadcasts the retrieval result for the password to the user node that sends the authenticity verification request of the item;
用户节点根据暗码检索结果确定所述物品的真伪性。The user node determines the authenticity of the item according to the password retrieval result.
优选的是,根据接收到针对所述明码的检索结果,Preferably, according to receiving the retrieval result for the plaintext,
若所述物品未在本地区块链被公开,则物品为厂家正品;If the item in question is not published on the local blockchain, the item is genuine from the manufacturer;
若所述物品已在本地区块链被公开,则物品需进一步确认是否为厂家正品。If the item in question has been published on the local blockchain, it is necessary to further confirm whether the item is genuine from the manufacturer.
优选的是,根据接收到针对所述暗码的检索结果,Preferably, according to receiving the retrieval result for the password,
若针对所述暗码的检索结果为具备对应的暗码信息列表,则物品为厂家正品;If the search result for the password is that there is a corresponding password information list, the item is a genuine product of the manufacturer;
若针对所述暗码的检索结果为不具备对应的暗码信息列表,则物品非厂家正品。If the search result for the password is that there is no corresponding password information list, the item is not a genuine product from the manufacturer.
优选的是,所述明码为随机数串、条形码、二维码中的任一种,在所述码标对应表中对应设置有与所述明码对应的包括所述物品的型号的信息列表;Preferably, the plain code is any one of a random number string, a barcode, or a two-dimensional code, and an information list corresponding to the plain code including the model of the item is set in the code label correspondence table;
所述暗码为随机数串、条形码、二维码中的任一种,在所述码标对应表中对应设置有与所述暗码对应的明码、包括所述物品的型号的信息列表,所述暗码以保密的形式印记在所述物品上或所述物品的包装内。The secret code is any one of random number strings, bar codes, and two-dimensional codes, and the code corresponding to the code is provided in the corresponding table with a clear code corresponding to the secret code and an information list including the model of the item. The secret code is imprinted on the item or in the packaging of the item in a secure manner.
一种验证物品真伪的系统,包括设置模块、对应模块、检索模块、确定模块,其中:A system for verifying the authenticity of items, including a setting module, a corresponding module, a retrieval module, and a determination module, wherein:
所述设置模块,配置为使得厂家节点为出厂的物品设置防伪码,所述防伪码随机产生、且包含与物品相关的明码和暗码;The setting module is configured to enable the manufacturer node to set an anti-counterfeit code for the shipped item, the anti-counterfeit code is randomly generated and includes a clear code and a secret code related to the item;
所述对应模块,配置为使得厂家节点建立所述物品与所述明码、所述暗码的码标对应表,所述物品、所述明码和所述暗码一一对应;The corresponding module is configured to enable the manufacturer node to establish a code label correspondence table between the item, the plain code, and the secret code, and the item, the plain code, and the secret code are in one-to-one correspondence;
所述检索模块,配置为使得厂家节点至少在本地区块链的账本中检索所述明码,将针对所述明码的检索结果进行广播;The retrieval module is configured to enable the manufacturer node to at least retrieve the plain code in the ledger of the local blockchain, and broadcast the retrieval result of the plain code;
所述确定模块,配置为使得用户节点根据所述物品是否在本地区块链被公开,确定所述物品的真伪性。The determination module is configured to enable the user node to determine the authenticity of the item according to whether the item is published in the local blockchain.
优选的是,还包括请求模块和提码模块,以通过所述暗码确定所述物品的真伪性,其中:Preferably, a request module and a code mention module are also included to determine the authenticity of the article through the password, wherein:
所述请求模块,配置为使得用户节点在全网区块链中通过广播信息发起物品真伪验证请求,所述物品真伪验证请求中包括有该所述物品的暗码信息;The request module is configured to enable the user node to initiate an item authenticity verification request through broadcast information in the entire network blockchain, and the item authenticity verification request includes the password information of the item;
所述提码模块,配置为使得厂家节点监控全网区块链中所有的所述物品真伪验证请求的广播信息,并从所述物品真伪验证请求中提取所述暗码;The code-promoting module is configured to make the manufacturer node monitor the broadcast information of all the authenticity verification requests of the items in the entire network blockchain, and extract the password from the authenticity verification requests of the items;
所述检索模块,还配置为使得厂家节点在所述码标对应表中检索提取得到的所述暗码,将针对所述暗码的检索结果广播至发出所述物品真伪验证请求的用户节点;The retrieval module is further configured to enable the manufacturer node to search and extract the password obtained in the code label correspondence table, and broadcast the retrieval result for the password to the user node that sends the authenticity verification request of the item;
所述确定模块,还配置为使得用户节点根据暗码检索结果确定所述物品的真伪性。The determination module is further configured to enable the user node to determine the authenticity of the item according to the password retrieval result.
优选的是,在所述确定模块中,根据接收到针对所述明码的检索结果,Preferably, in the determining module, according to receiving the retrieval result for the plain code,
若所述物品未在本地区块链被公开,则物品为厂家正品;If the item in question is not published on the local blockchain, the item is genuine from the manufacturer;
若所述物品已在本地区块链被公开,则物品需进一步确认是否为厂家正品。If the item in question has been published on the local blockchain, it is necessary to further confirm whether the item is genuine from the manufacturer.
优选的是,在所述确定模块中,根据接收到针对所述暗码的检索结果,Preferably, in the determining module, according to receiving the retrieval result for the password,
若针对所述暗码的检索结果为具备对应的暗码信息列表,则物品为厂家正品;If the search result for the password is that there is a corresponding password information list, the item is a genuine product of the manufacturer;
若针对所述暗码的检索结果为不具备对应的暗码信息列表,则物品非厂家正品。If the search result for the password is that there is no corresponding password information list, the item is not a genuine product from the manufacturer.
优选的是,在所述对应模块中:Preferably, in the corresponding modules:
所述明码为随机数串、条形码、二维码中的任一种,在所述码标对应表中对应设置有与所述明码对应的包括所述物品的型号的信息列表;The plain code is any one of a random number string, a barcode, or a two-dimensional code, and an information list corresponding to the plain code including the model of the item is set in the code label correspondence table;
所述暗码为随机数串、条形码、二维码中的任一种,在所述码标对应表中对应设置有与所述暗码对应的明码、包括所述物品的型号的信息列表,所述暗码以保密的形式印记在所述物品上或所述物品的包装内。The secret code is any one of random number strings, bar codes, and two-dimensional codes, and the code corresponding to the code is provided in the corresponding table with a clear code corresponding to the secret code and an information list including the model of the item. The secret code is imprinted on the item or in the packaging of the item in a secure manner.
本发明的有益效果是:The beneficial effects of the present invention are:
本申请中验证物品真伪的方法及验证物品真伪的系统,通过随机生成的具有唯一对应性的暗码-明码的方式,并将验证物品真伪的查询与区块链技术相结合,使得该物品的明码和暗码可以广播到全网、并写入到区块链的账本中,形成一种基于全网区块链信息实时共享监督机制下的物品真伪的验证,避免了山寨厂家(或假厂家或黑厂家)对同一个验证码反复多次使用或者是正品的验证码被盗用等现象发生,避免了大量的造假行为;同时避免了山寨厂家通过山寨网站或者山寨查询电话的虚假查询方式欺骗消费者的行为,保证了消费者和厂家的双重利益。In this application, the method for verifying the authenticity of items and the system for verifying the authenticity of items, through randomly generated code-clear codes with unique correspondence, and combining the query for verifying the authenticity of items with blockchain technology, make the The clear code and secret code of the item can be broadcast to the entire network and written into the ledger of the blockchain, forming a verification of the authenticity of the item based on the real-time sharing and supervision mechanism of the blockchain information of the entire network, avoiding counterfeit manufacturers (or Fake manufacturers or black manufacturers) repeatedly use the same verification code or the authentic verification code is stolen, avoiding a large number of counterfeiting behaviors; at the same time avoiding the false inquiry methods of counterfeit manufacturers through counterfeit websites or counterfeit inquiry phones The behavior of deceiving consumers ensures the double interests of consumers and manufacturers.
附图说明Description of drawings
图1、图2为本发明实施例中验证物品真伪的方法的流程图;Fig. 1, Fig. 2 are the flowchart of the method for verifying the authenticity of article in the embodiment of the present invention;
图3、图4为本发明实施例中验证物品真伪的系统的结构框图;3 and 4 are structural block diagrams of a system for verifying the authenticity of an article in an embodiment of the present invention;
附图标识中:In the accompanying drawings:
1-设置模块;2-对应模块;3-请求模块;4-提码模块;5-检索模块;6-确定模块。1-setting module; 2-corresponding module; 3-requesting module; 4-code raising module; 5-retrieving module; 6-determining module.
具体实施方式Detailed ways
为使本领域技术人员更好地理解本发明的技术方案,下面结合附图和具体实施方式对本发明验证物品真伪的方法和验证物品真伪的系统作进一步详细描述。In order to enable those skilled in the art to better understand the technical solutions of the present invention, the method for verifying the authenticity of articles and the system for verifying the authenticity of articles of the present invention will be further described in detail below in conjunction with the drawings and specific embodiments.
本实施例提供一种基于区块链的验证物品真伪的方法,从物品产生的那一刻即建立档案,保证物品纯粹的正品性质,能有效鉴别山寨物品造假的现象,保证了消费者和厂家的双重利益,提升消费者体验。This embodiment provides a method for verifying the authenticity of items based on the blockchain. The file is established from the moment the item is produced to ensure that the item is purely authentic, and can effectively identify the counterfeit phenomenon of counterfeit items, ensuring that consumers and manufacturers Double benefits, enhance consumer experience.
如图1所示,该验证物品真伪的方法包括步骤:As shown in Figure 1, the method for verifying the authenticity of the article includes steps:
步骤S1):厂家节点为出厂的物品设置防伪码,防伪码随机产生、且包含与物品相关的明码和暗码。Step S1): The manufacturer node sets an anti-counterfeiting code for the delivered goods, and the anti-counterfeiting code is randomly generated and includes clear and secret codes related to the goods.
在该步骤中,在厂家出厂的物品上设置厂家随机产生的防伪码,该防伪码包含有明码和暗码两个部分,明码可以为该物品的标识,暗码以保密的形式印记在物品上或该物品的包装内。明码可以初步验证该物品的真伪,暗码可以确切验证该物品的真伪。In this step, an anti-counterfeiting code randomly generated by the manufacturer is set on the articles shipped by the manufacturer. The anti-counterfeiting code includes two parts: a clear code and a secret code. within the packaging of the item. The clear code can preliminarily verify the authenticity of the item, and the password can definitely verify the authenticity of the item.
步骤S2):厂家节点建立物品与明码、暗码的码标对应表,物品、明码和暗码一一对应。Step S2): The manufacturer node establishes a code label correspondence table of items, plain codes, and secret codes, and the items, plain codes, and secret codes are in one-to-one correspondence.
码标对应表相当于一个物品数据库,厂家出厂的物品上随机产生的一对明码和暗码,是一一对应的,唯一的,不重复的。在某物品出厂的时候,厂家保存下来该物品的防伪码以及对应的物品信息,也就是说厂家内部存储有所有物品的明码和暗码的对应关系,以及该组明码和暗码对应的物品的品牌和型号等具体信息。The code label correspondence table is equivalent to an item database. A pair of plain codes and secret codes randomly generated on the items shipped by the manufacturer are one-to-one correspondence, unique, and non-repetitive. When an item leaves the factory, the manufacturer saves the anti-counterfeiting code of the item and the corresponding item information, that is to say, the manufacturer internally stores the corresponding relationship between the plain code and the secret code of all items, as well as the brand and brand name of the item corresponding to the group of plain codes and secret codes. Model and other specific information.
明码的形式可以为随机数串、条形码、二维码中的任一种,并且该明码在厂家内部的码标对应表内设置有与该明码对应的包括物品的型号等具体信息的信息列表;暗码用于进一步验证该物品是否属于该厂家的正品,暗码的形式可以为随机数、条形码、二维码中的任一种,在码标对应表中对应设置有与暗码对应的明码、包括物品的型号的信息列表,暗码应以保密的形式印记在物品上或该物品的包装内,消费者刮开保密涂层才可以看到该暗码。The form of the clear code can be any one of random number string, barcode, or two-dimensional code, and the clear code is provided with an information list corresponding to the clear code in the code label correspondence table inside the manufacturer, including the model of the item and other specific information; The code is used to further verify whether the item belongs to the genuine product of the manufacturer. The form of the code can be any of random numbers, barcodes, and two-dimensional codes. The code corresponding to the code is set in the corresponding table. The information list of the model, the password should be imprinted on the article or in the packaging of the article in a confidential manner, and the consumer can only see the password by scratching the confidential coating.
步骤S3):用户节点至少在本地区块链的账本中检索明码,将针对明码的检索结果进行广播。Step S3): The user node at least searches the clear code in the ledger of the local blockchain, and broadcasts the search result for the clear code.
当消费者拿到某物品后,如果要验证该物品的真伪,消费者首先检索自己本地实时同步的区块链的账本(而非厂家的账本)中是否有该物品的明码,也就是说可以查询区块链中该明码是否被公开过。When a consumer gets an item, if he wants to verify the authenticity of the item, the consumer first checks whether there is a clear code of the item in his local real-time synchronized blockchain ledger (not the manufacturer's ledger), that is to say It is possible to query whether the clear code in the blockchain has been disclosed.
步骤S4):用户节点根据物品是否在本地区块链被公开,确定物品的真伪性。Step S4): The user node determines the authenticity of the item according to whether the item is published in the local blockchain.
区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式,本质是一种去中心化的数据库。区块链包含一张被称为区块的列表,有着持续增长并且排列整齐的记录。每个区块都包含一个与前一区块链接起来的时间戳:设计区块链使得数据不可篡改——一旦记录下来,在一个区块中的数据将不可逆。区块链将加密数据(区块)按照时间顺序进行叠加(链)生成的永久、不可逆向修改的记录。因此,根据物品是否在本地被公开,可以确定物品非厂家正品。若物品未在本地区块链被公开,则物品为厂家正品;若物品已在本地区块链被公开,则物品需进一步通过暗码确认是否为厂家正品。Blockchain is a new application model of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. It is essentially a decentralized database. A blockchain consists of a list, called blocks, of continuously growing and well-ordered records. Each block contains a timestamp linked to the previous block: blockchains are designed so that data cannot be tampered with - once recorded, the data in a block is irreversible. The blockchain superimposes encrypted data (blocks) in chronological order (chains) to generate permanent, irreversibly modified records. Therefore, according to whether the item is published locally, it can be determined that the item is not a genuine product of the manufacturer. If the item has not been published on the local blockchain, the item is genuine from the manufacturer; if the item has been published on the local blockchain, the item needs to be further confirmed by password whether it is genuine from the manufacturer.
明码对应的包括物品的型号等具体信息的信息列表,如果消费者在自己本地实时同步的区块链的账本中查询到该明码,则该物品为仿制品,不继续执行后续步骤;如果消费者在自己本地实时同步的区块链的账本中未查询到该明码,则说明该明码没有被公开过,继续执行后续步骤,进一步通过暗码确认物品是否为厂家正品。The information list corresponding to the clear code includes specific information such as the model of the item. If the consumer finds the clear code in the account book of the blockchain that is synchronized locally in real time, the item is a counterfeit and does not continue to perform the next steps; if the consumer If the clear code is not found in the account book of the blockchain that is synchronized locally in real time, it means that the clear code has not been disclosed. Continue to perform the next steps and further confirm whether the item is genuine by the manufacturer through the secret code.
如图2所示,进一步通过暗码确定物品的真伪性包括:As shown in Figure 2, further determining the authenticity of the article through the password includes:
步骤S5):用户节点在全网区块链中通过广播信息发起物品真伪验证请求,该查询请求中包括有该物品的暗码信息。Step S5): The user node initiates an item authenticity verification request through the broadcast information in the blockchain of the whole network, and the query request includes the password information of the item.
消费者刮开该物品上的暗码的涂层,在全网区块链中通过广播信息的方式来发起物品真伪验证请求,在该物品真伪验证请求中包括有该物品的暗码信息。The consumer scratches off the password coating on the item, and initiates an item authenticity verification request by broadcasting information in the blockchain of the entire network, and the item authenticity verification request includes the item's password information.
步骤S6):厂家节点监控全网区块链中所有的物品真伪验证请求的广播信息,并提取暗码。Step S6): The manufacturer node monitors the broadcast information of all item authenticity verification requests in the entire network blockchain, and extracts the password.
厂家实时监控区块链中所有的物品真伪验证请求的广播信息,从中筛选出和自己有关的物品真伪验证请求信息,并对物品真伪验证请求中的暗码进行提取。The manufacturer monitors the broadcast information of all item authenticity verification requests in the blockchain in real time, screens out the item authenticity verification request information related to itself, and extracts the password in the item authenticity verification request.
步骤S7):厂家节点在码标对应表中检索提取得到的暗码,将针对暗码的检索结果广播至发出物品真伪验证请求的用户节点。Step S7): The manufacturer node retrieves and extracts the code in the code label correspondence table, and broadcasts the retrieval result for the code to the user node that sends the request for verifying the authenticity of the item.
厂家节点将该暗码在自己的码标对应表中进行检索,如果在自己的码标对应表中检索不到该暗码,则说明该物品不是自己出厂的物品,并广播这个物品不是厂家生产的消息。The manufacturer node retrieves the password in its own code-label correspondence table, if the code cannot be retrieved in its own code-label correspondence table, it means that the item is not an item manufactured by itself, and broadcasts the message that the item is not produced by the manufacturer .
如果在自己的码标对应表中检索到该暗码,则说明该物品是自己出厂的物品,那么将该暗码对应的该物品的明码和物品信息在区块链中进行公开,也就是说需要将检索到的包括该物品的明码和物品信息结果通过区块链的广播信息的方式广播出去。If the password is retrieved in your own code label correspondence table, it means that the item is an item manufactured by yourself, then the clear code and item information of the item corresponding to the password will be made public in the blockchain, that is to say, you need to The retrieved plain code and item information including the item are broadcasted through the broadcast information of the block chain.
步骤S8):用户节点根据暗码检索结果确定物品的真伪性。Step S8): The user node determines the authenticity of the item according to the password retrieval result.
用户节点根据暗码检索结果确定物品为厂家正品,或者非厂家正品。若针对暗码的检索结果为具备对应的暗码信息列表,则物品为厂家正品;若针对暗码的检索结果为不具备对应的暗码信息列表,则物品非厂家正品。The user node determines whether the item is genuine or non-genuine according to the password retrieval result. If the search result for the password is that there is a corresponding password information list, the item is a genuine product of the manufacturer; if the search result for the password is that there is no corresponding password information list, the item is not a genuine product of the manufacturer.
相应的,如图3所示,本实施例还提供一种验证物品真伪的系统,其包括设置模块1、对应模块2、检索模块5、确定模块6,其中:Correspondingly, as shown in FIG. 3 , this embodiment also provides a system for verifying the authenticity of an article, which includes a setting module 1, a corresponding module 2, a retrieval module 5, and a determination module 6, wherein:
设置模块1,配置为使得厂家节点为出厂的物品设置防伪码,防伪码随机产生、且包含与物品相关的明码和暗码;Setting module 1 is configured to enable the manufacturer node to set an anti-counterfeit code for the goods shipped from the factory, and the anti-counterfeit code is randomly generated and includes clear codes and secret codes related to the goods;
对应模块2,配置为使得厂家节点建立物品与明码、暗码的码标对应表,物品、明码和暗码一一对应;Corresponding module 2 is configured to enable the manufacturer node to establish a code label correspondence table between items and plain codes and secret codes, and the items, plain codes and secret codes correspond one-to-one;
检索模块5,配置为使得厂家节点至少在本地区块链的账本中检索明码,将针对明码的检索结果进行广播;The retrieval module 5 is configured to enable the manufacturer node to at least retrieve the clear code in the ledger of the local blockchain, and broadcast the search results for the clear code;
确定模块6,配置为使得用户节点根据物品是否在本地区块链被公开,确定物品的真伪性。The determination module 6 is configured to enable the user node to determine the authenticity of the item according to whether the item is published in the local blockchain.
其中,在对应模块2中:明码为随机数串、条形码、二维码中的任一种,在码标对应表中对应设置有与明码对应的包括物品的型号的信息列表;暗码为随机数串、条形码、二维码中的任一种,在码标对应表中对应设置有与暗码对应的明码、包括物品的型号的信息列表,暗码以保密的形式印记在物品上或物品的包装内。Wherein, in the corresponding module 2: the plain code is any one of a random number string, a bar code, and a two-dimensional code, and an information list corresponding to the plain code including the model of the article is correspondingly provided in the code label correspondence table; the secret code is a random number Any one of strings, barcodes, and two-dimensional codes. In the code label correspondence table, there are corresponding clear codes corresponding to the codes and an information list including the model of the item. The code is printed on the item or in the packaging of the item in a confidential form. .
在确定模块6中,根据接收到针对明码的检索结果,In the determining module 6, according to receiving the retrieval result for the clear code,
若物品未在本地区块链被公开,则物品为厂家正品;If the item is not published in the local blockchain, the item is genuine from the manufacturer;
若物品已在本地区块链被公开,则物品需进一步通过暗码确认是否为厂家正品。If the item has been published on the local blockchain, the item needs to be further confirmed by password to confirm whether it is the genuine product of the manufacturer.
进一步优选的是,如图4所示,该验证物品真伪的系统还包括请求模块3和提码模块4,以通过暗码确定物品的真伪性,其中:Further preferably, as shown in Figure 4, the system for verifying the authenticity of the article also includes a request module 3 and a code-prompting module 4, to determine the authenticity of the article through a password, wherein:
请求模块3,配置为使得用户节点在全网区块链中通过广播信息发起物品真伪验证请求,物品真伪验证请求中包括有该物品的暗码信息;The request module 3 is configured to make the user node initiate an item authenticity verification request through broadcast information in the entire network blockchain, and the item authenticity verification request includes the password information of the item;
提码模块4,配置为使得厂家节点监控全网区块链中所有的物品真伪验证请求的广播信息,并从物品真伪验证请求中提取暗码;The code raising module 4 is configured to make the manufacturer node monitor the broadcast information of all item authenticity verification requests in the entire network blockchain, and extract the password from the item authenticity verification request;
检索模块5,还配置为使得厂家节点在码标对应表中检索提取得到的暗码,将针对暗码的检索结果广播至发出物品真伪验证请求的用户节点;The retrieval module 5 is also configured to enable the manufacturer node to search and extract the password obtained in the code label correspondence table, and broadcast the retrieval result for the password to the user node that sends the authenticity verification request of the item;
确定模块6,还配置为使得用户节点根据暗码检索结果确定物品的真伪性。The determination module 6 is further configured to enable the user node to determine the authenticity of the item according to the password retrieval result.
在确定模块6中,根据接收到针对暗码的检索结果,In the determination module 6, according to receiving the retrieval result for the password,
若针对暗码的检索结果为具备对应的暗码信息列表,则物品为厂家正品;If the search result for the password is that there is a corresponding password information list, the item is a genuine product of the manufacturer;
若针对暗码的检索结果为不具备对应的暗码信息列表,则物品非厂家正品。If the search result for the password is that there is no corresponding password information list, the item is not a genuine product of the manufacturer.
在该验证物品真伪的方法和验证物品真伪的系统中,当一个用户拿到某物品后,如果要验证该物品的真伪,用户首先检索自己本地实时同步的区块链的账本中是否有该物品的明码,也就是说可以查询本地区块链的账本中该明码是否被公开过,如果在自己本地的实时同步的区块链的账本中查询到该明码,则该物品为仿制品,不继续执行后续步骤。如果在自己本地的实时同步的区块链的账本中没有查询到该明码,则说明该明码没有被公开过,继续执行后续广播物品真伪验证请求、提取暗码并根据暗码进行检索的步骤。用户接收到区块链中的该厂家发送的广播信息(厂家返回的查询请求的响应信息,包括该物品的明码和物品信息),将其中的明码和自己请求验证的物品的明码进行对比,如果一致,则确认该物品为该厂家的正品,如果不一致,则该物品非厂家的正品。In the method for verifying the authenticity of an item and the system for verifying the authenticity of an item, when a user obtains an item, if he wants to verify the authenticity of the item, the user first searches for whether There is a clear code of the item, that is to say, you can check whether the clear code has been disclosed in the local blockchain ledger. If you find the clear code in your local real-time synchronized blockchain ledger, the item is a counterfeit , do not proceed to the next steps. If the clear code is not found in the ledger of the local real-time synchronized blockchain, it means that the clear code has not been disclosed, and the follow-up steps of broadcasting the authenticity verification request of the item, extracting the secret code and searching according to the secret code are continued. The user receives the broadcast information sent by the manufacturer in the blockchain (response information to the query request returned by the manufacturer, including the clear code and item information of the item), and compares the clear code in it with the clear code of the item he requests to verify. If If they are consistent, it is confirmed that the item is a genuine product of the manufacturer. If not, the item is not a genuine product of the manufacturer.
本申请中验证物品真伪的方法和验证物品真伪系统,通过随机生成的具有唯一对应性的暗码-明码的方式,并将验证物品真伪的查询与区块链技术相结合,使得该物品的明码和暗码可以广播到全网、并写入到区块链的账本中,形成一种基于全网区块链信息实时共享监督机制下的物品真伪的验证,避免了山寨厂家(或假厂家或黑厂家)购买一个正品并通过现有的查询的方式来获得该物品的正品的验证码信息,然后生产出大量和该正品具有相同验证码的山寨复制品的现象,避免了同一个验证码反复多次使用或者是正品的验证码被盗用等现象发生,避免了大量的造假行为;同时避免了山寨厂家通过山寨网站或者山寨查询电话的虚假查询方式欺骗消费者的行为,保证了消费者和厂家的双重利益。In this application, the method for verifying the authenticity of the item and the system for verifying the authenticity of the item, through randomly generated code-clear codes with unique correspondence, and combining the query for verifying the authenticity of the item with blockchain technology, make the item The plain code and secret code can be broadcast to the whole network and written into the ledger of the blockchain, forming a verification of the authenticity of items based on the real-time sharing and supervision mechanism of the blockchain information of the whole network, avoiding counterfeit manufacturers (or fake Manufacturers or black manufacturers) purchase a genuine product and obtain the verification code information of the genuine product through the existing query method, and then produce a large number of counterfeit copies with the same verification code as the genuine product, avoiding the same verification Phenomena such as repeated use of codes or authentication codes of genuine products being stolen occur, avoiding a large number of fraudulent behaviors; at the same time avoiding the behavior of counterfeit manufacturers to deceive consumers through fake inquiries through counterfeit websites or counterfeit inquiry telephones, ensuring consumers And the dual interests of manufacturers.
可以理解的是,以上实施方式仅仅是为了说明本发明的原理而采用的示例性实施方式,然而本发明并不局限于此。对于本领域内的普通技术人员而言,在不脱离本发明的精神和实质的情况下,可以做出各种变型和改进,这些变型和改进也视为本发明的保护范围。It can be understood that, the above embodiments are only exemplary embodiments adopted for illustrating the principle of the present invention, but the present invention is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also regarded as the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810448466.6A CN108665288B (en) | 2018-05-11 | 2018-05-11 | Method and system for verifying authenticity of article |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810448466.6A CN108665288B (en) | 2018-05-11 | 2018-05-11 | Method and system for verifying authenticity of article |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108665288A true CN108665288A (en) | 2018-10-16 |
| CN108665288B CN108665288B (en) | 2021-02-12 |
Family
ID=63779053
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810448466.6A Active CN108665288B (en) | 2018-05-11 | 2018-05-11 | Method and system for verifying authenticity of article |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108665288B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109949050A (en) * | 2019-03-12 | 2019-06-28 | 翟红鹰 | Blockchain-based product identification and analysis method, terminal equipment and storage medium |
| CN110135862A (en) * | 2019-04-26 | 2019-08-16 | 安徽美博智能电器有限公司 | Air conditioner method for identifying ID and device |
| CN111311268A (en) * | 2018-11-26 | 2020-06-19 | 深圳市节点加科技有限责任公司 | Commodity anti-counterfeiting code generation and verification method, system and computer readable storage medium |
| CN113592513A (en) * | 2021-07-28 | 2021-11-02 | 李映霆 | Anti-counterfeiting method and system for combined use of light and shade codes |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105701372A (en) * | 2015-12-18 | 2016-06-22 | 布比(北京)网络技术有限公司 | Block chain identity construction and verification method |
| CN106209877A (en) * | 2016-07-19 | 2016-12-07 | 井创(北京)科技有限公司 | A kind of be certification core with block chain backstage false-proof authentication system |
-
2018
- 2018-05-11 CN CN201810448466.6A patent/CN108665288B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105701372A (en) * | 2015-12-18 | 2016-06-22 | 布比(北京)网络技术有限公司 | Block chain identity construction and verification method |
| CN106209877A (en) * | 2016-07-19 | 2016-12-07 | 井创(北京)科技有限公司 | A kind of be certification core with block chain backstage false-proof authentication system |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111311268A (en) * | 2018-11-26 | 2020-06-19 | 深圳市节点加科技有限责任公司 | Commodity anti-counterfeiting code generation and verification method, system and computer readable storage medium |
| CN109949050A (en) * | 2019-03-12 | 2019-06-28 | 翟红鹰 | Blockchain-based product identification and analysis method, terminal equipment and storage medium |
| CN109949050B (en) * | 2019-03-12 | 2022-07-15 | 广东恒立信息科技有限公司 | Block chain-based product identification analysis method, terminal device and storage medium |
| CN110135862A (en) * | 2019-04-26 | 2019-08-16 | 安徽美博智能电器有限公司 | Air conditioner method for identifying ID and device |
| CN110135862B (en) * | 2019-04-26 | 2022-11-18 | 安徽美博智能电器有限公司 | Air conditioner user identity identification method and device |
| CN113592513A (en) * | 2021-07-28 | 2021-11-02 | 李映霆 | Anti-counterfeiting method and system for combined use of light and shade codes |
| CN113592513B (en) * | 2021-07-28 | 2024-04-09 | 李映霆 | Anti-counterfeiting method and system for combined use of light and shade codes |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108665288B (en) | 2021-02-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104463606B (en) | Anti-counterfeiting traceability method and system based on mobile intelligent terminal | |
| CN103729770B (en) | A kind of anti-fake traceability system and its method | |
| CN102779284B (en) | RFID (radio frequency identification device) label integrating comprehensive functions such as merchandise anti-counterfeiting, logistics control and the like | |
| US8421593B2 (en) | Apparatus, systems and methods for authentication of objects having multiple components | |
| US9076024B2 (en) | Anti-counterfeiting system and method | |
| US12198149B2 (en) | System and method for product authentication | |
| CN108460605A (en) | A kind of trace to the source method for anti-counterfeit and the system of the papery art work based on block chain | |
| US20140095398A1 (en) | Double ID Anti-Counterfeit Method and System | |
| CN108665288A (en) | The method of checking article genuine-fake and the system of checking article genuine-fake | |
| EA011327B1 (en) | Methods and system for making, tracking and authentication of products | |
| Shaik | Preventing counterfeit products using cryptography, qr code and webservice | |
| CN103971250B (en) | A kind of one time one card anti-fake traceability system based on mobile terminal and RFID | |
| CN110310130B (en) | A kind of anti-counterfeiting method and system | |
| CN102855577A (en) | Multiple merchandise anti-counterfeiting verification method based on cloud computing | |
| KR20150009962A (en) | Merchandise anti-counterfeiting identification method | |
| CN102622624B (en) | A kind of commodity counterfeit prevention identification system and method | |
| CN104616150A (en) | Tracking, managing and authentic identification system and method for circulation goods | |
| US20090006255A1 (en) | Method of Authentication of the Items Put Into Circulation | |
| CN102819801B (en) | A kind of antiforge system of testing for anti counterfeit appts | |
| US20240161092A1 (en) | Cryptographic digital media authentication and protection protocol | |
| CN104318442A (en) | Involved part interaction based mobile internet information anti-fake system | |
| CN111861500A (en) | A traceability anti-counterfeiting system and traceability anti-counterfeiting method | |
| CN114565393B (en) | A whole-industry chain product traceability authentication method and system based on blockchain technology | |
| CN101833728A (en) | Commodity anti-counterfeiting method | |
| Budyal et al. | Quick Response Code-Based Fake Product Verification System Using Blockchain Technology |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |