Safe and credible interaction method for photovoltaic data

By periodically summarizing photovoltaic data and assigning benchmark weights through the interactive management unit, combined with dynamic MAC address authentication, the security problem of key authentication in photovoltaic data interaction is solved, and the security and reliability of data transmission are achieved.

CN120811799AActive Publication Date: 2025-10-17HUANENG LANCANG RIVER HYDROPOWER CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511315787.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-16
Publication Date
2025-10-17
Estimated Expiration
2045-09-16

AI Technical Summary

Technical Problem

In the current photovoltaic data exchange process, the key authentication method is at risk of leakage, leading to data security and trust issues.

Method used

The interactive management unit periodically summarizes photovoltaic data, creates an interactive management list and assigns benchmark weights, and combines it with a dynamic MAC address authentication mechanism to ensure the security and reliability of data packet transmission.

Benefits of technology

This effectively avoids key dependency, improves the security and trustworthiness of photovoltaic data interaction, and reduces authentication risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120811799A_ABST
    Figure CN120811799A_ABST
Patent Text Reader

Abstract

The invention discloses a safe and credible interaction method for photovoltaic data, and relates to the technical field of photovoltaic data interaction, and the method comprises the steps: periodically forming a plurality of interaction management lists, authentication digits of the interaction management lists and digital labels through an interaction management unit; transmitting all photovoltaic segmented data packets in the corresponding interaction management list according to the authentication digits and the digital numbers thereof, receiving the photovoltaic segmented data packets by the scheduling management platform, authenticating the interaction environment for a plurality of times in the receiving process, the authentication digits being dynamic during each authentication and being obtained based on the MAC address of the scheduling center, and transmitting the authentication digits to the scheduling management platform. The MAC address can be obtained once when the interaction environment authentication is carried out each time, so that the data packet receiving quantity standard is matched with the current interaction environment when the authentication is carried out each time, the anti-attack capability of the authentication mechanism is improved, the credibility of the photovoltaic data interaction process is greatly ensured, the authentication of the photovoltaic data interaction process gets rid of the dependence of a secret key, and the authentication efficiency of the photovoltaic data interaction process is improved. And the risk of unsafe authentication is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of photovoltaic data interaction, in particular to a safe and reliable photovoltaic data interaction method. BACKGROUND

[0002] With the large-scale construction of photovoltaic power stations and the wide popularity of distributed photovoltaics, cross-system interaction of photovoltaic data is becoming increasingly frequent, which not only needs to be transmitted between internal devices of the power station, but also needs to be shared in real time with external systems such as grid dispatching centers and energy management platforms. In this process, the integrity and confidentiality of the data and the identity reliability of the two parties in the interaction directly affect the stable operation of the photovoltaic power station and the safety of the grid dispatching, so the safe and reliable interaction of photovoltaic data has become a core requirement of the industry. Currently, the authentication mechanism for the safe interaction of photovoltaic data mainly relies on key-related technologies, which include the following categories: certificate-based authentication mechanism: by assigning digital certificates to the interacting subjects, identity identification, encryption and decryption keys, and authentication keys are determined; when interacting, the identity is encrypted and the message digest is calculated using the national encryption algorithm, and two-way identity confirmation is achieved through certificate verification to prevent identity impersonation and data tampering; API key authentication: a unique API key is assigned to users or application programs related to photovoltaic data interaction, and the key is sent as a request parameter or request header to the receiving end every time data is requested, and the receiving end verifies the legitimacy of the request through key matching; OAuth authentication: suitable for scenarios where third-party platforms access photovoltaic data, users grant data access rights to third parties through tokens generated by the authorization server, and third parties can complete authentication without obtaining user account passwords; However, the above authentication methods based on keys rely on keys, and there is a risk of leakage during the generation, storage, and transmission of keys. Once the key is illegally obtained, the attacker can initiate a request by impersonating the identity, resulting in data leakage or malicious instruction injection. To solve the above problems, the present application provides a solution. SUMMARY

[0003] The purpose of the present application is to provide a safe and reliable photovoltaic data interaction method to solve the problems raised in the background art.

