A power grid data processing method and system based on blockchain and privacy calculation

By using blockchain and privacy computing technologies, digital asset identifiers are generated by encoding power grid asset data. Multidimensional evaluation models and oracles are used for value assessment, which solves the problems of low efficiency and poor security in power grid asset processing and realizes trusted digital asset ownership confirmation and evaluation.

CN121030817BActive Publication Date: 2026-02-27EAST CHINA BRANCH OF STATE GRID CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511147454.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-15
Publication Date
2026-02-27
Estimated Expiration
2045-08-15

AI Technical Summary

Technical Problem

The process of digital ownership confirmation and evaluation of power grid assets suffers from problems such as low processing efficiency, poor security, insufficient privacy protection, and unreliable evaluation results. In particular, in the case of centralized registration and blockchain ownership confirmation, there are delays in ownership changes, leakage of sensitive data, and significant evaluation biases.

Method used

By employing a blockchain-based and privacy-preserving computing approach, a decentralized identifier algorithm is used to encode and generate digital asset identifiers for power grid asset data. The asset data is then stored offline, and a multi-dimensional evaluation model and oracles are used for value assessment to generate digital asset certificates, ensuring data security and the accuracy of the assessment.

Benefits of technology

It has improved the efficiency and security of power grid asset ownership confirmation, realized the credibility and verifiability of digital asset valuation, and met the auditability requirements of power grid enterprises.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121030817B_ABST
    Figure CN121030817B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a kind of power grid data processing method and system based on blockchain and privacy computing, it is related to electric power asset digital management technical field, the method can be encoded as digital asset identification after obtaining power grid asset data, and offline storage power grid asset data, store digital asset identification in blockchain.When ownership change is carried out, the owner field of the metadata corresponding to the power grid asset data can be updated based on the digital asset identification. Then use multi-dimensional evaluation model and oracle evaluation to carry out value evaluation, to generate digital asset certificate. The method can design digital asset identification dedicated to power grid digital assets, facilitate the change and segmentation of digital assets, to improve the right establishment efficiency. And through multi-dimensional evaluation model and oracle, the value of digital assets is evaluated, and digital asset certificate is obtained, to improve the accuracy and verifiability of the value evaluation result.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of digital management of power assets, and in particular to a power grid data processing method and system based on blockchains and privacy computing. BACKGROUND

[0002] Real-time load data, equipment state data, electricity price transaction data, etc. are generated in the operation process of a power grid enterprise. These generated data can be used as core production factors. For example, among the PB-level structured data generated by a provincial power grid organization annually, more than 60% have potential asset value. Since data assets need to be included in financial statements during asset statistics, the power grid enterprise needs to establish a power grid data right confirmation and valuation system that complies with accounting standards.

[0003] The digital right confirmation and evaluation of power grid assets can use a centralized registration system and a general blockchain right confirmation platform. The centralized registration system can collect data from the production department and store it in a centralized database, and then perform manual right confirmation and static value evaluation. The general blockchain right confirmation platform chains the power data and designs a smart contract for right confirmation, and the value evaluation of data assets is realized through a basic evaluation model.

[0004] However, in the centralized registration and blockchain right confirmation, the digital right confirmation of power grid assets has defects in protection mechanisms and operation links, which can be manifested in the right confirmation mechanism. The digital right confirmation of the centralized registration method uses manual auditing, and the general blockchain right confirmation has a lag in the whole-chain consensus, both of which will cause a lag in right ownership changes and reduce processing efficiency. In terms of privacy protection, since the evaluation requires the original data to be out of the domain, sensitive load data is easily leaked, reducing data security. In terms of value evaluation, the digital asset value evaluation uses a static model, ignoring the fluctuations of core data such as electricity prices, resulting in significant evaluation bias. In addition, in the process of evaluating digital assets, there is a lack of auditable evaluation track chain, which cannot meet the verifiability requirement. SUMMARY

[0005] Therefore, the embodiments of the present application provide a power grid data processing method and system based on blockchains and privacy computing to solve the problems of low processing efficiency and security in the process of processing power grid asset data.

[0006] According to a first aspect of the present application, a power grid data processing method based on blockchains and privacy computing is provided, and the method comprises:

[0007] obtaining power grid asset data, the power grid asset data being used to represent at least one power grid digital asset;

[0008] The power grid asset data is encoded into a digital asset identifier according to a preset hierarchical architecture, the preset hierarchical architecture being a distributed digital identity authentication architecture set according to a decentralized identifier algorithm; the digital asset identifier is endowed with a unique digital identity; the unique digital identity includes one or more core symbols of a power grid prefix, a space-time code, a data fingerprint, and a right ownership chain pointer;

[0009] The power grid asset data and the digital asset identifier are stored, wherein the metadata of the power grid asset data is stored offline, and the digital asset identifier is stored by using a blockchain;

[0010] In response to a right ownership change instruction, the owner field of the metadata corresponding to the power grid asset data is updated based on the digital asset identifier to determine to-be-evaluated data, the to-be-evaluated data including the metadata of the updated owner field;

[0011] The to-be-evaluated data is evaluated using a multi-dimensional evaluation model and an oracle to generate a digital asset certificate; the multi-dimensional evaluation model is a weighted sum result of a data quantity dimension value, a management dimension value, a data quality dimension value, a data application dimension value, and a risk dimension value.

[0012] In some embodiments, encoding the power grid asset data into a digital asset identifier according to a preset hierarchical architecture includes:

[0013] Identity information associated with the power grid asset data is obtained, the identity information including a power grid region code, a device physical code, a data collection time, and a hash value of metadata;

[0014] The identity information is converted into core symbols;

[0015] The core symbols are assembled into the digital asset identifier based on the decentralized identifier algorithm.

[0016] In some embodiments, converting the identity information into core symbols includes:

[0017] The data collection time is extracted from the identity information, the data collection time including a timestamp at which data collection starts;

[0018] A continuous time axis is divided into a plurality of scheduling period slots dedicated to a power grid to obtain a time interval period;

[0019] A power grid standard time origin is obtained;

[0020] A time data compression value is calculated according to the timestamp, the time interval period, and the power grid standard time origin, the time data compression value being equal to a ratio of a difference between the timestamp and the power grid standard time origin to the time interval period.

[0021] In some embodiments, storing the power grid asset data and the digital asset identifier includes:

[0022] Read metadata from the power grid asset data;

[0023] Data dimensions are set based on the aforementioned metadata, and the data dimensions include one or more combinations of physical binding, ownership information, quality proof, access policy, and associated pointers;

[0024] Construct a multidimensional array according to the data dimensions, and store the multidimensional array.

[0025] In some embodiments, storing the power grid asset data and the digital asset identifier further includes:

[0026] Establish the association between the multidimensional array and the digital asset identifier;

[0027] A digest value is generated based on the digital asset identifier according to the hash function;

[0028] Using a smart contract for evidence storage, blockchain evidence storage is performed on the digest value, and the blockchain evidence storage address pointer is used.

