Virtual power plant trusted terminal access method based on multilayer block chain technology
Through multi-layer blockchain technology, the terminal association information of trusted terminals in virtual power plants is analyzed, and its credibility is continuously evaluated and access strategies are formulated. The problems of security and trust guarantee of trusted terminals in virtual power plants are solved, and the problem of trusted terminals in virtual power plants is realized. Safety and reliability of virtual power plants.
Patent Information
- Application Number
- CN202411411417.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-10-10
AI Technical Summary
Virtual power plants need to ensure the security and trust of trustworthy terminals to prevent security threats caused by untrusted terminal access.
Using multi-layer blockchain technology, by obtaining and analyzing the terminal association information of trusted terminals, continuously determines its credibility data, and determines the terminal access strategy based on the credibility data, including stopping or maintaining terminal access.
It effectively guarantees the security and trust of trusted terminals, thereby ensuring the overall safety and reliability of virtual power plants.
Smart Images

Figure CN119520014A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of virtual power plants, and in particular to a trusted terminal access method for virtual power plants based on multi-layer blockchain technology. Background Art
[0002] A virtual power plant is a power coordination and management system that aggregates and coordinates distributed energy resources (DER) such as solar energy, wind energy, and small hydropower, energy storage systems, controllable loads, and electric vehicles through advanced information and communication technologies and software systems. It has no entity, but uses the Internet as a "factory" and data as "fuel". Through data management, it centralizes and rationalizes the allocation and coordinated optimization of energy resources in different regions and different equipment, so that it can participate in the operation of the power market and power grid like a traditional power plant.
[0003] Due to the aforementioned nature of the virtual power plant, only trusted terminals are allowed to access the virtual power plant. Different trusted terminals have different permissions for data retrieval, management, regulation, configuration, etc. after accessing the virtual power plant. In order to ensure the security of the virtual power plant, it is necessary to ensure the security and trust of the trusted terminals. Summary of the invention
[0004] The present application provides a virtual power plant trusted terminal access method based on multi-layer blockchain technology, which is conducive to ensuring the security and trust of trusted terminals, and then ensuring the security of virtual power plants.
[0005] The virtual power plant trusted terminal access method based on multi-layer blockchain technology provided in this application specifically adopts the following technical solutions:
[0006] A virtual power plant trusted terminal access method based on multi-layer blockchain technology, comprising: for each trusted terminal, when a credibility analysis trigger is obtained,
[0007] Obtain terminal association information of the trusted terminal recorded in each layer of blockchain, wherein the terminal association information includes terminal identification, blockchain identification, timestamp and information details;
[0008] Obtain all terminal-related information carrying corresponding terminal identifiers in all layers of blockchain;
[0009] Determining the credibility data of the trusted terminal according to the terminal association information;
[0010] A terminal access strategy for a trusted terminal is determined based on the credibility data, wherein the terminal access strategy includes stopping terminal access or maintaining terminal access for a preset time period, wherein the preset time period for maintaining terminal access reflects the generation of the next credibility analysis trigger after the preset time period at the moment of the current credibility analysis trigger.
[0011] By adopting the above technical solution, it is possible to continuously determine the credibility data of the trusted terminal based on the terminal association information of the trusted terminal in the multi-layer blockchain, and then determine whether the trusted terminal is still trustworthy based on the credibility data, so as to determine different terminal access strategies for the trusted terminal. This method is conducive to ensuring the security and trust of the trusted terminal, and then ensuring the security of the virtual power plant.
[0012] Further, the determining the credibility data of the trusted terminal according to the terminal association information includes:
[0013] Acquire terminal association information of the trusted terminal within a first specified time period;
[0014] Grouping the terminal association information within the first specified time period according to the blockchain identifier;
[0015] Determining a credibility component according to each set of terminal association information;
[0016] The credibility data of the trusted terminal is determined based on all the credibility components.
[0017] Further, determining a credibility component according to each group of terminal association information includes:
[0018] Based on the pre-built detailed blacklist and detailed whitelist, determine the whitelist associated information and the blacklist associated information of each set of terminal associated information, and determine the information data values of the whitelist associated information and the blacklist associated information;
[0019] Suppose there are n terminal association information in total and n whitelist association information in total 1 Then the blacklist associated information n 2 The information data value of the i-th whitelist associated information is z 1 i , the information data value of the i-th blacklist associated information is z 2i , the credibility component is x, then In the formula, a is a preset constant greater than zero.
[0020] Further, determining the credibility data of the trusted terminal according to all credibility components includes:
[0021] Assume there are m credibility components, and the i-th credibility component is x i , the preset credibility weight of the blockchain corresponding to the i-th credibility component is k i , the credibility data is w, then Wherein, b is a preset constant greater than zero, and p is a pre-acquired basic credibility coefficient.
[0022] Furthermore, the method for obtaining the basic credibility coefficient includes:
[0023] Obtain historical credibility data of trusted terminals;
[0024] The ratio of the number of historical credibility data above the first credibility threshold to the total number of all historical credibility data is calculated as the basic credibility coefficient.
[0025] Further, the determining of a terminal access strategy of a trusted terminal according to the credibility data includes:
[0026] Determining whether the current credibility data is lower than a second credibility threshold;
[0027] If yes, configure the terminal access policy to stop terminal access;
[0028] If not, the terminal access policy is configured to maintain terminal access for a preset time period, where the preset time period is determined based on current credibility data and historical credibility data.
[0029] Furthermore, the method for determining the preset duration includes:
[0030]
[0031] In the formula, T is the preset time, w 0 is the current credibility data, w pre2 is the second credibility threshold, v is the pre-acquired credibility change speed, T pre The preset constant duration.
[0032] Furthermore, the method for obtaining the credibility change speed includes:
[0033] Get the current credibility data and the recent q historical credibility data, and set the current credibility data as w 0 , the i-th historical credibility data is w i ;
[0034] According to the current credibility data and the recent q historical credibility data, q credibility difference data are calculated. Let the i-th credibility difference data be Δw i , then Δw i =w i-1 -w i ;
[0035] Determine Δw i Are they both greater than zero or not greater than zero?
[0036] If so, then
[0037] If not, then
[0038] In the formula, t q0 is the duration between the triggering time of the credibility analysis of the qth historical credibility data and the current credibility data, w d is the dth historical credibility data and d <q,t d0 is the duration between the occurrence time of the credibility analysis trigger of the dth historical credibility data and the current credibility data, c is a preset constant, s is the number of credibility difference data greater than zero, and r is the number of credibility difference data not greater than zero.
[0039] In summary, this application at least has the following beneficial effects:
[0040] A virtual power plant trusted terminal access method based on multi-layer blockchain technology is provided. The method can determine the credibility data of the trusted terminal in a timely manner, and then determine the subsequent terminal access strategy of the trusted terminal according to the credibility data, which is conducive to continuously ensuring the security and trust of the trusted terminal, and then conducive to ensuring the security and reliability of the entire virtual power plant.
[0041] It should be understood that the contents described in the Summary of the Invention are not intended to limit the key or important features of the embodiments of the present application, nor are they intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0043] Figure 1 A schematic diagram showing an exemplary operating environment in which embodiments of the present application can be implemented;
[0044] Figure 2 A flowchart of a virtual power plant trusted terminal access method based on multi-layer blockchain technology in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0046] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0047] The present application provides a virtual power plant trusted terminal access method based on multi-layer blockchain technology, which can reasonably and timely verify the credibility data of the trusted terminal, and reasonably determine the terminal access strategy of the trusted terminal to ensure the security and trustworthiness of the trusted terminal.
[0048] Figure 1 A schematic diagram of an exemplary operating environment in which embodiments of the present application can be implemented is shown.
[0049] Reference Figure 1 The operating environment includes a virtual power plant cloud platform 120 of a trusted terminal 110. The trusted terminal 110 is connected to the virtual power plant cloud platform 120 through network communication. The virtual power plant 120 determines whether to allow the trusted terminal 110 to access by verifying the identity of the trusted terminal 110 and assigns corresponding permissions to the untrusted terminal 110.
[0050] Figure 2 A flowchart of a method for accessing a virtual power plant trusted terminal 110 based on multi-layer blockchain technology in an embodiment of the present application is shown. The method can be Figure 1 The virtual power plant cloud platform 120 is executed.
[0051] Reference Figure 2 The method is executed for each trusted terminal 110 when a credibility analysis trigger is obtained. The method specifically includes the following steps:
[0052] S210: Obtain terminal association information of the trusted terminal 110 recorded in each layer of blockchain.
[0053] The terminal association information includes a terminal identifier, a blockchain identifier, a timestamp, and information details. The terminal identifier is a unique identifier of the trusted terminal 110, the blockchain identifier is a unique identifier of each layer of the blockchain, the timestamp reflects the time when the terminal association information is generated, and the information details are relevant information submitted by the trusted terminal 110, such as identity information, verification information, behavior information, etc., reflecting the specific behavior of the trusted terminal 110.
[0054] S220: Obtain all terminal association information carrying corresponding terminal identifiers in all layers of blockchain.
[0055] Since the terminal association information all carries the terminal identification, the terminal identification of the target trusted terminal 110 can be retrieved from all the terminal association information to determine all the terminal association information of the trusted terminal 110 .
[0056] S230: Determine the credibility data of the trusted terminal 110 according to the terminal association information.
[0057] The method of this step includes: obtaining terminal association information of the trusted terminal 110 within a first specified time period; grouping the terminal association information within the first specified time period according to the blockchain identifier; determining a credibility component according to each group of terminal association information; and determining credibility data of the trusted terminal 110 according to all credibility components.
[0058] The method of determining a credibility component according to each group of terminal association information includes: determining whitelist association information and blacklist association information of each group of terminal association information based on a pre-built detailed blacklist and detailed whitelist, and determining the information data value of the whitelist association information and the blacklist association information; assuming that a group of terminal association information has n, and the whitelist association information has n 1 Then the blacklist associated information n 2 The information data value of the i-th whitelist associated information is z 1i , the information data value of the i-th blacklist associated information is z 2i , the credibility component is x, then In the formula, a is a preset constant greater than zero.
[0059] Determining the credibility data of the trusted terminal 110 according to all credibility components includes: assuming that there are m credibility components, and the i-th credibility component is x i , the preset credibility weight of the blockchain corresponding to the i-th credibility component is k i , the credibility data is w, then Wherein, b is a preset constant greater than zero, and p is a pre-acquired basic credibility coefficient.
[0060] Specifically, the method for obtaining the basic credibility coefficient includes: obtaining historical credibility data of the trusted terminal 110; and calculating the ratio of the number of historical credibility data above the first credibility threshold to the total number of all historical credibility data as the basic credibility coefficient.
[0061] S240: Determine a terminal access policy for the trusted terminal 110 according to the credibility data.
[0062] The terminal access policy includes stopping terminal access or maintaining terminal access for a preset time period, and the preset time period for maintaining terminal access reflects generating the next credibility analysis trigger after the preset time period at the moment of the current credibility analysis trigger.
[0063] The method of this step includes: determining whether the current credibility data is lower than a second credibility threshold; if so, configuring the terminal access policy to stop terminal access; if not, configuring the terminal access policy to maintain terminal access for a preset time, wherein the preset time is determined based on the current credibility data and historical credibility data.
[0064] The method for determining the preset duration includes:
[0065]
[0066] In the formula, T is the preset time, w 0 is the current credibility data, w pre2 is the second credibility threshold, v is the pre-acquired credibility change speed, T pre The preset constant duration.
[0067] The method for obtaining the credibility change speed includes:
[0068] Get the current credibility data and the recent q historical credibility data, and set the current credibility data as w 0 , the i-th historical credibility data is w i ;
[0069] According to the current credibility data and the recent q historical credibility data, q credibility difference data are calculated. Let the i-th credibility difference data be Δw i , then Δw i =w i-1 -w i ;
[0070] Determine Δw i Are they both greater than zero or not greater than zero?
[0071] If so, then
[0072] If not, then
[0073] In the formula, t q0 is the duration between the triggering time of the credibility analysis of the qth historical credibility data and the current credibility data, w d is the dth historical credibility data and d <q,t d0is the duration between the occurrence time of the credibility analysis trigger of the dth historical credibility data and the current credibility data, c is a preset constant, s is the number of credibility difference data greater than zero, and r is the number of credibility difference data not greater than zero.
[0074] Based on the above, the terminal access policy of each trusted terminal 110 can be determined, which is essentially to continuously verify the security and credibility of the trusted terminal 110, and determine the terminal access policy of the trusted terminal 110 based on the verification result, such as stopping terminal access and maintaining terminal access for a preset period of time before re-verification. This method is conducive to ensuring the security and credibility of the trusted terminals 110 in the virtual power plant, and thus ensuring the safety of the entire virtual power plant.
[0075] It should be understood that this method is essentially a machine learning model. The parameters in the machine learning model can be trained according to the actual credibility feedback of the trusted terminal 110 (for example, whether there is any harmful behavior). The trainable parameters include preset duration, first specified duration, information data value, a, p, second credibility threshold, preset constant duration, q, c, etc. During long-term use, the parameters of the machine learning model are trained to make the terminal access strategy of each trusted terminal 110 analyzed by the method more reasonable, which is conducive to more reliable protection of the security and credibility of the trusted terminal 110, and then to the security and credibility of the virtual power plant.
[0076] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0077] In summary, this application at least has the following beneficial effects:
[0078] A method for accessing a trusted terminal 110 of a virtual power plant based on multi-layer blockchain technology is provided. The method can determine the credibility data of the trusted terminal 110 in a timely manner, and then determine the subsequent terminal access strategy of the trusted terminal 110 according to the credibility data, which is conducive to continuously ensuring the security and trust of the trusted terminal 110, and then conducive to ensuring the security and reliability of the entire virtual power plant.
[0079] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
Claims
1. A virtual power plant trusted terminal access method based on multi-layer blockchain technology, characterized in that: include: For each trusted terminal (110), when a credibility analysis trigger is obtained, Obtaining terminal association information of a trusted terminal (110) recorded in each layer of blockchain, wherein the terminal association information includes a terminal identifier, a blockchain identifier, a timestamp, and information details; Obtain all terminal-related information carrying corresponding terminal identifiers in all layers of blockchain; Determining credibility data of a trusted terminal (110) according to the terminal association information; A terminal access strategy of a trusted terminal (110) is determined based on the credibility data, wherein the terminal access strategy includes stopping terminal access or maintaining terminal access for a preset time period, wherein the preset time period for maintaining terminal access reflects the generation of the next credibility analysis trigger after the preset time period at the moment of the current credibility analysis trigger.
2. The method according to claim 1, characterized in that Determining the credibility data of the trusted terminal (110) according to the terminal association information comprises: Acquiring terminal association information of a trusted terminal (110) within a first specified time period; Grouping the terminal association information within the first specified time period according to the blockchain identifier; Determining a credibility component according to each set of terminal association information; The credibility data of the trusted terminal (110) is determined based on all the credibility components.
3. The method according to claim 2, characterized in that Determining a credibility component according to each group of terminal association information includes: Based on the pre-built detailed blacklist and detailed whitelist, determine the whitelist associated information and the blacklist associated information of each set of terminal associated information, and determine the information data values of the whitelist associated information and the blacklist associated information; Suppose there are n terminal association information in total, n1 whitelist association information, n2 blacklist association information, and the information data value of the i-th whitelist association information is z 1i , the information data value of the i-th blacklist associated information is z 2i , the credibility component is x, then In the formula, f = a is a preset constant greater than zero.
4. The method according to claim 2, characterized in that: Determining the credibility data of the trusted terminal (110) according to all credibility components comprises: Assume there are m credibility components, and the i-th credibility component is x i , the preset credibility weight of the blockchain corresponding to the i-th credibility component is k i , the credibility data is w, then Wherein, b is a preset constant greater than zero, and p is a pre-acquired basic credibility coefficient.
5. The method according to claim 4, characterized in that The method for obtaining the basic credibility coefficient includes: Acquiring historical credibility data of a trusted terminal (110); The ratio of the number of historical credibility data above the first credibility threshold to the total number of all historical credibility data is calculated as the basic credibility coefficient.
6. The method according to claim 1, characterized in that Determining a terminal access strategy of a trusted terminal (110) according to the credibility data comprises: Determining whether the current credibility data is lower than a second credibility threshold; If yes, configure the terminal access policy to stop terminal access; If not, the terminal access policy is configured to maintain terminal access for a preset time period, where the preset time period is determined based on current credibility data and historical credibility data.
7. The method according to claim 6, characterized in that The method for determining the preset duration includes: Where T is the preset duration, w0 is the current credibility data, and w pre2 is the second credibility threshold, v is the pre-acquired credibility change speed, T pre The preset constant duration.
8. The method according to claim 7, characterized in that The method for obtaining the credibility change speed includes: Get the current credibility data and the recent q historical credibility data. Let the current credibility data be w0 and the i-th historical credibility data be w i ; According to the current credibility data and the recent q historical credibility data, q credibility difference data are calculated. Let the i-th credibility difference data be Δw i , then Δw i =w i-1 -w i ; Determine Δw i Are they both greater than zero or not greater than zero? If so, then If not, then Where, t q0 is the duration between the triggering time of the credibility analysis of the qth historical credibility data and the current credibility data, w d is the dth historical credibility data and d <q,t d0 is the duration between the occurrence time of the credibility analysis trigger of the dth historical credibility data and the current credibility data, c is a preset constant, s is the number of credibility difference data greater than zero, and r is the number of credibility difference data not greater than zero.
Citation Information
Patent Citations
Maintenance system for resource access in virtual power plant operation application based on block chain
CN113256139A
Virtual power plant trusted access method and system
CN115801392A
Master-slave block chain-based VPP (Virtual Private Protocol) distributed security trusted authentication implementation method
CN118368067A
Insert for test handler
KR1020210055646A