Multi-service bearing type distribution network automatic communication method and system based on EPON (Ethernet Passive Optical Network)

By grouping and prioritizing data in the distribution network automation system, the problem of loop closure failure caused by control signal delay is solved, enabling timely transmission of critical control data under high load conditions and ensuring the safety and real-time performance of power grid operation.

CN120935114APending Publication Date: 2025-11-11HUANGSHAN POWER SUPPLY COMPANY OF STATE GRID ANHUI ELECTRIC POWER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511173957.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-21
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

In existing distribution network automation systems, control signal delays during loop closing operations can lead to malfunctions in protection systems, making it impossible to suppress the inrush current at the moment of loop closing, resulting in loop closing failure. Furthermore, under high load conditions, it is impossible to effectively distinguish the real-time processing of different services.

Method used

By grouping data according to service type and data packet arrival time, calculating frame occupancy interference index, prioritizing the scheduling of control service data, inserting delay compensation fields, and generating multi-queue transport streams, the timely transmission of critical control data is ensured.

Benefits of technology

Under high load conditions, ensure the timeliness of control signal transmission, avoid delays or packet loss, guarantee the safety and real-time performance of power grid operation, improve bandwidth resource utilization efficiency, and reduce resource waste and time slot conflicts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120935114A_ABST
    Figure CN120935114A_ABST
Patent Text Reader

Abstract

The invention provides an automatic communication method and system for a multi-service bearing type distribution network based on an EPON (Ethernet Passive Optical Network), and relates to the technical field of data processing, and the method comprises the following steps: grouping control service data and monitoring service data, counting the size and time interval of data packets in each group, calculating the bandwidth occupancy rate of each group in an EPON frame structure, and sending the bandwidth occupancy rate to the EPON frame structure; the method comprises the following steps: obtaining a frame occupation interference index, sorting grouped feature data sets, carrying out packet length cutting and packet segment rearrangement on the grouped feature data sets, detecting the position distribution of each packet segment in an EPON frame time slot, obtaining a cross-service coverage coefficient, adjusting the time slot distribution of a control segment data set, and inserting a delay compensation field at the adjusted position. And respectively mapping to a first data queue and a second data queue of an uplink channel of the EPON, and generating a multi-queue transport stream. According to the invention, the multi-service data flow can be efficiently managed and dispatched, and the safe data transmission of the distribution network automation communication system is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a multi-service bearer distribution network automation communication method and system based on EPON. Background Technology

[0002] In existing distribution network automation systems, most communication solutions rely on direct fiber optic connections or wireless 4G to achieve data interaction between the master station and various terminals. Taking a typical daisy-chain distribution network structure as an example, the master station accesses nodes via EPON fiber optic cables, aggregating data from acquisition terminals and protection terminals to the dispatch center and issuing control commands. This method can simultaneously carry protection information, monitoring information, and management services, meeting the multi-service needs of daily operation. However, when rapid switching operations such as loop breaking and loop closing are required, the existing system's service scheduling and communication mechanisms may not be able to differentiate and process the real-time requirements of different services.

[0003] In some distribution network scenarios, loop closing operations are often used for uninterrupted power supply to loads. However, when EPON carries multiple services, the scheduling instructions and low-priority monitoring data share the same uplink channel, which can easily cause queuing delays when the service traffic surges. When the control signal delay exceeds the safety margin of the relay protection, the inrush current generated at the moment of loop closing may not be suppressed in time, triggering the protection to malfunction and causing the loop closing to fail. Summary of the Invention

[0004] The purpose of this invention is to provide a multi-service bearer distribution network automation communication method and system based on EPON, aiming to solve the problems mentioned in the background art.

[0005] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows:

[0006] Firstly, a multi-service bearer-type distribution network automation communication method based on EPON, the method comprising:

[0007] Acquire control business data and monitoring business data, group them according to business category and data packet arrival time, and count the data packet size and time interval within each group to obtain a grouped feature dataset;

[0008] Based on the grouped feature dataset, the bandwidth occupancy rate of each group in the EPON frame structure is calculated to obtain the frame occupancy interference index.

[0009] The grouped feature datasets are sorted according to the frame occupancy interference index. The groups that are ranked first and belong to the control service category are selected. The packet lengths are then truncated and the packet segments are rearranged to obtain the control segment dataset.

[0010] Based on the control segment dataset, the position distribution of each packet segment in the EPON frame time slot is detected, the frame time slot coverage of the control segment dataset for the monitored service packets is calculated, and the cross-service coverage coefficient is obtained.

[0011] The time slot distribution of the control segment dataset is adjusted according to the cross-service coverage coefficient, and a delay compensation field is inserted at the adjusted position to obtain the delay compensation dataset.

[0012] Based on the delay compensation dataset and monitoring service groups, the data is mapped to the first and second data queues of the EPON uplink channel to obtain queue mapping data.

[0013] Based on the queue mapping data, the first data queue is prioritized to complete the transmission, and then the second data queue is scheduled to complete the transmission, thus generating a multi-queue transmission stream.

[0014] Furthermore, control business data and monitoring business data are acquired and grouped according to business category and data packet arrival time. The data packet size and time interval within each group are statistically analyzed to obtain a grouped feature dataset, including:

[0015] Based on the control business data and monitoring business data, the start timestamp and data length of each data packet are extracted to obtain the original data record set;

[0016] Based on the original data record set, a category index is built according to the business category, and the data packets are marked with the business category to obtain the marked data record set;

[0017] The marked data record set is sorted according to the arrival time of each data packet, and data packets with adjacent time intervals less than a preset interval threshold are grouped into the same group to obtain a grouped data record set;

[0018] Based on the grouped data record set, calculate the average length of each group of data packets and the average time interval between adjacent data packets to generate a grouped feature dataset.

[0019] Furthermore, based on the grouped feature dataset, the bandwidth occupancy rate of each group in the EPON frame structure is calculated to obtain the frame occupancy interference index, including:

[0020] Based on the group feature dataset, the number of time slots occupied by the group and the total number of time slots within the statistical window are counted, and the bandwidth utilization rate is calculated.

[0021] Based on the group feature dataset, calculate the average packet length of all data packets within the group, and normalize it using the maximum packet length to obtain the length ratio;

[0022] Based on the arrival time of each data packet in the group, calculate its adjacent arrival interval and its mean to obtain the calculation interval fluctuation.

[0023] Based on the continuous occupancy characteristics of the group, the number of the longest continuous occupancy time slots is counted, and the sequence coherence ratio is calculated; the number of time slots between idle and occupied in the group is counted, and normalized to the boundary change ratio.

[0024] The frame occupancy interference index is obtained by fusing bandwidth utilization, length ratio, inter-packet fluctuation, sequence coherence ratio, and boundary transformation ratio.

