CN113093566A - Operation control method and system of virtual power plant, computer equipment and storage medium - Google Patents

Operation control method and system of virtual power plant, computer equipment and storage medium Download PDF

Info

Publication number
CN113093566A
CN113093566A CN202110237975.6A CN202110237975A CN113093566A CN 113093566 A CN113093566 A CN 113093566A CN 202110237975 A CN202110237975 A CN 202110237975A CN 113093566 A CN113093566 A CN 113093566A
Authority
CN
China
Prior art keywords
power plant
virtual power
algorithm
terminal
signal sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110237975.6A
Other languages
Chinese (zh)
Other versions
CN113093566B (en
Inventor
庞宁
黄安子
李颖杰
陈喆
李冰
王�琦
李强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Power Supply Bureau Co Ltd
Original Assignee
Shenzhen Power Supply Bureau Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Power Supply Bureau Co Ltd filed Critical Shenzhen Power Supply Bureau Co Ltd
Priority to CN202110237975.6A priority Critical patent/CN113093566B/en
Publication of CN113093566A publication Critical patent/CN113093566A/en
Application granted granted Critical
Publication of CN113093566B publication Critical patent/CN113093566B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for AC mains or AC distribution networks
    • H02J3/38Arrangements for parallely feeding a single network by two or more generators, converters or transformers
    • H02J3/46Controlling of the sharing of output between the generators, converters, or transformers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Automation & Control Theory (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明提出一种本发明提供一种虚拟电厂的运行控制方法、系统、计算机设备和存储介质,通过特别的运行控制方法流程,可以使得第二虚拟电厂终端执行的第一电量分配策略是安全的,有保证的,且无需高算力的主控端的配合,并经由了多个虚拟电厂终端的验证,因此提高了电网运行的安全性、整体和局部的控制准确性、降低了运行成本。

Figure 202110237975

The present invention proposes an operation control method, system, computer equipment and storage medium for a virtual power plant. Through a special operation control method process, the first power distribution strategy executed by the terminal of the second virtual power plant can be made safe , which is guaranteed and does not require the cooperation of the main control terminal with high computing power, and has been verified by multiple virtual power plant terminals, thus improving the security of power grid operation, the overall and local control accuracy, and reducing operating costs.

Figure 202110237975

Description

Operation control method and system of virtual power plant, computer equipment and storage medium
Technical Field
The invention relates to the technical field of virtual power plants, in particular to an operation control method, an operation control system, computer equipment and a storage medium of a virtual power plant.
Background
The virtual power plant is a power supply coordination management system participating in the operation of a power market and a power grid, and the application of the virtual power plant is beneficial to adjusting power resources. However, the traditional operation control method of the virtual power plant calculates the situation of power resource shortage of each area of the power grid, and then carries out adjustment and power price regulation. The traditional operation control method of the virtual power plant has low control accuracy in a local area and is very dependent on the computing power of a main control end, so the operation cost is high and the accuracy is low.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an operation control method, a system, computer equipment and a storage medium for a virtual power plant; the cost of running control calculations can be increased and the reliability of the results improved.
According to a first aspect of the present invention, there is provided an operation control method for a virtual power plant, applied in a first virtual power plant terminal, comprising the steps of:
s1, performing signal acquisition operation on an environment corresponding to the first virtual power plant terminal by adopting a preset first sensor array to obtain a first sensing signal sequence; wherein the first sensor array comprises at least a temperature sensor, a humidity sensor, and an electrical signal sensor of an electrical energy storage;
step S2, calling a first algorithm corresponding to the first sensing signal sequence and used for calculating an electric quantity distribution strategy;
step S3, a preset asymmetric key consisting of a first asymmetric public key and a first asymmetric private key is called; wherein the first asymmetric public key is disclosed externally;
s4, selecting three virtual power plant terminals from other virtual power plant terminals according to a preset terminal screening method; the default algorithms in the three virtual power plant terminals are different from the first algorithm;
step S5, the first sensing signal sequence, the first algorithm and the first asymmetric private key are respectively sent to the selected three virtual power plant terminals, and confirmation signals returned by the selected three virtual power plant terminals are respectively obtained;
s6, acquiring an encrypted second sensing signal sequence sent by a second virtual power plant terminal; the encrypted second sensing signal sequence is encrypted through a second asymmetric public key; the second sensing signal sequence is obtained by the second virtual power plant terminal by adopting a preset second sensor array to perform signal acquisition operation on an environment corresponding to the second virtual power plant terminal; the second virtual power plant terminal does not belong to the selected three virtual power plant terminals;
s7, acquiring an encrypted second algorithm sent by a third virtual power plant terminal; the encrypted second algorithm is encrypted via a second asymmetric public key; the second algorithm is a default algorithm of the third virtual power plant terminal for calculating the electric quantity distribution strategy; the third virtual power plant terminal does not belong to the selected three virtual power plant terminals;
step S8, sending a key obtaining request to a fourth virtual power plant terminal; the key obtaining request is used for requesting to obtain a second asymmetric private key corresponding to the second asymmetric public key, the second asymmetric private key is prestored in the fourth virtual power plant terminal, and the confirmation signal is hidden in the key obtaining request; the fourth virtual power plant terminal does not belong to the selected three virtual power plant terminals;
step S9, receiving a second asymmetric private key sent by the fourth virtual power plant terminal according to the key obtaining request; the fourth virtual power plant terminal sends the second asymmetric private key under the triggering conditions that: extracting the confirmation signal and verifying the confirmation signal to be correct;
step S10, using the second asymmetric private key to decrypt the encrypted second sensing signal sequence and the encrypted second algorithm, respectively, so as to obtain a decrypted second sensing signal sequence and a decrypted second algorithm;
step S11, calculating a first electric quantity distribution strategy corresponding to a second sensing signal sequence by using the second algorithm and taking the second sensing signal sequence as input;
s12, acquiring n electric quantity distribution strategies which are respectively calculated by n virtual power plant terminals and correspond to the second sensing signal sequence; the n virtual power plant terminals do not adopt the self default algorithm of each virtual power plant terminal in the respective calculation process; n is an integer greater than 3;
step S13, respectively calculating a similarity between the first power distribution policy and any one of the n power distribution policies according to a preset similarity calculation method, thereby obtaining n similarity values;
step S14, obtaining the dissimilarity quantity smaller than a preset similarity threshold in the n similarity values, and judging whether the dissimilarity quantity is larger than a preset quantity threshold;
and S15, if the dissimilar quantity is not larger than a preset quantity threshold value, sending the first electric quantity distribution strategy to the second virtual power plant terminal, and requiring the second virtual power plant terminal to execute the first electric quantity distribution strategy.
Preferably, the step S4 further includes:
s401, obtaining confidence values corresponding to all virtual power plant terminals respectively, and excluding the virtual power plant terminals with the confidence values smaller than a preset confidence threshold value, so as to obtain a plurality of optional terminals, wherein: presetting a corresponding confidence value for each virtual power plant terminal;
s402, randomly selecting three virtual power plant terminals from the plurality of selectable terminals; wherein the default algorithms in the three virtual power plant terminals are all different from the first algorithm.
Preferably, before the step S7, the method further includes:
step S61, dividing the code corresponding to the second algorithm into a plurality of blocks by the third virtual power plant terminal;
s62, acquiring the address of the fourth virtual power plant terminal, splitting the address of the fourth virtual power plant terminal, and attaching the split address of the fourth virtual power plant terminal to the designated position of at least one of the blocks to obtain a plurality of blocks with addresses;
step S63, performing a first hiding operation on the addressed blocks to disorder the order of the blocks, thereby obtaining a disordered block group;
step S64, carrying out first encryption processing on the disordered block group by adopting the second asymmetric public key to obtain an encrypted disordered block group;
step S65, a preset image file is called, and second hiding processing operation is carried out on the image file and the encrypted disordered block group, so that the encrypted disordered block group is hidden in the image file in an embedded mode, and a hidden image file is obtained;
and step S66, carrying out second encryption processing on the hidden image file by adopting the second asymmetric public key to obtain an encrypted image file, and recording the encrypted image file as an encrypted carrier of a second algorithm.
Preferably, after the step S12, the method further includes:
s121, respectively acquiring an algorithm and a sensing signal sequence adopted by each of the n virtual power plant terminals in the calculation process;
step S122, respectively judging whether the algorithms adopted by each of the n virtual power plant terminals in the calculation process are different, judging whether the sensing signal sequences adopted by each of the n virtual power plant terminals in the calculation process are second sensing signal sequences, and judging whether the algorithms adopted by each of the n virtual power plant terminals in the calculation process are not the default algorithms of the virtual power plant terminals;
step S123, if the algorithms adopted by each of the n virtual power plant terminals in the calculation process are different, the sensing signal sequence adopted by each of the n virtual power plant terminals in the calculation process is a second sensing signal sequence, and the algorithms adopted by each of the n virtual power plant terminals in the calculation process are not default algorithms of the virtual power plant terminals, generating a similarity calculation instruction, wherein the similarity calculation instruction is used for instructing that the similarity between the first electric quantity distribution strategy and any one of the n virtual power plant terminals is calculated according to a preset similarity calculation method.
Preferably, the step S13 further includes:
step S131, according to a preset vector mapping method, mapping the first electric quantity distribution strategy into a first vector, and mapping the n electric quantity distribution strategies into a second vector, a third vector, … and an n +1 th vector;
step S132, a preset m similarity calculation method is called, and the second vector, the third vector and the (n + 1) th vector are divided into m sets, wherein m is an integer smaller than n +1 and larger than 2; the m similarity calculation methods include a first similarity calculation method, a second similarity calculation method, and an m-th similarity calculation method; the m sets include a first set, a second set, through an m set;
step S133, according to the first similarity calculation method, calculating a similarity value between the first vector and each member in the first set, thereby obtaining a first similarity value sequence;
step S134, calculating a similarity value between the first vector and each member in the second set according to the second similarity calculation method, thereby obtaining a second similarity value sequence;
s135, sequentially calculating to respectively obtain a third similarity value sequence to an m-1 similarity value sequence;
step S136, according to the mth similarity calculation method, calculating the similarity value between the first vector and each member in the mth set, thereby obtaining an mth similarity value sequence;
step S137, summarizing the first similarity value sequence, the second similarity value sequence and the nth similarity value sequence to obtain a total similarity value sequence;
s138, acquiring a confidence value total sequence corresponding to the similarity value total sequence according to a preset corresponding relation between the similarity value and a virtual power plant terminal and the confidence value;
and step S139, performing product processing on the similarity value total sequence and the confidence value total sequence in a manner of multiplying corresponding members to obtain a product sequence, and marking each member in the product sequence as the similarity between the first electric quantity distribution strategy and any one of the n electric quantity distribution strategies respectively, so as to obtain n similarity values.
Preferably, the step S14 further includes:
and S141, if the dissimilar quantity is larger than a preset quantity threshold value, reducing a confidence value corresponding to the second virtual power plant terminal.
Accordingly, as another aspect of the present invention, there is also provided an operation control system of a virtual power plant, applied to a first virtual power plant terminal, including:
the first sensing signal sequence acquisition unit is used for acquiring signals of an environment corresponding to the first virtual power plant terminal by adopting a preset first sensor array so as to obtain a first sensing signal sequence; wherein the first sensor array comprises at least a temperature sensor, a humidity sensor, and an electrical signal sensor of an electrical energy storage;
a first algorithm calling unit, configured to call a first algorithm corresponding to the first sensing signal sequence; the first algorithm is used for calculating a corresponding electric quantity distribution strategy by taking the sensing signal sequence as input;
the asymmetric key calling unit is used for calling a preset asymmetric key consisting of a first asymmetric public key and a first asymmetric private key; wherein the first asymmetric public key is disclosed to the outside;
the terminal screening unit is used for selecting three virtual power plant terminals from all the virtual power plant terminals according to a preset terminal screening method; the default algorithms in the three virtual power plant terminals are different from the first algorithm;
the confirmation signal acquisition unit is used for respectively sending the first sensing signal sequence, the first algorithm and the first asymmetric private key to the selected three virtual power plant terminals and respectively acquiring confirmation signals returned by the selected three virtual power plant terminals;
the second sensing signal sequence acquisition unit is used for acquiring an encrypted second sensing signal sequence sent by a second virtual power plant terminal; the encrypted second sensing signal sequence is encrypted through a second asymmetric public key; the second sensing signal sequence is obtained by the second virtual power plant terminal by adopting a preset second sensor array to perform signal acquisition operation on an environment corresponding to the second virtual power plant terminal; the second virtual power plant terminal does not belong to the selected three virtual power plant terminals;
the encrypted second algorithm obtaining unit is used for obtaining an encrypted second algorithm sent by a third virtual power plant terminal; the encrypted second algorithm is encrypted via a second asymmetric public key; the second algorithm is used for calculating a corresponding electric quantity distribution strategy by taking the sensing signal sequence as input; the second algorithm is a default algorithm of the third virtual power plant terminal; the third virtual power plant terminal does not belong to the selected three virtual power plant terminals;
the key acquisition request sending unit is used for sending a key acquisition request to the fourth virtual power plant terminal; the key obtaining request is used for requesting to obtain a second asymmetric private key corresponding to the second asymmetric public key, the second asymmetric private key is prestored in the fourth virtual power plant terminal, and the confirmation signal is hidden in the key obtaining request; the fourth virtual power plant terminal does not belong to the selected three virtual power plant terminals;
the second asymmetric private key receiving unit is used for receiving a second asymmetric private key sent by the fourth virtual power plant terminal according to the key obtaining request; the fourth virtual power plant terminal sends the second asymmetric private key under the triggering condition that the confirmation signal is extracted and verified to be correct;
the decryption unit is used for respectively decrypting the encrypted second sensing signal sequence and the encrypted second algorithm by using the second asymmetric private key so as to obtain the decrypted second sensing signal sequence and the decrypted second algorithm;
the first electric quantity distribution strategy calculation unit is used for calculating a first electric quantity distribution strategy corresponding to a second sensing signal sequence by adopting the second algorithm and taking the second sensing signal sequence as input;
the electric quantity distribution strategy acquisition unit is used for acquiring n electric quantity distribution strategies which are respectively calculated by n virtual power plant terminals and correspond to the second sensing signal sequence; the n virtual power plant terminals do not adopt a default algorithm of the virtual power plant terminals in the respective calculation process; n is an integer greater than 3;
the similarity calculation unit is used for calculating the similarity between the first electric quantity distribution strategy and any one of the n electric quantity distribution strategies according to a preset similarity calculation method so as to obtain n similarity values;
the dissimilarity number judging unit is used for acquiring the dissimilarity number smaller than a preset similarity threshold value in the n similarity values and judging whether the dissimilarity number is larger than the preset number threshold value;
and the first electric quantity distribution strategy sending unit is used for sending the first electric quantity distribution strategy to the second virtual power plant terminal and requesting the second virtual power plant terminal to execute the first electric quantity distribution strategy if the dissimilar quantity judging unit judges that the dissimilar quantity is not greater than a preset quantity threshold value.
As a further aspect of the present invention, there is also provided a computer device comprising a memory storing a computer program and a processor implementing the steps of the aforementioned method when executing the computer program.
As a further aspect of the present invention, there is also provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the aforementioned method.
The implementation of the invention has the following beneficial effects:
the invention provides an operation control method, a system, computer equipment and a storage medium of a virtual power plant, wherein a first sensor array is adopted to obtain a first sensing signal sequence, a first algorithm and an asymmetric key are called, three virtual power plant terminals are selected, the first sensing signal sequence, the first algorithm and the first asymmetric key are respectively sent to the selected three virtual power plant terminals, and an encrypted second sensing signal sequence sent by a second virtual power plant terminal is obtained; acquiring an encrypted second algorithm sent by a third virtual power plant terminal; sending a key acquisition request to a fourth virtual power plant terminal; receiving a second asymmetric private key sent by the fourth virtual power plant terminal according to the key obtaining request; carrying out decryption processing so as to obtain a decrypted second sensing signal sequence and a second algorithm; calculating a first electric quantity distribution strategy corresponding to a second sensing signal sequence by adopting the second algorithm and taking the second sensing signal sequence as input; acquiring n electric quantity distribution strategies corresponding to the second sensing signal sequence and respectively calculated by n virtual power plant terminals; respectively calculating n similarity values; obtaining dissimilar quantities; and if the dissimilar quantity is not greater than a preset quantity threshold value, sending the first electric quantity distribution strategy to the second virtual power plant terminal, and requiring the second virtual power plant terminal to execute the first electric quantity distribution strategy. Therefore, the first electric quantity distribution strategy executed by the second virtual power plant terminal is safe and guaranteed, the cooperation of a high-calculation-capacity main control terminal is not needed, and the verification of the plurality of virtual power plant terminals is carried out, so that the operation safety, the overall and local control accuracy of the power grid are improved, and the operation cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is within the scope of the present invention for those skilled in the art to obtain other drawings based on the drawings without inventive exercise.
FIG. 1 is a partial main flow diagram of an embodiment of a method for controlling operation of a virtual power plant according to the present invention;
FIG. 2 is a schematic flow chart of another part of an embodiment of a method for controlling operation of a virtual power plant according to the present invention;
fig. 3 is a schematic structural diagram of an embodiment of a computer device provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1 and 2, a main flow diagram of an embodiment of an operation control method of a virtual power plant according to the present invention is shown. In this embodiment, the method is applied to a first virtual power plant terminal, and includes the following steps:
s1, performing signal acquisition operation on an environment corresponding to the first virtual power plant terminal by adopting a preset first sensor array to obtain a first sensing signal sequence; wherein the first sensor array comprises at least a temperature sensor, a humidity sensor, and an electrical signal sensor of an electrical energy storage;
step S2, calling a first algorithm corresponding to the first sensing signal sequence; the first algorithm is used for calculating a corresponding electric quantity distribution strategy by taking the sensing signal sequence as input;
step S3, a preset asymmetric key consisting of a first asymmetric public key and a first asymmetric private key is called; wherein the first asymmetric public key is disclosed externally;
s4, selecting three virtual power plant terminals from all the virtual power plant terminals according to a preset terminal screening method; wherein the default algorithms in the three virtual power plant terminals are all different from the first algorithm;
step S5, the first sensing signal sequence, the first algorithm and the first asymmetric private key are respectively sent to the selected three virtual power plant terminals, and confirmation signals returned by the selected three virtual power plant terminals are respectively obtained;
s6, acquiring an encrypted second sensing signal sequence sent by a second virtual power plant terminal; the encrypted second sensing signal sequence is encrypted through a second asymmetric public key; the second sensing signal sequence is obtained by the second virtual power plant terminal by adopting a preset second sensor array to perform signal acquisition operation on an environment corresponding to the second virtual power plant terminal; the second virtual power plant terminal does not belong to the selected three virtual power plant terminals;
s7, acquiring an encrypted second algorithm sent by a third virtual power plant terminal; the encrypted second algorithm is encrypted via a second asymmetric public key; the second algorithm is used for calculating a corresponding electric quantity distribution strategy by taking the sensing signal sequence as input; the second algorithm is a default algorithm of the third virtual power plant terminal; the third virtual power plant terminal does not belong to the selected three virtual power plant terminals;
step S8, sending a key obtaining request to a fourth virtual power plant terminal; the key obtaining request is used for requesting to obtain a second asymmetric private key corresponding to the second asymmetric public key, the second asymmetric private key is prestored in the fourth virtual power plant terminal, and the confirmation signal is hidden in the key obtaining request; the fourth virtual power plant terminal does not belong to the selected three virtual power plant terminals;
step S9, receiving a second asymmetric private key sent by the fourth virtual power plant terminal according to the key obtaining request; the fourth virtual power plant terminal sends the second asymmetric private key under the triggering condition that the confirmation signal is extracted and verified to be correct;
step S10, using the second asymmetric private key to decrypt the encrypted second sensing signal sequence and the encrypted second algorithm, respectively, so as to obtain a decrypted second sensing signal sequence and a decrypted second algorithm;
step S11, calculating a first electric quantity distribution strategy corresponding to a second sensing signal sequence by using the second algorithm and taking the second sensing signal sequence as input;
s12, acquiring n electric quantity distribution strategies which are respectively calculated by n virtual power plant terminals and correspond to the second sensing signal sequence; the n virtual power plant terminals do not adopt a default algorithm of the virtual power plant terminals in the respective calculation process; n is an integer greater than 3;
step S13, respectively calculating a similarity between the first power distribution policy and any one of the n power distribution policies according to a preset similarity calculation method, thereby obtaining n similarity values;
step S14, obtaining the dissimilarity quantity smaller than a preset similarity threshold in the n similarity values, and judging whether the dissimilarity quantity is larger than a preset quantity threshold;
and S15, if the dissimilar quantity is not larger than a preset quantity threshold value, sending the first electric quantity distribution strategy to the second virtual power plant terminal, and requiring the second virtual power plant terminal to execute the first electric quantity distribution strategy.
As described in the above step S1-step S5, a preset first sensor array is adopted to perform signal acquisition operation on the environment corresponding to the first virtual power plant terminal, so as to obtain a first sensing signal sequence; wherein the first sensor array comprises at least a temperature sensor, a humidity sensor, and an electrical signal sensor of an electrical energy storage; calling a first algorithm corresponding to the first sensing signal sequence; the first algorithm is used for calculating a corresponding electric quantity distribution strategy by taking the sensing signal sequence as input; calling a preset asymmetric key consisting of a first asymmetric public key and a first asymmetric private key; wherein the first asymmetric public key is disclosed externally; selecting three virtual power plant terminals from all the virtual power plant terminals according to a preset terminal screening method; wherein the default algorithms in the three virtual power plant terminals are all different from the first algorithm; and respectively sending the first sensing signal sequence, the first algorithm and the first asymmetric private key to the selected three virtual power plant terminals, and respectively acquiring confirmation signals returned by the selected three virtual power plant terminals. The implementation subject of the invention is a first virtual power plant terminal. The first sensor array is arranged in a region corresponding to the first virtual power plant terminal, and the region is provided with at least one of an electricity utilization facility, an electricity generation facility and/or an electricity storage facility. Since the usage of the electrical energy is related to the environment, for example, information such as temperature, humidity and the existing electrical quantity, the detected first sensing signal sequence can be used as the basis of the electrical quantity distribution strategy. For example, in the simplest case, the power consumption facility such as an air conditioner is frequently used in hot weather in summer, and consumes much power, which affects the power distribution strategy. The electric signal sensor of the electric energy storage is an electric signal sensor of the electric energy storage arranged in an environment corresponding to the first virtual power plant terminal, and is, for example, a storage battery. Then, calling a first algorithm corresponding to the first sensing signal sequence; the first algorithm is used for calculating a corresponding electric quantity distribution strategy by taking the sensing signal sequence as input. The collected signals can affect the electric quantity distribution strategy, but how the collected signals affect the electric quantity distribution strategy is directly related to the algorithm, and the first algorithm is a default algorithm of the first virtual power plant terminal, and can be calculated in any feasible manner, which is not described herein again. Then, a preset asymmetric key consisting of a first asymmetric public key and a first asymmetric private key is called; wherein the first asymmetric public key is exposed such that the first asymmetric public key is accessible by any terminal but the first asymmetric private key is not exposed. The asymmetric key of the present invention is also particular, and it is a feature of the present invention that the key is not specially designed, but that the execution subject of the encryption and decryption process of the key is not the first virtual power plant terminal having the key pair, i.e. the original virtual power plant terminal having the key pair, and the encryption and decryption operation is not performed using the key pair. Selecting three virtual power plant terminals from all the virtual power plant terminals according to a preset terminal screening method; wherein the default algorithms in the three virtual power plant terminals are all different from the first algorithm; and respectively sending the first sensing signal sequence, the first algorithm and the first asymmetric private key to the selected three virtual power plant terminals, and respectively acquiring confirmation signals returned by the selected three virtual power plant terminals. The selected three virtual plant terminals are not the first virtual plant terminal, and it is important that the default algorithms in the three virtual plant terminals are all different from the first algorithm, and further, the default algorithms in the three virtual plant terminals are different from each other. Therefore, the first sensing signal sequence, the first algorithm and the first asymmetric private key are respectively sent to the selected three virtual power plant terminals, so that the virtual power plant terminals receiving the first algorithm can be guaranteed to be capable of calculating by using the first algorithm (thereby avoiding the situation that the virtual power plant terminals adopt self default algorithms and are not accepted), and confirmation signals returned by the selected three virtual power plant terminals are required to be respectively acquired, which is the basis that the first virtual power plant terminals have the permission of subsequent calculation.
Further, the step S4 further includes:
s401, obtaining confidence values corresponding to all virtual power plant terminals respectively, and excluding the virtual power plant terminals with the confidence values smaller than a preset confidence threshold value, so as to obtain a plurality of optional terminals, wherein: presetting a corresponding confidence value for each virtual power plant terminal;
s402, randomly selecting three virtual power plant terminals from the plurality of selectable terminals; wherein the default algorithms in the three virtual power plant terminals are all different from the first algorithm.
And the step S14 further comprises:
and S141, if the dissimilar quantity is larger than a preset quantity threshold value, reducing a confidence value corresponding to the second virtual power plant terminal.
Therefore, the process of excellence and disadvantage of the closed loop is realized, and the high-quality and high-reliability virtual terminal chain is finally formed. Through the design of the confidence value, the feedback of the reliability is formed in the analysis and calculation process of the final electric quantity distribution strategy, a perfect closed loop is formed, and the suspected virtual power plant terminal is excluded from the calculation chain of the electric quantity distribution strategy in the process, so that the final calculation result is more and more accurate and the reliability is higher and higher along with the lapse of time.
As described in the above step S6-step S10, the encrypted second sensing signal sequence sent by the second virtual power plant terminal is obtained; the encrypted second sensing signal sequence is encrypted through a second asymmetric public key; the second sensing signal sequence is obtained by the second virtual power plant terminal by adopting a preset second sensor array to perform signal acquisition operation on an environment corresponding to the second virtual power plant terminal; the second virtual power plant terminal does not belong to the selected three virtual power plant terminals; acquiring an encrypted second algorithm sent by a third virtual power plant terminal; the encrypted second algorithm is encrypted via a second asymmetric public key; the second algorithm is used for calculating a corresponding electric quantity distribution strategy by taking the sensing signal sequence as input; the second algorithm is a default algorithm of the third virtual power plant terminal; the third virtual power plant terminal does not belong to the selected three virtual power plant terminals; sending a key acquisition request to a fourth virtual power plant terminal; the key obtaining request is used for requesting to obtain a second asymmetric private key corresponding to the second asymmetric public key, the second asymmetric private key is prestored in the fourth virtual power plant terminal, and the confirmation signal is hidden in the key obtaining request; the fourth virtual power plant terminal does not belong to the selected three virtual power plant terminals; receiving a second asymmetric private key sent by the fourth virtual power plant terminal according to the key obtaining request; the fourth virtual power plant terminal sends the second asymmetric private key under the triggering condition that the confirmation signal is extracted and verified to be correct; and respectively decrypting the encrypted second sensing signal sequence and the encrypted second algorithm by using the second asymmetric private key, so as to obtain the decrypted second sensing signal sequence and the decrypted second algorithm.
The process before step S6 is a process in which the first virtual power plant terminal obtains the calculation authority, that is, only if the virtual power plant terminal provides the sensing signal sequence, the algorithm, and the key pair, it may be an executor of calculating the power distribution policy based on other sensing signal sequences. This is an important design that enables the invention to have a virtual plant terminal with the power to participate in the method of the invention without special design. Acquiring an encrypted second sensing signal sequence sent by a second virtual power plant terminal to serve as a calculation basis, wherein the encrypted second sensing signal sequence is encrypted through a second asymmetric public key; the second sensing signal sequence is obtained by the second virtual power plant terminal by adopting a preset second sensor array to perform signal acquisition operation on an environment corresponding to the second virtual power plant terminal; the second virtual power plant terminal does not belong to the selected three virtual power plant terminals. Then, acquiring an encrypted second algorithm sent by a third virtual power plant terminal; the encrypted second algorithm is encrypted via a second asymmetric public key; the second algorithm is used for calculating a corresponding electric quantity distribution strategy by taking the sensing signal sequence as input; the second algorithm is a default algorithm of the third virtual power plant terminal; the third virtual power plant terminal does not belong to the selected three virtual power plant terminals. Sending a key acquisition request to a fourth virtual power plant terminal; the key obtaining request is used for requesting to obtain a second asymmetric private key corresponding to the second asymmetric public key, the second asymmetric private key is prestored in the fourth virtual power plant terminal, and the confirmation signal is hidden in the key obtaining request; the fourth virtual power plant terminal does not belong to the selected three virtual power plant terminals. Receiving a second asymmetric private key sent by the fourth virtual power plant terminal according to the key obtaining request; the triggering condition for the fourth virtual power plant terminal to send the second asymmetric private key is that the confirmation signal is extracted and verified to be correct, and finally a special state is formed, namely, the first virtual power plant terminal obtains the encrypted sensing signal sequence, the encrypted algorithm and the asymmetric private key, and the special point is that the obtained encrypted sensing signal sequence, the encrypted algorithm and the asymmetric private key are from different virtual power plant terminals, and the public key adopted by encryption is not the public key of the terminal sending data, so that the security of data transmission is greatly increased, even if a data counterfeiter exists, the data counterfeiting is difficult to be carried out completely, the information security is guaranteed, and the overall calculation reliability is improved. Therefore, the encrypted second sensing signal sequence and the encrypted second algorithm are respectively decrypted by using the second asymmetric private key, so that the decrypted second sensing signal sequence and the decrypted second algorithm are obtained, and the first virtual power plant terminal can perform a specific calculation process. It should be noted that the second asymmetric private key is pre-stored in the fourth virtual power plant terminal, and the confirmation signal is hidden in the key acquisition request, which is necessary, and only if the confirmation signal is verified to be correct, the first virtual power plant terminal can acquire the private key.
Further, before the step S7, the method further includes:
step S61, dividing the code corresponding to the second algorithm into a plurality of blocks by the third virtual power plant terminal;
s62, acquiring the address of the fourth virtual power plant terminal, splitting the address of the fourth virtual power plant terminal, and attaching the split address of the fourth virtual power plant terminal to the designated position of at least one of the blocks to obtain a plurality of blocks with addresses;
step S63, performing a first hiding operation on the addressed blocks to disorder the order of the blocks, thereby obtaining a disordered block group;
step S64, carrying out first encryption processing on the disordered block group by adopting the second asymmetric public key to obtain an encrypted disordered block group;
step S65, a preset image file is called, and second hiding processing operation is carried out on the image file and the encrypted disordered block group, so that the encrypted disordered block group is hidden in the image file in an embedded mode, and a hidden image file is obtained;
and step S66, carrying out second encryption processing on the hidden image file by adopting the second asymmetric public key to obtain an encrypted image file, and recording the encrypted image file as an encrypted carrier of a second algorithm.
Therefore, the information security is further improved in a mode of multilayer hiding, multilayer encryption and image file hiding, and the address of the fourth virtual power plant terminal is hidden in the image file, so that the fourth virtual power plant terminal is not exposed to the outside, and only the third virtual power plant terminal and the successfully decrypted first virtual power plant terminal can obtain the image file, and the security is further improved. The method adopts the modes of code division, address hiding, disorder, primary encryption, image file hiding and secondary encryption, so that the image file is only displayed as a common image file in appearance, and the information with higher security level is hidden actually.
As described in the above step S11-step S15, the second algorithm is adopted, and a second sensing signal sequence is used as an input to calculate a first electric quantity distribution strategy corresponding to the second sensing signal sequence; acquiring n electric quantity distribution strategies corresponding to the second sensing signal sequence and respectively calculated by n virtual power plant terminals; the n virtual power plant terminals do not adopt a default algorithm of the virtual power plant terminals in the respective calculation process; n is an integer greater than 3; according to a preset similarity calculation method, respectively calculating the similarity between the first electric quantity distribution strategy and any one of the n electric quantity distribution strategies, so as to obtain n similarity values; acquiring the dissimilarity number smaller than a preset similarity threshold in the n similarity values, and judging whether the dissimilarity number is larger than a preset number threshold; and if the dissimilar quantity is not greater than a preset quantity threshold value, sending the first electric quantity distribution strategy to the second virtual power plant terminal, and requiring the second virtual power plant terminal to execute the first electric quantity distribution strategy. The second algorithm may be any feasible algorithm similar to the first algorithm, but is different from the first algorithm to reduce the possibility of data falsification. Since the second sensing signal sequence is used as input, a first electric quantity distribution strategy corresponding to the second sensing signal sequence is calculated. In addition, other data, such as data of the power grid, including power price, historical power utilization data and the like, can be called in the calculation process of the algorithm, and the data can be added in any form in the calculation process, for example, in the form of called dynamic parameters, or as input in parallel with the second sensing signal sequence. And then acquiring n electric quantity distribution strategies which are respectively calculated by n virtual power plant terminals and correspond to the second sensing signal sequence, wherein the n virtual power plant terminals participate in the calculation process of the electric quantity distribution strategy corresponding to the second virtual power plant terminal. Further, the n virtual power plant terminals are similar to the first virtual power plant terminal, that is, each of the n virtual power plant terminals needs to acquire a calculation authority (that is, the process is the same as the process from step S1 to step S5, corresponding sensing signal sequences, algorithms and keys are to be respectively sent to three different virtual power plant terminals, and corresponding returned certificates are acquired), and then sensing signal sequences, algorithms and keys respectively sent by the other three different virtual power plant terminals are acquired (that is, the process is the same as the process from step S6 to step S10, wherein the sensing signal sequence is the second sensing signal sequence), so that the n power distribution strategies are calculated. According to a preset similarity calculation method, the similarity between the first electric quantity distribution strategy and any one of the n electric quantity distribution strategies is calculated respectively, and therefore n similarity values are obtained. The purpose of the similarity calculation is to balance the feasibility and the credibility of the first power distribution strategy, and if most of the power distribution strategies are the same as or similar to the first power distribution strategy, the feasibility and the credibility of the first power distribution strategy are indicated. Any feasible method can be adopted for the similarity calculation. Acquiring the dissimilarity number smaller than a preset similarity threshold in the n similarity values, and judging whether the dissimilarity number is larger than a preset number threshold; and if the dissimilar quantity is not greater than a preset quantity threshold value, sending the first electric quantity distribution strategy to the second virtual power plant terminal, and requiring the second virtual power plant terminal to execute the first electric quantity distribution strategy. So as to determine whether the first power allocation strategy is appropriate by obtaining dissimilar quantities. Finally, if the number of dissimilarity is not greater than the preset number threshold, it indicates that a first power distribution strategy should be executed, and therefore the first power distribution strategy is sent to the second virtual power plant terminal, and the second virtual power plant terminal is required to execute the first power distribution strategy, because the first power distribution strategy is a calculation result based on the second sensing signal sequence, which needs the second virtual power plant terminal to execute. The power distribution policy includes, for example, how much external power should be acquired, what electricity price should be adopted, what time period to acquire the delivered external power, how much power should be delivered to the outside, and the like.
Further, after the step S12, the method further includes:
s121, respectively acquiring an algorithm and a sensing signal sequence adopted by each of the n virtual power plant terminals in the calculation process;
step S122, respectively judging whether the algorithms adopted by each of the n virtual power plant terminals in the calculation process are different, judging whether the sensing signal sequences adopted by each of the n virtual power plant terminals in the calculation process are second sensing signal sequences, and judging whether the algorithms adopted by each of the n virtual power plant terminals in the calculation process are not the default algorithms of the virtual power plant terminals;
step S123, if the algorithms adopted by each of the n virtual power plant terminals in the calculation process are different, the sensing signal sequence adopted by each of the n virtual power plant terminals in the calculation process is a second sensing signal sequence, and the algorithms adopted by each of the n virtual power plant terminals in the calculation process are not default algorithms of the virtual power plant terminals, generating a similarity calculation instruction, wherein the similarity calculation instruction is used for instructing that the similarity between the first electric quantity distribution strategy and any one of the n virtual power plant terminals is calculated according to a preset similarity calculation method.
Therefore, the n electric quantity distribution strategies obtained by calculating the n virtual power plant terminals have high data availability. Respectively obtaining an algorithm and a sensing signal sequence adopted by each of the n virtual power plant terminals in the calculation process; respectively judging whether the algorithm adopted by each of the n virtual power plant terminals in the calculation process is different, judging whether the sensing signal sequence adopted by each of the n virtual power plant terminals in the calculation process is a second sensing signal sequence, judging whether the algorithm adopted by each of the n virtual power plant terminals in the calculation process is not the default algorithm of the virtual power plant terminal, determining each of the n virtual power plant terminals, and judging whether the algorithm is the same as or similar to the first virtual power plant terminal in the calculation process, so as to reduce the possibility of data counterfeiting.
Further, the step S13 further includes:
step S131, according to a preset vector mapping method, mapping the first electric quantity distribution strategy into a first vector, and mapping the n electric quantity distribution strategies into a second vector, a third vector, … and an n +1 th vector;
step S132, a preset m similarity calculation method is called, and the second vector, the third vector, … and the (n + 1) th vector are divided into m sets, wherein m is an integer smaller than n +1 and larger than 2; wherein the m similarity calculation methods comprise a first similarity calculation method, a second similarity calculation method, … and an mth similarity calculation method; the m sets comprise a first set, a second set, … and an m set;
step S133, according to the first similarity calculation method, calculating a similarity value between the first vector and each member in the first set, thereby obtaining a first similarity value sequence;
step S134, calculating a similarity value between the first vector and each member in the second set according to the second similarity calculation method, thereby obtaining a second similarity value sequence;
s135, sequentially calculating to respectively obtain a third similarity value sequence to an m-1 similarity value sequence;
step S136, according to the mth similarity calculation method, calculating the similarity value between the first vector and each member in the mth set, thereby obtaining an mth similarity value sequence;
step S137, summarizing the first similarity value sequence, the second similarity value sequence, … and the nth similarity value sequence to obtain a total similarity value sequence;
s138, acquiring a confidence value total sequence corresponding to the similarity value total sequence according to a preset corresponding relation between the similarity value and a virtual power plant terminal and the confidence value;
and step S139, performing product processing on the similarity value total sequence and the confidence value total sequence in a manner of multiplying corresponding members to obtain a product sequence, and marking each member in the product sequence as the similarity between the first electric quantity distribution strategy and any one of the n electric quantity distribution strategies respectively, so as to obtain n similarity values.
Therefore, the accuracy of similarity calculation is improved, and the reliability of finally identifying the first electric quantity distribution strategy is improved. The vector mapping method may adopt any feasible method, for example, extracting the numbers in the power distribution policy, and then introducing the preset parameter pairs to obtain the mapped vectors. The first similarity calculation method may be any feasible algorithm, such as a cosine similarity calculation method. The invention adopts a special similarity calculation method, namely, the first electric quantity distribution strategy is mapped into a first vector, and the n electric quantity distribution strategies are mapped into a second vector, a third vector, … and an n +1 th vector; calling a preset m similarity calculation method, and dividing the second vector, the third vector, … and the (n + 1) th vector into m sets, wherein m is an integer less than n +1 and greater than 2; wherein the m similarity calculation methods comprise a first similarity calculation method, a second similarity calculation method, … and an mth similarity calculation method; the m sets comprise a first set, a second set, … and an m set; according to the first similarity calculation method, calculating the similarity value of the first vector and each member in the first set, thereby obtaining a first similarity value sequence; according to the second similarity calculation method, calculating the similarity value of the first vector and each member in the second set, thereby obtaining a second similarity value sequence; … …, respectively; according to the mth similarity calculation method, calculating the similarity value of the first vector and each member in the mth set, thereby obtaining an mth similarity value sequence; summarizing the first similarity value sequence, the second similarity value sequence, … and the nth similarity value sequence to obtain a total similarity value sequence; acquiring a confidence value total sequence corresponding to the similarity value total sequence according to a preset corresponding relation between the similarity value and the virtual power plant terminal and the confidence value; and performing product processing on the similarity value total sequence and the confidence value total sequence in a manner of multiplying corresponding members to obtain a product sequence, and recording each member in the product sequence as the similarity between the first electric quantity distribution strategy and any one of the n electric quantity distribution strategies respectively, so as to obtain n similarity values. In this way, the possible deviation of a single similarity calculation method is prevented by integrating the merits of the various similarity calculation methods.
It can be understood that the operation control method of the virtual power plant provided by the invention has the following advantages:
1. the implementation subject of the invention is the first virtual power plant terminal instead of a single main control end, thus reducing the requirement on a high-performance computer and reducing the operation cost.
2. In the operation control of the virtual power plant, a final first electric quantity distribution strategy is obtained in a mode that a first virtual power plant terminal is used as a main terminal and a plurality of other virtual power plant terminals participate, and the overall and local control accuracy is high.
3. The first virtual power plant terminal can have the authority of calculating the second sensing signal sequence only after the first sensor array, the first algorithm and the first asymmetric private key are respectively sent to the selected three virtual power plant terminals, so that the information safety is improved, and the participation degree of the terminal is guaranteed.
4. Each virtual power plant terminal cannot calculate own data by using an algorithm of the virtual power plant terminal so as to calculate an electric quantity distribution strategy of the virtual power plant terminal, and therefore the possibility of data counterfeiting is reduced.
5. When the first virtual power plant terminal is used for calculation, the adopted algorithm, the sensing signal sequence and the key for decryption are respectively from different virtual power plant terminals, so that cross data forgery is further prevented, and the reliability of a calculation result is ensured.
6. And the final electric quantity distribution strategy obtained by the participation of the plurality of virtual terminals ensures the reliability of the calculation result.
An embodiment of the present invention further provides an operation control device of a virtual power plant, which is applied to a first virtual power plant terminal, and includes:
the first sensing signal sequence acquisition unit is used for acquiring signals of an environment corresponding to the first virtual power plant terminal by adopting a preset first sensor array so as to obtain a first sensing signal sequence; wherein the first sensor array comprises at least a temperature sensor, a humidity sensor and an electrical signal sensor of an electrical energy storage;
a first algorithm calling unit, configured to call a first algorithm corresponding to the first sensing signal sequence; the first algorithm is used for calculating a corresponding electric quantity distribution strategy by taking the sensing signal sequence as input;
the asymmetric key calling unit is used for calling a preset asymmetric key consisting of a first asymmetric public key and a first asymmetric private key; wherein the first asymmetric public key is disclosed externally;
the terminal screening unit is used for selecting three virtual power plant terminals from all the virtual power plant terminals according to a preset terminal screening method; the default algorithms in the three virtual power plant terminals are different from the first algorithm;
the confirmation signal acquisition unit is used for respectively sending the first sensing signal sequence, the first algorithm and the first asymmetric private key to the selected three virtual power plant terminals and respectively acquiring confirmation signals returned by the selected three virtual power plant terminals;
the second sensing signal sequence acquisition unit is used for acquiring an encrypted second sensing signal sequence sent by a second virtual power plant terminal; the encrypted second sensing signal sequence is encrypted through a second asymmetric public key; the second sensing signal sequence is obtained by the second virtual power plant terminal by adopting a preset second sensor array to perform signal acquisition operation on an environment corresponding to the second virtual power plant terminal; the second virtual power plant terminal does not belong to the selected three virtual power plant terminals;
the encrypted second algorithm obtaining unit is used for obtaining an encrypted second algorithm sent by a third virtual power plant terminal; the encrypted second algorithm is encrypted via a second asymmetric public key; the second algorithm is used for calculating a corresponding electric quantity distribution strategy by taking the sensing signal sequence as input; the second algorithm is a default algorithm of the third virtual power plant terminal; the third virtual power plant terminal does not belong to the selected three virtual power plant terminals;
the key acquisition request sending unit is used for sending a key acquisition request to the fourth virtual power plant terminal; the key obtaining request is used for requesting to obtain a second asymmetric private key corresponding to the second asymmetric public key, the second asymmetric private key is prestored in the fourth virtual power plant terminal, and the confirmation signal is hidden in the key obtaining request; the fourth virtual power plant terminal does not belong to the selected three virtual power plant terminals;
the second asymmetric private key receiving unit is used for receiving a second asymmetric private key sent by the fourth virtual power plant terminal according to the key obtaining request; the fourth virtual power plant terminal sends the second asymmetric private key under the triggering condition that the confirmation signal is extracted and verified to be correct;
the decryption unit is used for respectively decrypting the encrypted second sensing signal sequence and the encrypted second algorithm by using the second asymmetric private key so as to obtain the decrypted second sensing signal sequence and the decrypted second algorithm;
the first electric quantity distribution strategy calculation unit is used for calculating a first electric quantity distribution strategy corresponding to a second sensing signal sequence by adopting the second algorithm and taking the second sensing signal sequence as input;
the electric quantity distribution strategy acquisition unit is used for acquiring n electric quantity distribution strategies which are respectively calculated by n virtual power plant terminals and correspond to the second sensing signal sequence; the n virtual power plant terminals do not adopt a default algorithm of the virtual power plant terminals in the respective calculation process; n is an integer greater than 3;
the similarity calculation unit is used for calculating the similarity between the first electric quantity distribution strategy and any one of the n electric quantity distribution strategies according to a preset similarity calculation method so as to obtain n similarity values;
the dissimilarity number judging unit is used for acquiring the dissimilarity number smaller than a preset similarity threshold value in the n similarity values and judging whether the dissimilarity number is larger than the preset number threshold value;
and the first electric quantity distribution strategy sending unit is used for sending the first electric quantity distribution strategy to the second virtual power plant terminal and requiring the second virtual power plant terminal to execute the first electric quantity distribution strategy if the dissimilar quantity is not greater than a preset quantity threshold value.
The operations respectively executed by the units correspond to the steps of the operation control method of the virtual power plant of the foregoing embodiment one by one, and are not described herein again.
Referring to fig. 3, an embodiment of the present invention further provides a computer device, where the computer device may be a server, and an internal structure of the computer device may be as shown in the figure. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used for storing data used by the operation control method of the virtual power plant. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of operational control of a virtual power plant.
The processor executes the operation control method of the virtual power plant, wherein the steps included in the method correspond to the steps of executing the operation control method of the virtual power plant of the foregoing embodiment one to one, and are not described herein again.
It will be appreciated by those skilled in the art that the architecture presented in the figures is only a block diagram of some of the architectures associated with the present solution and is not intended to limit the scope of the present solution as applied to computer devices.
Another embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements an operation control method of a virtual power plant, where the method includes steps corresponding to the steps of executing the operation control method of the virtual power plant of the foregoing embodiment one to one, and are not described herein again.
The implementation of the invention has the following beneficial effects:
the invention provides an operation control method, a system, computer equipment and a storage medium of a virtual power plant, wherein a first sensor array is adopted to obtain a first sensing signal sequence, a first algorithm and an asymmetric secret key are called, three virtual power plant terminals are selected, the first sensing signal sequence, the first algorithm and the first asymmetric secret key are respectively sent to the selected three virtual power plant terminals, and an encrypted second sensing signal sequence sent by a second virtual power plant terminal is obtained; acquiring an encrypted second algorithm sent by a third virtual power plant terminal; sending a key acquisition request to a fourth virtual power plant terminal; receiving a second asymmetric private key sent by the fourth virtual power plant terminal according to the key obtaining request; carrying out decryption processing so as to obtain a decrypted second sensing signal sequence and a second algorithm; calculating a first electric quantity distribution strategy corresponding to a second sensing signal sequence by adopting the second algorithm and taking the second sensing signal sequence as input; acquiring n electric quantity distribution strategies corresponding to the second sensing signal sequence and respectively calculated by n virtual power plant terminals; respectively calculating n similarity values; obtaining dissimilar quantities; and if the dissimilar quantity is not greater than a preset quantity threshold value, sending the first electric quantity distribution strategy to the second virtual power plant terminal, and requiring the second virtual power plant terminal to execute the first electric quantity distribution strategy. Therefore, the first electric quantity distribution strategy executed by the second virtual power plant terminal is safe and guaranteed, the cooperation of a high-calculation-capacity main control terminal is not needed, and the verification of the plurality of virtual power plant terminals is carried out, so that the operation safety, the overall and local control accuracy of the power grid are improved, and the operation cost is reduced.
While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiment, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (9)

1.一种虚拟电厂的运行控制方法,应用于第一虚拟电厂终端,包括:1. An operation control method for a virtual power plant, applied to a first virtual power plant terminal, comprising: 步骤S1、采用预设的第一传感器阵列,对所述第一虚拟电厂终端对应的环境进行信号采集操作,以得到第一传感信号序列;其中所述第一传感器阵列至少包括温度传感器、湿度传感器和电能储存器的电信号传感器;Step S1: Using a preset first sensor array, perform a signal acquisition operation on the environment corresponding to the first virtual power plant terminal to obtain a first sensing signal sequence; wherein the first sensor array at least includes a temperature sensor, a humidity sensor, and a humidity sensor. Sensors and electrical signal sensors for electrical energy storage; 步骤S2、调取与所述第一传感信号序列对应的用于计算电量分配策略的第一算法;Step S2, fetching the first algorithm for calculating the power distribution strategy corresponding to the first sensing signal sequence; 步骤S3、调取预设的由第一非对称公钥和第一非对称私钥组成的非对称密钥;其中所述第一非对称公钥对外公开;Step S3, retrieving a preset asymmetric key composed of a first asymmetric public key and a first asymmetric private key; wherein the first asymmetric public key is publicly disclosed; 步骤S4、根据预设的终端筛选方法,从其他虚拟电厂终端中选出三个虚拟电厂终端;其中,所述三个虚拟电厂终端中的默认算法与所述第一算法均不同;Step S4, selecting three virtual power plant terminals from other virtual power plant terminals according to a preset terminal screening method; wherein, the default algorithms in the three virtual power plant terminals are different from the first algorithm; 步骤S5、将所述第一传感信号序列、第一算法和第一非对称私钥分别发送给选出的三个虚拟电厂终端,并且分别获取选出的三个虚拟电厂终端返回的确认信号;Step S5: Send the first sensing signal sequence, the first algorithm and the first asymmetric private key to the selected three virtual power plant terminals respectively, and obtain the confirmation signals returned by the selected three virtual power plant terminals respectively. ; 步骤S6、获取第二虚拟电厂终端发送的加密后的第二传感信号序列;所述加密后的第二传感信号序列经由第二非对称公钥加密;所述第二传感信号序列是由所述第二虚拟电厂终端采用预设的第二传感器阵列,对所述第二虚拟电厂终端对应的环境进行信号采集操作而得到的;所述第二虚拟电厂终端不属于选出的三个虚拟电厂终端;Step S6: Obtain the encrypted second sensing signal sequence sent by the second virtual power plant terminal; the encrypted second sensing signal sequence is encrypted by the second asymmetric public key; the second sensing signal sequence is: Obtained by the second virtual power plant terminal using a preset second sensor array to perform a signal acquisition operation on the environment corresponding to the second virtual power plant terminal; the second virtual power plant terminal does not belong to the selected three virtual power plant terminal; 步骤S7、获取第三虚拟电厂终端发送的加密后的第二算法;所述加密后的第二算法经由第二非对称公钥加密;所述第二算法为所述第三虚拟电厂终端的用于计算电量分配策略的默认算法;所述第三虚拟电厂终端不属于选出的三个虚拟电厂终端;Step S7: Obtain the encrypted second algorithm sent by the third virtual power plant terminal; the encrypted second algorithm is encrypted by the second asymmetric public key; the second algorithm is used by the third virtual power plant terminal. The default algorithm for calculating the power distribution strategy; the third virtual power plant terminal does not belong to the selected three virtual power plant terminals; 步骤S8、向第四虚拟电厂终端发送密钥获取请求;其中,所述密钥获取请求用于请求获取与所述第二非对称公钥对应的第二非对称私钥,所述第二非对称私钥预存于所述第四虚拟电厂终端中,并且所述密钥获取请求中隐藏有所述确认信号;所述第四虚拟电厂终端不属于选出的三个虚拟电厂终端;Step S8: Send a key acquisition request to the fourth virtual power plant terminal; wherein, the key acquisition request is used to request to acquire a second asymmetric private key corresponding to the second asymmetric public key, and the second asymmetric private key is The symmetric private key is pre-stored in the fourth virtual power plant terminal, and the confirmation signal is hidden in the key acquisition request; the fourth virtual power plant terminal does not belong to the selected three virtual power plant terminals; 步骤S9、接收所述第四虚拟电厂终端根据所述密钥获取请求而发送的第二非对称私钥;其中,所述第四虚拟电厂终端发送所述第二非对称私钥的触发条件为:提取出所述确认信号并验证所述确认信号无误;Step S9: Receive the second asymmetric private key sent by the fourth virtual power plant terminal according to the key acquisition request; wherein the trigger condition for the fourth virtual power plant terminal to send the second asymmetric private key is: : extract the confirmation signal and verify that the confirmation signal is correct; 步骤S10、使用所述第二非对称私钥,对所述加密后的第二传感信号序列和所述加密后的第二算法分别进行解密处理,从而得到解密后的第二传感信号序列和第二算法;Step S10: Decrypt the encrypted second sensing signal sequence and the encrypted second algorithm using the second asymmetric private key, so as to obtain a decrypted second sensing signal sequence and the second algorithm; 步骤S11、采用所述第二算法,以第二传感信号序列为输入,计算出与所述第二传感信号序列对应的第一电量分配策略;Step S11 , using the second algorithm, taking the second sensing signal sequence as an input, to calculate a first power distribution strategy corresponding to the second sensing signal sequence; 步骤S12、获取由n个虚拟电厂终端分别计算出的对应于所述第二传感信号序列的n个电量分配策略;其中,所述n个虚拟电厂终端在分别计算的过程中均不采用各虚拟电厂终端自身的默认算法;n为大于3的整数;Step S12, acquiring n power distribution strategies corresponding to the second sensing signal sequence calculated by the n virtual power plant terminals respectively; wherein, the n virtual power plant terminals do not use each of the power distribution strategies in the process of calculating separately. The default algorithm of the virtual power plant terminal itself; n is an integer greater than 3; 步骤S13、根据预设的相似度计算方法,分别计算所述第一电量分配策略和所述n个电量分配策略中的任一个之间的相似度,从而得到n个相似度值;Step S13, according to a preset similarity calculation method, calculate the similarity between the first power distribution strategy and any one of the n power distribution strategies, thereby obtaining n similarity values; 步骤S14、获取所述n个相似度值中小于预设的相似度阈值的不相似数量,并判断所述不相似数量是否大于预设的数量阈值;Step S14, obtaining the dissimilarity quantity smaller than a preset similarity threshold value among the n similarity values, and judging whether the dissimilarity quantity is greater than the preset quantity threshold; 步骤S15、若所述不相似数量不大于预设的数量阈值,则将所述第一电量分配策略发送给所述第二虚拟电厂终端,并要求所述第二虚拟电厂终端以执行所述第一电量分配策略。Step S15: If the dissimilar quantity is not greater than a preset quantity threshold, send the first power distribution strategy to the second virtual power plant terminal, and request the second virtual power plant terminal to execute the first power distribution strategy. A power distribution strategy. 2.如权利要求1所述的方法,其特征在于,所述步骤S4进一步包括:2. The method of claim 1, wherein the step S4 further comprises: 步骤S401、获取所有的虚拟电厂终端分别对应的置信度值,并排除置信度值小于预设的置信度阈值的虚拟电厂终端,从而得到多个可选终端,其中:为每个虚拟电厂终端均预先设置一个对应的置信度值;Step S401: Obtain the respective confidence values of all virtual power plant terminals, and exclude virtual power plant terminals whose confidence value is less than a preset confidence threshold, thereby obtaining multiple optional terminals, wherein: each virtual power plant terminal is a Preset a corresponding confidence value; 步骤S402、从所述多个可选终端中随机选出三个虚拟电厂终端;其中所述三个虚拟电厂终端中的默认算法与所述第一算法均不同。Step S402: Randomly select three virtual power plant terminals from the plurality of optional terminals; wherein the default algorithms in the three virtual power plant terminals are different from the first algorithm. 3.如权利要求2所述的方法,其特征在于,所述步骤S7之前,进一步包括:3. The method of claim 2, wherein before the step S7, further comprising: 步骤S61、所述第三虚拟电厂终端将所述第二算法对应的代码划分为多个区块;Step S61, the third virtual power plant terminal divides the code corresponding to the second algorithm into a plurality of blocks; 步骤S62、获取所述第四虚拟电厂终端的地址,并将所述第四虚拟电厂终端的地址拆分后分别附在所述多个区块中的至少一块的指定位置,以得到附有地址的多个区块;Step S62, acquiring the address of the fourth virtual power plant terminal, and splitting the address of the fourth virtual power plant terminal and attaching it to the designated position of at least one of the multiple blocks to obtain the attached address. of multiple blocks; 步骤S63、对所述附有地址的多个区块进行第一隐藏处理操作,以打乱多个区块的顺序,从而得到乱序区块组;Step S63, carrying out the first hidden processing operation to the multiple blocks with addresses, to disrupt the order of the multiple blocks, thereby obtaining the disordered block group; 步骤S64、采用所述第二非对称公钥对所述乱序区块组进行第一次加密处理,以得到加密乱序区块组;Step S64, using the second asymmetric public key to perform the first encryption process on the out-of-order block group to obtain an encrypted out-of-order block group; 步骤S65、调取预设的图像文件,并对所述图像文件和加密乱序区块组进行第二隐藏处理操作,以将所述加密乱序区块组以嵌入方式隐藏在所述图像文件中,从而得到隐藏后图像文件;Step S65, call the preset image file, and carry out the second hidden processing operation to the image file and the encrypted out-of-order block group, to hide the encrypted out-of-order block group in the image file in an embedded manner. , so as to obtain the hidden image file; 步骤S66、采用所述第二非对称公钥对所述隐藏后图像文件进行第二次加密处理,以得到加密图像文件,并将所述加密图像文件记为加密后的第二算法的载体。Step S66 , using the second asymmetric public key to perform a second encryption process on the hidden image file to obtain an encrypted image file, and record the encrypted image file as a carrier of the encrypted second algorithm. 4.如权利要求3所述的方法,其特征在于,所述步骤S12之后,包括:4. The method of claim 3, wherein after step S12, comprising: 步骤S121、分别获取所述n个虚拟电厂终端中的每一个在计算过程中采用的算法和传感信号序列;Step S121, respectively acquiring the algorithm and sensing signal sequence used in the calculation process of each of the n virtual power plant terminals; 步骤S122、分别判断所述n个虚拟电厂终端中的每一个在计算过程中采用的算法是否均不同,以及判断所述n个虚拟电厂终端中的每一个在计算过程中采用的传感信号序列是否均为第二传感信号序列,以及判断所述n个虚拟电厂终端中的每一个在计算过程中采用的算法是否均不为虚拟电厂终端自身的默认算法;Step S122, respectively judging whether the algorithms used in the calculation process of each of the n virtual power plant terminals are different, and judging the sensing signal sequence used in the calculation process for each of the n virtual power plant terminals whether all are the second sensing signal sequence, and determine whether the algorithm adopted by each of the n virtual power plant terminals in the calculation process is not the default algorithm of the virtual power plant terminal itself; 步骤S123、若所述n个虚拟电厂终端中的每一个在计算过程中采用的算法均不同,并且在所述n个虚拟电厂终端中的每一个在计算过程中采用的传感信号序列均为第二传感信号序列,并且所述n个虚拟电厂终端中的每一个在计算过程中采用的算法均不为虚拟电厂终端自身的默认算法,则生成相似度计算指令,所述相似度计算指令用于指示根据预设的相似度计算方法,分别计算所述第一电量分配策略和所述n个虚拟电厂终端中的任一个之间的相似度。Step S123, if each of the n virtual power plant terminals uses different algorithms in the calculation process, and the sensing signal sequence used in the calculation process for each of the n virtual power plant terminals is: The second sensor signal sequence, and the algorithm used by each of the n virtual power plant terminals in the calculation process is not the default algorithm of the virtual power plant terminal itself, a similarity calculation instruction is generated, and the similarity calculation instruction It is used to instruct to calculate the similarity between the first power distribution strategy and any one of the n virtual power plant terminals respectively according to a preset similarity calculation method. 5.如权利要求4所述的方法,其特征在于,所述步骤S13进一步包括:5. The method of claim 4, wherein the step S13 further comprises: 步骤S131、根据预设的向量映射方法,将所述第一电量分配策略映射为第一向量,以及将所述n个电量分配策略映射为第二向量、第三向量、…、第n+1向量;Step S131, according to a preset vector mapping method, map the first power distribution strategy to a first vector, and map the n power distribution strategies to a second vector, a third vector, ..., the n+1th vector; 步骤S132、调取预设的m个相似度计算方法,并将所述第二向量、第三向量、至第n+1向量划分为m个集合,其中,m为小于n+1且大于2的整数;所述m个相似度计算方法包括第一相似度计算方法、第二相似度计算方法、至第m相似度计算方法;所述m个集合包括第一集合、第二集合、至第m集合;Step S132, calling the preset m similarity calculation methods, and dividing the second vector, the third vector, and the n+1 th vector into m sets, where m is less than n+1 and greater than 2 The m similarity calculation methods include the first similarity calculation method, the second similarity calculation method, and the mth similarity calculation method; the m sets include the first set, the second set, and the mth similarity calculation method. m set; 步骤S133、根据所述第一相似度计算方法,计算所述第一向量与所述第一集合中的每一个成员的相似度值,从而得到第一相似度值序列;Step S133, calculating the similarity value between the first vector and each member in the first set according to the first similarity calculation method, thereby obtaining a first similarity value sequence; 步骤S134、根据所述第二相似度计算方法,计算所述第一向量与所述第二集合中的每一个成员的相似度值,从而得到第二相似度值序列;Step S134, calculating the similarity value between the first vector and each member in the second set according to the second similarity calculation method, thereby obtaining a second similarity value sequence; 步骤S135、依次计算分别获得第三相似度值序列至第m-1相似度值序列;Step S135, successively calculating to obtain the third similarity value sequence to the m-1th similarity value sequence; 步骤S136、根据所述第m相似度计算方法,计算所述第一向量与所述第m集合中的每一个成员的相似度值,从而得到第m相似度值序列;Step S136, calculating the similarity value between the first vector and each member in the mth set according to the mth similarity calculation method, thereby obtaining the mth similarity value sequence; 步骤S137、汇总所述第一相似度值序列、第二相似度值序列、至第n相似度值序列,从而得到相似度值总序列;Step S137, summarizing the first similarity value sequence, the second similarity value sequence, and the nth similarity value sequence, thereby obtaining a total similarity value sequence; 步骤S138、根据预设的相似度值-虚拟电厂终端-置信度值的对应关系,获取与所述相似度值总序列对应的置信度值总序列;Step S138, obtaining a total sequence of confidence values corresponding to the total sequence of similarity values according to a preset correspondence of similarity value-virtual power plant terminal-confidence value; 步骤S139、以对应成员相乘的方式,对所述相似度值总序列和所述置信度值总序列进行乘积处理,以得到乘积序列,并将所述乘积序列中的每一个成员分别记为所述第一电量分配策略和所述n个电量分配策略中的任一个之间的相似度,从而得到n个相似度值。Step S139: Multiply the total sequence of similarity values and the total sequence of confidence values by multiplying corresponding members to obtain a product sequence, and record each member in the product sequence as The similarity between the first power distribution strategy and any one of the n power distribution strategies, thereby obtaining n similarity values. 6.如权利要求5所述的方法,其特征在于,在所述步骤S14进一步包括:6. The method of claim 5, wherein in step S14 further comprising: 步骤S141、若所述不相似数量大于预设的数量阈值,则将所述第二虚拟电厂终端对应的置信度值调低。Step S141: If the dissimilar quantity is greater than a preset quantity threshold, lower the confidence value corresponding to the second virtual power plant terminal. 7.一种虚拟电厂的运行控制系统,应用于第一虚拟电厂终端中,其特征在于,包括:7. An operation control system of a virtual power plant, applied in the terminal of the first virtual power plant, characterized in that, comprising: 第一传感信号序列获取单元,用于采用预设的第一传感器阵列,对所述第一虚拟电厂终端对应的环境进行信号采集操作,以得到第一传感信号序列;其中所述第一传感器阵列至少包括温度传感器、湿度传感器和电能储存器的电信号传感器;a first sensing signal sequence acquisition unit, configured to use a preset first sensor array to perform a signal acquisition operation on the environment corresponding to the first virtual power plant terminal, so as to obtain a first sensing signal sequence; wherein the first sensing signal sequence is obtained; The sensor array includes at least a temperature sensor, a humidity sensor and an electrical signal sensor of the electrical energy storage; 第一算法调取单元,用于调取与所述第一传感信号序列对应的第一算法;其中,所述第一算法用于以传感信号序列为输入,计算出对应的电量分配策略;The first algorithm retrieval unit is used to retrieve the first algorithm corresponding to the first sensing signal sequence; wherein, the first algorithm is used to calculate the corresponding power distribution strategy by taking the sensing signal sequence as input ; 非对称密钥调取单元,用于调取预设的由第一非对称公钥和第一非对称私钥组成的非对称密钥;其中,所述第一非对称公钥对外公开;an asymmetric key retrieval unit, configured to retrieve a preset asymmetric key composed of a first asymmetric public key and a first asymmetric private key; wherein, the first asymmetric public key is publicly disclosed; 终端筛选单元,用于根据预设的终端筛选方法,从所有的虚拟电厂终端中选出三个虚拟电厂终端;其中,所述三个虚拟电厂终端中的默认算法与所述第一算法均不同;A terminal screening unit, configured to select three virtual power plant terminals from all virtual power plant terminals according to a preset terminal screening method; wherein the default algorithms in the three virtual power plant terminals are different from the first algorithm ; 确认信号获取单元,用于将所述第一传感信号序列、第一算法和第一非对称私钥分别发送给选出的三个虚拟电厂终端,并且分别获取选出的三个虚拟电厂终端返回的确认信号;A confirmation signal acquisition unit, configured to respectively send the first sensing signal sequence, the first algorithm and the first asymmetric private key to the selected three virtual power plant terminals, and obtain the selected three virtual power plant terminals respectively The confirmation signal returned; 第二传感信号序列获取单元,用于获取第二虚拟电厂终端发送的加密后的第二传感信号序列;所述加密后的第二传感信号序列经由第二非对称公钥加密;所述第二传感信号序列是由所述第二虚拟电厂终端采用预设的第二传感器阵列,对所述第二虚拟电厂终端对应的环境进行信号采集操作而得到的;所述第二虚拟电厂终端不属于选出的三个虚拟电厂终端;The second sensing signal sequence obtaining unit is configured to obtain the encrypted second sensing signal sequence sent by the second virtual power plant terminal; the encrypted second sensing signal sequence is encrypted by the second asymmetric public key; The second sensing signal sequence is obtained by the second virtual power plant terminal using a preset second sensor array to perform a signal acquisition operation on the environment corresponding to the second virtual power plant terminal; the second virtual power plant terminal The terminal does not belong to the selected three virtual power plant terminals; 加密后的第二算法获取单元,用于获取第三虚拟电厂终端发送的加密后的第二算法;所述加密后的第二算法经由第二非对称公钥加密;其中,所述第二算法用于以传感信号序列为输入,计算出对应的电量分配策略;所述第二算法为所述第三虚拟电厂终端的默认算法;所述第三虚拟电厂终端不属于选出的三个虚拟电厂终端;an encrypted second algorithm obtaining unit, configured to obtain the encrypted second algorithm sent by the third virtual power plant terminal; the encrypted second algorithm is encrypted by the second asymmetric public key; wherein, the second algorithm It is used to take the sensor signal sequence as input to calculate the corresponding power distribution strategy; the second algorithm is the default algorithm of the third virtual power plant terminal; the third virtual power plant terminal does not belong to the selected three virtual power plant terminals. power plant terminal; 密钥获取请求发送单元,用于向第四虚拟电厂终端发送密钥获取请求;其中,所述密钥获取请求用于请求获取与所述第二非对称公钥对应的第二非对称私钥,所述第二非对称私钥预存于所述第四虚拟电厂终端中,并且所述密钥获取请求中隐藏有所述确认信号;所述第四虚拟电厂终端不属于选出的三个虚拟电厂终端;a key acquisition request sending unit, configured to send a key acquisition request to the fourth virtual power plant terminal; wherein the key acquisition request is used to request to acquire a second asymmetric private key corresponding to the second asymmetric public key , the second asymmetric private key is pre-stored in the fourth virtual power plant terminal, and the confirmation signal is hidden in the key acquisition request; the fourth virtual power plant terminal does not belong to the selected three virtual power plant terminals power plant terminal; 第二非对称私钥接收单元,用于接收所述第四虚拟电厂终端根据所述密钥获取请求而发送的第二非对称私钥;其中,所述第四虚拟电厂终端发送所述第二非对称私钥的触发条件为,提取出所述确认信号并验证所述确认信号无误;A second asymmetric private key receiving unit, configured to receive a second asymmetric private key sent by the fourth virtual power plant terminal according to the key acquisition request; wherein the fourth virtual power plant terminal sends the second asymmetric private key The trigger condition of the asymmetric private key is to extract the confirmation signal and verify that the confirmation signal is correct; 解密单元,用于使用所述第二非对称私钥,对所述加密后的第二传感信号序列和所述加密后的第二算法分别进行解密处理,从而得到解密后的第二传感信号序列和第二算法;The decryption unit is used for decrypting the encrypted second sensing signal sequence and the encrypted second algorithm using the second asymmetric private key, so as to obtain the decrypted second sensing signal sequence. a signal sequence and a second algorithm; 第一电量分配策略计算单元,用于采用所述第二算法,以第二传感信号序列为输入,计算出与所述第二传感信号序列对应的第一电量分配策略;a first power distribution strategy calculation unit, configured to use the second algorithm to calculate a first power distribution strategy corresponding to the second sensor signal sequence by using the second sensor signal sequence as an input; 电量分配策略获取单元,用于获取由n个虚拟电厂终端分别计算出的对应于所述第二传感信号序列的n个电量分配策略;其中,所述n个虚拟电厂终端在分别计算的过程中均不采用虚拟电厂终端自身的默认算法;n为大于3的整数;an electricity distribution strategy acquisition unit, configured to acquire n electricity distribution strategies corresponding to the second sensing signal sequence calculated by the n virtual power plant terminals respectively; wherein, the n virtual power plant terminals are in the process of calculating separately The default algorithm of the virtual power plant terminal itself is not used; n is an integer greater than 3; 相似度计算单元,用于根据预设的相似度计算方法,分别计算所述第一电量分配策略和所述n个电量分配策略中的任一个之间的相似度,从而得到n个相似度值;A similarity calculation unit, configured to calculate the similarity between the first power distribution strategy and any one of the n power distribution strategies according to a preset similarity calculation method, so as to obtain n similarity values ; 不相似数量判断单元,用于获取所述n个相似度值中小于预设的相似度阈值的不相似数量,并判断所述不相似数量是否大于预设的数量阈值;a dissimilar quantity judging unit, configured to obtain a dissimilar quantity smaller than a preset similarity threshold among the n similarity values, and determine whether the dissimilar quantity is greater than a preset quantity threshold; 第一电量分配策略发送单元,用于若不相似数量判断单元判断到所述不相似数量不大于预设的数量阈值,则将所述第一电量分配策略发送给所述第二虚拟电厂终端,并要求所述第二虚拟电厂终端以执行所述第一电量分配策略。a first power distribution policy sending unit, configured to send the first power distribution policy to the second virtual power plant terminal if the dissimilar quantity judging unit determines that the dissimilar quantity is not greater than a preset quantity threshold, and require the second virtual power plant terminal to execute the first power distribution strategy. 8.一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至6任一项所述方法的步骤。8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method according to any one of claims 1 to 6 when the processor executes the computer program. 9.一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6任一项所述的方法的步骤。9. A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of any one of claims 1 to 6.
CN202110237975.6A 2021-03-04 2021-03-04 Operation control method, system, computer equipment and storage medium of virtual power plant Active CN113093566B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110237975.6A CN113093566B (en) 2021-03-04 2021-03-04 Operation control method, system, computer equipment and storage medium of virtual power plant

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110237975.6A CN113093566B (en) 2021-03-04 2021-03-04 Operation control method, system, computer equipment and storage medium of virtual power plant

Publications (2)

Publication Number Publication Date
CN113093566A true CN113093566A (en) 2021-07-09
CN113093566B CN113093566B (en) 2022-04-01

Family

ID=76666415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110237975.6A Active CN113093566B (en) 2021-03-04 2021-03-04 Operation control method, system, computer equipment and storage medium of virtual power plant

Country Status (1)

Country Link
CN (1) CN113093566B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114336969A (en) * 2021-12-29 2022-04-12 深圳电网智慧能源技术有限公司 Energy storage power station centralized monitoring method and system based on virtual power plant

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160182458A1 (en) * 2014-12-17 2016-06-23 Cisco Technology, Inc. End-to-end security for virtual private service chains
US20190123580A1 (en) * 2017-10-23 2019-04-25 Sigora International Inc. Management of a power-distribution system
CN112003879A (en) * 2020-10-22 2020-11-27 腾讯科技(深圳)有限公司 Data transmission method for virtual scene, computer device and storage medium
CN112434343A (en) * 2020-11-25 2021-03-02 江西理工大学 Virtual power plant safety scheduling and transaction method based on dual block chain technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160182458A1 (en) * 2014-12-17 2016-06-23 Cisco Technology, Inc. End-to-end security for virtual private service chains
US20190123580A1 (en) * 2017-10-23 2019-04-25 Sigora International Inc. Management of a power-distribution system
CN112003879A (en) * 2020-10-22 2020-11-27 腾讯科技(深圳)有限公司 Data transmission method for virtual scene, computer device and storage medium
CN112434343A (en) * 2020-11-25 2021-03-02 江西理工大学 Virtual power plant safety scheduling and transaction method based on dual block chain technology

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄宇鹏等: "基于混合加密安全传输信息的虚拟电厂交易系统", 《信息技术与信息化》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114336969A (en) * 2021-12-29 2022-04-12 深圳电网智慧能源技术有限公司 Energy storage power station centralized monitoring method and system based on virtual power plant
CN114336969B (en) * 2021-12-29 2023-09-12 深圳电网智慧能源技术有限公司 Energy storage power station centralized monitoring method and system based on virtual power plant

Also Published As

Publication number Publication date
CN113093566B (en) 2022-04-01

Similar Documents

Publication Publication Date Title
Zhao et al. Dynamic and privacy-preserving reputation management for blockchain-based mobile crowdsensing
US11526616B1 (en) Method to verify the execution integrity of an application in a target device
CN109639677B (en) A cloud storage outsourcing decryption attribute-based encryption method that can limit the number of accesses
JP2019525591A (en) Method and system implemented by blockchain
CN109347625B (en) Password operation method, work key creation method, password service platform and equipment
CN112163854B (en) Hierarchical public key searchable encryption method and system based on block chain
CN104584025A (en) Device, method, and system for controlling access to web objects of a webpage or web-brower application
US12192347B2 (en) Public random number generation method and device based on blockchain
CN113708935A (en) Internet of things equipment unified authentication method and system based on block chain and PUF
CN111024996A (en) Intelligent electric meter for identity authentication based on block chain technology
CN113093566B (en) Operation control method, system, computer equipment and storage medium of virtual power plant
CN113919846B (en) Block link point dynamic grouping method and device, computer equipment and storage medium
CN110990790A (en) Data processing method and equipment
CN109768969A (en) Authority control method and internet-of-things terminal, electronic equipment
WO2022188602A1 (en) Data providing method, apparatus and system
Zhang et al. Recording behaviors of artificial intelligence in blockchains
CN113852464B (en) Block chain-based ammeter key control method and related equipment
CN117592693A (en) Power grid dispatching method, system, device, computer equipment and storage medium
Li et al. Backdoor-resistant public data integrity verification scheme based on smart contracts
CN116401718A (en) Block chain-based data protection method and device, electronic equipment and storage medium
CN115712906A (en) Credible data transaction evaluation method based on block chain and homomorphic encryption
CN110943839A (en) Signature verification method and device, electronic equipment and readable storage medium
CN109510830B (en) Authentication method, device, medium and equipment for intelligent electric meter
CN114117475A (en) Improved attribute-based encryption scheme system and encryption algorithm thereof
Cai et al. Blockchain-Enabled Secure Federated Learning for Digital Twin Networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant