Blockchain-based new energy power data transmission method for photovoltaic module

By adopting a blockchain-based data transmission method in photovoltaic power generation data acquisition, the problem of data security risks in photovoltaic power generation data acquisition is solved, the secure storage and transmission of data is realized, and the security and reliability of data are improved.

WO2025055196A1PCT designated stage expired Publication Date: 2025-03-20CHONGQING QIANXIN NEW ENERGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/140922
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-11
Filing Date
2023-12-22
Publication Date
2025-03-20

AI Technical Summary

Technical Problem

The prior art has failed to effectively solve the problem of data safety hazards in photovoltaic power generation data collection.

Method used

The blockchain-based photovoltaic module new energy power data transmission method is adopted to ensure the security of the data by obtaining photovoltaic new energy power data, converting it into image data, processing it, and transmitting the data to the blockchain for storage.

Benefits of technology

Through blockchain technology, the secure storage and transmission of photovoltaic new energy power data is achieved, data tampering is prevented, and data security and reliability are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023140922_20032025_PF_FP_ABST
    Figure CN2023140922_20032025_PF_FP_ABST
Patent Text Reader

Abstract

The present invention provides a blockchain-based new energy power data transmission method for a photovoltaic module, comprising the following steps: S1, obtaining photovoltaic new energy power data, the photovoltaic new energy power data comprising one or any combination of voltage values V1-VK, current values i1-iK, temperatures T1-TK, and light intensities I1-IK corresponding to time ranges t1-tK; S2, converting the photovoltaic new energy power data obtained in step S1 into photovoltaic new energy power image data, the photovoltaic new energy power image data comprising one or any combination of a time-voltage curve graph, a time-current curve graph, a time-temperature curve graph, and a time-light intensity curve graph; S3, when the photovoltaic new energy power image data is processed, obtaining processed photovoltaic new energy power image data; and S4, transmitting the processed photovoltaic new energy power image data to a photovoltaic new energy power management platform. The present invention can ensure the security of acquired photovoltaic new energy power data, and prevent data tampering.
Need to check novelty before this filing date? Find Prior Art

Description

Photovoltaic component new energy power data transmission method based on blockchain Technical Field

[0001] The present invention relates to the field of power data technology, and in particular to a method for transmitting new energy power data of photovoltaic components based on blockchain. Background Art

[0002] Photovoltaic power generation is a technology that uses the photovoltaic effect at semiconductor interfaces to directly convert sunlight into electricity. It primarily consists of three main components: solar panels (modules), controllers, and inverters, with the majority of these components being electronic components. Solar cells are connected in series and then encapsulated and protected to form large-area solar modules, which, when combined with components such as power controllers, form photovoltaic power generation devices. To meet grid access requirements for photovoltaic power generation, real-time monitoring and information collection are required to ensure system stability. Real-time monitoring data for photovoltaic power generation includes: system operating environment meteorological parameters, primarily temperature, solar radiation intensity (light intensity), wind speed, and severe weather forecasts; and solar panel operating voltage and current. All of this information is collected, processed, transmitted, and stored by the power station monitoring system via communication channels, enabling intelligent monitoring of the entire power station. Patent application number 2021114072397, named "A photovoltaic power generation data acquisition device for power load forecasting", discloses a collection device body, a plurality of heat dissipation holes are opened on the side of the collection device body, and a dust filter is also installed on the side of the collection device body, and the dust filter is arranged opposite the plurality of heat dissipation holes. This invention replaces the heat dissipation mechanism of the traditional collection device to prevent the electronic components inside the device from working in a high temperature environment for a long time, thereby ensuring the stability of the collection device, facilitating the collection of photovoltaic power generation data, and can also clean and dredge the dust filter, ensuring the patency of the dust filter, so that the air inside the collection device body can smoothly pass through the dust filter to convect with the air in the external environment, thereby ensuring the heat dissipation performance of the collection device body. However, this invention does not perform safe processing on the collected photovoltaic data, which is likely to cause data security risks.

[0003] Summary of the Invention

[0004] The present invention aims to at least solve the technical problems existing in the prior art, and in particular innovatively proposes a photovoltaic module new energy power data transmission method based on blockchain.

[0005] In order to achieve the above-mentioned purpose of the present invention, the present invention provides a method for transmitting photovoltaic module new energy power data based on blockchain, comprising the following steps:

[0006] S1, obtain photovoltaic new energy power data, the photovoltaic new energy power data includes t1~t KThe voltage value V1~V corresponding to the time range K , current value i1~i K , temperature T1~T K , light intensity I1~I K One or any combination of

[0007] S2, converting the photovoltaic new energy power data obtained in step S1 into photovoltaic new energy power image data, where the photovoltaic new energy power image data includes one or any combination of a time-voltage curve graph, a time-current curve graph, a time-temperature curve graph, and a time-light intensity curve graph;

[0008] S3, processing the photovoltaic new energy power image data to obtain photovoltaic new energy power image processed data;

[0009] S4, transmits the photovoltaic new energy power image processing data to the photovoltaic new energy power management platform.

[0010] In a preferred embodiment of the present invention, step S5 is also included, in which the photovoltaic new energy power management platform transmits the photovoltaic new energy power image processing data to the blockchain for storage.

[0011] In a preferred embodiment of the present invention, in step S2, the time-voltage curve graph, the time-current curve graph, the time-temperature curve graph, and the time-light intensity curve graph are respectively in four pictures; the four pictures are the first picture, the second picture, the third picture, and the fourth picture, and the corresponding time-voltage curve graph can be in the first picture, the time-current curve graph can be in the second picture, the time-temperature curve graph can be in the third picture, and the time-light intensity curve graph can be in the fourth picture;

[0012] Any combination of time-voltage curve, time-current curve, time-temperature curve, and time-light intensity curve is in three pictures respectively; these three pictures are the first picture, the second picture, and the third picture, and the corresponding time-voltage curve and time-current curve can be in the first picture, the time-temperature curve can be in the second picture, and the time-light intensity curve can be in the third picture; the corresponding time-voltage curve can be in the first picture, the time-current curve and the time-temperature curve can be in the second picture, and the time-light intensity curve can be in the third picture; the corresponding time-voltage curve can be in the first picture, the time-current curve can be in the second picture, and the time-temperature curve and the time-light intensity curve can be in the third picture; the corresponding time-voltage curve can be in the first picture, the time-current curve can be in the second picture, and the time-temperature curve and the time-light intensity curve can be in the third picture; other types are not listed anymore;

[0013] Any combination of time-voltage curve graph, time-current curve graph, time-temperature curve graph, and time-light intensity curve graph is in two pictures respectively; these two pictures are the first picture and the second picture respectively, and the corresponding time-voltage curve graph can be in the first picture, and the time-current curve graph, time-temperature curve graph, and time-light intensity curve graph can be in the second picture; the corresponding time-current curve graph can be in the first picture, and the time-voltage curve graph, time-temperature curve graph, and time-light intensity curve graph can be in the second picture; the corresponding time-voltage curve graph, time-current curve graph can be in the first picture, and the time-temperature curve graph and time-light intensity curve graph can be in the second picture; other types are not listed anymore;

[0014] Time-voltage curve, time-current curve, time-temperature curve, and time-light intensity curve are in one picture; each picture is a photovoltaic new energy power image.

[0015] In a preferred embodiment of the present invention, in step S3, after processing the photovoltaic new energy power image data, the method for obtaining the photovoltaic new energy power image processed data includes the following steps:

[0016] S31, determining whether the photovoltaic new energy power image is a grayscale image:

[0017] If the photovoltaic new energy power image is a grayscale image, then the photovoltaic new energy power image is a photovoltaic new energy power grayscale image, and the next step is executed;

[0018] If the photovoltaic new energy power image is a non-grayscale image, convert the photovoltaic new energy power image into a photovoltaic new energy power grayscale image and proceed to the next step;

[0019] S32, calculating an image value based on the photovoltaic new energy power image or the photovoltaic new energy power grayscale image to obtain its image value;

[0020] S33, generating a new photovoltaic new energy power image using the photovoltaic new energy power grayscale image and the image value;

[0021] S34, transmitting the new photovoltaic new energy power image to the photovoltaic new energy power management platform.

[0022] In a preferred embodiment of the present invention, in step S31, the method for converting the photovoltaic new energy power image into a photovoltaic new energy power grayscale image is: GRAYimge(x,y)=r(x,y)×η r +g(x,y)×η g +b(x,y)×η b ,

[0023] Where GRAYimge(x,y) represents the grayscale value at the image coordinate (x,y); x = 1, 2, 3, ..., X, y = 1, 2, 3, ..., Y, X represents the number of horizontal pixels in the image, and Y represents the number of vertical pixels in the image;

[0024] r(x,y) represents the red value at the image coordinate (x,y);

[0025] g(x,y) represents the green value at the image coordinate (x,y);

[0026] b(x,y) represents the blue value at the image coordinate (x,y);

[0027] η r The coefficient value representing the red value; η r +η g +η b =1,η r ∈[0,1];

[0028] η g The coefficient value representing the green value; η g ∈[0,1];

[0029] η b The coefficient value representing the blue value; η b ∈[0,1].

[0030] In a preferred embodiment of the present invention, in step S32, the image value is calculated according to the photovoltaic new energy power image, and the method for obtaining the image value is: Imagecode=Imagecodeoperationmethod(newenergypowerimage),

[0031] Among them, Imagecode represents the image value calculated based on the photovoltaic new energy power image;

[0032] Imagecodeoperationmethod() represents the photovoltaic new energy power image calculation method; the SHA1 digest algorithm is preferably used;

[0033] newenergypowerimage represents photovoltaic new energy power image;

[0034] In step S32, the image value is calculated according to the photovoltaic new energy power grayscale image, and the method for obtaining the image value is: Imagecode=Grayimagecodeoperationmethod(newenergypowergrayimage),

[0035] Among them, Imagecode represents the image value obtained by calculating the image value based on the photovoltaic new energy power grayscale image;

[0036] Grayimagecodeoperationmethod() represents the calculation method of photovoltaic new energy power grayscale image; SHA1 digest algorithm is preferably used;

[0037] newenergypowergrayimage represents the grayscale image of photovoltaic new energy power.