[0025] Furthermore, the grouped feature datasets are sorted according to the frame occupancy interference index. Groups that rank high and belong to the control service category are selected, and their packet lengths are pruned and their segments rearranged to obtain the control segment dataset, including:

[0026] Based on the frame occupancy interference index, all groups in the grouped feature dataset are sorted by total order according to their values ​​from high to low to obtain the index sorted list.

[0027] When a business category is a control business and its ranking is in the top preset percentage in the index sorting list, the group is added to the control candidate group set.

[0028] Based on the control candidate group set, extract the packet length information of each packet. When the packet length exceeds the preset pruning threshold, it is divided into equal parts according to a fixed byte width to obtain a pruned fragment set.

[0029] Based on the cropped fragment set, extract the data packet number and time index of each fragment, sort them by data packet number, and then rearrange them by time index to obtain the control segment dataset.

[0030] Furthermore, based on the control segment dataset, the positional distribution of each packet segment in the EPON frame slots is detected, and the frame slot coverage of the control segment dataset for the monitored service packets is calculated to obtain the cross-service coverage coefficient, including:

[0031] Based on the control segment dataset and monitoring service grouping, determine the number of time slots occupied by the control service and the number of time slots occupied by the monitoring service in each time frame within the statistical window, and obtain the frame occupancy statistics.

[0032] Based on the frame occupancy statistics sequence, the overlap degree of each time frame is calculated sequentially to obtain the frame-level overlap degree sequence;

[0033] Based on the frame-level overlap sequence, calculate the overlap variation amplitude of each pair of adjacent time frames, and further calculate the standard deviation of the overlap variation amplitude.

[0034] Calculate the mixed occupancy entropy value based on the proportion of time slots simultaneously occupied by control and monitoring services in all time frames;

[0035] The cross-service coverage coefficient is obtained based on frame occupancy statistics, frame-level overlap sequence, standard deviation of overlap variation, and mixed occupancy entropy value.

[0036] Furthermore, the time slot distribution of the control segment dataset is adjusted according to the cross-service coverage coefficient, and a delay compensation field is inserted at the adjusted position to obtain the delay compensation dataset, including:

[0037] The cross-service coverage coefficient is compared with a preset overlap threshold. When it exceeds the preset overlap threshold, it is determined that there is a high risk of conflict in the time slot distribution of the control segment dataset, and a distribution adjustment trigger flag is obtained.

[0038] Based on the distribution, the trigger markers are adjusted, and the packet segments that overlap with the monitoring service groups in the control segment dataset are selected. The conflict packet segment index data is constructed, and its time frame number and time slot number are recorded.

[0039] Based on the conflict packet index data, the slot number of each conflict packet is fixedly offset, and the slot number is replaced with the next free slot number with an even number in that time frame to obtain the adjusted position dataset.

[0040] Based on the adjusted location dataset, insert a null field with the same offset length between the structural position and the offset target position of each packet segment, and update the time frame index and time slot index of all packets to obtain the delay compensation dataset.

[0041] Furthermore, based on the delay compensation dataset and monitoring service groups, data is mapped to the first and second data queues of the EPON uplink channel, respectively, to obtain queue mapping data, including:

[0042] Based on the delay compensation dataset, extract the time frame number, time slot number, and service identifier of each packet segment, arrange them in time frame order, and construct a control queue pre-mapping table;

[0043] Based on the monitoring service grouping, extract the time frame number, time slot number and monitoring service identifier of each monitoring service data packet, arrange them in time frame order, and construct a monitoring queue pre-mapping table;

[0044] Based on the control queue pre-mapping table and the monitoring queue pre-mapping table, control service data packets are mapped to the first data queue of the EPON uplink channel, and monitoring service data packets are mapped to the second data queue of the EPON uplink channel, thus obtaining the initial queue mapping structure.

[0045] Based on the initial queue mapping structure, each data packet is labeled with its queue index number, channel number, and time frame number in its respective data queue, and queue mapping data is constructed.

[0046] Secondly, a multi-service bearer-type distribution network automation communication system based on EPON, the system comprising:

[0047] The feature module is used to acquire control business data and monitoring business data, group them according to business category and data packet arrival time, and count the data packet size and time interval within each group to obtain the grouped feature dataset;

[0048] The occupancy module is used to calculate the bandwidth occupancy rate of each group in the EPON frame structure based on the group feature dataset, and obtain the frame occupancy interference index.

[0049] The segmentation module is used to sort the group feature dataset according to the frame occupancy interference index, select the top-ranked groups that belong to the control service category, and perform packet length pruning and packet segment rearrangement to obtain the control segment dataset.

[0050] The coverage module is used to detect the position distribution of each packet segment in the EPON frame time slot based on the control segment dataset, calculate the frame time slot coverage of the control segment dataset for the monitored service packets, and obtain the cross-service coverage coefficient.

[0051] The compensation module is used to adjust the time slot distribution of the control segment dataset according to the cross-service coverage coefficient, and insert a delay compensation field at the adjusted position to obtain the delay compensation dataset.

[0052] The mapping module is used to map the delay compensation dataset and monitoring service groups to the first and second data queues of the EPON uplink channel, respectively, to obtain queue mapping data.

[0053] The transmission module is used to prioritize the first data queue to complete the transmission based on the queue mapping data, and then schedule the second data queue to complete the transmission, thereby generating a multi-queue transmission stream.

[0054] The above-described solution of the present invention has at least the following beneficial effects:

[0055] This invention groups data packets by service category and arrival time, thereby accurately labeling each data packet with a category and statistically analyzing the size and time interval of each group. This effectively distinguishes high-priority control data from low-priority monitoring data, enabling subsequent scheduling to allocate priorities reasonably based on real-time data flow. Control data is prioritized for transmission, ensuring that the timeliness of control signal transmission is not affected under high load conditions, thus guaranteeing the safety and real-time performance of power grid operation.

[0056] This invention, through the calculation of group feature datasets and the generation of frame occupancy interference index, can provide a detailed assessment of the bandwidth occupancy of each group of data packets. It can comprehensively consider data such as the size of each group, the time interval between packets, and the continuous occupancy time slots of each group to calculate the bandwidth occupancy rate, providing an accurate bandwidth demand assessment for each service traffic, effectively reducing resource waste in the bandwidth allocation process, improving the efficiency of bandwidth resource utilization, and ensuring that critical control services can obtain the required bandwidth first, avoiding delays or packet loss caused by insufficient bandwidth.

[0057] This invention sorts the packet feature dataset by frame occupancy interference index, selects the top-ranked packets that belong to the control service category, and performs packet length pruning and packet segment rearrangement on them. This effectively reduces network congestion and transmission delays that may be caused by excessively long data packets, occupies time slots more compactly, reduces unnecessary idle time, and optimizes the use of time slots in the overall transmission process, thereby improving the efficiency of data transmission. It ensures that time slots can be reasonably allocated under high load, and guarantees that the real-time requirements of critical control services are met.

[0058] This invention, through the calculation of cross-service coverage coefficients, can detect the overlap between control service data and monitoring service data in frame time slots and adjust the time slot distribution of data packets accordingly. When the system detects a high degree of overlap between control service data and monitoring service data, it can take measures to adjust the time slot positions of data packets to avoid time slot conflicts, minimize the delay or loss of control service data, and ensure that the power grid automation system can efficiently and without interference transmit control and monitoring data under high-concurrency data transmission conditions.

[0059] This invention dynamically adjusts the time slot distribution of the control segment dataset by cross-service coverage coefficient. By inserting a delay compensation field, it can offset the position of data packets, enabling data packets to be transmitted in sequence and in a timely manner within the time slots. This effectively ensures that the system can still guarantee the timely transmission of critical control commands under high load or complex environments, and reduces faults or misoperations caused by data packet transmission delays, thereby improving the system's real-time response capability. Attached Figure Description

[0060] Figure 1 This is a flowchart of a multi-service bearer distribution network automation communication method based on EPON provided by an embodiment of the present invention. Detailed Implementation

[0061] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0062] like Figure 1 As shown, an embodiment of the present invention proposes a multi-service bearer distribution network automation communication method based on EPON, the method comprising:

[0063] Acquire control business data and monitoring business data, group them according to business category and data packet arrival time, and count the data packet size and time interval within each group to obtain a grouped feature dataset;

[0064] Based on the grouped feature dataset, the bandwidth occupancy rate of each group in the EPON frame structure is calculated to obtain the frame occupancy interference index.

[0065] The grouped feature datasets are sorted according to the frame occupancy interference index. The groups that are ranked first and belong to the control service category are selected. The packet lengths are then truncated and the packet segments are rearranged to obtain the control segment dataset.

[0066] Based on the control segment dataset, the position distribution of each packet segment in the EPON frame time slot is detected, the frame time slot coverage of the control segment dataset for the monitored service packets is calculated, and the cross-service coverage coefficient is obtained.

[0067] The time slot distribution of the control segment dataset is adjusted according to the cross-service coverage coefficient, and a delay compensation field is inserted at the adjusted position to obtain the delay compensation dataset.

[0068] Based on the delay compensation dataset and monitoring service groups, the data is mapped to the first and second data queues of the EPON uplink channel to obtain queue mapping data.

[0069] Based on the queue mapping data, the first data queue is prioritized to complete the transmission, and then the second data queue is scheduled to complete the transmission, thus generating a multi-queue transmission stream.

[0070] In this embodiment of the invention, control service data and monitoring service data are acquired and grouped according to service category and data packet arrival time. The size and time interval of data packets within each group are statistically analyzed to obtain a group feature dataset, which effectively distinguishes different types of service data and provides basic data for bandwidth allocation and time slot scheduling. Based on the group feature dataset, the bandwidth occupancy rate of each group in the EPON frame structure is calculated to obtain the frame occupancy interference index, which accurately assesses the bandwidth requirements of each group of data and comprehensively reflects the resource occupancy of each group of data, avoiding blindness in the resource allocation process. The group feature dataset is sorted according to the frame occupancy interference index, and the groups that are at the top of the sort and belong to the control service category are selected. The packet length is then pruned and the packet segments are rearranged to obtain a control segment dataset, ensuring that control service data is scheduled first and avoiding network congestion caused by excessively long packets.

[0071] Based on the control segment dataset, the position distribution of each packet segment in the EPON frame time slots is detected. The frame time slot coverage of the control segment dataset to the monitoring service packets is calculated, and the cross-service coverage coefficient is obtained. The risk of time slot conflict between control and monitoring services is assessed in real time, providing a basis for subsequent time slot adjustments. The time slot distribution of the control segment dataset is adjusted according to the cross-service coverage coefficient, and a delay compensation field is inserted at the adjusted position to obtain a delay compensation dataset. This effectively avoids packet loss or transmission delay caused by time slot conflicts, ensuring uninterrupted data transmission under high load conditions with multiple services. Based on the delay compensation dataset and the monitoring service packets, they are mapped to the first and second data queues of the EPON uplink channel, respectively, to obtain queue mapping data. This ensures that control service data is transmitted with priority, avoiding delays to control service data caused by monitoring service data under high load conditions. Based on the queue mapping data, the first data queue is scheduled first to complete the transmission, and then the second data queue is scheduled to complete the transmission, generating a multi-queue transmission stream. This ensures that control signals can be transmitted in a timely manner under any circumstances, avoiding security risks caused by delays.

[0072] Specifically, based on the queue mapping data, the first data queue is prioritized for transmission, followed by the second data queue, generating a multi-queue transmission stream, which includes:

[0073] First, based on the queue mapping data generated in the previous stage, the system extracts the data packets to be transmitted from the first data queue and the second data queue, respectively. The first data queue stores high-priority control service data, while the second data queue stores low-priority monitoring service data. Control service data typically involves power control commands with high real-time requirements, such as relay protection and loop closing commands, while monitoring service data consists of non-real-time data such as the operating status and fault monitoring of the distribution network.

[0074] The process of generating multi-queue transport streams is essentially the parallel management and scheduling of data streams with different priorities. At the start of transmission, the system prioritizes control service data in the first data queue. To ensure priority transmission of control service data, the system first sorts and prioritizes the data packets in the first data queue. This sorting is based on the arrival time, packet length, and time slot occupancy within the EPON frame, prioritizing the transmission of the most urgent data packets. Control data transmission strictly adheres to real-time requirements to avoid delays caused by resource contention. The system precisely controls the transmission order of data packets in the physical channel based on information such as the time slot number and time frame number of each data packet.

[0075] Only after successfully transmitting all control service data in the first data queue does the system begin scheduling monitoring service data in the second data queue. Since monitoring service data has relatively lower real-time requirements, it can be scheduled after the control data transmission is complete. Data packets in the second data queue are sorted according to their arrival time, packet length, and other characteristics to ensure sequential data transmission and maximize bandwidth utilization.

[0076] In a preferred embodiment of the present invention, control service data and monitoring service data are acquired, and grouped according to service category and data packet arrival time. The data packet size and time interval within each group are statistically analyzed to obtain a grouped feature dataset, including:

[0077] Based on the control business data and monitoring business data, the start timestamp and data length of each data packet are extracted to obtain the original data record set;

[0078] Based on the original data record set, a category index is built according to the business category, and the data packets are marked with the business category to obtain the marked data record set;

