A blockchain-based digital twin simulation system for water conservancy
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-30
- Publication Date
- 2026-08-14
AI Technical Summary
[0002]随着大型水利工程规模的不断扩大以及运行工况的日益复杂,水利工程的运行管理逐步从经验驱动向数据驱动和模型驱动转变;在现有技术中,通常通过布设水文监测、结构监测、设备状态监测和环境监测等多类传感器,对工程运行状态进行实时采集,并基于水动力模型、结构力学模型或调度规则开展仿真分析和辅助决策;然而,在多源监测数据采集、存储和调用过程中,各类数据往往分散存储于不同系统或数据库中,缺乏统一的可信验证机制,数据在传输、存储和使用环节中易受到篡改、丢失或版本不一致等问题影响,导致仿真结果的可靠性和可追溯性难以保障
本发明通过将每个多场景预演方案与其对应的原始监测数据哈希锚定证明及耦合仿真模型版本哈希进行绑定,构建完整方案数据包并进行数字签名后上链存证,确保每一个可执行方案具备明确的数据来源、模型版本与生成依据;通过链上智能合约进行哈希校验、签名验证和规则匹配,仅允许经过验证的方案被触发执行,从而有效防止非法修改、数据伪造或错误调度行为,保障了水利系统自动化运行过程中的可信性、合规性与防篡改能力。
Smart Images