[0038] In a preferred embodiment of the present invention, in step S33, the method for generating a new photovoltaic new energy power image using the photovoltaic new energy power grayscale image and the image value is:

[0039] S331, obtaining the number of bits of the photovoltaic new energy power grayscale image;

[0040] S332, obtaining the number of bits of the image value according to the number of bits of the photovoltaic new energy power grayscale image obtained in step S331 and the image value in step S32;

[0041] S333, combining the grayscale value in the photovoltaic new energy power grayscale image with the image value to obtain a new grayscale value;

[0042] S334, obtaining a new photovoltaic new energy power image according to the new grayscale value.

[0043] In a preferred embodiment of the present invention, in step S332, the method for obtaining the number of bits of the image value according to the number of bits of the photovoltaic new energy power grayscale image obtained in step S331 and the image value in step S32 includes the following steps:

[0044] S321, converting the image value in step S32 into a binary image value, recorded as IMAGE2, where IMAGE2 represents the binary image value;

[0045] S322, determine the size relationship between ||IMAGE2|| and |||GRAYimge||:

[0046] If ||IMAGE2||=||GRAYimge||, ||IMAGE2|| represents the number of bits of the binary image value, ||GRAYimge|| represents the number of bits of the photovoltaic new energy power grayscale image, and || || represents the number of bits to be calculated, then no operation is performed on the binary image value;

[0047] If ||IMAGE2||>||GRAYimge||, ||IMAGE2|| represents the number of bits of the binary image value, ||GRAYimge|| represents the number of bits of the photovoltaic new energy power grayscale image, and || || represents the number of bits to be found, then the first GRAYimge|| bits of the binary image value are retained;

[0048] If ||IMAGE2||<||GRAYimge||, ||IMAGE2|| represents the number of bits of the binary image value, ||GRAYimge|| represents the number of bits of the photovoltaic new energy power grayscale image, and || || represents the number of bits to be found, then ||IMAGE2||-||GRAYimge|| 0s or 1s are added to the front or end of the binary image value.

[0049] In a preferred embodiment of the present invention, in step S333, the grayscale value in the photovoltaic new energy power grayscale image is combined with the image value to obtain a new grayscale value by:

[0050] Among them, GRAYimge′2(x,y) represents the new grayscale value;

[0051] GRAYimge2(x,y) represents the binary grayscale value at the image coordinate (x,y); x = 1, 2, 3, ..., X, y = 1, 2, 3, ..., Y, where X represents the number of horizontal pixels in the image and Y represents the number of vertical pixels in the image.

[0052] Represents a binary operator, preferably using XOR, but also XOR;

[0053] IMAGE2 represents a binary image value.

[0054] In a preferred embodiment of the present invention, step S334 includes the following steps:

[0055] S3341, all new grayscale values ​​are used to form a new photovoltaic new energy power image;

[0056] S3342, uses the image value as the name of the new photovoltaic new energy power image.

[0057] In a preferred embodiment of the present invention, the step S5 is further included, after the photovoltaic new energy power management platform receives the sent new photovoltaic new energy power image, the photovoltaic new energy power platform image is obtained through the new photovoltaic new energy power image;

[0058] Photovoltaic new energy power data is obtained based on the photovoltaic new energy power platform image.

[0059] In a preferred embodiment of the present invention, in step S5, the method for obtaining the photovoltaic new energy power platform image through the new photovoltaic new energy power image includes the following steps:

[0060] S51, obtaining the name of a new photovoltaic new energy power image;

[0061] S52: Generate a photovoltaic new energy power platform image using the new photovoltaic new energy power image and the name of the new photovoltaic new energy power image.

[0062] In a preferred embodiment of the present invention, in step S52, the method for generating a photovoltaic new energy power platform image using the new photovoltaic new energy power image and the name of the new photovoltaic new energy power image is:

[0063] S521, obtaining the number of bits of a new photovoltaic new energy power image;

[0064] S522, according to the number of digits of the new photovoltaic new energy power image obtained in step S521 and the name in step S51, the name being the platform image value, obtaining the number of digits of the new platform image value;

[0065] S523, combining the grayscale value in the new photovoltaic new energy power image with the new platform image value to obtain a new platform grayscale value;

[0066] S524, obtaining a photovoltaic new energy power platform image according to the new platform grayscale value.

[0067] In a preferred embodiment of the present invention, in step S522, based on the number of digits of the new photovoltaic new energy power image obtained in step S521 and the name in step S51, the name is the platform image value, and the method for obtaining the number of digits of the new platform image value includes the following steps:

[0068] S5221, converting the platform image value in step S522 into a binary platform image value, recorded as IMAGE′2, where IMAGE′2 represents the binary platform image value;

[0069] S5322, determine the size relationship between ||IMAGE′2|| and ||GRAYimge″||:

[0070] If ||IMAGE′2||=||GRAYimge″||, ||IMAGE′2|| represents the number of bits of the binary platform image value, GRAYimge″|| represents the number of bits of the new photovoltaic new energy power image received by the photovoltaic new energy power management platform, and || || represents the number of bits to be calculated, then no operation is performed on the binary image value;