[0029] In some embodiments, in response to an ownership change instruction, the owner field of the metadata corresponding to the power grid asset data is updated based on the digital asset identifier to determine the data to be evaluated, including:

[0030] Obtain the ownership change instruction;

[0031] Extract condition information from the ownership change instruction, the condition information including the signature and permission bits of the ownership change instruction;

[0032] Based on the condition information, condition verification is performed, and after the condition information verification is passed, a power grid business rule check is performed to obtain the rule check result.

[0033] Update the owner field according to the rule check results and trigger the generation of ownership change event;

[0034] The transaction hash value is returned based on the ownership change event, and the data to be evaluated is determined based on the transaction hash value.

[0035] In some embodiments, the method further includes:

[0036] Define ownership status function and event marking function. The ownership status function represents the status including active state, frozen state and decommissioned state. The event marking function represents the events including ownership transfer event, equipment decommissioning event and new equipment binding activation event.

[0037] establish a transition function based on the ownership state function and the event marking function, the transition function being used to represent a mapping relationship between an event and the ownership state function;

[0038] invoke an ownership change smart contract, the ownership change smart contract adopting a state machine model to trigger an event and a state;

[0039] execute the transition function through the ownership change smart contract to perform a state transition.

[0040] In some embodiments, conditional verification is performed based on the condition information, including:

[0041] obtain a permission verification predicate logic, the permission verification predicate logic being used to perform ownership transition verification of a digital asset;

[0042] determine a verification condition based on the permission verification predicate logic, the verification condition including regional matching, transaction permission, and a data retention period;

[0043] perform conditional verification on an ownership change process according to the verification condition through the ownership change smart contract.

[0044] In some embodiments, the to-be-evaluated data is evaluated using a multi-dimensional evaluation model and an oracle to generate a digital asset certificate, including:

[0045] extract encrypted data of the to-be-evaluated data;

[0046] set an evaluation space of a trusted execution environment;

[0047] load the multi-dimensional evaluation model in the evaluation space and invoke a multi-source adversarial oracle network, the multi-source adversarial oracle network being used to input to-be-evaluated data to a blockchain through an oracle; a weighted weight of a plurality of dimensional values in the multi-dimensional evaluation model is generated by the oracle;

[0048] evaluate the encrypted data using the multi-dimensional evaluation model and the oracle to generate an evaluation result, the evaluation result including evaluation value data and zero-knowledge proof;

[0049] output the digital asset certificate according to the evaluation result, the digital asset certificate being an online certificate in a non-fungible token structure; the digital asset certificate including the digital asset identifier, value record of the power grid digital asset, validity period of the certificate, hash value of the certificate, and a tax label.

[0050] According to a second aspect of the present application, a power grid data processing system based on a blockchain and privacy computing is provided, the system including:

[0051] A data acquisition module is configured to acquire power grid asset data, which is used to represent at least one power grid digital asset.

[0052] An identity encoding module is configured to encode the power grid asset data into a digital asset identity according to a preset hierarchical architecture, which is a distributed digital identity authentication architecture set according to a decentralized identifier algorithm; the digital asset identity is endowed with a unique digital identity; the unique digital identity includes one or more core symbols of a power grid prefix, a space-time code, a data fingerprint, and a right ownership chain pointer.

[0053] A storage module is configured to store the power grid asset data and the digital asset identity, wherein the metadata of the power grid asset data is stored offline, and the digital asset identity is stored by using a blockchain.

[0054] A right ownership change module is configured to update an owner field of metadata corresponding to the power grid asset data based on the digital asset identity in response to a right ownership change instruction, to determine to-be-evaluated data, wherein the to-be-evaluated data includes the metadata of the updated owner field.

[0055] An evaluation module is configured to evaluate the to-be-evaluated data by using a multi-dimensional evaluation model and an oracle, to generate a digital asset certificate; the multi-dimensional evaluation model is a weighted sum result of a data quantity dimension value, a management dimension value, a data quality dimension value, a data application dimension value, and a risk dimension value.

[0056] According to a third aspect of the present application, a computer device is provided, which includes a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, and the processor implements the power grid data processing method based on a blockchain and privacy calculation when executing the program.

[0057] According to a fourth aspect of the present application, a storage medium is provided, which stores a computer program, and the program is executed by a processor to implement the power grid data processing method based on a blockchain and privacy calculation.

[0058] By the technical scheme, the application provides a power grid data processing method and system based on a blockchain and privacy calculation. After power grid asset data is acquired, the power grid asset data can be encoded into digital asset identifiers according to a decentralized identifier algorithm, and the power grid asset data is stored offline, and the digital asset identifiers are stored in a blockchain. When ownership is changed, the owner field of the metadata corresponding to the power grid asset data can be updated based on the digital asset identifiers. A multi-dimensional evaluation model and a prophet are used for value evaluation to generate a digital asset certificate. The method can facilitate the change and segmentation of the digital asset by designing a digital asset identifier dedicated to the power grid digital asset, so as to improve the right confirmation efficiency. The value evaluation of the digital asset is performed by the multi-dimensional evaluation model and the prophet to obtain the digital asset certificate, so as to improve the accuracy and verifiability of the value evaluation result.

[0059] The above description is only a summary of the technical scheme of the application. In order to more clearly understand the technical means of the application, the application can be implemented according to the content of the specification, and in order to make the above and other purposes, characteristics and advantages of the application more obvious and easy to understand, the following specific embodiments of the application are described. BRIEF DESCRIPTION OF DRAWINGS

[0060] The drawings described herein are used to provide further understanding of the application, and form a part of the application. The schematic embodiments of the application and the description thereof are used to explain the application, and do not constitute an improper limitation on the application. In the drawings:

[0061] Figure 1 A power grid data processing method based on a blockchain and privacy calculation provided by the embodiments of the application is shown in the flowchart;

[0062] Figure 2 A DID hierarchical architecture dedicated to power grid digital assets provided by the embodiments of the application is shown in the schematic diagram;

[0063] Figure 3 A storage structure of digital asset metadata and DID provided by the embodiments of the application is shown in the schematic diagram;

[0064] Figure 4 A right confirmation and registration process when the ownership of the digital asset is changed is shown in the flowchart provided by the embodiments of the application;

[0065] Figure 5 A value evaluation process of the digital asset in a TEE environment is shown in the flowchart provided by the embodiments of the application;

[0066] Figure 6 A power grid data processing system structure based on a blockchain and privacy calculation provided by the embodiments of the application is shown in the schematic diagram. DETAILED DESCRIPTION

[0067] With reference to the drawings and embodiments below, the present application will be described in detail. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0068] In the embodiments of the present application, the power grid data specifically refers to power grid asset data, which refers to data generated in the operation process of a power grid enterprise. For example, the power grid data includes real-time load data, equipment state data, and electricity price transaction data. Among them, the real-time load data refers to the real-time monitoring of power demand or power generation data in a power system, which is in units of kW (kilowatt) or MW (megawatt), and the real-time load data can reflect the power supply and demand situation of the power grid or a specific area. The equipment state data refers to the running state information of various types of equipment in the power system, which is used to monitor the health of the equipment and prevent faults. The electricity price transaction data refers to the real-time transaction price data of electric energy in the power market, which can reflect the supply and demand relationship.