[0004] The present application provides a safe and reliable photovoltaic data interaction method, comprising the following steps: Step 1: After the interaction management unit obtains an interaction data set of a target power station for each collection period, it assigns weights to each photovoltaic segmented data packet according to a preset weighting formula to obtain corresponding reference weights and temporarily stores them, while counting the total number of photovoltaic segmented data packets in the interaction data set and transmitting them to the dispatching management platform; Step two: create several empty lists in turn, extract several photovoltaic segment data packets from the interaction data set for each empty list created and add them to the list to obtain an interaction management list of the target power station in the collection period and its authentication digits, and digitally label all the obtained interaction management lists in the order obtained, with the digital label starting from 1 and extending forward; Step three: the interaction management unit sequentially transmits the photovoltaic segment data packets in all the interaction management lists of the target power station in the collection period to the dispatch management platform in the order of increasing digital label; Step four: after receiving the total number of photovoltaic segment data packets in the interaction data set, the dispatch management platform obtains the digital labels and authentication digits of several interaction management lists of the target power station in the collection period according to steps two to four and temporarily stores them; Step five: perform an authentication of the interaction environment for each received photovoltaic segment data packet of the target power station in the collection period, select to generate an authentication constraint instruction based on the authentication result, and transmit the authentication constraint instruction to the interaction management unit; Step six: the interaction management unit performs a response authentication for each received authentication constraint instruction, selects to generate an interaction environment exception instruction or an authentication pass instruction based on the response authentication result, and transmits the generated interaction environment exception instruction or authentication pass instruction to the dispatch management platform.

[0005] Further, before completing step one, the following steps need to be completed: S01: every interval of a collection period, the data collection unit transmits all the photovoltaic data of the target power station collected in the collection period to the interaction management unit as photovoltaic collection data of the target power station in the collection period; S02: the interaction management unit performs cutting on the photovoltaic collection data according to the pre-stored static index quantity to obtain several photovoltaic segment data of the target power station in the collection period after receiving one photovoltaic collection data of the target power station in the collection period, and then encapsulates each photovoltaic segment data to obtain several photovoltaic segment data packets of the target power station in the collection period; S03: the interaction management unit encapsulates each photovoltaic segment data to obtain several photovoltaic segment data packets of the target power station in the collection period after obtaining several photovoltaic segment data of the target power station in the collection period, and aggregates all the photovoltaic segment data packets of the target power station in the collection period obtained after encapsulation to obtain an interaction data set of the target power station in the collection period.

[0006] Further, the photovoltaic segmented data packet contains the sequence number used to identify the position of the photovoltaic segmented data in the corresponding photovoltaic collection data before cutting, and the sequence number indicates the transmission order of the photovoltaic segmented data packet.

[0007] Further, in step one, the proportional weighting formula is , wherein Y1 and Ya respectively represent the minimum and maximum sequence numbers contained in all photovoltaic segmented data packets of the target power station in the collection period, a represents the total number of all photovoltaic segmented data packets of the target power station in the collection period, P1 represents a preset coupling weight value, P2 represents a preset dynamic constraint weight value, the purpose is to ensure that the value of each reference weight is in the interval (0, 16], y represents each photovoltaic segmented data packet of the target power station in the collection period, Yy represents the reference weight of each photovoltaic segmented data packet of the target power station in the collection period, and ceil() represents the upward rounding function.

[0008] Further, in the proportional weighting formula, if the calculation result is a decimal number, and the number of digits after the decimal point is not less than 6, then the result is truncated: all digits after the 6th digit after the decimal point are omitted, and only the integer part before the decimal point and the first 6 digits after the decimal point are retained.

[0009] Further, in step two, the contents of the interaction management list and the authentication digits of the target power station in the collection period are as follows: S11: According to the position of the photovoltaic segmented data in the photovoltaic collection data before cutting, the all photovoltaic segmented data packets are sequentially labeled as A1, A2,..., Aa from left to right. S12: Extract the address information of the scheduling management platform stored in the interaction management unit and perform data processing operation to obtain four binary numbers B1, B2,..., B12. S13: Use the list() function to create an empty list, extract a number of photovoltaic segmented data packets from the interaction data set and add them to the list to obtain the interaction management list V1 and the authentication digits and digital labels of the target power station in the collection period; and after the addition is completed, perform a deletion operation on the interaction data set; S14: Re-weight all photovoltaic segmented data packets contained in the interaction data set to obtain the corresponding new reference weights; update the reference weights of the corresponding photovoltaic segmented data packets in the interaction management unit according to the new reference weights of the remaining all photovoltaic segmented data packets of the target power station in the collection period which are not added to any list. S15: creating several empty lists in sequence according to S13, extracting several photovoltaic segment data packets from the interactive data set and adding them into the lists to obtain the interactive management lists V2, V3,..., Vv of the target power station of the collection period, v≥1, after the addition is completed, performing a deletion operation on the interactive data set until the number of photovoltaic segment data packets existing in the interactive data set is 0.