Figure CN121787116B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of water conservancy digital twin technology, and in particular to a blockchain-based water conservancy digital twin simulation system. Background Technology
[0002] With the continuous expansion of the scale of large-scale water conservancy projects and the increasing complexity of their operating conditions, the operation and management of water conservancy projects are gradually shifting from experience-driven to data-driven and model-driven approaches. In existing technologies, multiple types of sensors, such as hydrological monitoring, structural monitoring, equipment status monitoring, and environmental monitoring, are typically deployed to collect data on the project's operating status in real time. Simulation analysis and decision support are then conducted based on hydrodynamic models, structural mechanics models, or scheduling rules. However, during the collection, storage, and retrieval of multi-source monitoring data, various types of data are often scattered across different systems or databases, lacking a unified and reliable verification mechanism. Data is susceptible to tampering, loss, or version inconsistencies during transmission, storage, and use, making it difficult to guarantee the reliability and traceability of simulation results.
[0003] On the other hand, in existing water conservancy digital twin and simulation scheduling systems, the generation, review, and execution of simulation schemes mostly rely on manual processes or centralized system control. There is a lack of systematic constraints and verification methods for simulation model versions, original data sources, and scheme execution processes. Especially in multi-scenario pre-drills and emergency scheduling scenarios, it is difficult to determine the specific data version and model version on which a certain scheduling instruction is based, and it is also difficult to fully record and audit the generation, issuance, and execution results of scheduling instructions. This lack of a reliable evidence storage and automated verification mechanism not only restricts the safe implementation of digital twin simulation results into the regulation of physical water conservancy equipment, but also increases the scheduling risks and the difficulty of defining responsibilities to a certain extent. Summary of the Invention
[0004] This invention provides a blockchain-based digital twin simulation system for water conservancy, which can reliably associate and manage multi-source data, simulation models, and scheduling execution processes in a closed loop.
[0005] A blockchain-based digital twin simulation system for water conservancy includes the following modules: Heterogeneous Data Trusted Anchoring Module: By deploying blockchain light nodes at each monitoring node of the target water conservancy project, the module collects hydrological, structural, equipment and environmental monitoring data of the target water conservancy project in real time; it packages each type of monitoring data and the spatiotemporal identifier of the monitoring data and the identity information of the collection node to generate independent data blocks, links them in chronological order to form a sharded data chain synchronized with physical monitoring, and anchors the block header hash of each sharded data chain to the main blockchain; Simulation and deduction module: Based on the data chains of each segment anchored in the heterogeneous data trusted anchoring module, the unified physical field of the current spatiotemporal state of the target water conservancy project is reconstructed in real time; in the digital twin, with the unified physical field as the initial condition, a coupled simulation model that couples hydrodynamics, structural dynamics and control logic is run to deduce the changes in the state of the project in a future specified period and generate a set of multi-scenario pre-simulation schemes; The on-chain evidence storage and trusted execution module for the scheme: packages the multi-scenario pre-drill scheme set together with the sharded data chain anchor proof and the coupled simulation model version hash that each scheme depends on, and submits them to the blockchain network to generate a scheme evidence storage block; when the actual water conservancy scheduling needs to execute a certain pre-drill scheme, after verifying the validity of the pre-drill scheme evidence storage block through the blockchain smart contract, it automatically triggers the corresponding control command to be issued to the physical water conservancy equipment for execution.
[0006] Optionally, the heterogeneous data trusted anchoring module specifically includes: Data Acquisition and Blockization Unit: Deploy blockchain light nodes at hydrological, structural, equipment status, and environmental monitoring nodes to collect various monitoring data in real time; each data record is accompanied by a precise timestamp, geographic coordinates, and node digital certificate, and packaged to generate independent data blocks with serial numbers; Sharded data chain construction unit: Blocks are classified according to data type. Blocks generated by nodes of the same type are linked in chronological order in the corresponding sharded sub-network and reach consensus to form a dedicated sharded data chain that is synchronized with actual monitoring. Cross-chain anchoring and storage unit: Each shard chain periodically extracts the block header hash of the latest block, packages it with the shard identifier, and submits it to the main chain. The main chain verifies and records it as an immutable transaction through a smart contract, thereby achieving a reliable anchoring of the shard chain state.
[0007] Optionally, the data acquisition and blockization unit specifically includes: Real-time monitoring data acquisition: Deploy blockchain light nodes at hydrological, structural, equipment status and environmental monitoring nodes to collect corresponding types of monitoring data in real time.
[0008] Data block generation: When each light node collects each data record, it attaches a spatiotemporal identifier including a precise timestamp and geographic coordinates, as well as its own digital identity certificate, and packages the data, spatiotemporal identifier, and identity information to generate an independent data block with a time sequence number.
[0009] Optionally, the cross-chain anchored evidence storage unit specifically includes: Anchoring information packaging and submission: Each shard data chain periodically extracts the block header hash of its latest block, packages it together with the corresponding shard identity identifier, and submits it to the main blockchain network; Main chain verification and on-chain storage: The main blockchain verifies and reaches consensus on the submitted information through smart contracts, and writes the information as an immutable transaction record into the main chain block.
[0010] Optionally, the simulation and deduction module specifically includes: Data synchronization and trusted access unit: Based on the block header hash anchored to the main blockchain in the heterogeneous data trusted anchoring module, verify and obtain the latest status of each shard data chain; synchronously extract the latest monitoring data of the corresponding monitoring nodes under the same spatiotemporal reference from the trusted verified hydrological, structural, equipment and environmental shard data chains; Unified physical field reconstruction unit: Based on synchronously extracted multi-source heterogeneous monitoring data, and according to the preset geometric model, physical properties and topological relationships of the water conservancy project, a unified digital physical field reflecting the water depth / velocity, structural stress / displacement, equipment operating conditions and environmental parameters of the target water conservancy project is reconstructed within the three-dimensional spatiotemporal framework of the digital twin through data fusion and spatial interpolation algorithms.
[0011] Optionally, the simulation and deduction module further includes: Coupled simulation model computation unit: a joint simulation engine that uses the reconstructed unified physical field as the initial and boundary conditions for simulation, and drives the operation of the coupled hydrodynamic model, structural mechanics model and equipment control logic model; Multi-scenario pre-simulation scheme generation unit: Based on the calculation of the coupled simulation model, it dynamically sets parameters for multiple simulation scenarios; for each set scenario, it deduces the state evolution process of the target water conservancy project within a specified time period in the future, and outputs a set of schemes including indicator time series data, risk warning information and recommended scheduling instructions, forming a multi-scenario pre-simulation scheme set.
[0012] Optionally, the hydrodynamic model simulates water flow, the structural mechanics model calculates the engineering structure response under water load, and the control logic model simulates the opening and closing rules of gates and pumps.
[0013] Optionally, the on-chain evidence storage and trusted execution module specifically includes: Trusted Encapsulation and Evidence Storage Unit: Each pre-simulation scheme is bound to the shard chain block header anchoring information corresponding to the original monitoring data on which the pre-simulation scheme depends, as well as the version hash of the coupled simulation model used, to form a complete data packet; the data packet is digitally signed and submitted to the blockchain network as an evidence storage transaction, and after consensus, it is written into the main chain to generate an immutable scheme evidence storage block; On-chain verification and triggering unit: Deploy smart contracts on the blockchain with built-in scheme verification logic; when a certain notarization scheme needs to be called to execute water conservancy scheduling, a request is sent to the smart contract; the smart contract automatically verifies whether the hash, signature, and associated data and model of the scheme block conform to the preset rules, and only triggers execution after the verification is passed; The secure instruction issuance and feedback unit automatically generates or releases the structured control instruction set encoded in the pre-simulation scheme for the physical water conservancy equipment after the smart contract is verified and triggered. It issues the control instruction set to the corresponding physical execution mechanism through a secure off-chain communication channel. At the same time, it feeds back the instruction issuance event, instruction content hash, and equipment reception status as execution evidence to the blockchain network for recording, thus completing closed-loop evidence storage.
[0014] Optionally, the trusted encapsulation and evidence storage unit of the scheme specifically includes: Scheme data packet construction and signing: Each independent pre-simulation scheme in the multi-scenario pre-simulation scheme set is associated and bound with the block header anchoring proof of each data chain in which the original monitoring data on which the pre-simulation scheme depends is located, as well as the hash value of the coupled simulation model version called by the simulation deduction module, to form a complete data packet, and the data packet is digitally signed. Scheme storage transaction submission and on-chain: The signed data packet is submitted to the blockchain network as a storage transaction. The blockchain confirms the transaction through the consensus mechanism and generates an immutable scheme storage block, which is written to the main chain.
[0015] Optionally, the on-chain verification and triggering unit specifically includes: Smart contract deployment and execution request initiation: Deploy a smart contract with pre-built scheme validity verification logic in the blockchain network; when actual water conservancy scheduling needs to call a certain proven pre-rehearsal scheme, an execution request is initiated to the smart contract; Scheme legality verification and execution triggering: The smart contract automatically verifies the hash integrity, digital signature validity, and whether the associated data anchor proof and model version of the evidence block corresponding to the requested pre-rehearsed scheme comply with preset rules. Only after the verification is passed will the execution of the pre-rehearsed scheme be triggered.
[0016] The beneficial effects of this invention are: This invention binds each multi-scenario pre-simulation scheme to its corresponding original monitoring data hash anchoring proof and coupled simulation model version hash, constructs a complete scheme data package, digitally signs it, and stores it on the blockchain, ensuring that each executable scheme has a clear data source, model version, and generation basis. Through on-chain smart contracts, hash verification, signature verification, and rule matching are performed, allowing only verified schemes to be triggered for execution, thereby effectively preventing illegal modification, data forgery, or erroneous scheduling, and ensuring the credibility, compliance, and tamper-proof capability of the automated operation of the water conservancy system.
[0017] This invention introduces a smart contract-driven on-chain verification and off-chain security control mechanism during the execution phase. It automatically extracts the structured control instruction set carried by the verified scheme, sends it to the physical device through a secure channel, and feeds back the instruction hash, the sending event, and the device response status, forming a complete execution evidence chain. This mechanism not only realizes the credible implementation of digital twin simulation results, but also has strong risk control and event tracing capabilities, making it suitable for water conservancy scheduling and emergency response scenarios that require high reliability and high transparency. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only for this invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic diagram of the system modules according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the logic framework of an embodiment of the present invention. Detailed Implementation
[0020] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. For some well-known technologies, those skilled in the art may also use other alternative methods to implement the invention. Moreover, the accompanying drawings are only for more specific description of the embodiments and are not intended to specifically limit the present invention.
[0021] like Figures 1-2 As shown, a blockchain-based digital twin simulation system for water conservancy includes the following modules: Heterogeneous Data Trusted Anchoring Module: By deploying blockchain light nodes at each monitoring node of the target water conservancy project, the module collects hydrological, structural, equipment and environmental monitoring data of the target water conservancy project in real time; it packages each type of monitoring data and the spatiotemporal identifier of the monitoring data and the identity information of the collection node to generate independent data blocks, links them in chronological order to form a sharded data chain synchronized with physical monitoring, and anchors the block header hash of each sharded data chain to the main blockchain; The heterogeneous data trusted anchoring module specifically includes: Data Acquisition and Blockchain Units: Light blockchain nodes deployed at hydrological monitoring nodes, structural monitoring nodes, equipment status monitoring nodes, and environmental monitoring nodes, each collecting its respective type of monitoring data in real time. For each piece of collected data... The corresponding light node will attach the following metadata: Precise timestamp ; Geographic coordinates ; Node Identity Digital Certificate Hash The above information together constitutes a spatiotemporal identifier. , represented as: ; This then generates independent data blocks, represented as: ; in, For the first Each node at time... The collected data includes hydrological data, structural data, equipment status, and environmental data. To ensure accurate timestamps, guarantee data time-series consistency, and support cross-node synchronous analysis, For the node's geographical coordinates, , , It ensures traceability of spatial location and supports regional state reconstruction and spatial interpolation. The hash of the node's identity digital certificate is used to verify the node's origin and support the trustworthiness of the block. The corresponding spatiotemporal and identity identifiers constitute the metadata header in the block, serving as the basis for anchoring data credibility. Time series are numbered to ensure the orderliness and uniqueness of data records within each node. This is a block packing function that returns a data structure with structured fields and pointers to the hash chain.
[0022] The data acquisition and blockization unit standardizes and structures the data collected from monitoring nodes distributed throughout the water conservancy project into blockchain-compatible data blocks, laying the foundation for subsequent chained storage and consensus operations. In this design, each piece of raw monitoring data not only records the monitoring value itself but also includes a precise timestamp, spatial location, and the authentication information of the data acquisition node. This information constitutes the spatiotemporal identity of the data. Each complete data entry is encapsulated into a data block with a unique time-series number, ensuring the verifiability of the data's sequential recording on a single node. This design not only meets the needs of subsequent chained links but also provides a traceable and non-repudiable trust foundation for multi-source heterogeneous data.
[0023] Sharded Data Chain Construction Unit: Based on the type of monitoring data, it combines blocks generated by all light nodes of the same type. Linking and consensus processing are performed in the corresponding sharded subnetworks to form type-specific sharded data chains, represented as: ; in, For type The sharded data chain, Sharding mechanisms improve concurrency and reduce the load on the main chain. Is the type as The Each block, , Represents a blockchain-style time-sequential connection; Each sharded sub-network independently runs the PBFT consensus algorithm to ensure data consistency, specifically including: (1) In the Pre-Prepare phase, the master node initiates a proposal: Master node New data blocks uploaded by a certain monitoring node were collected. Package it and broadcast the prepared message, represented as: ; in, This is the current round view number, supporting master node rotation and disaster recovery to prevent system crashes caused by prolonged master node failure. This is the current proposal sequence number, ensuring message uniqueness within the same view and preventing duplicate execution or incorrect submission order. A hash digest of the block content, or block data fingerprint, is used to quickly verify consistency across the network and prevent tampering. (2) Prepare phase, replica nodes verify the proposal: After receiving PrePrepare, all replica nodes verify the block hash, data structure validity, and order validity. If they pass, they broadcast a Prepare message, which is expressed as: ; The node needs to receive data from at least 2 other nodes. Only after receiving a Prepare message from a replica can the process proceed to the next stage; in, It is the system's fault tolerance threshold, the number of malicious nodes that can be tolerated. , For the total number of nodes, the robustness of the control system is guaranteed by PBFT. A consensus was still reached even with multiple malicious nodes; (3) Commit phase, node voting confirmation: Nodes broadcast a Commit message to confirm that they are about to commit the block, as shown in: ; When a node receives no less than A valid commit message indicates that consensus has been reached on the block, and it is officially written to the node's shard data chain. structure.
[0024] The sharded data chain construction unit logically shards the data links according to the data type of the monitoring data, that is, maintaining hydrological data, structural data, equipment status data, and environmental data in independent sharded data chains. Each type of sharded chain only receives node blocks of its own type, effectively reducing cross-interference in on-chain data processing and improving parallel processing capabilities. Each type of sharded chain uses a consensus algorithm to ensure the consistency of data submitted by multiple nodes and links them in chronological order within the chain. The significance of this is that it can maintain the intra-chain consistency of a single physical variable while achieving global coordination between chains through an anchoring mechanism. Each sharded chain represents an independent sub-fact chain, collectively describing the multidimensional state of a water conservancy project at a certain time period.
[0025] Cross-chain anchored evidence storage unit: Each shard data chain extracts the block header hash of the latest block at a fixed period. Identity identifier of the latest block type The request is packaged together as an anchor request, represented as follows: ; The smart contract module in the main blockchain handles anchor requests. After verification and consensus are reached, the transaction is written into the main chain block as an immutable transaction record, represented as: ; in, For cross-chain anchoring request packets, For sharding The block header hash of the latest block, This serves as a unique identifier for this fragment type. The timestamp of the current block. Anchored transactions recorded on the main chain, The function for evidence storage writes the anchor request into the main chain, making it an immutable history.
[0026] Because sharded chains contain a large amount of fine-grained monitoring data, it is not suitable to directly upload all of it to the main chain. Therefore, this module designs a cross-chain anchoring mechanism. Every so often, each shard chain extracts the block header hash from the latest data block, representing a snapshot of the current sub-chain's overall state. This hash value, along with the sub-chain's identity and the current time, is packaged into an anchoring request and submitted to the main blockchain. The smart contract on the main chain is responsible for format verification, identity verification, and consensus confirmation of these anchoring requests. Once confirmed, it is written as a transaction into the main chain ledger. This achieves the immutable synchronization of the sub-chain's state to the main chain, thus providing a foundation for verifying the authenticity of the data used in future simulations.
[0027] Simulation and deduction module: Based on the data chains of each segment anchored in the heterogeneous data trusted anchoring module, the unified physical field of the current spatiotemporal state of the target water conservancy project is reconstructed in real time; in the digital twin, with the unified physical field as the initial condition, the coupled simulation model of coupling hydrodynamics-structural dynamics-control logic is run to deduce the changes in the state of the project in a specified period of time in the future and generate a set of multi-scenario pre-simulation schemes; The simulation and deduction module specifically includes: Data Synchronization and Trusted Invocation Unit: Used to obtain the latest state of each anchored shard data chain from the main blockchain and complete trusted data synchronization. The specific process is as follows: (1) Anchoring verification and state acquisition: Extract the latest block header hash of each type of shard data chain from the main blockchain. , By verifying the consistency of the block hash and the commit timestamp, it is confirmed that it is the latest valid state; (2) Data Synchronization Extraction: Under a unified spatiotemporal reference, data from each monitoring node is extracted from each shard chain. ; in, For the first Each node in type The monitoring data, representing the original physical observations under the current state, serves as the basic data for simulation input. To achieve target synchronization time, multi-source data time alignment is implemented, supporting unified physical field reconstruction. It is used to monitor the spatial location of points for data spatial alignment and physical field mesh mapping.
[0028] The primary function of the data synchronization and trusted access unit is to retrieve the latest, anchored and verified data state from the main blockchain, ensuring that the data used in subsequent simulations is trustworthy, up-to-date, and complete. Specifically, various types of sharded data chains (such as hydrological, structural, equipment, and environmental data) periodically anchor their latest block states to the main chain. The simulation system verifies the validity of each data chain by reading this anchoring information from the main chain. After verification, the system synchronously extracts monitoring data from each sharded chain at the same time and spatial location, using a unified time base and spatial coordinates. This avoids spatiotemporal misalignment of data from different sources, thus ensuring the consistency and accuracy of subsequent physical field construction and initial simulation values.
[0029] Unified Physical Field Reconstruction Unit: Used to reconstruct the three-dimensional integrated digital physical state field of water conservancy projects based on synchronously extracted multi-source monitoring data. Specifically, it includes: (1) Physical field reconstruction expression: ; in, For the reconstructed unified physical field, in three-dimensional space and time The state description below is used to express the continuous field of coupled physical quantities of the system, supporting numerical simulation solutions. For the geometric model of hydraulic engineering, based on the mesh generation of 3D DEM-structure hybrid modeling, the digital elevation model and CAD structural boundary model are integrated to construct a 3D geometric domain model suitable for simulation solution. It includes both terrain undulation features and retains the boundary and topological information of hydraulic structures, and is used to define the solution domain of the physical field. For physical property set, This refers to topological relationships; The fusion function represents the data fusion and interpolation algorithm, namely the Kriging interpolation fusion model. This model can achieve fusion estimation of multi-source heterogeneous monitoring data while considering spatial correlation and the covariance structure of measurement points. It is particularly suitable for 3D field reconstruction under sparsely distributed nodes, specifically including: 1) Kriging interpolation fusion model formula structure: for target position Estimated physical quantity at the location Expressed as: ; in, For the first Measured data from each monitoring point The interpolation weight coefficients satisfy the following conditions: , This refers to the number of monitoring points used for interpolation; 2) Weight Weight Solve from the following system of covariance equations: ; ; in, Let covariance be the function between measurement points. These are Lagrange multipliers used to constrain the weights to a sum of 1.
[0030] (2) The reconstructed physical field Including water depth Flow rate Structural stress Displacement Equipment operating status and environmental parameter fields .
[0031] The unified physical field reconstruction unit integrates data from different monitoring systems into a unified three-dimensional digital space, forming a continuous physical field suitable for simulation. To this end, the system utilizes existing hydraulic engineering geometric models, engineering physical parameters, and the spatial topology of the monitoring network to fuse and spatially interpolate the collected data. This process not only fills in spatial gaps between monitoring points but also maintains physical consistency between data points. The final output is a multi-dimensional physical state field, including water depth, flow velocity, structural stress and displacement, equipment operating status, and environmental parameters, providing an accurate input foundation for subsequent coupled simulations.
[0032] Coupled simulation model computation unit: Based on the reconstructed physical field, it serves as the initial and boundary conditions for the simulation, driving the operation of the coupled model. The overall coupled model... Represented as: ; in, Representing a hydrodynamic model and numerically solving the shallow water equations. Maintaining the balance of mass The water depth within the unit area, The velocity vector of the water flow. For source and sink items, Represents the structural mechanics model, with water load as input. Output stress-strain response , The stress tensor characterizes the structural response strength and determines the material safety margin. The strain tensor induced by the displacement field describes the degree of deformation of the structural element under load, and its value ranges from 0 to 0.005. Material constitutive tensors are used to simulate material properties such as elastic modulus and Poisson's ratio, establish stress-strain relationships, and support modeling of different materials. To control the logic model, based on the state input and rules Output control action The three components are jointly simulated through a unified interface, as shown below: ; in, For the initial physical field, For the set of boundary conditions, This is the initial set of conditions.
[0033] The coupled simulation model computation unit, based on the unified physical field obtained from the aforementioned reconstruction, serves as the initial conditions and boundary inputs for the simulation, initiating a set of highly integrated numerical coupled simulation models. This model system includes three sub-models: a hydrodynamic model to simulate water flow and water level changes; a structural mechanics model to calculate the stress and deformation response of structures under water loads; and a control logic model to simulate the opening and closing behavior of equipment such as gates and pumps. These three models interact in real-time through a data interface, forming a closed-loop simulation system. This achieves the dynamic coupled response between hydraulic structures and fluids, accurately reflecting the overall behavior of the hydraulic system under various scheduling or external disturbances.
[0034] Multi-scenario pre-simulation scheme generation unit: Based on the coupled simulation model, it sets multiple scheduling scenarios or boundary assumptions to generate multiple sets of future state pre-simulation schemes, specifically including: (1) Parametric representation of the pre-simulation scheme: Let the first... The simulation scenario is as follows: ; in, To unify the initial values of the physical fields, For simulating step size, Assuming a scenario, To control the response strategy, the corresponding set of pre-simulation schemes is output, represented as: ; Each simulation plan includes a state prediction time series. Risk warning information Dispatch suggestion instructions .
[0035] The multi-scenario simulation generation unit generates corresponding predictive simulation schemes by setting various scheduling objectives, environmental assumptions, or emergency scenarios. For example, different scenario conditions can be set, such as rainfall intensity, upstream water inflow, and equipment start-up and shutdown strategies. The system will automatically deduce the evolution of the hydraulic system under these conditions over a future period. Each simulation scenario will output time-series predictions of relevant physical indicators, potential risk warning signals, and recommended control or scheduling measures. These simulation schemes not only assist on-duty personnel in making scientific decisions but can also be input into the automatic scheduling system as contingency plans, improving the intelligent response capability and emergency handling efficiency of the entire water conservancy project.
[0036] The on-chain notarization and trusted execution module for solutions packages the multi-scenario pre-drilled solution set together with the sharded data chain anchoring proof on which each solution depends and the coupled simulation model version hash, and submits it to the blockchain network to generate a solution notarization block; when actual water conservancy scheduling needs to execute a certain pre-drilled solution, after verifying the validity of the pre-drilled solution notarization block through the blockchain smart contract, it automatically triggers the corresponding control command to be issued to the physical water conservancy equipment for execution; The on-chain evidence storage and trusted execution module specifically includes: Trusted Encapsulation and Evidence Storage Unit: This unit binds each independent pre-simulation scheme to its original data anchoring information and coupled simulation model version information, forming a complete evidence storage data package, which is then submitted to the blockchain for evidence storage via digital signature. Evidence Storage Data Package Construction Expression: For the Each pre-simulation scheme generates a data packet as follows: ; in, For the first The content of the multi-scenario pre-rehearsal solution includes the solution content, dependency data hash, and model version hash. For the first The block header hash set of various types of sharded data chains upon which the multi-scenario pre-drilling scheme relies. The signature function is applied to the above data packet using the version hash of the coupled simulation model used, as follows: ; Submitting to the blockchain network to form a transaction: ; After reaching a consensus on the blockchain, the data is written into the main chain, forming an immutable evidence storage block: ; in, Yes The digital signature is the ECDSA signature value, which is tamper-proof, verifies ownership and trustworthiness of the verification scheme. For the first The on-chain transaction structure of each scheme represents the immutable scheme submission information officially recorded on the chain. To store the main chain block number or identifier of the transaction, the location scheme records the location and enables on-chain lookup.
[0037] The trusted encapsulation and evidence storage unit performs structured encapsulation and tamper-proof evidence storage on-chain for each simulation pre-run scheme. After generating multi-scenario pre-run results, the system binds each independent scheme, its dependent original data source, and the version of the coupled simulation model used, packaging them into a complete data packet. To ensure the authenticity and legitimacy of this data packet, the system digitally signs it using the private key of an internal authorized account. Finally, this signed data packet is submitted to the blockchain network as a transaction, written to the main chain through the consensus mechanism, and becomes a permanent record with tamper-proof capabilities. This design ensures that any subsequent scheme invocation, scheduling execution, or auditing and accountability actions have verifiable on-chain evidence.
[0038] On-chain verification and triggering unit: When the actual scheduling requires calling the first... In this scenario, the smart contract performs the following verification: Model hash consistency: ; Data anchoring validation: Check each Does it exist in the currently valid records of the main chain? Digital signature verification: ; If all the above verifications pass, then: .
[0039] in, The model hash provided by the system at the time of the current call. This is a public key verification function used to verify the validity of a signature. For the first The execution trigger flag for each scheme, a boolean value, True indicates that execution is allowed, controlling whether the smart contract allows the execution request of the scheme.
[0040] To ensure the security and reliability of the rehearsal plan during execution, a dedicated smart contract is deployed on the blockchain for the on-chain verification and triggering unit. This contract contains three pre-defined core verification logics: Coupling simulation model consistency verification: Verify whether the model version hash used by the current caller is consistent with the one bound in the evidence, so as to prevent misuse or abuse of the scheme under different version models; Data anchoring verification: Confirm whether the original monitoring data hash on which the scheme relies is still valid in the main chain, to prevent the scheme from being built on data that has become invalid or has been replaced; Signature verification: Verifies whether the evidence storage scheme was indeed generated and signed by a legitimate authorized entity, ensuring that the scheme itself has not been tampered with.
[0041] Only after all three verifications are passed will the smart contract release an execution permission signal, officially entering the execution phase. This design approach ensures the closed nature of the system's operation and the automated decision-making capability of on-chain execution, serving as a crucial mechanism for supporting trustworthy on-chain decision-making.
[0042] Command security issuance and feedback unit: From the first Content of a multi-scenario pre-rehearsal solution Extract the control instruction set, represented as: ; Instructions are securely sent to the device via off-chain communication, and a receipt is generated upon execution. The receipt record is written to the main chain, completing the closed-loop evidence storage.
[0043] in, From The structured control instruction set extracted from it represents the specific action control scheme of equipment such as water pumps and gates. For structured feedback information of the execution results, This serves as a hash digest of the instruction set content, verifying the integrity of issued instructions and providing tamper-proof and replay protection. To implement the feedback status of the device, Provides device response or execution timestamps, supports on-chain time traceability, and facilitates post-event auditing.
[0044] Once a scheme is verified by a smart contract and allowed to be executed, the system extracts a pre-packaged set of control instructions from the pre-simulated scheme and automatically generates operational instructions suitable for physical hydraulic equipment, such as pump start / stop, gate opening / closing, and control logic switching. These instructions are not transmitted on-chain but are sent to the equipment control layer through a dedicated off-chain communication channel to ensure the real-time performance and security of instruction transmission. Simultaneously, upon receiving the control instructions, the equipment generates an execution confirmation receipt, including a hash digest of the received instructions, the equipment response status, and a precise timestamp. This receipt information is synchronously submitted to the blockchain for recording, forming a complete chain of execution evidence and achieving a trusted closed loop from scheme prediction → execution verification → result archiving.
[0045] This invention encompasses any substitutions, modifications, equivalent methods, and solutions made within the spirit and scope of this invention. To provide the public with a thorough understanding of this invention, specific details are described in detail in the following preferred embodiments; however, those skilled in the art will fully understand the invention even without these details. Furthermore, to avoid unnecessary misunderstanding of the essence of this invention, well-known methods, processes, procedures, components, and circuits are not described in detail.
[0046] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A blockchain-based digital twin simulation system for water conservancy, characterized in that, Includes the following modules: Heterogeneous Data Trusted Anchoring Module: By deploying blockchain light nodes at each monitoring node of the target water conservancy project, the module collects hydrological, structural, equipment and environmental monitoring data of the target water conservancy project in real time; it packages each type of monitoring data and the spatiotemporal identifier of the monitoring data and the identity information of the collection node to generate independent data blocks, links them in chronological order to form a sharded data chain synchronized with physical monitoring, and anchors the block header hash of each sharded data chain to the main blockchain; Simulation and deduction module: Based on the data chains of each segment anchored in the heterogeneous data trusted anchoring module, the unified physical field of the current spatiotemporal state of the target water conservancy project is reconstructed in real time; In the digital twin, using the unified physical field as the initial condition, a coupled simulation model that combines hydrodynamics, structural dynamics, and control logic is run to predict the changes in the engineering state over a specified period in the future and generate a set of multi-scenario pre-simulation schemes. On-chain evidence storage and trusted execution module: Packages the multi-scenario pre-drilled scheme set together with the sharded data chain anchoring proof and the coupled simulation model version hash that each scheme depends on, and submits them to the blockchain network to generate a scheme evidence storage block; When actual water conservancy scheduling requires the execution of a certain pre-rehearsal plan, after the validity of the pre-rehearsal plan storage block is verified by the blockchain smart contract, the corresponding control command is automatically triggered and sent to the physical water conservancy equipment for execution. The on-chain evidence storage and trusted execution module of the proposed scheme specifically includes: Trusted Encapsulation and Evidence Storage Unit: Each pre-simulation scheme is bound to the shard chain block header anchoring information corresponding to the original monitoring data on which the pre-simulation scheme depends, as well as the version hash of the coupled simulation model used, to form a complete data packet; the data packet is digitally signed and submitted to the blockchain network as an evidence storage transaction, and after consensus, it is written into the main chain to generate an immutable scheme evidence storage block; On-chain verification and triggering unit: Deploy smart contracts on the blockchain with built-in scheme verification logic; when a certain notarization scheme needs to be called to execute water conservancy scheduling, a request is sent to the smart contract; the smart contract automatically verifies whether the hash, signature, and associated data and model of the scheme block conform to the preset rules, and only triggers execution after the verification is passed; Secure instruction issuance and feedback unit: After the smart contract is verified and triggered, it automatically generates or releases the structured control instruction set encoded in the pre-simulation scheme for the physical water conservancy equipment; it issues the control instruction set to the corresponding physical execution mechanism through a secure off-chain communication channel; at the same time, it feeds back the instruction issuance event, instruction content hash, and equipment reception status as execution evidence to the blockchain network for recording, completing closed-loop evidence storage.
2. The water conservancy digital twin simulation system based on blockchain according to claim 1, characterized in that, The heterogeneous data trusted anchoring module specifically includes: Data Acquisition and Blockization Unit: Deploy blockchain light nodes at hydrological, structural, equipment status, and environmental monitoring nodes to collect various monitoring data in real time; each data record is accompanied by a precise timestamp, geographic coordinates, and node digital certificate, and packaged to generate independent data blocks with serial numbers; Sharded data chain construction unit: Blocks are classified according to data type. Blocks generated by nodes of the same type are linked in chronological order in the corresponding sharded sub-network and reach consensus to form a dedicated sharded data chain that is synchronized with actual monitoring. Cross-chain anchoring and storage unit: Each shard chain periodically extracts the block header hash of the latest block, packages it with the shard identifier, and submits it to the main chain. The main chain verifies and records it as an immutable transaction through a smart contract, thereby achieving a reliable anchoring of the shard chain state.
3. A blockchain-based digital twin simulation system for water conservancy as described in claim 2, characterized in that, The data acquisition and blockization unit specifically includes: Real-time monitoring data acquisition: Deploy blockchain light nodes at hydrological, structural, equipment status and environmental monitoring nodes to collect corresponding types of monitoring data in real time; Data block generation: When each light node collects each data record, it attaches a spatiotemporal identifier including a precise timestamp and geographic coordinates, as well as its own digital identity certificate, and packages the data, spatiotemporal identifier, and identity information to generate an independent data block with a time sequence number.
4. A blockchain-based digital twin simulation system for water conservancy as described in claim 2, characterized in that, The cross-chain anchored evidence storage unit specifically includes: Anchoring information packaging and submission: Each shard data chain periodically extracts the block header hash of its latest block, packages it together with the corresponding shard identity identifier, and submits it to the main blockchain network; Main chain verification and on-chain storage: The main blockchain verifies and reaches consensus on the submitted information through smart contracts, and writes the information as an immutable transaction record into the main chain block.
5. A blockchain-based digital twin simulation system for water conservancy as described in claim 1, characterized in that, The simulation and deduction module specifically includes: Data synchronization and trusted access unit: Based on the block header hash anchored to the main blockchain in the heterogeneous data trusted anchoring module, verify and obtain the latest status of each shard data chain; synchronously extract the latest monitoring data of the corresponding monitoring nodes under the same spatiotemporal reference from the trusted verified hydrological, structural, equipment and environmental shard data chains; Unified physical field reconstruction unit: Based on synchronously extracted multi-source heterogeneous monitoring data, and according to the preset geometric model, physical properties and topological relationships of the water conservancy project, a unified digital physical field reflecting the water depth / velocity, structural stress / displacement, equipment operating conditions and environmental parameters of the target water conservancy project is reconstructed within the three-dimensional spatiotemporal framework of the digital twin through data fusion and spatial interpolation algorithms.
6. A blockchain-based digital twin simulation system for water conservancy as described in claim 1, characterized in that, The simulation module also includes: Coupled simulation model computation unit: a joint simulation engine that uses the reconstructed unified physical field as the initial and boundary conditions for simulation, and drives the operation of the coupled hydrodynamic model, structural mechanics model and equipment control logic model; Multi-scenario pre-simulation scheme generation unit: Based on the calculation of the coupled simulation model, it dynamically sets parameters for multiple simulation scenarios; for each set scenario, it deduces the state evolution process of the target water conservancy project within a specified time period in the future, and outputs a set of schemes including indicator time series data, risk warning information and recommended scheduling instructions, forming a multi-scenario pre-simulation scheme set.
7. A blockchain-based digital twin simulation system for water conservancy as described in claim 6, characterized in that, The hydrodynamic model simulates water flow, the structural mechanics model calculates the response of the engineering structure under water load, and the control logic model simulates the opening and closing rules of gates and pumps.
8. A blockchain-based digital twin simulation system for water conservancy as described in claim 1, characterized in that, The trusted encapsulation and evidence storage unit of the solution specifically includes: Scheme data packet construction and signing: Each independent pre-simulation scheme in the multi-scenario pre-simulation scheme is associated and bound with the block header anchoring proof of each data chain of the original monitoring data on which the pre-simulation scheme depends, as well as the hash value of the coupled simulation model version called by the simulation deduction module, to form a complete data packet, and the data packet is digitally signed. Scheme storage transaction submission and on-chain: The signed data packet is submitted to the blockchain network as a storage transaction. The blockchain confirms the transaction through the consensus mechanism and generates an immutable scheme storage block, which is written to the main chain.
9. A blockchain-based digital twin simulation system for water conservancy as described in claim 1, characterized in that, The on-chain verification and triggering unit specifically includes: Smart contract deployment and execution request initiation: Deploy a smart contract with pre-built scheme validity verification logic in the blockchain network; when actual water conservancy scheduling needs to call a certain proven pre-rehearsal scheme, an execution request is initiated to the smart contract; Scheme legality verification and execution triggering: The smart contract automatically verifies the hash integrity, digital signature validity, and whether the associated data anchor proof and model version of the evidence block corresponding to the requested pre-rehearsed scheme comply with preset rules. Only after the verification is passed will the execution of the pre-rehearsed scheme be triggered.
Citation Information
Patent Citations
Water conservancy digital twinborn analogue simulation method based on block chain technology
CN117350010A