CN108985785B - Commodity anti-counterfeiting system based on block chain and method for checking authenticity of commodities - Google Patents

Commodity anti-counterfeiting system based on block chain and method for checking authenticity of commodities Download PDF

Info

Publication number
CN108985785B
CN108985785B CN201810285919.8A CN201810285919A CN108985785B CN 108985785 B CN108985785 B CN 108985785B CN 201810285919 A CN201810285919 A CN 201810285919A CN 108985785 B CN108985785 B CN 108985785B
Authority
CN
China
Prior art keywords
block chain
node server
block
counterfeiting
commodity
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.)
Active
Application number
CN201810285919.8A
Other languages
Chinese (zh)
Other versions
CN108985785A (en
Inventor
蔡启容
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Supereye Network Technology Co ltd
Original Assignee
Dongguan Supereye Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan Supereye Network Technology Co ltd filed Critical Dongguan Supereye Network Technology Co ltd
Priority to CN201810285919.8A priority Critical patent/CN108985785B/en
Priority to PCT/CN2018/090671 priority patent/WO2019192072A1/en
Publication of CN108985785A publication Critical patent/CN108985785A/en
Application granted granted Critical
Publication of CN108985785B publication Critical patent/CN108985785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • H04L63/1466Active attacks involving interception, injection, modification, spoofing of data unit addresses, e.g. hijacking, packet injection or TCP sequence number attacks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/56Financial cryptography, e.g. electronic payment or e-cash
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2463/00Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
    • H04L2463/102Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00 applying security measure for e-commerce
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions

Abstract

The invention is suitable for the anti-counterfeiting field and provides a commodity anti-counterfeiting system based on a block chain and a method for checking the authenticity of a commodity. When providing anti-counterfeiting check for a brand, the commodity anti-counterfeiting system based on the block chain comprises a block chain node server and a check node server, wherein the block chain node server comprises a block chain master node server and one or more block chain slave node servers. The invention can be used for verifying whether the data recorded by the commodity anti-counterfeiting system based on the block chain is changed or not, can prevent anyone from tampering the data in the check node server, and further solves the trust problem among anti-counterfeiting companies, brand merchants and consumers.

Description

Commodity anti-counterfeiting system based on block chain and method for checking authenticity of commodities
Technical Field
The invention belongs to the field of anti-counterfeiting, and particularly relates to a commodity anti-counterfeiting system based on a block chain and a method for checking authenticity of a commodity.
Background
The anti-fake technology is a technical means for identifying true and false and preventing counterfeiting, alteration and clone behaviors. The system for checking the authenticity of the commodities in the prior art comprises a brand merchant checking server and an anti-counterfeiting company checking server, wherein the brand merchant checking server receives commodity identification codes, which are input by a user, of anti-counterfeiting labels attached to commodities to be checked, and each anti-counterfeiting label corresponds to one commodity identification code; the brand merchant checking server judges whether the commodity identification code input by the user is prestored, if so, a label pattern before the anti-counterfeit label corresponding to the goods identification code input by the user is delivered to the brand merchant and a pre-stored anti-counterfeit pattern corresponding to the goods identification code input by the user are displayed on a user check page, the user compares the label pattern and the anti-counterfeiting pattern with the label pattern and the anti-counterfeiting pattern of the commodity to be checked to check the authenticity of the commodity, wherein the anti-counterfeiting pattern is a label pattern which is obtained by performing anti-counterfeiting treatment on an anti-counterfeiting label delivered by an anti-counterfeiting company by a brand manufacturer, or the anti-counterfeiting label is attached to the carrier with texture, or the anti-counterfeiting pattern is attached to the commodity package, when the anti-counterfeiting pattern is the anti-counterfeiting pattern on the commodity package, the anti-counterfeiting pattern and/or the label pattern on the commodity package are random; the anti-counterfeiting company checking server is used for storing a label pattern before the anti-counterfeiting label corresponding to the commodity identification code input by the user is delivered to a brand merchant.
Although the system for checking the authenticity of the commodity in the prior art is utilized, the information checked by the user comes from the anti-counterfeiting company and the brand company, and the texture information seen from the anti-counterfeiting pattern and the label pattern can be mutually verified, the reliability is high compared with the reliability that the information checked by the prior art only comes from the anti-counterfeiting company or the brand company. However, if the staff of the anti-counterfeiting company and the brand dealer conspire to change the system data, the data are not easy to be discovered, so the reliability of the system for checking the authenticity of the goods in the prior art is still not high enough.
Disclosure of Invention
The invention aims to provide a commodity anti-counterfeiting system based on a block chain and a method for checking the authenticity of a commodity, and aims to solve the problem that in the commodity authenticity checking system in the prior art, if staff of an anti-counterfeiting company and a brand company collaboratively change system data, the data are not easy to be found.
In a first aspect, the present invention provides a commodity anti-counterfeiting system based on a blockchain, which comprises a blockchain node server and a check node server when providing anti-counterfeiting check for a brand, wherein the blockchain node server comprises a blockchain master node server and one or more blockchain slave node servers,
the block chain main node server is used for accounting of the anti-counterfeiting information block chain of one brand; broadcasting the data generated by accounting to the block chain slave node server;
the block chain slave node server is used for receiving and backing up data of the anti-counterfeiting information block chain of the brand responsible for the block chain master node server and verifying the correctness of the data;
and the checking node server is used for storing the anti-counterfeiting information of the commodity, judging whether the anti-counterfeiting information is matched with the Hash value of the anti-counterfeiting information corresponding to the commodity identification code recorded by the randomly selected block chain node server or not when a request for checking the authenticity of the commodity is received by a user, and displaying the anti-counterfeiting information on a user checking page if the anti-counterfeiting information is matched with the Hash value of the anti-counterfeiting information corresponding to the commodity identification code recorded by the randomly selected block chain node server.
In a second aspect, the present invention provides a method for verifying the authenticity of a commodity, the method comprising:
the checking node server receives the anti-counterfeiting label attached to the commodity to be checked or the commodity identity identification code on the anti-counterfeiting package, which is input by a user;
the check node server judges whether a commodity identification code input by a user is prestored, and if the commodity identification code input by the user is prestored, anti-counterfeiting information corresponding to the commodity identification code input by the user is read;
the check node server calculates a hash value of the anti-counterfeiting information through an irreversible encryption algorithm, and sends the commodity identification code and the hash value or the commodity identification code to the block chain node server for inquiry;
when the check node server sends the commodity identity identification code and the hash value to the blockchain node server for inquiry, the inquired blockchain node server judges whether the commodity identity identification code and the hash value are equal to those recorded; when the check node server sends the commodity identification code to the block chain node server for inquiry, the inquired block chain node server sends the hash value recorded corresponding to the commodity identification code to the check node server and the hash value is judged by the check node server;
if the inquired block chain link point servers judge to be equal, the inquired block chain link point server informs the check node server so that the check node server displays the anti-counterfeiting information on a user inquiry page; and if the two are judged to be equal, the check node server displays the anti-counterfeiting information on the user query page.
In the invention, as the anti-counterfeiting information and the check record both apply the block chain technology, and the data cannot be modified once being written, the block chain-based commodity anti-counterfeiting system can be used for verifying whether the data recorded by the block chain-based commodity anti-counterfeiting system is modified or not, thereby preventing anyone from tampering the data in the check node server and further solving the trust problem among anti-counterfeiting companies, brands and consumers. And after the anti-counterfeiting measure is implemented on the commodity by the brand manufacturer, the anti-counterfeiting information is recorded in the block chain through irreversible encryption by the block chain main node server, and the block body records only the hash value of the anti-counterfeiting information, so that the anti-counterfeiting information is very safe because the anti-counterfeiting information is still not disclosed to other people although the data of the anti-counterfeiting information block chain and the data of the block chain of the checking record are disclosed to all block chain link point servers and all the data recorded in the blocks are possessed by the block chain link point servers.
Drawings
Fig. 1 is a schematic diagram of a commodity anti-counterfeiting system based on a blockchain when providing anti-counterfeiting verification for a brand according to an embodiment of the present invention.
Fig. 2 is a flowchart of a method for verifying authenticity of a product according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
The first embodiment is as follows:
referring to fig. 1, a commodity anti-counterfeiting system based on a block chain according to an embodiment of the present invention includes a block chain node server and a check node server 11, where the block chain node server includes a block chain master node server 12 and one or more block chain slave node servers 13, and the check node server may be a check node server of an anti-counterfeiting company or a check node server of a brand company, where,
a block chain master node server 12, which is used for accounting of the anti-counterfeiting information block chain of a brand; data generated for billing is broadcast to the blockchain slave node servers. The accounting refers to block data of an anti-counterfeiting information block chain of a commodity or a batch of commodities. The commodity identification code corresponding to the block data of the anti-counterfeiting information block chain to be generated can be automatically acquired by a block chain main node server, manually input the commodity identification code one by one, or imported by data; the anti-counterfeiting information corresponding to the commodity identity identification code can be obtained from the commodity identity identification code to the checking node server or can be obtained in a leading-in mode; and the data form of the imported data can be the data or the encrypted hash value of the data. Each block data is composed of a block head and a block body, wherein the block head comprises a hash value of the previous block data (which can be the hash value of the whole or part of the previous block data) and a hash value of the block body of the block data; the block records the commodity identification code of a commodity or a batch of commodities and the hash value of the corresponding anti-counterfeiting information.
And the block chain slave node server 13 is used for receiving and backing up data of the anti-counterfeiting information block chain of the brand responsible for the block chain master node server, and verifying the correctness of the data.
The checking node server 11 is used for storing the anti-counterfeiting information of the commodity, judging whether the anti-counterfeiting information is matched with the hash value of the anti-counterfeiting information corresponding to the commodity identification code recorded by the randomly selected block chain node server or not when a request of checking the authenticity of the commodity is received by a user, and displaying the anti-counterfeiting information on a user checking page if the anti-counterfeiting information is matched with the hash value of the anti-counterfeiting information corresponding to the commodity identification code recorded by the randomly selected block chain node server; matching means that a hash value obtained after the anti-counterfeiting information passes through an encryption algorithm is equal to a hash value recorded by a block link point server, and the encryption algorithm is the same as that adopted by an anti-counterfeiting information block chain; the checking node server is also used for initiating an inquiry to the block chain link point server with the checking record block chain when receiving a request of checking the authenticity of the commodity from the user, and inquiring whether the checked commodity identification code is checked and/or the checked condition.
The block link point server participates in the accounting right competition of the ping record block chain, if the ping records of all consumers are written into the ping record block chain, we can know that the commodity is pinged for the second time, but in this way, the block generation speed of the ping record block chain must be fast enough, so the ping record block chain is very long, the bifurcation is easy to occur, and the system performance is very poor. The solution method can be as follows: the checking record block chain only records all the commodity identification codes and checking time which are checked for the first time in a time period, namely only one block is generated in one time period. For example, the recording information is as follows: the commodity is inspected for the first time in X year, X month, X day, and no record indicates that the commodity is not inspected. In combination with the characteristics of the anti-counterfeiting industry, a block can be designed to be generated in about 24 hours or more, because a counterfeiter cannot complete the following whole process in 24 hours: the checked commodity identification code is recycled (including packaging recycling), used for making fake products and sold to consumers.
In the first embodiment of the present invention, the block chain master node server may be further configured to assist in an anti-counterfeit verification query initiated by the check node server; regularly verifying the anti-counterfeiting information block chain, including in-chain verification and out-chain verification, and generating a log; the contention checks the billing rights of the block chain of records. The block chain slave node server can also be used for receiving and backing up data of the checking record block chain of the brand which is responsible for the block chain master node server, receiving and backing up data of the checking record block chain sent by other block chain slave node servers, and assisting anti-counterfeiting verification inquiry initiated by the checking node server; regularly verifying all anti-counterfeiting information block chains, including intra-chain verification and out-chain verification, and generating logs; the contention checks the billing rights of the block chain of records. In-chain verification, namely whether the block data before and after verification is a ring or not is determined, and whether the data recorded by the block is matched with the data recorded by the check node server or not is not considered; off-chain verification refers to verifying whether the data recorded by the blob matches the data recorded by the pinging node server (since the blob chain cannot be modified, it can be verified whether the data recorded by the pinging node server has been altered).
In the first embodiment of the present invention, the commodity anti-counterfeit system based on the block chain may also include two check node servers, which are a check node server of an anti-counterfeit company and a check node server of a brand company. When a user logs in an inspection node server of an anti-counterfeiting company or logs in an inspection node server of a brand company for inspection, an anti-counterfeiting pattern corresponding to a commodity identification code input by the user and a label pattern corresponding to an anti-counterfeiting label corresponding to the commodity identification code input by the user before being delivered to the brand company are displayed on a user inspection page, so that the user can check the authenticity of the commodity by comparison. That is, the information checked by the user comes from the anti-counterfeiting company and the brand manufacturer, and the texture information seen from the anti-counterfeiting pattern and the label pattern can be mutually verified, so that the reliability of checking the authenticity of the commodity is higher.
The flow of adding anti-counterfeiting information of the commodity anti-counterfeiting system based on the block chain is as follows:
the anti-counterfeiting information of the brand merchant after anti-counterfeiting processing on the commodity is recorded in the check node server, the block chain main node server generates block data after carrying out irreversible encryption on the anti-counterfeiting information of the commodity, and the block data is recorded in the anti-counterfeiting information block chain of the block chain main node server of the brand merchant and is broadcasted to other block chain link point servers in the commodity anti-counterfeiting system. Mode 1: the method comprises the steps that a block chain main node server of a brand merchant receives an input commodity identity identification code corresponding to a commodity which is subjected to anti-counterfeiting processing, the block chain main node server initiates a data reading request to an inspection node server of a corresponding brand, the inspection node server of the corresponding brand obtains a hash value of the corresponding anti-counterfeiting information through an irreversible encryption algorithm after receiving the request, and the inspection node server sends the hash value to the block chain main node server; or the check node server of the corresponding brand directly provides the anti-counterfeiting information, the block chain main node server obtains the hash value of the anti-counterfeiting information through an irreversible encryption algorithm, and the block chain main node server records the hash value in the anti-counterfeiting information block chain (in the block of the block data) through processing. Mode 2: the check node server of the brand merchant generates a data table by using a hash value obtained by an irreversible encryption algorithm and the commodity identity identification code of the anti-counterfeiting information corresponding to the commodity identity identification code which is subjected to anti-counterfeiting processing, and then exports the data table, the check node server sends the data table to the block chain main node server, and the block chain main node server generates new block data on the basis of the existing anti-counterfeiting information block chain by using the data table.
Example two:
the second embodiment of the present invention provides a commodity anti-counterfeiting system based on a block chain, wherein when providing anti-counterfeiting checks for multiple brands, the commodity anti-counterfeiting system is different from the commodity anti-counterfeiting system based on the block chain provided by the first embodiment of the present invention in that:
the commodity anti-counterfeiting system based on the block chain comprises a plurality of block chain main node servers and a plurality of checking node servers, wherein one brand corresponds to one block chain main node server and one checking node server, and the block chain main node server corresponding to each brand can be used as a block chain slave node server of other brands. The block chain main node server of one brand can also be used for verifying the anti-counterfeiting information by matching with the check node servers of other brands; regularly verifying anti-counterfeiting information block chains of all recorded brands, including in-chain verification and out-chain verification, and generating logs; checking the accounting right of the block chain; and broadcasting the data to all the block link point servers.
In the second embodiment of the present invention, the commodity anti-counterfeiting system based on the blockchain may further include a blockchain slave node server for all brands.
In the commodity anti-counterfeiting system based on the block chain provided by the embodiment of the invention, when anti-counterfeiting examination is provided for N brands, each block chain link point server stores N +1 block chains, each block chain is 1 for each brand anti-counterfeiting information block chain, and the examination record block chain records examination records of all brands. The accounting right of one anti-counterfeiting information block chain is only owned by the block chain main node server corresponding to the brand.
Example three:
referring to fig. 2, a third method for verifying authenticity of a product according to an embodiment of the present invention includes the following steps: it should be noted that the method for verifying the authenticity of the product according to the present invention is not limited to the flow sequence shown in fig. 2 if the same results are obtained.
S101, the check node server receives anti-counterfeit labels attached to the commodities to be checked or commodity identification codes on anti-counterfeit packages, wherein each anti-counterfeit label or each anti-counterfeit package corresponds to one commodity identification code, and the commodities are input by a user.
In the third embodiment of the present invention, the user can input the anti-counterfeit label attached to the commodity to be inspected or the commodity identification code on the anti-counterfeit package through the modes of logging in the corresponding webpage, APP, wechat application and the like of the inspection node server through a computer, a mobile phone or other mobile communication devices.
S102, the check node server judges whether the commodity identification code input by the user is prestored, and if the commodity identification code input by the user is prestored, the anti-counterfeiting information corresponding to the commodity identification code input by the user is read.
S103, the check node server calculates a hash value of the anti-counterfeiting information through an irreversible encryption algorithm, and sends the commodity identification code and the hash value or the commodity identification code to the block chain node server for inquiry. The irreversible encryption algorithm is the same as the encryption algorithm adopted by the anti-counterfeiting information block chain.
S104, when the check node server sends the commodity identity identification code and the hash value to the block chain node server for inquiry, the inquired block chain node server judges whether the commodity identity identification code and the hash value are equal to the records or not; when the check node server sends the commodity identification code to the block chain node server for inquiry, the inquired block chain node server sends the hash value recorded corresponding to the commodity identification code to the check node server and the hash value is judged by the check node server.
S105, if the inquired block chain link point servers judge to be equal, the inquired block chain link point servers inform the check node server so that the check node server can display the anti-counterfeiting information on a user inquiry page; and if the two are judged to be equal, the check node server displays the anti-counterfeiting information on the user query page.
In the third embodiment of the present invention, the method for verifying the authenticity of a commodity may further include the following steps:
the inquired block chain link point server also judges whether an inspection record of the inspected commodity identification code exists in the inspection record block chain, if no inspection record exists, the inquired block chain link point server informs the inspection node server to display when the inspection node server is not inspected before, if the inspection record exists, the inquired block chain link point server sends the inspection record to the inspection node server to display the time of initial inspection on the user inquiry page.
In the third embodiment of the present invention, the method for verifying the authenticity of a commodity may further include the following steps:
the block chain node server performs out-of-chain verification on all brands of anti-counterfeiting information block chains one by one according to instructions, the block chain node server initiates inquiry to the checking node server of the corresponding brand, after receiving the inquiry, the checking node server calculates the hash value of the anti-counterfeiting information corresponding to the commodity identification code inquired by the block chain node server through an irreversible encryption algorithm and sends the hash value back to the block chain node server, the block chain node server judges whether the anti-counterfeiting information is equal to the recorded anti-counterfeiting information or not, and if the anti-counterfeiting information is unequal, an alarm is sent to a system administrator.
In the third embodiment of the present invention, the ping record block chain may be generated by:
and each block chain link point server packs the related data of all brands of commodities which are initially checked in the next time period and are finally recorded by the checking record block chain, performs in-chain verification on the checking record chain, and starts to find a random number if the random number is correct, so that the hash value of the block head of the block to be generated or the whole block is smaller than the difficulty coefficient. And after the random number meeting the requirement is found, the block data is stored and broadcasted to other block chain node servers. And immediately entering the generation process of the next block data after broadcasting. And after receiving the broadcast data, the other block chain node servers verify whether the block data is qualified, and if so, the block chain node servers enter the generation process of the next block data under the new block. The block head contains the hash value of the block head of the previous block or the hash value of the block whole of the previous block, the hash value of the block of the current block, a random number, a difficulty coefficient, a threshold value, and the like. The block contains data relating to all brands of goods examined for the first time over a period of time.
In the third embodiment of the present invention, the consensus mechanism of the anti-counterfeit information block chain is master accounting + off-chain verification. The consensus mechanism for checking the block chain of records is workload certification + off-chain verification, and all block link points compete for accounting rights through the workload certification. Because the number of the nodes is not too much and a block does not need to be generated in a short time, the problems of capacity expansion, efficiency, power waste and the like are solved.
In the third embodiment of the present invention, a distribution consensus mechanism (air transportation mechanism) is adopted for the random number, and a serial number is set for each block link point server when the system is initially set up, wherein the serial number is from 0 to N, and N is the total number of the block link point servers;
each time a competition checks the accounting authority of the record block chain:
the random number allocated to the 0 block chain node point server is as follows: 0. n, 2N, 3N, 4N, 5N … …;
the random number allocated to the block chain node point server No. 1 is as follows: 1. n +1, 2N +1, 3N +1, 4N +1, 5N +1 … …;
the random number allocated to the block chain node point server with number x is as follows: x, N + x, 2N + x, 3N + x, 4N + x, 5N + x … …;
therefore, the problem that the existing block chain system is easy to branch is solved.
In the invention, as the anti-counterfeiting information and the check record both apply the block chain technology, and the data cannot be modified once being written, the block chain-based commodity anti-counterfeiting system can be used for verifying whether the data recorded by the block chain-based commodity anti-counterfeiting system is modified or not. And after the anti-counterfeiting measure is implemented on the commodity by the brand manufacturer, the anti-counterfeiting information is recorded in the block chain through irreversible encryption by the block chain main node server, and the block body records only the hash value of the anti-counterfeiting information, so that the anti-counterfeiting information is very safe because the anti-counterfeiting information is still not disclosed to other people although the data of the anti-counterfeiting information block chain and the data of the block chain of the checking record are disclosed to all block chain link point servers and all the data recorded in the blocks are possessed by the block chain link point servers.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (14)

1. A commodity anti-counterfeiting system based on block chains is characterized in that when anti-counterfeiting examination is provided for a brand, the commodity anti-counterfeiting system comprises a block chain link point server and an examination node server, the block chain link point server comprises a block chain master node server and one or more block chain slave node servers, wherein,
the block chain main node server is used for accounting of the anti-counterfeiting information block chain of one brand; broadcasting the data generated by accounting to the block chain slave node server;
the block chain slave node server is used for receiving and backing up data of the anti-counterfeiting information block chain of the brand responsible for the block chain master node server and verifying the correctness of the data;
and the checking node server is used for storing the anti-counterfeiting information of the commodity, judging whether the anti-counterfeiting information is matched with the Hash value of the anti-counterfeiting information corresponding to the commodity identification code recorded by the randomly selected block chain node server or not when a request for checking the authenticity of the commodity is received by a user, and displaying the anti-counterfeiting information on a user checking page if the anti-counterfeiting information is matched with the Hash value of the anti-counterfeiting information corresponding to the commodity identification code recorded by the randomly selected block chain node server.
2. The merchandise anti-counterfeiting system according to claim 1, wherein the pinging node server is a pinging node server of an anti-counterfeiting company or a pinging node server of a brand company.
3. The merchandise anti-counterfeiting system according to claim 1, wherein the accounting means block data for generating an anti-counterfeiting information block chain of a merchandise or a batch of merchandise;
each block data is composed of a block head and a block body, the block head comprises the hash value of the previous block data and the hash value of the block body of the block data, and the block body records the commodity identification code of a commodity or a batch of commodities and the hash value of the corresponding anti-counterfeiting information.
4. The merchandise anti-counterfeiting system according to claim 1, wherein the check node server is further configured to initiate an inquiry to the block link point server having the check record block chain when receiving a request from the user to check the authenticity of the merchandise, and inquire whether the checked merchandise identification code is checked and/or checked.
5. The merchandise anti-counterfeiting system according to claim 1, wherein the inspection recording block chain records only all the merchandise identification codes and the inspection time which are inspected for the first time within a time period.
6. The merchandise anti-counterfeiting system according to claim 1, wherein the blockchain master node server is further configured to assist in an anti-counterfeiting verification query initiated by the check node server; regularly verifying the anti-counterfeiting information block chain, including in-chain verification and out-chain verification, and generating a log; checking the accounting right of the block chain;
the block chain slave node server is also used for receiving and backing up data of the checking record block chain of the brand which is responsible for the block chain master node server, receiving and backing up data of the checking record block chain sent by other block chain slave node servers, and assisting anti-counterfeiting verification inquiry initiated by the checking node server; regularly verifying all anti-counterfeiting information block chains, including intra-chain verification and out-chain verification, and generating logs; the contention checks the billing rights of the block chain of records.
7. The merchandise anti-counterfeiting system according to claim 1, further comprising another ping node server, wherein the two ping node servers are a ping node server of an anti-counterfeiting company and a ping node server of a brand company, respectively.
8. The merchandise anti-counterfeiting system according to any one of claims 1 to 7, wherein when providing anti-counterfeiting checks for a plurality of brands, the merchandise anti-counterfeiting system comprises a plurality of blockchain master node servers and a plurality of check node servers, one brand corresponds to one blockchain master node server and one check node server, and the blockchain master node server corresponding to each brand simultaneously serves as a blockchain slave node server of other brands;
the block chain main node server of one brand is also used for verifying the anti-counterfeiting information by matching with the check node servers of other brands; regularly verifying anti-counterfeiting information block chains of all recorded brands, including in-chain verification and out-chain verification, and generating logs; checking the accounting right of the block chain; and broadcasting the data to all the block link point servers.
9. The merchandise security system of claim 8, further comprising a blockchain slave node server for all brands.
10. A method of verifying the authenticity of an article, the method comprising:
the checking node server receives the anti-counterfeiting label attached to the commodity to be checked or the commodity identity identification code on the anti-counterfeiting package, which is input by a user;
the check node server judges whether a commodity identification code input by a user is prestored, and if the commodity identification code input by the user is prestored, anti-counterfeiting information corresponding to the commodity identification code input by the user is read;
the check node server calculates a hash value of the anti-counterfeiting information through an irreversible encryption algorithm, and sends the commodity identification code and the hash value or the commodity identification code to the block chain node server for inquiry;
when the check node server sends the commodity identity identification code and the hash value to the blockchain node server for inquiry, the inquired blockchain node server judges whether the commodity identity identification code and the hash value are equal to those recorded; when the check node server sends the commodity identification code to the block chain node server for inquiry, the inquired block chain node server sends the hash value recorded corresponding to the commodity identification code to the check node server and the hash value is judged by the check node server;
if the inquired block chain link point servers judge to be equal, the inquired block chain link point server informs the check node server so that the check node server displays the anti-counterfeiting information on a user inquiry page; and if the two are judged to be equal, the check node server displays the anti-counterfeiting information on the user query page.
11. The method as claimed in claim 10, wherein the queried block-link point server further determines whether there is a ping record of the goods id to be queried in the ping record block chain, and if there is no ping record, the queried block-link point server informs the ping node server to indicate when it has not been queried before by the ping node server, and if there is a ping record, the queried block-link point server sends the ping record to the ping node server to indicate the time of the first time on the user's ping page by the ping node server.
12. The method of claim 10, wherein the method further comprises:
the block chain node server performs out-of-chain verification on all brands of anti-counterfeiting information block chains one by one according to instructions, the block chain node server initiates inquiry to the checking node server of the corresponding brand, after receiving the inquiry, the checking node server calculates the hash value of the anti-counterfeiting information corresponding to the commodity identification code inquired by the block chain node server through an irreversible encryption algorithm and sends the hash value back to the block chain node server, the block chain node server judges whether the anti-counterfeiting information is equal to the recorded anti-counterfeiting information or not, and if the anti-counterfeiting information is unequal, an alarm is sent to a system administrator.
13. The method of claim 10, wherein the ping record block chain is generated by:
each block chain link point server packs the related data of all brands of commodities which are inspected for the first time in the next time period and are recorded at the last time of the inspection record block chain, performs in-chain verification on the inspection record chain, and starts to find a random number if the random number is correct, so that the hash value of the block head of the block to be generated or the whole block is smaller than the difficulty coefficient;
after finding out random numbers meeting the requirements, storing block data and broadcasting the block data to other block link point servers;
after broadcasting, immediately entering the generation process of the next block data;
and after receiving the broadcast data, the other block chain node servers verify whether the block data is qualified, and if so, the block chain node servers enter the generation process of the next block data under the new block.
14. The method of claim 13, wherein a consensus is assigned to the random number, and a number is assigned to each blockchain node server at system setup, from 0 to N, where N is the total number of blockchain node servers;
each time a competition checks the accounting authority of the record block chain:
the random number allocated to the 0 block chain node point server is as follows: 0. n, 2N, 3N, 4N, 5N … …;
the random number allocated to the block chain node point server No. 1 is as follows: 1. n +1, 2N +1, 3N +1, 4N +1, 5N +1 … …;
the random number allocated to the block chain node point server with number x is as follows: x, N + x, 2N + x, 3N + x, 4N + x, 5N + x … ….
CN201810285919.8A 2018-04-03 2018-04-03 Commodity anti-counterfeiting system based on block chain and method for checking authenticity of commodities Active CN108985785B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810285919.8A CN108985785B (en) 2018-04-03 2018-04-03 Commodity anti-counterfeiting system based on block chain and method for checking authenticity of commodities
PCT/CN2018/090671 WO2019192072A1 (en) 2018-04-03 2018-06-11 Blockchain-based merchandise anti-counterfeiting system, and method for checking authenticity of merchandise

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810285919.8A CN108985785B (en) 2018-04-03 2018-04-03 Commodity anti-counterfeiting system based on block chain and method for checking authenticity of commodities

Publications (2)

Publication Number Publication Date
CN108985785A CN108985785A (en) 2018-12-11
CN108985785B true CN108985785B (en) 2022-04-15

Family

ID=64541770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810285919.8A Active CN108985785B (en) 2018-04-03 2018-04-03 Commodity anti-counterfeiting system based on block chain and method for checking authenticity of commodities

Country Status (2)

Country Link
CN (1) CN108985785B (en)
WO (1) WO2019192072A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109727044A (en) * 2018-12-29 2019-05-07 百度在线网络技术(北京)有限公司 Brand transaction methods, device, equipment and medium based on block chain
CN109754327A (en) * 2019-01-11 2019-05-14 深圳市点点电子商务有限公司 Recognition methods, system and the computer readable storage medium of false letter of guarantee
CN110716988B (en) * 2019-10-21 2023-11-28 合肥徽盟云链信息技术有限公司 Anti-fake traceability system based on block chain
CN110958317B (en) * 2019-11-29 2022-08-09 腾讯科技(深圳)有限公司 Data processing method and equipment
CN111199026B (en) * 2019-12-26 2023-05-23 安徽讯呼信息科技有限公司 Block chain service system
CN111368953A (en) * 2020-03-10 2020-07-03 大仝智能科技有限公司 Product anti-counterfeiting traceability system and method
CN111325564B (en) * 2020-03-17 2024-02-02 河南佼荣网络科技有限公司 Method and system for realizing supply chain tracing by using block chain
CN111585994A (en) * 2020-04-27 2020-08-25 中国银行股份有限公司 Data processing method and system
CN111709758A (en) * 2020-05-09 2020-09-25 杨绍荣 Pu' er tea identification method applying multiple identification technologies
CN111626752B (en) * 2020-05-18 2023-08-29 深圳市沃客非凡科技有限公司 E-commerce product information tracing method and system based on block chain and Internet of things coupling
CN111652629A (en) * 2020-05-21 2020-09-11 杭州溪塔科技有限公司 Commodity anti-counterfeiting method and device based on block chain
CN112035426A (en) * 2020-08-06 2020-12-04 珠海格力电器股份有限公司 Supply chain data anti-counterfeiting method, device, equipment and computer readable medium
CN112540338A (en) * 2020-10-23 2021-03-23 国网天津市电力公司 Intelligent electric meter verification system based on block chain technology
CN113011975A (en) * 2021-02-22 2021-06-22 西安超越申泰信息科技有限公司 Block chain anti-counterfeiting transaction method supporting national cryptographic algorithm and computer equipment
CN113159690A (en) * 2021-05-08 2021-07-23 包头市畅行交通信息科技有限公司 Method and system for anti-counterfeiting tracing of cross-border commodities based on Internet of things
CN115065506B (en) * 2022-05-25 2024-04-30 深圳壹盆花文创科技有限公司 Management system for identifying authenticity of artwork and authorship based on blockchain

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608588A (en) * 2016-01-04 2016-05-25 布比(北京)网络技术有限公司 Tracing record processing method and apparatus
CN106209877A (en) * 2016-07-19 2016-12-07 井创(北京)科技有限公司 A kind of be certification core with block chain backstage false-proof authentication system
CN106447358A (en) * 2016-10-10 2017-02-22 东莞市天眼网络科技有限公司 Method and system for examining authenticity of goods
CN106570710A (en) * 2016-10-27 2017-04-19 纸飞机(北京)科技有限公司 Commodity anti-counterfeiting method and device
CN107341676A (en) * 2017-07-17 2017-11-10 深圳天净喔溯源科技有限公司 False proof mark and the method for tracing to the source
CN107633414A (en) * 2017-10-18 2018-01-26 上海唯链信息科技有限公司 A kind of case and bag based on block chain technology are false proof and traceability system
CN107730280A (en) * 2017-10-18 2018-02-23 上海唯链信息科技有限公司 A kind of design and realization of the Antiforge system based on block chain technology

Also Published As

Publication number Publication date
WO2019192072A1 (en) 2019-10-10
CN108985785A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN108985785B (en) Commodity anti-counterfeiting system based on block chain and method for checking authenticity of commodities
CN109345264B (en) Wine product traceability anti-counterfeiting system and method based on block chain
US20200043001A1 (en) Pet Food Traceability System and Method Therefor
CN111414429B (en) Block chain-based commodity information management method, electronic equipment and storage medium
CN108364181A (en) Source tracing method and system based on block chain and Internet of Things mark
CN107292629A (en) Anti-counterfeit tracking verification method based on block chain and the device using this method
US8421593B2 (en) Apparatus, systems and methods for authentication of objects having multiple components
US8165964B2 (en) Detection of counterfeited products based on sensor measurements
EA030541B1 (en) Method and apparatus for marking and accounting manufactured items in a batch
CN101009014A (en) Secure anti-counterfeiting method and system thereof
CN102063633A (en) Anti-counterfeiting method based on radio frequency identification technology
CN105190663A (en) System for authenticating items
WO2019246399A1 (en) Digital ledger for unique item ids with ownership
CN110086780B (en) Method and device for processing tampered transaction based on Ether house and storage medium
WO2019068893A1 (en) A system and method for authenticating a product
CN110910150B (en) Correlation method and device for tracing source based on Internet of things technology and combined block chain
CN104182866A (en) Product or object anti-counterfeiting system and method suitable for situations, such as switch transaction and the like
US11516001B2 (en) Method and system for generalized provenance solution for blockchain supply chain applications
CN109360008B (en) Product anti-counterfeiting authentication updating method and system
CN101356538A (en) Method of authentication of items put into circulation field
CN109360002A (en) A kind of method for anti-counterfeit and device of product
CN114140133B (en) Method for processing tracing data
CN115131037A (en) Method and device for detecting commodity fleeing goods
RU2322692C1 (en) Method for identification and accounting of movement of marked objects and informational system for realization of the method
CN113469713A (en) Block chain-based food data anti-counterfeiting tracing method and system

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