CN114399320B - Bill supply chain anti-counterfeiting traceability system and method based on block chain NFT - Google Patents

Bill supply chain anti-counterfeiting traceability system and method based on block chain NFT Download PDF

Info

Publication number
CN114399320B
CN114399320B CN202210298323.8A CN202210298323A CN114399320B CN 114399320 B CN114399320 B CN 114399320B CN 202210298323 A CN202210298323 A CN 202210298323A CN 114399320 B CN114399320 B CN 114399320B
Authority
CN
China
Prior art keywords
chain
nft
information
bill
block
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
CN202210298323.8A
Other languages
Chinese (zh)
Other versions
CN114399320A (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.)
Beijing Institute of Technology BIT
CETC 15 Research Institute
Original Assignee
Beijing Institute of Technology BIT
CETC 15 Research Institute
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 Beijing Institute of Technology BIT, CETC 15 Research Institute filed Critical Beijing Institute of Technology BIT
Priority to CN202210298323.8A priority Critical patent/CN114399320B/en
Publication of CN114399320A publication Critical patent/CN114399320A/en
Application granted granted Critical
Publication of CN114399320B publication Critical patent/CN114399320B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/0025Methods 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 consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • 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
    • 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/3297Cryptographic 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 involving time stamps, e.g. generation of time stamps
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a bill supply chain anti-counterfeiting traceability system and method based on a block chain NFT, and belongs to the technical field of block chain application. In an online downlink service chain, real assets of an online downlink bill are monitored in real time by setting a block chain prediction machine; the safety generation and transfer of NFT contract are carried out through a wire uplink and wire downlink parallel service chain system, and the information synchronization of an online bill supply chain and an offline bill supply chain is realized; deploying the invisible anti-counterfeiting two-dimensional code anti-counterfeiting label printed on the bill to a block chain through an intelligent contract; and scanning the two-dimensional code by a trader of the bill, calling an intelligent contract to the block chain platform, and inquiring basic information and circulation information of the bill. The invention realizes the transparentization, decentralization and traceability of the bill supply chain, maintains high fidelity and timeliness and is beneficial to improving the safety of bill transaction.

Description

