CN113947414A - Commodity traceability anti-counterfeiting system based on NFC and block chain - Google Patents

Commodity traceability anti-counterfeiting system based on NFC and block chain Download PDF

Info

Publication number
CN113947414A
CN113947414A CN202111212828.XA CN202111212828A CN113947414A CN 113947414 A CN113947414 A CN 113947414A CN 202111212828 A CN202111212828 A CN 202111212828A CN 113947414 A CN113947414 A CN 113947414A
Authority
CN
China
Prior art keywords
traceability
tracing
information
nfc
counterfeiting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111212828.XA
Other languages
Chinese (zh)
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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN202111212828.XA priority Critical patent/CN113947414A/en
Publication of CN113947414A publication Critical patent/CN113947414A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0029Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • G06K19/0772Physical layout of the record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • G06K19/07749Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

The invention discloses a commodity traceability anti-counterfeiting system based on NFC and a block chain, which comprises: the NFC intelligent terminal runs with a tracing end and a tracing anti-counterfeiting platform; the source tracing end records and uploads source tracing information to a source tracing anti-counterfeiting platform, and the source tracing anti-counterfeiting platform stores the source tracing information by adopting a block chain and transmits the block chain information to the source tracing end; the tracing end writes the block chain information into the NFC label; when the NFC intelligent terminal is close to the NFC label, the traceability end obtains block chain information and accesses the anti-counterfeiting traceability platform, and therefore traceability information is read. The system stores the uploaded traceability information on a chain by using a block chain, so that data is prevented from being tampered; the secure transmission of the tracing information between the tracing end and the tracing anti-counterfeiting platform is realized by adopting an SHA256 and RSA encryption algorithm; meanwhile, the system automatically synchronizes information such as time, place, weather and the like written in the information related to the commodities, so that the anti-counterfeiting traceability of the commodities is realized.

Description