[0079] The marked data record set is sorted according to the arrival time of each data packet, and data packets with adjacent time intervals less than a preset interval threshold are grouped into the same group to obtain a grouped data record set;

[0080] Based on the grouped data record set, calculate the average length of each group of data packets and the average time interval between adjacent data packets to generate a grouped feature dataset.

[0081] In this embodiment of the invention, based on control service data and monitoring service data, the starting timestamp and data length of each data packet are extracted to obtain an original data record set. This ensures independent processing of different types of data, avoids confusion, and provides a data structure foundation for subsequent bandwidth allocation, priority scheduling, and time slot allocation operations. Based on the original data record set, a category index is established according to service categories, and data packets are labeled with service categories to obtain a labeled data record set. This ensures that the system can quickly identify and process data from different services. The labeled data record set is sorted according to the arrival time of each data packet, and data packets with adjacent time intervals less than a preset interval threshold are grouped into the same group to obtain a grouped data record set. This improves the consistency of data packet transmission order and facilitates subsequent bandwidth allocation, time slot arrangement, and priority scheduling. Based on the grouped data record set, the average length of each group of data packets and the average time interval between adjacent data packets are calculated to generate a grouped feature dataset. This identifies the characteristics of each group of data and determines its priority, bandwidth requirements, and time slot allocation in the network, ensuring that high-priority control services can be transmitted preferentially under limited bandwidth.

[0082] Specifically, based on the original data record set, a category index is established according to business categories, and data packets are labeled with business categories to obtain a labeled data record set, which includes:

[0083] First, based on the service category information of each data packet, the system marks the data packets. Each data packet arrives with an identifier indicating its service category, such as control or monitoring. The system reads these identifiers, classifies all data packets according to service category, and builds a category index. The system assigns a service category tag to each data packet in the original data record set. These tags are then stored along with other data packet information, such as arrival time and data packet size, forming a tagged data record set.

[0084] Specifically, the marked data record set is sorted according to the arrival time of each data packet, and data packets with adjacent time intervals less than a preset interval threshold are grouped into the same group to obtain a grouped data record set, which includes:

[0085] The system sorts the tagged data record set according to the arrival timestamp of each data packet, ensuring that all data packets are arranged in the order of their arrival in the network. After sorting, the system then groups the data packets according to a preset time interval threshold, which defines the maximum tolerable time interval between two data packets. If the arrival time interval of two data packets is less than this preset threshold, the system considers them to belong to the same group of data. This grouping process is time interval-based; that is, if the arrival time difference of adjacent data packets is small, the system will automatically group these two data packets into the same group, forming a grouped data record set.

[0086] The preset interval threshold is closely related to the data packet transmission frequency. For control service data that requires high real-time performance, a short arrival time interval between data packets is typically required. For example, control service data may involve tasks such as relay protection and real-time scheduling, which need to be processed and responded to within milliseconds. Therefore, the preset interval threshold is usually set between a few milliseconds and tens of milliseconds.

[0087] In a preferred embodiment of the present invention, the bandwidth occupancy rate of each group in the EPON frame structure is calculated based on the grouped feature dataset to obtain the frame occupancy interference index, including:

[0088] Based on the group feature dataset, the number of time slots occupied by the group and the total number of time slots within the statistical window are counted, and the bandwidth utilization rate is calculated.

[0089] Based on the group feature dataset, calculate the average packet length of all data packets within the group, and normalize it using the maximum packet length to obtain the length ratio;

[0090] Based on the arrival time of each data packet in the group, calculate its adjacent arrival interval and its mean to obtain the calculation interval fluctuation.

[0091] Based on the continuous occupancy characteristics of the group, the number of the longest continuous occupancy time slots is counted, and the sequence coherence ratio is calculated; the number of time slots between idle and occupied in the group is counted, and normalized to the boundary change ratio.

[0092] The frame occupancy interference index is obtained by fusing bandwidth utilization, length ratio, inter-packet fluctuation, sequence coherence ratio, and boundary transformation ratio.

[0093] In this embodiment of the invention, based on the group feature dataset, the number of time slots occupied by the group and the total number of time slots within the statistical window are counted to calculate the bandwidth utilization rate. This accurately quantifies the bandwidth utilization of each group in the EPON frame structure, ensuring that high-priority services can obtain sufficient bandwidth resources and avoiding delays in critical control data due to bandwidth occupation by low-priority services. Based on the group feature dataset, the average packet length of all data packets within the group is calculated and normalized to the maximum packet length to obtain the length ratio, assessing the pressure of each data packet size on system bandwidth. Based on the arrival time of each data packet in the group, the adjacent arrival interval is calculated and its average is calculated to obtain the interval fluctuation, assessing the stability of the data packet arrival sequence. Based on the continuous occupancy characteristics of the group, the number of its longest continuous occupied time slots is counted to calculate the sequence coherence ratio. The number of time slots between idle and occupied slots in the group is counted and normalized to the boundary change ratio to determine the severity of data flow changes. The bandwidth utilization rate, length ratio, packet fluctuation, sequence coherence ratio, and boundary change ratio are fused to obtain the frame occupancy interference index, comprehensively assessing the impact of each data packet on bandwidth resource utilization.

[0094] The formula for calculating the frame occupancy interference index is as follows:

[0095]

[0096] Where F is the frame occupancy interference index, and r is the bandwidth utilization rate. U represents the number of time slots occupied by this group, E represents the total number of time slots within the statistical window, and s represents the length ratio. μ L L is the average package length of this group. max Let f be the maximum packet length of the group, and f be the interval variability. Here, n is the index of the data packet, n is the total number of data packets in the group, and Δt is the index of the data packet. i Let μ be the arrival time interval between the i-th data packet and its adjacent data packet. △t Let ρ be the mean arrival time interval of adjacent data packets in this group, and ρ be the sequence coherence ratio. R is the longest consecutive time slot number within this group, and h is the boundary transformation ratio. Q represents the number of time slots between occupied and idle slots within the group, and α and β are coefficients.

[0097] The coefficient α adjusts the weighting of the bandwidth occupancy ratio. The bandwidth occupancy rate *r* represents the ratio of actual transmission bandwidth to total bandwidth within a given time slot. α controls the influence of *r*, thus regulating the relationship between bandwidth occupancy and time occupancy. Therefore, α affects the comprehensive evaluation of time and bandwidth utilization, ensuring that the frame occupancy interference index accurately reflects bandwidth utilization efficiency and system load. An α value of 1-3 effectively balances the contribution of the bandwidth occupancy ratio to the total occupancy index, avoiding deviations caused by excessively high or low coefficients.

[0098] The coefficient β adjusts the dynamic characteristics of time slots, especially the variation in time slot distribution and data transmission, mitigating the impact of fluctuations in packet length and arrival intervals during time slot allocation. β reflects the system's sensitivity to time slot adjustments under different loads, thereby improving data transmission stability and bandwidth utilization efficiency. A β value of 1.2 can balance the impact of time slot variations to some extent. If β is too large, the system may overreact to fluctuations in time slot distribution; if β is too small, the system may lack adaptability to time slot changes.

[0099] In a preferred embodiment of the present invention, the group feature dataset is sorted according to the frame occupancy interference index, the top-ranked groups that belong to the control service category are selected, and their packet lengths are pruned and their segments rearranged to obtain a control segment dataset, including:

[0100] Based on the frame occupancy interference index, all groups in the grouped feature dataset are sorted by total order according to their values ​​from high to low to obtain the index sorted list.

[0101] When a business category is a control business and its ranking is in the top preset percentage in the index sorting list, the group is added to the control candidate group set.

[0102] Based on the control candidate group set, extract the packet length information of each packet. When the packet length exceeds the preset pruning threshold, it is divided into equal parts according to a fixed byte width to obtain a pruned fragment set.

[0103] Based on the cropped fragment set, extract the data packet number and time index of each fragment, sort them by data packet number, and then rearrange them by time index to obtain the control segment dataset.

[0104] In this embodiment of the invention, based on the frame occupancy interference index, all groups in the group feature dataset are sorted in total order from high to low to obtain an index-sorted list. This quickly identifies data groups with high bandwidth consumption, large time slot requirements, and significant impact on system bandwidth. When the service category is control service and the group ranks in the top preset percentage in the index-sorted list, it is added to the control candidate group set. This ensures that high-priority control service data is selected for processing first, avoiding low-priority monitoring data from occupying critical bandwidth. Based on the control candidate group set, the packet length information of each group is extracted. When the packet length exceeds a preset pruning threshold, it is divided into equal parts with a fixed byte width to obtain a pruned fragment set. This effectively reduces the transmission delay that may occur when transmitting large data packets and avoids excessive occupation of network resources. Based on the pruned fragment set, the data packet number and time index of each fragment are extracted, sorted by data packet number, and then rearranged by time index to obtain a control segment dataset. This ensures that the split control data packets are transmitted in the correct order and at the appropriate time, avoiding decoding errors or information loss due to disordered data packet order.

[0105] Specifically, when a business category is a control business and its ranking in the index sorting list is within the top preset percentage, this group will be added to the control candidate group set, which includes:

[0106] First, all packets are sorted according to their frame occupancy interference index (FOCI), generating a ranked list. The higher the FOCI of a packet, the greater its bandwidth consumption and the higher its priority. Based on this, the system ranks the sorted packets from highest to lowest according to their FOCI to obtain a packet list. Then, the system selects packets from the top 10% based on their control service category. This top 10% ensures that high-bandwidth-consuming and important control service packets are prioritized. When a packet's service category is identified as a control service and its ranking in the sorted list is within this top 10%, the packet is added to the control candidate packet set.

[0107] Specifically, based on the control candidate group set, the packet length information of each packet is extracted. When the packet length exceeds a preset pruning threshold, it is divided into equal parts with a fixed byte width to obtain a pruned fragment set, which includes:

[0108] The system examines each data packet in the control candidate packet set and determines its length based on a preset pruning threshold. If a data packet exceeds the threshold, it is pruned by dividing each excessively long packet into equal segments of fixed byte width to ensure that the length of each pruned segment does not exceed the predetermined byte limit. For each data packet exceeding the pruning threshold, the system divides it into several segments of fixed byte width. For example, if the preset pruning threshold is 100 bytes and a data packet is 200 bytes long, the system will divide this data packet into two 100-byte segments, ensuring that the length of each segment does not exceed the threshold. After pruning, each segment retains its original packet order, but during physical transmission, these segments are treated as independent sub-data packets, and the pruned segment set forms the pruned segment set.

[0109] In a preferred embodiment of the present invention, the positional distribution of each packet segment in the EPON frame slots is detected based on the control segment dataset, and the frame slot coverage of the control segment dataset for the monitored service packets is calculated to obtain the cross-service coverage coefficient, including:

[0110] Based on the control segment dataset and monitoring service grouping, determine the number of time slots occupied by the control service and the number of time slots occupied by the monitoring service in each time frame within the statistical window, and obtain the frame occupancy statistics.

[0111] Based on the frame occupancy statistics sequence, the overlap degree of each time frame is calculated sequentially to obtain the frame-level overlap degree sequence;

[0112] Based on the frame-level overlap sequence, calculate the overlap variation amplitude of each pair of adjacent time frames, and further calculate the standard deviation of the overlap variation amplitude.

[0113] Calculate the mixed occupancy entropy value based on the proportion of time slots simultaneously occupied by control and monitoring services in all time frames;

[0114] The cross-service coverage coefficient is obtained based on frame occupancy statistics, frame-level overlap sequence, standard deviation of overlap variation, and mixed occupancy entropy value.

[0115] In this embodiment of the invention, based on the control segment dataset and the monitoring service group, the number of time slots occupied by the control service and the number of time slots occupied by the monitoring service in each time frame within the statistical window are determined to obtain frame occupancy statistics, which reflect the allocation of control service and monitoring service in time slot resources.

[0116] Based on the frame occupancy statistics sequence, the overlap degree of each time frame is calculated sequentially to obtain a frame-level overlap degree sequence. This accurately reveals the overlap between control and monitoring services in each time frame, providing a quantitative basis for subsequent time slot adjustments and cross-service coverage coefficient calculations. Based on the frame-level overlap degree sequence, the overlap variation amplitude of each pair of adjacent time frames is calculated, and the standard deviation of the overlap variation amplitude is further calculated. Based on the proportion of time slots simultaneously occupied by control and monitoring services in all time frames, a mixed occupancy entropy value is calculated to quantitatively assess the stability and mixing degree of time slot occupancy. Based on the frame occupancy statistics, frame-level overlap degree sequence, standard deviation of overlap variation amplitude, and mixed occupancy entropy value, a cross-service coverage coefficient is obtained, quantifying the interference degree between control and monitoring services and providing a basis for subsequent time slot adjustments and resource optimization.

[0117] The formula for calculating the cross-service coverage coefficient is as follows:

[0118]

[0119] Where C is the cross-service coverage coefficient, k is the index of the time frame, and T is the total number of time frames within the statistical window. This represents the number of time slots occupied by the control service in time frame k. H represents the number of time slots occupied by the detection service in time frame k. t For mixed occupancy entropy values, H mix =∑ j p j ×lgp j j is the index of the time slot, p j H represents the proportion of time slot j occupied by both control services and control traffic simultaneously. max H is the maximum entropy value. max =lg N slot N slot σ represents the total number of time slots per time frame. ΔO The standard deviation of the overlap variation within the statistical window. △O k Let ΔO be the magnitude of the change in the degree of overlap between time frame k and adjacent time frames. k =O k+1 -O k μ △O This represents the average value of the overlap variation within the statistical window. O k This represents the degree of overlap between time frame k and its adjacent time frames. γ is the adjustment coefficient.