[0069] The power grid asset data can be used as a core production factor, has asset value, and can comprehensively reflect the operation and management state of the power grid. For example, a provincial power grid agency can generate more than 60% of the potential asset value in the PB (Petabyte) level structured data generated annually. That is, for real-time load data, it can generate millions of intelligent meter data collected per second in the entire network. For equipment state data, it is the sensor time series data of tens of thousands of transformers or fans running for many years. And for electricity price transaction data, it is a large number of transaction records generated by high-frequency bidding in the power market. Since data assets need to be included in financial statements when assets are counted, power grid enterprises need to establish a power grid data right confirmation and valuation system that meets the accounting standards.

[0070] In some embodiments, the digital right confirmation and evaluation of the power grid asset can adopt a centralized registration system. The centralized registration system can collect data from the production department and store it in a centralized database, and then perform manual right confirmation and static value evaluation. It can be seen that when the centralized registration system is used for digital right confirmation of power grid assets, the digital right confirmation needs manual review in the right confirmation mechanism, which will cause the right ownership change to lag and reduce the processing efficiency.

[0071] In some embodiments, the digital right confirmation and evaluation of the power grid asset can also adopt a general blockchain right confirmation platform. The general blockchain right confirmation platform can chain the power data and design a smart contract for right confirmation, and the value evaluation of the data asset can be realized through a basic evaluation model. However, when using blockchain right confirmation, the general blockchain right confirmation also has a whole-chain consensus lag in the right confirmation mechanism, which will cause the right ownership change to lag and reduce the processing efficiency.

[0072] Regarding privacy protection, the need for raw data to leave the domain during assessments can easily lead to the leakage of sensitive payload data, reducing data security. In terms of valuation, digital asset valuation uses static models, ignoring core data such as electricity price fluctuations, resulting in significant valuation biases. Furthermore, the lack of an auditable valuation trajectory chain in the digital asset valuation process fails to meet verifiability requirements.

[0073] Due to deficiencies in the digital ownership confirmation and valuation of power grid assets described in the above embodiments, the confirmation of ownership of digital power grid assets suffers from frequent ownership disputes, privacy assessment bottlenecks, and unreliable valuation results. For example, power grid companies refuse third-party valuation of digital assets due to security concerns, and asset valuation errors are excessive. To address these industry pain points, digital ownership confirmation and valuation urgently need breakthroughs in key dimensions such as credible ownership confirmation, compliant valuation, dynamic value, and auditable accounting entries.

[0074] To address the issues of low processing efficiency and security in the process of processing power grid asset data, some embodiments of this application provide a power grid data processing method based on blockchain and privacy computing. The method can perform power grid data asset ownership confirmation, value assessment, and data archiving based on blockchain and privacy computing, so as to achieve the goals of trustworthy ownership confirmation, compliant assessment, dynamic value, and auditability of power grid digital assets.

[0075] The power grid data processing method based on blockchain and privacy computing can be applied to electronic devices with data processing capabilities. These electronic devices include, but are not limited to, computers, servers, mobile terminals, smart wearable devices, and industrial control machines. For ease of description, electronic devices are used as the execution subject of the method in this embodiment. It should be understood that the method can also be applied to other types of execution subjects, which are not illustrated in this embodiment. Figure 1 As shown, the method includes:

[0076] S101. Obtain power grid asset data.

[0077] When performing power grid asset data processing, the power grid asset data to be processed can be acquired first. This power grid asset data is used to represent at least one power grid digital asset. Power grid asset data can include various types of data generated during the operation of the power grid enterprise, such as real-time load data, equipment status data, and electricity price transaction data. Taking real-time load data as an example, power grid asset data can include core data such as unit output and load levels generated during power grid operation.

[0078] In order to obtain power grid asset data, in some embodiments, the electronic device can generate a data acquisition request when performing data processing, and send the data acquisition request to a target data source, wherein the target data source refers to a device capable of providing power grid asset data. For example, the target data source can be a local memory, a cloud memory, a data acquisition sensor, and a data processing computer, etc. After sending the data acquisition request to the target data source, the target data source can feed back the power grid asset data to the electronic device in response to the data acquisition request.

[0079] S102, encode the power grid asset data into digital asset identifiers according to a preset hierarchical architecture.

[0080] After obtaining the power grid asset data, encoding can be performed on the power grid asset data, that is, the power grid asset data is encoded into digital asset identifiers according to a preset hierarchical architecture. The preset hierarchical architecture is a distributed digital identity authentication architecture set according to a decentralized identifier (DID) algorithm, and the DID algorithm is a distributed digital identity authentication method.

[0081] Therefore, a special DID hierarchical architecture can be designed for power grid digital assets. As shown in Figure 2 Considering the physical interaction characteristics of power grid data, the power grid digital asset special DID hierarchical architecture can include a physical layer and a digital asset identifier layer. The physical layer refers to core data such as unit output and load level generated in power grid operation, and the core data in the physical layer can form digital asset identifiers after encoding.

[0082] In the process of forming digital asset identifiers, the DID algorithm can be used to give these digital asset identifiers exclusive digital identities, that is, the digital asset identifiers are given exclusive digital identities; the exclusive digital identities include one or more core symbols of power grid prefix, space-time coding, data fingerprint, and right chain pointer.

[0083] In order to realize the encoding of power grid asset data, in some embodiments, the electronic device can first obtain the identity information associated with the power grid asset data when performing the encoding of the power grid asset data into digital asset identifiers according to the preset hierarchical architecture. The identity information includes power grid area code, device physical code, data acquisition time, and hash value of metadata. Then, the identity information is converted into core symbols, and the core symbols are assembled into the digital asset identifiers based on the decentralized identifier algorithm.

[0084] For example, in the execution of DID construction and the setting of storage structure, the digital identity string required to be generated can be set in the DID algorithm, which can include the grid area code (grid prefix), the device physical code (device id), the data acquisition time (timestamp), and the hash value of the metadata (metadata hash), etc. The digital identity string needs to meet specific data standards, such as the grid area code needs to meet the national standard GB / T 2260-2023 standard, the device physical code needs to comply with the DL / T 860.73 standard, and the data acquisition start time needs to comply with the ISO 8601 standard. The hash value of the metadata can be calculated by using the SHA3-256 encryption algorithm.

[0085] Based on the above digital identity string, the power grid digital asset can obtain the DID identifier according to a specific data structure. For example, the power grid digital asset can obtain the DID according to the following construction method:

[0086] DID = did:grid: <grid_prefix>: <data_type>: <compress(timestamp)>: <metadata_hash[:12]>;

