Trust management method and system of intelligent water conservancy all-in-one machine based on double-layer block chain

Through the combination of the two-layer blockchain architecture and deep learning algorithms, the efficient trust value calculation and storage of smart water conservancy all-in-one machines is realized, solving the problem of inaccurate trust value calculation and improving the defense ability of internal attacks.

CN120301627AActive Publication Date: 2025-07-11JIANGXI DIGITAL NETWORK INFORMATION SECURITY TECH CO LTD

Patent Information

Application Number
CN202510330062.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-20
Publication Date
2025-07-11
Estimated Expiration
2045-03-20

AI Technical Summary

Technical Problem

The existing smart water conservancy all-in-one machine lacks efficient computing and environmental perception capabilities in trust management, resulting in the inaccurate calculation results of trust value and the inability to effectively identify internal attacks.

Method used

The trust management method based on two-layer blockchain is adopted, and the trusted institutions and edge computing units work together, the local and global trust values are calculated using deep learning algorithms, and blocks are released through lightweight consensus mechanisms to achieve efficient trust value calculation and storage.

Benefits of technology

It improves the accuracy of trust value evaluation and adaptability to environmental changes, enhances the accuracy of malicious node identification, ensures secure data storage and efficient query, and effectively resists internal attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120301627A_ABST
    Figure CN120301627A_ABST
Patent Text Reader

Abstract

The invention discloses a trust management method and system of an intelligent water conservancy all-in-one machine based on a double-layer block chain, and the method comprises the steps: initiating identity registration to a trusted mechanism and transmitting an equipment identifier when the intelligent water conservancy all-in-one machine and an edge calculation unit are started, so as to obtain a security certificate; after water conservancy monitoring and environmental climate data are obtained, a message local trust value is calculated and reported to the edge calculation unit, a message global trust value is calculated and synchronized to other units, and finally a message final trust value of the intelligent water conservancy all-in-one machine is broadcasted; encapsulating the final trust value of the data and the message into a block, and publishing the data and the final trust value to global and local block chains by using a lightweight consensus mechanism; and if the node trust value is lower than the threshold value, the trusted mechanism marks the node as a malicious node and revokes the security certificate. The problem that in the prior art, trust value calculation is not accurate when trust management is used for defending internal attacks is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and particularly to a trust management method and system for a smart water conservancy integrated machine based on a double-layer blockchain. Background Art

[0002] In the process of traditional smart water conservancy construction, water conservancy industrial control systems mostly rely on imported PLCs (Programmable Logic Controllers) from foreign countries, such as Siemens, Schneider, Omron, etc.; and the system itself lacks the ability to ensure security, and usually needs to rely on additional security protection products; at the same time, a complete and reliable water conservancy industrial control system often needs to integrate industrial control PLC devices, configuration monitoring systems, RTU data acquisition systems, security protection products, etc. In order to improve the intelligence, domesticization, and security levels of traditional water conservancy industrial control, a smart water conservancy integrated machine has emerged. With the architecture of a soft PLC, it integrates industrial control, data acquisition, data monitoring, and security protection, and realizes the domestic substitution of core components and software based on domestic operating systems.

[0003] Smart water conservancy integrated machines usually adopt traditional key-based authentication schemes, integrating PKI (Public Key Infrastructure) and encryption and decryption algorithms. However, traditional key-based authentication schemes can only resist external attacks (attacks initiated by external malicious nodes that have not been authenticated and do not have legitimate certificate credentials), and cannot effectively identify internal attacks (attacks initiated by internal malicious nodes that have passed authentication and have legitimate certificate credentials), including: maliciously publishing incorrect water conservancy monitoring data, intentionally refusing to participate in message sharing, etc.

[0004] Trust management is a solution to resist internal attacks. By calculating the trust values of each node in the network and the messages they publish, nodes with trust values lower than the threshold are identified as malicious nodes, and then the certificates of malicious nodes are revoked. However, due to the limited computing, storage, and other resources of smart water conservancy integrated machines, when existing trust management schemes are directly applied to smart water conservancy integrated machines, they often lack efficient computing and environment perception capabilities, resulting in inaccurate trust value calculation results, and when storing trust values, they cannot effectively balance security performance and storage efficiency. Summary of the Invention

[0005] In view of this, the purpose of the present invention is to provide a trust management method and system for a smart water conservancy integrated machine based on a double-layer blockchain, aiming to solve the problem of inaccurate trust value calculation results in the prior art when using trust management to resist internal attacks.

[0006] The embodiments of the present invention are implemented as follows: A trust management method for a smart water conservancy integrated machine based on a double-layer blockchain, which uses a trusted institution to manage the trust of the smart water conservancy integrated machine. The trusted institution is communicatively connected to multiple edge computing units, and each edge computing unit is respectively communicatively connected to multiple smart water conservancy integrated machines. The method includes: When it is detected that the smart water conservancy integrated machine and the edge computing unit are started, an identity registration request is sent to the trusted institution and the corresponding device identity identifier is passed in, so as to issue the corresponding security certificate after the trusted institution verifies and passes its identity information; Obtain the water conservancy monitoring data and environmental climate data collected in real time by the smart water conservancy integrated machine and broadcast them to other smart water conservancy integrated machines, so as to calculate the corresponding message local trust value after receiving the water conservancy monitoring data and environmental climate data; Report the message local trust value to the corresponding edge computing unit, calculate the message global trust value of the smart water conservancy integrated machine, then synchronize the calculation result to other edge computing units, finally integrate the message final trust value of the smart water conservancy integrated machine, and broadcast the message final trust value; Encapsulate the water conservancy monitoring data, environmental climate data, and the message final trust value of the smart water conservancy integrated machine into the transaction of the block, and then through a lightweight consensus mechanism, compete to create and publish the block to the global blockchain and the local blockchain; When the trusted institution detects that the node trust value of the smart water conservancy integrated machine is lower than the preset threshold, the corresponding node of the smart water conservancy integrated machine is marked as a malicious node and the corresponding security certificate is revoked.

