A blockchain-based detection data storage and traceability management method

By extracting unclonable features from the physical layer of the detection device to generate PB-Tokens, and combining them with lightweight zero-knowledge proofs and directed acyclic graph structures, the problems of data tampering and ambiguous responsibility attribution in existing technologies are solved, realizing trusted evidence storage and automated traceability management of detection data.

CN123184922APending Publication Date: 2026-11-27TAICANG BIYUAN TESTING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611380063.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-07
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing blockchain-based data storage and traceability solutions suffer from problems such as data tampering, privacy leaks, and unclear attribution of responsibility, failing to achieve reliable data storage and automated traceability.

Method used

By extracting unclonable features from the physical layer of the detection device, generating PB-Token, and combining lightweight zero-knowledge proofs and a directed acyclic graph structure, the system achieves trusted data binding and automated liability adjudication, and uses smart contracts for automated traceability management.

Benefits of technology

It achieves a trusted binding of the entire chain of detection data from its generation source to on-chain evidence storage, ensuring data privacy protection and regulatory auditability, while also enabling automated and traceable liability adjudication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184922A_ABST
    Figure CN123184922A_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on blockchain's detection data archiving and tracing management method, this method contains three core modules: one, from the microcontroller or analog-digital converter of detection equipment extraction physical unclonable function feature, with sensor sampling behavior time sequence feature fusion, through message authentication code operation generation hardware-behavior joint fingerprint token, and anchor to blockchain, data trust root is moved to physical layer;Second, with original detection numerical value and joint fingerprint token as private input, with threshold standard and token hash as public input, generate zero-knowledge proof in edge gateway and submit chain contract verification, realize compliance verification and equipment source authentication under privacy protection;Third, detection process is abstracted as directed acyclic graph, node state is controlled by on-chain smart contract, built-in instrument drift, unauthorized operation and result mutation three kinds of abnormal detection logic, when abnormal trigger, automatically freeze subsequent authority, generate ruling conclusion and permanently chain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of blockchain technology, and also relates to the fields of data security protection, quality inspection and certification industry and industrial Internet of Things. Specifically, it relates to a blockchain-based method for the storage and traceability management of inspection data. Background Technology

[0002] Blockchain-based evidence storage technology, based on cryptographic hash chains, consensus algorithms, and distributed node networks, enables immutable storage of data digests and is widely used in data evidence storage and traceability scenarios. The closest existing technology to this invention can be summarized as a "hash on-chain + manual traceability" model: After the testing equipment completes the test, the application layer software installed on the equipment reads the test result data and calculates the hash value. The hash value and accompanying metadata are then submitted to the consortium blockchain node via an interface to be packaged into a block, generating an evidence storage certificate. During verification, the enterprise provides the original test report, and the verifier recalculates the hash for comparison. In case of disputes, manual review of on-chain timestamp records and node operation logs is conducted to determine liability.

[0003] The above-mentioned existing technical solutions have the following three drawbacks.

[0004] Disadvantage 1: Existing solutions rely on application-layer software as the root of trust. Attackers can tamper with the data after reading sensor data from the application-layer software but before writing it to the blockchain. Furthermore, the tampered data can still generate legitimate hash values ​​and successfully upload to the blockchain, rendering the data uploaded to the evidence storage system unreliable. Due to the lack of modeling for the time-series behavioral characteristics of data generation, the batch time-series data forged by generative AI cannot be distinguished from genuinely collected data at the hash level, leaving the system completely defenseless against forgery attacks.

[0005] Disadvantage 2: Existing solutions employ a binary opposition design: either all data is uploaded to the blockchain in plaintext, or only hash data is uploaded. The former exposes core business data directly to the blockchain's public ledger; the latter forces verifiers to rely on companies to proactively provide raw data to complete verification, severely violating the trustless nature of blockchain and lacking practical value in scenarios with strong regulatory requirements and high privacy demands.

[0006] Disadvantage 3: Existing solutions have blurred boundaries of responsibility among participants when recording data. On-chain data consists of only independent records, lacking a structured expression of the temporal dependencies between each stage. When anomalies are detected, the chain of responsibility cannot be automatically inferred from the on-chain data. It is necessary to manually compare logs one by one, which is extremely inefficient and the conclusions are easily questioned. Summary of the Invention

[0007] The purpose of this invention is to provide a blockchain-based method for storing and tracing detection data to address the three shortcomings mentioned above.

