Metering certificate anti-counterfeiting authentication system and method based on block chain

Through a decentralized system based on blockchain, the distributed storage and hash encryption of electronic certificate anti-counterfeiting module and blockchain database are solved, and the problem of tampering with electronic metrology certificates is realized efficiently manageable and authenticity identification is realized. , improves the credibility and security of certificates.

CN119089491APending Publication Date: 2024-12-06YULIN METROLOGY TECH RES INST +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411132493.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing electronic metering certificate management system is susceptible to single point of failure, tampering and data loss, and the certificate anti-counterfeiting technology is easy to forge and tamper, which affects the credibility of the certificate.

Method used

Adopt a decentralized system based on blockchain, generate and sign electronic metering certificates through the electronic certificate anti-counterfeiting module, use the blockchain database for distributed storage and hash encryption, and compare the authenticity of certificates with smart contracts to ensure that the certificates are not tampered with. and authenticity.

Benefits of technology

It improves the integrity, authenticity and security of electronic metrology certificates, prevents tampering, and enhances the credibility and authentication reliability of the certificates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119089491A_ABST
    Figure CN119089491A_ABST
Patent Text Reader

Abstract

The invention discloses a metering certificate anti-counterfeiting authentication system and method based on a block chain. The system comprises an electronic certificate anti-counterfeiting module, a local database, a block chain database and a client. The electronic certificate anti-counterfeiting module generates an original electronic metering certificate, performs anti-counterfeiting on the original electronic metering certificate and the modified electronic metering certificate through a certificate signature and a two-dimensional code, and cancels the original electronic metering certificate and the modified electronic metering certificate through a cancellation signature; the local database stores metering electronic certificates, original metering data and temporary data in the modification and cancellation process in a classified mode, an electronic metering certificate storage ID address is generated, and the block chain database stores hash encryption values, electronic signatures, certificate information and the electronic metering certificate storage ID address of the electronic metering certificates; and the client provides certificate query and authenticity identification services for the user. According to the invention, the electronic metering certificate can be effectively prevented from being tampered, and the integrity and authenticity of the electronic metering certificate data are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of electronic certificate anti-counterfeiting, and specifically relates to a blockchain-based measurement certificate anti-counterfeiting identification system and method. Background Art

[0002] With the rapid development of industrial automation and intelligence, the demand for massive high-precision instrumentation and testing is increasing dramatically, and metrology and testing technology is playing an increasingly important role in industrial production, scientific research and daily life.

[0003] As an electronic proof of the verification, calibration and test results of measuring instruments, the metrological electronic certificate has important legal effect. However, the existing electronic metrological certificate management system usually relies on centralized database storage, which is vulnerable to single point failure, tampering and data loss. In addition, the existing certificate anti-counterfeiting technology has problems such as easy forgery and tampering, which makes the certificate anti-counterfeiting identification difficult, seriously affecting the credibility of the metrological electronic certificate data. Therefore, the metrological industry urgently needs a decentralized, highly secure and tamper-proof management method to optimize the anti-counterfeiting and authentication of metrological certificates, so as to effectively ensure the authenticity and credibility of electronic metrological certificates. Summary of the invention

[0004] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a blockchain-based measurement certificate anti-counterfeiting identification system and method, which can effectively prevent electronic measurement certificates from being tampered with and improve the integrity and authenticity of electronic measurement certificate data.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] A blockchain-based metrology certificate anti-counterfeiting authentication system, comprising an electronic certificate anti-counterfeiting module, a local database, a blockchain database and a client;

[0007] The electronic certificate anti-counterfeiting module selects a certificate template according to the verification or calibration type, generates an original electronic measurement certificate corresponding to the original measurement data, and can modify the original electronic measurement certificate as needed to generate a modified electronic measurement certificate, and performs anti-counterfeiting on the original electronic measurement certificate and the modified electronic measurement certificate through a certificate signature and a QR code, and invalidates the original electronic measurement certificate and the modified electronic measurement certificate through an invalidation signature;

[0008] The local database stores different types of electronic measurement certificates in a classified manner, and at the same time, sorts and stores the original measurement data and temporary data in the modification and cancellation process according to the timestamp, generates an electronic measurement certificate storage ID address, and the hash encryption value, electronic signature, certificate information and electronic measurement certificate storage ID address of the electronic measurement certificate are distributedly stored in the blockchain database in a list form. The blockchain database and the local database are compared for consistency of the hash encryption value and the electronic signature through a smart contract, thereby identifying the authenticity of the electronic measurement certificate;