[0007] Further, in the above trust management method for a smart water conservancy integrated machine based on a double-layer blockchain, the step of calculating the corresponding message local trust value after receiving the water conservancy monitoring data and environmental climate data includes: Taking the water conservancy monitoring data, environmental climate, and historical trust value as input parameters, and using the message local trust value evaluation algorithm deployed in the smart water conservancy integrated machine to obtain the corresponding message local trust value; Among them, the message local trust value evaluation algorithm is obtained through deep learning by a feedforward neural network, and the feedforward neural network includes an input layer, two hidden layers, and an output layer.

[0008] Further, in the above trust management method for a smart water conservancy integrated machine based on a double-layer blockchain, The calculation formula of the output of the output layer is:

[0009] Among them, and respectively represent the output of the L layer and the L-1 layer, and respectively represent the weights and biases of the L layer, and is the activation function corresponding to this layer; ; wherein, N represents the total amount of data in the training set, represents the i true label of the th training sample, i represents the

[0010] th confidence value calculated by the algorithm model. Furthermore, in the above trust management method of the intelligent water conservancy all-in-one machine based on a double-layer blockchain, wherein the step of reporting the message local trust value to the corresponding edge computing unit and calculating the message global trust value of the intelligent water conservancy all-in-one machine includes: weighted summing the calculated message local trust values of the intelligent water conservancy all-in-one machine with the node trust values of each intelligent water conservancy all-in-one machine that has uploaded the message local trust value as weights, so as to obtain the message global trust value of the intelligent water conservancy all-in-one machine; ; wherein, represents the m message global trust value of the sending node s calculated by the edge computing unit represents the node trust value of the intelligent water conservancy all-in-one machine j , represents the message local trust value evaluated by the intelligent water conservancy all-in-one machine j for the node S corresponding to the intelligent water conservancy all-in-one machine.

[0011] Furthermore, in the above trust management method of the intelligent water conservancy all-in-one machine based on a double-layer blockchain, wherein the calculation formula of the final message trust value is: ; wherein, is the final message trust value of the node S corresponding to the intelligent water conservancy all-in-one machine, N represents the total number of edge computing units for calculating the message global trust value, is the m message global trust value of the node S corresponding to the intelligent water conservancy all-in-one machine calculated by the edge computing unit

[0012] Further, for the above-mentioned trust management method of the intelligent water conservancy integrated machine based on the double-layer blockchain, the step of encapsulating the water conservancy monitoring data, environmental climate data, and the final trust value of the message of the intelligent water conservancy integrated machine into the transaction of the block, and then competing to create and publish the block to the global blockchain and the local blockchain through the lightweight consensus mechanism includes: When the edge computing unit receives the water conservancy monitoring data, environmental climate data, and the calculated final trust value of the message uploaded by the intelligent water conservancy integrated machine, it encapsulates them into the transaction of the block, then creates a block containing multiple transaction data, and sends the newly created block to the block review committee for verification; If a preset proportion of the block review committee members pass the verification, it is agreed that the edge computing unit publishes the block to the global blockchain, and the trust value of the edge computing unit is increased as a reward; If a preset proportion of the block review committee members do not pass the verification, the block is discarded; Among them, the calculation formula for increasing the trust value is: ; Among them, m represents the number of committee members, n represents the total number of edge computing unit nodes, represents the node trust value of the edge computing unit.

[0013] Further, for the above-mentioned trust management method of the intelligent water conservancy integrated machine based on the double-layer blockchain, the step of encapsulating the water conservancy monitoring data, environmental climate data, and the final trust value of the message of the intelligent water conservancy integrated machine into the transaction of the block, and then competing to create and publish the block to the global blockchain and the local blockchain through the lightweight consensus mechanism further includes: The data in the local blockchain will be cleared daily and the current latest node trust value will be resynchronized, When the edge computing unit or the intelligent water conservancy integrated machine node communicates, it can directly obtain the latest trust value of the node from the local blockchain.

[0014] Another object of the present invention is to provide a trust management system for an intelligent water conservancy integrated machine based on a double-layer blockchain, which uses a trusted institution to manage the trust of the intelligent water conservancy integrated machine. The trusted institution is communicatively connected to multiple edge computing units, and each edge computing unit is communicatively connected to multiple intelligent water conservancy integrated machines respectively. The system includes: A detection module, which is used to send an identity registration request to the trusted institution and pass in the corresponding device identity identifier when detecting the startup of the intelligent water conservancy integrated machine and the edge computing unit, so as to issue the corresponding security certificate after the trusted institution verifies its identity information; An acquisition module, configured to acquire the water conservancy monitoring data and environmental climate data collected in real time by the intelligent water conservancy integrated machine and broadcast them to other intelligent water conservancy integrated machines, so as to calculate the corresponding message partial trust value after receiving the water conservancy monitoring data and environmental climate data; A calculation module, configured to report the message partial trust value to the corresponding edge computing unit, calculate the message global trust value of the intelligent water conservancy integrated machine, synchronize the calculation result to other edge computing units, finally integrate the message final trust value of the intelligent water conservancy integrated machine, and broadcast the final trust value; A storage module, configured to encapsulate the water conservancy monitoring data, environmental climate data, and the message final trust value of the intelligent water conservancy integrated machine into the transaction of the block, and then through a lightweight consensus mechanism, compete to create and publish the block to the global blockchain and the local blockchain; A revocation module, configured to, when a trusted institution monitors that the node trust value of the intelligent water conservancy integrated machine is lower than a preset threshold, mark the corresponding node of the intelligent water conservancy integrated machine as a malicious node and revoke the corresponding security certificate. Another object of the present invention is to provide a readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the method described in any one of the above are implemented.

[0015] Another object of the present invention is to provide an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, the steps of the above method are implemented.