[0008] This invention is implemented as follows: a blockchain-based method for storing and tracing detection data, comprising a device registration stage, a successive detection task execution stage, and a verification query stage, specifically including the following processes: During the device registration phase, a physical non-cloning function feature extraction process is performed on the detection devices connected to the system. The original physical entropy source bit string is obtained from the device's microcontroller or analog-to-digital converter. After processing by a fuzzy extractor, the device's physical key is obtained. At the same time, auxiliary data is generated and stored in the device's local secure storage area. The hash value of the device's physical key is used as the device's public identity identifier and registered to the token registration contract on the blockchain to bind the device's unique identifier, thus completing the on-chain anchoring of the device's physical fingerprint. The registration operation is only performed once when the device joins the network.

[0009] During the successive detection task execution phase, each time a detection task is started, the detection device uses local auxiliary data to recover the currently used device physical key. The system obtains a globally unique task identifier and a global timestamp from the blockchain or a trusted timestamp service. During the detection process, it records the time-series data of sensor sampling behavior in real time, extracts the sampling interval sequence, the sampling value difference sequence, and the channel noise energy to form a behavior feature vector, calculates the hash digest of the behavior feature vector, and fuses the device physical key, behavior feature hash digest, task identifier, and timestamp through hash-based message authentication code operation to generate a hardware-behavior joint fingerprint token for this detection task, namely PB-Token. The hash value of PB-Token is written to the token registration contract through on-chain transactions for time-series anchoring.

[0010] After sampling, the edge gateway uses the original detection value vector and PB-Token as private inputs, and the detection standard threshold vector and the hash value of the PB-Token registered on-chain as public inputs to execute a dedicated zero-knowledge proof circuit. The circuit includes two types of constraints: range constraints and source constraints. The range constraints verify whether the measured value of each detection indicator falls within the upper and lower limits of the corresponding standard threshold and output a compliance flag. The source constraints recalculate the hash value of the PB-Token within the proof and compare it with the hash value in the public input to prove that the physical fingerprint binding relationship between the detection value and the registered device is valid. The edge gateway calls the Groth16 protocol to generate a compact proof tuple containing elliptic curve point pairs, packages it together with the public input and device signature, and submits it to the consortium blockchain network. The on-chain Verifier smart contract uses elliptic curve pairing operations to perform on-chain verification on the proof tuple. After successful verification, the compliance conclusion, device source verification conclusion, and verification timestamp are permanently recorded in the on-chain ledger. If the verification fails, an abnormal event is automatically triggered, notifying the responsibility graph contract to start the traceability process.

[0011] In terms of responsibility management for the testing process, the system abstracts a complete testing process as a directed acyclic graph (DAG). Each node in the graph represents a key responsible node in the testing process, including attributes such as node type, responsible entity's public key, action description, node status, and node timestamp. Directed edges represent the temporal and data flow dependencies between nodes. Responsible node types include equipment acquisition nodes, instrument calibration nodes, manual review nodes, and regulatory confirmation nodes. On-chain DAG contracts control the state transitions of each node. After fulfilling their responsibilities, the responsible entity uses their private key to digitally sign and submit the node's data digest. The contract verifies the signature. After verifying the legality of the signature and the validity of the sequence, the node status is updated. When processing each signature event, the contract synchronously executes three types of anomaly detection logic: instrument benchmark drift detection, operator qualification verification, and result consistency comparison. When an anomaly is detected, the contract automatically freezes the signing permissions of all successor nodes of the abnormal node, sends a responsibility warning notification event to the responsible party of the abnormal node, and generates a structured adjudication conclusion and writes it into the on-chain ledger. When all nodes successfully complete the signing and there are no anomalies, the contract calculates the Merkle root of all node data and writes it into the on-chain permanent storage, which together with the zero-knowledge proof verification conclusion constitutes a complete on-chain archive of detection data.

[0012] During the verification query phase, the verifier calls the on-chain token registration contract and Verifier contract, and can obtain compliance conclusions and device origin verification conclusions based solely on the task identifier and device identifier, without needing to access the original test data.

[0013] Compared with the prior art, the beneficial effects of the present invention are as follows: By moving the root of data trust from the tamperable application software layer to the unclonable physical layer, the two types of attack paths—data tampering before being uploaded to the blockchain and the infiltration of artificial intelligence-forged data—are fundamentally blocked, achieving trusted binding of detection data from its generation source to on-chain evidence storage.