[0009] The client provides certificate query and authenticity authentication services for users. Users enter the user interaction interface of the client through the blockchain data browser to query and download electronic measurement certificates and authenticate the authenticity of electronic measurement certificates.

[0010] Furthermore, the blockchain data browser provides standard data interface and protocol development functions, and can perform data docking and business interaction with the metering business management system.

[0011] Furthermore, the blockchain database uses an asymmetric encryption algorithm to electronically sign the electronic measurement certificate.

[0012] Furthermore, the electronic signature includes the signature of the inspector, the signature of the verifier, the signature of the approver and the electronic official seal of the metrology agency.

[0013] A method for anti-counterfeiting of a measurement certificate comprises the following steps:

[0014] Step 1: Upload electronic measurement certificates to the blockchain

[0015] The electronic certificate anti-counterfeiting module selects a certificate template according to the verification or calibration type, generates an original electronic measurement certificate corresponding to the original measurement data, and can modify the original electronic measurement certificate as needed to generate a modified electronic measurement certificate, and performs anti-counterfeiting on the original electronic measurement certificate and the modified electronic measurement certificate through a certificate signature and a QR code, and invalidates the original electronic measurement certificate and the modified electronic measurement certificate through an invalidation signature;

[0016] The local database stores different types of electronic measurement certificates in a classified manner, and at the same time, sorts and stores the original measurement data and temporary data during the modification and cancellation process according to the timestamp to generate an electronic measurement certificate storage ID address; the blockchain database calculates and generates a hash encryption value of the electronic measurement certificate, digitally signs the electronic measurement certificate using an asymmetric encryption algorithm, and adopts a distributed storage method to store the hash encryption value of the electronic measurement certificate, the electronic signature, the certificate information, and the electronic measurement certificate storage ID address in a list form;

[0017] Step 2: Anti-counterfeiting identification of measurement certificates

[0018] The user uploads the electronic measurement certificate to be authenticated through the client. The smart contract automatically calculates the hash value of the electronic measurement certificate to be authenticated according to the encryption algorithm when the electronic measurement certificate is uploaded to the chain, and compares the hash value in the certificate list on the blockchain database with the hash value of the electronic measurement certificate to be authenticated. If they are inconsistent, the authentication result that the electronic measurement certificate is a fake certificate is directly output; otherwise, the electronic signature in the certificate list on the blockchain database and the electronic signature of the electronic measurement certificate to be authenticated are continued to be compared. If they are consistent, the authentication result that the electronic measurement certificate is a true certificate is output; otherwise, the authentication result that the electronic measurement certificate is a fake certificate is output.

[0019] Furthermore, in step 1, the original electronic measurement certificate is generated, and the process of anti-counterfeiting the original electronic measurement certificate through the certificate signature and the QR code is as follows:

[0020] Step 1.1.1: After the metrology agency completes the inspection of the instrument, it shall submit the original metrology data;

[0021] Step 1.1.2, import the original measurement data into the electronic certificate anti-counterfeiting module, verify the validity of the original measurement data, select the certificate template according to the verification or calibration type, and generate the original electronic measurement certificate;

[0022] Step 1.1.3, stamp the original electronic measurement certificate with the signature of the verifier, the signature of the checker, the signature of the approver, the electronic official seal of the measurement institution and the QR code for certificate traceability;

[0023] Step 1.1.4, save the original electronic measurement certificate and original measurement data to the local database;

[0024] Step 1.1.5, the blockchain database calculates and generates the hash encryption value of the original electronic measurement certificate, uses an asymmetric encryption algorithm to digitally sign the electronic measurement certificate, and adopts a distributed storage method to store the hash encryption value of the electronic measurement certificate, the electronic signature, the certificate information and the electronic measurement certificate storage ID address in the form of a list;

[0025] Step 1.1.6: Verify the consistency of the blockchain database and the local database to prevent the original electronic measurement certificate from being tampered with.

[0026] Furthermore, in step 1, the original electronic measurement certificate is modified as needed to generate a modified electronic measurement certificate, and the process of anti-counterfeiting the modified electronic measurement certificate through the certificate signature and the QR code is as follows:

[0027] Step 1.2.1: The metrology agency submits the modification application on the client side and provides verification information;

[0028] Step 1.2.2, after the electronic certificate anti-counterfeiting module verifies the validity of the modified measurement data, the template or certificate information of the electronic measurement certificate is modified to generate a modified electronic measurement certificate;

[0029] Step 1.2.3, stamp the modified electronic measurement certificate with the signature of the verifier, the signature of the checker, the signature of the approver, the electronic official seal of the measurement institution and the QR code for certificate traceability;

[0030] Step 1.2.4, update the modified electronic measurement certificate and the original data of the measurement process in the local database;

[0031] Step 1.2.5: The blockchain database calculates and generates a hash encryption value of the modified electronic measurement certificate, digitally signs the modified electronic measurement certificate using an asymmetric encryption algorithm, and updates the blockchain database;

[0032] Step 1.2.6: Verify the consistency of the blockchain database and the local database to prevent the original electronic measurement certificate from being tampered with.

[0033] Furthermore, the process of revoking the original electronic measurement certificate and the modified electronic measurement certificate by revoking the signature in step 1 is as follows:

[0034] Step 1.3.1: The metrology agency submits an application for cancellation on the client side and provides verification information;

[0035] Step 1.3.2: call the original electronic measurement certificate or the modified electronic measurement certificate, and affix the official seal with the word "cancelled" to generate a canceled electronic measurement certificate;

[0036] Step 1.3.3, the blockchain database calculates and generates a hash encryption value of the invalidated electronic measurement certificate, and updates the blockchain database to update the status of the invalidated electronic measurement certificate to invalidated;

[0037] Step 1.3.4: In the local database, mark the revoked electronic measurement certificate as a revoked certificate and store the data of the revocation process.

[0038] Furthermore, step 2 also includes: when the hash value in the chain certificate list of the blockchain database is inconsistent with the hash value of the electronic measurement certificate to be identified, the certificate information of the electronic measurement certificate to be identified is extracted through OCR text recognition, the extracted certificate information is retrieved in the blockchain database and compared with the extracted certificate information, if the similarity is greater than 50%, it is determined that the electronic measurement certificate in the local data has been tampered with, and the identification result that the electronic measurement certificate to be identified is a fake certificate is output on the client and an identification report is output, and the identification report indicates that there is tampered content.

[0039] Furthermore, step 2 also includes: inputting certificate information on the client, the blockchain data browser sending a verification message to each block on the chain, displaying the query or verification result to the user, and after the user logs in, accessing the measurement electronic certificate and measurement data stored in the local database and downloading the electronic measurement certificate within the given authority.

[0040] Compared with the prior art, the present invention has the following technical effects:

[0041] The present invention is beneficial to the decentralization, transparency and non-tamperability of blockchain. It adopts a distributed storage method to store the electronic measurement certificate hash encryption value, electronic signature, certificate information and electronic measurement certificate storage ID address in the blockchain database. The electronic measurement certificate hash value encryption and an asymmetric encryption algorithm are used to perform electronic signature, thereby realizing encryption protection of anti-counterfeiting identification information of the measurement certificate. By verifying the consistency of the blockchain database and the local database, it effectively prevents the measurement data from being tampered with to produce forged electronic measurement certificates, thereby improving the integrity, authenticity and uniqueness of the electronic measurement certificate data, and enhancing the security and credibility of the electronic measurement certificate.

[0042] Through the blockchain-based measurement certificate anti-counterfeiting identification system proposed in the present invention, not only can the electronic measurement certificate be queried and downloaded, but also the authenticity of the electronic measurement certificate can be identified by comparing the hash value of the uploaded electronic measurement certificate to be identified with the hash value in the chain certificate list of the blockchain database. In order to further improve the reliability of the identification result, when the hash value of the electronic measurement certificate to be identified is consistent with the hash value in the chain certificate list of the blockchain database, the authenticity of the electronic measurement certificate to be identified is judged by comparing the electronic signature in the chain certificate list of the blockchain database with the electronic signature of the electronic measurement certificate to be identified, thereby improving the reliability of authenticity identification, thereby preventing the forgery of electronic measurement certificates. It can be seen that the present invention realizes efficient management and authenticity identification of electronic measurement certificates. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a framework diagram of the blockchain-based measurement certificate anti-counterfeiting and authentication system of the present invention;

[0044] Figure 2 The present invention is a flow chart for authenticity identification of the measurement certificate. DETAILED DESCRIPTION

[0045] The specific contents of the present invention are further explained in detail below in conjunction with embodiments.

[0046] like Figure 1 As shown, a blockchain-based measurement certificate anti-counterfeiting authentication system includes an electronic certificate anti-counterfeiting module, a local database, a blockchain database and a client;

[0047] The electronic certificate anti-counterfeiting module selects a certificate template according to the verification or calibration type, generates an original electronic measurement certificate corresponding to the original measurement data, and can modify the original electronic measurement certificate as needed to generate a modified electronic measurement certificate, and performs anti-counterfeiting on the original electronic measurement certificate and the modified electronic measurement certificate through a certificate signature and a QR code, and invalidates the original electronic measurement certificate and the modified electronic measurement certificate through an invalidation signature;

[0048] The local database stores different types of electronic measurement certificates in a classified manner, and at the same time, sorts and stores the original measurement data and temporary data during the modification and cancellation process according to the timestamp, and generates an electronic measurement certificate storage ID address, thereby supporting fast access within the scope of authority after logging into the blockchain database;

[0049] The blockchain database stores encrypted electronic measurement certificate data in a list form, including hash encryption value, electronic signature, certificate information and electronic measurement certificate storage ID address. The blockchain database is compared with the consistency of hash encryption value and electronic signature in the local database through smart contract, so as to identify the authenticity of the electronic measurement certificate. Based on the privacy considerations of the electronic measurement certificate, the blockchain database grants the measurement agency and the logged-in user the authority. For the private information of the measurement process, only within the scope of authority can the certificate be queried, downloaded and the authenticity of the certificate be verified. As the only authentic and reliable source of information, the blockchain database can complete the information query and certificate authenticity identification functions by retrieving the data stored in the blockchain.

[0050] The client provides certificate query and authenticity verification services for users. Users enter the user interaction interface of the client through the blockchain data browser to query and download electronic measurement certificates and verify the authenticity of electronic measurement certificates. The blockchain data browser provides standard data interface and protocol development functions, and can perform data docking and business interaction with the measurement business management system;

[0051] The electronic certificate anti-counterfeiting module is divided into metrology verification certificate, metrology calibration certificate, metrology test certificate and metrology inspection certificate according to the verification or calibration type. Different types of certificates correspond to different certificate templates, which is conducive to the electronic certificate anti-counterfeiting module to quickly generate electronic metrology certificates.

[0052] The electronic signatures include the signature of the inspector, the signature of the verifier, the signature of the approver and the electronic official seal of the metrology agency.

[0053] like Figure 2 As shown, a blockchain-based measurement certificate anti-counterfeiting authentication method includes the following steps:

[0054] Step 1: Upload electronic measurement certificates to the blockchain

[0055] Step 1.1, the electronic certificate anti-counterfeiting module selects the certificate template according to the verification or calibration type, generates the original electronic measurement certificate corresponding to the original measurement data, and uses the certificate signature and QR code to prevent counterfeiting of the original electronic measurement certificate. The specific process is as follows:

[0056] Step 1.1.1: After the metrology agency completes the inspection of the instrument, it shall submit the original metrology data;

[0057] Step 1.1.2, import the original measurement data into the electronic certificate anti-counterfeiting module, verify the validity of the original measurement data, select the certificate template according to the verification or calibration type, and generate the original electronic measurement certificate;

[0058] Step 1.1.3, stamp the original electronic measurement certificate with the signature of the verifier, the signature of the checker, the signature of the approver, the electronic official seal of the measurement institution and the QR code for certificate traceability;

[0059] Step 1.1.4, save the original electronic measurement certificate and original measurement data to the local database;

[0060] Step 1.1.5, the blockchain database calculates and generates the hash encryption value of the original electronic measurement certificate, uses an asymmetric encryption algorithm to digitally sign the electronic measurement certificate, and adopts a distributed storage method to store the hash encryption value of the electronic measurement certificate, the electronic signature, the certificate information and the electronic measurement certificate storage ID address in the form of a list;

[0061] Step 1.1.6: Verify the consistency of the blockchain database and the local database to prevent the original electronic measurement certificate from being tampered with;

[0062] Step 1.2: The electronic certificate anti-counterfeiting module modifies the original electronic measurement certificate as needed to generate a modified electronic measurement certificate, and uses the certificate signature and QR code to prevent counterfeiting of the modified electronic measurement certificate. The specific process is as follows:

[0063] Step 1.2.1: The metrology agency submits the modification application on the client side and provides verification information;

[0064] Step 1.2.2, after the electronic certificate anti-counterfeiting module verifies the validity of the modified measurement data, the template or certificate information of the electronic measurement certificate is modified to generate a modified electronic measurement certificate;

[0065] Step 1.2.3, stamp the modified electronic measurement certificate with the signature of the verifier, the signature of the checker, the signature of the approver, the electronic official seal of the measurement institution and the QR code for certificate traceability;

[0066] Step 1.2.4, update the modified electronic measurement certificate and the original data of the measurement process in the local database;

[0067] Step 1.2.5: The blockchain database calculates and generates a hash encryption value of the modified electronic measurement certificate, digitally signs the modified electronic measurement certificate using an asymmetric encryption algorithm, and updates the blockchain database;

[0068] Step 1.2.6: Verify the consistency of the blockchain database and the local database to prevent the original electronic measurement certificate from being tampered with;

[0069] Step 1.3: The electronic certificate anti-counterfeiting module invalidates the original electronic measurement certificate and the modified electronic measurement certificate by invalidating the signature. The specific process is as follows:

[0070] Step 1.3.1: The metrology agency submits an application for cancellation on the client side and provides verification information;

[0071] Step 1.3.2: call the original electronic measurement certificate or the modified electronic measurement certificate, and affix the official seal with the word "cancelled" to generate a canceled electronic measurement certificate;

[0072] Step 1.3.3, the blockchain database calculates and generates the hash encryption value of the invalidated electronic measurement certificate, and updates the blockchain database to update the status of the invalidated electronic measurement certificate to "invalidated";

[0073] Step 1.3.4: In the local database, mark the invalidated electronic measurement certificate as an invalidated certificate, and store the data of the invalidation process to facilitate the traceability of the invalidated electronic measurement certificate;

[0074] Step 2: Anti-counterfeiting identification of measurement certificates

[0075] Users can query electronic measurement certificates, download electronic measurement certificates, and conduct anti-counterfeiting authentication of measurement certificates through the client, including:

[0076] The process of querying the electronic measurement certificate is as follows: the user enters the certificate information including the certificate number, the name of the inspection unit, etc. on the client, and the blockchain data browser sends a verification message to each block on the chain and displays the query result to the user;

[0077] The process of downloading the electronic measurement certificate is as follows: after the user logs in through the client, he enters the certificate information including the certificate number, the name of the inspection unit, etc., accesses the measurement electronic certificate and measurement data stored in the local database within the given authority range, and downloads the electronic measurement certificate;

[0078] The process of anti-counterfeiting authentication of the measurement certificate includes the following steps:

[0079] Step 2.1, the user uploads the electronic measurement certificate to be authenticated through the client;

[0080] Step 2.2, the smart contract calculates the hash value of the electronic measurement certificate to be authenticated according to the encryption algorithm when the electronic measurement certificate is uploaded to the chain;

[0081] Step 2.3, compare the hash value in the chain certificate list of the blockchain database with the hash value of the electronic measurement certificate to be identified. When there is inconsistency, extract the certificate information of the electronic measurement certificate to be identified through OCR text recognition, including key information such as the certificate number and the name of the inspection unit, and retrieve the key information such as the certificate number and the name of the inspection unit in the blockchain database. If the similarity between the extracted key information and the retrieved key information is greater than 50%, it is determined that the electronic measurement certificate in the local data has been tampered with, and the identification result that the electronic measurement certificate to be identified is a fake certificate is output on the client and a fake certificate identification report is issued. The fake certificate identification report indicates that there is tampered content;

[0082] When they are consistent, proceed to step 2.4;

[0083] Step 2.4: Compare the electronic signature in the chain certificate list of the blockchain database with the electronic signature of the electronic measurement certificate to be authenticated. If they are consistent, output the authentication result that the electronic measurement certificate is authentic and issue a genuine authentication report; otherwise, output the authentication result that the electronic measurement certificate is a fake certificate and issue a fake authentication report.

Claims

1. A blockchain-based measurement certificate anti-counterfeiting authentication system, characterized in that: Includes electronic certificate anti-counterfeiting module, local database, blockchain database and client; The electronic certificate anti-counterfeiting module selects a certificate template according to the verification or calibration type, generates an original electronic measurement certificate corresponding to the original measurement data, and can modify the original electronic measurement certificate as needed to generate a modified electronic measurement certificate, and performs anti-counterfeiting on the original electronic measurement certificate and the modified electronic measurement certificate through a certificate signature and a QR code, and invalidates the original electronic measurement certificate and the modified electronic measurement certificate through an invalidation signature; The local database stores different types of electronic measurement certificates in a classified manner, and at the same time, sorts and stores the original measurement data and temporary data in the modification and cancellation process according to the timestamp, generates an electronic measurement certificate storage ID address, and the hash encryption value, electronic signature, certificate information and electronic measurement certificate storage ID address of the electronic measurement certificate are distributedly stored in the blockchain database in a list form. The blockchain database and the local database are compared for consistency of the hash encryption value and the electronic signature through a smart contract, thereby identifying the authenticity of the electronic measurement certificate; The client provides certificate query and authenticity authentication services for users. Users enter the user interaction interface of the client through the blockchain data browser to query and download electronic measurement certificates and authenticate the authenticity of electronic measurement certificates.

2. The blockchain-based measurement certificate anti-counterfeiting authentication system according to claim 1 is characterized in that: The blockchain data browser provides standard data interface and protocol development functions, and can perform data docking and business interaction with the metering business management system.

3. The blockchain-based measurement certificate anti-counterfeiting authentication system according to claim 1 is characterized in that: The blockchain database uses an asymmetric encryption algorithm to electronically sign the electronic measurement certificate.

4. The blockchain-based measurement certificate anti-counterfeiting authentication system according to claim 1 is characterized in that: The electronic signatures include the signature of the inspector, the signature of the verifier, the signature of the approver and the electronic official seal of the metrology agency.

5. A method for anti-counterfeiting and authentication of measurement certificates based on blockchain in a measurement certificate anti-counterfeiting and authentication system as claimed in any one of claims 1 to 4, characterized in that: The steps include: Step 1: Upload electronic measurement certificates to the blockchain The electronic certificate anti-counterfeiting module selects a certificate template according to the verification or calibration type, generates an original electronic measurement certificate corresponding to the original measurement data, and can modify the original electronic measurement certificate as needed to generate a modified electronic measurement certificate, and performs anti-counterfeiting on the original electronic measurement certificate and the modified electronic measurement certificate through a certificate signature and a QR code, and invalidates the original electronic measurement certificate and the modified electronic measurement certificate through an invalidation signature; The local database stores different types of electronic measurement certificates in a classified manner, and at the same time, sorts and stores the original measurement data and temporary data during the modification and cancellation process according to the timestamp to generate an electronic measurement certificate storage ID address; the blockchain database calculates and generates a hash encryption value of the electronic measurement certificate, digitally signs the electronic measurement certificate using an asymmetric encryption algorithm, and adopts a distributed storage method to store the hash encryption value of the electronic measurement certificate, the electronic signature, the certificate information, and the electronic measurement certificate storage ID address in a list form; Step 2: Anti-counterfeiting identification of measurement certificates The user uploads the electronic measurement certificate to be authenticated through the client. The smart contract automatically calculates the hash value of the electronic measurement certificate to be authenticated according to the encryption algorithm when the electronic measurement certificate is uploaded to the chain, and compares the hash value in the certificate list on the blockchain database with the hash value of the electronic measurement certificate to be authenticated. If they are inconsistent, the authentication result that the electronic measurement certificate is a fake certificate is directly output; otherwise, the electronic signature in the certificate list on the blockchain database and the electronic signature of the electronic measurement certificate to be authenticated are continued to be compared. If they are consistent, the authentication result that the electronic measurement certificate is a true certificate is output; otherwise, the authentication result that the electronic measurement certificate is a fake certificate is output.

6. The method for anti-counterfeiting of measurement certificates according to claim 5, characterized in that: The process of generating the original electronic measurement certificate in step 1 and performing anti-counterfeiting on the original electronic measurement certificate through the certificate signature and QR code is as follows: Step 1.1.1: After the metrology agency completes the inspection of the instrument, it shall submit the original metrology data; Step 1.1.2, import the original measurement data into the electronic certificate anti-counterfeiting module, verify the validity of the original measurement data, select the certificate template according to the verification or calibration type, and generate the original electronic measurement certificate; Step 1.1.3, stamp the original electronic measurement certificate with the signature of the verifier, the signature of the checker, the signature of the approver, the electronic official seal of the measurement institution and the QR code for certificate traceability; Step 1.1.4, save the original electronic measurement certificate and original measurement data to the local database; Step 1.1.5, the blockchain database calculates and generates the hash encryption value of the original electronic measurement certificate, uses an asymmetric encryption algorithm to digitally sign the electronic measurement certificate, and adopts a distributed storage method to store the hash encryption value of the electronic measurement certificate, the electronic signature, the certificate information and the electronic measurement certificate storage ID address in the form of a list; Step 1.1.6: Verify the consistency of the blockchain database and the local database to prevent the original electronic measurement certificate from being tampered with.

7. The method for anti-counterfeiting of measurement certificates according to claim 5, characterized in that: In step 1, the original electronic measurement certificate is modified as needed to generate a modified electronic measurement certificate, and the process of anti-counterfeiting the modified electronic measurement certificate through the certificate signature and the QR code is as follows: Step 1.2.1: The metrology agency submits a modification application on the client side and provides verification information; Step 1.2.2, after the electronic certificate anti-counterfeiting module verifies the validity of the modified measurement data, the template or certificate information of the electronic measurement certificate is modified to generate a modified electronic measurement certificate; Step 1.2.3, stamp the modified electronic measurement certificate with the signature of the verifier, the signature of the checker, the signature of the approver, the electronic official seal of the measurement institution and the QR code for certificate traceability; Step 1.2.4, update the modified electronic measurement certificate and the original data of the measurement process in the local database; Step 1.2.5: The blockchain database calculates and generates a hash encryption value of the modified electronic measurement certificate, digitally signs the modified electronic measurement certificate using an asymmetric encryption algorithm, and updates the blockchain database; Step 1.2.6: Verify the consistency of the blockchain database and the local database to prevent the original electronic measurement certificate from being tampered with.

8. The method for anti-counterfeiting of measurement certificates according to claim 5, characterized in that: The process of cancelling the original electronic measurement certificate and the modified electronic measurement certificate by cancelling the signature in step 1 is as follows: Step 1.3.1: The metrology agency submits an application for cancellation on the client side and provides verification information; Step 1.3.2: Call the original electronic measurement certificate or the modified electronic measurement certificate, and affix the official seal with the word "cancelled" to generate a canceled electronic measurement certificate; Step 1.3.3, the blockchain database calculates and generates a hash encryption value of the invalidated electronic measurement certificate, and updates the blockchain database to update the status of the invalidated electronic measurement certificate to invalidated; Step 1.3.4: In the local database, mark the revoked electronic measurement certificate as a revoked certificate and store the data of the revocation process.

9. The method for anti-counterfeiting of measurement certificates according to claim 5, characterized in that: The step 2 also includes: when the hash value in the chain certificate list of the blockchain database is inconsistent with the hash value of the electronic measurement certificate to be authenticated, the certificate information of the electronic measurement certificate to be authenticated is extracted through OCR text recognition, the extracted certificate information is retrieved in the blockchain database and compared with the extracted certificate information, if the similarity is greater than 50%, it is determined that the electronic measurement certificate in the local data has been tampered with, and the authentication result that the electronic measurement certificate to be authenticated is a fake certificate is output on the client and an authentication report is output, and the authentication report indicates that there is tampered content.

10. The method for anti-counterfeiting of measurement certificates according to claim 5, characterized in that: The step 2 also includes: inputting certificate information on the client, the blockchain data browser sending a verification message to each block on the chain, displaying the query or verification result to the user, and after the user logs in, accessing the measurement electronic certificate and measurement data stored in the local database and downloading the electronic measurement certificate within the given authority.

Citation Information

Cited By

  • Report anti-counterfeiting system and method combining dynamic two-dimensional code and electronic signature

    CN120874135A