[0016] The present invention acquires the water conservancy monitoring data and environmental climate data collected in real time by the intelligent water conservancy integrated machine and broadcasts them to other intelligent water conservancy integrated machines, so as to calculate the corresponding message partial trust value after receiving the water conservancy monitoring data and environmental climate data; report the message partial trust value to the corresponding edge computing unit, calculate the message global trust value of the intelligent water conservancy integrated machine, synchronize the calculation result to other edge computing units, finally integrate the message final trust value of the intelligent water conservancy integrated machine, and broadcast the final trust value; encapsulate the water conservancy monitoring data, environmental climate data, and the message final trust value of the intelligent water conservancy integrated machine into the transaction of the block, and then through a lightweight consensus mechanism, compete to create and publish the block to the global blockchain and the local blockchain; when a trusted institution monitors that the node trust value of the intelligent water conservancy integrated machine is lower than a preset threshold, mark the corresponding node of the intelligent water conservancy integrated machine as a malicious node and revoke the corresponding security certificate, and uses the edge computing unit and the intelligent water conservancy integrated machine to implement the calculation of the final trust value, avoiding the problem that a single intelligent water conservancy integrated machine lacks efficient computing and environmental perception capabilities, resulting in inaccurate calculation results of the trust value. It solves the problem of inaccurate calculation results of the trust value in the prior art when using trust management to resist internal attacks.

[0017] In addition, the present invention at least further has the following beneficial effects: Use a deep learning algorithm to calculate the local message trust value of intelligent water conservancy nodes. The input parameters include water conservancy monitoring data, environmental climate information, and historical trust values, improving the accuracy of trust value evaluation and the adaptability to environmental changes, and thus improving the recognition accuracy of malicious nodes; Use a two-layer blockchain architecture to balance the secure storage and efficient query of data; The global blockchain is maintained by edge computing units and trusted institutions, storing water conservancy monitoring data, environmental climate data, and the final message trust value, defining a lightweight consensus mechanism, forming a block review committee, and realizing the efficient creation, verification, and release of blocks; The local blockchain is maintained by edge computing units and intelligent water conservancy as a whole, storing the final message trust value, clearing the blockchain daily and resynchronizing the current latest node trust value, only maintaining the latest final message trust value of the day, facilitating nodes to directly obtain the latest trust values of other nodes from the local. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a logical connection diagram of the core node in the trust management method of the intelligent water conservancy all-in-one machine based on a two-layer blockchain provided by an embodiment of the present invention; Figure 2 It is a data architecture diagram in the trust management method of the intelligent water conservancy all-in-one machine based on a two-layer blockchain in the first embodiment of the present invention; Figure 3 It is a flowchart of the trust management method of the intelligent water conservancy all-in-one machine based on a two-layer blockchain in the first embodiment of the present invention; Figure 4 It is a schematic diagram of the data flow in the trust management method of the intelligent water conservancy all-in-one machine based on a two-layer blockchain in an embodiment of the present invention; Figure 5 It is a schematic diagram of the feedforward neural network in the trust management method of the intelligent water conservancy all-in-one machine based on a two-layer blockchain in an embodiment of the present invention; Figure 6 It is a schematic diagram of the block structure of the global blockchain in the trust management method of the intelligent water conservancy all-in-one machine based on a two-layer blockchain in an embodiment of the present invention; Figure 7 It is a schematic diagram of the block structure of the local blockchain in the trust management method of the intelligent water conservancy all-in-one machine based on a two-layer blockchain in an embodiment of the present invention; Figure 8 It is a structural block diagram of the trust management system of the intelligent water conservancy all-in-one machine based on a two-layer blockchain in the third embodiment of the present invention.

[0019] The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings. Detailed Implementation Modes

[0020] To facilitate the understanding of the present invention, the present invention will be described more comprehensively below with reference to the relevant drawings. Several embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided to make the disclosure of the present invention more thorough and comprehensive.

[0021] It should be noted that when an element is referred to as "fixedly provided on" another element, it can be directly on the other element or there may also be an intermediate element. When an element is considered to be "connected" to another element, it can be directly connected to the other element or there may be an intermediate element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are only for the purpose of illustration.

[0022] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present invention belongs. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0023] Please refer to Figure 1 , which shows the logical connection relationship diagram of the core node in the trust management method of the intelligent water conservancy all-in-one machine based on the double-layer blockchain proposed in an embodiment of the present invention. The core node includes an intelligent water conservancy all-in-one machine, an edge computing unit, and a trusted institution that can communicate with each other, where: Intelligent Water Conservancy All-in-One Machine (AIO, All-In-One Device): A device applied in the field of intelligent water conservancy that integrates functions such as data collection, device control, data monitoring, and security protection. At the physical level, one AIO device is usually connected to one or more water conservancy sensors, gates, pump units, etc. downward and to an MEC upward. When the AIO collects the latest water conservancy monitoring data and environmental climate, it shares information with other AIOs and MECs in real time, so as to calculate the optimal gate opening degree, pump speed, etc. through the background intelligent algorithm to achieve intelligent water conservancy monitoring; at the same time, calculate the trust values of messages and nodes and identify malicious nodes.

[0024] Edge Computing Unit (MEC, Mobile Edge Computing Unit): As an edge aggregation node, it is connected to multiple AIO devices in the same physical space, and real-time aggregates the water conservancy monitoring data and environmental climate uploaded by the AIOs, and integrates and stores the trust values of messages and nodes.

[0025] Trusted Authority (TA): Responsible for maintaining the mapping relationship between the valid identity credentials of all AIO and MEC devices and public key certificates. When the trust value of a device is lower than the preset trust threshold, the node certificate is revoked.

[0026] In addition, as Figure 2 shown, when using the above core nodes to implement trust management, at the data application level, the trust management scheme architecture proposed in the embodiments of the present invention includes a trust value storage layer, a trust value calculation layer, a trust value sharing layer, and a trust value application layer; where: The trust value storage layer adopts a double-layer blockchain architecture to store water conservancy monitoring data, environmental climate, and the final trust values of messages.

[0027] The trust value calculation layer uses a deep learning algorithm, taking water conservancy monitoring data, environmental climate, and historical trust values as input parameters to calculate the trust values of nodes and messages.

[0028] The trust value sharing layer includes interfaces for broadcasting and querying trust values.

[0029] The trust value application layer mainly focuses on the identification and handling of malicious nodes, including the definition of trust thresholds, labels, and certificate revocation management mechanisms, etc.