[0014] Through a lightweight zero-knowledge proof selective disclosure mechanism, any verifier is allowed to prove on-chain whether the product is compliant and whether the data was generated by a specific device, without disclosing the original test values, thus achieving a balance between data privacy protection and regulatory auditability.

[0015] By using a multi-signature temporal responsibility graph based on a directed acyclic graph structure and a smart contract automatic adjudication engine, the passive post-event data review is upgraded to proactive real-time anomaly triggering and automatic responsibility attribution, thereby achieving automation, standardization, and legal traceability of responsibility adjudication. Attached Figure Description

[0016] Figure 1This is a diagram of the overall system architecture of the present invention, showing the four-layer architecture and data flow of the physical acquisition and fingerprint generation layer, the edge computing and proof generation layer, the blockchain network and contract layer, and the application service and verification layer. Figure 2 The flowchart for zk-SNARKs proof generation and on-chain verification of this invention is presented in swimlane diagram form, showing the complete interaction process of the three participants: the detection device, the edge gateway, and the blockchain. Figure 3 This is a schematic diagram of the DAG graph of the multi-signature temporal responsibility of the present invention, which shows the state of each responsible node, the directed dependency edges, and the anomaly triggering and propagation mechanism in the directed acyclic graph structure; Figure 4 This is a flowchart of the execution process of the smart contract automatic adjudication engine of the present invention, which shows the complete execution path of signature verification, three types of anomaly detection, anomaly propagation, adjudication conclusion generation and normal closure. Detailed Implementation

[0017] This invention provides a blockchain-based method for storing and tracing detection data, which consists of three core functional modules: a PB-Token generation module based on physically unclonable functions and sampling behavior; a lightweight zero-knowledge proof selective disclosure module; and a multi-signature temporal responsibility graph and smart contract automatic adjudication module based on directed acyclic graphs. The three modules form a complete closed-loop trust chain through task identifiers and device identifiers as global association keys.

[0018] I. PB-Token Generation Module Based on PUF and Sampling Behavior This module extracts unclonable features from the physical layer of the detection device and fuses them with the temporal features of the sensor sampling behavior of the detection task to generate a PB-Token that is doubly bound to the specific detection device and the specific detection behavior, serving as the physical root of trust for subsequent data authenticity verification.

[0019] Physically unclonable function feature extraction employs one of the following two methods.

[0020] The first method is SRAM-type physically unclonable function extraction: When the microcontroller is powered on, the initial bit state of an uninitialized SRAM region of a preset size is read. Due to the chip manufacturing process deviation, the initial power-on value of this SRAM region of each microcontroller has extremely high consistency (the Hamming distance of repeated power-on of the same chip is usually less than 5%) and cross-chip differences (the Hamming distance between different chips is usually greater than 45%), which meets the requirements of reliability and uniqueness.

[0021] The second method is to extract the thermal noise type physical non-cloning function of the analog-to-digital converter: by performing high-frequency continuous sampling on the floating high-impedance pin of the analog-to-digital converter, the least significant bit sequence of the sampled value is extracted as the physical entropy source by utilizing the random characteristics of the thermal noise at the input end and the hardware inherentness of the quantization noise. After deviation elimination processing, a fixed-length response bit string is output.

[0022] The extracted original physical non-clonable function response bit string is denoted as a 256-bit binary string. To improve the stability of the response under temperature and voltage fluctuations, the original response bit string is subjected to fuzzy extraction processing to output a stable device physical key. At the same time, auxiliary data is generated and stored locally on the device for subsequent recovery of the device physical key; the device physical key does not leave the device.

[0023] During the device initialization and registration phase, the system administrator registers the hash value of the device's physical key as the device's public identity identifier to the PB-Token registration contract on the blockchain, binds the device's unique identifier, and completes the on-chain anchoring of the device's physical fingerprint. This step is only performed once when the device joins the network.

[0024] During each detection task, the system records the sampling behavior time sequence of the sensor in real time and extracts the following features: the time interval sequence between consecutive sampling points, reflecting the sampling rhythm; the difference sequence formed by the difference between adjacent sampling values, reflecting the signal change pattern; and the noise variance of each channel of the multi-channel sensor in the silent period, reflecting the inherent noise characteristics of the hardware. After the above features are standardized, they are concatenated into a behavior feature vector, and a hash digest is calculated for this vector, which is denoted as the behavior feature digest.

