CN115018522A - NFT traceability anti-counterfeiting system based on block chain - Google Patents

NFT traceability anti-counterfeiting system based on block chain Download PDF

Info

Publication number
CN115018522A
CN115018522A CN202210941498.6A CN202210941498A CN115018522A CN 115018522 A CN115018522 A CN 115018522A CN 202210941498 A CN202210941498 A CN 202210941498A CN 115018522 A CN115018522 A CN 115018522A
Authority
CN
China
Prior art keywords
nft
code
module
sequence
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.)
Granted
Application number
CN202210941498.6A
Other languages
Chinese (zh)
Other versions
CN115018522B (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.)
Global Digital Group Co Ltd
Original Assignee
Global Digital Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Global Digital Group Co Ltd filed Critical Global Digital Group Co Ltd
Priority to CN202210941498.6A priority Critical patent/CN115018522B/en
Publication of CN115018522A publication Critical patent/CN115018522A/en
Application granted granted Critical
Publication of CN115018522B publication Critical patent/CN115018522B/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
    • G06Q30/0185Product, service or business identity fraud
    • 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/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • 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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0609Buyer or seller confidence or verification

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides a block chain-based NFT (network File transfer) tracing anti-counterfeiting system, which comprises an NFT storage module, an NFT transfer module, an NFT verification module, an NFT tracing module and an NFT numbering module, wherein the NFT storage module is used for storing the essential digital content of NFT, the NFT transfer module is used for transferring the NFT among different users, the NFT verification module is used for verifying the legality of the NFT, the NFT tracing module records the transaction information of the NFT through a block chain, and the NFT numbering module is used for numbering the NFT; the system achieves the anti-counterfeiting effect by verifying the objects, the rights and the people of the NFT, records information based on the block chain, confirms ownership based on the anti-counterfeiting code, and enables the anti-counterfeiting code to change along with the creation of the new block, so that the ownership is transferred, and the anti-counterfeiting effect of the NFT is better achieved.

Description

