Jade commodity digital certificate generation method based on block chain
Through the blockchain-based digital certificate generation method, combined with the chain-on-chain cross-verification and encryption technology, the fidelity and source verification of jade product traceability information is solved, and the problem of traceability of jade product traceability is realized, ensuring the digital certificate the authenticity of the content and source of the content and the correspondence between the physical object and the information.
Patent Information
- Application Number
- CN202411233404.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-17
AI Technical Summary
The existing technology has not yet effectively solved these problems in the traceability information of jade products, the source of information is difficult to verify, and the real objects and information are difficult to correspond.
Using a blockchain-based digital certificate generation method, the on-chain storing traceability information is stored in an unchangeable manner, combined with off-chain cross-verification, symmetric encryption and asymmetric encryption technologies, the unique natural characteristics of jade products are identified and recorded to ensure digital certificates. content fidelity and source authentication, and the correspondence between physical objects and information is tested through feature storage and verification methods.
It realizes the authenticity of traceability information of jade products, verification of information source and verification of the corresponding information between physical objects and information, ensures the authenticity of the content and source of digital certificates, and solves the problem of traceability of jade products.
Smart Images

Figure CN119151559A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of blockchain, and more specifically to a method for generating digital certificates for jade commodities based on blockchain. Background Art
[0002] As an expensive industrial product, the price of jade products fluctuates greatly with its natural properties. Jade products are artistic luxury goods obtained by artificial carving of natural scarce jade raw stones. The attributes of craft luxury goods lead to the characteristics of jade products being high in price, with large quality differences, and long-term value retention. In addition to transactions between consumers and merchants, there are also goods replacement and secondary market sales. Therefore, there are three urgent problems to be solved for the traceability of jade products: "authenticity of traceability information", "anti-counterfeiting of information, i.e. verifiable source", and "correspondence between physical objects and information". However, existing methods are still difficult to solve the various traceability problems of jade products. Summary of the invention
[0003] The present invention provides a method for generating a digital certificate for jade products based on blockchain, with the aim of solving the problem of jade product traceability and thus distinguishing the authenticity of jade products.
[0004] The above purpose is achieved through the following technical solutions:
[0005] A method for generating a digital certificate for jade products based on blockchain, comprising the following steps:
[0006] Step 1: Use blockchain to store the traceability information of jade products in an unchangeable manner on the chain. For unstructured data, a cross-validation method is used, which stores hashes on the chain and data off the chain.
[0007] Step 2: Use symmetric encryption to encrypt the hash value of the digital certificate content plus a random number, and use an asymmetric encryption private key to encrypt the symmetric encryption key. During verification, the hash value of the digital certificate content is obtained through the path of "public key decrypting symmetric encryption key, and symmetric encryption key decrypting hash value ciphertext" and compared with the hash value calculated in the database;
[0008] Step 3: Identify and record the unique natural characteristics of jade products by comparing the on-chain characteristics with the physical characteristics of jade products.
[0009] The beneficial effects of the method for generating a jade commodity digital certificate based on blockchain of the present invention are:
[0010] In response to the problem of "authenticity of traceable information", a method for cross-verification of digital certificate content on-chain and off-chain is proposed; in response to the problem of "verifiable source of information", a method for source authenticity of digital certificates is proposed: using the multi-technology fusion method of "digital signature + symmetric encryption + blockchain", the on-chain information is used as the source of trust, and relying on cryptographic technology, the source authentication is realized in the encryption and decryption process; in response to the problem of "correspondence between physical objects and information", a method for verifying whether the digital certificate information corresponds to the physical object is proposed by using the characteristics of domain knowledge storage and verification. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 It is a schematic diagram of a method for generating a digital certificate for jade commodities based on blockchain of the present invention;
[0012] Figure 2 This is a schematic diagram of the method for ensuring the authenticity of the content of the digital certificate of jade products;
[0013] Figure 3 This is a schematic diagram of the method for ensuring the authenticity of the digital certificate of jade products (enterprise side);
[0014] Figure 4 This is a schematic diagram of the method for ensuring the authenticity of the digital certificate of jade products (consumer side);
[0015] Figure 5 It is a schematic diagram of the inspection method to see whether the information on the digital certificate of a jade product corresponds to the actual item. DETAILED DESCRIPTION
[0016] A method for generating digital certificates for jade products based on blockchain, referring to Figure 1 , including the following steps:
[0017] Step 1: Use blockchain to store traceability information in an unchangeable manner on the chain. For unstructured data, use the on-chain and off-chain cross-verification method of storing hashes on the chain and data off the chain to ensure the content authenticity of digital certificates.
[0018] Combination Figure 2 , specifically:
[0019] S1: The original data of jade products at each stage of finished product production and processing (before packaging) are stored in the enterprise information system database, including the raw stone stage information, slicing and polishing stage information, jade product finished product information, personnel information, internal enterprise information and other information;
[0020] The information at the raw stone stage includes the raw stone number: the number that uniquely identifies each piece of raw stone, weight, volume, color, texture, origin, purchase date: purchase time of the raw stone, supplier information, and quality inspection report; the information at the slicing and polishing stage includes the slicing number, source raw stone number, slicing thickness, polishing method, processing time, processing equipment number, weight after slicing, slicing size, loss rate, operator number, and processing environment conditions; the information at the finished jade product stage includes the unique number of the finished product, source slicing number, finished product visual properties, finished product physical properties, operator number, unique feature photos, finished product description, and third-party quality inspection report; personnel information includes personnel number and other information such as position and contact information; internal enterprise information includes non-traceable information generated during the jade production life cycle, such as order information, production plans, and consumables records.
[0021] S2: When packing, the unique number of the jade product is used to centrally obtain the traceability information that needs to be uploaded to the chain in the enterprise information system database;
[0022] S3: Calculate the hash value of the unstructured data of the digital certificate on-chain information during the packaging phase, and upload the structured data and the hash value of the unstructured data in the digital certificate on-chain information to the chain at one time;
[0023] S4: During the consumer verification phase, structured traceability information is obtained from the chain, and unstructured information is obtained from the enterprise information system database for display. The hash value of the displayed unstructured content is then calculated and compared with the hash on the chain to ensure that the digital certificate information is on-chain information and to ensure the authenticity of the digital certificate content.
[0024] Step 2: Use symmetric encryption to encrypt the hash value of the digital certificate content plus a random number, and use an asymmetric encryption private key to encrypt the symmetric encryption key. During verification, the hash value of the digital certificate content is obtained through the path of "public key decrypting symmetric encryption key, and symmetric encryption key decrypting hash value ciphertext" and compared with the hash value calculated in the database to ensure the source authenticity of the digital certificate;
[0025] Combination Figure 3 and 4 , specifically:
[0026] S1: Generate a pair of asymmetric encryption public keys - APK and asymmetric encryption private keys - ASK based on the RSA algorithm, generate a symmetric encryption key - SK based on the AES algorithm, then store the asymmetric encryption private key and symmetric encryption key in the enterprise information system database and upload the asymmetric encryption public key to the chain;
[0027] S2: Add a random number to the chain information of the digital certificate and perform a hash calculation to obtain its hash value. That is:
[0028] hash__value=Hash(inf,random)
[0029] Where Hash() is the hash calculation function, inf is the chain information of the digital certificate, random is a random number, and hash__value is the hash value obtained after encrypting the chain information.
[0030] S3: Obtain the stored symmetric encryption key from the enterprise information system database, and use the symmetric encryption key to encrypt the pre-calculated digital certificate content plus the hash value of the random number to obtain the digital certificate content hash value ciphertext C1, and then upload the ciphertext to the chain. That is:
[0031] C1=Encrypt_AES(SK,hash__value)
[0032] Among them, Encrypt_AES() is the encryption process of the AES symmetric encryption algorithm, SK is the symmetric encryption key, hash__value is the hash value obtained after encrypting the on-chain information, and C1 is the hash value ciphertext of the digital certificate content.
[0033] S4: Use the asymmetric encryption private key to encrypt the symmetric encryption key to obtain the symmetric encryption key ciphertext C2, and store it in the enterprise information system database. That is:
[0034] C2=Encrypt_RSA(ASK,SK)
[0035] Among them, Encrypt_RSA() is the encryption process of the RSA asymmetric encryption algorithm, ASK is the asymmetric encryption private key, SK is the symmetric encryption key, and C2 is the symmetric encryption key ciphertext obtained by encrypting the symmetric encryption key.
[0036] S5: Obtain the asymmetric encryption public key input by the consumer during the verification phase, and use the asymmetric encryption public key to unlock the symmetric encryption key ciphertext to obtain the symmetric encryption key. That is:
[0037] SK__get=Decrypt_RSA(APK,SK)
[0038] Among them, Decrypt_RSA() is the decryption process of the RSA asymmetric encryption algorithm, APK is the asymmetric encryption public key, SK is the symmetric encryption key, and SK__get is the symmetric encryption key obtained by unlocking the symmetric encryption key ciphertext with the asymmetric encryption public key.
[0039] S6: First, obtain the hash ciphertext of the digital certificate content from the chain, then unlock the hash ciphertext of the digital certificate content according to the unlocked symmetric encryption key to obtain the hash value of the digital certificate content, and finally calculate the hash value of the displayed digital certificate content and the corresponding random number stored in the database as a whole, and compare it with the hash value obtained by decryption. In the process of encryption and decryption, it is ensured that the digital certificate is issued by the company itself, and the authenticity of the source of the digital certificate of jade products is realized. That is:
[0040] hash__value__get=Decrypt_AES(SK__get,C1)
[0041] Compare(hash__value__get,has__value);
[0042] Among them, Decrypt_AES() is the decryption process of the AES symmetric encryption algorithm, SK__get is the symmetric encryption key obtained by unlocking the symmetric encryption key ciphertext with the asymmetric encryption public key, C1 is the digital certificate content hash value ciphertext, has__value__get is the digital certificate content hash value obtained after unlocking the digital certificate content hash ciphertext with the symmetric encryption key, hash__value is the hash value obtained after encrypting the on-chain information, and the Compare() function is to compare whether they are consistent.
[0043] Step 3: Identify and record the unique natural characteristics of jade products, and verify whether the digital certificate information corresponds to the physical object by comparing the characteristics on the chain with the physical object;
[0044] Combination Figure 5 , specifically:
[0045] S1: The engraver selects the unique features of the jade product before, during and after the engraving process, then takes high-definition photos of the features and stores them in the enterprise information system;
[0046] S2: In the packaging stage, high-definition photos of jade product features are used as part of the unstructured traceability information. The hash value calculated through the unstructured traceability information is uploaded to the chain and displayed on the digital certificate;
[0047] S3: During the verification phase, the characteristics of the jade product in the photo on the digital certificate are compared with the characteristics of the actual jade product to be inspected to verify whether the digital certificate information corresponds to the actual product.
[0048] Examples of Yunnan Huanglong Jade Carving Products:
[0049] S1: The enterprise generates a key pair based on the RSA algorithm: an asymmetric encryption public key and an asymmetric encryption private key, and generates a symmetric encryption key based on the AES algorithm.
[0050] S2: The asymmetric encryption private key and symmetric encryption key are then stored in the enterprise information system database, and the asymmetric encryption public key is uploaded to the chain.
[0051] S3: During the stages of stone mining, stone auction, stone slicing and polishing, the company will bind the relevant information of the entire life cycle of Huanglong jade carving products with the numbers of each stage of Huanglong jade, and store each number in the enterprise information system database in a "primary and foreign key association manner".
[0052] S4: During the entire carving process, the sculptor needs to select the unique features of the jade carving, then take high-definition photos of the features and bind them with the serial number of the sliced and polished stone, and store them in the enterprise information system.
[0053] S5: After the jade carving product is completed, a laser printer is used to print a unique number on the finished jade carving product, and the number is bound to the relevant information in the database.
[0054] S6: In the packaging stage, all the information that needs to be uploaded to the chain, i.e. displayed in the digital certificate, is obtained from the database according to the association between the unique number of the jade carving product and the relationship between the numbers, and a random number is generated and stored. The hash value is then calculated for the jade carving digital certificate information plus the random number as a whole, and then the hash value is calculated for the unstructured data in the information (including all the jade carving feature image information) as a whole.
[0055] S7: Finally, the hash values of the structured data and unstructured data (including all the jade carving feature image information) in the obtained jade carving digital certificate information are packaged into an information block, and the information block is uploaded to the chain as a whole at one time.
[0056] S8: After the transaction is completed, the stored symmetric encryption key is obtained, and the symmetric encryption key is used to encrypt the digital certificate content hash value calculated in advance to obtain the digital certificate content hash value ciphertext, and then the ciphertext is uploaded to the chain.
[0057] S9: Use the asymmetric encryption private key to encrypt the symmetric encryption key to obtain the symmetric encryption key ciphertext, and store it in the enterprise information system database.
[0058] S10: After the encryption work is completed, the physical digital certificate and the URL QR code for accessing the digital certificate are printed on site.
[0059] S11: In the verification phase after obtaining the certificate, the consumer scans the QR code to view the digital certificate. The structured information is obtained from the chain, and the unstructured information is obtained locally and the hash is calculated and compared with the hash stored on the chain.
[0060] S12: The consumer scans the public key barcode of the physical digital certificate and inputs the asymmetric encryption public key.
[0061] S13: The symmetric encryption key ciphertext in the enterprise information system database is queried and unlocked by obtaining the asymmetric encryption public key input by the consumer to obtain the symmetric encryption key.
[0062] S14: Obtain the digital certificate content hash ciphertext from the chain, unlock the digital certificate content hash ciphertext according to the unlocked symmetric encryption key, and obtain the digital certificate content hash value.
[0063] S15: Calculate the hash value of the displayed digital certificate content and the corresponding random number stored in the database as a whole, and compare it with the hash value of the digital certificate content obtained by decrypting the ciphertext on the chain to see whether they are consistent.
[0064] S16: During the verification of the physical object, the characteristics of the jade carving in the photo on the digital certificate are compared with the characteristics of the physical jade carving to be inspected, such as the jade carving is made of grass and has water grass and flower characteristics at the bottom caused by the invasion of manganese, the hem of the figure in the jade carving is a touch of chicken blood red, and there are fine cotton on the upper part of the mountain stone in the jade carving, etc. Unique characteristics, and then verify whether the digital certificate information and the physical object correspond to each other. That is:
[0065] Compare(features_pre, features_wait).
[0066] The Compare() function is used to compare whether they are consistent, features_pre is the features recorded in advance, and features_wait is the jade carving features to be tested.
Claims
1. A method for generating digital certificates for jade products based on blockchain, characterized in that: The following steps are involved: Step 1: Use blockchain to store the traceability information of jade products in an unchangeable manner on the chain. For unstructured data, a cross-validation method is used, which stores hashes on the chain and data off the chain. Step 2: Use symmetric encryption to encrypt the hash value of the digital certificate content plus a random number, and use an asymmetric encryption private key to encrypt the symmetric encryption key. During verification, the hash value of the digital certificate content is obtained through the path of "public key decrypts symmetric encryption key, and symmetric encryption key decrypts hash value ciphertext" and compared with the hash value calculated in the database; Step 3: Identify and record the unique natural characteristics of jade products by comparing the on-chain characteristics with the physical characteristics of jade products.
2. The method for generating a jade commodity digital certificate based on blockchain according to claim 1, characterized in that: The step 1 specifically includes the following steps: A1: The original data of jade products at each stage of production and processing before packaging is stored in the enterprise information system database; A2: When packaging jade, the unique number of the jade product is used to centrally obtain the traceability information that needs to be uploaded to the chain in the enterprise information system database; A3: In the packaging phase, the hash value of the unstructured data of the digital certificate on-chain information is calculated, and the hash value of the structured data and the unstructured data in the digital certificate on-chain information is uploaded to the chain at one time.
3. The method for generating a jade commodity digital certificate based on blockchain according to claim 2, characterized in that: The original data of jade products include raw stone stage information, slicing and polishing stage information, jade product finished product information, personnel information and internal enterprise information.
4. The method for generating a jade commodity digital certificate based on blockchain according to claim 2, characterized in that: Step 1 also includes: A4: During the consumer verification phase, structured traceability information is obtained from the chain, and unstructured information is obtained from the enterprise information system database for display, and then the hash value of the displayed unstructured content is calculated and compared with the hash on the chain.
5. The method for generating a jade commodity digital certificate based on blockchain according to claim 3, characterized in that: The material stone stage information includes the material stone mining location including the specific mining area name, mining method and mining time; the slicing and grinding stage information includes cutting and grinding equipment information, cutting and grinding parameters, techniques and slicing surface roughness.
6. The method for generating a jade commodity digital certificate based on blockchain according to claim 1, characterized in that: The step 2 specifically includes the following steps: B1: Asymmetric encryption public key and asymmetric encryption private key. A symmetric encryption key is generated based on the AES algorithm. The asymmetric encryption private key and symmetric encryption key are then stored in the enterprise information system database and the asymmetric encryption public key is uploaded to the blockchain. B2: Perform hash calculation on the chain information of the digital certificate plus a random number to obtain its hash value; B3: Obtain the stored symmetric encryption key from the enterprise information system database, and use the symmetric encryption key to encrypt the pre-calculated digital certificate content plus the hash value of the random number to obtain the digital certificate content hash value ciphertext, and then upload the ciphertext to the chain; B4: Use the asymmetric encryption private key to encrypt the symmetric encryption key to obtain the symmetric encryption key ciphertext, and store it in the enterprise information system database; B5: During the verification phase, the asymmetric encryption public key input by the consumer is obtained, and the symmetric encryption key ciphertext is unlocked by the asymmetric encryption public key to obtain the symmetric encryption key.
7. The method for generating a jade commodity digital certificate based on blockchain according to claim 1, characterized in that: The step 2 also includes: B6: first obtain the hash ciphertext of the digital certificate content from the chain, then unlock the hash ciphertext of the digital certificate content according to the unlocked symmetric encryption key to obtain the hash value of the digital certificate content, and finally calculate the hash value of the displayed digital certificate content and the corresponding random number stored in the database as a whole, and compare it with the hash value obtained by decryption.
8. The method for generating a jade commodity digital certificate based on blockchain according to claim 1, characterized in that: The step three specifically includes the following steps: C1: The carver selects the unique features of the jade product before, during and after carving, then takes photos of the features and stores them in the enterprise information system; C2: During the packaging stage, the characteristic photos of jade products are used as part of the unstructured traceability information. The hash value calculated through the unstructured traceability information is uploaded to the chain and displayed on the digital certificate.
9. The method for generating a jade commodity digital certificate based on blockchain according to claim 8, characterized in that: The photo must have a resolution of at least 1600×1200 pixels and a color depth of at least 24 bits.
10. The method for generating a jade commodity digital certificate based on blockchain according to claim 8, characterized in that: The step three also includes: C3: in the verification stage, the characteristics of the jade product in the photo on the digital certificate are compared with the characteristics of the real jade product to be inspected to check whether the digital certificate information corresponds to the real product.
Citation Information
Cited By
Agilawood tracing method and system based on distributed identity and smart contract
CN120125252A
Artificial intelligence analysis-based gem and jade identification certificate generation system
CN120912228A
