Low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting method and system
By adopting a state-driven adaptive sampling rate switching and hierarchical data reporting mechanism, the data processing problem of low-voltage power distribution terminals under complex operating conditions is solved, and efficient data capture and communication optimization under abnormal conditions are achieved, supporting fault analysis.
Patent Information
- Application Number
- CN202611685968.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-27
AI Technical Summary
Existing low-voltage power distribution terminals cannot achieve a dynamic balance between low resource consumption and high time resolution when facing complex operating conditions. Furthermore, they cannot fully reconstruct the evolution process before and after an anomaly occurs under abnormal conditions, and it is difficult to verify and reassemble data when there is packet loss, out-of-order delivery, or duplicate reporting.
A state-driven adaptive sampling rate switching mechanism is adopted, which combines a circular buffer and a hysteresis threshold to switch between normal, observation, event and recovery states based on the anomaly confidence level, and data hierarchical reporting is achieved through encoding and priority scheduling.
It reduces sampling, storage, and communication burden under normal conditions, improves time resolution under abnormal conditions, ensures complete capture of key waveforms and electrical quantity changes, and prioritizes the transmission of high-value event segments under limited communication resources, supporting fault location and cause analysis.
Smart Images

Figure CN123185155A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the fields of power distribution network operation monitoring, smart energy metering, edge computing and industrial communication technology, specifically involving a method and system for low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting. Background Technology
[0002] Low-voltage distribution terminals need to continuously collect key electrical quantities such as voltage, current, active power, and reactive power during operation to ensure the stability and safety monitoring of the distribution network. However, traditional fixed high-frequency sampling mode generates massive amounts of data, significantly increasing the storage burden on the terminal, communication bandwidth pressure, and processing load on the master station. Conversely, fixed low-frequency sampling is prone to missing key transient characteristics such as voltage drops, continuous over-limits, short-term fluctuations, and their recovery processes. In addition, existing anomaly monitoring mechanisms usually only report alarms directly after detecting anomalies, lacking complete waveform context information before and after the trigger, and failing to establish a collaborative mechanism for differentiated processing of events with different confidence levels under bandwidth-constrained conditions.
[0003] Current technologies have significant limitations in addressing the aforementioned complex operating conditions. Specifically, existing systems mostly employ fixed sampling frequencies, failing to achieve a dynamic balance between low resource consumption under normal conditions and high temporal resolution under abnormal conditions. After an anomaly is triggered, the system often only uploads single-point data or brief alarms, making it impossible to fully reconstruct the evolution process before and after the anomaly. Furthermore, all data is uploaded in a single mode, failing to combine anomaly confidence with communication budget for effective data compression, queuing, and priority control. In addition, when faced with network fluctuations such as packet loss, out-of-order reporting, or duplicate reporting, the master station struggles to effectively verify and reconstruct event fragments. Moreover, due to the lack of a hysteresis mechanism for sampling state recovery, the system is prone to frequent oscillations and switching of sampling frequencies near anomaly boundaries, further exacerbating unnecessary resource consumption.
[0004] Therefore, there is an urgent need for a method to solve the problem of how low-voltage power distribution edge terminals can adaptively adjust the sampling frequency according to the degree of electrical quantity anomalies under the condition of limited communication, storage and computing resources, and complete reliable, hierarchical and recombinable data reporting under limited bandwidth. Summary of the Invention
[0005] To achieve the above objectives, the following solution is proposed:
[0006] A method for adaptive sampling and hierarchical reporting of event fragments at the edge of low-voltage power distribution includes: The voltage, current, active power, reactive power and corresponding timestamps of the low-voltage distribution side are collected according to the first sampling rate, and the collected data are stored in the ring buffer. Features are extracted from the data collected in the current sampling window, including electrical quantity change rate, over-limit depth, over-limit duration, waveform consistency deviation, phase-to-phase difference, and data quality features; An anomaly confidence level is calculated based on the aforementioned features, and the system switches between normal state, observation state, event state, and recovery state based on the anomaly confidence level and a preset hysteresis threshold. The normal state and recovery state use the first sampling rate, the observation state uses the second sampling rate, and the event state uses the third sampling rate. The first sampling rate is less than the second sampling rate, and the second sampling rate is less than the third sampling rate. When entering the event state, the moment of entering the event state is taken as the event trigger moment. The first data segment before the event trigger moment is extracted from the circular buffer, and the second data segment after the event trigger moment is collected at the third sampling rate. The first data segment and the second data segment are combined into an event segment. Based on the anomaly confidence level and the preset communication bandwidth budget, the event fragments are encoded. The event sequence number, timestamp, length, and checksum are written into the encoded data, and reported according to priority. The event sequence number is used to identify the event fragment, and the data length is the number of bytes in the encoded data. Receive reporting confirmations for reported segments and retransmit segments for which no reporting confirmation has been received.
[0007] Furthermore, the anomaly confidence level is: ; Where r is the normalized voltage change rate, d is the normalized over-limit depth, q is the normalized over-limit duration, and a is the normalized waveform consistency deviation. is the normalized inter-phase variance; m is the data missing rate. For the Sigmoid function, , , , , and is the weight, and b is the bias.
[0008] Furthermore, the preset hysteresis threshold includes a first threshold, a second threshold, and a recovery threshold; When the anomaly confidence level is greater than or equal to the first threshold and less than the second threshold, the system enters the observation state. When the abnormal confidence level is greater than or equal to the second threshold, or the duration of the out-of-limit exceeds the preset duration, the event state is entered. When the anomaly confidence level is less than a preset recovery threshold and continues for a preset recovery time, the system enters a recovery state; wherein the recovery threshold is less than a first threshold and the first threshold is less than a second threshold.
[0009] Furthermore, the circular buffer continuously stores the most recent N sampling points, and the event fragment includes a length of [missing information] before the event trigger time. The length of the first data segment of each sampling point and the data segment after the event trigger time is [length missing]. The second data segment of each sampling point.
[0010] Furthermore, the event segments are encoded using at least one of the following methods: differential coding, quantization coding, extreme value preservation, zero-crossing point preservation, rate of change threshold preservation, and segmented statistical coding.
[0011] Furthermore, the priority is: ; Where C represents the anomaly confidence level; d represents the weight of the anomaly confidence level; d represents the normalized depth of the boundary breach. R is the depth weight for exceeding the limit; R is the status flag, which is 1 when there is no acknowledgment or when retransmission is required, and 0 otherwise. Weights are assigned to states.
[0012] Furthermore, the event sequence number consists of the terminal identifier, the event number, and the segment number, and the check code is a CRC check code.
[0013] This invention also provides a low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting system, comprising: The electrical quantity acquisition module is used to collect voltage, current, active power, reactive power and corresponding timestamps on the low-voltage distribution side according to the first sampling rate, store the collected data in a ring buffer, and establish a normal operation baseline based on the collected data. The feature and confidence module is used to extract features from the data collected in the current sampling window. The features include electrical quantity change rate, over-limit depth, over-limit duration, waveform consistency deviation, phase-to-phase difference, and data quality features, and calculate the anomaly confidence based on the features. The sampling state control module is used to switch between normal state, observation state, event state and recovery state according to the anomaly confidence level and the preset hysteresis threshold. A circular buffer module is used to continuously store the collected data of the most recently preset number of sampling points; when entering an event state, a first data segment before the event trigger time is extracted from the circular buffer, and a second data segment after the event trigger time is collected at the third sampling rate, and the first data segment and the second data segment are combined into an event segment; The encoding and scheduling module is used to encode the event fragments according to the anomaly confidence level and the preset communication bandwidth budget, write the event sequence number, timestamp, data length and check code into the encoded data, and report them according to priority. The communication and confirmation module is used to receive confirmations for reported segments and to retransmit segments for which no confirmation has been received.
[0014] The present invention also provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the electronic device performs a low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting method.
[0015] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when run on a processor, causes the processor to execute a method for adaptive sampling and hierarchical reporting of low-voltage power distribution edges.
[0016] Compared with the prior art, the present invention has the following beneficial effects: This invention employs a state-driven adaptive sampling rate switching mechanism, using a lower first sampling rate in normal and recovery states, a second sampling rate in observation states, and a third sampling rate in event states. This significantly reduces the sampling, storage, and communication burden during normal operation of the power distribution system and rapidly improves time resolution when anomalies occur, ensuring that key waveforms and electrical quantity changes are fully captured.
[0017] This invention combines pre-trigger circular buffering with post-trigger delayed acquisition to preserve the complete evolutionary context before and after an anomaly occurs. This allows the master station to not only see the event itself but also replay the event precursors, development process, and recovery process, facilitating fault location and cause analysis. Simultaneously, by combining anomaly confidence grading, feature preservation, and communication bandwidth budget scheduling, high-value event segments are prioritized for transmission under limited communication resources.
[0018] This invention enables a smooth switching of sampling states between normal, observation, event, and recovery by using a hysteresis threshold and a step-by-step recovery mechanism, avoiding frequent jumps in the sampling rate caused by fluctuations in abnormal confidence around the threshold. Attached Figure Description
[0019] Figure 1 This is a flowchart of the overall process of the method of the present invention.
[0020] Figure 2 This is a flowchart illustrating the process of constructing, compressing, encoding, and hierarchically reporting event fragments for this invention. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to embodiments.
[0022] like Figure 1As shown, the low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting method includes: The voltage, current, active power, reactive power and corresponding timestamps of the low-voltage distribution side are collected according to the first sampling rate, and the collected data are stored in the ring buffer. Features are extracted from the data collected in the current sampling window, including electrical quantity change rate, over-limit depth, over-limit duration, waveform consistency deviation, phase-to-phase difference, and data quality features; An anomaly confidence level is calculated based on the aforementioned features, and the system switches between normal state, observation state, event state, and recovery state based on the anomaly confidence level and a preset hysteresis threshold. The normal state and recovery state use the first sampling rate, the observation state uses the second sampling rate, and the event state uses the third sampling rate. The first sampling rate is less than the second sampling rate, and the second sampling rate is less than the third sampling rate. When entering the event state, the moment of entering the event state is taken as the event trigger moment. The first data segment before the event trigger moment is extracted from the circular buffer, and the second data segment after the event trigger moment is collected at the third sampling rate. The first data segment and the second data segment are combined into an event segment. Based on the anomaly confidence level and the preset communication bandwidth budget, the event fragments are encoded. The event sequence number, timestamp, length, and checksum are written into the encoded data, and reported according to priority. The event sequence number is used to identify the event fragment, and the data length is the number of bytes in the encoded data. Receive reporting confirmations for reported segments and retransmit segments for which no reporting confirmation has been received.
[0023] Furthermore, the anomaly confidence level is: ; Where r is the normalized voltage change rate, d is the normalized over-limit depth, q is the normalized over-limit duration, and a is the normalized waveform consistency deviation. is the normalized inter-phase variance; m is the data missing rate. For the Sigmoid function, , , , , and is the weight, and b is the bias. In this embodiment, , , , , , , .
[0024] Furthermore, the formula for calculating the normalized rate of change of voltage is: ; in, The voltage change rate is used as a reference value in this embodiment. ; The voltage at the k-th sampling point; Δt represents the voltage at the (k-1)th sampling point; Δt represents the time interval between two adjacent sampling points. In this embodiment, Δt=1 in the normal and recovery states, Δt=0.1s in the observation state, and Δt=0.01s in the event state. This means iterating through all k sampling points within the window and taking the maximum value.
[0025] Furthermore, the formula for calculating the normalized depth of ingress is: ; in, To normalize the depth beyond the limit; This is the lower voltage threshold. The minimum voltage within the window; This represents the maximum voltage within the window. This is the upper limit threshold for voltage. This is for retrieving the maximum value.
[0026] In this embodiment, the first sampling rate is 1Hz; the second sampling rate is 10Hz; and the third sampling rate is 100Hz.
[0027] Furthermore, the preset hysteresis threshold includes a first threshold, a second threshold, and a recovery threshold; When the anomaly confidence level is greater than or equal to the first threshold and less than the second threshold, the system enters the observation state. When the abnormal confidence level is greater than or equal to the second threshold, or the duration of the out-of-limit exceeds the preset duration, the event state is entered. When the anomaly confidence level is less than a preset recovery threshold and continues for a preset recovery time, the system enters a recovery state; wherein the recovery threshold is less than a first threshold and the first threshold is less than a second threshold.
[0028] Furthermore, the circular buffer continuously stores the most recent N sampling points, and the event fragment includes a length of [length missing] before the event trigger time. The length of the first data segment of each sampling point and the data segment after the event trigger time is [length missing]. The second data segment of 600 sampling points; in this embodiment, N is 600 sampling points. For 300 sampling points, There are 500 sampling points.
[0029] Furthermore, the event segments are encoded using at least one of the following methods: differential coding, quantization coding, extreme value preservation, zero-crossing point preservation, rate of change threshold preservation, and segmented statistical coding.
[0030] Furthermore, the priority calculation formula is as follows: ; Where C represents the anomaly confidence level; d represents the weight of the anomaly confidence level; d represents the normalized depth of the boundary breach. R is the depth weight for exceeding the limit; R is the status flag, which is 1 when there is no acknowledgment or when retransmission is required, and 0 otherwise. As the state label weight; in this embodiment, =0.5, =0.3, =0.2.
[0031] Furthermore, the event sequence number consists of the terminal identifier, the event number, and the segment number, and the check code is a CRC check code.
[0032] like Figure 2 As shown, after entering the event state, the first data segment before the event trigger time is extracted from the circular buffer, and the second data segment after the event trigger time is collected at the third sampling rate. The first and second data segments are combined into an event segment. An encoding method is selected based on the anomaly confidence level and the preset communication bandwidth budget. When the confidence level is high and the bandwidth is sufficient, the event segment is encoded as a raw segment. When the confidence level is medium and the bandwidth is limited, the event segment is encoded as a compressed segment. When the confidence level is low or the bandwidth is severely limited, the event segment is encoded as a statistical digest. After encoding, the event sequence number, timestamp, data length, and checksum are written, and the segments are reported according to priority. The system receives reporting confirmations for reported segments. If confirmation is received, the process ends; otherwise, the segments for which no confirmation has been received are retransmitted. In this embodiment... For high confidence, At medium confidence level, The confidence level is low; the available bandwidth budget within a scheduling cycle is 100kbps. When the real-time available bandwidth is greater than or equal to 60kbps, the bandwidth is sufficient. When the real-time available bandwidth is greater than or equal to 20kbps but less than 60kbps, the bandwidth is limited. When the real-time available bandwidth is less than 20kbps, the bandwidth is severely limited.
[0033] This embodiment uses a simulated transformer area as the application scenario, and the terminal operates according to the first sampling rate. The system collects voltage, current, active power, reactive power, and corresponding timestamps from the low-voltage distribution side, and stores the collected data in a circular buffer. First sampling rate. Corresponding sampling interval ; Circular cache continuously stores the most recently used data Each sampling point. The terminal establishes a normal operating baseline based on the collected data in the ring buffer, and calculates the moving average and standard deviation of the voltage, current, active power, and reactive power of the most recent normal sampling points, which are used as the normal operating baseline.
[0034] The terminal extracts features from the data collected in the current sampling window. These features include the rate of change of electrical quantity, the depth of exceeding the limit, the duration of exceeding the limit, the waveform consistency deviation, the phase difference, and data quality features.
[0035] The duration of exceeding the limit, q, is the ratio of the cumulative time within the window that meets the limit-exceeding condition to the total window time, and is limited to between 0 and 1. Data quality characteristics. This is the ratio of the number of missing or defective sampling points within the window to the total number of sampling points within the window.
[0036] The terminal switches between normal state, observation state, event state, and recovery state based on the anomaly confidence level and a preset hysteresis threshold. In this embodiment, the first threshold... Second threshold Recovery threshold Preset duration Recovery time is taken .
[0037] When the rate of change of voltage within the window exceeds the first threshold At this time, the terminal switches from normal state to observation state and changes the sampling rate from the first sampling rate. Increase to the second sampling rate Second sampling rate Corresponding sampling interval When both the depth and duration of the violation exceed the second threshold. With preset duration At this time, the terminal transitions from observation state to event state and increases the sampling rate to the third sampling rate. Third sampling rate Corresponding sampling interval .
[0038] When entering the event state, the terminal reads the event trigger time from the circular buffer. One sampling point is used as the first data segment, corresponding to approximately 3 seconds of data before the trigger; and data continues to be collected after the event trigger time at the third sampling rate. Each sampling point serves as the second data segment, corresponding to approximately 5 seconds of data after triggering. The first and second data segments are combined to form an event segment, retaining three channels: voltage, current, and power. In this embodiment .
[0039] The terminal encodes event segments based on anomaly confidence levels and a preset communication bandwidth budget. When multiple events occur simultaneously, the scheduler prioritizes them. Sort and calculate Then, press Report in descending order of size.
[0040] During encoding, high-confidence event fragments are sent in their original or lightly compressed form; medium-confidence event fragments are encoded using differential coding and key point preservation; and low-confidence event fragments are sent only as a digest.
[0041] The encoded data includes an event sequence number, timestamp, data length, and CRC checksum. The data length is the number of bytes in the encoded data. The event sequence number consists of a terminal identifier, an event number, and a fragment number. Terminals report event fragments according to priority. After the master station returns an acknowledgment number, the terminal releases its buffer. If a fragment is not acknowledged, its retransmission priority is increased. If the retransmission limit is exceeded, it is saved to a local queue for retransmission. In this embodiment, the number of retransmissions does not exceed 3, and the acknowledgment timeout is 5 seconds.
[0042] When the same process is deployed on two or more edge terminals, the edge aggregation node performs bandwidth budgeting and priority scheduling. The main station statistically analyzes the event density, acknowledgment latency, packet loss rate, and fragment integrity rate of each terminal to generate a sampling policy update package. After verifying the signature, version, and applicable terminal identifier of the update package, the terminal updates the recovery threshold. First threshold Second threshold , , And weight parameters. The policy update package is generated every 15 minutes, and the terminal only performs the update when the signature verification is successful, the version number is higher than the local version, and the applicable terminal identifier matches the terminal.
[0043] This invention also provides a low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting system, comprising: The electrical quantity acquisition module is used to collect voltage, current, active power, reactive power and corresponding timestamps on the low-voltage distribution side according to the first sampling rate, store the collected data in a ring buffer, and establish a normal operation baseline based on the collected data. The feature and confidence module is used to extract features from the data collected in the current sampling window. The features include electrical quantity change rate, over-limit depth, over-limit duration, waveform consistency deviation, phase-to-phase difference, and data quality features, and calculate the anomaly confidence based on the features. The sampling state control module is used to switch between normal state, observation state, event state and recovery state according to the anomaly confidence level and the preset hysteresis threshold. A circular buffer module is used to continuously store the collected data of the most recently preset number of sampling points; when entering an event state, a first data segment before the event trigger time is extracted from the circular buffer, and a second data segment after the event trigger time is collected at the third sampling rate, and the first data segment and the second data segment are combined into an event segment; The encoding and scheduling module is used to encode the event fragments according to the anomaly confidence level and the preset communication bandwidth budget, write the event sequence number, timestamp, data length and check code into the encoded data, and report them according to priority. The communication and confirmation module is used to receive reporting confirmations for reported segments and to retransmit segments for which no reporting confirmation has been received.
[0044] The present invention also provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the electronic device performs a low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting method.
[0045] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when run on a processor, causes the processor to execute a method for adaptive sampling and hierarchical reporting of low-voltage power distribution edges.
[0046] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for adaptive sampling and hierarchical reporting of event fragments at the edge of low-voltage power distribution, characterized in that, include: The voltage, current, active power, reactive power and corresponding timestamps of the low-voltage distribution side are collected according to the first sampling rate, and the collected data are stored in the ring buffer. Features are extracted from the data collected in the current sampling window, including electrical quantity change rate, over-limit depth, over-limit duration, waveform consistency deviation, phase-to-phase difference, and data quality features; An anomaly confidence level is calculated based on the aforementioned features, and the system switches between normal state, observation state, event state, and recovery state based on the anomaly confidence level and a preset hysteresis threshold. The normal state and recovery state use the first sampling rate, the observation state uses the second sampling rate, and the event state uses the third sampling rate. The first sampling rate is less than the second sampling rate, and the second sampling rate is less than the third sampling rate. When entering the event state, the moment of entering the event state is taken as the event trigger moment. The first data segment before the event trigger moment is extracted from the circular buffer, and the second data segment after the event trigger moment is collected at the third sampling rate. The first data segment and the second data segment are combined into an event segment. Based on the anomaly confidence level and the preset communication bandwidth budget, the event fragments are encoded. The event sequence number, timestamp, length, and checksum are written into the encoded data, and reported according to priority. The event sequence number is used to identify the event fragment, and the data length is the number of bytes in the encoded data. Receive reporting confirmations for reported segments and retransmit segments for which no reporting confirmation has been received.
2. The low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting method according to claim 1, characterized in that, The anomaly confidence level is: ; Where r is the normalized voltage change rate, d is the normalized over-limit depth, q is the normalized over-limit duration, and a is the normalized waveform consistency deviation. is the normalized inter-phase variance; m is the data missing rate. For the Sigmoid function, , , , , and is the weight, and b is the bias.
3. The low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting method according to claim 1, characterized in that, The preset hysteresis threshold includes a first threshold, a second threshold, and a recovery threshold; When the anomaly confidence level is greater than or equal to the first threshold and less than the second threshold, the system enters the observation state. When the abnormal confidence level is greater than or equal to the second threshold, or the duration of the out-of-limit exceeds the preset duration, the event state is entered. When the anomaly confidence level is less than a preset recovery threshold and continues for a preset recovery time, the system enters a recovery state; wherein the recovery threshold is less than a first threshold and the first threshold is less than a second threshold.
4. The low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting method according to claim 1, characterized in that, The circular buffer continuously stores the most recent N sampling points, and the event fragment includes the segment prior to the event trigger time with a length of [missing information]. The length of the first data segment of each sampling point and the data segment after the event trigger time is [length missing]. The second data segment of each sampling point.
5. The low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting method according to claim 1, characterized in that, The event segments are encoded using at least one of the following methods: differential coding, quantization coding, extreme value preservation, zero-crossing point preservation, rate of change exceeding threshold preservation, and segmented statistical coding.
6. The low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting method according to claim 1, characterized in that, The priority is: ; Where C represents the anomaly confidence level; d represents the weight of the anomaly confidence level; d represents the normalized depth of the boundary breach. R is the depth weight for exceeding the limit; R is the status flag, which is 1 when there is no acknowledgment or when retransmission is required, and 0 otherwise. Weights are assigned to states.
7. The low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting method according to claim 1, characterized in that, The event sequence number consists of the terminal identifier, the event number, and the segment number, and the check code is a CRC check code.
8. A low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting system, characterized in that, include: The electrical quantity acquisition module is used to collect voltage, current, active power, reactive power and corresponding timestamps on the low-voltage distribution side according to the first sampling rate, store the collected data in a ring buffer, and establish a normal operation baseline based on the collected data. The feature and confidence module is used to extract features from the data collected in the current sampling window. The features include electrical quantity change rate, over-limit depth, over-limit duration, waveform consistency deviation, phase-to-phase difference, and data quality features, and calculate the anomaly confidence based on the features. The sampling state control module is used to switch between normal state, observation state, event state and recovery state according to the anomaly confidence level and the preset hysteresis threshold. A circular buffer module is used to continuously store the collected data of the most recently preset number of sampling points; when entering an event state, a first data segment before the event trigger time is extracted from the circular buffer, and a second data segment after the event trigger time is collected at the third sampling rate, and the first data segment and the second data segment are combined into an event segment; The encoding and scheduling module is used to encode the event fragments according to the anomaly confidence level and the preset communication bandwidth budget, write the event sequence number, timestamp, data length and check code into the encoded data, and report them according to priority. The communication and confirmation module is used to receive confirmations for reported segments and to retransmit segments for which no confirmation has been received.
9. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, it causes the electronic device to perform the low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is run on the processor, it causes the processor to execute the low-voltage power distribution edge adaptive sampling and event fragment hierarchical reporting method according to any one of claims 1 to 7.