[0025] The PB-Token generation algorithm is as follows: When the detection task starts, the detection device recovers the current device physical key using local auxiliary data. The system obtains a globally unique task identifier and a global timestamp from the blockchain or a trusted timestamp service to prevent the PB-Token from being replayed across tasks. After completing the behavioral feature digest calculation, the device physical key is used as the key input, and the behavioral feature digest, task identifier, and timestamp are concatenated as the message input. The PB-Token is then calculated using a hash-based message authentication code algorithm (HMAC-SHA256), i.e.:

[0026] in, This is the device's physical key, which is 256 bits long. This is a behavioral feature summary, 256 characters in length. It is a globally unique task identifier. For global timestamps, This represents a bit string concatenation operation, and the output is... A unique authentication token of 256 bits.

[0027] After generating the PB-Token, its hash value is written to the PB-Token registration contract through on-chain transactions for time-series anchoring, serving as an on-chain reference for subsequent verification.

[0028] II. Lightweight Zero-Knowledge Proof Selective Disclosure Module This module designs a dedicated lightweight zero-knowledge proof circuit for the threshold judgment business logic of the detection data. The circuit input is divided into two categories: privacy input (visible only to the prover) includes the original detection value vector and the PB-Token for this task; public input (visible to the verifier) ​​includes the detection standard threshold vector, the hash value of the PB-Token already registered on the chain, and the task identifier.

[0029] The circuit coding employs two types of constraints. The first type is range constraints: for each detection indicator, the circuit verifies whether the corresponding measured value falls within the upper and lower limits of the indicator's standard threshold. If all indicators meet the requirements, a compliance flag is output as true; otherwise, it is false. The second type is source constraints: internally, the circuit recalculates the hash value of the PB-Token and verifies that it equals the hash value of the PB-Token already registered in the public input. This proves the physical fingerprint binding relationship between the set of detection data and the registered device without exposing the original PB-Token value. The total number of constraints is typically within a few thousand gate circuits, making it a lightweight circuit.

[0030] The process of generating and verifying zero-knowledge proofs is as follows.

[0031] During the system initialization phase, a trusted setup ceremony is performed on the aforementioned proof circuit using the Groth16 protocol to generate a proof key (used by the prover and stored in the edge gateway) and a verification key (used by the verifier and deployed in the on-chain Verifier contract). This step is performed only once throughout the entire lifecycle and can be participated in by multiple parties to eliminate the dependence on a single trusted party.

[0032] The edge gateway receives the raw detection value vector and PB-Token from the detection device, and obtains the currently applicable detection standard threshold vector from the blockchain. It performs formatting processing on the privacy input, converting the floating-point detection value into an integer field representation with a predetermined precision to meet the finite field operation requirements of the zero-knowledge proof circuit.

[0033] The edge gateway invokes the proof generation program, substitutes the privacy input and public input into the circuit, executes the Groth16 proof algorithm using the proof key, and generates a compact proof tuple consisting of three elliptic curve points. The three together constitute a proof file of about 200 bytes. On a typical industrial edge computing node, this step takes less than 0.5 seconds.

[0034] The edge gateway packages the proof tuple, public input, and device signature into a single blockchain transaction and submits it to the consortium blockchain network. Upon receiving the transaction, the Verifier smart contract on the consortium blockchain uses the BN254 elliptic curve pairing operation pre-compiled by the Ethereum Virtual Machine to perform on-chain verification of the proof tuple. The verification operation takes a fixed amount of milliseconds to execute on-chain.

[0035] Once the Verifier contract verifies the data, it records the compliance conclusion, device origin verification conclusion, on-chain verification timestamp, and transaction hash corresponding to the task identifier in the on-chain ledger. This record is permanently stored and can be queried by the verifier at any time without needing to access the original test data. If the verification fails, the Verifier contract automatically triggers an exception event, notifying the Responsibility Graph contract to initiate the tracing process.

[0036] III. Multi-signature temporal responsibility graph based on directed acyclic graph and automatic smart contract adjudication module This module abstracts a complete testing process into a directed acyclic graph. Each node in the node set represents a key responsible node in the testing process, including node type (equipment acquisition node, instrument calibration node, manual review node, regulatory confirmation node), responsible entity's public key, execution action description, node status (pending signature, signed normally, signed abnormally, timed out and unsigned, predecessor abnormal and blocked), node timestamp, and references to predecessor dependent nodes. The directed edges in the directed edge set point from one node to the next node, indicating that the execution logic of the latter depends on the completion and confirmation of the former, i.e., the order of events and data flow dependencies.