[0030] It should be noted that Figure 1 , Figure 2 the structures shown do not constitute a limitation on the core nodes. In other embodiments, this middleware may include fewer or more components than shown in the figure, or combine certain components, or have different component arrangements.

[0031] Embodiment 1 Please refer to Figures 3 to 4 , which shows the trust management method of the intelligent water conservancy all-in-one machine based on a double-layer blockchain in the first embodiment of the present invention. The trusted authority is used to manage the trust of the intelligent water conservancy all-in-one machine. The trusted authority is communicatively connected to multiple edge computing units, and each edge computing unit is respectively communicatively connected to multiple intelligent water conservancy all-in-one machines. The method includes steps S10 to S14.

[0032] Step S10, when it is detected that the intelligent water conservancy all-in-one machine and the edge computing unit are started, an identity registration request is sent to the trusted authority and the corresponding device identity identifier is passed in, so as to issue the corresponding security certificate after the trusted authority verifies its identity information.

[0033] Among them, first perform an initialization operation. When the intelligent water conservancy all-in-one machine and the edge computing unit are started, first send an identity registration request to the trusted authority and pass in the corresponding device identity identifier; so as to issue the corresponding security certificate to them after the trusted authority verifies the identity information of these nodes such as the intelligent water conservancy all-in-one machine and the edge computing unit.

[0034] Step S11: Obtain the water conservancy monitoring data and environmental climate data collected in real time by the intelligent water conservancy all-in-one machine and broadcast them to other intelligent water conservancy all-in-one machines, so as to calculate the corresponding message partial trust value after receiving the water conservancy monitoring data and environmental climate data.

[0035] Among them, the message partial trust value is calculated by an intelligent water conservancy all-in-one machine that receives the message. Specifically, the intelligent water conservancy all-in-one machine collects and broadcasts water conservancy monitoring data, environmental climate data, etc. to other intelligent water conservancy all-in-one machines in real time, and the receiving node that receives the broadcast calculates the message partial trust value of the intelligent water conservancy all-in-one machine that sends the data.

[0036] Among them, when the specific implementation of the embodiment of the present invention is carried out, a deep learning algorithm is used to determine the message partial trust value. Specifically, taking the water conservancy monitoring data, environmental climate, and historical trust value as input parameters, the message partial trust value evaluation algorithm deployed in the intelligent water conservancy all-in-one machine is used to obtain the corresponding message partial trust value. Among them, the message partial trust value evaluation algorithm is obtained through deep learning by a feedforward neural network. Exemplarily, as Figure 5 shown, the feedforward neural network includes an input layer, two hidden layers, and an output layer. Among them, the input layer includes 16 feature values, which are: longitude: longitude where the device is located, latitude: latitude where the device is located, weather: weather, temperature: temperature, humidity: humidity, windDirection: wind direction, windLevel: wind level, precipitation: rainfall, waterHeight: water level height, rate: flow rate, flow: flow, openDegree: gate opening degree, rotateSpeed: pump speed, timestamp: timestamp, senderTrust: trust value of the sending node, receiverTrust: trust value of the receiving node. The two hidden layers each contain 10 neurons, and the output layer only contains one element, representing the message partial trust value (also called the node trust value offset). In order to avoid the inconsistent value ranges of different types of feature values, which affect the accuracy of the deep learning algorithm, the feature values are preprocessed before being input to the input layer. Specifically, the input data is normalized, and the value range is adjusted to the [0,1] interval. The formula is as follows: ; Among them, represents the normalized feature value, represents the original data, 、 respectively represent the maximum and minimum values of this feature.

[0037] In addition, the calculation formula for the output of the output layer is as follows:

[0038] Wherein, and respectively represent the outputs of the L th layer and the L-1 th layer, and respectively represent the weights and biases of the L th layer, is the activation function corresponding to this layer. In the embodiments of the present invention, the activation functions adopted are ReLU, ReLU, and Sigmoid respectively; The loss function of the feedforward neural network is: ; Wherein, N represents the total amount of data in the training set, represents the true label of the i th training sample, represents the trust value of the i th calculated by the algorithm model.

[0039] Step S12: Report the message local trust value to the corresponding edge computing unit, calculate the message global trust value of the intelligent water conservancy all-in-one machine, then synchronize the calculation result to other edge computing units, finally integrate the message final trust value of the intelligent water conservancy all-in-one machine, and broadcast the final trust value.

[0040] Among them, the global trust value is calculated by an edge computing unit after summarizing other intelligent water conservancy all-in-one machines within the connection range; the final trust value is calculated by summarizing the global trust values calculated by multiple edge computing units on the basis of the global trust value. Specifically, after obtaining the message local trust value, the intelligent water conservancy all-in-one machine reports the calculation result to the edge computing unit. The edge computing unit integrates all the message local trust values of the sending nodes of a certain intelligent water conservancy all-in-one machine received, calculates the message global trust value (GT, Global Trust Value) of this node, then synchronizes the calculation result to other edge computing units, and finally integrates the message final trust value (FT, Final Trust Value) of the sending node, and broadcasts the final trust value to all nodes.

[0041] Specifically, in implementation, the node trust values of the intelligent water conservancy all-in-one machines that have uploaded the message partial trust values are used as weights. The node trust value is the accumulation of the corresponding final trust values stored in the blockchain, plus the initial node trust value and the reward for publishing the blockchain, and the weighted sum of the calculated message partial trust values of the intelligent water conservancy all-in-one machines is performed to obtain the message global trust value of the intelligent water conservancy all-in-one machine; The calculation formula for the message global trust value is: ; Wherein, represents the edge computing unit m calculates the message global trust value of the sending node s , represents the node trust value of the intelligent water conservancy all-in-one machine j , represents the intelligent water conservancy all-in-one machine j evaluates the message partial trust value of the node S corresponding to the intelligent water conservancy all-in-one machine; The calculation formula for the final message trust value is: ; Wherein, is the final message trust value of the node S corresponding to the intelligent water conservancy all-in-one machine, N represents the total number of edge computing units for calculating the message global trust value, is the edge computing unit m calculates the message global trust value of the node S corresponding to the intelligent water conservancy all-in-one machine.