[0120] The coefficient γ controls the weight between different tasks, ensuring that high-priority tasks are transmitted in a timely manner. Control services usually have higher real-time requirements, so a higher γ value is needed. The value of γ ranges from 0 to 1. The larger the γ value, the more bandwidth or resources are given to the higher-priority tasks.

[0121] In a preferred embodiment of the present invention, the time slot distribution of the control segment dataset is adjusted according to the cross-service coverage coefficient, and a delay compensation field is inserted at the adjusted position to obtain a delay compensation dataset, including:

[0122] The cross-service coverage coefficient is compared with a preset overlap threshold. When it exceeds the preset overlap threshold, it is determined that there is a high risk of conflict in the time slot distribution of the control segment dataset, and a distribution adjustment trigger flag is obtained.

[0123] Based on the distribution, the trigger markers are adjusted, and the packet segments that overlap with the monitoring service groups in the control segment dataset are selected. The conflict packet segment index data is constructed, and its time frame number and time slot number are recorded.

[0124] Based on the conflict packet index data, the slot number of each conflict packet is fixedly offset, and the slot number is replaced with the next free slot number with an even number in that time frame to obtain the adjusted position dataset.

[0125] Based on the adjusted location dataset, insert a null field with the same offset length between the structural position and the offset target position of each packet segment, and update the time frame index and time slot index of all packets to obtain the delay compensation dataset.

[0126] In this embodiment of the invention, the cross-service coverage coefficient is compared with a preset overlap threshold. When it exceeds the preset overlap threshold, it is determined that the time slot distribution of the control segment dataset has a high risk of conflict, and a distribution adjustment trigger mark is obtained, effectively identifying those time slots that may lead to high conflicts. Based on the distribution adjustment trigger mark, packet segments in the control segment dataset that overlap with monitoring service groups are filtered out, conflict packet segment index data is constructed, and their time frame number and time slot number are recorded to accurately identify and track those control service packet segments with time slot conflicts, providing reference data for subsequent time slot adjustments. Based on the conflict packet segment index data, the time slot of each conflict packet segment is... The slot number is fixedly offset, and the slot number is replaced with the next even-numbered idle slot number in the time frame to obtain the adjusted position dataset. This effectively avoids slot conflicts between control and monitoring services, ensuring that data packets can be transmitted in idle slots and reducing transmission delays or losses caused by overlap. Based on the adjusted position dataset, a null field with the same offset length is inserted between the structural position and the offset target position of each packet segment, and the time frame index and slot index of all packets are updated to obtain the delay compensation dataset. This ensures that the transmission order of the adjusted data packets is not disrupted, avoiding data misalignment or loss caused by slot adjustment.

[0127] Among them, a preset overlap threshold is set.

[0128] Specifically, based on the conflict packet index data, the slot number of each conflict packet is offset by a fixed value, and the slot number is replaced with the next even-numbered free slot number in that time frame, resulting in an adjusted position dataset, which includes:

[0129] The system needs to perform a fixed offset operation on the slot numbers of the conflicting packets identified by the conflicting packet index data, and migrate the conflicting packets from the current slot to a new slot location that will not cause a conflict.

[0130] First, the system iterates through the conflict segment index data to find all segments with time slot conflicts. For each conflicting segment, the system calculates the distance the segment needs to be offset. Specifically, within the same time frame, the system searches for available time slots following the current time slot and migrates the segment to these available time slots. To avoid new conflicts during the migration process, the offset operation specifically selects the next available time slot with an even number within the time frame. The system iterates through all time slots in the time frame, marking the current time slot's usage status. If a time slot is already occupied, it is skipped; if a time slot is available, it checks if the time slot has an even number. If it does, and it is the next available time slot, the system migrates the conflicting segment to that time slot and updates the segment's time slot number.

[0131] Specifically, based on the adjusted location dataset, a null field with the same offset length is inserted between the structural position and the offset target position of each packet segment, and the time frame index and time slot index of all packet segments are updated to obtain the delay compensation dataset, which includes:

[0132] First, the system determines the new timeslot number for each packet segment by adjusting the location dataset and calculates the distance between the new timeslot position of the packet segment and the offset target position. This distance is the length of the null field to be inserted. The system inserts a null field of the same length as this distance between the original structural position and the offset target timeslot position of each packet segment. The purpose of the null field is to serve as a placeholder, ensuring that the order and structural position of data packets are not disrupted due to timeslot adjustments.

[0133] For each packet segment, the system inserts null fields of the corresponding length based on the calculated offset. These null fields are exactly the same length as the time slots, ensuring no data loss or transmission errors occur during packet transmission. After inserting the null fields, the system updates the time frame index and time slot index for all packets to ensure smooth subsequent transmission scheduling according to the new time slot allocation. The updated time frame and time slot indices are then associated with the delay compensation dataset to form the delay compensation dataset.

[0134] In a preferred embodiment of the present invention, based on the delay compensation dataset and the monitoring service group, data is mapped to the first data queue and the second data queue of the EPON uplink channel, respectively, to obtain queue mapping data, including:

[0135] Based on the delay compensation dataset, extract the time frame number, time slot number, and service identifier of each packet segment, arrange them in time frame order, and construct a control queue pre-mapping table;

[0136] Based on the monitoring service grouping, extract the time frame number, time slot number and monitoring service identifier of each monitoring service data packet, arrange them in time frame order, and construct a monitoring queue pre-mapping table;

[0137] Based on the control queue pre-mapping table and the monitoring queue pre-mapping table, control service data packets are mapped to the first data queue of the EPON uplink channel, and monitoring service data packets are mapped to the second data queue of the EPON uplink channel, thus obtaining the initial queue mapping structure.

[0138] Based on the initial queue mapping structure, each data packet is labeled with its queue index number, channel number, and time frame number in its respective data queue, and queue mapping data is constructed.

[0139] In this embodiment of the invention, based on the delay compensation dataset, the time frame number, timeslot number, and service identifier of each packet segment are extracted and arranged in time frame order to construct a control queue pre-mapping table. This ensures that control service data packets are scheduled and transmitted in the correct time order. Based on the monitoring service group, the time frame number, timeslot number, and monitoring service identifier of each monitoring service data packet are extracted and arranged in time frame order to construct a monitoring queue pre-mapping table. This ensures that monitoring service data packets are transmitted in the correct order, avoiding low-priority data packets from affecting the system's real-time requirements. Based on the control queue pre-mapping table and the monitoring queue pre-mapping table, control service data packets are mapped to the first data queue of the EPON uplink channel, and monitoring service data packets are mapped to the second data queue of the EPON uplink channel, respectively, to obtain the initial queue mapping structure. This effectively manages and schedules the transmission order of control data and monitoring data, ensuring that critical control data can be transmitted first, avoiding low-priority monitoring data from occupying too much bandwidth and causing delays in control data. Based on the initial queue mapping structure, the queue index number, channel number, and time frame number of each data packet in its respective data queue are marked to construct queue mapping data, providing a precise identifier for each data packet. This enables the system to track the position of data packets in real time during data transmission, avoiding data packet loss or misalignment.

[0140] Specifically, based on the control queue pre-mapping table and the monitoring queue pre-mapping table, control service data packets are mapped to the first data queue of the EPON uplink channel, and monitoring service data packets are mapped to the second data queue of the EPON uplink channel, respectively, to obtain the initial queue mapping structure, which includes:

[0141] First, relevant information for control service data packets is extracted from the control queue pre-mapping table, including the time frame number, timeslot number, and service identifier for each packet. Based on this information, the system determines that control service data packets need to enter the first data queue of the EPON uplink channel. This is because control data has a higher priority and needs to be transmitted in the network first to ensure that real-time control tasks of the power grid are not delayed.

[0142] Next, the system extracts relevant information from the monitoring service data packets according to the monitoring queue pre-mapping table, and maps these packets to the second data queue of the EPON uplink channel based on their lower priority. Monitoring service data packets do not have the same urgency as control data, therefore they are arranged in the second data queue. The system effectively distinguishes between control and monitoring services, ensuring that control service data receives priority transmission during network transmission through priority allocation, thus preventing low-priority monitoring data from blocking control data transmission.

[0143] Specifically, based on the initial queue mapping structure, each data packet is labeled with its queue index number, channel number, and time frame number in its respective data queue, and queue mapping data is constructed, including:

[0144] The system needs to assign a queue index number, channel number, and time frame number to each data packet. The queue index number is used to identify the specific position of the data packet in its data queue, enabling the system to accurately identify the order and position of data packets during transmission. Through the queue index number, the system can efficiently schedule data packets, ensuring that the transmission order is not disrupted.

[0145] The system then assigns a channel number to each data packet. The channel number identifies the uplink channel to which the data packet belongs, ensuring that data packets from different queues are scheduled to the correct channel for transmission according to a predetermined priority order. Control data packets are assigned to priority channels, while monitoring data packets are assigned to secondary priority channels. This ensures priority transmission of critical control data and prevents other data streams from interfering with the transmission of real-time control data.

[0146] Finally, the system labels each data packet with a timeframe number. This is because in the EPON uplink channel, data packet transmission is based on the order of timeframes. Timeframe numbers ensure that data packets are transmitted in chronological order, and under high concurrency, the system can efficiently schedule the transmission of each data packet based on the timeframe number. In this step, the system checks the timestamp of each data packet and assigns it an appropriate timeframe number according to its chronological order. All this labeling information is combined into queue mapping data.

[0147] Embodiments of the present invention also provide a multi-service bearer distribution network automation communication system based on EPON, the system comprising:

[0148] The feature module is used to acquire control business data and monitoring business data, group them according to business category and data packet arrival time, and count the data packet size and time interval within each group to obtain the grouped feature dataset;

[0149] The occupancy module is used to calculate the bandwidth occupancy rate of each group in the EPON frame structure based on the group feature dataset, and obtain the frame occupancy interference index.

[0150] The segmentation module is used to sort the group feature dataset according to the frame occupancy interference index, select the top-ranked groups that belong to the control service category, and perform packet length pruning and packet segment rearrangement to obtain the control segment dataset.

[0151] The coverage module is used to detect the position distribution of each packet segment in the EPON frame time slot based on the control segment dataset, calculate the frame time slot coverage of the control segment dataset for the monitored service packets, and obtain the cross-service coverage coefficient.

[0152] The compensation module is used to adjust the time slot distribution of the control segment dataset according to the cross-service coverage coefficient, and insert a delay compensation field at the adjusted position to obtain the delay compensation dataset.

[0153] The mapping module is used to map the delay compensation dataset and monitoring service groups to the first and second data queues of the EPON uplink channel, respectively, to obtain queue mapping data.

[0154] The transmission module is used to prioritize the first data queue to complete the transmission based on the queue mapping data, and then schedule the second data queue to complete the transmission, thereby generating a multi-queue transmission stream.

[0155] It should be noted that this system is a system corresponding to the above method. All implementation methods in the above method embodiments are applicable to this embodiment and can achieve the same technical effect.

[0156] Embodiments of the present invention also provide a computing device, including: a processor and a memory storing a computer program, wherein the computer program, when executed by the processor, performs the method described above. All implementations in the above method embodiments are applicable to this embodiment and can achieve the same technical effects.

[0157] Embodiments of the present invention also provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method described above. All implementations in the above method embodiments are applicable to this embodiment and can achieve the same technical effects.

[0158] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A multi-service bearer-type distribution network automation communication method based on EPON, characterized in that, The method includes: Acquire control business data and monitoring business data, group them according to business category and data packet arrival time, and count the data packet size and time interval within each group to obtain a grouped feature dataset; Based on the grouped feature dataset, the bandwidth occupancy rate of each group in the EPON frame structure is calculated to obtain the frame occupancy interference index. The grouped feature datasets are sorted according to the frame occupancy interference index. The groups that are ranked first and belong to the control service category are selected. The packet lengths are then truncated and the packet segments are rearranged to obtain the control segment dataset. Based on the control segment dataset, the position distribution of each packet segment in the EPON frame time slot is detected, the frame time slot coverage of the control segment dataset for the monitored service packets is calculated, and the cross-service coverage coefficient is obtained. The time slot distribution of the control segment dataset is adjusted according to the cross-service coverage coefficient, and a delay compensation field is inserted at the adjusted position to obtain the delay compensation dataset. Based on the delay compensation dataset and monitoring service groups, the data is mapped to the first and second data queues of the EPON uplink channel to obtain queue mapping data. Based on the queue mapping data, the first data queue is prioritized to complete the transmission, and then the second data queue is scheduled to complete the transmission, thus generating a multi-queue transmission stream.

2. The EPON-based multi-service bearer distribution network automation communication method according to claim 1, which acquires control service data and monitoring service data, groups them according to service category and data packet arrival time, and counts the data packet size and time interval within each group to obtain a group feature dataset, including: Based on the control business data and monitoring business data, the start timestamp and data length of each data packet are extracted to obtain the original data record set; Based on the original data record set, a category index is built according to the business category, and the data packets are marked with the business category to obtain the marked data record set; The marked data record set is sorted according to the arrival time of each data packet, and data packets with adjacent time intervals less than a preset interval threshold are grouped into the same group to obtain a grouped data record set; Based on the grouped data record set, calculate the average length of each group of data packets and the average time interval between adjacent data packets to generate a grouped feature dataset.

3. The multi-service bearer distribution network automation communication method based on EPON according to claim 2, wherein the bandwidth occupancy rate of each group in the EPON frame structure is calculated according to the group characteristic dataset to obtain the frame occupancy interference index, including: Based on the group feature dataset, the number of time slots occupied by the group and the total number of time slots within the statistical window are counted, and the bandwidth utilization rate is calculated. Based on the group feature dataset, calculate the average packet length of all data packets within the group, and normalize it using the maximum packet length to obtain the length ratio; Based on the arrival time of each data packet in the group, calculate its adjacent arrival interval and its mean to obtain the calculation interval fluctuation. Based on the continuous occupancy characteristics of this group, the longest continuous occupancy time slot is counted, and the sequence coherence ratio is calculated. Count the number of time slots between idle and occupied slots in this group, and normalize them to the boundary change ratio; The frame occupancy interference index is obtained by fusing bandwidth utilization, length ratio, inter-packet fluctuation, sequence coherence ratio, and boundary transformation ratio.

4. The multi-service bearer distribution network automation communication method based on EPON according to claim 3, characterized in that, The grouped feature datasets are sorted according to the frame occupancy interference index. Groups that rank high and belong to the control service category are selected, and their packet lengths are pruned and their segments rearranged to obtain the control segment dataset, which includes: Based on the frame occupancy interference index, all groups in the grouped feature dataset are sorted by total order according to their values ​​from high to low to obtain the index sorted list. When a business category is a control business and its ranking is in the top preset percentage in the index sorting list, the group is added to the control candidate group set. Based on the control candidate group set, extract the packet length information of each packet. When the packet length exceeds the preset pruning threshold, it is divided into equal parts according to a fixed byte width to obtain a pruned fragment set. Based on the cropped fragment set, extract the data packet number and time index of each fragment, sort them by data packet number, and then rearrange them by time index to obtain the control segment dataset.

5. The multi-service bearer distribution network automation communication method based on EPON according to claim 4, characterized in that, Based on the control segment dataset, the positional distribution of each packet segment in the EPON frame slots is detected. The frame slot coverage of the control segment dataset for the monitored service packets is calculated, and the cross-service coverage coefficient is obtained, including: Based on the control segment dataset and monitoring service grouping, determine the number of time slots occupied by the control service and the number of time slots occupied by the monitoring service in each time frame within the statistical window, and obtain the frame occupancy statistics. Based on the frame occupancy statistics sequence, the overlap degree of each time frame is calculated sequentially to obtain the frame-level overlap degree sequence; Based on the frame-level overlap sequence, calculate the overlap variation amplitude of each pair of adjacent time frames, and further calculate the standard deviation of the overlap variation amplitude. Calculate the mixed occupancy entropy value based on the proportion of time slots simultaneously occupied by control and monitoring services in all time frames; The cross-service coverage coefficient is obtained based on frame occupancy statistics, frame-level overlap sequence, standard deviation of overlap variation, and mixed occupancy entropy value.

6. The multi-service bearer distribution network automation communication method based on EPON according to claim 5, characterized in that, The time slot distribution of the control segment dataset is adjusted based on the cross-service coverage coefficient, and a delay compensation field is inserted at the adjusted position to obtain the delay compensation dataset, which includes: The cross-service coverage coefficient is compared with a preset overlap threshold. When it exceeds the preset overlap threshold, it is determined that there is a high risk of conflict in the time slot distribution of the control segment dataset, and a distribution adjustment trigger flag is obtained. Based on the distribution, the trigger markers are adjusted, and the packet segments that overlap with the monitoring service groups in the control segment dataset are selected. The conflict packet segment index data is constructed, and its time frame number and time slot number are recorded. Based on the conflict packet index data, the slot number of each conflict packet is fixedly offset, and the slot number is replaced with the next free slot number with an even number in that time frame to obtain the adjusted position dataset. Based on the adjusted location dataset, insert a null field with the same offset length between the structural position and the offset target position of each packet segment, and update the time frame index and time slot index of all packets to obtain the delay compensation dataset.

7. The multi-service bearer distribution network automation communication method based on EPON according to claim 6, characterized in that, Based on the delay compensation dataset and monitoring service groups, the data is mapped to the first and second data queues of the EPON uplink channel, respectively, to obtain queue mapping data, including: Based on the delay compensation dataset, extract the time frame number, time slot number, and service identifier of each packet segment, arrange them in time frame order, and construct a control queue pre-mapping table; Based on the monitoring service grouping, extract the time frame number, time slot number and monitoring service identifier of each monitoring service data packet, arrange them in time frame order, and construct a monitoring queue pre-mapping table; Based on the control queue pre-mapping table and the monitoring queue pre-mapping table, control service data packets are mapped to the first data queue of the EPON uplink channel, and monitoring service data packets are mapped to the second data queue of the EPON uplink channel, thus obtaining the initial queue mapping structure. Based on the initial queue mapping structure, each data packet is labeled with its queue index number, channel number, and time frame number in its respective data queue, and queue mapping data is constructed.

8. A multi-service bearer distribution network automation communication system based on EPON, characterized in that, The system is used to perform the method as described in any one of claims 1 to 7, the system comprising: The feature module is used to acquire control business data and monitoring business data, group them according to business category and data packet arrival time, and count the data packet size and time interval within each group to obtain the grouped feature dataset; The occupancy module is used to calculate the bandwidth occupancy rate of each group in the EPON frame structure based on the group feature dataset, and obtain the frame occupancy interference index. The segmentation module is used to sort the group feature dataset according to the frame occupancy interference index, select the top-ranked groups that belong to the control service category, and perform packet length pruning and packet segment rearrangement to obtain the control segment dataset. The coverage module is used to detect the position distribution of each packet segment in the EPON frame time slot based on the control segment dataset, calculate the frame time slot coverage of the control segment dataset for the monitored service packets, and obtain the cross-service coverage coefficient. The compensation module is used to adjust the time slot distribution of the control segment dataset according to the cross-service coverage coefficient, and insert a delay compensation field at the adjusted position to obtain the delay compensation dataset. The mapping module is used to map the delay compensation dataset and monitoring service groups to the first and second data queues of the EPON uplink channel, respectively, to obtain queue mapping data. The transmission module is used to prioritize the first data queue to complete the transmission based on the queue mapping data, and then schedule the second data queue to complete the transmission, thereby generating a multi-queue transmission stream.

9. A computing device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program that, when executed by a processor, implements the method as described in any one of claims 1 to 7.