[0037] An example of a directed acyclic graph (DAG) structure for a standard testing process is as follows: the equipment acquisition node points to the instrument calibration confirmation node, the instrument calibration confirmation node points to the data review node, and the data review node points to the result publication node. In a multi-batch parallel testing scenario, the DAG can branch into multiple parallel paths, eventually converging at the comprehensive review node to form a standard DAG topology.

[0038] The implementation process of the smart contract automatic adjudication engine is as follows.

[0039] When a batch of testing tasks is started, the system initiator calls the initialization function of the on-chain DAG graph contract, passes in the predefined testing process template, and the contract builds and stores the DAG graph instance of this task on the chain, binds the corresponding task identifier, and sets the initial state of all nodes to pending signature.

[0040] Whenever the responsible party in a certain step of the detection process completes its duties, it uses its private key to digitally sign the data digest of the node (including the hash of the operation content, the execution timestamp, and the hash reference of the predecessor node), calls the contract signing function to submit the signature, and after the contract verifies the legality of the signature (matching the registered public key) and the legality of the time sequence (all predecessor nodes are in the signed state), it updates the status of the node to signed and writes the signature data into the directed acyclic graph on the chain.

[0041] When processing each signature event, the contract synchronously executes the following three exception detection logics.

[0042] Instrument reference drift detection: If the current node is an instrument calibration confirmation node, the contract reads the calibration reference value associated with the node and compares it with the reference average value of the historical window period (default is the last 30 calibration records). If the deviation exceeds the preset threshold (default is 3 times the standard deviation), the node status is marked as signed abnormal.

[0043] Operator Unauthorized Operation Detection: The contract maintains an on-chain qualification registry, recording the qualification type, validity period, and authorized detection scope of each operator. If the qualification corresponding to the public key of the signer does not cover the operation type required by the current node, or if the qualification has expired, the signature is rejected and the node status is marked as an unauthorized operation exception.

[0044] Result mutation detection: For data audit nodes, the contract compares the compliance proof conclusion of the current test value (the compliance flag obtained from the Verifier contract) with the historical records of the same batch. If the conclusion is reversed 3 or more times in a row, the result mutation anomaly flag is triggered.

[0045] When a node is marked as abnormal, the contract automatically executes the abnormal propagation logic: for all successor nodes of the abnormal node in the directed acyclic graph, the signing permissions of the successor nodes are temporarily frozen, and the status of the successor nodes is set to the predecessor abnormal blocking; at the same time, the contract sends a responsibility warning notification event to the on-chain address of the responsible party corresponding to the abnormal node. The notification content includes the abnormal type, abnormal node identifier, relevant data summary and processing deadline.

[0046] The contract executes automatic adjudication based on the distribution of abnormal states of nodes in a directed acyclic graph: if the abnormal node is a device acquisition node, the adjudication concludes that the data acquisition source is questionable, and equipment re-inspection and recalibration are recommended; if the abnormal node is an instrument calibration node, the adjudication concludes that the test data has systematic errors due to calibration anomalies, and the acceptance of this batch of data is temporarily suspended, with responsibility attributed to the corresponding metrologist; if the abnormal node is a manual review node, the adjudication concludes that there are violations in the review process, and an internal compliance review process is initiated. The adjudication conclusions are written to the on-chain ledger in a structured form, permanently stored with associated task identifiers, and have complete legal traceability.

[0047] If the anomaly is repairable, the responsible party will submit proof of repair, and the subsequent node will be unfrozen, continuing to await subsequent signatures; if the anomaly is irreparable, the current batch of tasks will be frozen and a manual intervention notification will be triggered.

[0048] If all nodes successfully complete the signing without any anomalies, the contract executes the graph completion verification (checking that all nodes are in a signed and normal state and there are no isolated nodes). After the verification is successful, the graph completion function is called to write the Merkle root of all node data for this task into the on-chain permanent storage. This storage, together with the zero-knowledge proof verification conclusion, constitutes a complete on-chain archive of detection data for subsequent auditing and querying.

[0049] IV. Alternative Implementation Methods For the PB-Token generation module, a Trusted Execution Environment (such as Intel SGX or ARM TrustZone) can be used instead of a purely software-based physically unclonable function extraction scheme. Specifically, a Trusted Execution Environment security zone is deployed in the detection device or edge gateway. The data acquisition logic is encapsulated and executed within this security zone. The remote proof mechanism of the Trusted Execution Environment generates a trusted proof of the data source, replacing the PB-Token as the trust anchor for the data source. This alternative is equally effective against AI forgery, but requires specific processor models and incurs higher hardware costs. The physically unclonable function scheme of this invention requires no additional hardware costs, and both can be flexibly selected based on the security level requirements of the specific deployment scenario.

[0050] For zero-knowledge proof generation modules, the PLONK protocol can be used instead of the Groth16 protocol. PLONK is a general-purpose and upgradeable zero-knowledge proof system. Its proof circuit can be upgraded and modified without re-performing the complete trusted setup ceremony, making it suitable for scenarios where frequent updates to testing standards require adjustments to circuit constraints. In scenarios where testing standards remain stable over a long period, Groth16 remains the preferred choice due to its higher proof efficiency.

Claims

1. A blockchain-based method for storing and tracing detection data, characterized in that: The method includes: Device registration steps: Extract the physical non-cloning function features from the microcontroller or analog-to-digital converter of the detection device, process them with a fuzz extractor to obtain the device physical key, generate auxiliary data and store it locally on the device, register the hash value of the device physical key to the token registration contract on the blockchain, bind the device's unique identifier, and complete the on-chain anchoring of the device's physical fingerprint. Hardware-behavior joint fingerprint generation steps: When each detection task is started, the device physical key is recovered using local auxiliary data, and the task identifier and global timestamp are obtained from the blockchain or trusted timestamp service. During the detection process, sensor sampling behavior time series data are collected, and the sampling interval sequence, sampling value difference sequence and channel noise energy are extracted to form a behavior feature vector. The hash digest of the behavior feature vector is calculated. The device physical key is used as the key input, and the concatenation string of the behavior feature hash digest, task identifier and global timestamp is used as the message input. The hardware-behavior joint fingerprint token is generated through hash-based message authentication code operation. The hash value of the token is written into the on-chain token registration contract for time-series anchoring. Zero-knowledge proof generation and verification steps: Using the original detection value vector and hardware-behavior joint fingerprint token as privacy inputs, and the detection standard threshold vector and the on-chain registered token hash value as public inputs, the zero-knowledge proof circuit is executed at the edge gateway to generate a proof tuple and upload it to the chain; the on-chain Verifier contract performs on-chain verification on the proof tuple. If the verification is successful, the compliance conclusion and the device origin verification conclusion are permanently recorded on the chain. If the verification fails, an abnormal event is triggered. Multi-signature timing responsibility management steps: The detection process is abstracted as a directed acyclic graph (DAG), where nodes represent key responsible nodes, directed edges represent temporal dependencies between nodes, and the on-chain DAG graph contract controls the state transitions of each node. The responsible party digitally signs and submits the node data digest. After verifying the legality of the signature and timing, the contract updates the node state. The contract performs three types of anomaly detection for each signature event: instrument benchmark drift detection, operator qualification verification, and result consistency comparison. When an anomaly is detected, the contract automatically freezes the signing permissions of all successor nodes of the abnormal node, sends an on-chain warning notification to the responsible party, and writes the structured adjudication conclusion into the on-chain ledger. After all nodes have successfully completed signing, the contract calculates the Merkle root of all node data and writes it into the on-chain permanent storage.

2. The blockchain-based method for storing and tracing detection data according to claim 1, characterized in that: The physical non-clonable function feature extraction adopts an SRAM-type extraction method: when the microcontroller is powered on, the initial bit state of an uninitialized SRAM region of a preset size is read. The original physical entropy source bit string is obtained by utilizing the physical characteristics of the initial power-on value caused by chip manufacturing process deviation, which is that the Hamming distance is less than 5% when the same chip is repeatedly powered on and the Hamming distance is greater than 45% between different chips.

3. The blockchain-based method for storing and tracing detection data according to claim 1, characterized in that: The physical non-clonable function feature extraction adopts an analog-to-digital converter thermal noise extraction method: by performing high-frequency continuous sampling on the floating high-impedance pin of the analog-to-digital converter, the least significant bit sequence of the sampled values ​​is extracted as the physical entropy source by utilizing the random characteristics of the thermal noise at the input end and the hardware inherentness of the quantization noise. After deviation elimination processing, a fixed-length response bit string is output.

4. The blockchain-based method for storing and tracing detection data according to claim 1, characterized in that: The zero-knowledge proof circuit encodes the following two types of constraints: Range constraint: For each detection indicator, verify that the corresponding measured value falls within the lower and upper limits of the standard threshold of that indicator. If all indicators meet the requirements, output a compliance flag as true; otherwise, output false. Source constraint: Prove that the hash value of the hardware-behavior joint fingerprint token is recalculated internally and verified to be equal to the hash value of the token already registered in the public input, without exposing the original value of the token, and prove that the binding relationship between the detected value and the physical fingerprint of the registered device is valid.

5. A blockchain-based method for storing and tracing detection data according to claim 1 or 4, characterized in that: The generation and on-chain verification of the zero-knowledge proof adopt the Groth16 protocol: During the system initialization phase, a trusted setup is performed on the proof circuit, a proof key is generated and stored in the edge gateway, and a verification key is deployed in the on-chain Verifier contract. The edge gateway uses the proof key to execute the Groth16 proof algorithm to generate a proof tuple consisting of three BN254 elliptic curve points. The Verifier contract uses the BN254 elliptic curve pairing operation pre-compiled by the Ethereum Virtual Machine to perform on-chain verification of the proof tuple.

6. The blockchain-based method for storing and tracing detection data according to claim 1, characterized in that: Each responsible node in the directed acyclic graph contains the following attributes: node type, responsible entity public key, execution action description, node status, and node timestamp. Node types include device acquisition nodes, instrument calibration nodes, manual review nodes, and regulatory confirmation nodes. Node statuses include pending signature, signed normally, signed abnormally, timed out and blocked by predecessor abnormality.

7. The blockchain-based method for storing and tracing detection data according to claim 1, characterized in that: The three types of anomaly detection logic are as follows: Instrument reference drift detection: For instrument calibration nodes, the current calibration reference value is compared with the reference mean of 30 historical calibration records. If the deviation exceeds 3 times the standard deviation, the node is marked as a signed anomaly. Operator unauthorized operation detection: Verify the qualification type, validity period and authorization scope recorded in the on-chain qualification registry. If the qualification of the signer does not meet the requirements of the current node, the signature is rejected and marked as an unauthorized operation. Consistency comparison of results: For data audit nodes, the current compliance conclusion is compared with the historical records of the same batch. If the compliance conclusion is reversed 3 or more times in a row, a result mutation anomaly marker is triggered.

8. The blockchain-based method for storing and tracing detection data according to claim 1, characterized in that: The structured adjudication conclusion is determined based on the type of abnormal node as follows: When the abnormal node is a device acquisition node, the adjudication conclusion is that the data acquisition source is questionable and it is recommended that the device be re-inspected and recalibrated; when the abnormal node is an instrument calibration node, the adjudication conclusion is that the data in this batch is temporarily suspended due to calibration abnormalities and the responsibility is assigned to the corresponding metrologist; when the abnormal node is a manual review node, the adjudication conclusion is that there are violations in the review process and an internal compliance review process is initiated; the adjudication conclusion is associated with a task identifier that is permanently written into the on-chain ledger.

9. The blockchain-based method for storing and tracing detection data according to claim 1, characterized in that: The method also includes: after the responsible party of the abnormal node submits a repair certificate, the contract unfreezes the subsequent node and resumes the signing process. If the abnormality is irreparable, the batch of tasks is frozen and a manual intervention notification is triggered. When all nodes complete the signing normally, the contract executes the graph completion verification. After passing the verification, the graph completion function is called to write the Merkle root of all node data into the chain for permanent storage. Together with the zero-knowledge proof verification conclusion, it constitutes a complete on-chain archive of detection data.

10. The blockchain-based method for storing and tracing detection data according to claim 1, characterized in that: The hardware-behavior joint fingerprint token generation module can be replaced with a trusted execution environment (TEE) scheme: a TEE security zone is deployed in the detection device or edge gateway, the data acquisition logic is encapsulated and executed within the security zone, and a trusted proof of the data source is generated using the remote proof mechanism of the TEE. This proof replaces the hardware-behavior joint fingerprint token as the trust anchor point of the data source. The zero-knowledge proof protocol can be replaced with the PLONK protocol to support the upgrading and modification of the proof circuit without re-performing the trusted setup ceremony.