[0087] In the formula, DID represents the digital asset identifier; grid_prefix represents the grid area code; data_type represents the inspection data type; compress(timestamp) represents the time compression result; and metadata_hash represents the hash value of the metadata.

[0088] The time compression result is obtained by compressing the timestamp, which is used to realize efficient storage. Therefore, in some embodiments, the electronic device can first extract the data acquisition time, i.e., the timestamp when the data acquisition starts, from the identity information when the identity information is converted into the core symbol. Then, the continuous time axis is divided into a plurality of grid-specific scheduling period slots to obtain a time interval period, and then a grid standard time origin is obtained, so as to calculate a time data compression value according to the timestamp, the time interval period, and the grid standard time origin.

[0089] The time data compression value is equal to the difference between the timestamp and the grid standard time origin divided by the time interval period. For example, in order to compress the timestamp timestamp, the continuous time axis can be divided into a grid-specific 15-minute scheduling period slot to realize efficient storage, and the mathematical expression is:

[0090]

[0091] In the formula, Com t represents the data compression value of the time period t; T represents the time stamp to be compressed (Unix time seconds); T base represents the power grid standard time origin as the reference point; Δt represents the time interval period. Since the dispatching period slot of the power grid is 15 minutes, the value of the time interval period is 900 seconds; wherein the result output by the time compression result compress(timestamp) is hexadecimal data.

[0092] S103, store the power grid asset data and the digital asset identifier.

[0093] After the power grid asset data is encoded into the digital asset identifier, the electronic device can store the power grid asset data and the digital asset identifier respectively. Among them, the metadata of the power grid asset data adopts offline storage, that is, the metadata itself is saved in the local storage medium by offline encryption distributed storage. Since the DID data, that is, the digital asset identifier, participates in online interaction, DID can be used as a certificate for data right, transfer, etc. Considering the unbreakable nature of the blockchain, the safety and privacy of local data can be guaranteed, so the digital asset identifier adopts blockchain storage.

[0094] In some embodiments, when storing the power grid asset data and the digital asset identifier, the electronic device can first read the metadata from the power grid asset data, and then set the data dimension based on the metadata. Among them, the data dimension includes one or more combinations of physical binding, ownership information, quality certificate, access strategy and association pointer. Then construct a multi-dimensional array according to the data dimension, and store the multi-dimensional array.

[0095] For example, for the storage of metadata, in order to ensure the data structuring of metadata attributes and the specification anchoring of DID, the following five-dimensional data structure can be constructed for metadata:

[0096]

[0097] Among them, M represents a multi-dimensional array, that is, an ordered five tuple, which is used to represent the data format of metadata; m represents all five tuples belonging to the multi-dimensional array M; size(m) represents the size of the storage file; P, O, Q, A and R represent specific data dimensions, and the specific meanings are shown in the following table:

[0098] Table 1 meaning of ordered five tuple of metadata;

[0099] Dimension Symbol Meaning Example value Physical binding P Device physical property TR-220kV-A-0173, ws7e9q, ABC Ownership information O Owner and permission set Dept_OMS, {use, transaction} Quality proof Q Data quality score is located in [0, 1] 0.92 Access policy A Access control rule Role = Audit and secret level ≥ L3 Association pointer R Historical ownership change chain address 0x892f...

[0100] Among them, the physical binding dimension P can realize the strong binding of the data asset and the physical device by using the physical binding (physical binding) field, as follows:

[0101] P = {device_id, geo_hash, phase};

[0102] device_id, geo_hash, phase are device code, geographic code and power grid special attributes respectively, as shown in the above table, TR-220kV-A-0173 represents device code, ws7e9q represents geographic code, and ABC represents power grid attribute.

[0103] For the ownership information dimension O, the creator information of the digital asset can be represented as the following DID string:

[0104] did:grid:GD-FS:Dept_OMS;

[0105] The information of the current owner of the digital asset can be represented as the following DID string:

[0106] did:grid:GD-FS:Dept_Market;

[0107] In order to improve the on-chain efficiency of the metadata, for the data rights {use, transaction}, bit operation (0b01 = use right, 0b10 = transaction right) can be used for identification.

[0108] In some embodiments, in order to store the digital asset identifier, the electronic device can first set the association relationship between the multi-dimensional array and the digital asset identifier when storing the power grid asset data and the digital asset identifier, and then generate a digest value according to the digital asset identifier according to a hash function. Then, using a notarization smart contract, the digest value is executed on the blockchain, and the address pointer is stored according to the blockchain notarization.

[0109] As shown in Figure 3 In order to realize the storage management of data notarization based on the blockchain and the decentralized identifier (DID), the electronic device can generate a unique decentralized identifier (DID) for the power grid asset data after generating a digital asset identifier for globally identifying data, that is, a digital asset identifier. Then, using a hash function such as SHA-256, the hash value of the original data is calculated to generate a fixed-length unique digest value, such as a1b2c3……etc. The output result of the hash function can be used as the "digital fingerprint" of the data to ensure data integrity. Then, through the blockchain notarization, the digest value is written into the blockchain to store it by using the tamper-proof nature of the blockchain. Then, through the storage address pointer, the actual storage location (such as IPFS, AWS S3 CID or URL, etc.) of the data is recorded, which is convenient for subsequent access.

[0110] It is evident that by storing power grid asset data and digital asset identifiers, it is possible to generate digital identities for power grid digital assets, put them on the blockchain, and construct and store metadata locally. The digital asset identifier (DID) contains all information related to data ownership, while the metadata itself is stored locally through distributed storage, enabling on-chain interaction of data security, privacy, and ownership.

[0111] S104. In response to the ownership change instruction, update the owner field of the metadata corresponding to the power grid asset data based on the digital asset identifier to determine the data to be evaluated.

[0112] After storing power grid asset data and digital asset identifiers, electronic devices can perform ownership changes and segmentation of digital assets. Specifically, the electronic device can receive ownership change instructions and, in response, update the owner field of the corresponding metadata of the power grid asset data based on the digital asset identifier to determine the data to be evaluated. The data to be evaluated includes the metadata of the updated owner field.

[0113] like Figure 4 As shown, in some embodiments, to update the owner field of the metadata corresponding to power grid asset data, the electronic device can perform condition verification and rule checks after obtaining the ownership change instruction. Specifically, condition information is extracted from the ownership change instruction, including the signature and permission bits of the instruction. Condition verification is then performed based on this information, and after successful verification, a power grid business rule check is performed to obtain the rule check result. The owner field is then updated based on the rule check result, triggering the generation of an ownership change event. Finally, a transaction hash value is returned based on the ownership change event, and the data to be evaluated is determined based on the transaction hash value.

[0114] For example, to implement a blockchain and DID-based ownership transfer process and dynamically manage asset ownership or permissions in the power grid scenario, electronic devices can first perform permission verification when updating the owner field of the metadata corresponding to power grid asset data based on digital asset identifiers. That is, when the current owner initiates an ownership transfer request, such as transferring power assets, the confirmation contract can perform permission checks. Specifically, a smart contract with ownership transfer functionality can call the DID notarization chain to verify the current owner's identity and permissions, such as checking the role and certificate bound to the DID. Then, it verifies compliance with power grid business rules, such as power grid load balancing and regional policies, to ensure compliance with industry regulations.