[0042] It should be noted that in all data sharing links, the sender needs to first sign the data to be sent with its private key, and then send the signature together with the data; after receiving the data, the receiver needs to first verify the signature of the received data with the public key of the sender and verify the timestamp of the data. If the verification passes, then subsequent operations are performed.

[0043] Step S13, encapsulate the water conservancy monitoring data, environmental climate data, and the final message trust value of the intelligent water conservancy all-in-one machine into the transaction of the block, and then through the lightweight consensus mechanism, compete to create and publish the block to the global blockchain and the local blockchain.

[0044] Specifically, a two-layer blockchain architecture is adopted for the storage of trust values. Specifically, it includes two layers of chains, namely the global blockchain and the local blockchain, taking into account the secure storage and efficient query of data.

[0045] Step S14, when the trusted institution monitors that the node trust value of the intelligent water conservancy all-in-one machine is lower than the preset threshold, mark the node corresponding to the intelligent water conservancy all-in-one machine as a malicious node and revoke the corresponding security certificate.

[0046] Among them, when the trusted institution monitors that the node trust value of a certain intelligent water conservancy integrated machine is lower than the preset threshold, the certificate revocation process is automatically triggered, the node is marked as a malicious node, and the previously issued certificate is revoked. Specifically, the preset threshold can be set according to the actual situation. Specifically, in the embodiments of the present invention, the trust value is divided into a node trust value and a message trust value. The message trust value is also called the node trust value offset (the above-mentioned local trust value, global trust value, and final trust value all refer to the message trust value). After the node is successfully authenticated, the default node trust value is obtained, such as 0.5. After that, the node trust value is the sum of the trust value obtained from the message trust value and the block release reward, that is, the node trust value is obtained by summing the final trust value and adding the node initial trust value and the reward for releasing the blockchain (assuming it exists). Whether it is the local trust value, the global trust value, or the final trust value, it refers to the trust value of a certain message currently broadcast by a certain intelligent water conservancy integrated machine, that is, the trust value offset of the node.

[0047] The trust management method of the intelligent water conservancy integrated machine based on the double-layer blockchain proposed in the above embodiments of the present invention broadcasts the water conservancy monitoring data and environmental climate data collected in real time by the intelligent water conservancy integrated machine to other intelligent water conservancy integrated machines to calculate the corresponding message local trust value after receiving the water conservancy monitoring data and environmental climate data; reports the message local trust value to the corresponding edge computing unit, calculates the message global trust value of the intelligent water conservancy integrated machine, and then synchronizes the calculation result to other edge computing units, finally integrates the message final trust value of the intelligent water conservancy integrated machine, and broadcasts the final trust value; encapsulates the water conservancy monitoring data, environmental climate data, and the message final trust value of the intelligent water conservancy integrated machine into the transaction of the block, and then through the lightweight consensus mechanism, competes to create and publish the block to the global blockchain and the local blockchain; when the trusted institution monitors that the node trust value of the intelligent water conservancy integrated machine is lower than the preset threshold, the corresponding node of the intelligent water conservancy integrated machine is marked as a malicious node and the corresponding security certificate is revoked, and the edge computing unit and the intelligent water conservancy integrated machine are used to calculate the final trust value, avoiding the problem that the lack of efficient computing and environmental perception ability of a single intelligent water conservancy integrated machine leads to inaccurate calculation results of the trust value. It solves the problem that the calculation result of the trust value is not accurate enough when using trust management to resist internal attacks in the prior art.

[0048] Embodiment 2 The invention embodiment also proposes a trust management method of an intelligent water conservancy integrated machine based on a double-layer blockchain. The difference between the trust management method of the intelligent water conservancy integrated machine based on a double-layer blockchain proposed in the embodiments of the present invention and the trust management method of the intelligent water conservancy integrated machine based on a double-layer blockchain proposed in Embodiment 1 of the present invention is as follows: The steps of encapsulating the water conservancy monitoring data, environmental climate data, and the final trust value of the messages of the intelligent water conservancy all-in-one machine into a block in a transaction, and then competing to create and publish the block to the global blockchain and the local blockchain through a lightweight consensus mechanism include: When the edge computing unit receives the water conservancy monitoring data, environmental climate data, and the calculated final trust value of the message uploaded by the intelligent water conservancy all-in-one machine, it encapsulates them into a block transaction, then creates a block containing multiple transaction data, and sends the newly created block to the block review committee for verification; If a preset proportion of the block review committee members pass the verification, it is agreed that the edge computing unit publishes the block to the global blockchain, and a trust value is added to the edge computing unit as a reward; If a preset proportion of the block review committee members do not pass the verification, the block is discarded; Among them, the formula for adding the trust value is: ; Among them, m represents the number of committee members, n represents the total number of edge computing unit nodes, represents the node trust value of the edge computing unit.

[0049] Specifically, the global blockchain is maintained by edge computing units and trusted institutions, and is used to store the water conservancy monitoring data, environmental climate data, and the final trust value of the messages shared among intelligent water conservancy all-in-one machines. The edge computing unit is responsible for creating and publishing blocks, while the trusted institution only synchronizes block data and monitors malicious nodes; the block structure is as shown in Figure 6 shown.

[0050] And when the edge computing unit receives the water conservancy monitoring data, environmental climate data, and the calculated final trust value of the message uploaded by the intelligent water conservancy all-in-one machine, it encapsulates them into a block transaction, then creates a block containing multiple transaction data, and sends the newly created block to the block review committee for verification. If more than 2 / 3 of the committee members pass the verification, it is agreed that the edge computing unit publishes the block to the global blockchain, and a trust value is added to the MEC as a reward. Among them, m represents the number of committee members, n represents the total number of edge computing unit nodes, represents the node trust value of the edge computing unit; otherwise, this block is discarded.