Bill supply chain anti-counterfeiting traceability system and method based on block chain NFT
Technical Field
The invention relates to a bill supply chain anti-counterfeiting traceability system and a bill supply chain anti-counterfeiting traceability method based on a block chain NFT (Non-homogeneous token), and belongs to the technical field of block chain application.
Background
Stamps, tickets, etc. are used as bill vouchers issued by related departments of the country, and have cultural attributes and commodity attributes. Due to the scarcity of single articles, the commemoration of special events, the exquisite printing and other factors, the bill collection market becomes a long-term and stable trading market, the cultural value, particularly the market value, attracts a large number of collection enthusiasts, and the two vigorous online and offline markets of delivery are created. For example, the issue of stamps is mainly done by physical stamp issuance, and by online booking and retail sales. In the secondary postage stamp transaction market, it is common for users to communicate privately or to purchase from mail item merchants. In the transaction chain, strict supervision is lacked for the authenticity of the stamp goods, the authentication of both the buying and selling users, the agreement of buying and selling, and the like. These problems greatly affect the normalization of postage stamp collection transactions, and even the issuance, sale, and transaction of postage stamps.
The block chain technology is a brand new distributed infrastructure and computing paradigm, and is characterized by utilizing a block chain data structure to verify and store data, utilizing a distributed node consensus algorithm to generate and update data, utilizing a cryptographic mode to ensure the security of data transmission and access, and utilizing an intelligent contract composed of automated script codes to program and operate data. The block chain technology is based on cryptography, integrates distributed account book technology and other various technologies, has the characteristics of non-falsification, non-repudiation, multi-party open network maintenance and the like, and becomes a pronoun of credit internet and value internet. This provides proof of ownership for various digital assets that are of the credential type Non-homogeneous Tokens (NFTs) and are stored and distributed in distributed data while ensuring their uniqueness and Non-repudiation. NFT provides a method of tagging ownership of native digital assets that can simultaneously identify and associate digital modalities that manage digital space and real-world real-life items.
Disclosure of Invention
The invention aims to solve the technical problem that the anti-counterfeiting traceability is difficult to perform due to the fact that offline and online information of various bill supply chains are difficult to synchronize, and creatively provides a bill supply chain anti-counterfeiting traceability system and method based on a block chain NFT.
The method has the innovation points that: by utilizing online and offline NFT contract generation and transfer technologies, efficient cross-chain information synchronization of NFT is carried out in an online uplink and offline chain system, the ecological mobility of the NFT in a block chain is increased, and the high fidelity and timeliness of bill tracing are ensured.
In the online downlink service chain, real assets of downlink bills are monitored in real time by setting a block chain prediction machine; the safety generation and transfer of NFT contract are carried out through a wire uplink and wire downlink parallel service chain system, and the information synchronization of an online bill supply chain and an offline bill supply chain is realized; deploying the invisible anti-counterfeiting two-dimensional code anti-counterfeiting label printed on the bill to a block chain through an intelligent contract; and scanning the two-dimensional code by a trader of the bill, calling an intelligent contract to the block chain platform, and inquiring basic information and circulation information of the bill.
The purpose of the invention is realized by the following technical scheme.
An anti-counterfeiting traceability system of a bill supply chain based on a block chain NFT comprises an anti-counterfeiting label of a bill invisible two-dimension code, a block chain prediction machine, a bill information/supply chain information chaining module, a publicly authenticated block chain platform, a block chain ETL gateway, a traceability information inquiry module, a mobile intelligent read-write terminal and an NFT transfer module.
The invisible two-dimensional code anti-counterfeiting label for the bill is an invisible code, and is printed on the same side face with the bill pattern. Preferably, in order to further ensure security, the two-dimensional code information of the bill can be sent to the blockchain platform after being hashed. Specifically, the basic information of the ticket (such as data of the ticket information, the release plan, the case version relationship, the layout relationship, and the like) may be generated into a unique hash value by using the SHA256 algorithm, and the hash value may be transmitted to the blockchain. And specific information of the bill is stored in the database, so that the safety of the bill information is ensured.
And the block chain prediction machine is used for acquiring offline service chain data resources for generating the NFT. The block chain ETL gateway is used for collecting data from an offline service chain, extracting, converting and loading the data to the block chain prediction machine.
And the bill information/supply chain information chaining module is used for chaining the basic information and the supply chain circulation information of the invisible two-dimensional code anti-counterfeiting label to finally form a bill block. The bill block comprises a block head and a block body, wherein the block head comprises a block version number, a random number, a timestamp, a Hash value of a previous block, a Mercker tree root and a Hash value of a current block; the block body comprises basic information of the bill (for example, data such as bill information, issue plan, case version relationship, layout relationship and the like), circulation information (for example, transaction event data of each circulation link such as production, circulation, sales, consignment, delivery and the like), main body information of the bill and the like. Particularly, the off-line real object bill and the on-line electronic bill parallel service chain are both based on the unique two-dimensional code anti-counterfeit label.
And the public authenticated block chain platform is used for writing the bill information and transaction event data of each circulation link (including production, circulation, sale, consignment, delivery and the like) of the supply chain into the block chain.
And the block chain ETL (Extraction-Transformation-Loading, data Extraction Transformation and Loading) gateway is used for realizing the off-chain related block chain ETL gateway through a block chain prediction machine in the service chain, performing real-time monitoring and collection Transformation on real assets of the down-link service chain, and calling an NFT (network file transfer) generation contract on the service chain to generate the corresponding NFT. Based on each block chain prediction machine, an online and offline parallel process is deployed, and a uniform transaction parallel mechanism and a synchronous interaction protocol are formulated. Transaction data in the parallel chain is verified through a transaction parallel mechanism, and data between offline and online service chains are synchronized through a synchronous interaction protocol.
The NFT transfer module is used for generating NFT in each business chain by using a block chain prediction machine association intelligent contract, executing transfer of the NFT contract based on the construction of a parallel business chain architecture system, and setting a transfer request and verification mechanism to improve the transfer safety. Specifically, by setting the block chain prophetic machine, real postage stamps under the chain can be quickly and conveniently introduced, and the dynamic link between the NFT and the online is enhanced. The parallel process system is constructed through the online NFT business chain and the offline NFT business chain, double-chain fusion can be carried out on a consensus layer, a transaction flow is unified, the NFT of the online business chain and the offline business chain are interacted through a synchronous interaction protocol, transaction data are exchanged and transmitted, and efficient cross-chain synchronization of the NFT is achieved.
Further, the invention provides an online and offline service chain synchronization method for a block chain NFT, which comprises the following steps:
firstly, in an online downlink, a bill in the offline is monitored in real time and collected and converted through a block chain preplanning machine chain external association block chain ETL gateway, and an NFT generation contract is called on a chain to generate a corresponding NFT.
When the main body of the bill initiates a sharing transaction, the circulation data stored in the online downlink is shared to the online link, and the transaction is completed through the intelligent contract of the online uplink service. In addition, the intelligent contracts are also used in addition, modification and inquiry.
And then, acquiring NFT offline data by using the block chain prediction machine, extracting, converting, classifying and integrating data resources through the block chain ETL gateway, and uploading the data resources to the block chain prediction machine.
When bill authority change or circulation information change occurs in an online parallel service chain and an offline parallel service chain, and the authenticity of cross-service chain messages is verified, a corresponding NFT is generated by calling an NFT generation contract in response to a user client; the NFT generation module is respectively deployed in the offline and online service chains, that is, each service chain can generate a unique NFT on its chain according to its respective attribute. And realizing cross-service chain transfer communication and parallel chain synchronous updating between the offline and online parallel chains through the NFT.
And the traceability information query module is used for completing the recording and chaining of the original data and the circulation information by the related data of bill circulation and the like through an intelligent contract related algorithm. And the block chain ETL gateway checks and verifies in the system background to acquire stamp traceability information.
The mobile intelligent read-write terminal can identify the two-dimensional code, is mobile intelligent terminal equipment with a camera shooting function or a reading and scanning function, and comprises but is not limited to a smart phone, a tablet or a smart watch and the like.
Based on the system, the invention provides a bill supply chain anti-counterfeiting tracing method based on a block chain NFT, which comprises the following steps:
step 1: the note information cochain includes a physical note cochain and an electronic note cochain.
The invisible two-dimensional code label and the bill pattern are printed on the same side face and represent the unique digital identity of the bill.
After winding, a bill block is formed and comprises a block head and a block body. The block head comprises a block version number, a random number, a timestamp, a Hash value of a previous block, a Mercker tree root and a Hash value of a current block, and the block body comprises bill basic information (data such as bill information, a release plan, a case version relationship, a layout relationship and the like), circulation information (transaction event data of each circulation link such as production, circulation, sales, consignment, delivery and the like), main information of a bill and the like.
Step 2: acquiring information of a bill supply chain, including issuing, production, processing and destruction, circulation, sale, picking up and taking bills, warehousing and consignment and the like on and off the bill line, and storing the information to a block chain platform.
And 3, step 3: and generating the NFT contract.
First, blockchain ETL gateways are set in offline service chains of different network nodes (including different service chains 1, 2, …, n) and NFT generation contracts are deployed. On each of the traffic chains 1, 2, …, n, its NFT may be generated, such as: NFT1, NFT2, …, NFTn.
And the online and offline service chains generate unique IDs according to the basic information of the bills. According to the current timestamp, the NFT generation contract deployed in the online and offline service chains generates block information to which a unique NFT content belongs, including the unique ID of the ticket, the network address of the service chain ETL gateway or the online service chain, the summary of the NFT content, and digital signature information (i.e. supply chain data and transaction data). Wherein the digital signature information is varied. The NFT content digest is combined with the current timestamp and signed.
And 4, step 4: service chain information synchronization and transfer of NFT rights.
Step 4.1: an NFT is generated with an ID identification number.
Firstly, a trusted third-party blockchain network platform is built based on a blockchain ETL gateway and used as an interaction chain for NFT rights and interests transfer and information synchronization.
The platform can provide Restful interfaces for access to all online and offline service chains and set a unique service chain ID number (Para1, Para2, …, Para n) generating an NFT with ID identification number. Para n denotes the nth service chain.
Step 4.2: transfer NFT equity.
And each service chain network node records the block head information of the block chain in real time. When a transaction is generated on the blockchain system, each blockhead comprises the NFT contract of the service chain N where the blockhead is located and the current service chain, and synchronous or transaction information Tn is thrown out. The parameters of the synchronization message function Tn include the target blockchain name, the NFT contract name of the received message, the message content, and the source blockchain name, the NFT contract name of the message source, and the message content. The current service chain ETL gateway submits it to the interaction chain. And the receiving message ETL gateway receives Tn, verifies and analyzes the Tn, converts the Tn into synchronous or transaction information Tm which can be identified by the application chain M, and submits the Tm to the application chain M for execution.
Step 4.3: and (5) transfer verification.
If the step 4.2 is finished, the verification passing information and the block information to which the NFT belongs are replied to the sending Tn request ETL gateway. And if the verification result is incorrect, returning verification failure information to ensure the credibility and the non-falsification of the synchronous data.
And 5: NFT anti-counterfeiting tracing.
And inquiring the authenticity information, the production information, the supply chain information and the transaction information of the bill by using the mobile intelligent read-write terminal, tracing the supply chain information and the transaction information, and acquiring the NFT non-homogeneous certificate of the bill through the NFT contract.
Advantageous effects
Compared with the prior art, the invention has the following advantages:
the invention adopts the invisible two-dimensional code, combines the production, transportation and sale information of the bills with the block chain technology, realizes the transparentization, decentralization and traceability of the bill supply chain, solves the flow problem of the bill online and offline supply chain through NFT, and keeps high fidelity and timeliness, thereby being beneficial to improving the security of stamp transaction.
Drawings
FIG. 1 is a schematic flow diagram of the present invention;
FIG. 2 is a block chain parallel chain network structure and a cross-service chain information acquisition structure according to the present invention;
FIG. 3 is a diagram of the NFT contract synchronization across business chains in accordance with the present invention;
fig. 4 is a schematic timing diagram of a bill anti-counterfeiting tracing method based on a block chain NFT according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Examples
The present embodiment takes the anti-counterfeit tracing for stamps as an example to explain the system and method of the present invention.
A bill supply chain anti-counterfeiting traceability system based on a block chain NFT comprises a two-dimensional code anti-counterfeiting label, a stamp information chaining module, a public authentication block chain platform, a block chain ETL gateway, a stamp circulation information acquisition module, a traceability query module, a mobile intelligent read-write terminal and an NFT transfer module.
The stamp invisible two-dimensional code anti-counterfeiting label comprises the following components: the two-dimensional code generation and reading and writing system generates a two-dimensional code label, and the two-dimensional code anti-counterfeiting label is an invisible code and is printed on the same side face with the stamp pattern. In order to further ensure the safety, the two-dimension code information of the bill is sent to a block chain platform after being hashed, the stamp basic information (stamp information, a distribution plan, case version relation, layout relation and other data) is generated into a unique hash value by adopting an SHA256 algorithm, the hash value is transmitted to a block chain, and the specific information of the bill is stored in a database so as to ensure the safety of the bill information.
The bill information uplink module and the supply chain information uplink module are as follows: chaining basic information and circulation information of the invisible two-dimensional code anti-counterfeiting label to form a stamp block; the stamp block comprises a block head and a block body, wherein the block head comprises a block version number, a random number, a timestamp, a Hash value of a previous block, a Mercury root and a Hash value of a current block, and the block body comprises stamp basic information (data such as bill information, a release plan, a case version relationship, a layout relationship and the like), circulation information (transaction event data of each circulation link such as production, circulation, sale, consignment, delivery and the like), main body information of the stamp and the like. Particularly, the off-line physical stamp and the on-line electronic bill parallel service chain are both based on the unique two-dimensional code anti-counterfeit label.
The block chain ETL gateway monitors real assets of a down service chain in real time, collects and converts the real assets through a block chain prediction machine in a service chain and through a block chain ETL gateway which is connected outside the block chain prediction machine chain, and calls an NFT generation contract on the service chain to generate a corresponding NFT; and arranging parallel processes between online and offline chains based on the block chain prompters, establishing a uniform transaction parallel mechanism and a synchronous interaction protocol, verifying transaction data in the parallel chains through the transaction parallel mechanism, and synchronizing data between the offline and online service chains through the synchronous interaction protocol.
NFT transfer module: the block chain previewer is combined with the NFT, real-time monitoring and data interaction under a line are completed on the NFT intelligent contract by the block chain previewer, real postage tickets under the chain can be quickly and conveniently led in by the block chain previewer, and dynamic contact between the NFT and the line is enhanced. The online NFT business chain and the offline NFT business chain construct a parallel process system, double-chain fusion can be carried out on a consensus level, a transaction flow is unified, the NFT of the online and offline business chains is interacted through a synchronous interaction protocol, transaction data are exchanged and transmitted, and efficient cross-chain synchronization of the NFT is achieved.
Further, the method for synchronizing the square block chain NFT online and offline service chains specifically includes:
and in the online downlink, the stamps in the online downlink are monitored in real time and collected and converted by associating ETL gateways outside a block chain predictor chain, and the NFT is called on the chain to generate a contract to generate a corresponding NFT.
When the stamp body initiates a sharing transaction, the circulation data stored in the online downlink can be shared to the online and the transaction is completed through the intelligent contract of the online business, and the intelligent contract is also required to be used in addition, modification and inquiry.
A block chain prediction machine is used for acquiring a large amount of offline data of the NFT, and data resources are extracted, converted, classified and integrated through the ETL gateway and then uploaded to the block chain prediction machine.
When postage stamp ownership change or circulation information change occurs in an online parallel service chain and an offline parallel service chain, and after cross-service chain message authenticity is verified, a user client is responded, and an NFT is called to generate a contract to generate a corresponding NFT; the NFT generation module is respectively deployed in the offline and online service chains, that is, each service chain can generate a unique NFT on its chain according to its respective attribute, and the NFT realizes inter-line and offline parallel chain cross-service chain transfer communication and parallel chain synchronous update.
A source tracing information query module: related data such as stamp circulation and the like complete original data and circulation information record chaining through an intelligent contract related algorithm.
The intelligent read-write terminal is a mobile intelligent terminal with a camera or a recognizable two-dimensional code with a reading and scanning function, and comprises but is not limited to a smart phone, a tablet or a smart watch.
And the block chain gateway system performs verification in the block chain background system by scanning the stamp invisible anti-counterfeiting two-dimensional code label information to obtain stamp traceability information.
In particular, the request for updating the NFT across the business chain may be initiated by a blockchain network system.
A block chain NFT-based bill supply chain anti-counterfeiting traceability method is shown in figure 1 and comprises the following steps:
step 1: and linking the bill information.
The cochain of the bill information comprises an entity bill cochain and an electronic bill cochain, wherein the invisible two-dimensional code label and the bill pattern are printed on the same side face and represent the unique digital identity of the bill. Forming a bill block after chaining; the block head comprises a block version number, a random number, a timestamp, a Hash value of a previous block, a Mercker tree root and a Hash value of a current block, and the block body comprises basic bill information (data such as bill information, a release plan, a case version relationship, a layout relationship and the like), circulation information (transaction event data of each circulation link such as production, circulation, sales, consignment, delivery and the like), main body information of the bill and the like.
Step 2: and acquiring bill circulation information.
Circulation information acquisition module: the links of online and offline publishing, production, processing and destruction, circulation, sale, picking up goods and taking tickets, warehousing and consignment and the like of the stamps are recorded and stored in a block chain platform.
And step 3: and generating the NFT contract.
Blockchain ETL gateways are set up in offline service chains of different network nodes (including now different service chains 1, 2, …, n) and NFT generation contracts are deployed. The NFTs of each of the service chains 1, 2, …, n can be generated (NFT1, NFT2, …, NFTn).
The online and offline service chains generate a unique ID according to the basic information of the stamp, and an NFT generation contract deployed on the online or offline service chain generates block information to which a unique NFT content belongs according to the current timestamp, wherein the block information comprises the unique ID of the stamp, the network address of an ETL gateway of the service chain or the online service chain, the summary of the NFT content and necessary digital signature information. Where the digital signature information is changed (i.e., supply chain data and transaction data), the NFT content digest is combined with the current timestamp and signed. As shown in fig. 2, it is a structure diagram of parallel chain network structure and cross-service chain information acquisition.
And 4, step 4: service chain information synchronization and NFT rights and interests transfer.
Wherein:
(1) generating: firstly, a trusted third-party block chain network platform is built as an interaction chain of NFT rights transfer and information synchronization based on a block chain ETL gateway, the platform can provide a plurality of Restful interfaces for accessing all online and offline service chains, and a unique service chain ID number (Para1, Para2, …, Para n) is set to generate the NFT with an ID identification number.
(2) Transferring: each service chain network node records block head information of a block chain where the service chain network node is located in real time, when a transaction is generated on a block chain system, each block head comprises a service chain N where the block head is located to call an NFT contract of a current service chain, and synchronization or transaction information Tn is thrown out, (wherein parameters of a synchronization message function Tn comprise a target block chain name, an NFT contract name of a received message, message content, a source block chain name, an NFT contract name of a message source, and message content), and an ETL gateway of the current service chain submits the block head information to an interaction chain. The receiving message ETL gateway receives Tn, verifies and analyzes the Tn, converts the Tn into synchronization or transaction information Tm recognizable by the application chain M, and submits Tm to the application chain M for execution, as shown in fig. 3, which is a schematic diagram of NFT contract synchronization across service chains.
(3) Transfer verification: if the step (2) is finished, replying verification passing information and the block information of the NFT to the ETL gateway which sends the Tn request; and if the verification result is incorrect, returning verification failure information to ensure the credibility and the non-falsification of the synchronous data.
And 5: NFT anti-counterfeiting tracing.
As shown in fig. 4, the intelligent read-write terminal is opened to be a mobile intelligent terminal with a camera or a function of reading and scanning an identifiable two-dimensional code, so as to query the authenticity information, the production information, the supply chain information and the transaction information of the stamp, trace the source of the supply chain information and the transaction information, and obtain the NFT non-homogeneity evidence of the stamp through the NFT contract.
The method specifically comprises the following steps:
(1) and the two-dimensional code anti-counterfeiting label is generated and printed, and the two-dimensional code generating and reading-writing system generates the two-dimensional code label which is an invisible code and is printed on the same side face with the stamp pattern. In order to further ensure the safety, the two-dimension code information of the stamp is sent to a block chain platform after being hashed, basic stamp information (stamp information, issue plan, case version relationship, layout relationship and other data) is generated into a unique hash value by adopting an SHA256 algorithm, the hash value is transmitted to a block chain, and specific information of a commodity is stored in a database so as to ensure the safety of the stamp information.
(2) The stamp information chaining module is used for chaining the basic information and the circulation information of the invisible two-dimensional code anti-counterfeiting label to form a stamp block; the stamp block comprises a block head and a block body, wherein the block head comprises a block version number, a random number, a timestamp, a Hash value of a previous block, a Mercury root and a Hash value of a current block, and the block body comprises stamp basic information (stamp information, a distribution plan, a case version relationship, a layout relationship and other data), circulation information (production, circulation, sales, consignment, delivery and other circulation transaction event data) and stamp belonging main body information and the like. Particularly, the off-line physical stamp and the on-line electronic stamp parallel business chain are both based on the unique two-dimensional code anti-counterfeit label.
(3) The block chain ETL gateway sets a block chain prediction machine in a service chain, monitors real assets of a down service chain in real time, collects and converts the real assets through the block chain ETL gateway which is connected outside the block chain prediction machine chain, and calls an NFT generation contract on the service chain to generate a corresponding NFT; and arranging parallel processes between online and offline chains based on the block chain prompters, establishing a uniform transaction parallel mechanism and a synchronous interaction protocol, verifying transaction data in the parallel chains through the transaction parallel mechanism, and synchronizing data between the offline and online service chains through the synchronous interaction protocol.
(4) The block chain prediction machine is combined with the NFT, the NFT intelligent contract is used for completing real-time monitoring and data interaction under the line by using the block chain prediction machine, real postage tickets under the chain can be quickly and conveniently imported by setting the block chain prediction machine, and dynamic contact between the NFT and the line is enhanced.
(5) The online NFT service chain and the offline NFT service chain construct a parallel process system, double-chain fusion can be carried out on a consensus layer, transaction processes are unified, the NFTs of the online service chain and the offline service chain are interacted through a synchronous interaction protocol, transaction data are exchanged and transmitted, and efficient cross-chain synchronization of the NFTs is achieved.
Further, the block chain NFT online-to-offline service chain synchronization method specifically includes:
in the online downlink, the postage stamps in the online downlink are monitored in real time, collected and converted through the ETL gateway which is associated outside the block chain preplaner chain, and the NFT is called on the chain to generate a contract to generate the corresponding NFT.
When the stamp body initiates a sharing transaction, the circulation data stored in the online downlink can be shared to the online and the transaction is completed through the intelligent contract of the online business, and the intelligent contract is also required to be used in addition, modification and inquiry.
A block chain prediction machine is used for acquiring a large amount of offline data of the NFT, and data resources are extracted, converted, classified and integrated through the ETL gateway and then uploaded to the block chain prediction machine.
When postage stamp ownership change or circulation information change occurs in an online parallel service chain and an offline parallel service chain, and after cross-service chain message authenticity is verified, a user client is responded, and an NFT is called to generate a contract to generate a corresponding NFT; the NFT generation module is respectively deployed in the offline and online service chains, that is, each service chain can generate a unique NFT on its chain according to its respective attribute, and the NFT realizes inter-line and offline parallel chain cross-service chain transfer communication and parallel chain synchronous update.
Related data such as stamp circulation and the like complete original data and circulation information record chaining through an intelligent contract related algorithm.
The intelligent read-write terminal is a mobile intelligent terminal with a camera or a recognizable two-dimensional code with a reading and scanning function, and comprises but is not limited to a smart phone, a tablet or a smart watch.
And by scanning the stamp two-dimension code information, the block chain gateway system performs verification in the block chain background system to obtain stamp traceability information.
In particular, the request for updating the NFT across the service chain may be initiated by a blockchain network system.