[0115] Through conditional verification and rule checking, when the verification and checking determine that the permission is valid, the ownership change logic can be entered. That is, in the ownership change stage, the owner field is updated, such as by writing a new DID, so that the smart contract modifies the current owner field of the asset on the blockchain. And trigger the generation of on-chain events (ownership change events) for external systems to listen to. Then return the transaction hash (TXID), return the blockchain transaction hash of this change to the caller as an operation voucher. When the verification and checking determine that the permission is invalid, an error code such as 403 Forbidden can be returned, and the ownership change process is terminated. After completing the ownership change, the electronic device can return the updated asset metadata, such as the new owner DID, timestamp, etc.

[0116] On the chain, the ownership change of the digital asset can be implemented through a smart contract, and the smart contract can use a state machine model to trigger corresponding events and states, so in some embodiments, the electronic device can first define an ownership state function and an event marking function. Wherein, the state represented by the ownership state function includes an active state, a frozen state and a retired state; the event represented by the event marking function includes an ownership transfer event, a device retirement event and a new device binding activation event. Then, based on the ownership state function and the event marking function, a transfer function is established for representing the mapping relationship between the event and the ownership state function. Then, by calling the ownership change smart contract, the transfer function is executed through the ownership change smart contract to perform state transfer.

[0117] For example, when the ownership change of the digital asset is implemented through a smart contract, the following finite state machine logic can be designed, that is, the ownership state function is defined as:

[0118] S={Active,Frozen,Retired};

[0119] Wherein, S represents the ownership state function; Active, Frozen, Retired represent the active state, the frozen state and the retired state respectively.

[0120] The event marking function can be represented as:

[0121] Ω={TransferReq,RetiredCmd,Reactivate};

[0122] Wherein, Ω represents the event marking function; TransferReq represents the ownership transfer event; RetiredCmd represents device retirement; Reactivate represents new device binding activation.

[0123] The transfer function can represent the mapping between the event and the ownership state function, so the transfer function can be represented as:

[0124] δ: S x Ω → S;

[0125] Wherein, δ represents the transfer function; S represents the ownership state function; Ω represents the event marker function; "→" represents the function update process.

[0126] Then in the process of updating the owner field of the metadata corresponding to the power grid asset data, the state transition rule is shown in Table 2.

[0127] Table 2: Rule of digital asset ownership transfer

[0128]

[0129] In Table 2, Onew represents the new ownership information.

[0130] In some embodiments, when the electronic device performs conditional verification based on the condition information, it can first obtain the permission verification predicate logic, wherein the permission verification predicate logic is used to perform ownership transfer verification of the digital asset. Then, based on the permission verification predicate logic, the verification condition is determined, and then the conditional verification of the ownership change process is performed through the ownership change smart contract according to the verification condition.

[0131] The verification condition includes region matching, transaction permission, and data retention period. Then, when the ownership is changed, the smart contract can perform conditional verification on the ownership change process, for example, the permission verification predicate logic is:

[0132]

[0133] In the above formula, PermitTransfer represents the digital asset ownership transfer verification; p represents an element in the physical attribute P of the metadata; Region(·) represents the geographic location; ∧ represents the "and" operation according to the digital bit of the field; Rights represents the permission of the metadata; bitand is a bitwise operation function that can return the result of the bitwise operation of two numerical values; ¬ represents the logical operation "not"; Type represents the data type, Load is the load data; age represents the storage duration, the unit is day; The meaning of the permission verification predicate logic is that the ownership transfer needs to meet the three verification conditions of region matching, transaction permission, and data retention period at the same time.

[0134] In some embodiments, when the above ownership change and transfer occurs between regions of a certain scale, such as between provinces, cross-provincial data transaction authentication is required, which may involve the problem of ownership segmentation. Therefore, the electronic device can perform ownership segmentation according to the following ownership segmentation formula:

[0135]

[0136] ​In the formula, w new represents the new DID weight after the right transfer; T local represents the duration of local storage of pre-transaction data; C cap represents the transmission bandwidth; E trans represents the network transmission loss of data transmission; a represents the local storage factor; β represents the transmission bandwidth factor; and γ represents the network transmission loss factor.

[0137] According to the above weight, the joint DID can be generated according to the following field during cross-provincial transaction:

[0138] Joint_DID=did:grid:joint:<hash(DID_A|DID_B)>:<w new >;

[0139] In the above field, DID_A represents the DID of the seller province A, and DID_B represents the DID of the buyer province. For the grid asset data after the right change or right split, since the right attribute is changed, the value assessment needs to be performed again in combination with the changed or split right, and therefore, the grid asset data after the right change or right split can be referred to as the to-be-evaluated data.

[0140] It should be noted that the to-be-evaluated data can include the grid asset data after the right change or right split, but the to-be-evaluated data is not limited to the grid asset data after the right change or right split, and can also include other types of grid asset data. For example, newly generated grid asset data in the grid environment, grid asset data determined according to a preset evaluation period, and the like.

[0141] S105, using a multi-dimensional evaluation model and an oracle to evaluate the to-be-evaluated data to generate a digital asset certificate.

[0142] After determining the to-be-evaluated data, the electronic device can perform value assessment of the digital asset, that is, using a multi-dimensional evaluation model and an oracle to evaluate the to-be-evaluated data to generate a digital asset certificate. The multi-dimensional evaluation model is the weighted sum of the data volume dimension value, the management dimension value, the data quality dimension value, the data application dimension value, and the risk dimension value.

[0143] For example, after completing the DID right confirmation, registration, and transfer of the digital asset, the electronic device also needs to link the right confirmation, registration, and transfer result with the asset evaluation work to realize the assessment credibility and compliance of the digital asset, and at the same time, to make the grid asset data meet the security, privacy, and audit traceability requirements, the electronic device can perform value assessment and account archiving in a trusted execution environment (Trusted Execution Environment, TEE).

[0144] To comprehensively, accurately and scientifically evaluate the value of digital assets, a five-dimensional evaluation model including data volume dimension value, management dimension value, data quality dimension value, data application dimension value and risk dimension value can be constructed, and the five-dimensional evaluation model can be expressed as:

[0145] V = ω v V vol + ω m V mgmt + ω q V qual + ω a V app + ω r V risk ;

[0146] In the formula, V vol represents the value of the data volume dimension; V mgmt represents the value of the management dimension; V qual represents the value of the data quality dimension; V app represents the value of the data application dimension; V risk represents the value of the risk dimension; and ω v , ω m , ω q , ω a , ω r respectively represent the weights of the dimension values.

[0147] Among them, the evaluation method of the data volume value V vol is as follows:

[0148] V vol = κln(1+N rec );