[0051] In addition, in some optional embodiments of the present invention, the node with the highest trust value is regularly elected mA number of edge computing units serve as the block review committee. During their tenure as block review committee members, these edge computing units do not participate in the creation and release of blocks, but only verify the new blocks submitted by other edge computing units. When multiple edge computing units create new blocks at the same time, the new block with a larger sum of the absolute values of the message final trust values is preferentially released.

[0052] At the same time, smart contracts are stored in the trusted institution and edge computing units. For example, when a new block is added to the global blockchain, the smart contract stored in the trusted institution is triggered to verify whether the trust values of all nodes are lower than the preset trust threshold. If so, these nodes are marked as malicious nodes and their certificates are revoked. When an edge computing unit successfully releases a global block, the smart contract stored in it is also triggered to add a new block to the local blockchain, recording only the message final trust value.

[0053] In addition, in some alternative embodiments of the present invention, the step of encapsulating the water conservancy monitoring data, environmental climate data, and the message final trust value of the intelligent water conservancy all-in-one machine into a block transaction and then competing to create and release the block to the global blockchain and local blockchain through a lightweight consensus mechanism further includes: The data in the local blockchain is cleared daily and the current latest node trust value is resynchronized. When an edge computing unit or an intelligent water conservancy all-in-one machine node communicates, it can directly obtain the latest trust value of the node from the local blockchain.

[0054] Among them, the local blockchain is maintained by edge computing units and intelligent water conservancy all-in-one machines and is only used to store the message final trust value. The edge computing unit is responsible for creating and releasing blocks, while the intelligent water conservancy all-in-one machine only synchronizes block data. The block structure is as Figure 7 shown. In addition, the data in the local blockchain is cleared daily and the current latest node trust value is resynchronized, that is, the local blockchain only maintains the latest message final trust value of the current day. Therefore, when an edge computing unit or an intelligent water conservancy all-in-one machine node communicates, it can directly obtain the latest trust value of the node from the local blockchain, ensuring the secure storage of the trust value while improving the query efficiency of the trust value.

[0055] The trust management method for the intelligent water conservancy all-in-one machine based on a double-layer blockchain proposed in the above embodiments of the present invention obtains the water conservancy monitoring data and environmental climate data collected in real time by the intelligent water conservancy all-in-one machine and broadcasts them to other intelligent water conservancy all-in-one machines, so as to calculate the corresponding local message trust value after receiving the water conservancy monitoring data and environmental climate data; reports the local message trust value to the corresponding edge computing unit, calculates the global message trust value of the intelligent water conservancy all-in-one machine, synchronizes the calculation result to other edge computing units, finally integrates the final message trust value of the intelligent water conservancy all-in-one machine, and broadcasts the final trust value; encapsulates the water conservancy monitoring data, environmental climate data, and the final message trust value of the intelligent water conservancy all-in-one machine into the transaction of the block, and then through a lightweight consensus mechanism, competes to create and publish the block to the global blockchain and the local blockchain; when the trusted institution detects that the node trust value of the intelligent water conservancy all-in-one machine is lower than the preset threshold, marks the corresponding node of the intelligent water conservancy all-in-one machine as a malicious node, revokes the corresponding security certificate, and uses the edge computing unit and the intelligent water conservancy all-in-one machine to calculate the final trust value, avoiding the problem that the lack of efficient computing and environmental perception ability of a single intelligent water conservancy all-in-one machine leads to inaccurate calculation results of the trust value. It solves the problem of inaccurate calculation results of the trust value in the prior art when using trust management to resist internal attacks.

[0056] Embodiment III Please refer to Figure 8 , which shows the trust management system for the intelligent water conservancy all-in-one machine based on a double-layer blockchain proposed in the fourth embodiment of the present invention. The trusted institution is used to manage the trust of the intelligent water conservancy all-in-one machine. The trusted institution is communicatively connected to a plurality of edge computing units, and each edge computing unit is communicatively connected to a plurality of intelligent water conservancy all-in-one machines respectively. The system includes: The detection module 100 is used to send an identity registration request to the trusted institution and transmit the corresponding device identity identifier when detecting the startup of the intelligent water conservancy all-in-one machine and the edge computing unit, so as to issue the corresponding security certificate after the trusted institution verifies and passes its identity information; The acquisition module 200 is used to acquire the water conservancy monitoring data and environmental climate data collected in real time by the intelligent water conservancy all-in-one machine and broadcast them to other intelligent water conservancy all-in-one machines, so as to calculate the corresponding local message trust value after receiving the water conservancy monitoring data and environmental climate data; The calculation module 300 is used to report the local message trust value to the corresponding edge computing unit, calculate the global message trust value of the intelligent water conservancy all-in-one machine, synchronize the calculation result to other edge computing units, finally integrate the final message trust value of the intelligent water conservancy all-in-one machine, and broadcast the final trust value; The storage module 400 is used to encapsulate the water conservancy monitoring data, environmental climate data, and the final trust value of the messages of the intelligent water conservancy all-in-one machine into the transactions of the block, and then through a lightweight consensus mechanism, compete to create and publish the block to the global blockchain and the local blockchain; The revocation module 500 is used to mark the node corresponding to the intelligent water conservancy all-in-one machine as a malicious node and revoke the corresponding security certificate when the trusted institution monitors that the node trust value of the intelligent water conservancy all-in-one machine is lower than the preset threshold.

[0057] Further, in the above trust management system of the intelligent water conservancy all-in-one machine based on the double-layer blockchain, the step of calculating the corresponding message local trust value after receiving the water conservancy monitoring data and environmental climate data includes: Taking the water conservancy monitoring data, environmental climate, and historical trust value as input parameters, and using the message local trust value evaluation algorithm deployed in the intelligent water conservancy all-in-one machine to obtain the corresponding message local trust value; Among them, the message local trust value evaluation algorithm is obtained through deep learning by a feedforward neural network, and the feedforward neural network includes an input layer, two hidden layers, and an output layer.

[0058] Further, in the above trust management system of the intelligent water conservancy all-in-one machine based on the double-layer blockchain, The calculation formula for the output of the output layer is:

[0059] Among them, and respectively represent the output of the L th layer and the L-1 th layer, and respectively represent the weight and bias of the L th layer, is the activation function corresponding to this layer; The loss function of the feedforward neural network is: ; Among them, N represents the total amount of data in the training set, represents the true label of the i th training sample, represents the trust value of the i th calculated by the algorithm model.

[0060] Further, in the above trust management system of the intelligent water conservancy all-in-one machine based on the double-layer blockchain, the step of reporting the message local trust value to the corresponding edge computing unit and calculating the message global trust value of the intelligent water conservancy all-in-one machine includes: Taking the node trust values of the intelligent water conservancy all-in-one machines that have uploaded the message partial trust values as weights, perform a weighted sum of the calculated message partial trust values of the intelligent water conservancy all-in-one machines, so as to obtain the message global trust value of the intelligent water conservancy all-in-one machines; The calculation formula of the message global trust value is: ; Among them, represents the edge computing unit m The calculated global trust value of the sending node S , represents the intelligent water conservancy all-in-one machine j The node trust value of represents the intelligent water conservancy all-in-one machine j The message partial trust value evaluated for the node S corresponding to the intelligent water conservancy all-in-one machine.

[0061] Furthermore, for the above trust management system of the intelligent water conservancy all-in-one machine based on the double-layer blockchain, among them, the calculation formula of the final message trust value is: ; Among them, is the final message trust value of the node S corresponding to the intelligent water conservancy all-in-one machine, N represents the total number of edge computing units for calculating the message global trust value, is the edge computing unit m The calculated global trust value of the node S corresponding to the intelligent water conservancy all-in-one machine.

[0062] Furthermore, for the above trust management system of the intelligent water conservancy all-in-one machine based on the double-layer blockchain, among them, the steps of encapsulating the water conservancy monitoring data, environmental climate data, and the final message trust value of the intelligent water conservancy all-in-one machine into the transactions of the block, and then competing to create and publish the block to the global blockchain and the local blockchain through the lightweight consensus mechanism include: When the edge computing unit receives the water conservancy monitoring data, environmental climate data, and the calculated final node trust value of the message uploaded by the intelligent water conservancy all-in-one machine, encapsulate them into the transactions of the block, then create a block containing multiple transaction data, and send the newly created block to the block review committee for verification; If a preset proportion of the block review committee verifies and passes, it agrees to publish the block to the global blockchain by this edge computing unit, and adds a trust value to this edge computing unit as a reward; If a preset proportion of the block review committee does not verify and pass, discard the block; Among them, the calculation formula for adding the trust value is: ; Among them,m represents the number of committee members, n represents the total number of edge computing unit nodes, represents the node trust value of the edge computing unit.

[0063] Further, in the trust management system of the intelligent water conservancy integrated machine based on the double - layer blockchain, the step of encapsulating the water conservancy monitoring data, environmental climate data, and the final trust value of the intelligent water conservancy integrated machine's message into the transaction of the block, and then competing to create and publish the block to the global blockchain and the local blockchain through the lightweight consensus mechanism further includes: The data in the local blockchain will be cleared daily and the current latest node trust value will be resynchronized. When the edge computing unit or the intelligent water conservancy integrated machine node communicates, the latest trust value of the node can be directly obtained from the local blockchain.

[0064] The functions or operation steps implemented when the above - mentioned modules are executed are generally the same as those in the above - mentioned method embodiments, and will not be elaborated here.

[0065] Embodiment 4 On the other hand, the present invention also provides a readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the method described in any one of the above - mentioned Embodiments 1 to 2 are implemented.

[0066] Embodiment 5 On the other hand, the present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, the steps of the method described in any one of the above - mentioned Embodiments 1 to 2 are implemented.

[0067] The technical features of each of the above - mentioned embodiments can be combined arbitrarily. For the sake of brief description, not all possible combinations of the technical features in the above - mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0068] Those skilled in the art will understand that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a definite sequence list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable storage medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or used in combination with these instruction execution systems, apparatus, or devices. For the purposes of this specification, a "computer-readable storage medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

[0069] More specific examples (non-exhaustive list) of computer-readable storage media include the following: an electrical connection part (electronic device) having one or more wirings, a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable storage medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or otherwise processing as appropriate, and then stored in a computer memory.

[0070] It should be understood that various parts of the present invention can be implemented by hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application-specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0071] In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.

[0072] The above-described embodiments merely represent several implementation manners of the present invention. The description thereof is relatively specific and detailed, but it should not be construed as a limitation to the scope of the patent of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can still be made, and these all fall within the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the appended claims.

Claims

1. A trust management method for a smart water conservancy integrated machine based on a double-layer blockchain, characterized in that Trust management of the intelligent water conservancy integrated machine is carried out by a trusted institution. The trusted institution is communicatively connected to multiple edge computing units, and each edge computing unit is respectively communicatively connected to multiple intelligent water conservancy integrated machines. The method includes: When it is detected that the intelligent water conservancy integrated machine and the edge computing unit are started, an identity registration request is sent to the trusted institution and the corresponding device identity identifier is passed in, so as to issue the corresponding security certificate after the trusted institution verifies and passes its identity information; Obtain the water conservancy monitoring data and environmental climate data collected in real time by the intelligent water conservancy integrated machine and broadcast them to other intelligent water conservancy integrated machines, so as to calculate the corresponding message local trust value after receiving the water conservancy monitoring data and environmental climate data; Report the message local trust value to the corresponding edge computing unit, calculate the message global trust value of the intelligent water conservancy integrated machine, and then synchronize the calculation result to other edge computing units. Finally, integrate the message final trust value of the intelligent water conservancy integrated machine and broadcast the final trust value; Package the water conservancy monitoring data, environmental climate data, and the message final trust value of the intelligent water conservancy integrated machine into the transaction of the block, and then through the lightweight consensus mechanism, compete to create and publish the block to the global blockchain and the local blockchain; When the trusted institution detects that the node trust value of the intelligent water conservancy integrated machine is lower than the preset threshold, the corresponding node of the intelligent water conservancy integrated machine is marked as a malicious node and the corresponding security certificate is revoked.

