A distributed photovoltaic direct-sampling direct-control dual-target communication scheduling method and system
By using a three-dimensional model for dynamic hierarchical classification and a dual verification mechanism, the problems of channel failure, data jamming, and timing synchronization in the distributed photovoltaic direct acquisition and control system are solved, thus achieving the reliability of the communication link and the real-time and accurate execution of control commands.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- STATE GRID INTELLIGENCE TECHNOLOGY CO LTD
- Filing Date
- 2026-03-03
- Publication Date
- 2026-06-09
AI Technical Summary
Existing distributed photovoltaic direct acquisition and control systems suffer from risks such as terminal disconnection due to channel failures, blocked emergency data, instruction execution deviations, and time synchronization issues, failing to meet real-time requirements.
A three-dimensional model-based dynamic hierarchical strategy is adopted to prioritize data packets, granting high-priority data packets millisecond-level response and absolute priority passage. Through differentiated intelligent routing and dual verification mechanisms, it ensures that critical services occupy the optimal path and dynamically increases the transmission priority of low-priority data packets when the channel is congested.
It improves the reliability of the communication link and the real-time performance of control commands, ensures the absolute priority of critical commands and the accuracy of the receiving end, and avoids misjudgment and execution deviation.
Smart Images

Figure CN122178571A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of distributed photovoltaic communication control technology, and particularly relates to a dual-objective communication scheduling method and system for direct acquisition and control of distributed photovoltaic power. Background Technology
[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.
[0003] With the large-scale integration of distributed photovoltaic power into low-voltage distribution networks, achieving "direct acquisition and direct control" has become crucial for ensuring grid security and absorbing new energy sources. Existing communication solutions have the following prominent shortcomings:
[0004] Existing distributed low-voltage photovoltaic direct acquisition and control systems mostly adopt single-channel communication with "one transmitter and one receiver", which poses a risk of terminal disconnection due to channel failure, making the power grid unable to control the system and prone to safety accidents. The existing dual-channel solution only realizes dual-path data transmission and does not set up a data packet priority scheduling mechanism. Emergency alarm data and ordinary statistical data are transmitted together. When the channel is congested, emergency data is blocked, which makes it impossible for the dispatch center to handle faults in a timely manner and fails to meet the real-time requirements of direct acquisition and control. The existing command arbitration only relies on source priority (master station > local), but does not consider "command timeliness" and "device operating status matching degree", which cannot adapt to the dynamic operating status of the terminal and is prone to execution deviation. Existing dual-channel synchronization schemes only guarantee "data content consistency" but not "transmission timing synchronization"—for example, if data arrives in 1 second on channel A and in 5 seconds on channel B, the receiving end may mistakenly believe that the data has been updated, leading to misjudgment. Summary of the Invention
[0005] To address the technical problems mentioned above, this invention provides a dual-objective communication scheduling method and system for distributed photovoltaic direct acquisition and control. Through a dynamic hierarchical strategy using a three-dimensional model, data packets are prioritized, and high-priority data packets are given millisecond-level response and absolute priority passage rights. Based on the hierarchical results and real-time channel status, differentiated intelligent routing is executed from dual-path synchronous replication to on-demand single-path transmission, ensuring that critical services always occupy the optimal communication path.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: The first aspect of this invention provides a dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control, comprising: In response to the operation data uploaded by the photovoltaic terminal, the control commands issued by the dispatch master station or the control commands issued by the local management unit, a data packet is generated. After prioritizing the data packet using a three-dimensional model dynamic hierarchical strategy, a priority identifier and a data freshness decay coefficient are added to the data packet. After performing differentiated same-source synchronous copying operations on data packets in descending order of priority, they are synchronously transmitted to the receiving end through two independent communication channels, and time-content dual verification is performed on the data packets during the transmission process. When the communication channel is congested, data packets are added to the buffer pool in order of priority from low to high. Based on the data freshness decay coefficient, the data packets in the buffer pool are dynamically prioritized and then wait for transmission.
[0007] Furthermore, it also includes determining whether a control instruction is a valid control instruction by sequentially using timeliness arbitration, status matching arbitration, and source priority arbitration.
[0008] Furthermore, the data freshness decay coefficient is: α(t1) = α0 e (-λ t1) Where α0 is the initial freshness cardinality of the data packet, and t1 represents the waiting time.
[0009] Furthermore, the differential same-source synchronous replication operation on the data packets includes: For high-priority data packets, perform same-source replication to generate two data packets with completely identical data content, priority identifier, and timestamp, each corresponding to two independent communication channels; For medium-priority data packets, the replication operation is performed according to the current channel load status. If the channel load rate is lower than the set value, the replication is performed synchronously. If the channel load rate is higher than the set value, the replication of high-priority data packets is performed first. For low-priority data packets, an on-demand asynchronous replication strategy is adopted, and replication operations are only performed when high-priority and medium-priority data packet transmissions are idle.
[0010] Furthermore, the time-content dual verification includes: Content consistency check: Content verification is performed on the same source data packets transmitted in dual channels. A 32-bit algorithm with cyclic redundancy check is used to calculate the check code of each data packet and compare whether the check codes of the data packets transmitted in the two channels are consistent. If the check codes are consistent, it is determined that there is no content deviation. If the check codes are inconsistent, it is determined that there is data packet loss or distortion, and the retransmission mechanism is triggered immediately. Timing synchronization check: Compare the timestamps of the same source data packets in dual-channel transmission and calculate the transmission time difference between the two channels; different thresholds are set for different priorities. If the transmission time difference exceeds the corresponding threshold, it is determined that the timing is out of sync and a timing calibration command is triggered.
[0011] Furthermore, the timing calibration instruction refers to adjusting the preset transmission time offset of the two channels based on the transmission time difference.
[0012] Furthermore, the dynamic priority boosting of data packets in the buffer pool is expressed as: P = P0 + f(t2, α(t1)), where P is the updated priority, P0 is the base priority, and f(t2, α(t1)) = γ t2+δ α(t1) and t2 represent the waiting time since the data packet entered the buffer pool, α(t1) represents the freshness decay coefficient of the data packet after the waiting time t1, and γ and δ are weighting coefficients.
[0013] A second aspect of the present invention provides a dual-objective communication scheduling system for distributed photovoltaic direct acquisition and control, comprising: The priority scheduling module is configured to: generate data packets in response to the operating data uploaded by the photovoltaic terminal, the control commands issued by the scheduling master station or the control commands issued by the local management unit, and then add priority identifiers and data freshness decay coefficients to the data packets after the data packets are prioritized by the dynamic hierarchical strategy of the three-dimensional model. The data packet copying and synchronization verification module is configured to perform differentiated same-source synchronous copying operations on data packets in descending order of priority, and then transmit them synchronously to the receiving end through two independent communication channels. During the transmission process, the data packets undergo time-content dual verification. The buffer pool module is configured to add data packets to the buffer pool in order of priority from low to high when the communication channel is congested, and dynamically improve the priority of data packets in the buffer pool based on the data freshness decay coefficient before waiting for transmission.
[0014] A third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described dual-objective communication scheduling method for direct acquisition and control of distributed photovoltaic power.
[0015] A fourth aspect of the present invention provides a computer device including a computer-readable storage medium, a processor, and a computer program stored on the computer-readable storage medium and executable on the processor, wherein the processor executes the program to implement the steps of the dual-objective communication scheduling method for direct acquisition and control of distributed photovoltaic power as described above.
[0016] Compared with the prior art, the beneficial effects of the present invention are: This invention innovatively proposes an intelligent hierarchical and dynamic routing mechanism for power grid security services. It solves the technical problem of traditional solutions' coarse data hierarchical classification or decoupling from business operations, failing to guarantee the absolute priority of the most critical power grid security commands. Through a three-dimensional model-based dynamic hierarchical strategy, data packets are prioritized, granting high-priority packets millisecond-level response and absolute priority passage. Based on the hierarchical results and real-time channel status, differentiated intelligent routing is executed from dual-path synchronous replication to on-demand single-path transmission, ensuring that critical services always occupy the optimal communication path.
[0017] This invention innovatively proposes a receiver-driven dual strict synchronization and purification mechanism for content and timing. It solves the technical problem of traditional dual-channel systems that only guarantee eventual data consistency; timing discrepancies can lead to misjudgments by the receiver, creating a false impression of "data update" and causing disturbances. A synchronization verification module and a synchronization receiving buffer are established in the photovoltaic terminal to perform dual verification: content consistency verification and timing synchronization verification. Lagging redundant data packets with consistent content but out-of-time conditions are actively discarded, and only the earliest arriving valid data packets are processed. Attached Figure Description
[0018] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0019] Figure 1 This is a flowchart of a dual-objective communication scheduling method for direct acquisition and control of distributed photovoltaic power according to Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of the structure of a computer device according to Embodiment 4 of the present invention. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.
[0021] It should be noted that the following detailed description is illustrative and intended to provide further explanation of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0022] Example 1 This embodiment provides a dual-objective communication scheduling method for direct acquisition and control of distributed photovoltaic power.
[0023] This embodiment provides a dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control, which can deeply integrate with the needs of power grid control business, improve the reliability of communication links, and ensure the real-time, accurate, and safe execution of control commands.
[0024] This embodiment provides a dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control, aiming to: resolve the risk of single-point communication failure by improving link reliability through intelligent dual-channel scheduling; ensure real-time data transmission based on the urgency of grid services to guarantee absolute priority of critical instructions; propose multi-dimensional intelligent arbitration rules to resolve conflicts between multiple sources of instructions and ensure the timeliness, security, and rationality of instruction execution; achieve strict time-series and content synchronization of dual-path data transmission to avoid misjudgment at the receiving end; and construct an intelligent system that deeply coordinates communication status and service control, achieving a leap from "reliable channels" to "precise control".
[0025] This embodiment provides a dual-objective communication scheduling method for distributed photovoltaic direct procurement and control, which is applied to a distributed low-voltage photovoltaic direct procurement and control system. The distributed low-voltage photovoltaic direct procurement and control system includes a photovoltaic terminal, a one-to-two communication channel module, a scheduling master station, and a local management unit. The photovoltaic terminal has a built-in priority scheduling module, a data packet copying module, a synchronization verification module, a buffer pool module, and an instruction arbitration module.
[0026] This embodiment provides a dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control, such as... Figure 1 As shown, it includes the following steps: Step 1: Data Acquisition and Command Reception.
[0027] The photovoltaic terminal collects real-time operating data of distributed low-voltage photovoltaic modules, including but not limited to power generation, output voltage, output current, module temperature, and fault alarm information. At the same time, the photovoltaic terminal receives control commands issued by the dispatch master station and the local management unit through two independent communication channels of the one-to-two communication channel module.
[0028] Step 2: Prioritize data packets.
[0029] Step 201: The priority scheduling module of the photovoltaic terminal classifies the collected operational data and received control commands according to "business importance + grid security impact + real-time requirements", generates corresponding data packets and assigns priorities. The specific classification criteria (i.e., the three-dimensional model dynamic classification strategy) are as follows: High-priority data packets (basic priority value is 8~10): control commands and operational data involving the core safety of the power grid and equipment, such as rapid power emergency control commands, islanding detection signals, and grid connection point voltage / frequency over-limit alarms. They require millisecond-level response and enjoy the highest absolute priority. Medium priority data packets (basic priority value is 4~7): These involve control commands and operational data related to economic operation and routine regulation, such as AGC (Automatic Generation Control) dispatch commands, routine power regulation, and real-time power generation, requiring a response time within seconds. Low-priority data packets (basic priority value is 1~3): ordinary data used for status monitoring and post-event analysis, such as component temperature curves, historical statistical reports, and non-critical logs, allowing delays of minutes or longer.
[0030] Step 202: The priority scheduling module adds a priority identifier, a unique timestamp, and a data freshness decay coefficient to each data packet for subsequent time sequence synchronization verification and instruction timeliness judgment.
[0031] The unique timestamp refers to the local time when the data packet completes its service encapsulation at the photovoltaic terminal and is ready to enter the communication scheduling queue. For downlink control commands: when the photovoltaic terminal receives a control command from the scheduling master station or local management unit, it encapsulates the control command into a data packet to be processed and adds the current local timestamp. For uplink operational data: when the photovoltaic terminal collects operational data and generates a data packet, it adds the current local timestamp.
[0032] The data freshness decay coefficient is calculated using an exponential decay model: α(t1) = α0 e (-λ t1) Where α(t1) represents the instantaneous freshness decay coefficient of the data packet after the waiting time t1, α0 is the initial freshness base of the data packet, which is determined by the basic priority. For high priority data packets, α0=1.0, for medium priority data packets, α0=0.6, and for low priority data packets, α0=0.3. λ represents the decay rate constant, which is determined by the basic priority. The larger the value, the faster the decay. For high priority data packets, λ=0.5 (fastest decay, emphasizing urgency), for medium priority data packets, λ=0.2, and for low priority data packets, λ=0.05 (slowest decay, allowing for longer waiting time). t1 represents the waiting time (unique timestamp - the time of receiving running data or control commands).
[0033] Step 3: Priority synchronization and replication of same-source data packets.
[0034] The data packet replication module of the photovoltaic terminal receives the hierarchical data packets output by the priority scheduling module, and performs differentiated same-source synchronous replication operations based on priority. The specific operations are as follows: High-priority data packets: A millisecond-level synchronous replication strategy is adopted. After receiving high-priority data packets, the data packet replication module completes same-source replication and generates two data packets with completely identical data content, priority identifier, and timestamp. These correspond to the two independent communication channels of the one-to-two communication channel module, ensuring the same source and synchronization of dual-path transmission. Medium-priority data packets: An on-demand synchronous replication strategy is adopted. The data packet replication module performs replication operations based on the current channel load status. If the channel load rate is lower than the set value of 70%, real-time synchronous replication is performed; if the channel load rate is higher than the set value of 70%, priority is given to ensuring the replication resources of high-priority data packets. Low-priority data packets: An on-demand asynchronous replication strategy is adopted, and replication operations are only performed when high- and medium-priority data packet transmissions are idle, thus saving channel bandwidth resources.
[0035] Step 4: Simultaneous transmission and double verification of dual data packets.
[0036] The copied data packets from step 3 are synchronously transmitted to the corresponding receiving end (dispatch master station, local management unit) through two independent communication channels of the one-to-two communication channel module according to priority. During the transmission, the synchronization verification module of the photovoltaic terminal performs time-content dual verification to ensure that the data packets output by the sending end (photovoltaic terminal) are synchronized in both time and content, avoiding misjudgment by the receiving end (master station / local). The specific process is as follows: (1) Content consistency verification: The synchronous verification module performs content verification on the same source data packets transmitted on both channels. It uses the CRC-32 verification algorithm (32-bit algorithm of cyclic redundancy check) to calculate the check code of each data packet and compares whether the check codes of the data packets transmitted on the two channels are consistent. If the check codes are consistent, it is determined that there is no deviation in the content. If the check codes are inconsistent, it is determined that there is data packet loss or distortion, and the retransmission mechanism is immediately triggered. The photovoltaic terminal re-copys the data packet and transmits it. (2) Timing synchronization verification: The synchronization verification module compares the timestamps of the same source data packets transmitted in dual channels and calculates the transmission time difference between the two channels. Different thresholds are set for different priorities. If the transmission time difference exceeds the corresponding threshold, it is determined that the timing is not synchronized. The synchronization verification module triggers the timing calibration command to adjust the channel transmission rate and ensure that the timing of subsequent data packets is synchronized.
[0037] The timing calibration command, based on the measured inter-channel transmission delay difference Δt, adjusts the preset transmission time offset for the two channels in the photovoltaic terminal data packet replication module according to the following rules: The data packet replication module maintains a transmission time offset T for each channel. offset (Initial value is 0), the synchronization verification module uses the receiving time difference method to measure the average delay difference Δt between the two channels and updates the offset T. offset =T offset±Δt, when the data packet replication module sends same-source data packets through dual channels, it will use the updated T as the reference. offset By fine-tuning their respective transmission times, timing synchronization is achieved at the receiving end.
[0038] Step 5: Linking channel conflict resolution with buffer scheduling.
[0039] The buffer pool module and priority scheduling module within the photovoltaic terminal are deeply integrated: When the communication channel is congested, a differentiated conflict resolution operation is performed. Low-priority data is cached and marked with the time it enters the buffer pool. Its dynamic priority is adjusted according to the formula: P=P0+f(t2,α(t1)), where P is the dynamic priority (i.e., the updated priority), P0 is the base priority, and f(t2,α(t1)) adopts a linear weighted model, f(t2,α(t1))=γ. t2+δ α(t1) and t2 represent the time the data packet has been waiting since it entered the buffer pool. α(t1) represents the instantaneous freshness decay coefficient of the data packet after the waiting time t1. γ and δ are configurable weight coefficients. This function ensures that the scheduling priority of data waiting in the buffer pool will increase as the waiting time increases (to prevent "starvation"), while it will also be suppressed due to the decrease in its own timeliness.
[0040] When a channel conflict occurs, the priority scheduling module prioritizes the transmission of high-priority data packets, while low-priority data packets are suspended from transmission and cached in the buffer pool module. The buffer pool module marks the time each cached low-priority data packet entered the buffer pool, records the waiting time, and automatically increases its priority (i.e., calculates dynamic priority) before waiting to be sorted by priority and entered into the first-to-second communication channel module for transmission. When the waiting time of low-priority data exceeds its service tolerance threshold (such as 5 minutes for one scheduling cycle of statistical data), it is directly cleared because it has become invalid, preventing buffer congestion.
[0041] Step 6: Multi-dimensional instruction arbitration and effective instruction execution.
[0042] The dispatch master station or local management unit sends control commands to the photovoltaic terminals. Upon receiving the commands, the photovoltaic terminals generate corresponding data packets with timestamps and priorities in step 2, and then enter the command arbitration module. The command arbitration module adopts a "three-stage funnel-shaped" arbitration process to determine the validity of the commands and execute them, completely avoiding execution deviations. The specific arbitration process is as follows: Dimension 1: Timeliness Arbitration (Highest Priority): The instruction arbitration module extracts the unique timestamp of each control instruction and calculates the difference between the unique timestamp of the instruction and the current time; if the difference exceeds the preset valid window, the control instruction is determined to be a valid instruction and proceeds to the next dimension arbitration; otherwise, the control instruction is determined to be invalid, discarded directly, and does not participate in subsequent arbitration. Dimension 2: Status Matching Arbitration (Secondary Priority): For valid control commands that pass time-sensitive arbitration, the command arbitration module obtains the current operating status of the photovoltaic terminal and determines the matching degree between the control command and the current operating status. Based on status matching, control commands with higher safety levels (priority) are selected first. It should be noted that the matching degree judgment follows a preset safety rule base. For example, in the case of equipment overvoltage, only "power reduction" or "shutdown" control commands are matched, while "power increase" control commands will be discarded. Dimension 3: Source Priority Arbitration (Catch-Up Arbitration): If, after arbitration by the first two dimensions, there are two or more valid control instructions (that is, both the timeliness and status matching requirements are met), then the control instruction of the scheduling master station shall be determined as the final valid control instruction according to the source priority rule of "scheduling master station instruction > local management unit instruction".
[0043] The photovoltaic terminal executes the corresponding operation based on the valid control command determined by the arbitration, generates an execution result data packet, and feeds it back to the corresponding receiving end through dual channels according to the process of steps 2 to 5.
[0044] It should be noted that, in this embodiment, the control command for the downlink path refers to the original command actively generated and issued by the scheduling master station or local management unit. After receiving it, the photovoltaic terminal generates a corresponding data packet with a timestamp and priority in step 2. The data for the uplink path is actively generated and reported by the photovoltaic terminal after executing the command, containing new operating status data or control command execution results.
[0045] This embodiment provides a dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control, proposing an intelligent hierarchical and dynamic routing mechanism oriented towards power grid security services. It solves the technical problem of traditional solutions having coarse data hierarchical classification or being decoupled from services, failing to guarantee the absolute priority of the most critical power grid security commands. Through a dynamic hierarchical strategy based on a three-dimensional model of service importance, power grid security impact, and real-time requirements, commands / data directly affecting distribution network security, such as "island detection signals" and "rapid power emergency control," are classified as the highest level, granted millisecond-level response and absolute priority passage. The data packet replication module executes differentiated intelligent routing from "millisecond-level dual-path synchronous replication" to "on-demand single-path transmission" based on the hierarchical results and real-time channel status, ensuring that critical services always occupy the optimal communication path.
[0046] This embodiment provides a dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control, proposing a content-time dual strict synchronization and purification mechanism driven by the photovoltaic terminal. It solves the technical problem that traditional dual-channel systems only guarantee eventual data consistency, and time-time asynchrony can lead to misjudgment at the receiving end, creating a false impression of "data update" and causing disturbances. A synchronization verification module and a synchronization receiving buffer are established at the photovoltaic terminal to perform dual verification: content consistency verification (such as CRC-32) and time-time synchronization verification (comparing high-precision timestamps). Lagging redundant data packets with consistent content but out-of-time discrepancies are actively discarded, and only the earliest arriving valid data packets are processed.
[0047] This embodiment provides a dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control, proposing a funnel-shaped multi-dimensional command arbitration model based on safety status awareness. It addresses the technical problem of traditional arbitration relying solely on fixed source priorities (e.g., master station > local), ignoring command timeliness and real-time equipment safety status, which easily leads to the execution of expired or dangerous commands. The design employs a three-stage funnel-shaped arbitration process: timeliness → safety status matching → source priority. First, timeliness acts as a hard filter, discarding expired commands directly. Second, a "safety status matching" dimension is introduced, requiring commands to conform to the current operating state of the equipment (e.g., only power reduction commands are executed during overvoltage). Under this premise, a predefined inherent safety level of the commands is compared. Finally, source priority is used as a fallback decision.
[0048] This embodiment provides a dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control, proposing a state-aware adaptive buffer scheduling and priority decay model. It addresses the technical problem that traditional buffer queues easily lead to low-priority data "starving" or accumulating large amounts of expired and invalid data, affecting overall efficiency. Through deep integration between the buffer pool module and the scheduler, a waiting time is marked for each cached data packet, and priority is dynamically increased according to the dynamic priority = base priority + f(waiting time, data freshness decay coefficient) model. Simultaneously, business tolerance thresholds are defined for various types of data (such as one scheduling cycle for statistical data), and expired data is automatically cleaned up.
[0049] Example 2 This embodiment provides a dual-objective communication scheduling system for distributed photovoltaic direct acquisition and control, comprising: The priority scheduling module is configured to: generate data packets in response to the operating data uploaded by the photovoltaic terminal, the control commands issued by the scheduling master station or the control commands issued by the local management unit, and then add priority identifiers and data freshness decay coefficients to the data packets after the data packets are prioritized by the dynamic hierarchical strategy of the three-dimensional model. The data packet copying and synchronization verification module is configured to perform differentiated same-source synchronous copying operations on data packets in descending order of priority, and then transmit them synchronously to the receiving end through two independent communication channels. During the transmission process, the data packets undergo time-content dual verification. The buffer pool module is configured to: when the communication channel is congested, add data packets to the buffer pool in order of priority from low to high, and dynamically improve the priority of data packets in the buffer pool based on the data freshness decay coefficient before waiting for transmission; The instruction arbitration module is configured to determine whether a control instruction is a valid control instruction by sequentially using timeliness arbitration, status matching arbitration, and source priority arbitration.
[0050] It should be noted that each module in this embodiment corresponds one-to-one with each step in Embodiment 1, and their specific implementation processes are the same, so they will not be repeated here.
[0051] Example 3 This embodiment provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of a dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control as described in Embodiment 1 above.
[0052] Example 4 This embodiment provides a computer device, such as... Figure 2 As shown, the system includes a computer-readable storage medium 1003, a processor 1001, a communication interface 1002, and a computer program stored on the computer-readable storage medium 1003 and executable on the processor 1001. The processor 1001, communication interface 1002, and computer-readable storage medium 1003 can be connected via a bus or other means. The communication interface 1002 is used to receive and send data. When the processor 1001 executes the program, it implements the steps in the dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control as described in Embodiment 1 above.
[0053] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control, characterized in that, include: In response to the operation data uploaded by the photovoltaic terminal, the control commands issued by the dispatch master station or the control commands issued by the local management unit, a data packet is generated. After prioritizing the data packet using a three-dimensional model dynamic hierarchical strategy, a priority identifier and a data freshness decay coefficient are added to the data packet. After performing differentiated same-source synchronous copying operations on data packets in descending order of priority, they are synchronously transmitted to the receiving end through two independent communication channels, and time-content dual verification is performed on the data packets during the transmission process. When the communication channel is congested, data packets are added to the buffer pool in order of priority from low to high. Based on the data freshness decay coefficient, the data packets in the buffer pool are dynamically prioritized and then wait for transmission.
2. The dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control as described in claim 1, characterized in that, Also includes: The validity of a control instruction is determined by a combination of timeliness arbitration, status matching arbitration, and source priority arbitration.
3. The dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control as described in claim 1, characterized in that, The data freshness decay coefficient is: α(t1) = α0 e (-λ t1) Where α0 is the initial freshness cardinality of the data packet, and t1 represents the waiting time.
4. The dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control as described in claim 1, characterized in that, The differential same-source synchronous replication operation on the data packets includes: For high-priority data packets, perform same-source replication to generate two data packets with completely identical data content, priority identifier, and timestamp, each corresponding to two independent communication channels; For medium-priority data packets, the replication operation is performed according to the current channel load status. If the channel load rate is lower than the set value, the replication is performed synchronously. If the channel load rate is higher than the set value, the replication of high-priority data packets is performed first. For low-priority data packets, an on-demand asynchronous replication strategy is adopted, and replication operations are only performed when high-priority and medium-priority data packet transmissions are idle.
5. The dual-objective communication scheduling method for direct acquisition and control of distributed photovoltaic power as described in claim 1, characterized in that, The time-content dual verification includes: Content consistency check: Content verification is performed on the same source data packets transmitted in dual channels. A 32-bit algorithm with cyclic redundancy check is used to calculate the check code of each data packet and compare whether the check codes of the data packets transmitted in the two channels are consistent. If the check codes are consistent, it is determined that there is no content deviation. If the check codes are inconsistent, it is determined that there is data packet loss or distortion, and the retransmission mechanism is triggered immediately. Timing synchronization check: Compare the timestamps of the same source data packets in dual-channel transmission and calculate the transmission time difference between the two channels; different thresholds are set for different priorities. If the transmission time difference exceeds the corresponding threshold, it is determined that the timing is out of sync and a timing calibration command is triggered.
6. The dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control as described in claim 5, characterized in that, The timing calibration command refers to adjusting the preset transmission time offset of the two channels based on the transmission time difference.
7. The dual-objective communication scheduling method for distributed photovoltaic direct acquisition and control as described in claim 1, characterized in that, The dynamic priority boosting of data packets in the buffer pool is expressed as: P = P0 + f(t2, α(t1)), where P is the updated priority, P0 is the base priority, and f(t2, α(t1)) = γ. t2+δ α(t1) and t2 represent the waiting time since the data packet entered the buffer pool, α(t1) represents the freshness decay coefficient of the data packet after the waiting time t1, and γ and δ are weighting coefficients.
8. A dual-objective communication and scheduling system for distributed photovoltaic direct acquisition and control, characterized in that, include: The priority scheduling module is configured to: generate data packets in response to the operating data uploaded by the photovoltaic terminal, the control commands issued by the scheduling master station or the control commands issued by the local management unit, and then add priority identifiers and data freshness decay coefficients to the data packets after the data packets are prioritized by the dynamic hierarchical strategy of the three-dimensional model. The data packet copying and synchronization verification module is configured to perform differentiated same-source synchronous copying operations on data packets in descending order of priority, and then transmit them synchronously to the receiving end through two independent communication channels. During the transmission process, the data packets undergo time-content dual verification. The buffer pool module is configured to add data packets to the buffer pool in order of priority from low to high when the communication channel is congested, and dynamically improve the priority of data packets in the buffer pool based on the data freshness decay coefficient before waiting for transmission.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps in the dual-objective communication scheduling method for direct acquisition and control of distributed photovoltaic power as described in any one of claims 1-7.
10. A computer device comprising a computer-readable storage medium, a processor, and a computer program stored on the computer-readable storage medium and executable on the processor, characterized in that, When the processor executes the program, it implements the steps in the dual-objective communication scheduling method for direct acquisition and control of distributed photovoltaic power as described in any one of claims 1-7.