[0149] In the above formula, κ represents a parameter related to the data type; and N rec represents the storage size of the metadata.

[0150] The data value of the management dimension V mgmt represents the data asset management and control ability in the whole life cycle, and the evaluation dimensions are shown in Table 3.

[0151] Table 3 Evaluation dimensions of the management dimension value of data in the power field

[0152]

[0153] According to the above evaluation dimensions and reference standards, the evaluation and calculation logic of the corresponding dimensions are shown in Table 4.

[0154] Table 4 Calculation method of sub-indicators of the management dimension

[0155]

[0156] Based on the above indicators, the data value V of the management dimension mgmt The calculation formula is:

[0157] V mgmt =ω1M d +ω2M t +ω3M s +ω4M c ;

[0158] Where ω1, ω2, ω3, and ω4 represent the weight coefficients of the corresponding sub-indicators.

[0159] Value V in terms of data quality qual The evaluation is conducted using three dimensions: completeness, accuracy, and timeliness. The corresponding evaluation formula is as follows:

[0160]

[0161] In the formula, CL represents the data completeness score; AC represents the data accuracy score; TL represents the data timeliness score; I c This is a compliance dummy variable; it takes the value 1 when the data is compliant, and 0 otherwise.

[0162] The value of data in the application dimension V app The calculation formula is:

[0163] V app =ηΔL loss +μR trade ;

[0164] Where, ΔL loss Indicates the reduction in line loss due to data usage; R trade This represents the historical transaction revenue of the data; η and μ are the coefficients of the corresponding terms.

[0165] Noting that the data value in the application dimension implicitly includes the impact of load and electricity price changes, in order to cope with the impact of power grid fluctuations and electricity price changes on data value, electronic devices can dynamically adjust the data value weights in the application dimension as follows:

[0166]

[0167] In the formula, ρ t ρ represents the electricity price during the data application period t; base Indicates the corresponding benchmark electricity price; L t Indicates the actual load level of the region during the data application period; L avg Indicates the average load of the area; L max This indicates the maximum load in the area.

[0168] Therefore, the value V of power grid asset data in the risk dimensionrisk For example, the security level of the data is represented by SL (1-10), and the security sensitive factor is represented by θ.

[0169]

[0170] wherein SL represents the security level of the data (1-10); and θ represents the security sensitive factor.

[0171] Based on the multi-dimensional evaluation model described in the above embodiments, the electronic device can perform value evaluation and obtain a digital asset certificate. Therefore, as shown in Figure 5 In some embodiments, when using the multi-dimensional evaluation model and the oracle to evaluate the data to be evaluated to generate a digital asset certificate, the encrypted data of the data to be evaluated can be extracted first, and then the evaluation space of the trusted execution environment can be set. Then load the multi-dimensional evaluation model in the evaluation space and call the multi-source adversarial oracle network. The multi-source adversarial oracle network is used to input the data to be evaluated to the blockchain through the oracle; the weighted weights of the multiple dimensions of value in the multi-dimensional evaluation model are generated by the oracle.

[0172] The multi-dimensional evaluation model and the oracle are used to evaluate the encrypted data to generate an evaluation result including evaluation value data and zero-knowledge proof. Thus, the digital asset certificate is output according to the evaluation result. The digital asset certificate is an online certificate in the form of a non-fungible token (NFT); the digital asset certificate includes the digital asset identifier, the value record of the power grid digital asset, the validity period of the certificate, the hash value of the certificate, and the tax label.

[0173] For example, since the blockchain itself cannot obtain data from the outside world, in order to achieve data verifiability and meet the requirement that asset valuation should be based on verifiable data, a multi-source adversarial oracle network can be deployed, such as a power trading center, a dispatching center, and a third-party evaluation agency, to input offline real data such as electricity price, load, and output to the blockchain through the oracle.

[0174] In order to realize dynamic evaluation of digital assets, the weight adjustment in the multi-dimensional evaluation model can be generated by the oracle, for example, the real-time adjustment of the oracle for changes in electricity price and load. After the deployment of the above multi-dimensional evaluation model is completed, the value of the power grid digital asset can be evaluated in the TEE environment. When performing value evaluation, the electronic device can first extract encrypted data. The encrypted data is obtained by encrypting the original data of the power grid asset data through encryption methods such as homomorphic encryption and symmetric encryption. The extracted encrypted data can be loaded into TEE, and the data is decrypted and processed in the isolated environment of TEE, which can prevent external snooping to ensure the security of transmission or storage.

[0175] The preset multi-dimensional evaluation model is loaded in the TEE to analyze or calculate the data. Meanwhile, the electronic device can call the oracle, wherein the core input character of the oracle can be represented as:

[0176] I ext t loss

[0177] The verification signature of the oracle is:

[0178] Verify sig ext ‖oracle id )=True;

[0179] Wherein, oracle id represents the id in the oracle library.

[0180] External data is obtained through a multi-source adversarial oracle network, and calculation is performed to generate a calculation result. Based on the calculation result, a zero-knowledge proof is generated to prove the correctness of the calculation and not to disclose the original data. Finally, the result is output, that is, the value V and the proof π are returned. The value V represents the calculation result such as credit score, transaction amount, etc. The proof π is a zero-knowledge proof for third-party verification.

[0181] The digital asset certificate can be in the form of an online certificate, specifically in the form of a Non-Fungible Token (NFT) structure, that is, a trusted digital right certificate with unique characteristics of a blockchain network, and its specific structure is

[0182] C=<DID,V,ValidPeriod,Proof hash ,TaxParams>;

[0183] Wherein, V represents the value record of the digital asset; ValidPeriod represents the validity period of the certificate; Proof hash represents the hash value of the certificate; TaxParams represents the tax label, specifically:

[0184] TaxParams=(τ d ,τ ν );

[0185] Wherein, τ d represents the depreciation rate; τ ν represents the applicable tax type and tax rate.

[0186] ​​​​Then based on the above NFT structure, the archiving (accounting) logic of power grid asset data is to sequentially perform certificate verification, tax calculation, NFT validity check, accounting subject mapping, certificate generation and on-chain storage. In the process of performing tax calculation, depreciation can be calculated first, that is, D = V x τ d , and then value-added tax calculation, that is, T v = (V-D) x τ ν . And for accounting subject mapping, "Borrow-Intangible Assets V", "Lend-Capital Surplus", that is, V-D-T v , and "Lend-Tax" T v .

[0187] In addition, considering the particularity of power grid assets, when the digital assets are amortized as intangible assets, the life factor is added to the amortization period of the digital assets, and the remaining amortization period is:

[0188] T dep = ζT std ;

[0189] Where T dep represents the remaining amortization period; ζ represents the life factor of power grid digital assets, according to different data types and amortization rates, power data can be set to 0.8, equipment monitoring data can be set to 1.2, and weather forecast data can be set to 0.5; T std represents the average amortization period of comparable digital intangible assets in other industries.

[0190] For example, based on the data of a certain province, an example is shown in Table 5.

[0191] Table 5 Example of data of a certain province

[0192] Parameter Value Calculation process Original value V 2,400,000 yuan V=0.2×12.3+... Depreciation rate τ d ]]> 8% Device monitoring data type Remaining lifetime T dep ]]> 4.2 years std ]]> ​ Value Added Tax T v ]]> 57,600 yuan (2.4 million-0.768 million) × 3% Net value on record 2,265,600 yuan V-D-T v ]]>

[0193] Then the following certificate can be output: "[2025-07-01] DID: did: grid: GD-FS: TransformerMonitor: 8C2A; Borrow: Intangible Assets-Data Assets 2,400,000; Lend: Capital Surplus-Data Assets Value 2,265,600; Lend: Tax-Data Value-Added Tax 57,600".

[0194] By applying the technical solutions of the above-mentioned embodiments, the power grid data processing method based on blockchain and privacy calculation in the above-mentioned embodiments can improve the right confirmation efficiency through the fusion of DID right confirmation, TEE privacy evaluation, and NFT account entry, and realize the privacy protection and audit penetration of digital assets. Through the five-dimensional value evaluation model of power grid digital assets, the scientificity and accuracy of value evaluation are realized. In the value evaluation link, the oracle input is introduced to realize the credibility and verifiability of data, and through dynamic weight adjustment, the value evaluation can be dynamically adjusted according to the power grid fluctuation and price impact. The characteristics and requirements of the power grid are fully considered, so that the method has high adaptability to power applications.

[0195] In some embodiments, as a specific implementation of the power grid data processing method based on blockchain and privacy calculation in the above-mentioned embodiments, part of the embodiments of the present application also provide a power grid data processing system based on blockchain and privacy calculation, as shown in Figure 6 The system comprises:

[0196] A data acquisition module is configured to acquire power grid asset data, wherein the power grid asset data is used to represent at least one power grid digital asset.

[0197] An identification coding module is configured to code the power grid asset data into a digital asset identification according to a preset hierarchical architecture, wherein the preset hierarchical architecture is a distributed digital identity right confirmation architecture set according to a decentralized identifier algorithm; the digital asset identification is endowed with a unique digital identity; and the unique digital identity comprises one or more core symbols of a power grid prefix, a space-time code, a data fingerprint, and a right ownership chain pointer.

[0198] A storage module is configured to store the power grid asset data and the digital asset identification, wherein the metadata of the power grid asset data is stored offline, and the digital asset identification is stored by using a blockchain.

[0199] A right ownership change module is configured to update an owner field of metadata corresponding to the power grid asset data based on the digital asset identification in response to a right ownership change instruction, so as to determine to-be-evaluated data, wherein the to-be-evaluated data comprises the metadata of the updated owner field.

[0200] An evaluation module is configured to evaluate the to-be-evaluated data by using a multi-dimensional evaluation model and an oracle to generate a digital asset certificate, wherein the multi-dimensional evaluation model is a weighted sum result of a data quantity dimension value, a management dimension value, a data quality dimension value, a data application dimension value, and a risk dimension value.

[0201] It should be noted that other corresponding descriptions of the various functional units involved in the power grid data processing system based on blockchain and privacy calculation provided by the embodiments of the present application can refer to the corresponding descriptions in the power grid data processing method based on blockchain and privacy calculation provided by the above embodiments, which will not be described here.

[0202] By applying the technical solutions of the above embodiments, the power grid data processing system based on blockchain and privacy calculation described in the above embodiments can encode the power grid asset data into a digital asset identifier according to a decentralized identifier algorithm after the data acquisition module acquires the power grid asset data, and store the power grid asset data offline through the storage module and store the digital asset identifier on the blockchain. When the ownership is changed, the ownership change module can update the owner field of the metadata corresponding to the power grid asset data based on the digital asset identifier. Then, the evaluation module uses a multi-dimensional evaluation model and an oracle to evaluate the value to generate a digital asset certificate. The system can facilitate the change and segmentation of digital assets by designing a digital asset identifier dedicated to power grid digital assets, to improve the right confirmation efficiency. And through the multi-dimensional evaluation model and the oracle, the value of the digital asset is evaluated to obtain the digital asset certificate, to improve the accuracy and verifiability of the value evaluation result.

[0203] The embodiments of the present application also provide a computer device, which can be a personal computer, a server, a network device, etc. The computer device includes a bus, a processor, a memory, and a communication interface, and can also include an input / output interface and a display device. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The database of the computer device is used to store location information. The network interface of the computer device is used to communicate with external terminals through network connection. The computer program is executed by the processor to implement the steps in each method embodiment.

[0204] Those skilled in the art can understand that the structure of the computer device described above is only part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components, or combine certain components, or have a different component arrangement.

[0205] In one embodiment, a computer readable storage medium is also provided, which can be non-volatile or volatile, and has a computer program stored thereon. The computer program is executed by the processor to implement the steps in each method embodiment described above.

[0206] In an embodiment, a computer program product is also provided, including a computer program which, when executed by a processor, implements the steps of any of the above method embodiments.

[0207] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties.

[0208] It can be understood by those skilled in the art that all or part of the processes in the above-mentioned embodiments can be completed by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiments.

[0209] Any reference to a memory, database or other medium used in the embodiments provided by the present application can include at least one of a non-volatile and volatile memory. The non-volatile memory can include a read-only memory (ROM), a magnetic tape, a floppy disk, a flash memory, an optical storage, a high-density embedded non-volatile memory, a resistive memory (ReRAM), a magnetoresistive random access memory (MRAM), a ferroelectric memory (FRAM), a phase change memory (PCM), a graphene memory, etc.

[0210] The volatile memory can include a random access memory (RAM) or an external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0211] The database involved in the embodiments provided by the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a blockchain, etc., without being limited thereto. The processor involved in the embodiments provided by the present application can be a general-purpose processor, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.

[0212] Any technical features in the above embodiments can be combined, and for the sake of brevity, not all possible combinations are described above, however, as long as the combinations of technical features do not have contradictions, they shall be considered within the scope of the present disclosure.

[0213] The above embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it shall not be understood as a limitation on the patent scope of the present application. It shall be pointed out that, for ordinary skilled persons in the art, several modifications and improvements can be made without departing from the concept of the present application, and these shall be within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims

1. A power grid data processing method based on blockchain and privacy calculation, characterized in that, The method comprises: acquiring power grid asset data, the power grid asset data being used to represent at least one power grid digital asset; encoding the power grid asset data into a digital asset identifier according to a preset hierarchical architecture, the preset hierarchical architecture being a distributed digital identity authentication architecture set according to a decentralized identifier algorithm; the digital asset identifier being endowed with a unique digital identity; the unique digital identity comprising one or more core symbols of a power grid prefix, a space-time code, a data fingerprint, and a right ownership chain pointer; storing the power grid asset data and the digital asset identifier, wherein the metadata of the power grid asset data is stored offline, and the digital asset identifier is stored by using a blockchain; in response to a right ownership change instruction, updating an owner field of the metadata corresponding to the power grid asset data based on the digital asset identifier to determine to-be-evaluated data, the to-be-evaluated data comprising the metadata of the updated owner field; evaluating the to-be-evaluated data by using a multi-dimensional evaluation model and an oracle to generate a digital asset certificate; the multi-dimensional evaluation model being a weighted sum result of data quantity dimension value, management dimension value, data quality dimension value, data application dimension value, and risk dimension value; evaluating the to-be-evaluated data by using the multi-dimensional evaluation model and the oracle to generate the digital asset certificate comprises: extracting encrypted data of the to-be-evaluated data; setting an evaluation space of a trusted execution environment; loading the multi-dimensional evaluation model and calling a multi-source adversarial oracle network in the evaluation space, the multi-source adversarial oracle network being used to input the to-be-evaluated data into the blockchain through the oracle; the weighted weights of the multiple dimension values in the multi-dimensional evaluation model being generated by the oracle; evaluating the encrypted data by using the multi-dimensional evaluation model and the oracle to generate an evaluation result, the evaluation result comprising evaluation value data and zero-knowledge proof; outputting the digital asset certificate according to the evaluation result, the digital asset certificate being an online certificate in a non-fungible token structure; the digital asset certificate comprising the digital asset identifier, a value record of the power grid digital asset, a validity period of the certificate, a hash value of the certificate, and a tax label.

2. The method of claim 1, wherein, According to the preset hierarchical architecture, the power grid asset data is encoded into a digital asset identifier, comprising: acquiring identity information associated with the power grid asset data, the identity information comprising a power grid region code, a device physical code, a data collection time, and a hash value of metadata; transforming the identity information into core symbols; assembling the core symbols into the digital asset identifier based on the decentralized identifier algorithm.

3. The method of claim 2, wherein, Transforming the identity information into core symbols comprises: extracting the data collection time from the identity information, the data collection time comprising a time stamp when the data collection starts; dividing a continuous time axis into multiple power grid-specific scheduling period slots to obtain a time interval period; acquiring a power grid standard time origin; calculating a time data compression value according to the time stamp, the time interval period, and the power grid standard time origin, the time data compression value being equal to a ratio of a difference between the time stamp and the power grid standard time origin to the time interval period.

4. The method of claim 1, wherein, storing the power grid asset data and the digital asset identifier, comprising: reading metadata from the power grid asset data; setting data dimensions based on the metadata, the data dimensions comprising one or more combinations of physical binding, ownership information, quality proof, access policy, and association pointer; constructing a multi-dimensional array according to the data dimensions, and storing the multi-dimensional array.

5. The method of claim 4, wherein, storing the power grid asset data and the digital asset identifier, further comprising: setting an association relationship between the multi-dimensional array and the digital asset identifier; generating a digest value according to the digital asset identifier according to a hash function; using a notarization smart contract to perform blockchain notarization on the digest value, and storing an address pointer according to the blockchain notarization.

6. The method of claim 1, wherein, in response to an ownership change instruction, updating an owner field of metadata corresponding to the power grid asset data based on the digital asset identifier to determine to-be-evaluated data, comprising: obtaining the ownership change instruction; extracting condition information from the ownership change instruction, the condition information comprising a signature and a permission bit of the ownership change instruction; performing condition verification based on the condition information, and performing a power grid business rule check after the condition information passes the verification to obtain a rule check result; updating the owner field according to the rule check result, and triggering generation of an ownership change event; returning a transaction hash value based on the ownership change event, and determining the to-be-evaluated data according to the transaction hash value.

7. The method of claim 6, wherein, The method further comprises: defining an ownership state function and an event marking function, the state represented by the ownership state function comprising an active state, a frozen state, and a decommissioned state; the event represented by the event marking function comprising an ownership transfer event, a device decommissioning event, and a new device binding activation event; establishing a transfer function based on the ownership state function and the event marking function, the transfer function being used to represent the mapping relationship between the event and the ownership state function; calling an ownership change smart contract, the ownership change smart contract using a state machine model to trigger events and states; performing state transfer by executing the transfer function through the ownership change smart contract.

8. The method of claim 6, wherein, The condition verification based on the condition information comprises: obtaining a permission verification predicate logic, the permission verification predicate logic being used to perform ownership transfer verification of a digital asset; determining a verification condition based on the permission verification predicate logic, the verification condition comprising regional matching, transaction permission, and data retention period; performing condition verification on the ownership change process according to the verification condition through the ownership change smart contract. 9.A power grid data processing system based on blockchain and privacy computing, characterized in that, The system comprises: a data acquisition module configured to acquire power grid asset data, the power grid asset data being used to represent at least one power grid digital asset; an identifier encoding module configured to encode the power grid asset data into a digital asset identifier according to a preset hierarchical architecture, the preset hierarchical architecture being a distributed digital identity right architecture set according to a decentralized identifier algorithm; the digital asset identifier being assigned a unique digital identity; the unique digital identity comprising one or more core symbols of a power grid prefix, a space-time code, a data fingerprint, and an ownership chain pointer. A storage module is configured to store the power grid asset data and the digital asset identifier, wherein metadata of the power grid asset data is stored offline, and the digital asset identifier is stored by using a blockchain; An ownership change module is configured to update an owner field of corresponding metadata of the power grid asset data based on the digital asset identifier in response to an ownership change instruction, to determine to-be-evaluated data, wherein the to-be-evaluated data includes the metadata of the updated owner field; An evaluation module is configured to evaluate the to-be-evaluated data by using a multi-dimensional evaluation model and an oracle to generate a digital asset certificate, wherein the multi-dimensional evaluation model is a weighted sum result of data quantity dimension value, management dimension value, data quality dimension value, data application dimension value, and risk dimension value; the evaluation of the to-be-evaluated data by using the multi-dimensional evaluation model and the oracle to generate the digital asset certificate includes: extracting encrypted data of the to-be-evaluated data; setting an evaluation space of a trusted execution environment; loading the multi-dimensional evaluation model and calling a multi-source adversarial oracle network in the evaluation space, wherein the multi-source adversarial oracle network is configured to input the to-be-evaluated data to the blockchain through the oracle; the weighted weights of the multiple dimension values in the multi-dimensional evaluation model are generated by the oracle; the encrypted data is evaluated by using the multi-dimensional evaluation model and the oracle to generate an evaluation result, wherein the evaluation result includes evaluation value data and zero-knowledge proof; and the digital asset certificate is output according to the evaluation result, wherein the digital asset certificate is an online certificate in a non-fungible token structure, and the digital asset certificate includes the digital asset identifier, a value record of the power grid digital asset, a validity period of the certificate, a hash value of the certificate, and a tax label.

Citation Information

Patent Citations

  • Metadata processing method and device, electronic equipment and storage medium

    CN118296215A

  • Evaluation method for energy efficiency grading and carbon emission of communication base station

    CN120050705A