[0010] Further, in step six, if the generated is an interactive environment abnormal instruction, the interactive management unit stops transmitting photovoltaic segment data packets to the dispatch management platform, and if the generated is an authentication pass instruction, the interactive management unit deletes the authentication number with the smallest digital label stored in its memory.

[0011] Further, after completing step six, the following steps also need to be completed: If the dispatch management platform receives the transmitted interactive environment abnormal instruction, it will be displayed to the management personnel of the dispatch management platform for viewing, and if the received is an authentication pass instruction, the authentication number with the smallest digital label temporarily stored in it will be deleted.

[0012] Further, the specific content of the interactive management list V1 of the target power station of the collection period is as follows: S131: In the interactive data set, the reference weights of all photovoltaic segment data packets are obtained in sequence from left to right, that is, the reference weights C1, C2,..., Cx of photovoltaic segment data packets A1, A2,..., Ax are obtained in sequence, the sum of the obtained reference weights C1, C2,..., Cx is calculated, and the sum is the static weight D1 of the list, x is a preset variability index; S132: Compare the reference weight C1 with the decimal number of four-bit binary number B1, and update the reference weight C1 of photovoltaic segment data packet A1 based on the comparison result, the update content is as follows: if the reference weight C1 is greater than or equal to the decimal number of four-bit binary number B1, the value of the reference weight C1 is increased by 1, otherwise, the value of the reference weight C1 is decreased by 1; Similarly, the reference weights C2 and B2, C3 and B3,..., Ca and B (a mod 12) decimal numbers are compared in sequence, and the reference weights of photovoltaic segment data packets A1, A2,..., Aa are updated in sequence based on the comparison results, among which each reference weight is updated once, the sum of all the currently updated reference weights is calculated, and the sum is compared with the static weight D1, if the sum is less than the static weight D1, the next reference weight update is continued; Conversely, all photovoltaic segmented data packets corresponding to the current updated reference weight are obtained, and the photovoltaic segmented data packet with the largest marked subscript is deleted, the obtained all photovoltaic segmented data packets are sequentially added into the list in the order of the marked subscript from small to large, after the addition is completed, the list is taken as the interactive management list V1 of the target power station of the collection period, the total number of the photovoltaic segmented data packets added into the interactive management list V1 is obtained, the total number is taken as the authentication digit of the interactive management list V1, and the marked subscript of the interactive management list V1, that is, 1, is taken as the digital number of the interactive management list V1.

[0013] Compared with the prior art, the present application has the following beneficial effects: The present application periodically collects photovoltaic data of the target power station through the data collection unit, and the interactive data set is formed by the interactive management unit, a plurality of empty lists are created, all photovoltaic segmented data packets in the interactive data set are selected and added into the corresponding empty list to obtain a plurality of interactive management lists of the corresponding collection period and the authentication digit and the digital number, the interactive management unit transmits all photovoltaic segmented data packets in the corresponding interactive management list according to the authentication digit and the digital number, and the photovoltaic segmented data packets are received by the dispatch management platform, the interactive environment is authenticated in the receiving process, if the authentication is passed, the photovoltaic segmented data packets are continuously received, otherwise the photovoltaic segmented data packets are stopped to be received and the interactive management unit stops to continuously transmit the photovoltaic segmented data packets, in this way, on the one hand, the safety problem in the photovoltaic data interaction process is ensured, and on the other hand, the invalid transmission of too many photovoltaic segmented data packets caused by untrusted interaction is avoided. In the authentication process of the interactive environment, based on the authentication digit and the digital number of the interactive management list, the corresponding authentication digit is obtained in the order of the digital number from small to large, and once the corresponding number of photovoltaic segmented data packets is received, the interactive environment is authenticated, in which, the number of the received photovoltaic segmented data packets is based on the authentication digit, and the authentication digit is dynamic and obtained based on the MAC address of the dispatch center, and the MAC address is obtained once in each interactive environment authentication, since the MAC address is unique and is reacquired in each authentication, the data packet receiving number standard is adapted to the current interactive environment in each authentication, the anti-attack ability of the authentication mechanism is improved through dynamic change, the credibility of the photovoltaic data interaction process is greatly ensured, and the authentication of the photovoltaic data interaction process is free from the dependence on the key, and the risk of insecure authentication is reduced. BRIEF DESCRIPTION OF DRAWINGS