Claims (3)

1. A bill supply chain anti-counterfeiting traceability system based on a block chain NFT is characterized by comprising a bill invisible two-dimensional code anti-counterfeiting label, a block chain prediction machine, a bill information/supply chain information uplink module, a public authenticated block chain platform, a block chain ETL gateway, a traceability information query module, a mobile intelligent read-write terminal and an NFT transfer module;
the invisible two-dimensional code anti-counterfeiting label of the bill is an invisible code, and is printed on the same side surface with the bill pattern; storing the specific information of the bill in a database;
the block chain preplan machine is used for acquiring offline service chain data resources for generating NFT; the block chain ETL gateway is used for collecting data from an offline service chain, extracting, converting and loading the data to the block chain prediction machine;
the bill information/supply chain information chaining module is used for chaining the basic information and the supply chain circulation information of the invisible two-dimensional code anti-counterfeiting label to finally form a bill block; the bill block comprises a block head and a block body, wherein the block head comprises a block version number, a random number, a timestamp, a Hash value of a previous block, a Mercker tree root and a Hash value of a current block; the block body comprises bill basic information, circulation information and main body information of the bill; the off-line real object bill and the on-line electronic bill parallel service chain are both based on a unique two-dimensional code anti-counterfeit label;
the public authenticated block chain platform is used for writing the bill information and the transaction event data of each circulation link of the supply chain into the block chain;
the block chain ETL gateway is used for realizing the block chain ETL gateway which is linked outside the chain by a block chain prediction machine in the service chain, carrying out real-time monitoring, collection and conversion on real assets of the offline service chain and calling an NFT (network file transfer) generation contract on the service chain to generate a corresponding NFT; deploying an on-line and off-line parallel process based on each block chain prediction machine, and formulating a uniform transaction parallel mechanism and a synchronous interaction protocol; transaction data in a parallel chain is verified through a transaction parallel mechanism, and data between offline and online service chains are synchronized through a synchronous interaction protocol;
the NFT transfer module is used for generating NFT in each service chain by using the block chain predictive organ association intelligent contract, executing the transfer of the NFT contract based on the construction of a parallel service chain architecture system, and setting a transfer request and a verification mechanism;
the traceability information query module is used for completing the original data and circulation information record chaining of the bill circulation related data through an intelligent contract related algorithm; the block chain ETL gateway checks and verifies in the system background to obtain stamp tracing information;
the mobile intelligent read-write terminal can identify the two-dimensional code and has the functions of shooting or reading and scanning.
2. A bill supply chain anti-counterfeiting tracing method based on a block chain NFT is characterized by comprising the following steps:
step 1: the note information cochain comprises a physical note cochain and an electronic note cochain;
the invisible two-dimensional code label and the bill pattern are printed on the same side face and represent the unique digital identity of the bill;
forming a bill block after winding, wherein the bill block comprises a block head and a block body; the block head comprises a block version number, a random number, a timestamp, a Hash value of a previous block, a Mercker tree root and a Hash value of a current block, and the block body comprises bill basic information, circulation information and main body information to which the bill belongs;
step 2: acquiring information of a bill supply chain, including issuing, production, processing and destruction, circulation, sale, picking up and taking bills, warehousing and consignment on a bill on-line and off-line, and storing the information to a block chain platform;
and 3, step 3: NFT contract generation;
firstly, setting a block chain ETL gateway in offline service chains of different network nodes, and deploying an NFT (network File transfer protocol) generation contract; on the offline service chain 1, 2, …, n, its respective NFT is generated, such as: NFT1, NFT2, …, NFTn;
the online and offline service chains generate unique IDs according to the basic information of the bills; generating a unique block information to which the NFT content belongs by NFT generation contracts deployed in online and offline service chains according to the current time stamp, wherein the block information comprises a unique ID of the bill, a network address of an ETL gateway or an online service chain of the service chain, an NFT content abstract and digital signature information; wherein the digital signature information is variable; combining the NFT content abstract and the current timestamp together, and signing;
and 4, step 4: service chain information synchronization and NFT rights and interests transfer;
step 4.1: generating an NFT with an ID identification number;
firstly, a trusted third-party blockchain network platform is built based on a blockchain ETL gateway and used as an interaction chain for NFT rights and interests transfer and information synchronization;
the platform can provide Restful interface for all on-line and off-line service chain access, and set a unique service chain ID number: para1, Para2, …, Para n, generating NFT with ID identifier; para n represents the nth service chain;
step 4.2: transferring NFT equity;
each service chain network node records block head information of a block chain in which each service chain network node is located in real time; when a transaction is generated on the block chain system, each block head comprises a service chain N where the block head is located, the NFT contract of the current service chain is called, and synchronization or transaction information Tn is thrown out; the parameters of the synchronization message function Tn include a target block chain name, an NFT contract name of a received message, message content, a source block chain name, an NFT contract name of a message source, and message content; the ETL gateway of the current service chain submits the ETL gateway to an interaction chain; after receiving Tn, the ETL gateway verifies and analyzes the Tn, converts the Tn into synchronous or transaction information Tm which can be identified by the application chain M, and submits the Tm to the application chain M for execution;
step 4.3: transfer verification;
if the step 4.2 is finished, replying verification passing information and the block information to which the NFT belongs to the ETL gateway to which the Tn is sent to request; if the verification result is incorrect, returning verification failure information to ensure the credibility and the non-falsification of the synchronous data;
and 5: NFT anti-counterfeiting tracing;
and inquiring the authenticity information, the production information, the supply chain information and the transaction information of the bill by using the mobile intelligent read-write terminal, tracing the supply chain information and the transaction information, and acquiring the NFT non-homogeneous certificate of the bill through the NFT contract.
3. The block chain NFT-based bill supply chain anti-counterfeiting traceability method according to claim 2, wherein the block chain NFT online and offline business chain synchronization method comprises the following steps:
firstly, in an online downlink, real-time monitoring and collecting and converting bills in the online downlink through a block chain predictor link external association block chain ETL gateway, and calling an NFT (network File transfer) to generate a contract on a chain to generate a corresponding NFT;
when the main body of the bill initiates a sharing transaction, the circulation data stored in the online downlink is shared to the online link, and the transaction is completed through the intelligent contract of the online uplink service; in addition, intelligent contracts are also used in addition, modification and inquiry;
then, acquiring NFT offline data by using a block chain prediction machine, extracting, converting, classifying and integrating data resources through a block chain ETL gateway, and uploading the data resources to the block chain prediction machine;
when bill right change or circulation information change occurs in an online parallel service chain and an offline parallel service chain, and the authenticity of cross-service chain messages is verified, a user client is responded, and an NFT is called to generate a contract to generate a corresponding NFT; the NFT generation module is respectively deployed in online downlink and online service chains, that is, each service chain can generate a special NFT on the chain according to respective attributes; and realizing cross-service chain transfer communication and parallel chain synchronous updating between the offline and online parallel chains through the NFT.
CN202210298323.8A 2022-03-24 2022-03-24 Bill supply chain anti-counterfeiting traceability system and method based on block chain NFT Active CN114399320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210298323.8A CN114399320B (en) 2022-03-24 2022-03-24 Bill supply chain anti-counterfeiting traceability system and method based on block chain NFT

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210298323.8A CN114399320B (en) 2022-03-24 2022-03-24 Bill supply chain anti-counterfeiting traceability system and method based on block chain NFT

Publications (2)

Publication Number Publication Date
CN114399320A CN114399320A (en) 2022-04-26
CN114399320B true CN114399320B (en) 2022-07-19

Family

ID=81234650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210298323.8A Active CN114399320B (en) 2022-03-24 2022-03-24 Bill supply chain anti-counterfeiting traceability system and method based on block chain NFT

Country Status (1)

Country Link
CN (1) CN114399320B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277753A (en) * 2022-07-06 2022-11-01 上海万向区块链股份公司 Block chain based digital stamp system, method and medium
CN115018522B (en) * 2022-08-08 2022-10-25 环球数科集团有限公司 NFT (network File transfer protocol) source tracing anti-counterfeiting system based on block chain
CN116739529A (en) * 2023-08-04 2023-09-12 济南源创软件有限公司 Tree identification and maintenance system and method based on new generation information technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109146688A (en) * 2018-08-30 2019-01-04 广州立趣信息科技有限公司 A kind of supply chain financial application method based on block chain alliance chain technology
CN109345264A (en) * 2018-08-21 2019-02-15 太原理工大学 A kind of alcohol product traceability anti-fake system and method based on block chain
CN113362073A (en) * 2020-03-06 2021-09-07 上海部恩科技有限公司 Virtual asset disposal method based on block chain non-homogenization evidence
CN113706175A (en) * 2021-08-31 2021-11-26 江超 Commodity traceability anti-counterfeiting method based on block chain and related equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018163044A1 (en) * 2017-03-05 2018-09-13 Tatchell Shona System and method for provision of supply chain financing of ethically verified product where there has been verification of production processes and products inspection using blockchain smart contracts

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109345264A (en) * 2018-08-21 2019-02-15 太原理工大学 A kind of alcohol product traceability anti-fake system and method based on block chain
CN109146688A (en) * 2018-08-30 2019-01-04 广州立趣信息科技有限公司 A kind of supply chain financial application method based on block chain alliance chain technology
CN113362073A (en) * 2020-03-06 2021-09-07 上海部恩科技有限公司 Virtual asset disposal method based on block chain non-homogenization evidence
CN113706175A (en) * 2021-08-31 2021-11-26 江超 Commodity traceability anti-counterfeiting method based on block chain and related equipment

Also Published As

Publication number Publication date
CN114399320A (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN114399320B (en) Bill supply chain anti-counterfeiting traceability system and method based on block chain NFT
CN110163628B (en) Agricultural product traceability system based on block chain
Sunyaev et al. Distributed ledger technology
CN109034833B (en) Product tracing information management system and method based on block chain
CN106530088B (en) Method for trading certificate products based on blockchain security nodes
EP3635607B1 (en) Computer-implemented system and method for managing transactions over a blockchain network
CN108769154B (en) Data storage method based on directed acyclic graph and distributed account book
JP2020035436A (en) Traceability system for pet food
KR20180115768A (en) Encryption method and system for secure extraction of data from a block chain
EP3540662A1 (en) Computer implemented method for supply chain management and provenance in a data processing network
CN107851284A (en) The system and method for recording and identifying for distributing ownership
CN110570308B (en) Block chain-based electronic warehouse receipt transaction system with incentive mechanism
CN112053271B (en) Public service platform data evidence management method and system based on block chain
Liu et al. A donation tracing blockchain model using improved DPoS consensus algorithm
CN111488372A (en) Data processing method, device and storage medium
CN111339550A (en) Comment information credibility method based on block chain technology
Cui et al. Protecting vaccine safety: An improved, blockchain-based, storage-efficient scheme
Bilal et al. Blockchain technology: Opportunities & challenges
CN110599212A (en) Anti-counterfeiting parameter generation and anti-counterfeiting verification method, device and storage medium
WO2021249208A1 (en) Digital currency model, method, system and device using code chain block
CN115834593A (en) Safety cooperation system and safety cooperation method based on block chain
CN109214916A (en) A kind of counterfeit money information management system based on block chain
He et al. Design of anti-counterfeiting system based on blockchain and NFC tag
KR20190118463A (en) Method for providing lock-chain based direct mileage service from producer to end-user
CN113487402B (en) Supply chain financial platform based on trust model

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