NFT traceability anti-counterfeiting system based on block chain
Technical Field
The invention relates to the technical field of block chains, in particular to an NFT (network file transfer) traceability anti-counterfeiting system based on a block chain.
Background
The blockchain technology is a brand-new distributed infrastructure and computing paradigm, and is to utilize a blockchain data structure to verify and store data, utilize a distributed node consensus algorithm to generate and update data, utilize cryptography to ensure the security of data transmission and access, and utilize 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 NFT (Non-fungal Tokens) as a proof of title for various collections and other assets (here, assets refer to some collections such as stamps or tickets issued by relevant national departments and having both cultural and commodity attributes), which are currently communicated privately between users or purchased from merchants in secondary markets. However, in the transaction chain, strict supervision is not provided for the authentication of the commodities, the authentication of the users and parties, the contract of the buying and selling, and the like. These issues greatly affect the normalization of collection transactions, while blockchain techniques can help with authentication, trading contract data for distributed data storage and distribution, while ensuring that it is unique and tamper-proof. The foregoing discussion of the background art is intended only to facilitate an understanding of the present invention. This discussion is not an acknowledgement or admission that any of the material referred to is part of the common general knowledge.
A plurality of NFT anti-counterfeiting systems have been developed, and through a lot of search and reference, it is found that the existing anti-counterfeiting systems are the systems disclosed by the publication number CN114399320B, and these systems generally include real-time monitoring of real assets of down-link tickets by setting a blockchain 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. However, the system still only depends on the block chain to realize anti-counterfeiting, and the risk of information theft exists.
Disclosure of Invention
The invention aims to provide an NFT (network file transfer) traceability anti-counterfeiting system based on a block chain, aiming at the existing defects.
The invention adopts the following technical scheme:
an NFT tracing anti-counterfeiting system based on a block chain comprises an NFT storage module, an NFT transfer module, an NFT verification module, an NFT tracing module and an NFT numbering module, wherein the NFT storage module is used for storing the essential digital content of the NFT, the NFT transfer module is used for transferring the NFT among different users, the NFT verification module is used for verifying the legality of the NFT, the NFT tracing module records the transaction information of the NFT through the block chain, and the NFT numbering module is used for numbering the NFT;
the essential digital content of the NFT is called a digital product, the NFT storage module includes a storage public domain and a storage private domain, and the NFT verification module verifies the verification content of the NFT including three points:
firstly, digital products corresponding to NFT exist in a private storage domain corresponding to a user;
secondly, a buyer in the last transaction information about the NFT in the NFT tracing module is the user;
the anti-counterfeiting code provided by the user can pass verification;
the NFT verification module processes a digital product to obtain a check code, the NFT tracing module performs hash processing on a corresponding block to obtain a hash code, the NFT verification module processes the check code and the hash code to obtain a tail code, and the serial number of the NFT and the tail code form an anti-counterfeiting code of the NFT;
the process of the NFT verification module for verifying the anti-counterfeiting code provided by the user comprises the following steps: extracting a serial number from the anti-counterfeiting code, finding a corresponding block in the NFT tracing module based on the serial number, carrying out hash processing on the block to obtain a hash code, processing a digital product provided by a user to obtain a check code, processing the hash code and the check code to obtain a tail code, and comparing the tail code with the anti-counterfeiting code;
the NFT verification module includes a calculation processing unit, the calculation processing unit is configured to process a calculation amount of a tail code, and a process of processing the tail code by the calculation processing unit is as follows:
the hash code and the check code have the same length L, and the hash value is compared with each unit length character in the check code to obtain a code distance number sequence
Figure 540682DEST_PATH_IMAGE001
U is the number of code distance and the value range is
Figure 71020DEST_PATH_IMAGE002
Each code distance value
Figure 948846DEST_PATH_IMAGE003
Has a value range of
Figure 830215DEST_PATH_IMAGE004
Carrying out carry processing on the code distance value:
Figure 451689DEST_PATH_IMAGE005
and processing the code distance value according to the following formula to obtain a tail code:
Figure 102113DEST_PATH_IMAGE006
wherein the content of the first and second substances,
Figure 885261DEST_PATH_IMAGE007
indicating the value corresponding to the ith bit tail code character;
further, the NFT verification module includes a digital product processing unit, where the digital product processing unit is configured to process the obtained check code, and a process of obtaining the check code is as follows:
s41, converting the code information of the digital product according to the sequence to obtain a sequence of numbers
Figure 253926DEST_PATH_IMAGE008
I is a series of numbers
Figure 914977DEST_PATH_IMAGE008
The sequence number of the element in the sequence, the value range of each element in the sequence is
Figure 482224DEST_PATH_IMAGE009
S42, arranging the sequence of numbers
Figure 311640DEST_PATH_IMAGE008
Processing the obtained sequence according to the following formula
Figure 495497DEST_PATH_IMAGE010
Figure 130877DEST_PATH_IMAGE011
Wherein j is a sequence of numbers
Figure 614948DEST_PATH_IMAGE010
The serial number of the element in (1);
s43, arranging the sequence of numbers
Figure 880844DEST_PATH_IMAGE008
And array of numbers
Figure 83156DEST_PATH_IMAGE010
Processing according to the following formula to obtain a sequence
Figure 725490DEST_PATH_IMAGE012
Figure 828181DEST_PATH_IMAGE013
Wherein k is a number sequence
Figure 264979DEST_PATH_IMAGE012
The serial number of the element in (1);
s44, arranging the sequence of numbers
Figure 954586DEST_PATH_IMAGE012
Substitution to array
Figure 135032DEST_PATH_IMAGE014
And repeating the steps S42 and S43 until the sequence is reached
Figure 593695DEST_PATH_IMAGE012
Number of elements of (2) in
Figure 201394DEST_PATH_IMAGE015
Within the interval;
s45, arranging the sequence of numbers
Figure 378297DEST_PATH_IMAGE012
Converting the first L elements into corresponding characters to form check codes;
furthermore, the system has the authority to copy and delete the digital product in the storage public domain and the storage private domain, and the user only has the authority to copy the digital product in the corresponding storage private domain;
further, the NFT tracing module generates a new block when the transaction is completed, the NFT verifying module processes the hash value of the new block to obtain a new anti-counterfeiting code and sends the new anti-counterfeiting code to the purchaser in the transaction, and the block includes NFT number information of the transaction;
further, the NFT tracing module has a retrieval function, and can query a corresponding block in a block chain by inputting the number of the NFT, thereby obtaining the change information of the owner of the NFT after the NFT is created.
The beneficial effects obtained by the invention are as follows:
the system saves NFT and limits the operation authority of users to the NFT in the storage module by arranging the storage module, so that each NFT can only exist in one private storage domain during non-transaction period, the anti-counterfeiting of 'things' is realized, the anti-counterfeiting code of the NFT is updated after each transaction, the anti-counterfeiting of 'rights' is realized, the transaction information is recorded in a block chain, the transaction information is compared with the users providing 'things' and 'rights', the anti-counterfeiting of 'people' is realized, and the safety of the NFT is improved through the three layers of anti-counterfeiting mechanisms.
For a better understanding of the features and technical content of the present invention, reference should be made to the following detailed description of the invention and accompanying drawings, which are provided for purposes of illustration and description only and are not intended to limit the invention.
Drawings
FIG. 1 is a schematic view of the overall structural framework of the present invention;
FIG. 2 is a schematic diagram of the generation of anti-counterfeit code according to the present invention;
FIG. 3 is a schematic diagram illustrating the verification of an anti-counterfeit code according to the present invention;
FIG. 4 is a schematic diagram illustrating NFT verification according to the present invention;
FIG. 5 is a diagram illustrating the authority of the storage module according to the present invention.
Detailed Description
The following is a description of embodiments of the present invention with reference to specific embodiments, and those skilled in the art will understand the advantages and effects of the present invention from the disclosure of the present specification. The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention. The drawings of the present invention are for illustrative purposes only and are not intended to be drawn to scale. The following embodiments will further explain the related art of the present invention in detail, but the disclosure is not intended to limit the scope of the present invention.
The first embodiment.
The embodiment provides a block chain-based NFT tracing anti-counterfeiting system, which, with reference to fig. 1, includes an NFT storage module, an NFT transfer module, an NFT verification module, an NFT tracing module, and an NFT numbering module, where the NFT storage module is configured to store essential digital content of an NFT, the NFT transfer module is configured to transfer the NFT among different users, the NFT verification module is configured to verify validity of the NFT, the NFT tracing module records transaction information of the NFT through a block chain, and the NFT numbering module is configured to assign a number to the NFT;
the essential digital content of the NFT is called a digital product, the NFT storage module includes a storage public domain and a storage private domain, and the NFT verification module verifies the verification content of the NFT including three points:
firstly, digital products corresponding to NFT exist in a private storage domain corresponding to a user;
secondly, a buyer in the last transaction information about the NFT in the NFT tracing module is the user;
the anti-counterfeiting code provided by the user can pass verification;
the NFT verification module processes a digital product to obtain a check code, the NFT tracing module performs hash processing on a corresponding block to obtain a hash code, the NFT verification module processes the check code and the hash code to obtain a tail code, and the serial number of the NFT and the tail code form an anti-counterfeiting code of the NFT;
the process of the NFT verification module for verifying the anti-counterfeiting code provided by the user comprises the following steps: extracting a serial number from the anti-counterfeiting code, finding a corresponding block in the NFT tracing module based on the serial number, carrying out hash processing on the block to obtain a hash code, processing a digital product provided by a user to obtain a check code, processing the hash code and the check code to obtain a tail code, and comparing the tail code with the anti-counterfeiting code;
the NFT verification module includes a calculation processing unit, the calculation processing unit is configured to process a calculation amount of a tail code, and a process of processing the tail code by the calculation processing unit is as follows:
the hash code and the check code have the same length L, and the hash value is compared with each unit length character in the check code to obtain a code distance number sequence
Figure 96855DEST_PATH_IMAGE016
U is the number of code distance and the value range is
Figure 911489DEST_PATH_IMAGE017
Each code distance value
Figure 690089DEST_PATH_IMAGE016
Has a value range of
Figure 354289DEST_PATH_IMAGE018
Carrying out carry processing on the code distance value:
Figure 876537DEST_PATH_IMAGE019
and processing the code distance value according to the following formula to obtain a tail code:
Figure 309792DEST_PATH_IMAGE020
wherein, the first and the second end of the pipe are connected with each other,
Figure 259294DEST_PATH_IMAGE021
indicating the value corresponding to the ith bit tail code character;
the NFT verification module comprises a digital product processing unit, wherein the digital product processing unit is used for processing the obtained check code, and the process of obtaining the check code is as follows:
s41, converting the code information of the digital product according to the sequence to obtain a sequence of numbers
Figure 145210DEST_PATH_IMAGE022
I is a series of numbers
Figure 471149DEST_PATH_IMAGE022
The sequence number of the element in the sequence, the value range of each element in the sequence is
Figure 257446DEST_PATH_IMAGE023
S42, arranging the sequence of numbers
Figure 377849DEST_PATH_IMAGE022
Is processed according to the following formulaTo array of numbers
Figure 16641DEST_PATH_IMAGE024
Figure 880692DEST_PATH_IMAGE025
Wherein j is a sequence of numbers
Figure 22960DEST_PATH_IMAGE024
The serial number of the element in (1);
s43, arranging the sequence of numbers
Figure 579843DEST_PATH_IMAGE022
And array of numbers
Figure 440352DEST_PATH_IMAGE026
Processing according to the following formula to obtain a sequence
Figure 108094DEST_PATH_IMAGE027
Figure 871913DEST_PATH_IMAGE028
Wherein k is a number sequence
Figure 334118DEST_PATH_IMAGE027
The serial number of the element in (1);
s44, arranging the sequence of numbers
Figure 681923DEST_PATH_IMAGE027
Substitution to array
Figure 887776DEST_PATH_IMAGE029
And repeating the steps S42 and S43 until the sequence is reached
Figure 4637DEST_PATH_IMAGE027
Number of elements in
Figure 903323DEST_PATH_IMAGE030
Within the interval;
s45, arranging the sequence of numbers
Figure 472844DEST_PATH_IMAGE027
Converting the first L elements into corresponding characters to form check codes;
the system has the authority to copy and delete the digital product in the storage public domain and the storage private domain, and the user only has the authority to copy the digital product in the corresponding storage private domain;
the NFT tracing module generates a new block when the transaction is completed, the NFT verification module processes the hash value of the new block to obtain a new anti-counterfeiting code and sends the new anti-counterfeiting code to a purchaser in the transaction, and the block contains NFT number information of the transaction;
the NFT tracing module has a retrieval function, and can query a corresponding block in a block chain by inputting the number of the NFT, so that the change information of an owner after the NFT is created is obtained.
Example two.
The embodiment includes all contents of the first embodiment, and provides a block chain-based NFT tracing anti-counterfeiting system, including an NFT storage module, an NFT transfer module, an NFT verification module, an NFT tracing module, and an NFT numbering module, where the NFT storage module is configured to store substantial digital content of an NFT, the NFT transfer module is configured to transfer the NFT among different users, the NFT verification module is configured to verify validity of the NFT, the NFT tracing module records transaction information of the NFT through a block chain, and the NFT numbering module is configured to assign a number to the NFT;
with reference to fig. 5, the NFT storage module includes a storage public domain and a storage private domain, where the storage public domain and the storage private domain are both used to store NFTs, the storage public domain can be accessed by all users, the storage private domain can be accessed by a proprietary user, NFTs in the storage public domain cannot be copied, deleted, and modified by users, NFTs in the storage private domain cannot be deleted or modified by proprietary users, the proprietary user of the storage private domain can only copy NFTs in the storage private domain, and copied digital products can be stored anywhere, but the digital products do not have uniqueness of NFTs;
the NFT transfer module is used for processing the transaction processing of NFT between two users, the transaction is carried out in two directions, the NFT transfer module submits respective storage private domains to the NFT transfer module so that the system can obtain the access right of the storage private domains, the NFT transfer module obtains a transaction space from a storage public domain and sends the address of the transaction space to both parties of the transaction, a seller of the NFT copies the NFT in the storage private domain and stores the copied digital product into the transaction space, a buyer of the NFT confirms the digital product in the transaction space and sends confirmation information to the NFT transfer module after confirming the confirmation, the NFT transfer module copies the digital product in the transaction space after receiving the confirmation information and stores the digital product in the transaction space into a storage domain provided by the buyer of the NFT, and attention is required, at this time, the digital product in the storage private domain of the buyer, the digital product in the transaction space and the NFT in the storage domain of the seller are completely consistent, but the ownership of the NFT is still in the hands of the seller, and what is done at this stage is the content transfer of the NFT;
a seller of the NFT sends an anti-counterfeiting code of the NFT to the NFT transfer module, the NFT transfer module sends the anti-counterfeiting code to the NFT verification module for verification, after the verification is passed, the NFT transfer module records the anti-counterfeiting code and the transaction information in a block chain and obtains a new anti-counterfeiting code, the NFT transfer module sends the new anti-counterfeiting code to a purchaser of the NFT, deletes the NFT in a seller storage private domain and a digital product in a transaction space, the purchaser of the NFT obtains ownership of the NFT due to the new anti-counterfeiting code, the digital product in the seller storage private domain is upgraded into the NFT with uniqueness due to the anti-counterfeiting code, and the permission transfer of the NFT is completed at this stage;
after the authority of the NFT is transferred, the NFT verification module can not verify the anti-counterfeiting code of the reseller, and the NFT verification module can verify the anti-counterfeiting code of the reseller;
when a user adds a new NFT in the system, adding a digital product into a public storage domain, generating a serial number for the digital product by an NFT number module, recording the serial number and information of adding the NFT in a block chain and obtaining an anti-counterfeiting code, sending the anti-counterfeiting code to the user by an NFT transfer module, copying the digital product by the NFT transfer module, storing the copied digital product in a private storage domain of the user, then deleting the digital product in the public storage domain, and upgrading the digital product in the private storage domain to the NFT after the user obtains the anti-counterfeiting code;
the NFT tracing module has a retrieval function, and can inquire corresponding transaction information in a block chain by inputting the number of the NFT so as to obtain the change information of an owner after the NFT is self-created;
the NFT verification module comprises a digital product processing unit, and the digital product processing unit calculates and processes a digital product to obtain a string of check codes;
with reference to fig. 2, the process of obtaining the anti-counterfeit code by the calculation processing unit according to the block information includes the following steps:
s1, obtaining the check code of the corresponding digital product from the NFT verification module;
s2, calculating the blocks and the check codes to obtain tail codes;
s3, forming an anti-counterfeiting code by the serial number and the tail code of the digital product;
with reference to fig. 3, the process of verifying the anti-counterfeit code provided by the user by the NFT verification module includes the following steps:
s21, processing the provided digital product to obtain a check code;
s22, extracting a serial number from the provided anti-counterfeiting code;
s23, obtaining the last block related to the number from the block chain based on the number;
s24, calculating the blocks and the check codes by using a calculation processing unit to obtain tail codes;
s25, comparing the tail code with the anti-counterfeiting code, and if the tail code and the anti-counterfeiting code are consistent, the verification is passed;
with reference to fig. 4, the process of the NFT verification module verifying the NFT provided by the user includes the following steps:
s31, verifying the anti-counterfeiting code;
s32, verifying the identity of the owner of the NFT: comparing the purchaser information of the tile record obtained in step S23 with the user information providing the anti-counterfeit code;
when the two verification results pass, the NFT is confirmed to be the only legal NFT;
the process of processing the check code by the digital product processing unit is as follows:
s41, converting the code information of the digital product according to the sequence to obtain a sequence of numbers
Figure 482388DEST_PATH_IMAGE031
I is a series of numbers
Figure 217870DEST_PATH_IMAGE031
The sequence number of the element in the sequence, the value range of each element in the sequence is
Figure 21878DEST_PATH_IMAGE032
S42, arranging the sequence of numbers
Figure 344275DEST_PATH_IMAGE031
Processing the obtained sequence according to the following formula
Figure 891931DEST_PATH_IMAGE033
Figure 983384DEST_PATH_IMAGE034
Wherein j is a sequence of numbers
Figure 958293DEST_PATH_IMAGE033
The serial number of the element in (1);
s43, arranging the sequence of numbers
Figure 767986DEST_PATH_IMAGE031
And array of numbers
Figure 119333DEST_PATH_IMAGE033
Processing according to the following formula to obtain a sequence
Figure 566757DEST_PATH_IMAGE035
Figure 978147DEST_PATH_IMAGE036
S44, arranging the sequence of numbers
Figure 681660DEST_PATH_IMAGE037
Substitution to array
Figure 899015DEST_PATH_IMAGE031
And repeating the steps S42 and S43 until the sequence is reached
Figure 965060DEST_PATH_IMAGE037
Number of elements in
Figure 281772DEST_PATH_IMAGE038
In the interval, L is the length of the check code;
s45, arranging the number sequence
Figure 800478DEST_PATH_IMAGE037
Converting the first L elements into corresponding characters to form a check code, wherein 4 characters in the check code are in unit length;
the process of the calculation processing unit calculating the end code in step S2 and step S24 includes the steps of:
s51, carrying out hash processing on the blocks by using a hash function to obtain hash values;
s52, taking 4 characters in the hash value as a unit length, comparing the hash value with each corresponding character of the unit length in the check code to obtain a code distance number sequence
Figure 493628DEST_PATH_IMAGE039
U is the number of code distance and the value range is
Figure 912714DEST_PATH_IMAGE040
Each code distance value
Figure 665907DEST_PATH_IMAGE041
Has a value range of
Figure 671909DEST_PATH_IMAGE042
S53, carry processing is carried out on the code distance value:
Figure 903170DEST_PATH_IMAGE043
s54, processing the code distance value according to the following formula to obtain the tail code:
Figure 678228DEST_PATH_IMAGE044
wherein the content of the first and second substances,
Figure 602322DEST_PATH_IMAGE045
indicating the value corresponding to the ith bit tail code character.
The disclosure is only a preferred embodiment of the invention, and is not intended to limit the scope of the invention, so that all equivalent technical changes made by using the contents of the specification and the drawings are included in the scope of the invention, and further, the elements thereof can be updated as the technology develops.

