Green electricity source tracing method and system based on smart contract and improved PROV model
Through the combination of smart contracts and improved PROV models, blockchain and Kalman filtering method are used to solve the problems of information asymmetry and data fraud in the green power flow process, and the transparency, credibility and accurate traceability of green power data is achieved to ensure that The authenticity and reliability of the data.
Patent Information
- Application Number
- CN202411086804.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-11-01
AI Technical Summary
During the process of green power circulation, information asymmetry and data fraud problems make it difficult to ensure the transparency and authenticity of green power, and the credibility and accuracy of power data are low, making it difficult to control the entire process.
Using a green power traceability method based on smart contracts and improved PROV model, by obtaining power data, tracing data details, verifying whether the data is standard green power data, generating digital certificates and storing them on the blockchain, combined with Kalman filtering method and ERRE-PM models to ensure transparency, trustworthiness and accuracy of data.
It realizes transparency and trustworthy traceability of the entire life cycle of Green Electric data, supports the full traceability and audit of regulatory agencies, ensures the transparency and authenticity of the data flow chain, and improves the accuracy and reliability of power data collection.
Smart Images

Figure CN118886925A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of green electricity, and in particular to a green electricity source tracing method and system. Background Art
[0002] Green electricity refers to electricity that has zero or close to zero carbon dioxide emissions during the production process, because it has a lower impact on the environment than electricity produced by other means (such as thermal power generation). The main sources of green electricity are solar energy, wind power, biomass energy, geothermal energy, etc.
[0003] The circulation of green electricity involves multiple links and a large amount of data. It is difficult to trace the source of electricity, and it is prone to problems such as information asymmetry and data fraud. This poses a challenge to the transparency and authenticity of green electricity, so it needs to be improved. Summary of the invention
[0004] In order to improve the problems existing in related technologies such as low credibility and authenticity of power data and difficulty in controlling green electricity in the entire process of power generation, transmission and distribution, trading, and consumption, the present invention provides a green power tracing method and system based on smart contracts and an improved PROV model.
[0005] In a first aspect, the present invention provides a green power tracing method based on smart contracts and an improved PROV model, which is applied to a green power tracing platform. The method comprises:
[0006] Obtain power data;
[0007] Based on the power data, trace back detailed data information of the power data, where the detailed data information is provided based on the PROV model;
[0008] Based on the detailed data information of the power data and a preset smart contract protocol, determining whether the power data is standard green power data;
[0009] If the electricity data is verified to be green electricity data, a digital certificate is generated and stored on the blockchain. The digital certificate includes the power generation, power source and production time.
[0010] By adopting the above technical solutions and combining the smart contract protocol with the PROV model, it is possible to track the entire life cycle of green electricity data, ensure the transparency and credibility of the traceability process, support regulatory agencies to fully trace and audit data, and use blockchain technology to store green electricity digital certificates. The distributed characteristics and consensus mechanism of blockchain ensure the credibility of the traceability process, and the digital signature ensures the authenticity of the data, thereby ensuring the transparency of the green electricity data flow chain.
[0011] Optionally, in the acquiring of power data, the method includes:
[0012] Obtain any power data, take the sum of the power data and data before the power data as first power data, take the data after the power data as second power data, and the length of the first power data is equal to that of the second power data;
[0013] Calculating a turbulence value, wherein the turbulence threshold is a ratio of the first power data to the second power data;
[0014] The turbulence value is compared with a preset turbulence threshold range. If the turbulence value is outside the turbulence threshold range, the power data is abnormal power data, and the abnormal power data is removed.
[0015] By adopting the above technical solution, since the power collection equipment may be affected by weather, signals, human factors and other conditions during the power collection process, which may lead to missing data, low integrity and other problems in the collected data, affecting the reliability and accuracy of data analysis, it is necessary to remove jitters from the collected power data to resist interference from unstable data that has not yet constituted abnormal data, thereby increasing the accuracy of power data in the power collection process.
[0016] Preferably, in the acquisition of power data, the method includes: filtering the power data by a Kalman filter method, wherein the Kalman filter method mainly consists of two parts: a state equation and an observation equation, and the general form of the state equation is:
[0017] x k =F k x k-1 +w k
[0018] x k The state variable representing the power data at time k, F k represents the system state transfer matrix, w k represents the noise term, which is usually assumed to obey a Gaussian white noise distribution with a mean of 0 and a variance of Q;
[0019] The observation equation has the general form:
[0020] z k =H k x k +v k
[0021] z k represents the measured value at time k, H k represents the transfer matrix between state variables and measured values, v k Represents the observation error term, which is usually assumed to obey a Gaussian white noise distribution with a mean of 0 and a variance of R.
[0022] By adopting the above technical solutions, the Kalman filter method is mainly used to predict and estimate the state of the dynamic system, and at the same time filter the noise and interference to obtain a more accurate and stable state estimation value. In the green power data collection, the Kalman filter method is applied to the prediction and estimation of power signals, so as to further improve the accuracy of power data collection.
[0023] Preferably, after the data detailed information is provided based on the PROV model, the method further includes: using the ERRE-PM model to further refine the entity information, activity information, and agent information in the data detailed information, and using the ERRE-PM model to perform a converter verification on the source information in the data detailed information to determine the distribution and participation information of the power data.
[0024] By adopting the above technical solutions, the ERRE-PM model, based on the core structure of the PROV model, expands the source relationship to obtain more fine-grained traceability information, enhances the traceability capability of the data, improves the credibility and reliability of the traceability information, and promotes traceability analysis.
[0025] Preferably, if the electricity data is verified to be standard green electricity data, it is stored on the blockchain, including: if the electricity data is verified to be standard green electricity data, the electricity data is stored on the blockchain using the ERRE-PM model, and the ERRE-PM model is used to track the accuracy and authenticity of the remaining electricity data on the blockchain.
[0026] By adopting the above technical solutions, in the ERRE-PM model, the extended conversion model can record the conversion process of energy or other entities in the green electricity traceability process, including energy production, consumption, storage and other links; the verification model can be used to describe the verification, review, inspection and other processes of energy or other entities to ensure their authenticity and reliability; the distribution model can be used to describe the distribution, transmission, delivery and other processes of energy or other entities, including the transmission of energy from producers to consumers, the distribution of energy in the power grid, the logistics and transportation of energy products, etc.; the participation model can describe the participation activities of different roles in green electricity traceability, such as data collection, data verification, data release, etc., thereby improving the credibility and reliability of traceability information and promoting traceability analysis.
[0027] Preferably, the PROV model includes a ULDB model. In tracing the detailed data of the power data based on the power data, the ULDB model is used to perform a traceability query on the power data to obtain the flow data of the power data. The flow data is analyzed through a traceability function to analyze the conversion path of the flow data and trace the source of the uncertain flow data to determine the detailed data of the power data.
[0028] By adopting the above technical solution and using ULDB-based traceability query, accurate traceability and reliable data analysis can be carried out to ensure the transparency of the green electricity data circulation chain.
[0029] In the second aspect, the present invention provides a green power source tracing system based on smart contracts and an improved PROV model, comprising:
[0030] The acquisition module is used to acquire power data:
[0031] A processing module, the processing module is used to trace the detailed data of the power data based on the power data, the detailed data being provided based on a PROV model;
[0032] The processing module is further used to determine whether the power data is standard green power data based on the detailed data information of the power data and a preset smart contract protocol;
[0033] Sending module, if the power data is verified to be green power data, the processing module generates a digital certificate, and the sending module is used to send the digital certificate to the blockchain, and the digital certificate includes the power generation, power source and production time.
[0034] By adopting the above technical solution, a combination of smart contract protocol and PROV model is adopted, power data is acquired through an acquisition module, the power data is traced through a processing module, and the accuracy of traceability is improved by combining blockchain technology. Finally, the judgment result of the power data is sent through a sending module. The green power traceability system based on smart contracts and improved PROV model in the present invention can track the entire life cycle of green power data, ensure the transparency and credibility of the traceability process, support the full traceability and audit of data by regulatory agencies, and use blockchain technology to store green power digital certificates. The distributed characteristics and consensus mechanism of blockchain ensure the credibility of the traceability process, and the digital signature ensures the authenticity of the data, thereby ensuring the transparency of the green power data flow chain.
[0035] Preferably, in the process of tracing the detailed data of the power data based on the power data, the detailed data are provided based on the PROV model. On the basis of the core structure of the PROV model, the ERRE-PM model is used to further refine the power data entities, activities and agents. The relationship of the ERRE-PM model also includes the conversion and verification of the source of power data, and the distribution and participation of power data.
[0036] In a third aspect, the present invention provides an electronic device comprising a processor, a memory, a user interface and a network interface, wherein the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes any one of the methods described in the first aspect of the present invention.
[0037] In summary, the present application includes at least one of the following beneficial effects:
[0038] The present invention designs a green power traceability method based on smart contracts and improved PROV models to obtain power data and trace the detailed data information of power data. In this process, based on the PROV-DM core structure, combined with blockchain technology, an ERRE-PM security model with enhanced relationships and refined entities is proposed. The distributed characteristics and consensus mechanism of blockchain ensure that the traceability process is credible, and digital signatures ensure the authenticity of the data; in order to solve the problem that the source of green electricity is difficult to trace, the combination of smart contracts and ERRE-PM security models can track the entire life cycle of green electricity data, ensure the transparency and credibility of the traceability process, and support the full traceability and audit of data by regulatory agencies.
[0039] Furthermore, the use of ULDB-based traceability query can enable accurate traceability and reliable data analysis, ensuring the transparency of the green electricity data circulation chain. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0041] Figure 1 It is the green power tracing step based on smart contract and improved PROV model in the present invention;
[0042] Figure 2 The step of removing jitter from power data in the present invention;
[0043] Figure 3 The ERRE-PM model diagram with enhanced relations and refined entities is an example of the present invention;
[0044] Figure 4 This is a system architecture diagram of green electricity traceability in an example of the present invention;
[0045] Figure 5 This is a schematic diagram of a green power system based on smart contracts and an improved PROV model used in the present invention.
[0046] 1. Get module; 2. Process module; 3. Send module. DETAILED DESCRIPTION
[0047] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.
[0048] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.
[0049] Reference Figure 1 The present invention discloses a green power tracing method based on smart contracts and an improved PROV model, including steps S100-S103.
[0050] S100, obtaining power data, including but not limited to related information such as power generation, transmission and distribution, transaction, and power consumption;
[0051] Specifically, during the process of power data collection, the power collection equipment may be affected by weather, signals, human factors and other conditions, which may lead to missing data, low integrity and other problems in the collected data, affecting the reliability and accuracy of data analysis.
[0052] Therefore, in the process of acquiring power data, it is necessary to perform operations such as bump removal, data verification, and data filling on the collected power data to ensure the availability and integrity of the collected data. Figure 2 , the process of removing jitter from power data includes steps S200-S202.
[0053] S200, obtaining any power data, taking the sum of the power data and the data before the power data as the first power data, and taking the data after the power data as the second power data, wherein the first power data and the second power data have the same length.
[0054] Specifically, if the fifth data is selected as the power data, the first power data is the aggregation of the fifth data and the data before the fifth data, the second power data is the aggregation of the data after the fifth data, and the first power data and the second power data have the same length window. At this time, the first power data is the aggregation of the first data to the fifth data, which is y1+y2+y3+y4+y5. Similarly, the second power data is the aggregation of the sixth to the tenth data, and the second power data is y6+y7+y8+y9+y10.
[0055] S201. Calculate a jitter value, where the jitter threshold is a ratio of the first power data to the second power data.
[0056] S202: Compare the turbulence value with a preset turbulence threshold range, and if the turbulence value is outside the turbulence threshold range, remove the fifth data.
[0057] Specifically, at this time, the ratio is y6+y7+y8+y9+y10 / y1+y2+y3+y4+y5, and the ratio is recorded as a. A is compared with the preset turbulence threshold range. If a is within the preset turbulence threshold range, the data is normal. If a is outside the turbulence threshold range, the y5 data is removed and the remaining data is rearranged.
[0058] In addition to ensuring the availability and integrity of the collected data through bump removal, the data needs to be further screened through the Kalman filter method. The Kalman filter method is mainly used to predict and estimate the state of the dynamic system, and filter the noise and interference to obtain a more accurate and stable state estimate. In power data collection, the Kalman filter method is applied to power signal prediction and estimation. The voltage, current, frequency and other signals are processed through the Kalman filter method to obtain more accurate data prediction and estimation results, thereby realizing the monitoring and control of the power system operation status.
[0059] The formula of Kalman filter method mainly consists of two parts: state equation and observation equation. The state equation represents the dynamic relationship between state variables, usually described by first-order linear difference equation, and its general form is:
[0060] x k =F k x k-1 +w k
[0061] Among them, x k The state variable representing the power data at time k, F k represents the system state transfer matrix, w k Represents the noise term, which is usually assumed to obey a Gaussian white noise distribution with a mean of 0 and a variance of Q.
[0062] The observation equation represents the relationship between the state variables and the measured values, which is usually described by a linear combination relationship. Its general form is:
[0063] z k =H k x k +v k
[0064] Among them, z k represents the measured value at time k, Hk represents the transfer matrix between state variables and measured values, v k Represents the observation error term, which is usually assumed to obey the Gaussian white noise distribution with mean 0 and variance R. In the Kalman filter algorithm, Gaussian white noise with variances R and Q represent the uncertainty of system noise and observation noise, respectively.
[0065] S101, based on the power data, tracing back detailed data information of the power data, where the detailed data information is provided based on a PROV model;
[0066] Reference Figure 3 and Figure 4 ,PROV model, refines three instances, namely Entity, Activity and Agent, among which:
[0067] Entity is formally defined as <Entity:<ID,[attr1=value1,attr2=value2,...]> >, where: <id>It represents the unique identifier of the entity, which uniquely identifies the entity during the traceability process. [attr1=value1,attr2=value2,...] represents the attribute list of the entity, which contains the attributes of the entity and their corresponding values. Different attributes can be added according to specific needs and assigned corresponding values. In the green electricity traceability scenario, the entities of PROV-DM need to be refined to better meet the needs of green electricity traceability.
[0068] The formal definition of Activity is: Activity: <ID,Type,status,[attr1=value1,attr2=value2,...,energyType=energyTypeValue,quantity=quantityValue,timestamp=timestampValue,...]> , extended with additional attributes, such as "status" representing the execution status of the Activity, "energyType" representing the energy type, "quantity" representing the amount of electricity produced / traded / consumed, and "timestamp" representing the timestamp of production / trading / consumption, etc., in order to record and represent the activity information in the green electricity traceability process in more detail.
[0069] The formal definition of Agent is Agent:<ID,name,[attr1=value1,...]> , where ID is the unique identifier of the Agent, which is used to identify the Agent in the green electricity traceability system. name is used to describe the name or identifier of the Agent. [attr1=value1,...] is the attribute set of the Agent, which can contain zero or more attribute-corresponding values, used to describe the characteristics, properties or other information of the Agent. Attributes and corresponding values can be defined and extended according to actual application requirements.
[0070] Based on the PROV-DM model, the present invention proposes an ERRE-PM model with enhanced relationships and refined entities. After the data detailed information is provided based on the PROV model, the ERRE-PM model is used to refine the three instances, namely Entity, Activity and Agent. The ERRE-PM model defines seven relationships for describing complex association relationships and providing accurate and reliable traceability information, including:
[0071] Transformation: describes the transformation relationship between entities and activities, and is used to describe the change of an entity through the transformation of activities. The formal definition of the Transformation relationship is Transformation:<Entity,Activity,Time,[attr1=value1,...]> , can record the conversion process of energy or other entities in the green electricity traceability process, including energy production, consumption, storage and other links.
[0072] Verification: Describes the relationship between an entity and an agent, and is used to describe the process by which an agent verifies or confirms an entity. The formal definition of the Verification relationship is Verification:<Entity,Agent,Time,[attr1=value1,...]> Entity represents the entity being verified, which can be energy, materials, etc. Agent represents the agent that performs the verification, which can be a regulatory agency, a third-party certification agency, etc. In the green electricity traceability scenario, the Verification relationship can be used to describe the verification, review, and inspection process of energy or other entities to ensure their authenticity and reliability.
[0073] Distribution: describes the relationship between an entity and an agent, and is used to describe the process of an agent distributing an entity.<Agent,Entity,Time,[attr1=value1,...]> Agent refers to the agent that performs distribution, usually a producer, supplier or distributor, and Entity refers to the entity being distributed, which can be energy, products, materials, etc. In the green electricity traceability scenario, the Distribution relationship can be used to describe the distribution, transmission, and delivery of energy or other entities, including the transmission of energy from producers to consumers, the distribution of energy in the power grid, and the logistics and transportation of energy products.
[0074] Describes the participation relationship between agents and activities, used to describe how an agent participates in an activity, formally defined as Involvement:<Agent1,Activity,Role,Time,[attr1=value1,...]> , where [attr1=value1,...] represents optional attributes, which are used to describe additional information of the Involvement relationship, such as the mode of participation, degree of participation, etc. The Involvement relationship can describe the participation activities of different roles in green electricity traceability, such as data collection, data verification, data release, etc.
[0075] S102: Based on the detailed data information of the power data and a preset smart contract protocol, determine whether the power data is standard green power data.
[0076] S103. If the power data is verified to be green power data, a digital certificate is generated and stored on the blockchain. The digital certificate includes power generation, power source and production time.
[0077] Specifically, the agreement created by the smart contract is automatically executed when the predefined conditions are met. When the renewable energy generator delivers energy to the grid, the smart contract can record the source of the data in real time and verify whether it meets the standards. The ERRE-PM security model can be used to track the verification process and verify the accuracy of the data based on the captured traceability information. In addition, if the source of the data meets the standards, the smart contract can verify the green electricity data and source records provided by the ERRE-PM model and generate a digital certificate, which is stored on the blockchain. If the source of the data does not meet the standards, the digital certificate cannot be generated. The digital certificate contains information such as power generation, power source, production time and date.
[0078] And in the process of tracing the source, the PROV model includes a ULDB model. In the process of tracing the detailed data of the power data based on the power data, the ULDB model is used to perform a traceability query on the power data to obtain the flow data of the power data, and the flow data is analyzed through the traceability function to analyze the conversion path of the flow data and trace the source of the uncertain flow data, determine the detailed data of the power data, and ensure the integrity and accuracy of the data. The definition of data traceability query is as follows: the function λ represents the traceability, which is a Boolean equation composed of several events related to the traceability, e represents the basic event, and the traceability of the basic event can be expressed as λ(e)=e.
[0079] For a fixed relational schema σ, the G world is a subset of tuples that conform to the schema σ. Given a set of atomic events G and a W world, if G happens to contain all tuples that are consistent with the traceability function, then for all tuples t, If W is a possible world caused by G, then the Boolean function takes the value of 1. This traceability function can be defined by λ(G, W) and the calculation formula is:
[0080]
[0081] p represents the probability of each event in a set of atomic events G, such as p(e) represents the probability of event e, where p(e)∈[0,1]. The probability distribution function μ(W) in the world W is calculated as:
[0082]
[0083] q represents a Boolean query in the world W, and μ(q) represents the boundary probability of the Boolean query q, which is calculated as:
[0084]
[0085] A green power tracing system includes an acquisition module, a processing module and a sending module;
[0086] Acquisition module, used to acquire power data;
[0087] A processing module, for tracing back detailed data information of the power data based on the power data, wherein the detailed data information is provided based on a PROV model;
[0088] The processing module is also used to determine whether the power data is standard green power data based on the detailed data information of the power data and a preset smart contract protocol.
[0089] In another possible embodiment,
[0090] an acquisition module, configured to acquire first power data and second power data, wherein the first power data is the sum of data before the power data, and the second power data is the sum of data after the power data, and the first power data and the second power data are of equal length;
[0091] A processing module, used for calculating a turbulence value, wherein the turbulence threshold is a ratio of the first power data to the second power data;
[0092] The processing module is also used to compare the turbulence value with a preset turbulence threshold range. If the turbulence value is outside the turbulence threshold range, the abnormal power data is removed. The abnormal power data is the data farthest from the power data length between the first power data and the power data.
[0093] It is known from common technical knowledge that the present invention can be implemented by other embodiments that do not deviate from its spirit or essential features. Therefore, the above disclosed embodiments are only illustrative in all respects and are not exclusive. All changes within the scope of the present invention or within the scope equivalent to the present invention are included in the present invention.
[0094] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0095] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A system that specifies the functions of a box or multiple boxes.
[0096] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction system, which is implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0097] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0098] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.< / id>
Claims
1. A green electricity traceability method based on smart contracts and improved PROV model, applied to the green electricity traceability platform, It is characterized in that The method comprises: Obtain power data; Based on the power data, trace back detailed data information of the power data, where the detailed data information is provided based on the PROV model; Based on the detailed data information of the power data and a preset smart contract protocol, determining whether the power data is standard green power data; If the electricity data is verified to be standard green electricity data, a digital certificate is generated and stored on the blockchain. The digital certificate includes the power generation, power source and production time.
2. The green electricity tracing method according to claim 1, Features: In the obtaining of power data, the method includes: Obtain any power data, take the sum of the power data and data before the power data as first power data, take the data after the power data as second power data, and the length of the first power data is equal to that of the second power data; Calculating a jolt value, where the jolt value is a ratio of the first power data to the second power data; The turbulence value is compared with a preset turbulence threshold range. If the turbulence value is outside the turbulence threshold range, the power data is abnormal power data, and the abnormal power data is removed.
3. The green electricity tracing method according to claim 1, Features: In the acquisition of power data, the method includes: filtering the power data by a Kalman filter method, the Kalman filter method consists of two parts: a state equation and an observation equation, and the state equation is in the form of: x k =F k x k-1 +w k x k The state variable representing the power data at time k, F k represents the system state transfer matrix, w k represents the noise term, which obeys the Gaussian white noise distribution with mean 0 and variance Q; The observation equation is in the form: z k =H k x k +v k z k represents the measured value at time k, H k represents the transfer matrix between state variables and measured values, v k Represents the observation error term, which obeys the Gaussian white noise distribution with mean 0 and variance R.
4. The green electricity tracing method according to claim 1, Features: After the data detailed information is provided based on the PROV model, the method further includes: using the ERRE-PM model to further refine the entity information, activity information, and agent information in the data detailed information, and using the ERRE-PM model to perform a converter verification on the source information in the data detailed information to determine the distribution and participation information of the power data.
5. The green electricity source tracing method according to claim 4, Features: If the electricity data is verified to be standard green electricity data, it is stored on the blockchain, including: if the electricity data is verified to be standard green electricity data, the electricity data is stored on the blockchain using the ERRE-PM model, and the ERRE-PM model is used to track the accuracy and authenticity of the remaining electricity data on the blockchain.
6. The green electricity source tracing method according to claim 1, Features: The PROV model includes a ULDB model. In tracing the detailed data of the power data based on the power data, the ULDB model is used to perform a traceability query on the power data to obtain the stream data of the power data. The stream data is analyzed through a traceability function to analyze the conversion path of the stream data and trace the source of the uncertain stream data to determine the detailed data of the power data.
7. A green electricity tracing system, It is characterized in that include: The acquisition module is used to acquire power data: A processing module, the processing module is used to trace the detailed data of the power data based on the power data, the detailed data being provided based on a PROV model; The processing module is further used to determine whether the power data is standard green power data based on the detailed data information of the power data and a preset smart contract protocol; Sending module, if the power data is verified to be green power data, the processing module generates a digital certificate, and the sending module is used to send the digital certificate to the blockchain, and the digital certificate includes the power generation, power source and production time.
8. A green electricity source tracing system according to claim 7, It is characterized in that After the data detailed information is provided based on the PROV model, the method further includes: using the ERRE-PM model to further refine the entity information, activity information, and agent information in the data detailed information, and using the ERRE-PM model to perform a converter verification on the source information in the data detailed information to determine the distribution and participation information of the power data.
9. An electronic device, It is characterized in that It includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method as described in any one of claims 1-6.
10. A computer-readable storage medium, It is characterized in that A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 6.
