A secure and trusted interaction method of photovoltaic data
By assigning weights and creating lists for photovoltaic data packets, and combining the interactive management unit and scheduling management platform authentication mechanism with dynamic authentication digits and digital labels, the security risks caused by key dependence in photovoltaic data interaction are resolved, and secure and reliable data transmission is achieved.
Patent Information
- Application Number
- CN202511315787.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-16
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2045-09-16
AI Technical Summary
Existing photovoltaic data interaction authentication mechanisms rely on keys, which pose a risk of key leakage, leading to identity fraud and data leakage, affecting the stable operation of photovoltaic power plants and the security of grid dispatch.
The interactive management unit assigns weights and creates lists for photovoltaic segmented data packets. Combined with dynamic authentication digits and numerical labels, the interactive management unit and the scheduling management platform perform interactive environment authentication to ensure the security and reliability of data packet transmission and avoid key dependence.
It improves the security and reliability of photovoltaic data interaction, reduces the risk of invalid data packet transmission caused by untrusted interaction, enhances anti-attack capabilities, and ensures the integrity and confidentiality of data interaction.
Smart Images

Figure CN120811799B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of photovoltaic data interaction technology, specifically a secure and reliable method for photovoltaic data interaction. Background Technology
[0002] With the large-scale construction of photovoltaic power plants and the widespread adoption of distributed photovoltaics, cross-system interaction of photovoltaic data is becoming increasingly frequent. It not only needs to be transmitted between devices within the power plant, but also needs to be shared in real time with external systems such as the power grid dispatch center and energy management platform. In this process, the integrity, confidentiality, and trustworthiness of the identities of the interacting parties directly affect the stable operation of photovoltaic power plants and the security of power grid dispatch. Therefore, secure and reliable interaction of photovoltaic data has become a core requirement of the industry.
[0003] Currently, the authentication mechanism for secure photovoltaic data interaction mainly relies on key-related technologies, specifically including the following categories: Certificate-based authentication mechanism: By assigning digital certificates to the interaction subjects, the identity identifier, encryption / decryption key, and authentication key are determined; during interaction, the national cryptographic algorithm is used to encrypt the identity identifier and calculate the message digest, and two-way identity confirmation is achieved through certificate verification, thereby preventing identity impersonation and data tampering;
[0004] API Key Authentication: Assign a unique API key to users or applications related to photovoltaic data interaction. Each time a data request is made, the key is sent to the receiving end as a request parameter or request header. The receiving end verifies the legitimacy of the request by matching the key.
[0005] OAuth authentication: Applicable to scenarios where third-party platforms access photovoltaic data. Users grant data access permissions to third parties through tokens generated by the authorization server, and third parties do not need to obtain user account passwords to complete authentication;
[0006] However, the aforementioned key-based authentication methods rely on keys, which are at risk of leakage during generation, storage, and transmission. Once a key is illegally obtained, attackers can forge identities to initiate requests, leading to data leakage or malicious instruction injection.
[0007] To address the above problems, this invention proposes a solution. Summary of the Invention
[0008] The purpose of this invention is to provide a secure and reliable method for interacting with photovoltaic data, in order to solve the problems mentioned in the background art.
[0009] This invention provides a secure and reliable method for exchanging photovoltaic data, comprising the following steps:
[0010] Step 1: After obtaining the interactive dataset of the target power station for each collection cycle, the interactive management unit assigns weights to each photovoltaic segment data packet within it according to a preset weighting formula to obtain the corresponding baseline weights and temporarily stores them. At the same time, it counts the total number of photovoltaic segment data packets in the interactive dataset and transmits them to the scheduling management platform.
[0011] Step 2: Create several empty lists in sequence. For each empty list created, extract several photovoltaic segment data packets from the interactive dataset and add them to the list to obtain an interactive management list and its authentication number for the target power station in the acquisition cycle. Number all the obtained interactive management lists according to the order in which they are obtained, starting from 1 and proceeding sequentially.
[0012] Step 3: The interactive management unit transmits all photovoltaic segment data packets from the interactive management list of the target power station in the acquisition period to the scheduling management platform in ascending order of numerical labels;
[0013] Step 4: After receiving the total number of photovoltaic segment data packets in the interactive dataset, the scheduling management platform obtains the numerical labels and authentication numbers of several interactive management lists of the target power station in the acquisition period according to steps 2 to 4, and temporarily stores them.
[0014] Step 5: Authentication is performed on the interactive environment once a photovoltaic segment data packet of the target power station of the acquisition cycle is received. Based on the authentication result, an authentication constraint instruction is generated and transmitted to the interactive management unit.
[0015] Step Six: After receiving each authentication constraint instruction, the interaction management unit performs a response authentication. Based on the response authentication result, it selects to generate an interaction environment exception instruction or an authentication pass instruction, and transmits the generated interaction environment exception instruction or authentication pass instruction to the scheduling management platform.
[0016] Furthermore, before completing step one, the following steps also need to be completed:
[0017] S01: Every time a collection cycle is elapsed, the data acquisition unit transmits all photovoltaic data of the target power station collected within the collection cycle to the interactive management unit as photovoltaic data of the target power station in the collection cycle.
[0018] S02: After receiving photovoltaic data from the target power station for each collection cycle, the interactive management unit segments the photovoltaic data according to the pre-stored static index quantity to obtain several photovoltaic segment data of the target power station under the collection cycle, and then encapsulates each photovoltaic segment data to obtain several photovoltaic segment data packets of the target power station under the collection cycle.
[0019] S03: The interactive management unit obtains several photovoltaic segment data of the target power station in each collection cycle, encapsulates each photovoltaic segment data to obtain several photovoltaic segment data packets of the target power station in the collection cycle, and summarizes all photovoltaic segment data packets of the target power station in the collection cycle to obtain the interactive dataset of the target power station in the collection cycle.
[0020] Furthermore, in addition to containing the corresponding photovoltaic segment data, the photovoltaic segment data packet also contains a sequence number used to identify the position of the photovoltaic segment data in the corresponding photovoltaic acquisition data before it was cut, and the sequence number indicates the transmission order of the photovoltaic segment data packet.
[0021] Furthermore, in step one, the proportional weighting formula is as follows: In the formula, Y1 and Ya are the smallest and largest sequence numbers contained in all photovoltaic segment data packets of the target power station under the acquisition period, respectively; a represents the total number of photovoltaic segment data packets of the target power station under the acquisition period; P1 is the preset coupling weight value; P2 is the preset dynamic constraint weight value, the purpose of which is to ensure that the value of each benchmark weight is within the interval (0,16]; y represents each photovoltaic segment data packet of the target power station under the acquisition period; Yy represents the benchmark weight of each photovoltaic segment data packet of the target power station under the acquisition period; and ceil() is the round-up function.
[0022] Furthermore, in the proportional weighting formula, if If the calculation result is a decimal and has at least 6 decimal places, then the result is truncated: all digits after the 6th decimal place are omitted, and only the integer part before the decimal point and the first 6 digits after the decimal point are retained.
[0023] Furthermore, in step two, the contents of several interactive management lists and their authentication numbers for the target power station in the collection period are obtained as follows;
[0024] S11: According to the position of the photovoltaic segment data in the photovoltaic acquisition data before the photovoltaic segment data is cut, mark all the photovoltaic segment data packets as A1, A2, ..., Aa from left to right;
[0025] S12: Extract the address information of the scheduling management platform stored in the interactive management unit and perform data processing operations on it to obtain four-bit binary numbers B1, B2, ..., B12;
[0026] S13: Use the list() function to create an empty list, extract several photovoltaic segment data packets from the interactive dataset and add them to the list to obtain the interactive management list V1 of the target power station in the acquisition cycle and its authentication digits and numerical labels; and perform a deletion operation on the interactive dataset after the addition is completed;
[0027] S14: Re-weight all photovoltaic segment data packets contained in the interactive dataset to obtain corresponding new benchmark weights; Update the benchmark weights of the corresponding photovoltaic segment data packets in the interactive management unit based on the new benchmark 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;
[0028] S15: Create several empty lists sequentially according to S13. For each empty list created, extract several photovoltaic segment data packets from the interactive dataset and add them to the list to obtain the interactive management list V2, V3, ..., Vv of the target power station in the acquisition cycle, where v≥1. After adding the data packets, perform a deletion operation on the interactive dataset until the number of photovoltaic segment data packets in the interactive dataset is 0.
[0029] Furthermore, in step six, if an abnormal interaction environment instruction is generated, the interaction management unit stops transmitting photovoltaic segment data packets to the scheduling management platform; if an authentication pass instruction is generated, the interaction management unit deletes the authentication digit with the smallest numerical label stored within it.
[0030] Furthermore, after completing step six, the following steps also need to be completed:
[0031] If the scheduling management platform receives an abnormal interactive environment command, it will display it to the scheduling management platform administrators for review. If it receives an authentication pass command, it will delete the authentication digit with the smallest temporary numerical label stored in the platform.
[0032] Furthermore, the specific contents of the interactive management list V1 of the target power station in the acquisition period are as follows:
[0033] S131: In the interactive dataset, obtain the baseline weights of all photovoltaic segment data packets in order from left to right, that is, obtain the baseline weights C1, C2, ..., Cx of photovoltaic segment data packets A1, A2, ..., Ax in order, calculate the sum of the obtained baseline weights C1, C2, ..., Cx, and assign the sum to the static weight D1 of the list, where x is a preset variable index quantity;
[0034] S132: Compare the base weight C1 with the decimal number of the four-bit binary number B1. Based on the comparison result, update the base weight C1 of the photovoltaic segment data packet A1. The update content is as follows: if the base weight C1 is greater than or equal to the decimal number of the four-bit binary number B1, the value of the base weight C1 is incremented by 1; otherwise, the value of the base weight C1 is decremented by 1.
[0035] Similarly, the benchmark weights C2 and B2, C3 and B3, ..., Ca and B are sequentially assigned. (a mod 12) The decimal numbers are compared, and the base weights of the photovoltaic segment data packets A1, A2, ..., Aa are updated sequentially based on the comparison results. In this process, each base weight is updated once, the sum of all updated base 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 base weight is updated.
[0036] Conversely, the photovoltaic segment data packets corresponding to all currently updated benchmark weights are obtained, and the photovoltaic segment data packet with the largest marker index is deleted. All the obtained photovoltaic segment data packets are added to the list in ascending order of marker index. After the addition is completed, the list is used as the interaction management list V1 of the target power station in the collection 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 number of the interaction management list V1. The marker index of the interaction management list V1, i.e., 1, is used as its numerical label.
[0037] Compared with existing technologies, it has the following advantages:
[0038] This invention involves a data acquisition unit periodically collecting photovoltaic (PV) data from a target power station. An interaction management unit then aggregates this data to form a periodic interaction dataset. Several empty lists are created, and all PV segment data packets within the interaction dataset are selected and added to the corresponding empty lists, resulting in several interaction management lists for the corresponding collection period, along with their authentication digits and numerical labels. The interaction management unit transmits all PV segment data packets in the corresponding interaction management lists based on the authentication digits and numerical labels. The scheduling management platform receives the PV segment data packets and authenticates the interaction environment during reception. If authentication is successful, reception of PV segment data packets continues; otherwise, reception stops, and the interaction management unit ceases further transmission of PV segment data packets. This method ensures security during PV data interaction and avoids excessive invalid transmission of PV segment data packets due to untrusted interactions.
[0039] In the authentication process of the interactive environment, this invention uses authentication digits and numerical labels from the interactive management list. Based on the numerical numbers in ascending order, authentication is performed once a corresponding number of photovoltaic segment data packets are received. Each authentication is based on the number of photovoltaic segment data packets received, which is dynamic and derived from the MAC address of the scheduling center. The MAC address is obtained each time authentication is performed. Because the MAC address is unique and is re-obtained for each authentication, the standard number of data packets received during each authentication is adapted to the current interactive environment. This dynamic change enhances the authentication mechanism's resistance to attacks, greatly ensuring the trustworthiness of the photovoltaic data interaction process. It also frees the authentication process from key dependence, reducing the risk of authentication insecurity. Attached Figure Description
[0040] Figure 1 This is a flowchart of the method of the present invention. Detailed Implementation
[0041] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0042] Please see Figure 1 This application provides a secure and reliable interaction method for photovoltaic data. The method is executed through a secure and reliable interaction system for photovoltaic data, which includes a photovoltaic transmitter and a scheduling management platform.
[0043] The photovoltaic transmitter is used to collect and periodically transmit photovoltaic data from the target power station in real time. The target power station can be any of the following: grid-connected photovoltaic power station, centralized photovoltaic power station, or distributed photovoltaic power station. The photovoltaic data contains monitoring values of several transmission parameters.
[0044] The transmission parameters are selected by the supervisors of the dispatch management platform in consultation with the management personnel of the target power station, based on the power grid dispatch requirements, business scenario requirements, and the operating characteristics of the target power station.
[0045] The photovoltaic transmitting end includes a data acquisition unit and an interactive management unit. Every time there is an acquisition cycle, the data acquisition unit will summarize all the photovoltaic data of the target power station collected within the acquisition cycle and transmit it to the interactive management unit as the photovoltaic data of the target power station in the acquisition cycle.
[0046] The interactive management unit pre-stores the address information of the scheduling management platform. The address information is used to identify the actual address of the network device in the scheduling management platform that receives photovoltaic data collection data from the target power station. In this application, the address information is a MAC address, and the storage format is XX-XX-XX-XX-XX-XX.
[0047] For example: 00-E0-97-27-6D-DD;
[0048] The interactive management unit pre-stores static index quantities. These static index quantities are used to define the standard transmission capacity of data packets in the standardized authentication process. It should be noted that the values of the static index quantities are set by the management personnel of the target power station based on the data capacity of the photovoltaic data periodically collected by the target power station, the various transmission parameters contained in the photovoltaic data, and the network transmission capacity of the target power station.
[0049] For each collection cycle of photovoltaic data collected from the target power station, the interactive management unit first segments the photovoltaic data collected according to the static index quantity to obtain several photovoltaic segment data of the target power station under the collection cycle, and then encapsulates each photovoltaic segment data to obtain several photovoltaic segment data packets of the target power station under the collection cycle.
[0050] The encapsulated photovoltaic segmented data packets of the target power station within the acquisition period are summarized to obtain the interactive dataset of the target power station within the acquisition period.
[0051] In addition to the corresponding photovoltaic segment data, any photovoltaic segment data packet also contains a sequence number that identifies the position of the photovoltaic segment data in the corresponding photovoltaic data acquisition data before it was cut. The sequence number indicates the transmission order of the photovoltaic segment data packet. The smaller the sequence number, the earlier the transmission, and the leftmost position in the corresponding photovoltaic data acquisition data before the cut.
[0052] It should be noted that within the interactive dataset, the sequence number within the photovoltaic segment data packets increases sequentially from left to right.
[0053] For example, in IP packets, sequence numbers are used to ensure the order and reliability of data transmission;
[0054] The interactive management unit assigns weights to each photovoltaic segment data packet within the interactive dataset of the target power station in the acquisition period according to a preset proportional weighting formula to obtain the base weight of each photovoltaic segment data packet and temporarily stores it. The proportional weighting formula is as follows: In the formula, Y1 and Ya are the sequence numbers with the smallest and largest values contained in all photovoltaic segment data packets of the target power station under the acquisition period, respectively. a represents the total number of all photovoltaic segment data packets of the target power station under the acquisition period. P1 is a preset coupling weight value, which is to ensure that the value of the benchmark weight Y1 is greater than 0. P2 is a preset dynamic constraint weight value, which is to ensure that the value of each benchmark weight is within the interval (0,16], i.e., Yy∈(0,16].
[0055] y represents the data packet of each photovoltaic segment of the target power station under the acquisition period, Yy represents the base weight of each photovoltaic segment data packet of the target power station under the acquisition period, and ceil() is the round-up function;
[0056] In this application, P1 is a multiple of 10, and P2 is a positive integer. The selection logic of P1 is to select the smallest positive integer power that makes the value of the benchmark weight Y1 greater than 0 from all positive integer powers of 10, and calculate the value of 10 based on the selected positive integer power as P1.
[0057] For example, if Y1 is 0.784314, then P1 is 10; if Y1 is 0.001998, then P1 is 1000.
[0058] It should be noted that the value of P2 in the proportional weighting formula is not exactly the same when calculating the base weight of each photovoltaic segment data packet;
[0059] It should be noted here that in the above proportional weighting formula, if If the calculation result is a decimal and has at least 6 decimal places, then the result is truncated: all digits after the 6th decimal place are omitted, and only the integer part before the decimal point and the first 6 digits after the decimal point are retained.
[0060] S11: According to the position of the photovoltaic segment data in the photovoltaic acquisition data before the photovoltaic segment data is cut, all the photovoltaic segment data packets are sequentially marked as A1, A2, ..., Aa from left to right, where a is the total number of all photovoltaic segment data packets of the target power station within the acquisition period;
[0061] S12: Extract the address information of the scheduling management platform stored in the interaction management unit and perform data processing operations on it to obtain four-bit binary numbers B1, B2, ..., B12. The specific content of the data processing is as follows:
[0062] The address information is sliced according to "-" to obtain six groups of hexadecimal numbers;
[0063] For any given set of hexadecimal numbers, perform a binary conversion to obtain a corresponding set of eight-bit binary numbers;
[0064] For any given set of eight-bit binary numbers, divide it into two equal parts to obtain two sets of four-bit binary numbers, and associate these two sets of four-bit binary numbers with the hexadecimal numbers corresponding to the eight-bit binary numbers.
[0065] The 12 sets of four-bit binary numbers obtained are labeled as B1, B2, ..., B12. The four-bit binary numbers B1 and B2 are the four-bit binary numbers associated with the hexadecimal numbers located from left to right before the first "-" in the address information. The 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, and the 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. The four-bit binary numbers B3, B4, B5, B6, B7, B8, and so on are also used.
[0066] S13: Use the list() function to create an empty list, extract several photovoltaic segment data packets from the interactive dataset and add them to the list to obtain the interactive management list V1 of the target power station in the acquisition cycle and its authentication digits and numerical labels; and after adding them, perform a deletion operation on the interactive dataset. The deletion operation is to delete all photovoltaic segment data packets added to the interactive management list V1 from the interactive dataset.
[0067] The specific contents of the interactive management list V1 for the target power station during the data collection period are as follows:
[0068] S131: In the interactive dataset, obtain the baseline weights of all photovoltaic segment data packets in order from left to right, that is, obtain the baseline weights C1, C2, ..., Cx of photovoltaic segment data packets A1, A2, ..., Ax in order, calculate the sum of the obtained baseline weights C1, C2, ..., Cx, and add the sum to the static weights D1 of the list. x is a preset variable index quantity. The variable index quantity is used to determine the standard transmission quantity of data packets in the standardized certification process. It should be noted that the value of the variable index quantity is set by the management personnel of the target power station based on 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 capability of the target power station, and is stored in the interactive management unit.
[0069] S132: Compare the base weight C1 with the decimal number of the four-bit binary number B1. Based on the comparison result, update the base weight C1 of the photovoltaic segment data packet A1. The update content is as follows: if the base weight C1 is greater than or equal to the decimal number of the four-bit binary number B1, the value of the base weight C1 is incremented by 1; otherwise, the value of the base weight C1 is decremented by 1.
[0070] Similarly, the benchmark weights C2 and B2, C3 and B3, ..., Ca and B are sequentially assigned. (a mod 12) The decimal numbers are compared, and based on the comparison results, the base weights of the photovoltaic segment data packets A1, A2, ..., Aa are updated sequentially. During this process, for each base weight, the sum of all updated base weights is calculated and compared with the static weight D1. If the sum is less than the static weight D1, the next base weight is updated. Otherwise, the photovoltaic segment data packets corresponding to all updated base weights are obtained, and the photovoltaic segment data packet with the largest marker index is deleted. All the obtained photovoltaic segment data packets are added to the list in ascending order of marker index. After the addition is completed, the list is used as the interactive management list V1 of the target power station in the collection period. The total number of photovoltaic segment data packets added to the interactive management list V1 is obtained and used as the authentication number of the interactive management list V1. The marker index of the interactive management list V1, i.e., 1, is used as its numerical label.
[0071] At the same time, the baseline weights of all photovoltaic segment data packets added to the interaction management list V1 that were temporarily stored in the interaction management unit are deleted;
[0072] S14: Re-weight all photovoltaic segmented data packets contained in the interactive dataset to obtain corresponding new benchmark weights;
[0073] The baseline weights of the corresponding photovoltaic segment data packets in the interactive management unit are updated based on the new baseline 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.
[0074] S15: Create several empty lists in sequence according to S13. For each empty list created, extract several photovoltaic segment data packets from the interactive dataset and add them to the list to obtain the interactive management list V2, V3, ..., Vv of the target power station in the acquisition cycle, where v≥1. After adding, perform a deletion operation on the interactive dataset until the number of photovoltaic segment data packets in the interactive dataset is 0.
[0075] It should be noted that if a photovoltaic segment data packet is added to a list, and the sum of the baseline weights of all remaining photovoltaic segment data packets in the interactive dataset is less than the corresponding baseline weight, then all photovoltaic segment data packets will also be added to the corresponding created list as an interactive management list of the target power station in the collection period.
[0076] The interactive management unit transmits the photovoltaic segment data packets in the corresponding interactive management list to the scheduling management platform in the order in which the interactive management list is created. During the transmission process, the transmission of all photovoltaic segment data packets in each interactive management list is carried out in ascending order of the label index.
[0077] At the same time, the interactive management unit transmits the total number of photovoltaic segment data packets of the target power station in the acquisition period to the scheduling management platform;
[0078] The scheduling management platform is used to receive and respond to the photovoltaic data of the target power station. The scheduling management platform pre-stores the variable index of the target power station. It should be noted that the variable index pre-stored in the scheduling management platform is consistent with the variable index stored in the interactive management unit.
[0079] After receiving the total number of photovoltaic segment data packets of the target power station in the acquisition period, the scheduling and management platform transmits them to the scheduling and management platform.
[0080] After receiving the transmitted quantity, the scheduling management platform assigns a base weight to the quantity according to a preset proportional weighting formula to obtain the corresponding quantity's base weight.
[0081] Then, steps S11 to S15 are executed sequentially to obtain the authentication digits of v interactive management lists. The authentication digits represent the total number of photovoltaic segment data packets within the interactive management list. It should be noted that the authentication digits of the v interactive management lists obtained from steps S11 to S15 have a specific order. The authentication digits of the v interactive management lists are numbered sequentially, starting from 1 and proceeding in order. The smaller the number, the earlier the authentication digit of the corresponding interactive management list is in the authentication order.
[0082] It should be noted that the scheduling management platform automatically retrieves the MAC address every time it needs to use it. In this application, the MAC address retrieval command is Ipconfig / all.
[0083] The scheduling management platform temporarily stores the authentication digits of the v interactive management lists obtained;
[0084] After receiving a photovoltaic segment data packet from the target power station in the data acquisition period, the scheduling and management platform performs a platform-side comparison operation. The content of the platform-side comparison operation is as follows:
[0085] The total number of photovoltaic segment data packets of the target power station in the current acquisition cycle is counted and compared with the authentication number with the smallest number currently temporarily stored in the scheduling management platform. If the total number is less than the authentication number, no processing is performed. If the total number is equal to the authentication number, an authentication command is generated and transmitted to the interactive management unit.
[0086] After receiving the transmitted authentication command, the interaction management unit performs a sender comparison operation. The content of the sender comparison operation is as follows:
[0087] From the moment the authentication command was last received to the moment the authentication command was last received, the total number of photovoltaic segment data packets transmitted between the two moments is counted. The total number is compared with the authentication digit with the smallest number currently temporarily stored in the interactive management unit. If the total number is inconsistent with the authentication digit, the transmission of photovoltaic segment data packets to the dispatch management platform is stopped, an alarm command is generated, the alarm command is transmitted to the dispatch management platform, and the alarm command is simultaneously displayed to the management personnel of the target power station.
[0088] If the total number matches the number of authentication digits, an authentication pass instruction is generated, the authentication pass instruction is transmitted to the scheduling management platform, and the authentication digit with the smallest number currently in temporary storage is deleted.
[0089] After receiving the alarm command, the dispatch management platform transmits it to the management personnel of the dispatch management platform for review. After receiving the transmitted authentication pass command, the dispatch management platform deletes the authentication number with the smallest number in its temporary storage.
[0090] Some of the data in the above formulas are numerical calculations with dimensions removed, and the contents not described in detail in this specification are all prior art known to those skilled in the art.
[0091] The above embodiments are only used to illustrate the technical methods of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical methods of the present invention without departing from the spirit and scope of the technical methods of the present invention.
Claims
1. A secure and reliable method for interacting with photovoltaic data, characterized in that, Includes the following steps: Step 1: After obtaining the interactive dataset of the target power station for each collection cycle, the interactive management unit assigns weights to each photovoltaic segment data packet within it according to a preset weighting formula to obtain the corresponding baseline weights and temporarily stores them. At the same time, it counts the total number of photovoltaic segment data packets in the interactive dataset and transmits them to the scheduling management platform. Step 2: Create several empty lists in sequence. For each empty list created, extract several photovoltaic segment data packets from the interactive dataset and add them to the list to obtain an interactive management list and its authentication number for the target power station in the acquisition period. Number all the interactive management lists obtained in the order they are obtained, starting from 1 and going forward. The authentication number is the total number of photovoltaic segment data packets in the interactive management list. Step 3: The interactive management unit transmits all photovoltaic segment data packets from the interactive management list of the target power station in the acquisition period to the scheduling management platform in ascending order of numerical labels; Step 4: After receiving the total number of photovoltaic segment data packets in the interactive dataset, the scheduling management platform obtains the numerical labels and authentication numbers of several interactive management lists of the target power station in the acquisition period according to steps 2 to 4, and temporarily stores them. Step 5: Authentication is performed on the interactive environment once a photovoltaic segment data packet of the target power station of the acquisition cycle is received. Based on the authentication result, an authentication constraint instruction is generated and transmitted to the interactive management unit. Step Six: After receiving each authentication constraint instruction, the interaction management unit performs a response authentication. Based on the response authentication result, it selects to generate an interaction environment exception instruction or an authentication pass instruction, and transmits the generated interaction environment exception instruction or authentication pass instruction to the scheduling management platform.
2. The secure and reliable interaction method for photovoltaic data according to claim 1, characterized in that, Before completing step one, the following steps also need to be completed: S01: Every time a collection cycle is elapsed, the data acquisition unit transmits all photovoltaic data of the target power station collected within the collection cycle to the interactive management unit as photovoltaic data of the target power station in the collection cycle. S02: After receiving photovoltaic data from the target power station for each collection cycle, the interactive management unit segments the photovoltaic data according to the pre-stored static index quantity to obtain several photovoltaic segment data of the target power station under the collection cycle, and then encapsulates each photovoltaic segment data to obtain several photovoltaic segment data packets of the target power station under the collection cycle. S03: The interactive management unit summarizes all photovoltaic segmented data packets of the target power station within the acquisition period after encapsulation to obtain the interactive dataset of the target power station within the acquisition period.
3. The secure and reliable interaction method for photovoltaic data according to claim 1, characterized in that, In addition to the corresponding photovoltaic segment data, the photovoltaic segment data packet also contains a sequence number that identifies the position of the photovoltaic segment data in the corresponding photovoltaic acquisition data before it is cut. The sequence number also indicates the transmission order of the photovoltaic segment data packet.
4. The secure and reliable interaction method for photovoltaic data according to claim 3, characterized in that, In step one, the proportional weighting formula is: In the formula, Y1 and Ya are the smallest and largest sequence numbers contained in all photovoltaic segment data packets of the target power station under the acquisition period, respectively; a represents the total number of photovoltaic segment data packets of the target power station under the acquisition period; P1 is the preset coupling weight value; P2 is the preset dynamic constraint weight value; y represents each photovoltaic segment data packet of the target power station under the acquisition period; Yy represents the base weight of each photovoltaic segment data packet of the target power station under the acquisition period; and ceil() is the round-up function.
5. A secure and reliable method for photovoltaic data interaction according to claim 4, characterized in that, In the proportional weighting formula, if If the calculation result is a decimal and has at least 6 decimal places, then the result is truncated: all digits after the 6th decimal place are omitted, and only the integer part before the decimal point and the first 6 digits after the decimal point are retained.
6. The secure and reliable interaction method for photovoltaic data according to claim 1, characterized in that, In step two, the contents of several interactive management lists and their authentication numbers for the target power station in the collection period are obtained as follows; S11: According to the position of the photovoltaic segment data in the photovoltaic acquisition data before the photovoltaic segment data is cut, mark all the photovoltaic segment data packets as A1, A2, ..., Aa from left to right; S12: Extract the address information of the scheduling management platform stored in the interactive management unit and perform data processing operations on it to obtain four-bit binary numbers B1, B2, ..., B12; S13: Use the list() function to create an empty list, extract several photovoltaic segment data packets from the interactive dataset and add them to the list to obtain the interactive management list V1 of the target power station in the acquisition cycle and its authentication digits and numerical labels; and perform a deletion operation on the interactive dataset after the addition is completed; S14: Re-weight all photovoltaic segmented data packets contained in the interactive dataset to obtain corresponding new benchmark weights; The baseline weights of the corresponding photovoltaic segment data packets in the interactive management unit are updated based on the new baseline 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 sequentially according to S13. For each empty list created, extract several photovoltaic segment data packets from the interactive dataset and add them to the list to obtain the interactive management list V2, V3, ..., Vv of the target power station in the acquisition cycle, where v≥1. After adding the data packets, perform a deletion operation on the interactive dataset until the number of photovoltaic segment data packets in the interactive dataset is 0.
7. The secure and reliable interaction method for photovoltaic data according to claim 1, characterized in that, In step six, if an abnormal interaction environment command is generated, the interaction management unit stops transmitting photovoltaic segment data packets to the scheduling management platform. If an authentication pass command is generated, the interaction management unit deletes the authentication digit with the smallest numerical label stored in its internal storage.
8. A secure and reliable method for photovoltaic data interaction according to claim 1, characterized in that, After completing step six, the following steps also need to be completed: If the scheduling management platform receives an abnormal interactive environment command, it will display it to the scheduling management platform administrators for review. If it receives an authentication pass command, it will delete the authentication digit with the smallest temporary numerical label stored in the platform.
9. A secure and reliable method for interacting with photovoltaic data according to claim 6, characterized in that, The specific contents of the interactive management list V1 of the target power station in the acquisition period are as follows: S131: In the interactive dataset, obtain the baseline weights of all photovoltaic segment data packets in order from left to right, that is, obtain the baseline weights C1, C2, ..., Cx of photovoltaic segment data packets A1, A2, ..., Ax in order, calculate the sum of the obtained baseline weights C1, C2, ..., Cx, and label the sum as the static weight D1 of the list, where x is a preset variable index quantity; S132: Compare the base weight C1 with the decimal number of the four-bit binary number B1. Based on the comparison result, update the base weight C1 of the photovoltaic segment data packet A1. The update content is as follows: if the base weight C1 is greater than or equal to the decimal number of the four-bit binary number B1, the value of the base weight C1 is incremented by 1; otherwise, the value of the base weight C1 is decremented by 1. Similarly, connect C2 and B2, C3 and B3, ..., Ca and B in sequence. (a mod 12) The decimal numbers are compared, and the base weights of the photovoltaic segment data packets A1, A2, ..., Aa are updated sequentially based on the comparison results. In this process, each base weight is updated once, the sum of all updated base 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 base weight is updated. Conversely, the photovoltaic segment data packets corresponding to all currently updated benchmark weights are obtained, and the photovoltaic segment data packet with the largest marker index is deleted. All the obtained photovoltaic segment data packets are added to the list in ascending order of marker index. After the addition is completed, the list is used as the interaction management list V1 of the target power station in the collection 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 number of the interaction management list V1. The marker index of the interaction management list V1, i.e., 1, is used as its numerical 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