Claims (5)

1. An NFT tracing anti-counterfeiting system based on a block chain is characterized by comprising an NFT storage module, an NFT transfer module, an NFT verification module, an NFT tracing module and an NFT numbering module, wherein the NFT storage module is used for storing the essential digital content of NFT, the NFT transfer module is used for transferring the NFT among different users, the NFT verification module is used for verifying the legality of the NFT, the NFT tracing module records the transaction information of the NFT through the block chain, and the NFT numbering module is used for numbering the NFT;
the essential digital content of the NFT is called a digital product, the NFT storage module includes a storage public domain and a storage private domain, and the NFT verification module verifies the verification content of the NFT including three points:
digital products corresponding to NFT exist in the private storage domain corresponding to the user;
the buyer in the last transaction information about the NFT in the NFT tracing module is the user;
the anti-counterfeiting code provided by the user can be verified;
the NFT verification module processes a digital product to obtain a check code, the NFT tracing module performs hash processing on a corresponding block to obtain a hash code, the NFT verification module processes the check code and the hash code to obtain a tail code, and the serial number of the NFT and the tail code form an anti-counterfeiting code of the NFT;
the process of the NFT verification module for verifying the anti-counterfeiting code provided by the user comprises the following steps: extracting a serial number from the anti-counterfeiting code, finding a corresponding block in the NFT tracing module based on the serial number, carrying out hash processing on the block to obtain a hash code, processing a digital product provided by a user to obtain a check code, processing the hash code and the check code to obtain a tail code, and comparing the tail code with the anti-counterfeiting code;
the NFT verification module includes a calculation processing unit, the calculation processing unit is configured to process a calculation amount of a tail code, and a process of processing the tail code by the calculation processing unit is as follows:
the hash code and the check code have the same length L, and the hash value is compared with each unit length character in the check code to obtain a code distance number sequence
Figure DEST_PATH_IMAGE001
U is the number of code distance and the value range is
Figure DEST_PATH_IMAGE002
Each code distance value
Figure DEST_PATH_IMAGE003
Has a value range of
Figure DEST_PATH_IMAGE004
Carrying out carry processing on the code distance value:
Figure DEST_PATH_IMAGE005
and processing the code distance value according to the following formula to obtain a tail code:
Figure DEST_PATH_IMAGE006
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE007
indicating the value corresponding to the ith bit tail code character.
2. The NFT tracing anti-counterfeiting system based on the block chain according to claim 1, wherein the NFT verification module comprises a digital product processing unit, the digital product processing unit is configured to process the obtained check code, and a process of obtaining the check code is as follows:
s41, converting the code information of the digital product according to the sequence to obtain a sequence of numbers
Figure DEST_PATH_IMAGE008
I is a series of numbers
Figure 766084DEST_PATH_IMAGE008
The sequence number of the element in the sequence, the value range of each element in the sequence is
Figure DEST_PATH_IMAGE009
S42, arranging the sequence of numbers
Figure 75449DEST_PATH_IMAGE008
Processing the obtained sequence according to the following formula
Figure DEST_PATH_IMAGE010
Figure DEST_PATH_IMAGE011
Wherein j is a sequence of numbers
Figure DEST_PATH_IMAGE012
The serial number of the element in (1);
s43, arranging the sequence of numbers
Figure DEST_PATH_IMAGE013
And array of numbers
Figure 236434DEST_PATH_IMAGE012
Processing according to the following formula to obtain a sequence
Figure DEST_PATH_IMAGE014
Figure DEST_PATH_IMAGE015
Wherein k is a number sequence
Figure DEST_PATH_IMAGE016
The serial number of the element in (1);
s44, arranging the sequence of numbers
Figure 740096DEST_PATH_IMAGE016
Substitution to array
Figure DEST_PATH_IMAGE017
And repeating the steps S42 and S43 until the sequence is reached
Figure 727644DEST_PATH_IMAGE016
Number of elements in
Figure DEST_PATH_IMAGE018
Within the interval;
s45, arranging the sequence of numbers
Figure DEST_PATH_IMAGE019
The first L elements are converted into corresponding characters to form a check code.
3. The NFT traceability anti-counterfeiting system based on the blockchain as claimed in claim 2, wherein the system has a right to copy and delete the digital product in the storage public domain and the storage private domain, and a user only has a right to copy the digital product in the corresponding storage private domain.
4. The NFT tracing anti-counterfeiting system based on the blockchain as claimed in claim 3, wherein the NFT tracing module generates a new block when the transaction is completed, the NFT verification module processes the hash value of the new block to obtain a new anti-counterfeiting code and sends the new anti-counterfeiting code to a purchaser in the transaction, and the block includes NFT number information of the transaction.
5. The NFT tracing anti-counterfeiting system based on the block chain as claimed in claim 4, wherein the NFT tracing module has a retrieval function, and the corresponding block can be queried in the block chain by inputting the number of the NFT, so as to obtain the change information of the NFT from the owner after the NFT is created.
CN202210941498.6A 2022-08-08 2022-08-08 NFT (network File transfer protocol) source tracing anti-counterfeiting system based on block chain Active CN115018522B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210941498.6A CN115018522B (en) 2022-08-08 2022-08-08 NFT (network File transfer protocol) source tracing anti-counterfeiting system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210941498.6A CN115018522B (en) 2022-08-08 2022-08-08 NFT (network File transfer protocol) source tracing anti-counterfeiting system based on block chain