Commodity traceability anti-counterfeiting system based on NFC and block chain
Technical Field
The invention belongs to the field of anti-counterfeiting identification data, and particularly relates to a commodity source tracing anti-counterfeiting system based on NFC and a block chain.
Background
With the development of society, the anti-counterfeiting and the safety of commodities are more and more concerned by consumers. In particular, the recent global epidemic caused by new coronavirus needs a perfect commodity tracing system to prevent the spread of the epidemic.
Currently, commodity tracing mainly depends on the internet of things and a block chain technology. The technology of the internet of things is a new technology in recent years, and is endowed with digital labeling of articles, namely RFID, NFC and two-dimensional codes, and then the internet of things realizes intelligent product tracking and constructs a traceability industrial chain through data transmission and interaction through a wireless networking module. For example, chinese patent with publication number CN110188847A discloses a donkey-hide gelatin tracing method and system based on NFC: the method comprises the following steps: s1, wearing an NFC electronic ear tag at the ear part of the donkey after the donkey is born, and using the NFC electronic ear tag as the only identity code of the donkey; s2, during donkey cultivation, a donkey NFC tag is scanned by a mobile phone or a PDA with an NFC recognition function to upload a donkey NFC code to a donkey cultivation management database, and donkey cultivation information is input into the donkey cultivation management database. The invention also provides a donkey-hide gelatin product traceability system based on NFC. For example, chinese patent with publication number CN106529980A discloses an anti-counterfeit traceability system for tobacco chips, which comprises an NFC tag, a mobile terminal and an anti-counterfeit traceability system, wherein the NFC tag is arranged at the unsealing position of a cigarette carton or on a single packet; the mobile terminal is in wireless connection with the anti-counterfeiting traceability system, is used for storing anti-counterfeiting software, is used for reading the NFC chip, and uploads information in the NFC chip to the anti-counterfeiting traceability system; the anti-counterfeiting traceability system is used for analyzing information in the NFC chip, storing anti-counterfeiting traceability result data and feeding back the data to the mobile terminal.
The NFC technology is developed from the RFID technology, the transmission range of the RFID is from several meters to even dozens of meters, but the NFC has the characteristics of short distance, high bandwidth and low energy consumption compared with the RFID technology because the NFC adopts a unique signal attenuation technology. NFC provides a simple solution for consumers to more intuitively access, query, and receive information.
In the hot tide of the blockchain technology in recent years, the commodity traceability system is combined with the blockchain technology, so that the safety and reliability of the traceability data are greatly improved. The block chain is a decentralized shared database essentially, and has the characteristics of being not falsifiable, traceable, transparent and the like. The block chain technology is classified into ten-classic technology applications in the 'white paper book for internet technology judicial application' published in 2019 for the first time, and the heat tide of the block chain technology is being attacked. However, the existing tracing technology has the defects of not being perfect enough, being easy to forge commodity information and the like.
Disclosure of Invention
The invention aims to provide a commodity source tracing anti-counterfeiting system based on NFC and a block chain, which combines the NFC technology and the block chain and reliably traces information of each link of production, processing, transportation, sale and the like of commodities.
The invention provides the following technical scheme:
a commodity traceability anti-counterfeiting system based on NFC and a block chain, the system comprises: the NFC intelligent terminal runs with a tracing end and a tracing anti-counterfeiting platform; the source tracing end records and uploads source tracing information to a source tracing anti-counterfeiting platform, and the source tracing anti-counterfeiting platform stores the source tracing information by adopting a block chain and transmits the block chain information to the source tracing end; the tracing end writes the block chain information into the NFC label; when the NFC intelligent terminal is close to the NFC label, the traceability end obtains block chain information and accesses the anti-counterfeiting traceability platform, and therefore traceability information is read.
The NFC label and the NFC intelligent terminal are communicated through radio frequency signals, and the NFC intelligent terminal and the source tracing anti-counterfeiting platform are communicated through a wireless communication network.
Before the NFC label is put into use, the original data of the NFC label needs to be erased through an initialization step. Through an initialization step in order to prevent fraudulent use.
In the invention, when the NFC intelligent terminal is close to the NFC label, a communication link between the two parties can be established, and the writing and reading of the tracing information are realized.
The chip model of the NFC tag supports NTAG213, NTAG215, NTAG216 and the like, the induction distance is 2-6cm, and the working frequency is 13.65MHz of the existing NFC frequency; the shape of the NFC tag can be adapted to be circular, square and the like according to an actual scene; the label size can also be adapted to a size from 0.5cm to 3cm depending on the actual scene configuration.
The traceability information comprises merchant information, and place, time and weather, wherein the merchant information comprises written names of responsible persons and characters and pictures related to commodities.
The traceability anti-counterfeiting platform stores traceability information of commodity production, processing, transportation, sale and other links. And the tracing information is written in by logging in the tracing end by a person in charge of each link and is uploaded to the tracing anti-counterfeiting platform. The tracing information comprises the name, the place, the time, the weather of a person in charge, the content and the picture of each link and the commodity, the merchant information of each link and the like, wherein the name, the place, the time and the weather of the person in charge are written in the tracing information. The name of the responsible person, the contents and pictures of each link related to the commodity and the merchant information of each link are written by the responsible person of each link; the location information is obtained by a GPS or Beidou positioning system, the time information is automatically generated by calling a library function by a tracing end, and the weather information is obtained by a network API interface provided by the China meteorological network. And (4) entering the next link from the current link, and checking the source tracing anti-counterfeiting platform. The tracing end does not provide a modification operation interface to prevent the counterfeiter from intention to forge key tracing information such as the place, the time, the weather and the like.
The source tracing end is provided for the responsible persons, the merchants and the consumers in all links to use. By using the tracing end, the merchant/company and the responsible person in each link can write tracing information, and when the merchant or company, the responsible person name, the content and the picture information related to the commodity in each link are all written, the system automatically synchronizes and records the information such as position, weather, time and the like, and uploads the information to the tracing anti-counterfeiting platform. The consumer customer can inquire the commodity tracing anti-counterfeiting information provided by the merchant/company or the responsible person by using the tracing end.
Preferably, the source tracing end does not provide an operation modification interface; the system supports merchant/company or responsible person to customize link names.
The tracing end does not provide a modification operation interface to prevent the counterfeiter from intention to forge key tracing information such as the place, the time, the weather and the like. The tracing end supports merchants/companies or responsible persons to define link names in a user-defined mode, so that the system is suitable for tracing management of various commodities. The links are different according to different commodities, for example, when the commodity is tea, the links can comprise planting of the tea, different time periods of the planting, picking of the tea, processing of the tea, transportation of the tea, sale of the tea and the like; the written tracing information (including pictures) can include planting places, fertilization, weeding, picking time, processing time and place, tea sale circulation information and the like.
Preferably, the tracing anti-counterfeiting platform writes tracing information into a block chain tail node, returns a chain tail node number of the block chain to a tracing end, and enables the NFC intelligent terminal to be close to the NFC label to write the node number into the NFC label; attaching the NFC intelligent terminal to an NFC label to obtain a node number; and then, the tracing end accesses the tracing anti-counterfeiting platform through the node number to acquire tracing information.
Preferably, the traceability information transmission between the traceability end and the traceability anti-counterfeiting platform adopts SHA256 and RSA encryption algorithms.
Preferably, before the tracing end and the tracing anti-counterfeiting platform transmit tracing information, the tracing anti-counterfeiting platform generates a public key and a private key by using an RSA asymmetric encryption algorithm; the private key is stored in the tracing anti-counterfeiting platform, the public key is created when the link is established every time (the tracing end uploads the recorded tracing information to the tracing anti-counterfeiting platform or the tracing end obtains block chain information and accesses the anti-counterfeiting tracing platform to read the tracing information), and the private key is destroyed after being used up, so that counterfeiting and forgery can not be performed by cracking the public key.
Preferably, before the tracing end and the tracing anti-counterfeiting platform transmit tracing information, a signature algorithm SHA256 is used for generating a summary, and a private key is used for encrypting the summary; and the receiver decrypts the abstract and judges whether the tracing information is maliciously tampered.
Preferably, the tracing anti-counterfeiting platform establishes a block chain by itself, and the hash value of each node needs to be calculated by using an SHA256 encryption algorithm according to the hash value of the previous node, the data of the node and the timestamp.
Compared with the prior art, the commodity traceability anti-counterfeiting system based on the NFC and the block chain has the following advantages and characteristics:
1. the invention combines the NFC technology with the block chain, saves the traceability information on the self-built block chain, and simultaneously obtains the hash value of each node on the chain by the SHA256 encryption algorithm, so that a counterfeiter can not forge a commodity by tampering with a certain traceability information.
2. In the communication process of the traceability end and the traceability anti-counterfeiting platform, the invention adopts RSA and SHA256 encryption algorithms, so that a counterfeiter cannot forge a commodity by tampering with certain traceability information.
3. The system supports the self-defining of the link name by a person in charge, so that the system is suitable for the source tracing management of various commodities.
4. The system automatically and synchronously writes information such as current time, place, weather and the like when the information related to the commodity is written by a merchant/company and a responsible person, and the information automatically written by the system is combined with the written information related to the commodity, so that the traceability information cannot be modified and forged, and the information of each link of production, processing, transportation, sale and the like of the commodity can be accurately and reliably traced. .
Drawings
FIG. 1 is an overall block diagram of the construction phase of the traceability system.
FIG. 2 is a block diagram of the consumption stage of the traceability system.
Detailed Description
As shown in fig. 1 and 2, the invention is a commodity traceability anti-counterfeiting system based on an NFC tag and a blockchain, which includes an NFC tag, an NFC intelligent terminal, a traceability end running on the NFC intelligent terminal, and a traceability anti-counterfeiting platform. The NFC label and the NFC intelligent terminal realize the writing-in and reading-out of the tracing information through radio frequency signal communication, and the NFC intelligent terminal and the tracing anti-counterfeiting platform realize the safe transmission of the tracing information through a wireless communication network and an SHA256 and RSA encryption algorithm.
The following is a detailed description of the practice of the invention:
the commodity traceability anti-counterfeiting system provided by the invention supports the NFC label chips of types such as NTAG213, NTAG215, NTAG216 and the like. Due to the characteristic factors of the existing NFC tag chip (if the characteristics of the tag chip are changed, the storage resource allocation of the tag can be changed), the system divides the tag storage resource into 5 blocks (Block1-Block5), and each Block occupies 32 Bytes. The Block1-Block4 respectively stores unique node numbers of different links such as production, processing, transportation and sale links, wherein each node number accounts for 4Bytes, namely, each link supports 8 times of writing of source tracing information at most. Specifically, after receiving the tracing information sent by the tracing end, the tracing anti-counterfeiting platform adds a node in the self-established Block chain, returns the node number to the tracing end, and writes the node number into the corresponding Block after the tracing end receives the node number. Block5 records the serial number of the NFC label, and is used for distinguishing different NFC labels by the tracing anti-counterfeiting platform identification.
The following embodiments are described by taking the commodities including the production, processing, transportation and sale links as examples:
firstly, the NFC label needs to be initialized before being used, a merchant/company enables the NFC label to be close to the NFC intelligent terminal, the NFC label is operated at a tracing end of the NFC intelligent terminal and is communicated with a tracing anti-counterfeiting platform, the tracing anti-counterfeiting platform informs that a scene is initialized for the NFC label at the moment, the unique label serial number is returned to the tracing end by the tracing anti-counterfeiting platform, and the tracing end writes the label serial number into the NFC label at the same time. The traceable end finds that data exists in the blocks 1-5, the traceable end erases the data in the blocks 1-5 and then writes the unique tag serial number into the Block5 area of the tag. In order to ensure the read-write reliability and accuracy of the NFC tag and the NFC smart terminal, the NFC smart terminal needs to be close to the NFC tag (i.e., within the working distance of the NFC tag). And after the merchant/company completes the initialization of the tag, transferring the NFC tag to a person in charge of the related goods of the merchant/company, and entering the formal use stage of each link.
In the production link, the NFC label is configured for a certain commodity, and a person in charge or a worker in the production link logs in the traceability end at different stages of the production link and writes in traceability information. When information such as names, companies, commodity types, operation contents (characters and pictures related to commodities) and the like of a responsible person (a worker) is input, the system automatically synchronizes and records information such as the current position, weather, time and the like, and uploads the information to the tracing anti-counterfeiting platform; and the tracing anti-counterfeiting platform adds a node in a self-established block chain, records the tracing information to the node, and returns the node number to the tracing end. After the tracing end receives the node number, the responsible person presses the NFC label close to the NFC mobile phone terminal, and the system automatically writes the node number into Block 1. Due to the limitation of the adopted existing NFC tag chip, the production link supports at most 8 times of writing of the source tracing information. And after the commodity is finished in the production link, the next link is started.
When the commodity is finished in the production link and the processing link comes, a person in charge of the processing link (staff) logs in the traceability end. When information such as names, companies, commodity types, operation contents (characters and pictures related to commodities) and the like of a responsible person (a worker) is input, the system automatically synchronizes and records information such as the current position, weather, time and the like, and uploads the information to the tracing anti-counterfeiting platform; and the tracing anti-counterfeiting platform adds a node in a self-established block chain, records the tracing information to the node, and returns the node number to the tracing end. After the tracing end receives the node number, the responsible person presses the NFC label close to the NFC mobile phone terminal, and the system automatically writes the node number into Block 2. Due to the limitation of the adopted existing NFC tag chip, the processing link section supports at most 8 times of writing of the source tracing information. And after the commodity is processed in the processing link, the next link is started.
When the commodity is processed to the transportation link, the staff logs in the source end of the transportation link. When information such as names, companies, commodity types, operation contents (characters and pictures related to commodities) and the like of a responsible person (a worker) is input, the system automatically synchronizes and records information such as the current position, weather, time and the like, and uploads the information to the tracing anti-counterfeiting platform; and the tracing anti-counterfeiting platform adds a node in a self-established block chain, records the tracing information to the node, and returns the node number to the tracing end. After the tracing end receives the node number, the responsible person presses the NFC label close to the NFC mobile phone terminal, and the system automatically writes the node number into Block 3. Due to the limitation of the adopted existing NFC tag chip, the production link supports at most 8 times of writing of the source tracing information. And after the commodity is transported, entering the next link.
When the goods are placed on the goods shelf, the staff logs on the tracing end in the selling link. When information such as names, companies, commodity types, operation contents (characters and pictures related to commodities) and the like of a responsible person (a worker) is input, the system automatically synchronizes and records information such as the current position, weather, time and the like, and uploads the information to the tracing anti-counterfeiting platform; and the tracing anti-counterfeiting platform adds a node in a self-established block chain, records the tracing information to the node, and returns the node number to the tracing end. After the tracing end receives the node number, the responsible person presses the NFC label close to the NFC mobile phone terminal, and the system automatically writes the node number into Block 4. Due to the limitation of the adopted existing NFC tag chip, the production link supports at most 8 times of writing of the source tracing information. And after the commodity is sold, the next link is started.
When a customer purchases the commodity, the customer can log in the traceability end, the mobile phone with the NFC function is attached to the NFC label of the commodity, and the traceability end acquires Block1-Block5 data in the NFC label: the serial number of the Block5 is automatically uploaded to a traceability anti-counterfeiting platform and used for judging whether the NFC label is registered and reliable or not, and the serial numbers of the blocks 1-4 acquire traceability information of each link from the traceability anti-counterfeiting platform. If the traceability information of the commodity is questioned, the traceability end also provides a supervision reporting channel for the customer to report complaints.
When the tracing information is written, the tracing end needs to call the NFC intelligent terminal positioning function to obtain address information; the tracing end needs to call an NFC intelligent terminal camera to obtain a current operation scene picture; the tracing end needs to call a network API (application program interface) provided by the China weather network to acquire current weather information; the tracing end needs to call a system library function to obtain the current time. For the tracing information, the tracing end does not provide a modification interface and a right, and modification is forbidden. In the above process of writing information, the production, processing, transportation and sales responsible person (staff) needs to log in the tracing end for registration after the authorization of the merchant/company. As a consumer customer, the tracing end can be directly downloaded on the smart phone without registration, and the tracing end is used for carrying out tracing information query.
The basic operation and the like of the system are described by taking links of production, processing, transportation, sale and the like of a certain commodity as examples, and the system supports each link of self-definition in order to ensure that the commodity traceability anti-counterfeiting system can be used for traceability of various commodities.
The responsible person uses the source of tracing to the source in each link, writes into the in-process of NFC label with the information of tracing to the source through NFC intelligent terminal, and the anti-fake platform that traces to the source can be sent to the information of tracing to the source simultaneously to the end of tracing to the source, realizes the record of the information of tracing to the source local and distal end. The SHA256 and RSA encryption algorithms are realized in the information sending and returning process, and the key confidential information is encrypted to realize the safety and reliability of the tracing system. Specifically, the tracing anti-counterfeiting platform generates a pair of secret keys (a public key and a private key), the private key is not public, the tracing anti-counterfeiting platform keeps the private key, and the public key is sent to the NFC intelligent terminal. The tracing anti-counterfeiting platform takes out the node information to be sent from the block chain, generates an abstract through an encryption algorithm SHA256, encrypts the abstract through a private key, and then sends the tracing information and the encrypted abstract to the tracing end together. When the tracing end receives the information, the public key is used for decrypting the encrypted abstract and recording the encrypted abstract as an abstract 1; and the tracing source end generates the tracing information into an abstract through an SHA256 abstract algorithm, and records the abstract as an abstract 2. If the abstract 1 is consistent with the abstract 2, the data is proved to be not tampered by counterfeiters, and the information is valid; if not, reporting the source tracing anti-counterfeiting platform to be processed by an administrator. And when the verification is completed, the tracing end automatically destroys the public key.
A block chain is constructed on the source tracing anti-counterfeiting platform. Each node records the current node Hash value (Hash), the stored Data (Data), and the Hash value of the previous node (i.e., previous Hash value). Each node needs to generate the hash value of the current node through the SHA256 algorithm based on Data, the current Timestamp and the hash value previoush of the previous node. As long as the hash value of a certain node is changed, the data of the whole data chain are inconsistent, and therefore attack of malicious molecules is prevented. Corresponding to the process from the completion of the traceability information storage of the actual commodity to the final entry of the consumer, if a malicious molecule tries to change the traceability information of the current label, the traceability anti-counterfeiting platform firstly compares the data of the whole block chain, if the inconsistency occurs, the inconsistent data is determined as malicious write-in data, and the consumer is informed of the data at the traceability end interface.

Claims (9)

1. A commodity traceability anti-counterfeiting system based on NFC and a block chain is characterized in that the system comprises: the NFC intelligent terminal runs with a tracing end and a tracing anti-counterfeiting platform; the source tracing end records and uploads source tracing information to a source tracing anti-counterfeiting platform, and the source tracing anti-counterfeiting platform stores the source tracing information by adopting a block chain and transmits the block chain information to the source tracing end; the tracing end writes the block chain information into the NFC label; when the NFC intelligent terminal is close to the NFC label, the traceability end obtains block chain information and accesses the anti-counterfeiting traceability platform, and therefore traceability information is read.
2. The commodity source tracing anti-counterfeiting system based on the NFC and the block chain as claimed in claim 1, wherein the original data of the NFC tag is erased through an initialization step before the NFC tag is put into use.
3. The NFC and blockchain based commodity traceability anti-counterfeiting system of claim 1, wherein the traceability information comprises merchant information comprising written names of responsible persons and words and pictures related to the commodity, and location, time and weather.
4. The commodity traceability anti-counterfeiting system based on NFC and blockchain of claim 1, wherein the traceability end does not provide an operation modification interface; the system supports merchant/company or responsible person to customize link names.
5. The commodity traceability anti-counterfeiting system based on NFC and the block chain as claimed in claim 1, wherein the traceability anti-counterfeiting platform writes traceability information into a block chain tail node, returns a chain tail node number of the block chain to a traceability end, and enables the NFC intelligent terminal to be close to the NFC label to write the node number into the NFC label; attaching the NFC intelligent terminal to an NFC label to obtain a node number; and then, the tracing end accesses the tracing anti-counterfeiting platform through the node number to acquire tracing information.
6. The commodity traceability anti-counterfeiting system based on NFC and blockchain according to claim 5, wherein traceability information transmission between the traceability end and the traceability anti-counterfeiting platform adopts SHA256 and RSA encryption algorithms.
7. The commodity traceability anti-counterfeiting system based on NFC and the block chain as claimed in claim 6, wherein before the traceability end and the traceability anti-counterfeiting platform transmit traceability information, the traceability anti-counterfeiting platform generates a public key and a private key by using an RSA asymmetric encryption technology, and the private key is stored in the traceability anti-counterfeiting platform; the public key is created when the link is established every time and is destroyed after being used up, so that a counterfeiter cannot counterfeit by cracking the public key.
8. The commodity traceability anti-counterfeiting system based on NFC and block chain of claim 6, wherein before the traceability end and the traceability anti-counterfeiting platform transmit traceability information, a signature algorithm SHA256 is used to generate a digest, and the digest is encrypted by a private key; and the receiver decrypts the abstract and judges whether the tracing information is maliciously tampered.
9. The commodity traceability anti-counterfeiting system based on NFC and the blockchain as claimed in claim 6, wherein the traceability anti-counterfeiting platform builds the blockchain by itself, and the hash value of each node is calculated according to the hash value of the previous node, the data of the node and the timestamp by using an SHA256 encryption algorithm.
CN202111212828.XA 2021-10-18 2021-10-18 Commodity traceability anti-counterfeiting system based on NFC and block chain Pending CN113947414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111212828.XA CN113947414A (en) 2021-10-18 2021-10-18 Commodity traceability anti-counterfeiting system based on NFC and block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111212828.XA CN113947414A (en) 2021-10-18 2021-10-18 Commodity traceability anti-counterfeiting system based on NFC and block chain