2. The trust management method of the intelligent water conservancy all-in-one machine based on a double-layer blockchain according to claim 1, characterized in that, The step of calculating the corresponding message local trust value after receiving the water conservancy monitoring data and environmental climate data includes: Taking the water conservancy monitoring data, environmental climate, and historical trust value as input parameters, and using the message local trust value evaluation algorithm deployed in the intelligent water conservancy integrated machine to obtain the corresponding message local trust value; Among them, the message local trust value evaluation algorithm is obtained through deep learning by a feedforward neural network. The feedforward neural network includes an input layer, two hidden layers, and an output layer.

3. The trust management method of the intelligent water conservancy integrated machine based on the double-layer blockchain according to claim 2, characterized in that The calculation formula of the output of the output layer is: Among them, and respectively represent the outputs of the L th layer and the L-1 th layer, and respectively represent the weights and biases of the L th layer, is the activation function corresponding to this layer; The loss function of the feedforward neural network is: ; Among them, N represents the total amount of data in the training set, represents the i true label of the th training sample, i and represents the th trust value calculated by the algorithm model.

4. The trust management method of the intelligent water conservancy all-in-one machine based on a double-layer blockchain according to claim 1, characterized in that, The step of reporting the message local trust value to the corresponding edge computing unit and calculating the message global trust value of the intelligent water conservancy integrated machine includes: Taking the node trust values of the intelligent water conservancy integrated machines that have uploaded the message local trust values as weights, and performing weighted summation on the calculated message local trust values of the intelligent water conservancy integrated machine, so as to obtain the message global trust value of the intelligent water conservancy integrated machine; The calculation formula of the message global trust value is: ; Among them, represents the edge computing unit m The calculated sending node S of the global message trust value, represents the integrated intelligent water conservancy machine j of the node trust value, represents the integrated intelligent water conservancy machine j The message local trust value evaluated by the integrated intelligent water conservancy machine for the corresponding node S of the integrated intelligent water conservancy machine.

5. The trust management method of the intelligent water conservancy integrated machine based on the double-layer blockchain according to claim 1, characterized in that, The calculation formula of the message final trust value is: ; Among them, is the final trust value of the message of node S corresponding to the intelligent water conservancy all-in-one machine, N represents the total number of edge computing units for calculating the global trust value of the message, is the edge computing unit m calculates the global trust value of the message of node S corresponding to the intelligent water conservancy all-in-one machine.

6. The trust management method of the intelligent water conservancy integrated machine based on the double-layer blockchain according to claim 1, wherein, The step of packaging the water conservancy monitoring data, environmental climate data, and the message final trust value of the intelligent water conservancy integrated machine into the transaction of the block, and then through the lightweight consensus mechanism, competing to create and publish the block to the global blockchain and the local blockchain includes: When the edge computing unit receives the water conservancy monitoring data, environmental climate data, and the calculated message final trust value uploaded by the intelligent water conservancy integrated machine, it packages them into the transaction of the block, then creates a block containing multiple transaction data, and sends the newly created block to the block review committee for verification; If the block review committee with a preset proportion passes the verification, it is agreed that the edge computing unit will release the block to the global blockchain, and the edge computing unit will be rewarded with an increased trust value; If the block review committee with a preset proportion does not pass the verification, the block will be discarded; Among them, the calculation formula for increasing the trust value is: ; Among them, m represents the number of committee members, n represents the total number of edge computing unit nodes, represents the node trust value of this edge computing unit.

7. The trust management method of the intelligent water conservancy integrated machine based on the double-layer blockchain according to claim 6, characterized in that, The steps of encapsulating the water conservancy monitoring data, environmental climate data, and the final trust value of the messages of the intelligent water conservancy integrated machine into the transactions of the block, and then competing to create and publish the block to the global blockchain and the local blockchain through the lightweight consensus mechanism further include: The data in the local blockchain will be cleared daily and the latest node trust value will be resynchronized; When the edge computing unit or the intelligent water conservancy integrated machine node communicates, it can directly obtain the latest trust value of the node from the local blockchain.

8. A trust management system for an intelligent water conservancy integrated machine based on a double-layer blockchain, characterized in that, Using a trusted institution to manage the trust of the intelligent water conservancy integrated machine, the trusted institution is communicatively connected to multiple edge computing units, and each edge computing unit is respectively communicatively connected to multiple intelligent water conservancy integrated machines. The system includes: A detection module, used to send an identity registration request to the trusted institution and transmit the corresponding device identity identifier when detecting the startup of the intelligent water conservancy integrated machine and the edge computing unit, so as to issue the corresponding security certificate after the trusted institution verifies its identity information; An acquisition module, used to acquire the water conservancy monitoring data and environmental climate data collected by the intelligent water conservancy integrated machine in real time and broadcast them to other intelligent water conservancy integrated machines, so as to calculate the corresponding local trust value of the message after receiving the water conservancy monitoring data and environmental climate data; A calculation module, used to report the local trust value of the message to the corresponding edge computing unit, calculate the global trust value of the message of the intelligent water conservancy integrated machine, then synchronize the calculation result to other edge computing units, finally integrate the final trust value of the message of the intelligent water conservancy integrated machine, and broadcast the final trust value; A storage module, used to encapsulate the water conservancy monitoring data, environmental climate data, and the final trust value of the messages of the intelligent water conservancy integrated machine into the transactions of the block, and then compete to create and publish the block to the global blockchain and the local blockchain through the lightweight consensus mechanism; A revocation module, used to mark the node corresponding to the intelligent water conservancy integrated machine as a malicious node and revoke the corresponding security certificate when the trusted institution detects that the node trust value of the intelligent water conservancy integrated machine is lower than the preset threshold.

9. A readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it realizes the steps of the method described in any one of claims 1 to 7.

10. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it realizes the steps of the method described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Block chain network node trust evaluation method, system and device and medium

    CN118803797A

  • Internet of vehicles trust management method and system based on block chain

    CN119421160A

  • Method for protecting edge device trust score

    US20220210142A1

Cited By

  • Intelligent water conservancy Internet of Things data security storage method and system

    CN120602229A