Virtual power plant trusted terminal access method based on multi-layer blockchain technology
By analyzing the associated information of trusted terminals through multi-layer blockchain technology, determining their credibility, and formulating access strategies, the problems of terminal security and trust in virtual power plants are solved, and the security and reliability of virtual power plants are guaranteed.
Patent Information
- Application Number
- CN202411411417.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2044-10-10
AI Technical Summary
Different trusted terminals in a virtual power plant have different access permissions, so it is necessary to ensure the security and trustworthiness of the terminals to ensure the security of the virtual power plant.
By employing multi-layered blockchain technology, the trustworthiness data of trusted terminals is determined by acquiring and analyzing their associated information, and the terminal access strategy is determined based on the trustworthiness data, including stopping or maintaining terminal access for a preset duration.
Continuously verify the security and trustworthiness of trusted terminals to ensure the security and reliability of the virtual power plant.
Smart Images

Figure CN119520014B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of virtual power plants, in particular to a virtual power plant trusted terminal access method based on multi-layer blockchain technology. BACKGROUND
[0002] A virtual power plant is a power coordination management system that aggregates and optimizes distributed energy resources (DER) such as solar, wind, small hydropower, etc., energy storage systems, controllable loads, electric vehicles, etc. through advanced information communication technology and software systems. It does not have a physical entity, but uses the Internet as a "factory building" and data as "fuel". Through data management, energy resources from different regions and different devices are centralized and reasonably configured and optimized to participate in the power market and grid operation like traditional power plants.
[0003] Due to the aforementioned properties of virtual power plants, only trusted terminals can be allowed to access virtual power plants. Different trusted terminals have different permissions for data access, management, control, configuration, etc. after accessing virtual power plants. In order to ensure the security of virtual power plants, the security and trustworthiness of trusted terminals need to be ensured. SUMMARY
[0004] The present application provides a virtual power plant trusted terminal access method based on multi-layer blockchain technology, which is beneficial to ensure the security and trustworthiness of trusted terminals, and in turn ensures the security of virtual power plants.
[0005] The virtual power plant trusted terminal access method based on multi-layer blockchain technology provided by the present 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 trustworthiness analysis trigger is obtained,
[0007] Obtain terminal association information of the trusted terminal recorded in each layer of blockchain, the terminal association information including terminal identification, blockchain identification, timestamp and information details;
[0008] Obtain all terminal association information carrying the corresponding terminal identification in all layers of blockchain;
[0009] Determine the trustworthiness data of the trusted terminal according to the terminal association information;
[0010] Determine the terminal access strategy of the trusted terminal according to the trustworthiness data, the terminal access strategy including stopping terminal access or keeping terminal access for a preset time length, and the keeping terminal access for a preset time length reflecting generation of a next trustworthiness analysis trigger after a preset time length from a time when the current trustworthiness analysis trigger is triggered.
[0011] By adopting the technical scheme, the credibility data of the trusted terminal can be continuously determined according to the terminal association information of the trusted terminal in the multi-layer blockchain, and then whether the trusted terminal is still trusted is determined according to the credibility data, so as to determine different terminal access strategies of the trusted terminal, and the method is beneficial to guarantee the security and trust degree of the trusted terminal, and then guarantee the security of the virtual power plant.
[0012] Further, the credibility data of the trusted terminal determined according to the terminal association information comprises:
[0013] Obtaining the terminal association information of the trusted terminal within a first specified time length;
[0014] Grouping the terminal association information within the first specified time length according to the blockchain identifier;
[0015] Determining a credibility component according to each group of terminal association information;
[0016] Determining the credibility data of the trusted terminal according to all credibility components.
[0017] Further, the credibility component determined according to each group of terminal association information comprises:
[0018] Based on the pre-constructed detailed black list and detailed white list, the white list association information and the black list association information of each group of terminal association information are determined, and the information data value of the white list association information and the black list association information is determined;
[0019] Supposing that a group of terminal association information has n, the white list association information has n1, and the black list association information has n2, the information data value of the i th white list association information is z1 i , the information data value of the i th black list association information is z 2i , the credibility component is x, then In the formula, a is a preset constant greater than zero.
[0020] Further, the credibility data of the trusted terminal determined according to all credibility components comprises:
[0021] Supposing that there are m credibility components, the i th credibility component is x i , the preset credibility weight of the i th credibility component corresponding to the blockchain is k i , the credibility data is w, then In the formula, b is a preset constant greater than zero, and p is a pre-acquired basic trust coefficient.
[0022] Further, the acquisition method of the basic trust coefficient comprises:
[0023] acquiring historical credibility data of the trusted terminal;
[0024] calculating a ratio of a number of historical credibility data higher than the first credibility threshold to a total number of all historical credibility data as the basic credibility coefficient.
[0025] Further, the method of determining the terminal access policy of the trusted terminal according to the credibility data comprises:
[0026] judging whether the current credibility data is lower than a second credibility threshold;
[0027] if yes, configuring the terminal access policy as stopping terminal access;
[0028] if no, configuring the terminal access policy as keeping terminal access for a preset time length, which is determined according to the current credibility data and the historical credibility data.
[0029] Further, the method of determining the preset time length comprises:
[0030]
[0031] wherein, T is the preset time length, w0 is the current credibility data, w pre2 is the second credibility threshold, v is the pre-acquired credibility change speed, T pre is a preset constant time length.
[0032] Further, the method of acquiring the credibility change speed comprises:
[0033] acquiring the current credibility data and the q historical credibility data, wherein the current credibility data is w0, and the i-th historical credibility data is w i ;
[0034] calculating q credibility difference data according to the current credibility data and the q historical credibility data, wherein the i-th credibility difference data is Δw i , then Δw i = w i-1 - w i ;
[0035] judging whether all the Δw i are greater than zero or are not greater than zero;
[0036] if yes,
[0037] if no,
[0038] wherein, t q0w is a time length between the occurrence time of the trustworthiness analysis trigger of the qth historical trustworthiness data and the current trustworthiness data d t is the dth historical trustworthiness data and d < q d0 w is a time length between the occurrence time of the trustworthiness analysis trigger of the dth historical trustworthiness data and the current trustworthiness data, c is a preset constant, s is a number of trustworthiness difference data greater than zero, and r is a number of trustworthiness difference data not greater than zero.
[0039] In summary, the present application at least contains the following beneficial effects:
[0040] A virtual power plant trusted terminal access method based on multi-layer blockchain technology is provided, which can timely determine trustworthiness data of a trusted terminal, and then determine a terminal access strategy of the trusted terminal according to the trustworthiness data, thereby being beneficial to continuously guarantee the security and trustworthiness of the trusted terminal, and then being beneficial to guarantee the security and reliability of the entire virtual power plant.
[0041] It should be understood that the content described in the summary section is not intended to limit the key or important features of the embodiments of the present application, nor to limit the scope of the present application. Other features of the present application will become apparent through the following description. BRIEF DESCRIPTION OF DRAWINGS
[0042] The above and other features, advantages, and aspects of embodiments of the present application will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
[0043] Figure 1 A schematic diagram showing an exemplary operating environment in which embodiments of the present application can be implemented is shown;
[0044] Figure 2 A flowchart of a virtual power plant trusted terminal access method based on multi-layer blockchain technology in embodiments of the present application is shown. DETAILED DESCRIPTION
[0045] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the scope of protection of the present application.
[0046] In addition, the term "and / or" in this document is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the following three cases: A exists alone, A and B exist together, and B exists alone. In addition, the character " / " in this document generally represents an "or" relationship between the front and rear associated objects.
[0047] The application provides a virtual power plant trusted terminal access method based on multi-layer blockchain technology, which can reasonably and timely verify the trustworthiness data of the trusted terminal, and reasonably determine the terminal access strategy of the trusted terminal, so as to guarantee the security and trustworthiness of the trusted terminal.
[0048] Figure 1 A schematic diagram of an exemplary operating environment in which embodiments of the application can be implemented is shown.
[0049] Referring to Figure 1 , the operating environment includes a virtual power plant cloud platform 120 of a trusted terminal 110, the trusted terminal 110 is in network communication connection with the virtual power plant cloud platform 120, 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 allocates corresponding permissions to the trusted terminal 110.
[0050] Figure 2 A flowchart of a virtual power plant trusted terminal 110 access method based on multi-layer blockchain technology in an embodiment of the application is shown. The method can be executed by the virtual power plant cloud platform 120 in Figure 1 .
[0051] Referring to Figure 2 , the method is executed when the trustworthiness analysis trigger is acquired for each trusted terminal 110, and the method specifically includes the following steps:
[0052] S210: Obtain the terminal association information of the trusted terminal 110 recorded in each layer of blockchain.
[0053] The terminal association information includes terminal identification, blockchain identification, timestamp, and information details. The terminal identification is the unique identification of the trusted terminal 110, the blockchain identification is the unique identification of each layer of blockchain, the timestamp reflects the time when the terminal association information is generated, and the information details are related information submitted by the trusted terminal 110, such as identity information, verification information, behavior information, and the like, reflecting the specific behavior of the trusted terminal 110.
[0054] S220: Obtain all terminal association information carrying the corresponding terminal identification in all layers of blockchain.
[0055] Since the terminal association information all carries the terminal identifier, the terminal identifier of the target trusted terminal 110 can be searched in all the terminal association information, and all the terminal association information of the trusted terminal 110 is determined.
[0056] S230: Determine the trustworthiness data of the trusted terminal 110 according to the terminal association information.
[0057] The method of this step includes: obtaining the terminal association information of the trusted terminal 110 within a first specified time length; grouping the terminal association information within the first specified time length according to the blockchain identifier; determining a trustworthiness component according to each group of terminal association information; and determining the trustworthiness data of the trusted terminal 110 according to all the trustworthiness components.
[0058] Wherein, the method of determining a trustworthiness component according to each group of terminal association information includes: determining the white list association information and the black list association information of each group of terminal association information based on the pre-constructed detailed black list and the detailed white list, and determining the information data value of the white list association information and the black list association information; assuming that a group of terminal association information has n, the white list association information has n1, and the black list association information has n2, the information data value of the i-th white list association information is z 1i , the information data value of the i-th black list association information is z 2i , and the trustworthiness component is x, then In the formula, a is a preset constant greater than zero.
[0059] The method of determining the trustworthiness data of the trusted terminal 110 according to all the trustworthiness components includes: assuming that there are m trustworthiness components, the i-th trustworthiness component is x i , the preset trustworthiness weight of the i-th trustworthiness component corresponding to the blockchain is k i , and the trustworthiness data is w, then In the formula, b is a preset constant greater than zero, and p is a pre-acquired basic trust coefficient.
[0060] Specifically, the method of acquiring the basic trust coefficient includes: acquiring the historical trustworthiness data of the trusted terminal 110; calculating the ratio of the number of historical trustworthiness data higher than the first trustworthiness threshold to the total number of all historical trustworthiness data as the basic trustworthiness coefficient.
[0061] S240: Determine the terminal access strategy of the trusted terminal 110 according to the trustworthiness data.
[0062] The terminal access strategy includes stopping terminal access or keeping terminal access for a preset time length, and the keeping terminal access for a preset time length reflects that the next trustworthiness analysis trigger is generated after a preset time length from the time when the current trustworthiness analysis trigger is triggered.
[0063] The method of the step comprises: judging whether the current credibility data is lower than the second credibility threshold; if yes, configuring the terminal access strategy as stopping terminal access; and if no, configuring the terminal access strategy as keeping terminal access for a preset time length, which is determined according to the current credibility data and the historical credibility data.
[0064] The determination method of the preset time length comprises:
[0065]
[0066] In the formula, T is the preset time length, w0 is the current credibility data, w pre2 is the second credibility threshold, v is the pre-acquired credibility change speed, T pre is the preset constant time length.
[0067] The acquisition method of the credibility change speed comprises:
[0068] The current credibility data and the q historical credibility data are acquired, wherein the current credibility data is w0, and the i-th historical credibility data is w i .
[0069] The q credibility difference data are calculated according to the current credibility data and the q historical credibility data, wherein the i-th credibility difference data is Δw i , w i 0 and w i-1 . i .
[0070] It is judged whether all the Δw i are greater than zero or are not greater than zero.
[0071] If yes, the terminal access strategy is configured as stopping terminal access.
[0072] If no, the terminal access strategy is configured as keeping terminal access for a preset time length.
[0073] In the formula, t q0 is the time length between the occurrence time of the credibility analysis trigger of the q-th historical credibility data and the current credibility data, w d is the d-th historical credibility data and d d0 is the time length between the occurrence time of the credibility analysis trigger of the d-th 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] In summary, the terminal access strategy of each trusted terminal 110 can be determined, which is essentially to continuously verify the security and trustworthiness of the trusted terminal 110, and to determine the terminal access strategy of the trusted terminal 110 according to the verification result, for example, to stop the terminal access and to re-verify after keeping the terminal access for a preset time length. This method is beneficial to guarantee the security and trustworthiness of the trusted terminal 110 in the virtual power plant, and further to guarantee the security of the entire virtual power plant.
[0075] It should be understood that the method is essentially a machine learning model, and the parameters in the machine learning model can be trained according to the actual trustworthiness feedback of the trusted terminal 110 (for example, whether there is a harmful behavior). The trainable parameters include, for example, the preset time length, the first specified time length, the information data value, a, p, the second trustworthiness threshold, the preset constant time length, q, c, and the like. During long-term use, the parameters of the machine learning model are trained, so that the terminal access strategy of each trusted terminal 110 analyzed by the method is more reasonable, thereby more reliably guaranteeing the security and trustworthiness of the trusted terminal 110, and further guaranteeing the security and trustworthiness of the virtual power plant.
[0076] It should be noted that, for the foregoing method embodiments, in order to simply describe, they are all expressed as a series of action combinations, but those skilled in the art should know that the application is not limited by the order of the described actions, because according to the embodiments of the application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the application.
[0077] In summary, the application at least includes the following beneficial effects:
[0078] A virtual power plant trusted terminal 110 access method based on multi-layer blockchain technology is provided. The method can timely determine the trustworthiness data of the trusted terminal 110, and then determine the subsequent terminal access strategy of the trusted terminal 110 according to the trustworthiness data, which is beneficial to continuously guarantee the security and trustworthiness of the trusted terminal 110, and further to guarantee the security and reliability of the entire virtual power plant.
[0079] The above description is only the preferred embodiments of the application and the explanation of the applied technical principles. Those skilled in the art should understand that the disclosed range in the application is not limited to the technical solutions formed by the specific combinations of the above technical features, and also covers other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features disclosed in the application (but not limited to) having similar functions to form technical solutions.
Claims
1. A method for trusted terminal access to a virtual power plant based on multi-layer blockchain technology, characterized in that, include: For each trusted terminal (110), upon receiving a trustworthiness analysis trigger, Obtain the terminal association information of the trusted terminal (110) recorded in each layer of the blockchain. The terminal association information includes the terminal identifier, blockchain identifier, timestamp, and information details. Obtain all terminal association information carrying the corresponding terminal identifier within all layers of the blockchain; The credibility data of the trusted terminal (110) is determined based on the terminal association information; Based on the credibility data, a terminal access strategy for the trusted terminal (110) is determined. The terminal access strategy includes stopping terminal access or maintaining terminal access for a preset duration. The preset duration of maintaining terminal access reflects the generation of the next credibility analysis trigger after a preset duration at the current credibility analysis trigger time.
2. The method according to claim 1, characterized in that, The trustworthiness data for determining the trusted terminal (110) based on the terminal association information includes: Obtain the terminal association information of the trusted terminal (110) within a first specified time period; The terminal association information within a first specified time period is grouped according to the blockchain identifier; A credibility component is determined based on each set of terminal association information; The credibility data of the trusted terminal (110) is determined based on all credibility components.
3. The method according to claim 2, characterized in that, The step of determining a confidence component based on each set of terminal association information includes: Based on the pre-built detailed blacklist and detailed whitelist, determine the whitelist association information and blacklist association information for each group of terminal association information, and determine the information data values of the whitelist association information and blacklist association information. Suppose there are n terminal association information entries, n1 whitelist association information entries, and n2 blacklist association information entries. The data value of the i-th whitelist association information entry is z. 1i The information data value of the i-th blacklist associated information is z. 2i If the confidence component is x, then In the formula, f = 'a' is a preset constant that is greater than zero.
4. The method according to claim 2, characterized in that, The process of determining the credibility data of the trusted terminal (110) based on all credibility components includes: Suppose there are m confidence components, and the i-th confidence component is x. i The i-th trust component corresponds to a preset trust weight of k in the blockchain. i If the credibility data is w, then In the formula, b is a preset constant greater than zero, and p is the pre-acquired basic confidence coefficient.
5. The method according to claim 4, characterized in that, The method for obtaining the basic credibility coefficient includes: Obtain historical trustworthiness data for trusted terminal (110); The basic credibility coefficient is calculated as the ratio of the number of historical credibility data points that are higher than the first credibility threshold to the total number of all historical credibility data points.
6. The method according to claim 1, characterized in that, The method for determining the terminal access strategy of the trusted terminal (110) based on the trustworthiness data includes: Determine whether the current credibility data is below the second credibility threshold; If so, configure the terminal access policy to stop terminal access; If not, the terminal access policy is configured to maintain terminal access for a preset duration, which is determined based on current and historical credibility data.
7. The method according to claim 6, characterized in that, The method for determining the preset duration includes: In the formula, T is the preset duration, w0 is the current credibility data, and w pre2 The second credibility threshold is given, v is the rate of change of the pre-obtained credibility, and T is the second credibility threshold. pre This is a preset constant duration.
8. The method according to claim 7, characterized in that, The method for obtaining the rate of change of credibility includes: Obtain the current credibility data and the last q historical credibility data. Let the current credibility data be w0, and the i-th historical credibility data be w. i ; Based on the current credibility data and the last 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 all values greater than zero or all values not greater than zero? If so, then If not, then In the formula, t q0 w represents the duration between the time when the credibility analysis of the q-th historical credibility data point and the current credibility data point is triggered. d Let d be the historical credibility data and d <q,t d0 Let be the time interval between the occurrence of the credibility analysis triggered by the d-th historical credibility data and the current credibility data, c be a preset constant, s be the number of credibility difference data with a value greater than zero, and r be the number of credibility difference data with a value less than zero.
Citation Information
Patent Citations
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
Cited By
Virtual power plant data aggregation method based on edge calculation and consensus mechanism
CN121567708A