Publications (1)

Publication Number Publication Date
CN113947414A true CN113947414A (en) 2022-01-18

Family

ID=79331338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111212828.XA Pending CN113947414A (en) 2021-10-18 2021-10-18 Commodity traceability anti-counterfeiting system based on NFC and block chain

Country Status (1)

Country Link
CN (1) CN113947414A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024027086A1 (en) * 2022-08-02 2024-02-08 北新集团建材股份有限公司 Anti-counterfeiting tracing method for gypsum board product and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024027086A1 (en) * 2022-08-02 2024-02-08 北新集团建材股份有限公司 Anti-counterfeiting tracing method for gypsum board product and system

Similar Documents

Publication Publication Date Title
CN108053001B (en) Information security authentication method and system for electronic warehouse receipt
US20200364817A1 (en) Machine type communication system or device for recording supply chain information on a distributed ledger in a peer to peer network
CN202019354U (en) Article identity authenticating and anti-counterfeiting system based on NFC (near field communication) cellphone
CN108564182B (en) Equipment full life cycle management system and method based on block chain technology
CN102831529B (en) A kind of commodity information identification method based on radio frequency and system
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
CN110351239A (en) It is a kind of based on the electronic contract storage method and device of block chain, electronic equipment
CN109951427B (en) Product tracing method and system and cloud tracing platform
CN101685503B (en) Method and system for inquiring product information
CN104809618B (en) Antifake method for products based on electronic tag
WO2016145705A1 (en) Time-based encrypted nfc cell phone terminal anti-counterfeit system and method
CN102855577B (en) Multiple commodity antifake check method based on cloud computing
CN103854185A (en) QR code, anti-counterfeiting code, RFID tag and mobile application combined anti-counterfeiting system
CN107644250A (en) Product is traced to the source method for anti-counterfeit and system
CN102855574A (en) Method and system for identifying commodity information based on NFC (Near Field Communication)
US10318779B2 (en) Systems and methods for robust protection of item authentication, tracking and tracing against tag duplication
CN110197379B (en) Anti-counterfeiting system and method for electronic tag
CN102622624B (en) A kind of commodity counterfeit prevention identification system and method
CN107231231A (en) A kind of method and system of terminal device secure accessing Internet of Things
CN202870900U (en) NFC (Near Field Communication)-based commodity information identification system
CN106971311A (en) A kind of false proof traceability system of logistics Means of Agricultural Production and method
CN111414430A (en) Commodity information management method based on block chain, electronic device and storage medium
CN112800464A (en) Anti-counterfeiting tracing method and system based on block chain
CN105849739B (en) Authentication system and authentication method
CN116029745A (en) Digital label anti-counterfeiting tracing method, device and system based on blockchain

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