Publications (2)

Publication Number Publication Date
CN115018522A true CN115018522A (en) 2022-09-06
CN115018522B CN115018522B (en) 2022-10-25

Family

ID=83065568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210941498.6A Active CN115018522B (en) 2022-08-08 2022-08-08 NFT (network File transfer protocol) source tracing anti-counterfeiting system based on block chain

Country Status (1)

Country Link
CN (1) CN115018522B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113409062A (en) * 2021-07-21 2021-09-17 上海万向区块链股份公司 Block chain tracing NFT anti-counterfeiting platform and method
CN113596135A (en) * 2021-07-23 2021-11-02 厦门潭宏信息科技有限公司 Block chain system, data processing method and equipment thereof, and storage medium
CN113746638A (en) * 2021-09-03 2021-12-03 杭州复杂美科技有限公司 NFT storage method, NFT restoration method, computer device, and storage medium
CN114066456A (en) * 2022-01-13 2022-02-18 环球数科集团有限公司 ERC 1155-based cross-chain NFT transfer and settlement system
CN114399320A (en) * 2022-03-24 2022-04-26 北京理工大学 Bill supply chain anti-counterfeiting traceability system and method based on block chain NFT
US11348152B1 (en) * 2022-01-27 2022-05-31 Offstage Holdings, Inc. Systems and methods for creating apparel that provides embedded verification of a transferrable non-fungible token

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113409062A (en) * 2021-07-21 2021-09-17 上海万向区块链股份公司 Block chain tracing NFT anti-counterfeiting platform and method
CN113596135A (en) * 2021-07-23 2021-11-02 厦门潭宏信息科技有限公司 Block chain system, data processing method and equipment thereof, and storage medium
CN113746638A (en) * 2021-09-03 2021-12-03 杭州复杂美科技有限公司 NFT storage method, NFT restoration method, computer device, and storage medium
CN114066456A (en) * 2022-01-13 2022-02-18 环球数科集团有限公司 ERC 1155-based cross-chain NFT transfer and settlement system
US11348152B1 (en) * 2022-01-27 2022-05-31 Offstage Holdings, Inc. Systems and methods for creating apparel that provides embedded verification of a transferrable non-fungible token
CN114399320A (en) * 2022-03-24 2022-04-26 北京理工大学 Bill supply chain anti-counterfeiting traceability system and method based on block chain NFT