[0071] If ||IMAGE′2||>||GRAYimge″||, ||IMAGE′2|| represents the number of bits of the binary platform image value, GRAYimge″|| represents the number of bits of the new photovoltaic new energy power image received by the photovoltaic new energy power management platform, and || || represents the number of bits to be calculated, then the first ||GRAYimge|| bits of the binary platform image value are retained;

[0072] If ||IMAGE′2||<||GRAYimge″||, ||IMAGE′2|| represents the number of bits of the binary platform image value, GRAYimge″|| represents the number of bits of the new photovoltaic new energy power image received by the photovoltaic new energy power management platform, and || || represents the number of bits to be calculated, then ||IMAGE′2||-GRAYimge″|| 0s or 1s are added to the front or back of the binary platform image value.

[0073] In a preferred embodiment of the present invention, in step S523, the grayscale value in the new photovoltaic new energy power image is combined with the new platform image value to obtain a new platform grayscale value:

[0074] Among them, GRAYimge″′2(x,y) represents the new platform grayscale value;

[0075] GRAYimge″2(x,y) represents the binary value of the grayscale value at the coordinate (x,y) of the received new photovoltaic new energy power image; x = 1, 2, 3, ..., X, y = 1, 2, 3, ..., Y, X represents the number of horizontal pixels in the image, and Y represents the number of vertical pixels in the image;

[0076] Represents a binary operator, preferably using XOR, but also XOR;

[0077] IMAGE′2 represents a binary platform image value.

[0078] All new platform grayscale values ​​constitute a photovoltaic new energy power platform image.

[0079] In summary, due to the adoption of the above technical solution, the present invention can ensure the security of the collected photovoltaic new energy power data and prevent data tampering.

[0080] Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments with reference to the following drawings, in which:

[0082] FIG1 is a schematic block diagram of the process of the present invention. DETAILED DESCRIPTION

[0083] The following describes embodiments of the present invention in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended only to explain the present invention and are not to be construed as limiting the present invention.

[0084] The present invention provides a method for transmitting photovoltaic module new energy power data based on blockchain, as shown in FIG1 , comprising the following steps:

[0085] S1, obtain photovoltaic new energy power data, the photovoltaic new energy power data includes t1~t K The voltage value V1~V corresponding to the time range K , current value i1~i K , temperature T1~T K , light intensity I1~I K One or any combination of t1~t K The voltage value V1~V corresponding to the time range K , current value i1~i K , temperature T1~T K , light intensity I1~I K The relationship is shown in Table 1.

[0086] Table 1 Relationship between time, voltage, current, temperature and light intensity

[0087] Wherein, t1 represents the first moment, t2 represents the second moment, t3 represents the third moment, t4 represents the fourth moment, t5 represents the fifth moment, t6 represents the sixth moment, t7 represents the seventh moment, t8 represents the eighth moment, t9 represents the ninth moment, and t 10 Indicates the 10th moment, t 11 represents the 11th moment, t 12 represents the 12th moment, t K represents the Kth moment;

[0088] V1 represents the voltage value at time t1, V2 represents the voltage value at time t2, V3 represents the voltage value at time t3, V4 represents the voltage value at time t4, V5 represents the voltage value at time t5, V6 represents the voltage value at time t6, V7 represents the voltage value at time t7, V8 represents the voltage value at time t8, V9 represents the voltage value at time t9, V10 Indicates t 10 The voltage value at the moment, V 11 Indicates t 11 The voltage value at the moment, V 12 Indicates t 12 The voltage value at the moment, V K Indicates t K Voltage value at the moment;

[0089] i1 represents the current value at time t1, i2 represents the current value at time t2, i3 represents the current value at time t3, i4 represents the current value at time t4, i5 represents the current value at time t5, i6 represents the current value at time t6, i7 represents the current value at time t7, i8 represents the current value at time t8, i9 represents the current value at time t9, and i 10 Indicates t 10 The current value at the moment, i 11 Indicates t 11 The current value at the moment, i 12 Indicates t 12 The current value at the moment, i K Indicates t K Current value at the moment;

[0090] T1 represents the temperature value at time t1, T2 represents the temperature value at time t2, T3 represents the temperature value at time t3, T4 represents the temperature value at time t4, T5 represents the temperature value at time t5, T6 represents the temperature value at time t6, T7 represents the temperature value at time t7, T8 represents the temperature value at time t8, T9 represents the temperature value at time t9, T 10 Indicates t 10 Temperature value at the moment, T 11 Indicates t 11 Temperature value at the moment, T 12 Indicates t 12 Temperature value at the moment, T K Indicates t K Temperature value at the moment;

[0091] I1 represents the light intensity value at time t1, I2 represents the light intensity value at time t2, I3 represents the light intensity value at time t3, I4 represents the light intensity value at time t4, I5 represents the light intensity value at time t5, I6 represents the light intensity value at time t6, I7 represents the light intensity value at time t7, I8 represents the light intensity value at time t8, I9 represents the light intensity value at time t9, and I 10 Indicates t 10 The light intensity value at the moment, I 11 Indicates t 11 The light intensity value at the moment, I 12 Indicates t 12 The light intensity value at the moment, I K Indicates tK Light intensity value at a given moment.

[0092] S2, converting the photovoltaic new energy power data obtained in step S1 into photovoltaic new energy power image data, where the photovoltaic new energy power image data includes one or any combination of a time-voltage curve graph, a time-current curve graph, a time-temperature curve graph, and a time-light intensity curve graph;

[0093] S3, processing the photovoltaic new energy power image data to obtain photovoltaic new energy power image processed data;

[0094] S4, transmits the photovoltaic new energy power image processing data to the photovoltaic new energy power management platform.

[0095] In a preferred embodiment of the present invention, step S5 is also included, in which the photovoltaic new energy power management platform transmits the photovoltaic new energy power image processing data to the blockchain for storage.

[0096] In a preferred embodiment of the present invention, in step S2, the time-voltage curve graph, the time-current curve graph, the time-temperature curve graph, and the time-light intensity curve graph are respectively in four pictures; the four pictures are the first picture, the second picture, the third picture, and the fourth picture, and the corresponding time-voltage curve graph can be in the first picture, the time-current curve graph can be in the second picture, the time-temperature curve graph can be in the third picture, and the time-light intensity curve graph can be in the fourth picture;

[0097] Any combination of time-voltage curve, time-current curve, time-temperature curve, and time-light intensity curve is in three pictures respectively; these three pictures are the first picture, the second picture, and the third picture, and the corresponding time-voltage curve and time-current curve can be in the first picture, the time-temperature curve can be in the second picture, and the time-light intensity curve can be in the third picture; the corresponding time-voltage curve can be in the first picture, the time-current curve and the time-temperature curve can be in the second picture, and the time-light intensity curve can be in the third picture; the corresponding time-voltage curve can be in the first picture, the time-current curve can be in the second picture, and the time-temperature curve and the time-light intensity curve can be in the third picture; the corresponding time-voltage curve can be in the first picture, the time-current curve can be in the second picture, and the time-temperature curve and the time-light intensity curve can be in the third picture; other types are not listed anymore;

[0098] Any combination of time-voltage curve graph, time-current curve graph, time-temperature curve graph, and time-light intensity curve graph is in two pictures respectively; these two pictures are the first picture and the second picture respectively, and the corresponding time-voltage curve graph can be in the first picture, and the time-current curve graph, time-temperature curve graph, and time-light intensity curve graph can be in the second picture; the corresponding time-current curve graph can be in the first picture, and the time-voltage curve graph, time-temperature curve graph, and time-light intensity curve graph can be in the second picture; the corresponding time-voltage curve graph, time-current curve graph can be in the first picture, and the time-temperature curve graph and time-light intensity curve graph can be in the second picture; other types are not listed anymore;

[0099] Time-voltage curve, time-current curve, time-temperature curve, and time-light intensity curve are in one picture; each picture is a photovoltaic new energy power image.

[0100] In a preferred embodiment of the present invention, in step S3, after processing the photovoltaic new energy power image data, the method for obtaining the photovoltaic new energy power image processed data includes the following steps:

[0101] S31, determining whether the photovoltaic new energy power image is a grayscale image:

[0102] If the photovoltaic new energy power image is a grayscale image, then the photovoltaic new energy power image is a photovoltaic new energy power grayscale image, and the next step is executed;

[0103] If the photovoltaic new energy power image is a non-grayscale image, convert the photovoltaic new energy power image into a photovoltaic new energy power grayscale image and proceed to the next step;

[0104] S32, calculating an image value based on the photovoltaic new energy power image or the photovoltaic new energy power grayscale image to obtain its image value;

[0105] S33, generating a new photovoltaic new energy power image using the photovoltaic new energy power grayscale image and the image value;

[0106] S34, transmitting the new photovoltaic new energy power image to the photovoltaic new energy power management platform.

[0107] In a preferred embodiment of the present invention, in step S31, the method for converting the photovoltaic new energy power image into a photovoltaic new energy power grayscale image is: GRAYimge(x,y)=r(x,y)×η r +g(x,y)×η g +b(x,y)×η b ,

[0108] Where GRAYimge(x,y) represents the grayscale value at the image coordinate (x,y); x = 1, 2, 3, ..., X, y = 1, 2, 3, ..., Y, X represents the number of horizontal pixels in the image, and Y represents the number of vertical pixels in the image;

[0109] r(x,y) represents the red value at the image coordinate (x,y);

[0110] g(x,y) represents the green value at the image coordinate (x,y);

[0111] b(x,y) represents the blue value at the image coordinate (x,y);

[0112] η r The coefficient value representing the red value; η r +η g +η b =1,η r ∈[0,1];

[0113] η g The coefficient value representing the green value; η g ∈[0,1];

[0114] η b The coefficient value representing the blue value; η b ∈[0,1].

[0115] In a preferred embodiment of the present invention, in step S32, the image value is calculated according to the photovoltaic new energy power image, and the method for obtaining the image value is: Imagecode=Imagecodeoperationmethod(newenergypowerimage),

[0116] Among them, Imagecode represents the image value calculated based on the photovoltaic new energy power image;

[0117] Imagecodeoperationmethod() represents the calculation method of photovoltaic new energy power image (image value); the SHA1 digest algorithm is preferably used;

[0118] newenergypowerimage represents photovoltaic new energy power image;

[0119] In step S32, the image value is calculated according to the photovoltaic new energy power grayscale image, and the method for obtaining the image value is: Imagecode=Grayimagecodeoperationmethod(newenergypowergrayimage),

[0120] Among them, Imagecode represents the image value obtained by calculating the image value based on the photovoltaic new energy power grayscale image;

[0121] Grayimagecodeoperationmethod() represents the calculation method of photovoltaic new energy power grayscale image (image value); the SHA1 digest algorithm is preferably used;

[0122] newenergypowergrayimage represents the grayscale image of photovoltaic new energy power.

[0123] In a preferred embodiment of the present invention, in step S33, the method for generating a new photovoltaic new energy power image using the photovoltaic new energy power grayscale image and the image value is:

[0124] S331, obtaining the number of bits of the photovoltaic new energy power grayscale image;

[0125] S332, obtaining the number of bits of the image value according to the number of bits of the photovoltaic new energy power grayscale image obtained in step S331 and the image value in step S32;

[0126] S333, combining the grayscale value in the photovoltaic new energy power grayscale image with the image value to obtain a new grayscale value;

[0127] S334, obtaining a new photovoltaic new energy power image according to the new grayscale value.

[0128] In a preferred embodiment of the present invention, in step S332, the method for obtaining the number of bits of the image value according to the number of bits of the photovoltaic new energy power grayscale image obtained in step S331 and the image value in step S32 includes the following steps:

[0129] S321, converting the image value in step S32 into a binary image value, recorded as IMAGE2, where IMAGE2 represents the binary image value;

[0130] S322, determine the size relationship between ||IMAGE2|| and ||GRAYimge||:

[0131] If ||IMAGE2||=||GRAYimge||, ||IMAGE2|| represents the number of bits of the binary image value, ||GRAYimge|| represents the number of bits of the photovoltaic new energy power grayscale image, and || || represents the number of bits to be calculated, then no operation is performed on the binary image value;

[0132] If ||IMAGE2||>||GRAYimge||, ||IMAGE2|| represents the number of bits of the binary image value, ||GRAYimge|| represents the number of bits of the photovoltaic new energy power grayscale image, and || || represents the number of bits to be found, then the first GRAYimge|| bits of the binary image value are retained;

[0133] If ||IMAGE2||<||GRAYimge||, ||IMAGE2|| represents the number of bits of the binary image value, ||GRAYimge|| represents the number of bits of the photovoltaic new energy power grayscale image, and || || represents the number of bits to be calculated, then ||IMAGE2||-||GRAYimge|| zeros or 1s are added to the front or back of the binary image value. Preferably, ||IMAGE2||-||GRAYimge|| zeros are added to the front of the binary image value.

[0134] In a preferred embodiment of the present invention, in step S333, the grayscale value in the photovoltaic new energy power grayscale image is combined with the image value to obtain a new grayscale value by:

[0135] Among them, GRAYimge′2(x,y) represents the new grayscale value;

[0136] GRAYimge2(x,y) represents the binary grayscale value at the image coordinate (x,y); x = 1, 2, 3, ..., X, y = 1, 2, 3, ..., Y, where X represents the number of horizontal pixels in the image and Y represents the number of vertical pixels in the image.

[0137] Represents a binary operator, preferably using XOR, but also XOR;

[0138] IMAGE2 represents a binary image value.

[0139] In a preferred embodiment of the present invention, step S334 includes the following steps:

[0140] S3341, all new grayscale values ​​are used to form a new photovoltaic new energy power image;

[0141] S3342, uses the image value as the name of the new photovoltaic new energy power image.

[0142] In a preferred embodiment of the present invention, the step S5 is further included, after the photovoltaic new energy power management platform receives the sent new photovoltaic new energy power image, the photovoltaic new energy power platform image is obtained through the new photovoltaic new energy power image;

[0143] Photovoltaic new energy power data is obtained based on the photovoltaic new energy power platform image.

[0144] In a preferred embodiment of the present invention, in step S5, the method for obtaining the photovoltaic new energy power platform image through the new photovoltaic new energy power image includes the following steps:

[0145] S51, obtaining the name of a new photovoltaic new energy power image;

[0146] S52: Generate a photovoltaic new energy power platform image using the new photovoltaic new energy power image and the name of the new photovoltaic new energy power image.

[0147] In a preferred embodiment of the present invention, in step S52, the method for generating a photovoltaic new energy power platform image using the new photovoltaic new energy power image and the name of the new photovoltaic new energy power image is:

[0148] S521, obtaining the number of bits of a new photovoltaic new energy power image;

[0149] S522, according to the number of digits of the new photovoltaic new energy power image obtained in step S521 and the name in step S51, the name being the platform image value, obtaining the number of digits of the new platform image value;

[0150] S523, combining the grayscale value in the new photovoltaic new energy power image with the new platform image value to obtain a new platform grayscale value;

[0151] S524: Obtain a photovoltaic new energy power platform image based on the new platform grayscale value. In this step, to ensure that the photovoltaic new energy power platform image is the photovoltaic new energy power grayscale image in step S31, anti-tampering verification is performed on the photovoltaic new energy power platform image. The anti-tampering verification method includes the following steps:

[0152] The first step is to calculate the image verification value based on the photovoltaic new energy power platform image. The method for obtaining the image verification value is: Imagevalidationcode=Imagevalidationcodeoperationmethod(newenergypowermanagementimage),

[0153] Among them, Imagevalidationcode represents the image validation value calculated based on the photovoltaic new energy power platform image;

[0154] Imagevalidationcodeoperationmethod() represents the image verification value calculation method; the SHA1 digest algorithm is preferably used;

[0155] newenergypowermanagementimage represents the photovoltaic new energy power platform image;

[0156] The second step is to determine whether the image verification value is consistent with the platform image value (which is also the name of the new photovoltaic new energy power image in step S51):

[0157] If the image verification value is consistent with the platform image value, the new photovoltaic new energy power image received by the photovoltaic new energy power management platform has not been tampered with;

[0158] If the image verification value is inconsistent with the platform image value, the new photovoltaic new energy power image received and sent by the photovoltaic new energy power management platform has been tampered with.

[0159] In a preferred embodiment of the present invention, in step S522, based on the number of digits of the new photovoltaic new energy power image obtained in step S521 and the name in step S51, the name is the platform image value, and the method for obtaining the number of digits of the new platform image value includes the following steps:

[0160] S5221, converting the platform image value in step S522 into a binary platform image value, recorded as IMAGE′2, where IMAGE′2 represents the binary platform image value;

[0161] S5322, determine the size relationship between ||IMAGE′2|| and ||GRAYimge″||:

[0162] If ||IMAGE′2||=||GRAYimge″||, ||IMAGE′2|| represents the number of bits of the binary platform image value, GRAYimge″|| represents the number of bits of the new photovoltaic new energy power image received by the photovoltaic new energy power management platform, and || || represents the number of bits to be calculated, then no operation is performed on the binary image value;

[0163] If ||IMAGE′2||>||GRAYimge″||, ||IMAGE′2|| represents the number of bits of the binary platform image value, GRAYimge″|| represents the number of bits of the new photovoltaic new energy power image received by the photovoltaic new energy power management platform, and || || represents the number of bits to be calculated, then the first ||GRAYimge|| bits of the binary platform image value are retained;

[0164] If ||IMAGE′2||<||GRAYimge″||, ||IMAGE′2|| represents the number of bits of the binary platform image value, GRAYimge″|| represents the number of bits of the new photovoltaic new energy power image received by the photovoltaic new energy power management platform, and || || represents the number of bits to be calculated, then ||IMAGE′2||-GRAYimge″|| 0s or 1s are added to the front or back of the binary platform image value. Preferably, ||IMAGE′2||-GRAYimge″|| 0s are added to the front of the binary platform image value.

[0165] In a preferred embodiment of the present invention, in step S523, the grayscale value in the new photovoltaic new energy power image is combined with the new platform image value to obtain a new platform grayscale value:

[0166] Among them, GRAYimge″′2(x,y) represents the new platform grayscale value;

[0167] GRAYimge″2(x,y) represents the binary value of the grayscale value at the coordinate (x,y) of the received new photovoltaic new energy power image; x = 1, 2, 3, ..., X, y = 1, 2, 3, ..., Y, X represents the number of horizontal pixels in the image, and Y represents the number of vertical pixels in the image;

[0168] Represents a binary operator, preferably using XOR, but also XOR;

[0169] IMAGE′2 represents a binary platform image value.

[0170] All new platform grayscale values ​​constitute a photovoltaic new energy power platform image.

[0171] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the claims and their equivalents.

Claims

1. A method for transmitting photovoltaic module new energy power data based on blockchain, characterized in that: The following steps are involved: S1, obtain photovoltaic new energy power data, the photovoltaic new energy power data includes t1~t K The voltage value V1~V corresponding to the time range K , current value i1~i K , temperature T1~T K , light intensity I1~I K One or any combination of; S2, converting the photovoltaic new energy power data obtained in step S1 into photovoltaic new energy power image data, where the photovoltaic new energy power image data includes one or any combination of a time-voltage curve graph, a time-current curve graph, a time-temperature curve graph, and a time-light intensity curve graph; S3, processing the photovoltaic new energy power image data to obtain photovoltaic new energy power image processing data; S4, transmits the photovoltaic new energy power image processing data to the photovoltaic new energy power management platform.

2. The method for transmitting photovoltaic module new energy power data based on blockchain according to claim 1 is characterized in that: It also includes step S5, in which the photovoltaic new energy power management platform transmits the photovoltaic new energy power image processing data to the blockchain for storage.

3. The method for transmitting photovoltaic module new energy power data based on blockchain according to claim 1 is characterized in that: In step S3, after the photovoltaic new energy power image data is processed, the method for obtaining the photovoltaic new energy power image processing data includes the following steps: S31, judging whether the photovoltaic new energy power image is a grayscale image: If the photovoltaic new energy power image is a grayscale image, then the photovoltaic new energy power image is a photovoltaic new energy power grayscale image, and the next step is executed; If the photovoltaic new energy power image is a non-grayscale image, convert the photovoltaic new energy power image into a photovoltaic new energy power grayscale image, and execute the next step; S32, calculating an image value according to the photovoltaic new energy power image or the photovoltaic new energy power grayscale image to obtain its image value; S33, generating a new photovoltaic new energy power image using the photovoltaic new energy power grayscale image and the image value; S34, transmitting the new photovoltaic new energy power image to the photovoltaic new energy power management platform.

4. The method for transmitting photovoltaic module new energy power data based on blockchain according to claim 1 is characterized in that: In step S31, the method of converting the photovoltaic new energy power image into a photovoltaic new energy power grayscale image is: GRAYimge(x,y)=r(x,y)×η r +g(x,y)×η g +b(x,y)×η b , Among them, GRAYimage(x,y) represents the grayscale value at the image coordinate (x,y); r(x,y) represents the red value at the image coordinate (x,y); g(x,y) represents the green value at the image coordinate (x,y); b(x,y) represents the blue value at the image coordinate (x,y); η r The coefficient value representing the red value; η r +η g +η b =1,η r ∈[0,1]; η g The coefficient value representing the green value; η g ∈[0,1]; η b The coefficient value representing the blue value; η b ∈[0,1].

5. The method for transmitting photovoltaic module new energy power data based on blockchain according to claim 1 is characterized in that: The step S5 is also included, after the photovoltaic new energy power management platform receives the sent new photovoltaic new energy power image, the photovoltaic new energy power platform image is obtained through the new photovoltaic new energy power image; Photovoltaic new energy power data is obtained based on the photovoltaic new energy power platform image.

6. The method for transmitting photovoltaic module new energy power data based on blockchain according to claim 1 is characterized in that: In step S5, the method for obtaining the photovoltaic new energy power platform image through the new photovoltaic new energy power image includes the following steps: S51, obtaining the name of a new photovoltaic new energy power image; S52, generating a photovoltaic new energy power platform image using the new photovoltaic new energy power image and the name of the new photovoltaic new energy power image.

7. The method for transmitting photovoltaic module new energy power data based on blockchain according to claim 1 is characterized in that: In step S52, the method of generating a photovoltaic new energy power platform image by using the new photovoltaic new energy power image and the name of the new photovoltaic new energy power image is: S521, obtaining the number of digits of a new photovoltaic new energy power image; S522, according to the number of digits of the new photovoltaic new energy power image obtained in step S521 and the name in step S51, the name being the platform image value, obtaining the number of digits of the new platform image value; S523, combining the grayscale value in the new photovoltaic new energy power image with the new platform image value to obtain a new platform grayscale value; S524, obtaining a photovoltaic new energy power platform image according to the new platform grayscale value.

8. The method for transmitting photovoltaic module new energy power data based on blockchain according to claim 1 is characterized in that: In step S522, according to the number of digits of the new photovoltaic new energy power image obtained in step S521 and the name in step S51, the name is the platform image value, and the method for obtaining the number of digits of the new platform image value includes the following steps: S5221, converting the platform image value in step S522 into a binary platform image value, recorded as IMAGE′2, where IMAGE′2 represents a binary platform image value; S5322, determine the size relationship between ||IMAGE′2|| and ||GRAYimge″||: If ||IMAGE′2||=||GRAYimge″||, ||IMAGE′2|| represents the number of bits of the binary platform image value, ||GRAYimge″|| represents the number of bits of the new photovoltaic new energy power image received by the photovoltaic new energy power management platform, and |||| represents the number of bits to be calculated, then no operation is performed on the binary image value; If ||IMAGE′2||>||GRAYimge″||, ||IMAGE′2|| represents the number of bits of the binary platform image value, ||GRAYimge″|| represents the number of bits of the new photovoltaic new energy power image received by the photovoltaic new energy power management platform, and |||| represents the number of bits to be sought, then the first ||GRAYimge|| bits of the binary platform image value are retained; If ||IMAGE′2||<||GRAYimge″||, ||IMAGE′2|| represents the number of bits of the binary platform image value, ||GRAYimge″|| represents the number of bits of the new photovoltaic new energy power image received by the photovoltaic new energy power management platform, and |||| represents the number of bits to be calculated, then ||IMAGE2′||-||GRAYimge″|| 0s or 1s are added to the front or end of the binary platform image value.

9. The method for transmitting photovoltaic module new energy power data based on blockchain according to claim 1 is characterized in that: In step S523, the grayscale value in the new photovoltaic new energy power image is combined with the new platform image value to obtain a new platform grayscale value: Among them, GRAYimge2″′(x,y) represents the new platform grayscale value; GRAYimge2″(x,y) represents the binary value of the grayscale value at the coordinate (x,y) of the received new photovoltaic new energy power image; x=1, 2, 3, ..., X, y=1, 2, 3, ..., Y, X represents the number of horizontal pixels in the image, and Y represents the number of vertical pixels in the image; Represents a binary operator; IMAGE′2 represents a binary platform image value.

Citation Information

Patent Citations

  • Ultrashort-term photovoltaic power prediction method based on cloud change analysis

    CN106372749A

  • Photovoltaic power ultra-short-term prediction method and device, computer equipment and storage medium

    CN116523145A

  • Safety method for generating photovoltaic module energy data through big data image

    CN117195320A

  • Block chain-based photovoltaic module new energy power data transmission method

    CN117200971A

  • Control device, photovoltaic power generation system, program, and control method

    JP2021180605A