[0014] Figure 1 The method flowchart of the present application. DETAILED DESCRIPTION

[0015] With reference to the drawings of the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by a person of ordinary skill in the art without creative effort belong to the scope of the present application.

[0016] Please refer to Figure 1 The present application provides a safe and reliable interaction method of photovoltaic data, and the method is executed by a safe and reliable interaction system of photovoltaic data, which comprises a photovoltaic sending end and a dispatching management platform. The photovoltaic sending end is used to collect and periodically transmit photovoltaic data of a target power station in real time, wherein the target power station can be any one of a grid-connected photovoltaic power station, a centralized photovoltaic power station and a distributed photovoltaic power station, and the photovoltaic data contains monitoring values of a plurality of transmission parameters. The transmission parameters are selected by a supervisor of the dispatching management platform according to grid dispatching requirements, business scenario requirements and operating characteristics of the target power station, and in consultation with a management personnel of the target power station. The photovoltaic sending end comprises a data collection unit and an interaction management unit, and every interval of a collection period, the data collection unit collects all photovoltaic data of the target power station in the collection period, and transmits the photovoltaic collection data of the target power station in the collection period to the interaction management unit as photovoltaic collection data of the target power station in the collection period. The interaction management unit pre-stores address information of the dispatching management platform, and the address information is used to identify the actual address of a network device of the dispatching management platform receiving the photovoltaic collection data of the target power station, and in the present application, the address information is a MAC address, and the storage format is XX-XX-XX-XX-XX-XX. For example, 00-E0-97-27-6D-DD. The interaction management unit pre-stores a static index quantity, and the static index quantity is used to determine the standard transmission capacity of a data packet in a standardized authentication process, and it should be noted that the value of the static index quantity is set by the management personnel of the target power station according to the data capacity of the photovoltaic data collected periodically by the target power station, the various transmission parameters contained in the photovoltaic data and the network transmission capacity of the target power station. After receiving the photovoltaic collection data of the target power station in the collection period, the interaction management unit first cuts the photovoltaic collection data according to the static index quantity to obtain a plurality of photovoltaic segmented data of the target power station in the collection period, and then encapsulates each photovoltaic segmented data to obtain a plurality of photovoltaic segmented data packets of the target power station in the collection period. The all photovoltaic segment data packets of the target power station in the collection period are aggregated to obtain an interaction data set of the target power station in the collection period; In addition to containing corresponding photovoltaic segment data, each photovoltaic segment data packet contains a serial number used to identify the position of the photovoltaic segment data in the corresponding photovoltaic collection data before cutting, and the serial number indicates the transmission order of the photovoltaic segment data packet, and the smaller the serial number, the earlier the transmission, and the closer to the left end in the corresponding photovoltaic collection data before cutting. It should be noted that the serial numbers in the photovoltaic segment data packets in the interaction data set increase sequentially from left to right. For example, in an IP data packet, the serial number is used to ensure the order and reliability of data transmission. The interaction management unit weights each photovoltaic segment data packet in the interaction data set of the target power station in the collection period according to a preset proportion weighting formula to obtain a reference weight of each photovoltaic segment data packet and temporarily stores it, and the proportion weighting formula is In the formula, Y1 and Ya are the minimum and maximum serial numbers contained in all photovoltaic segment data packets of the target power station in the collection period, a represents the total number of all photovoltaic segment data packets of the target power station in the collection period, P1 is a preset coupling weight value, and the purpose is to ensure that the value of the reference weight Y1 is greater than 0, and P2 is a preset dynamic constraint weight value, and the purpose is to ensure that the value of each reference weight is in the interval (0, 16], i.e. Yy∈(0, 16]; Yy represents the reference weight of each photovoltaic segment data packet of the target power station in the collection period, and ceil() is a rounding up function. In this application, P1 is a multiple of 10, P2 is a positive integer, and the selection logic of P1 is to select a smallest positive integer power of 10 from all positive integer powers of 10 to make the value of the reference weight Y1 greater than 0, and the value obtained by calculating 10 based on the selected positive integer power is taken as P1. For example, if Y1 is 0.784314, then P1 is 10, and if Y1 is 0.001998, then P1 is 1000. It should be noted that the value of P2 in the proportion weighting formula is not the same when calculating the reference weight of each photovoltaic segment data packet. It should be noted that in the above proportion weighting formula, if The calculation result is a decimal number, and the number of digits after the decimal point is not less than 6, then the result is truncated: all numbers after the 6th digit after the decimal point are omitted, and only the integer part before the decimal point and the first 6 digits after the decimal point are retained. S11: Mark all photovoltaic segmented data packets in order from left to right as A1, A2,..., Aa according to the position of photovoltaic segmented data in photovoltaic collection data before cutting, a is the total number of all photovoltaic segmented data packets of the target power station in the collection period; S12: Extract the address information of the scheduling management platform stored in the interaction management unit and perform data processing operation to obtain four-bit binary numbers B1, B2,..., B12, the specific content of data processing is as follows: According to the "-" of the address information, six groups of hexadecimal numbers are obtained; For any one group of hexadecimal numbers obtained, binary conversion is performed to obtain a corresponding group of eight-bit binary numbers; For any one group of eight-bit binary numbers obtained, it is divided into two groups of four-bit binary numbers, and the two groups of four-bit binary numbers are associated with the hexadecimal number corresponding to the eight-bit binary number; Mark the 12 groups of four-bit binary numbers obtained as B1, B2,..., B12, respectively. Four-bit binary numbers B1 and B2 are four-bit binary numbers associated with the hexadecimal number before the first "-" from left to right in the address information, and four-bit binary number B1 is the first four characters of the eight-bit binary number corresponding to the hexadecimal number from left to right. Four-bit binary number B2 is the first four characters of the eight-bit binary number corresponding to the hexadecimal number from right to left. Four-bit binary numbers B3 and B4, four-bit binary numbers B5 and B6, four-bit binary numbers B7 and B8, and so on; S13: Use the list() function to create an empty list, extract several photovoltaic segmented data packets from the interaction data set and add them to the list to obtain the interaction management list V1 of the target power station in the collection period, its authentication digits and digital labels; and after adding, perform a deletion operation on the interaction data set, the content of the deletion operation is: delete all photovoltaic segmented data packets added to the interaction management list V1 from the interaction data set; The specific content of the interaction management list V1 of the target power station in the collection period is as follows: S131: In the interactive data set, the reference weights of all photovoltaic segment data packets are sequentially obtained in the order from left to right, that is, the reference weights C1, C2,..., Cx of the photovoltaic segment data packets A1, A2,..., Ax are sequentially obtained, the sum of the obtained reference weights C1, C2,..., Cx is calculated, and the sum is the static weight D1 of the list. The static weight D1 is a preset variability index quantity. The variability index quantity is used to clearly define the standard transmission quantity of the data packet in the standardization authentication process. It is pointed out that the value of the variability index quantity is set by the management personnel of the target power station according to the data capacity size of the photovoltaic data periodically collected by the target power station, various transmission parameters contained in the photovoltaic data, and the network transmission capacity of the target power station, and is stored in the interactive management unit; S132: The reference weight C1 and the decimal number of the four-bit binary number B1 are compared in size, and the reference weight C1 of the photovoltaic segment data packet A1 is updated based on the comparison result. The update content is as follows: if the reference weight C1 is greater than or equal to the decimal number of the four-bit binary number B1, the value of the reference weight C1 is increased by 1, otherwise, the value of the reference weight C1 is decreased by 1; Similarly, the reference weights C2 and B2, C3 and B3,..., Ca and B (a mod 12) The decimal numbers are compared in size, and the reference weights of the photovoltaic segment data packets A1, A2,..., Aa are sequentially updated based on the comparison results. Among them, each reference weight is updated once, the sum of all the currently updated reference weights is calculated, and the sum is compared with the static weight D1. If the sum is less than the static weight D1, the update of the next reference weight is continued, otherwise, the photovoltaic segment data packets corresponding to all the currently updated reference weights are obtained and the photovoltaic segment data packet with the largest subscript mark is deleted. The obtained all photovoltaic segment data packets are sequentially added to the list in the order of the subscript mark from small to large, and after the addition is completed, the list is taken as the interactive management list V1 of the target power station in the collection period. The total number of the photovoltaic segment data packets added to the interactive management list V1 is obtained, and the total number is taken as the authentication digit of the interactive management list V1. The subscript mark of the interactive management list V1, that is, 1, is taken as the digital label thereof; At the same time, the reference weights of all the photovoltaic segment data packets temporarily stored in the interactive management unit and added to the interactive management list V1 are deleted; S14: All photovoltaic segment data packets contained in the interactive data set are re-weighted to obtain corresponding new reference weights; According to the new reference weights of all the photovoltaic segment data packets of the target power station in the collection period which are not added to any list, the reference weights of the corresponding photovoltaic segment data packets in the interactive management unit are updated; S15: creating several empty lists in turn according to S13, extracting several photovoltaic segment data packets from the interaction data set and adding them into the list to obtain the interaction management list V2, V3,..., Vv of the target power station of the collection period, v≥1, after the addition is completed, performing a deletion operation on the interaction data set until the number of photovoltaic segment data packets existing in the interaction data set is 0; It should be noted that if there is an addition of photovoltaic segment data packets to a list, at this time the sum of the reference weights of all photovoltaic segment data packets remaining in the interaction data set is less than the corresponding reference weight, then all the photovoltaic segment data packets are also added to the corresponding created list as an interaction management list of the target power station of the collection period; The interaction management unit sequentially transmits the photovoltaic segment data packets in the corresponding interaction management list to the dispatch management platform according to the order of creation of the interaction management list, and the transmission of all photovoltaic segment data packets in each interaction management list is sequentially performed according to the order of the marked subscript from small to large; Meanwhile, the interaction management unit transmits the total number of photovoltaic segment data packets of the target power station of the collection period to the dispatch management platform; The dispatch management platform is used for receiving and responding to authentication of photovoltaic data of the target power station, and the dispatch management platform pre-stores a variability index quantity of the target power station, which is consistent with the variability index quantity stored in the interaction management unit; After the dispatch management platform receives the total number of photovoltaic segment data packets of the target power station of the collection period, it transmits the total number to the dispatch management platform; After the dispatch management platform receives the number, it assigns weights based on the number according to the preset proportion weighting formula to obtain the corresponding number of reference weights; Then, the authentication digits of the v interaction management lists are obtained in turn by executing steps S11 to S15, and the authentication digit is the total number of photovoltaic segment data packets in the interaction management list. It should be noted that the authentication digits of the v interaction management lists obtained by executing steps S11 to S15 have a sequence, and the obtained authentication digits of the v interaction management lists are numbered according to the sequence, and the number is sequentially extended from 1, and the smaller the number, the earlier the authentication order of the authentication digit of the corresponding interaction management list; It should be noted that the dispatch management platform needs to use the MAC address once, and then automatically obtains it once by calling the MAC address acquisition instruction. In this application, the MAC instruction is Ipconfig / all; The dispatch management platform temporarily stores the obtained authentication digits of the v interaction management lists; The dispatch management platform performs a platform-side comparison operation once for each received photovoltaic segment data packet of the collection cycle target power station, and the contents of the platform-side comparison operation are as follows: The total number of the currently stored photovoltaic segment data packets of the collection cycle target power station is counted, and compared with the smallest authentication number temporarily stored in the dispatch management platform; if the total number is smaller than the authentication number, no processing is performed; if the total number is equal to the authentication number, an authentication instruction is generated and transmitted to the interactive management unit; The interactive management unit performs a sending-side comparison operation once after receiving the transmitted authentication instruction, and the contents of the sending-side comparison operation are as follows: The total number of the photovoltaic segment data packets transmitted before the time point of receiving the authentication instruction is counted, and compared with the smallest authentication number temporarily stored in the interactive management unit; if the total number is inconsistent with the authentication number, the transmission of the photovoltaic segment data packets to the dispatch management platform is stopped, an alarm instruction is generated and transmitted to the dispatch management platform, and the alarm instruction is displayed to the management personnel of the target power station; If the total number is consistent with the authentication number, an authentication pass instruction is generated and transmitted to the dispatch management platform, and the smallest authentication number temporarily stored is deleted; The dispatch management platform transmits the alarm instruction to the management personnel of the dispatch management platform for viewing, and the dispatch management platform deletes the smallest authentication number temporarily stored after receiving the transmitted authentication pass instruction.