Also Published As

Publication number Publication date
CN115018522B (en) 2022-10-25

Similar Documents

Publication Publication Date Title
KR102502247B1 (en) Safe and Traceable Manufacturing Parts
US20230034907A1 (en) Systems and methods for math-based currency escrow transactions
US10944548B2 (en) Method for registration of data in a blockchain database and a method for verifying data
CN113728351A (en) Trusted certification transactions in blockchain systems
CN110807641A (en) Pet food traceability system
US11562451B1 (en) Apparatus for proportional calculation regarding non-fungible tokens
US20190101896A1 (en) Controlled 3-d printing
CN107851284A (en) The system and method for recording and identifying for distributing ownership
CN114915421A (en) Method, electronic device, and storage medium for handling digital money
CN109858852B (en) Binder verification method based on blockchain and zero knowledge proof
CN108009445B (en) Semi-centralized trusted data management system
WO2017218440A1 (en) Secure initiation and transfer of a cryptographic database and/or a cryptographic unit
CN112862474B (en) Supply chain management method and system based on block chain, equipment and storage medium
CN114155095A (en) Digital artwork authentication and transaction system and authentication and transaction method
CN109767228A (en) A kind of energy transaction in assets system based on block chain
CN109767217A (en) Digital asset, server, terminal and digital asset method of commerce
US11769146B1 (en) Blockchain transactional identity verification
Michelson et al. Accumulate: An identity-based blockchain protocol with cross-chain support, human-readable addresses, and key management capabilities
CN115018522B (en) NFT (network File transfer protocol) source tracing anti-counterfeiting system based on block chain
CN112347190A (en) Block chain-based shared office joining park management system
CN111260364A (en) Extensible quick payment method and system based on block chain
CN115375329A (en) Digital collection transaction traceability anti-counterfeiting management method and system
CN115983988A (en) Block chain-based verification voluntary displacement reduction right-confirming and transaction circulation method and system
CN115660679B (en) Decentralizing safe transaction method based on hash locking
CN112561528B (en) Bill value circulation system and method based on blockchain technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant