Metering data traceability system and method based on block chain technology

Through the decentralized metering data traceability system based on blockchain technology, the data tampering, transparency and traceability problems in metrology data management are solved, efficient, secure and transparent management of metrology data is realized, and the legality of metrology data is enhanced. Sex and credibility.

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

Patent Information

Application Number
CN202411132508.7
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 metrological data management system has the risk of data being easily tampered with, unclear data sources, opaque data records and single point failures, which makes it difficult to guarantee the credibility and traceability of metrological data.

Method used

Adopt a decentralized metered data traceability system based on blockchain technology, and through multiple user nodes, consensus mechanisms and encryption algorithms, the entire life cycle management and traceability of metered data is realized, ensuring the immutability and transparency of data, and the utilization area is used. Blockchain's authentication and access control mechanisms perform data query and management.

Benefits of technology

It improves the legality and credibility of metrological data, enhances the convenience of traceability, reduces management costs, ensures the authenticity and security of data, and meets user privacy protection and data sharing needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119089492A_ABST
    Figure CN119089492A_ABST
Patent Text Reader

Abstract

The invention discloses a metering data traceability system and method based on a block chain technology, and the system comprises a metering management service end, a metering management service end server database, a block chain and a metering data traceability client, carrying out legality judgment, encryption, uplink and storage on the full life cycle data of the metering process; the metering management service end server database stores the data uploaded by the metering management service end, a unique ID address is generated for each metering instrument according to the inspection number, and the ID addresses are chained and stored in the block chain; the block chain adopts a decentralized distributed block chain database to store uplink data in a classified manner; the metering data traceability client authorizes the user to perform traceability query on the metering data through the identity verification and access control mechanism of the block chain, has the characteristics of decentralization, tamper-proofing, transparency and traceability, and enhances the credibility of the metering data and the traceability convenience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to measurement data traceability, and in particular to a measurement data traceability system and method based on blockchain technology. Background Art

[0002] In recent years, with the rapid advancement of advanced technologies such as Industry 4.0 and intelligent manufacturing, the accuracy and reliability requirements of measuring instruments are becoming higher and higher, especially in laboratories, manufacturing, energy, transportation and medical industries. Among them, metrological inspection is the key to the accuracy and precision of measuring instruments. It can effectively ensure the accuracy and reliability of the measurement data of instrument equipment and plays an important role in the control and guarantee of product quality.

[0003] As an authoritative document that proves the performance and use results of measuring instruments, metrology certificates play an important role in everything from scientific research experiments to industrial production, from environmental monitoring to medical diagnosis. Therefore, ensuring the traceability and credibility of metrology data has become an important factor in verifying the reliability of metrology instruments. However, the existing technology has many shortcomings in ensuring the integrity and reliability of metrology data. There are problems such as data being easily tampered with, unclear data sources, and opaque data records. Specifically, they are: First, the existing metrology management mostly uses a centralized storage system, which is vulnerable to attacks or internal human tampering, resulting in reduced credibility of metrology data; second, the centralized database system has a single point of failure risk. Once the server goes down or an accident occurs in the data center, the metrology data may be lost; third, in the metrology certificate management system, the metrology process management data chain is complex, lacks transparency, and the approval process is cumbersome, time-consuming and inefficient, resulting in difficulty in tracing the source of metrology data.

[0004] Therefore, how to achieve accurate and efficient measurement management and ensure the authority and credibility of measurement inspection has become an urgent problem to be solved. Summary of the invention

[0005] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a measurement data traceability system and method based on blockchain technology, which has the characteristics of decentralization, tamper-proofing, transparency and traceability, and enhances the legitimacy and credibility of measurement data and the convenience of traceability.

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

[0007] A measurement data traceability system based on blockchain technology, including a measurement management business terminal, a measurement management business terminal server database, a blockchain and a measurement data traceability client;

[0008] The measurement management business end is composed of multiple user nodes, each of which is a block. Through the consensus mechanism and encryption algorithm of the blockchain, the measurement appraisal agency, within the scope of authority, enters the measurement data of the entire life cycle of the measurement process into the measurement management business end and performs process management. The measurement management business end first makes a legality judgment on the entered measurement data, then encrypts the measurement data and identifies the block hash value, and then uploads and stores the measurement basic information, the hash value of the measurement data certificate, the time node and the approval signature information to the chain, and at the same time uploads and stores all detailed data of the entire life cycle of the measurement process in the measurement management business end server database;

[0009] The metering management service end server database stores the data uploaded by the metering management service end in order according to the metering process and timestamp, generates a unique storage ID address for each meter according to the inspection number, and stores the ID address on the blockchain;

[0010] The blockchain adopts a decentralized distributed blockchain database to store the on-chain data by classification through the on-chain certificate list;

[0011] The metering data traceability client supports multiple query conditions through the identity authentication and access control mechanism of the blockchain, and authorizes users to trace and query the credibility of metering data throughout the entire life cycle of the metering process.

[0012] Furthermore, the full life cycle data of the measurement process includes basic measurement information, qualifications of appraisal personnel, measurement standards, time nodes, reports, measurement certificates and approval signatures.

[0013] Furthermore, the metrology management business terminal can select the metrology inspection type according to the instrument to be inspected, and automatically generate the metrology business management process, metrology data template and the verification agency qualification corresponding to the metrology type.

[0014] Furthermore, the metering management business end automatically executes encryption algorithms, identity authentication and authorization, metering business management process management, generates metering data templates, judges the legitimacy of on-chain data, and stores metering data through the consensus mechanism of the blockchain.

[0015] Furthermore, the encryption algorithm is used for block hash value identification and on-chain data encryption;

[0016] The block hash value identifier uses a public key and a private key to encrypt the login account. The public key is used to set the corresponding permission information of the login account, and the private key encrypts the login account through the block hash value and the signature.

[0017] The on-chain data encryption is to encrypt the original records, electronic certificates, measuring equipment and measurement traceability information in the measurement process through a hash value algorithm, and then sign them using an asymmetric encryption algorithm.

[0018] Furthermore, the hash value algorithm is a SHA-256 algorithm.

[0019] A method for tracing the source of measurement data based on blockchain technology, including tracing the source of measurement data in a non-logged-in state and tracing the source of measurement data in a logged-in state, wherein:

[0020] In the non-logged-in state, the user enters the metering data traceability client through the browser, enters the key search information, and quickly queries the chain certificate list information in the blockchain database;

[0021] When logged in, the user enters the measurement data traceability client through the browser, enters key search information, quickly queries the chain certificate list information in the blockchain database, and views the detailed data stored in the measurement management business server database through the ID address link in the chain certificate list information, conducts traceability queries on measurement qualifications, measurement standards and measurement data, and downloads measurement certificates.

[0022] Furthermore, the process of tracing and querying the metering data in the non-logged-in state is as follows:

[0023] Step 1.1: Enter the key information to be traced in the measurement data traceability client;

[0024] Step 1.2: The measurement data traceability client sends a key information traceability query request to the blockchain database;

[0025] Step 1.3, retrieve the metering data chain certificate list information from the blockchain database;

[0026] Step 1.4: The measurement data traceability client displays the measurement data chain certificate list information to the user;

[0027] Furthermore, the process of tracing and querying the metering data in the logged-in state is as follows:

[0028] Step 2.1: After the user passes the identity authentication, enter the key information to be traced in the measurement data traceability client;

[0029] Step 2.2: The measurement data traceability client sends a key information traceability query request to the blockchain database;

[0030] Step 2.3, retrieve the metering data chain certificate list information from the blockchain database;

[0031] Step 2.4: The measurement data traceability client displays the measurement data chain certificate list information to the user.

[0032] Step 2.5: The user can view the detailed measurement data ID in the chain certificate list within the scope of authority;

[0033] Step 2.6: The measurement data traceability client sends a detailed measurement data ID link request to the measurement management business end database through the blockchain;

[0034] Step 2.7: The metrology data traceability client displays all detailed data of the entire life cycle of the metrology process, and performs traceability queries on metrology qualifications, metrology standards and metrology data.

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

[0036] The measurement data traceability system based on blockchain technology of the present invention has the following advantages in realizing accurate and efficient measurement management and ensuring the authority and credibility of measurement inspection: first, once the data is written, it cannot be modified, which can effectively prevent tampering and improve the authenticity and security of the data; second, due to the decentralized nature of blockchain, all participants can only verify and maintain the data on the chain through a consensus mechanism, which improves the credibility of the entire system; third, through automated and decentralized measurement business management, the dependence on manual intervention is reduced and the management cost is reduced; fourth, all operations and data realize the sharing of on-chain data, which increases the transparency of the system; fifth, through the identity authentication and access control mechanism of blockchain, not only data traceability and query are realized, but also user privacy protection, data security and data sharing requirements are met. In short, the measurement data traceability system based on blockchain technology of the present invention has the characteristics of decentralization, tamper-proofing, transparency and traceability, enhances the legitimacy and credibility of data and the convenience of traceability, and provides an innovative path for solving the problems existing in the existing technology in measurement data management. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 : Framework diagram of the measurement data traceability system based on blockchain technology of the present invention;

[0038] Figure 2 :Flowchart of the measurement data traceability method based on blockchain technology of the present invention. DETAILED DESCRIPTION

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

[0040] like Figure 1As shown, a measurement data traceability system based on blockchain technology includes a measurement management business terminal, a measurement management business terminal server database, a blockchain and a measurement data traceability client, wherein:

[0041] The metering management business end is composed of multiple user nodes, each of which is a block. The metering management business end uses the consensus mechanism and encryption algorithm of the blockchain to enable the metering appraisal agency to enter the metering data of the entire life cycle of the metering process into the metering management business end within the scope of authority and perform process management. The metering management business end first determines the legality of the entered metering data, then encrypts the metering data and identifies the hash value, and then uploads and stores the metering basic information, the hash value of the metering data certificate, the time node and the approval signature information to the chain, thereby improving the security and credibility of the metering data. At the same time, all detailed data of the entire life cycle of the metering process are uploaded and stored in the metering management business end server database;

[0042] When the measurement and appraisal agency logs in to the measurement management business terminal, it needs to pass identity authentication and authorization. Identity authentication and authorization are part of the trusted verification mechanism of the blockchain. An encryption algorithm is used to identify the identity of the blockchain operator, and the operation authority is verified by means of a license certificate, thereby ensuring the authenticity and credibility of the identity of the measurement business manager and that the operation complies with the rules and is legal and credible. After the measurement and appraisal agency logs in to the measurement management business terminal, within the scope of authority, through the consensus mechanism and encryption algorithm, the measurement data of the entire life cycle of the instrument to be inspected is entered and managed, encrypted, uploaded to the chain and stored. The measurement management business terminal is the only channel for measurement business management and measurement data entry;

[0043] The metering business management includes process management, encryption, chaining and storage of metering data throughout the life cycle of the meter to be inspected. Each step of the meter to be inspected, from inspection, verification / calibration, verification, approval, inspection warning and certificate cancellation, is treated as a block and identified by the unique hash value of the user's login account, which is used to verify the next metering operation to ensure that the new metering operation process is legal. Only operations that pass the verification can be added to the blockchain, thereby improving the credibility of blockchain metering data;

[0044] The measurement data entry refers to entering all detailed data of the entire life cycle of the measurement process into the measurement management business terminal. The measurement process life cycle data includes basic measurement information, qualification of identification personnel, measurement standards, time nodes, reports, measurement certificates and approval signatures, which facilitates users to conduct traceability and credibility query through the measurement data traceability client;

[0045] The operation process of the metering management business end is as follows:

[0046] S1. When the measuring instrument is sent for inspection, the measurement management business terminal selects the measurement inspection type according to the instrument to be inspected, and automatically generates the measurement management process, measurement data template, and the verification agency qualification corresponding to the measurement type;

[0047] S2. During the metrological inspection process, the metrological appraisal agency shall, within the scope of its authority, input and approve the metrological inspection data, and add the metrological qualifications of the inspectors and the metrological standards to be implemented;

[0048] S3. After the measurement and detection data is entered, the consensus mechanism determines the legality and integrity of the measurement data, encrypts the measurement data and identifies the hash value;

[0049] S4. The measurement basic information, hash value of the measurement data certificate, time node and signature information are uploaded to the chain, and stored in the blockchain database;

[0050] S5. Upload and store all detailed data of the entire life cycle of the measurement process, including basic measurement information, qualification of identification personnel, measurement standards, time nodes, reports, measurement certificates and approval signatures, in the measurement management business end server database;

[0051] The consensus mechanism automatically executes encryption algorithms, identity authentication and authorization, metering business management process management, metering data template generation, chain data legitimacy judgment and metering data storage by writing codes into the metering data traceability and trusted system;

[0052] The encryption algorithm is used for block hash value identification and on-chain metering data encryption, wherein: 1) the block hash value identification uses a public key and a private key to encrypt the login account, the public key is used to set the corresponding permission information of the login account, to ensure that the metering management business end operation complies with the rules and is legal and credible, and the private key encrypts the login account through the block hash value and signature, identifies the identity of the blockchain operator, and ensures the authenticity and credibility of its identity; 2) the on-chain metering data encryption is to encrypt the original records, electronic certificates, metering equipment and value traceability information in the metering process through the hash value algorithm, and then use the asymmetric encryption algorithm to sign. Since the hash value encryption calculation is irreversible, the original information cannot be restored from the hash value, thereby achieving the security and non-tamperability of the on-chain data, and ensuring the authenticity and legality of the metering process data;

[0053] Preferably, the hash value algorithm is the SHA-256 algorithm, and the block hash value is calculated by the SHA-256 algorithm;

[0054] The metering management business server database is used to input the data uploaded by the metering management business terminal, and generate a storage ID address according to the inspection number. Each meter has only a unique ID, and the data is stored in order according to the metering process and timestamp. The ID address is uploaded to the blockchain through the blockchain interface and stored in the blockchain. When the data needs to be modified, it can only be modified and approved according to the metering process, and stored in the metering management business server database in chronological order. The original metering data will not be deleted or replaced, ensuring the traceability of the metering process;

[0055] The blockchain adopts a decentralized distributed blockchain database to store the on-chain data by classifying the on-chain certificate list. The on-chain data includes basic measurement information, hash value of measurement certificate and approval signature information;

[0056] The measurement data traceability client supports multiple query conditions through the identity authentication and access control mechanism of the blockchain. Through the distributed storage technology, identity authentication and authorization of the blockchain, the on-chain data is shared, traced and queried, realizing the traceability and credibility query of the measurement data (such as basic measurement information, measurement standards and measurement qualifications, etc.) throughout the life cycle of the measurement process;

[0057] The metering data traceability client has a strict authority management mechanism through the identity authentication and access control mechanism of the blockchain, so that different users have different authorities. Users can only access metering data within the scope of the authority. For access and operation of sensitive data, multiple verifications and authorizations are required, so that the metering data traceability and trusted system can simultaneously meet the needs of data sharing, user privacy protection and data security.

[0058] like Figure 2 As shown, a measurement data traceability method based on blockchain technology in a measurement data traceability system based on blockchain technology includes measurement data traceability query in a non-logged-in state and measurement data traceability query in a logged-in state;

[0059] The process of tracing and querying the metering data in the non-logged-in state is as follows:

[0060] Step 1.1: The user enters the measurement data traceability client through the browser and enters the key information that needs to be traced in the measurement data traceability client, such as the measurement certificate number or the inspection unit;

[0061] Step 1.2: The measurement data traceability client sends a key information traceability query request to the blockchain database;

[0062] Step 1.3, retrieve the metering data chain certificate list information from the blockchain database;

[0063] Step 1.4: The measurement data traceability client displays the measurement data chain certificate list information to the user, including measurement basic information, hash value of measurement data certificate, time node and approval signature information;

[0064] The process of tracing and querying the metering data in the login state is as follows:

[0065] Step 2.1: The user enters the measurement data traceability client through a browser, and after passing identity authentication, enters the key information to be traced in the measurement data traceability client;

[0066] Step 2.2: The measurement data traceability client sends a key information traceability query request to the blockchain database;

[0067] Step 2.3, retrieve the metering data chain certificate list information from the blockchain database;

[0068] Step 2.4: The measurement data traceability client displays the measurement data chain certificate list information to the user;

[0069] Step 2.5: The user can view the detailed measurement data ID in the chain certificate list within the scope of authority;

[0070] Step 2.6: The measurement data traceability client sends a detailed measurement data ID link request to the measurement management business end database through the blockchain;

[0071] Step 2.7: The measurement data traceability client displays all detailed data of the entire life cycle of the measurement process to achieve measurement data traceability.

[0072] The metrology data traceability mainly includes tracing the metrology qualifications, metrology standards and metrology data to query and verify the legality and credibility of the metrology certificate, metrology data and metrology qualifications, among which: the metrology qualifications include the qualification certificate of the calibration agency corresponding to the metrology certificate and the qualification information of the calibration personnel, and the metrology standards include the national standards, industry standards, standard instruments and standard substances implemented in the metrology process.

[0073] During the measurement data traceability query process in the logged-in state, users can download the measurement certificate as needed.

Claims

1. A measurement data traceability system based on blockchain technology, characterized in that: Including measurement management business end, measurement management business end server database, blockchain and measurement data traceability client; The measurement management business end is composed of multiple user nodes, each of which is a block. Through the consensus mechanism and encryption algorithm of the blockchain, the measurement appraisal agency, within the scope of authority, enters the measurement data of the entire life cycle of the measurement process into the measurement management business end and performs process management. The measurement management business end first makes a legality judgment on the entered measurement data, then encrypts the measurement data and identifies the block hash value, and then uploads and stores the measurement basic information, the hash value of the measurement data certificate, the time node and the approval signature information to the chain, and at the same time uploads and stores all detailed data of the entire life cycle of the measurement process in the measurement management business end server database; The metering management service end server database stores the data uploaded by the metering management service end in order according to the metering process and timestamp, generates a unique storage ID address for each meter according to the inspection number, and stores the ID address on the blockchain; The blockchain adopts a decentralized distributed blockchain database to store the on-chain data by classification through the on-chain certificate list; The metering data traceability client supports multiple query conditions through the identity authentication and access control mechanism of the blockchain, and authorizes users to trace and query the credibility of metering data throughout the entire life cycle of the metering process.

2. The measurement data traceability system based on blockchain technology according to claim 1 is characterized in that: The data of the entire life cycle of the measurement process includes basic measurement information, qualifications of appraisal personnel, measurement standards, time nodes, reports, measurement certificates and approval signatures.

3. The measurement data traceability system based on blockchain technology according to claim 1 is characterized in that: The metrology management business terminal can select the metrology inspection type according to the instrument to be inspected, and automatically generate the metrology business management process, metrology data template and the verification agency qualification corresponding to the metrology type.

4. The measurement data traceability system based on blockchain technology according to claim 3 is characterized in that: The metering management business end automatically executes encryption algorithms, identity authentication and authorization, metering business management process management, generates metering data templates, judges the legitimacy of on-chain data, and stores metering data through the consensus mechanism of the blockchain.

5. The measurement data traceability system based on blockchain technology according to claim 4 is characterized in that: The encryption algorithm is used for block hash value identification and on-chain data encryption; The block hash value identifier uses a public key and a private key to encrypt the login account. The public key is used to set the corresponding permission information of the login account, and the private key encrypts the login account through the block hash value and the signature. The on-chain data encryption is to encrypt the original records, electronic certificates, measuring equipment and measurement traceability information in the measurement process through a hash value algorithm, and then sign them using an asymmetric encryption algorithm.

6. The measurement data traceability system based on blockchain technology according to claim 5 is characterized in that: The hash value algorithm is the SHA-256 algorithm.

7. A blockchain-based measurement data tracing method according to any one of claims 1 to 6, characterized in that: It includes the measurement data source query in the non-logged-in state and the measurement data source query in the logged-in state, among which: In the non-logged-in state, the user enters the metering data traceability client through the browser, enters the key search information, and quickly queries the chain certificate list information in the blockchain database; When logged in, the user enters the measurement data traceability client through the browser, enters key search information, quickly queries the chain certificate list information in the blockchain database, and views the detailed data stored in the measurement management business server database through the ID address link in the chain certificate list information, conducts traceability queries on measurement qualifications, measurement standards and measurement data, and downloads measurement certificates.

8. The method for tracing measurement data based on blockchain technology according to claim 7 is characterized in that: The process of tracing and querying the metering data in the non-logged-in state is as follows: Step 1.1: Enter the key information to be traced in the measurement data traceability client; Step 1.2: The measurement data traceability client sends a key information traceability query request to the blockchain database; Step 1.3, retrieve the metering data chain certificate list information from the blockchain database; Step 1.4: The measurement data traceability client displays the measurement data chain certificate list information to the user.

9. The method for tracing measurement data based on blockchain technology according to claim 7 is characterized in that: The process of tracing and querying the metering data in the login state is as follows: Step 2.1: After the user passes the identity authentication, enter the key information to be traced in the measurement data traceability client; Step 2.2: The measurement data traceability client sends a key information traceability query request to the blockchain database; Step 2.3, retrieve the metering data chain certificate list information from the blockchain database; Step 2.4: The measurement data traceability client displays the measurement data chain certificate list information to the user. Step 2.5: The user can view the detailed measurement data ID in the chain certificate list within the scope of authority; Step 2.6: The measurement data traceability client sends a detailed measurement data ID link request to the measurement management business end database through the blockchain; Step 2.7: The metrology data traceability client displays all detailed data of the entire life cycle of the metrology process, and performs traceability queries on metrology qualifications, metrology standards and metrology data.