[0017] Some data in the above formula are dimensionless for numerical calculation, and the contents not described in detail in the specification all belong to the prior art known to those skilled in the art.

[0018] The above embodiments are only used to illustrate the technical method of the present application and not to limit it, and although the present application is described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present application can be modified or replaced equivalently without departing from the spirit and scope of the technical method of the present application.

Claims

1. A secure and reliable interaction method for photovoltaic data, characterized in that: The following steps are involved: Step 1: After obtaining the interactive data set of the target power station in each collection period, the interactive management unit assigns weights to each photovoltaic segment data packet in the interactive data set according to a preset proportional weighting formula to obtain a corresponding benchmark weight and temporarily stores the weights. At the same time, the total number of photovoltaic segment data packets in the interactive data set is counted and transmitted to the dispatch management platform. Step 2: Create several empty lists in sequence. Each time an empty list is created, extract several PV segment data packets from the interaction data set and add them to the list to obtain an interaction management list and its authentication digit for the target power station in the collection period. All the interaction management lists obtained are numbered in the order in which they are obtained, starting from 1 and continuing forward. Step 3: The interactive management unit transmits the photovoltaic segment data packets in all interactive management lists of the target power station in the collection period to the dispatching management platform in ascending order of numerical labels; Step 4: After receiving the total number of PV segment data packets in the interactive data set, the dispatch management platform obtains the digital labels and authentication digits of several interactive management lists of the target power station in the collection period according to steps 2 to 4 and temporarily stores them; Step 5: authenticating the interaction environment once each time a photovoltaic segment data packet of the target power station of the acquisition period is received, selecting and generating an authentication constraint instruction based on the authentication result, and transmitting the authentication constraint instruction to the interaction management unit; Step 6: The interaction management unit performs a response authentication each time it receives an authentication constraint instruction, selects to generate an interaction environment exception instruction or an authentication pass instruction based on the response authentication result, and transmits the generated interaction environment exception instruction or authentication pass instruction to the scheduling management platform.

2. A secure and reliable photovoltaic data interaction method according to claim 1, characterized in that: Before completing step 1, you need to complete the following steps: S01: At every interval of a collection cycle, the data collection unit transmits all photovoltaic data of the target power station collected in the collection cycle as photovoltaic collection data of the target power station in the collection cycle to the interactive management unit; S02: After receiving photovoltaic collection data of a target power station in each collection period, the interaction management unit divides the photovoltaic collection data according to a pre-stored static index to obtain a plurality of photovoltaic segmented data of the target power station in the collection period, and then encapsulates each photovoltaic segmented data to obtain a plurality of photovoltaic segmented data packets of the target power station in the collection period; S03: The interaction management unit obtains several sets of photovoltaic segment data of the target power station in each collection cycle, encapsulates each set of photovoltaic segment data to obtain several sets of photovoltaic segment data packets of the target power station in the collection cycle, and aggregates all the encapsulated photovoltaic segment data packets of the target power station in the collection cycle to obtain an interaction data set of the target power station in the collection cycle.

3. A secure and reliable photovoltaic data interaction method according to claim 1, characterized in that: In addition to the corresponding photovoltaic segment data, the photovoltaic segment data packet also contains a serial number used to identify the position of the photovoltaic segment data in the corresponding photovoltaic collection data before cutting. At the same time, the serial number indicates the transmission order of the photovoltaic segment data packet.

4. A secure and reliable photovoltaic data interaction method according to claim 3, characterized in that: In step 1, the proportional weighting formula is , where Y1 and Ya are the minimum and maximum serial numbers contained in all PV segment data packets of the target power station obtained during the acquisition period, respectively; a represents the total number of all PV segment data packets of the target power station obtained during the acquisition period; P1 is the preset coupling weight value; P2 is the preset dynamic constraint weight value; y represents each PV segment data packet of the target power station obtained during the acquisition period; Yy represents the benchmark weight of each PV segment data packet of the target power station obtained during the acquisition period; and ceil() is a round-up function.

5. A secure and reliable photovoltaic data interaction method according to claim 4, characterized in that: In the proportional weighting formula, if If the result of the calculation is a decimal and there are at least 6 digits after the decimal point, the result will be truncated: all digits after the 6th decimal place will be omitted, and only the integer part before the decimal point and the first 6 digits after the decimal point will be retained.

6. A secure and reliable photovoltaic data interaction method according to claim 1, characterized in that: In step 2, the contents of several interaction management lists and authentication digits of the target power station in the acquisition period are obtained as follows; S11: marking all photovoltaic segment data packets as A1, A2, ..., Aa in sequence from left to right according to the positions of the photovoltaic segment data packets in the photovoltaic collected data before cutting; S12: Extracting the address information of the scheduling management platform stored in the interactive management unit and performing data processing operations thereon to obtain a four-bit binary number B1, B2, ..., B12; S13: Use the list() function to create an empty list, extract several photovoltaic segment data packets from the interactive data set and add them to the list to obtain the interactive management list V1 of the target power station in the acquisition period and its authentication digit and digital label; and perform a deletion operation on the interactive data set after the addition is completed; S14: re-weighting all photovoltaic segment data packets contained in the interactive data set to obtain corresponding new benchmark weights; updating the reference weights of the corresponding photovoltaic segment data packets in the interaction management unit according to the obtained new reference weights of all remaining photovoltaic segment data packets of the target power station in the acquisition period that have not been added to any list; S15: Create several empty lists in sequence according to S13. Each time an empty list is created, extract several PV segment data packets from the interaction data set and add them to the list to obtain the interaction management list V2, V3, ..., Vv of the target power station in the acquisition period, where v≥1. After the addition is completed, delete the interaction data set once until the number of PV segment data packets in the interaction data set is 0.

7. The secure and reliable photovoltaic data interaction method according to claim 1, characterized in that: In step six, if an abnormal interaction environment instruction is generated, the interaction management unit stops transmitting the photovoltaic segment data packet to the dispatch management platform; if an authentication pass instruction is generated, the interaction management unit deletes the authentication digit with the smallest digital label stored therein.

8. The secure and reliable photovoltaic data interaction method according to claim 1, characterized in that: After completing step 6, you need to complete the following steps: If the dispatch management platform receives a transmitted interactive environment abnormality instruction, it will display it to the administrator of the dispatch management platform for review. If the instruction received is an authentication pass instruction, the authentication digit with the smallest digital label temporarily stored therein will be deleted.

9. A secure and reliable photovoltaic data interaction method according to claim 6, characterized in that: The specific content of the interaction management list V1 of the target power station in the acquisition period is obtained as follows: S131: Obtaining the reference weights of all photovoltaic segment data packets in the interactive data set in order from left to right, that is, obtaining the reference weights C1, C2, ..., Cx of the photovoltaic segment data packets A1, A2, ..., Ax in order, calculating the sum of the reference weights C1, C2, ..., Cx, and taking the static weight D1 of the list as the preset variability indicator; S132: Compare the reference weight C1 with the decimal value of the four-digit binary number B1, and update the reference weight C1 of the photovoltaic segment data packet A1 based on the comparison result. The update content is as follows: if the reference weight C1 is greater than or equal to the decimal value of the four-digit binary number B1, the value of the reference weight C1 is increased by 1; otherwise, the value of the reference weight C1 is decreased by 1; Similarly, the benchmark weights C2 and B2, C3 and B3, ..., Ca and B (a mod 12) The decimal numbers of the PV segment data packets A1, A2, ..., Aa are compared based on the comparison results, and the reference weights of the PV segment data packets A1, A2, ..., Aa are updated in sequence. During this process, each reference weight is updated once, and the sum of all the currently updated reference weights is calculated. The sum is compared with the static weight D1. If the sum is smaller than the static weight D1, the next reference weight is updated. On the contrary, the photovoltaic segment data packets corresponding to all the currently updated benchmark weights are obtained and the photovoltaic segment data packet with the largest mark subscript is deleted. All the obtained photovoltaic segment data packets are added to the list in ascending order of the mark subscript. After the addition is completed, the list is used as the interaction management list V1 of the target power station in the acquisition period. The total number of photovoltaic segment data packets added to the interaction management list V1 is obtained, and the total number is used as the authentication digit of the interaction management list V1. The mark subscript of the interaction management list V1, that is, 1, is used as its digital label.

Citation Information

Patent Citations

  • Distributed photovoltaic terminal access threat intelligent protection method and system

    CN116527343A

  • Data interaction security privacy protection method and system based on block chain

    CN119989406A

  • Company information encryption method combined with chaotic public key encryption algorithm

    CN120034313A

  • E-commerce platform security authentication system and method

    CN120342766A

  • Bilaterally generated encryption key system

    WO2006117806A2