Multi-channel data transmission method and system of prefecture-level city power grid equipment intelligent analysis system
Patent Information
- Application Number
- CN202611055559.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-16
- Publication Date
- 2026-09-25
- Estimated Expiration
- 2046-07-16
AI Technical Summary
然而,现有的主备通道切换机制多采用主通道故障后被动切换至备通道的硬切换策略,这种主通道故障之后将主通道数据传输调整为备通道传输的过程耗时久,而且切换过程中数据流中断传输,这段时间内的监测数据可能因为缓存溢出等原因导致监测数据丢失,造成市级的感知系统在线监测数据缺失
[0047]在本申请提供的地市电网设备智能分析系统的多通道数据传输方法及系统中,相对于现有主备硬切换因切换时延导致数据流中断、缓存溢出而引起的数据丢失的问题,本申请中数据接收设备获取与边缘物联设备连接的双通道中每一通道的链路质量动态调整各通道的传输权重,从而接收边缘物联设备在不同时刻根据传输权重大于预设权重的所有通道上传变电站监测数据包,然后根据各变电站监测数据包中携带的时间戳以及序号标识确定存在丢包问题的情况下进行丢包补全,得到目标数据包序列,由于在数据传输过程中可以根据各通道的链路质量动态调整各通道的传输权重而且边缘物联设备可以使用所有传输权重大于预设权重的通道并行传输变电站监测数据包,实现了不间断数据传输的基础上进行单通道和双通道并行传输方式的软切换,结合根据各变电站监测数据包内携带的时间戳以及序号标识,能够对切换过程中各通道丢失的数据进行补全,提高了目标数据包序列的完整性,从而保障了市地两级数据传输的可靠性。
Smart Images

Figure CN122578669B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data transmission technology, and in particular to a multi-channel data transmission method and system for an intelligent analysis system for municipal power grid equipment. Background Technology
[0002] With the continuous advancement of smart grid construction, transparent substations have become an important vehicle for improving the status awareness and lean management of power grid equipment. In the integrated city-local monitoring architecture of transparent substations, the monitoring data at the substation end needs to be transmitted to the city-level sensing system in real time and reliably to support business applications such as online monitoring, fault diagnosis, and intelligent inspection.
[0003] Data transmission between the city and prefecture-level cities is typically achieved using a primary / backup channel mode. However, existing primary / backup channel switching mechanisms often employ a hard switch strategy, passively switching to the backup channel after a primary channel failure. This process of adjusting the primary channel data transmission to the backup channel after a primary channel failure is time-consuming, and the data stream is interrupted during the switchover. Monitoring data during this period may be lost due to buffer overflow or other reasons, resulting in a lack of online monitoring data for the city-level sensing system. Summary of the Invention
[0004] In view of this, this application provides a multi-channel data transmission method and system for a smart analysis system of municipal power grid equipment. By dynamically adjusting the transmission weight of each channel according to the link quality of each channel, and combining the timestamp and sequence number carried in the monitoring data packets of each substation uploaded by the edge IoT device, packet loss is compensated in the event of packet loss, thereby improving the integrity of the acquired target data packet sequence.
[0005] This application provides a multi-channel data transmission method applied to a data receiving device in a smart analysis system for municipal power grid equipment. The smart analysis system for municipal power grid equipment also includes an edge IoT device communicatively connected to the data receiving device. The method includes:
[0006] Obtain the link quality of each channel in the dual-channel configuration, where the dual channels are data transmission channels connected to edge IoT devices;
[0007] The transmission weight of each channel is adjusted according to the quality of each link. Channels with a transmission weight less than or equal to a preset weight do not support data transmission.
[0008] Receive several substation monitoring data packets uploaded by edge IoT devices based on all channels with transmission weights greater than preset weights at each time.
[0009] If packet loss is detected based on the timestamps and sequence numbers carried in the monitoring data packets of each substation, a packet loss compensation strategy is executed to obtain the target data packet sequence.
[0010] In one possible embodiment, the dual channels include a first channel and a second channel. If packet loss is detected based on the timestamps and sequence numbers carried in the monitoring data packets from each substation, a packet loss completion strategy is executed to obtain the target data packet sequence, including:
[0011] The data packets from each substation monitoring data packet are rearranged based on their sequence number and timestamp to obtain the first data packet sequence for the first channel and the second data packet sequence for the second channel.
[0012] Based on the timestamps and sequence numbers carried in the monitoring data packets of each substation, it is determined that there is a packet loss problem. Data packets with the same sequence number and timestamp as the lost data packets are extracted from the second data packet sequence to complete the first data packet sequence, thus obtaining the target data packet sequence.
[0013] In one possible embodiment, the data packets from each substation monitoring data packet are rearranged based on their sequence number and timestamp to obtain a first data packet sequence corresponding to the first channel and a second data packet sequence corresponding to the second channel, including:
[0014] Based on each timestamp, the monitoring data packets of each substation at the first channel and the second channel are grouped to obtain the data packet set corresponding to each timestamp in the first data packet sequence and the data packet set corresponding to each timestamp in the second data packet sequence.
[0015] The monitoring data of each substation in the data packet set are sorted according to the serial number identifier to obtain the first data packet sequence and the second data packet sequence.
[0016] In one possible embodiment, adjusting the transmission weight of each channel based on the quality of each link includes:
[0017] Obtain the preset link quality difference threshold, the first difference between the link quality of each channel within the current statistical time period, and the second difference between the transmission delay of each channel;
[0018] Determine the weight correction coefficient corresponding to the second difference; the weight correction coefficient is negatively correlated with the second difference.
[0019] If the first difference is less than the link quality difference threshold, then the transmission weight determined for each channel in the previous statistical time period during data transmission is maintained.
[0020] If the first difference is greater than or equal to the link quality difference threshold, the transmission weight of each channel is adjusted based on the link quality and weight correction coefficient of each channel.
[0021] In one possible embodiment, the transmission weight of each channel is adjusted based on the link quality and weight correction factor of each channel, including:
[0022] Calculate the initial transmission weight of each channel based on the link quality of each channel;
[0023] The channel with the smaller transmission delay in the two channels is used as the reference channel, and the channel with the larger transmission delay is used as the channel to be adjusted.
[0024] The initial transmission weight of the channel to be adjusted is multiplied by the weight correction coefficient to obtain the candidate transmission weight of the channel to be adjusted. The value of the weight correction coefficient is greater than 0 and less than or equal to 1.
[0025] The initial transmission weights and candidate transmission weights of the reference channel are normalized to obtain the adjusted transmission weights of the reference channel and the channel to be adjusted.
[0026] In one possible embodiment, obtaining the link quality of each channel in the dual channels includes:
[0027] Obtain at least two communication quality factors for each channel within the current statistical time period. The at least two communication quality factors include at least two of the following: transmission delay, jitter, packet loss rate, and bandwidth utilization.
[0028] Each communication quality factor was normalized to obtain the corresponding index.
[0029] Based on a pre-set evaluation model, the link quality of each channel is generated according to various indicators.
[0030] In one possible embodiment, based on a preset evaluation model, the link quality of each channel is generated according to various indicators, including:
[0031] The evaluation model is invoked to map each indicator of each channel to the corresponding quality level;
[0032] The link quality of each channel is obtained by weighted fusion of the quality levels of each channel.
[0033] In one possible embodiment, the method further includes:
[0034] Perform a hash operation on the target data packet sequence to obtain the city-side verification value;
[0035] Send the target data packet sequence and the city-side check value to the preset receiver.
[0036] In one possible embodiment, the method further includes:
[0037] Receive a breakpoint resume instruction issued by a preset receiver. The breakpoint resume instruction indicates the sequence number and timestamp of the lost substation monitoring data packets in the data packet sequence received by the preset receiver.
[0038] The command to resume interrupted transmission is forwarded to the edge IoT device.
[0039] This application provides an intelligent analysis system for urban power grid equipment, including a data receiving device and an edge IoT device communicatively connected to the data receiving device. The data receiving device includes the following units:
[0040] The link quality determination unit is used to obtain the link quality of each channel in the dual channels, which are data transmission channels connected to edge IoT devices.
[0041] The transmission weight adjustment unit is used to adjust the transmission weight of each channel according to the quality of each link. Channels with transmission weights less than or equal to preset weights do not support data transmission.
[0042] The data packet receiving unit is used to receive several substation monitoring data packets uploaded by edge IoT devices based on all channels with transmission weights greater than preset weights at each time.
[0043] The packet loss completion unit is used to execute a packet loss completion strategy to obtain the target data packet sequence when a packet loss problem is determined based on the timestamp and sequence number carried in the monitoring data packets of each substation.
[0044] This application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, it implements the steps in any of the above-described multi-channel data transmission methods.
[0045] This application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the multi-channel data transmission methods described above.
[0046] This application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the above-described multi-channel data transmission methods.
[0047] In the multi-channel data transmission method and system of the intelligent analysis system for municipal power grid equipment provided in this application, compared with the existing main-backup hard switching, which suffers from data stream interruption and buffer overflow due to switching delay, the data receiving device in this application dynamically adjusts the transmission weight of each channel based on the link quality of each channel in the dual-channel connection with the edge IoT device. This allows the device to receive substation monitoring data packets uploaded by the edge IoT device at different times based on all channels with transmission weights greater than the preset weight. Then, based on the timestamps and sequence numbers carried in each substation monitoring data packet, packet loss is identified and packet completion is performed to obtain the target data packet sequence. Since the transmission weight of each channel can be dynamically adjusted based on the link quality during data transmission, and the edge IoT device can use all channels with transmission weights greater than the preset weight to transmit substation monitoring data packets in parallel, soft switching between single-channel and dual-channel parallel transmission modes is achieved on the basis of uninterrupted data transmission. Combined with the timestamps and sequence numbers carried in each substation monitoring data packet, data lost during the switching process can be completed, improving the integrity of the target data packet sequence and ensuring the reliability of data transmission at both the municipal and prefecture levels. Attached Figure Description
[0048] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0049] Figure 1 This is one of the flowcharts illustrating a multi-channel data transmission method provided in an embodiment of this application;
[0050] Figure 2 This is one of the architectural schematic diagrams of the intelligent analysis system for municipal power grid equipment provided in the embodiments of this application;
[0051] Figure 3 This is the second schematic diagram of the architecture of the intelligent analysis system for municipal power grid equipment provided in the embodiments of this application;
[0052] Figure 4 This is a second schematic flowchart of a multi-channel data transmission method provided in an embodiment of this application;
[0053] Figure 5 This is the third flowchart illustrating a multi-channel data transmission method provided in this application embodiment;
[0054] Figure 6 This is a schematic diagram of the first data packet sequence and the second data packet sequence provided in the embodiments of this application;
[0055] Figure 7 This is the fourth flowchart illustrating a multi-channel data transmission method provided in this application embodiment;
[0056] Figure 8 This is one of the functional unit block diagrams of a data receiving device provided in the embodiments of this application;
[0057] Figure 9 This is a second functional unit block diagram of a data receiving device provided in an embodiment of this application;
[0058] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0059] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0060] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.
[0061] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0062] See also Figure 1 , Figure 1 This is one of the flowcharts illustrating a multi-channel data transmission method provided in this application embodiment. The multi-channel data transmission method is applied to, for example... Figure 2The data receiving device in the intelligent analysis system for municipal power grid equipment shown in the figure also includes an edge IoT device that is communicatively connected to the data receiving device. The data transmission channel between the data receiving device and the edge IoT device includes a first channel and a second channel. That is, the data receiving device and the edge IoT device adopt dual-channel transmission. The multi-channel data transmission method provided in this application aims to solve the packet loss problem during the channel transmission mode switching process in the dual-channel data transmission mode in the transparent substation scenario.
[0063] In a specific application scenario, a substation can be a transparent substation, deploying a precision time synchronization network compliant with the IEEE 1588V2 protocol. Currently, online monitoring data acquired by the municipal power grid equipment intelligent analysis system can be uniformly aggregated to the municipal-level intelligent analysis system through data receiving equipment. Among them, 10 types of monitoring in substations, including surge arresters, oil chromatography, batteries, main transformer oil temperature / level, core grounding, SF6, low oil pressure, switchgear temperature, and overall switchgear status, are included in the provincial unified supervision, laying the foundation for observable external conditions and imperceptible internal conditions of the substation.
[0064] like Figure 3 As shown, in some application scenarios, the intelligent analysis system for municipal power grid equipment may also include a master clock, aggregation node devices, monitoring terminals, and an intelligent analysis system. The master clock can be a dedicated power master clock server, providing a unified time reference at the nanosecond level for the entire station. Both edge IoT devices and data receiving devices receive the master clock signal sent by the master clock and synchronize their respective local clocks with the unified time reference of the entire station.
[0065] Edge IoT agents enable transparent forwarding of the master clock signal and link latency compensation, and have their own time synchronization function. They provide a unified time reference for aggregation node devices within the substation, allowing these devices to forward the time to their corresponding monitoring terminals, ensuring each terminal receives accurate system time. Aggregation node devices can include an MCU, a 2.4GHz digital transceiver, a 470MHz digital transceiver, a wide-input DC regulated power supply, an IP65 enclosure, and a high-gain omnidirectional antenna, allowing for plug-and-play operation and flexible deployment.
[0066] In this process, after the monitoring terminal collects monitoring data from the components that need to be monitored in the substation, it sends the data to the aggregation node device. The aggregation node device then forwards the monitoring data uploaded by multiple monitoring terminals to the edge IoT device. The edge IoT device then sends the data to the data receiving device through dual channels. The data receiving device can then forward the data to the intelligent analysis system. The intelligent analysis system can then perform preset analysis operations to achieve fault analysis of the substation, etc.
[0067] The multi-channel data transmission method includes, for example: Figure 1 The following steps are shown:
[0068] S101, obtain the link quality of each channel in the dual channels, which are data transmission channels connected to edge IoT devices.
[0069] In this dual-channel configuration, each channel can be either a wired or wireless channel. Higher link quality indicates stronger transmission stability, while lower link quality indicates lower transmission stability. The link quality of a channel can be determined based on a single communication quality factor or a combination of multiple communication quality factors within that channel.
[0070] In some application scenarios, step S101 can be executed at a certain frequency. For example, communication quality factors of each channel can be collected according to a fixed statistical period, and the independent link quality value of each channel can be calculated through the communication quality factors.
[0071] S102, adjust the transmission weight of each channel according to the quality of each link.
[0072] Channels with transmission weights less than or equal to preset weights do not support data transmission. The transmission weight of each channel is greater than or equal to 0. The preset weight can be a pre-configured fixed threshold; for example, a preset weight of 0 means that data transmission is only supported when the transmission weight is greater than 0. In some application scenarios, the preset weight can be flexibly configured according to business needs. For example, it can be set to A for regular monitoring services and B for emergency fault monitoring services, where A is less than B.
[0073] The above-mentioned S102 can be implemented by mapping the link quality of each channel to the corresponding transmission weight according to a pre-set mapping rule. Alternatively, the above-mentioned S102 can also be implemented by first mapping the link quality of each channel to the corresponding transmission weight according to the pre-set mapping rule, and then correcting the transmission weight of each channel according to the difference between the link quality of two channels to obtain the final transmission weight of each channel.
[0074] In this embodiment, when the transmission weight of any channel is less than or equal to the preset weight after adjustment, the edge IoT device will not send substation monitoring data packets through that channel, and the channel will temporarily suspend data transmission; the channel with a transmission weight greater than the preset weight is the currently valid transmission channel, and the edge IoT device transmits data through the currently valid transmission channel.
[0075] S103: Receive several substation monitoring data packets uploaded by the edge IoT device based on all channels with transmission weights greater than preset weights at each time.
[0076] Substation monitoring data packets are data packets generated by monitoring components in a substation. For example, they can be data packets encapsulated from real-time data collected from the components to be monitored, or data packets encapsulated from data obtained by analyzing real-time data.
[0077] For example, assuming that the transmission weights of both channels are greater than the preset weights at the current moment, the edge IoT device will send the same substation monitoring data packet to the data receiving device through the two channels respectively. That is, the data receiving device can receive the same substation monitoring data packet with the same timestamp and sequence number on the other channel.
[0078] Alternatively, assuming that at the current moment, the transmission weight of one channel is less than or equal to the preset weight, and the transmission weight of another channel is greater than the preset weight, the edge IoT device will only send the substation monitoring data packet to the data receiving device through the channel with the transmission weight greater than the preset weight. That is, the data receiving device can only receive the substation monitoring data packet through one of the channels.
[0079] In other words, during data transmission, the data receiving device of this solution may sometimes receive duplicate substation monitoring data packets with the same timestamp and sequence number on two channels, or it may only receive substation monitoring data packets on one channel when the transmission weight of the channel is low.
[0080] S104. If a packet loss problem is determined based on the timestamp and sequence number carried in the monitoring data packets of each substation, a packet loss completion strategy is executed to obtain the target data packet sequence.
[0081] The timestamp can be the timestamp of the monitoring data acquisition time carried within the data packet. In other words, substation monitoring data packets encapsulated from monitoring data acquired at the same time can carry the same timestamp. The edge IoT device can assign a unique sequence number to each substation monitoring data packet.
[0082] Packet loss issues can be identified by examining substation monitoring data packets received from one of the channels, or by examining substation monitoring data packets received from both channels.
[0083] For example, after receiving substation monitoring data packets, the data receiving device can maintain a time window and check for packet loss in one of the channels within the sliding window. This could involve checking for gaps in sequence identifiers belonging to the same timestamp received by that channel within the sliding window; if a gap is found, packet loss is confirmed. In this case, the packet loss strategy could be to extract the substation monitoring data packets with the same missing sequence identifier and timestamp as the missing data packet from the substation monitoring data packets received by the other channel, and then complete the sequence to obtain the target data packet sequence. Alternatively, if the other channel also lacks the missing sequence identifier, the packet loss completion strategy could be to send a packet loss completion command to the edge IoT device, carrying the timestamp and sequence identifier of the substation monitoring data that needs to be retransmitted.
[0084] In this embodiment, compared to the existing primary / backup hard switching problem caused by data stream interruption and buffer overflow due to switching delay, the data receiving device in this application dynamically adjusts the transmission weight of each channel by acquiring the link quality of each channel in the dual-channel connection with the edge IoT device. This allows the device to receive substation monitoring data packets uploaded by the edge IoT device at different times based on all channels with transmission weights greater than a preset weight. Then, based on the timestamps and sequence numbers carried in each substation monitoring data packet, packet loss is filled in to obtain the target data packet sequence. Since the transmission weight of each channel can be dynamically adjusted according to the link quality during data transmission, and the edge IoT device can use all channels with transmission weights greater than the preset weight to transmit substation monitoring data packets in parallel, soft switching of single-channel and dual-channel parallel transmission modes is achieved on the basis of uninterrupted data transmission. Combined with the timestamps and sequence numbers carried in each substation monitoring data packet, data lost during the switching process can be filled in, improving the integrity of the target data packet sequence and thus ensuring the reliability of data transmission at the municipal and prefecture levels.
[0085] In one possible embodiment, the above S101 may include the following steps:
[0086] First, obtain at least two communication quality factors for each channel within the current statistical time period.
[0087] The communication quality factors include at least two of the following: transmission delay, jitter, packet loss rate, and bandwidth utilization. Transmission delay can be a statistical value representing the one-way transmission time of several substation monitoring data packets from the edge IoT device to the data receiving device within a statistical time period. This statistical value may include, but is not limited to, the average, mode, and maximum value. Jitter can be the fluctuation difference between the transmission delays of multiple consecutive substation monitoring data packets within the statistical time period. Higher jitter indicates a more likely disordered arrival time sequence for the substation monitoring data packets. Packet loss rate is the ratio between the number of substation monitoring data packets lost by the channel within the statistical time period and the total number of substation monitoring data packets sent. Bandwidth utilization is the ratio of the actual transmission bandwidth used by the channel to the channel's theoretical maximum bandwidth.
[0088] In this embodiment, at least two communication quality factors for each channel can be obtained at certain time intervals. The time interval can be the same as or different from the length of the current statistical time period. That is, two adjacent current statistical time periods can overlap, or they can be exactly connected end to end, or there can be a free time period between them.
[0089] Secondly, each communication quality factor is normalized to obtain the corresponding index. Considering the different dimensions of the centralized communication quality factors, this embodiment normalizes each communication quality factor to obtain the index corresponding to each communication quality factor.
[0090] Then, based on the preset evaluation model, the link quality of each channel is generated according to each indicator. The evaluation model can be a mapping relationship between indicators and link quality, directly mapping each indicator to link quality.
[0091] For example, such as Figure 4 As shown, for each channel, the transmission delay, jitter, packet loss rate, and bandwidth utilization of each channel within the current statistical time period are first obtained. Then, normalization processing is performed, that is, the transmission delay, jitter, packet loss rate, and bandwidth utilization are normalized respectively to obtain the corresponding indicators. Then, based on the preset evaluation model, the link quality of the channel is obtained according to each indicator.
[0092] Alternatively, the evaluation model can be a mapping relationship between indicators and quality levels. Based on this, in one possible embodiment, generating the link quality of each channel based on a preset evaluation model and various indicators may include the following steps: First, calling the evaluation model to map each indicator of each channel to its corresponding quality level; then, weighted fusion of the quality levels of each channel to obtain the link quality of each channel.
[0093] In this context, the weights of the quality levels corresponding to different communication quality factors can be the same. Alternatively, in some embodiments, the weights of the quality levels corresponding to different communication quality factors can be set according to the importance of each communication quality factor. For example, the weight of the quality level corresponding to transmission delay is greater than the weight of the quality level corresponding to bandwidth utilization.
[0094] In this embodiment, by weighting and fusing the quality levels corresponding to each communication quality factor, compared to directly averaging the quality levels of each communication quality factor, this scheme can focus more on the communication quality factors that have a greater impact on data transmission, making the determined link quality more accurate.
[0095] In one possible embodiment, the above-described S102 may include, for example: Figure 5 The following steps are shown:
[0096] S201, obtain the preset link quality difference threshold, the first difference between the link quality of each channel within the current statistical time period, and the second difference between the transmission delay of each channel.
[0097] The link quality difference threshold is greater than 0. The first difference can be the absolute value of the difference between the link quality of each channel, and the second difference can be the absolute value of the difference between the transmission delay of each channel.
[0098] S202, determine the weight correction coefficient corresponding to the second difference.
[0099] The weighting adjustment coefficient is negatively correlated with the second difference. That is, the larger the second difference, the smaller the weighting adjustment coefficient.
[0100] For example, a mapping table or mapping function can be preset. The weight correction coefficient corresponding to the second difference is determined by querying this mapping table or mapping function. For instance, a preset dual-channel transmission delay difference threshold and its rate of change are obtained. The difference between the second difference and the dual-channel transmission delay difference threshold is obtained. The product of this difference and the rate of change is used as the exponent of an exponential function, the value of which is positively correlated with the exponent of the exponential function. The reciprocal of the sum of the exponential function value and a preset value is used as the weight correction coefficient.
[0101] For example, the weight correction factor is calculated. The method can be:
[0102]
[0103] in, This represents the weighting adjustment factor. This indicates the preset dual-channel transmission delay difference threshold. Indicates the preset rate of change. This represents the second difference, and the default value can be 1.
[0104] S203, if the first difference is less than the link quality difference threshold, then maintain the transmission weight determined in the previous statistical time period during the data transmission process for each channel.
[0105] In other words, when the first difference between the quality of the two-channel links is less than the preset link quality difference threshold, it means that the communication quality difference between the two channels is small, and there is no need to adjust the transmission weight. The historical transmission weights issued to the edge IoT devices in the previous statistical cycle can be directly used.
[0106] S204. If the first difference is greater than or equal to the link quality difference threshold, then the transmission weight of each channel is adjusted based on the link quality and weight correction coefficient of each channel.
[0107] For example, the initial transmission weight of each channel can be determined based on the link quality of each channel, and then the initial transmission weight of one of the channels can be corrected using a weight correction coefficient to obtain the transmission weight of each channel.
[0108] In one possible embodiment, S204 may include the following steps:
[0109] First, calculate the initial transmission weight of each channel based on the link quality of each channel. For example, by pre-establishing a correlation between link quality and transmission weight, the initial transmission weight of each channel can be determined based on this correlation. Alternatively, the initial transmission weight of each channel can be allocated proportionally based on the link quality of the two channels. For example, if the link quality of the first channel is Q and the link quality of the second channel is P, then the initial transmission weight of the first channel could be Q / (Q+P), and the initial transmission weight of the second channel could be P / (Q+P).
[0110] Secondly, the channel with the smaller transmission delay is used as the reference channel, and the channel with the larger transmission delay is used as the channel to be adjusted. For example, if the transmission delay of the first channel is less than that of the second channel, then the reference channel is the first channel, and the channel to be adjusted is the second channel.
[0111] Then, the initial transmission weight of the channel to be adjusted is multiplied by the weight correction coefficient to obtain the candidate transmission weight of the channel to be adjusted. The value of the weight correction coefficient is greater than 0 and less than or equal to 1.
[0112] The initial transmission weights and candidate transmission weights of the reference channel are then normalized to obtain the adjusted transmission weights of the reference channel and the channel to be adjusted. The sum of the two normalized transmission weights of the reference channel can be 1. For example, the adjusted transmission weight of the reference channel = initial transmission weight / (initial transmission weight + candidate transmission weight), and the adjusted transmission weight of the channel to be adjusted = candidate transmission weight / (initial transmission weight + candidate transmission weight).
[0113] In this embodiment, a damping mechanism for heterogeneous links is constructed by introducing a weight correction coefficient based on the link quality difference threshold and making it negatively correlated with the transmission delay difference between the two channels. When the physical characteristics of the two channels differ significantly, the switching threshold is automatically increased to prevent frequent switching caused by instantaneous fluctuations in link quality, thereby improving the stability of data transmission.
[0114] In one possible embodiment, as described above, the dual channels may include a first channel and a second channel, and S104 may include the following steps:
[0115] First, the data packets from each substation's monitoring data are rearranged based on their sequence number and timestamp to obtain the first data packet sequence for the first channel and the second data packet sequence for the second channel. Theoretically, if all monitoring terminals are perfectly synchronized and have the same monitoring frequency, the timestamps of the substation monitoring data packets obtained by each terminal monitoring the substation at the same time point will be identical.
[0116] For example, the substation monitoring data packets received by the dual channels are split according to the channel source, and only all the substation monitoring data packets received by the first channel are rearranged separately to generate the first data packet sequence, and only all the substation monitoring data packets received by the second channel are rearranged separately to generate the second data packet sequence.
[0117] In one possible embodiment, the method of rearranging the data packets based on the sequence number and timestamp of each substation monitoring data packet to obtain the first data packet sequence corresponding to the first channel and the second data packet sequence corresponding to the second channel can be as follows:
[0118] First, the monitoring data packets from each substation in the first and second channels are grouped according to their timestamps, resulting in the data packet set corresponding to each timestamp in the first data packet sequence and the data packet set corresponding to each timestamp in the second data packet sequence. In some scenarios, considering that the acquisition frequencies of different monitoring terminals may differ slightly or that the times of each monitoring terminal may not be fully synchronized, grouping is performed based on the whole second timestamp.
[0119] Then, the monitoring data of each substation in the data packet set are sorted according to their sequence numbers to obtain the first data packet sequence and the second data packet sequence. That is, the first data packet sequence may include a sequence corresponding to at least one data packet set, and the second data packet sequence may include a sequence corresponding to at least one data packet set.
[0120] Secondly, based on the timestamps and sequence numbers carried in the monitoring data packets of each substation, it is determined that there is a packet loss problem. Data packets with the same sequence number and timestamp as the lost data packets are extracted from the second data packet sequence to complete the first data packet sequence, thus obtaining the target data packet sequence.
[0121] The sequence number identifier of the lost data packet is determined based on existing sequence number identifiers, for example... Figure 6 As shown, in the first data packet sequence, the sequence numbers of the substation monitoring data packets corresponding to the whole-second timestamp C are 1, 2, 4, and 5, respectively, and the timestamps are T1, T2, T4, and T5 under the whole-second timestamp C. Therefore, the sequence number of the lost substation monitoring data packet is 3. The timestamp of the lost data packet can be determined based on the timestamps of the existing substation monitoring data packets before and after its sequence number. For example, the timestamp of the lost data packet in the first data packet sequence is determined based on timestamps T2 and T4. In the second data packet sequence, the sequence numbers of the substation monitoring data packets corresponding to the whole-second timestamp C are 1, 3, 4, and 5, respectively, and the timestamps are T1, T3, T4, and T5 under the whole-second timestamp C. In this embodiment, the substation monitoring data packet with whole-second timestamp C and sequence number 3 in the second data packet sequence can be directly added to the first data packet sequence to obtain the target data packet sequence.
[0122] In this embodiment, the monitoring data of each substation received by each channel is divided into sets of substation monitoring data packets collected from the same source according to the timestamp, and then the messages in the group are sorted by the sequence number identifier to achieve standardization and regularization of dual-channel messages, which facilitates the rapid identification of missing sequence numbers and the location of lost data packets, thereby improving the efficiency of packet loss identification.
[0123] In one possible embodiment, the method further includes: performing a hash operation on the target data packet sequence to obtain a local verification value; and sending the target data packet sequence and the local verification value to a preset receiver.
[0124] The data recipient can be Figure 3In intelligent analysis systems, or when other business needs exist, the preset receiver can be set according to actual requirements. For example, the preset receiver can also be the provincial-level main station server. The provincial-level main station server can output the received target data packet sequence to the provincial company's equipment and channel environment status perception system for online monitoring, display, anomaly alarms, and analysis. The MD5 hash algorithm can be used; for example, hashing the data sequence within the sliding window and using the calculated hash value as the municipal-level verification value. Specifically, the number of substation monitoring data packets within the sliding window can be determined. For each substation monitoring data packet within the sliding window (from the 1st to the 2nd), Execute: Get the first Sampling data amplitude of individual substation monitoring data packets This indicates the numerical value of the monitoring data carried in the data packet, and the result is obtained from the first... Timestamp of a substation monitoring data packet Calculate the first Sampling data amplitude of individual substation monitoring data packets With timestamp The product of. Then, all within the sliding window. Sampling data amplitude of individual substation monitoring data packets With timestamp The products are added together to obtain a cumulative sum. The MD5 hash algorithm is then used to calculate the final hash value.
[0125] For example, the hash operation can be performed using the following formula:
[0126]
[0127] in, This represents the calculated hash value. This indicates the number of substation monitoring data packets within the sliding window. Indicates the first The sampling data amplitude of a substation monitoring data packet. Indicates the first The timestamp of each substation monitoring data packet.
[0128] In this embodiment, by sending the city-side verification value to a preset receiver, the preset receiver can perform a hash operation on the received data packet and then perform a consistency check with the city-side verification value. Based on the consistency check, it can determine whether there are any lost substation monitoring data packets. If so, a breakpoint resume command is issued.
[0129] In one possible embodiment, a breakpoint resume instruction is received from a preset receiver, which indicates the sequence number and timestamp of the lost substation monitoring data packet in the data packet sequence received by the preset receiver; the breakpoint resume instruction is then forwarded to the edge IoT device.
[0130] After receiving the interruption resume command, the edge IoT device locates the substation monitoring data packet that needs to be retransmitted and sends it to the data receiving device. For example... Figure 7 As shown, when the preset receiver sends a breakpoint resume command, the data receiving device forwards the received breakpoint resume command to the edge IoT device. Then, the edge IoT device sends the substation monitoring data packet indicated by the breakpoint resume command to the data receiving device, and the data receiving device forwards the received substation monitoring data packet to the preset receiver.
[0131] In this embodiment, by resuming interrupted transmissions, the integrity of the data received by the preset receiver can be improved.
[0132] The following describes a data receiving device provided in this application. The data receiving device described below corresponds to the method of the data receiving device described above.
[0133] This application also provides a smart analysis system for municipal power grid equipment, including a data receiving device and an edge IoT device communicatively connected to the data receiving device, such as... Figure 8 As shown, the data receiving device 400 includes the following units:
[0134] The link quality determination unit 401 is used to obtain the link quality of each channel in the dual channels, which are data transmission channels connected to edge IoT devices.
[0135] The transmission weight adjustment unit 402 is used to adjust the transmission weight of each channel according to the quality of each link, wherein channels with transmission weights less than or equal to preset weights do not support data transmission.
[0136] The data packet receiving unit 403 is used to receive several substation monitoring data packets uploaded by the edge IoT device based on all channels with transmission weights greater than preset weights at each time.
[0137] The packet loss completion unit 404 is used to execute a packet loss completion strategy to obtain the target data packet sequence when a packet loss problem is determined based on the timestamp and sequence number carried in the monitoring data packets of each substation.
[0138] In one possible embodiment, the dual channels include a first channel and a second channel. When the packet loss completion unit 404 determines that a packet loss problem exists based on the timestamp and sequence number carried in the monitoring data packets of each substation, it executes a packet loss completion strategy to obtain a target data packet sequence, including:
[0139] The data packets from each substation monitoring data packet are rearranged based on their sequence number and timestamp to obtain the first data packet sequence for the first channel and the second data packet sequence for the second channel.
[0140] Based on the timestamps and sequence numbers carried in the monitoring data packets of each substation, it is determined that there is a packet loss problem. Data packets with the same sequence number and timestamp as the lost data packets are extracted from the second data packet sequence to complete the first data packet sequence, thus obtaining the target data packet sequence.
[0141] In one possible embodiment, the packet loss completion unit 404 rearranges the data packets based on the sequence number and timestamp of each substation monitoring data packet to obtain a first data packet sequence corresponding to the first channel and a second data packet sequence corresponding to the second channel, including:
[0142] Based on each timestamp, the monitoring data packets of each substation at the first channel and the second channel are grouped to obtain the data packet set corresponding to each timestamp in the first data packet sequence and the data packet set corresponding to each timestamp in the second data packet sequence.
[0143] The monitoring data of each substation in the data packet set are sorted according to the serial number identifier to obtain the first data packet sequence and the second data packet sequence.
[0144] In one possible embodiment, the transmission weight adjustment unit 402 adjusts the transmission weight of each channel according to the quality of each link, including:
[0145] Obtain the preset link quality difference threshold, the first difference between the link quality of each channel within the current statistical time period, and the second difference between the transmission delay of each channel;
[0146] Determine the weight correction coefficient corresponding to the second difference; the weight correction coefficient is negatively correlated with the second difference.
[0147] If the first difference is less than the link quality difference threshold, then the transmission weight determined for each channel in the previous statistical time period during data transmission is maintained.
[0148] If the first difference is greater than or equal to the link quality difference threshold, the transmission weight of each channel is adjusted based on the link quality and weight correction coefficient of each channel.
[0149] In one possible embodiment, the transmission weight adjustment unit 402 adjusts the transmission weight of each channel based on the link quality and weight correction coefficient of each channel, including:
[0150] Calculate the initial transmission weight of each channel based on the link quality of each channel;
[0151] The channel with the smaller transmission delay in the two channels is used as the reference channel, and the channel with the larger transmission delay is used as the channel to be adjusted.
[0152] The initial transmission weight of the channel to be adjusted is multiplied by the weight correction coefficient to obtain the candidate transmission weight of the channel to be adjusted. The value of the weight correction coefficient is greater than 0 and less than or equal to 1.
[0153] The initial transmission weights and candidate transmission weights of the reference channel are normalized to obtain the adjusted transmission weights of the reference channel and the channel to be adjusted.
[0154] In one possible embodiment, the link quality determination unit 401 acquires the link quality of each channel in the dual channels, including:
[0155] Obtain at least two communication quality factors for each channel within the current statistical time period. The at least two communication quality factors include at least two of the following: transmission delay, jitter, packet loss rate, and bandwidth utilization.
[0156] Each communication quality factor was normalized to obtain the corresponding index.
[0157] Based on a pre-set evaluation model, the link quality of each channel is generated according to various indicators.
[0158] In one possible embodiment, the link quality determination unit 401 generates the link quality of each channel based on a preset evaluation model and various indicators, including:
[0159] The evaluation model is invoked to map each indicator of each channel to the corresponding quality level;
[0160] The link quality of each channel is obtained by weighted fusion of the quality levels of each channel.
[0161] In one possible embodiment, the packet loss completion unit 404 is further configured to:
[0162] Perform a hash operation on the target data packet sequence to obtain the city-side verification value;
[0163] Send the target data packet sequence and the city-side check value to the preset receiver.
[0164] In one possible embodiment, the packet loss completion unit 404 is further configured to:
[0165] Receive a breakpoint resume instruction issued by a preset receiver. The breakpoint resume instruction indicates the sequence number and timestamp of the lost substation monitoring data packets in the data packet sequence received by the preset receiver.
[0166] The command to resume interrupted transmission is forwarded to the edge IoT device.
[0167] It is understood that since the method embodiments and the device embodiments are different presentations of the same technical concept, the content of the method embodiment section in this application should be adapted to the device embodiment section, and will not be repeated here.
[0168] In the case of using integrated units, please refer to Figure 9 , Figure 9 This is the second functional unit block diagram of a data receiving device provided in an embodiment of this application. Figure 9 In this document, the data receiving device 400 includes a processing module 412 and a communication module 411. The processing module 412 controls and manages the operation of the data receiving device 400, for example, executing steps of a link quality determination unit, a transmission weight adjustment unit, a data packet reception unit, and a packet loss compensation unit, and / or other processes using the techniques described herein. The communication module 411 is used for interaction between the data receiving device 400 and other devices. Figure 9 As shown, the data receiving device 400 may further include a storage module 413, which is used to store the program code and data of the data receiving device 400.
[0169] The processing module 412 can be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The communication module 411 can be a transceiver, RF circuitry, or a communication interface, etc. The storage module 413 can be a memory.
[0170] All relevant content for each scenario involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here. The data receiving device 400 described above can execute the above multi-channel data transmission method.
[0171] Please see Figure 10 , Figure 10This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 10 As shown, the electronic device may include a processor 510, a communications interface 520, a memory 530, and a communication bus 540, wherein the processor 510, communications interface 520, and memory 530 communicate with each other via the communication bus 540. The processor 510 can call logical instructions in the memory 530 to execute the aforementioned multi-channel data transmission method. The electronic device may be the aforementioned data receiving device.
[0172] Furthermore, the logical instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0173] This application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the multi-channel data transmission methods provided in the above embodiments.
[0174] This application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the multi-channel data transmission methods described above.
[0175] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. A semiconductor medium can be a solid-state drive.
[0176] This application also provides a computer storage medium storing a computer program for electronic data interchange, which causes a computer to perform some or all of the steps of any of the methods described in the above method embodiments, wherein the computer includes an electronic device.
[0177] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0178] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0179] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical or other forms.
[0180] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0181] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0182] If the aforementioned integrated units are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0183] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage device, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0184] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A multi-channel data transmission method, characterized in that, A data receiving device is applied in a smart analysis system for municipal power grid equipment. The smart analysis system for municipal power grid equipment also includes an edge IoT device communicatively connected to the data receiving device. The method includes: Obtain the link quality of each channel in the dual channels, wherein the dual channels are data transmission channels connected to the edge IoT device; The transmission weight of each channel is adjusted according to the quality of each link, wherein channels with a transmission weight less than or equal to a preset weight do not support data transmission; the adjustment of the transmission weight of each channel according to the quality of each link includes: obtaining a preset link quality difference threshold, a first difference between the link quality of each channel within the current statistical time period, and a second difference between the transmission delays of each channel; determining a weight correction coefficient corresponding to the second difference, wherein the weight correction coefficient is negatively correlated with the second difference; if the first difference is less than the link quality difference threshold, the transmission weight of each channel determined in the previous statistical time period during data transmission is maintained; if the first difference is greater than or equal to the link quality difference threshold, the transmission weight of each channel is adjusted based on the link quality of each channel. The transmission weights of each channel are adjusted based on the link quality and the weight correction coefficient. The adjustment of the transmission weights of each channel based on the link quality and the weight correction coefficient includes: calculating the initial transmission weight of each channel according to its link quality; using the channel with the smaller transmission delay as the reference channel and the channel with the larger transmission delay as the channel to be adjusted; multiplying the initial transmission weight of the channel to be adjusted by the weight correction coefficient to obtain a candidate transmission weight for the channel to be adjusted, wherein the weight correction coefficient is greater than 0 and less than or equal to 1; and normalizing the initial transmission weight of the reference channel and the candidate transmission weight to obtain the adjusted transmission weights of the reference channel and the channel to be adjusted. Receive several substation monitoring data packets uploaded by the edge IoT device based on all channels with transmission weights greater than the preset weight at each time moment; If a packet loss problem is identified based on the timestamp and sequence number carried in the monitoring data packets of each substation, a packet loss completion strategy is executed to obtain the target data packet sequence.
2. The method according to claim 1, characterized in that, The dual channels include a first channel and a second channel. When packet loss is detected based on the timestamps and sequence numbers carried in the monitoring data packets of each substation, a packet loss completion strategy is executed to obtain the target data packet sequence, including: The data packets of each substation monitoring data packet are rearranged based on their sequence number and timestamp to obtain the first data packet sequence corresponding to the first channel and the second data packet sequence corresponding to the second channel. Based on the timestamp and sequence number carried in the monitoring data packets of each substation, it is determined that there is a packet loss problem. Data packets with the same sequence number and timestamp as the lost data packets are extracted from the second data packet sequence to complete the first data packet sequence, thereby obtaining the target data packet sequence.
3. The method according to claim 2, characterized in that, The rearrangement process based on the sequence number and timestamp of each substation monitoring data packet yields a first data packet sequence corresponding to the first channel and a second data packet sequence corresponding to the second channel, including: Based on each timestamp, the substation monitoring data packets at the first channel and the second channel are grouped to obtain the data packet set corresponding to each timestamp in the first data packet sequence and the data packet set corresponding to each timestamp in the second data packet sequence; The monitoring data of each substation in the data packet set are sorted according to the serial number identifier to obtain the first data packet sequence and the second data packet sequence.
4. The method according to any one of claims 1 to 3, characterized in that, The process of obtaining the link quality of each channel in the dual-channel configuration includes: Obtain at least two communication quality factors for each of the channels within the current statistical time period, wherein the at least two communication quality factors include at least two of transmission delay, jitter, packet loss rate, and bandwidth utilization. Each of the aforementioned communication quality factors is normalized to obtain the corresponding index; Based on a preset evaluation model, the link quality of each channel is generated according to each of the aforementioned indicators.
5. The method according to claim 4, characterized in that, The method of generating link quality for each channel based on a preset evaluation model and according to each of the aforementioned indicators includes: The evaluation model is invoked to map each indicator of each channel to a corresponding quality level; The link quality of each channel is obtained by weighted fusion of the quality levels of each channel.
6. The method according to any one of claims 1 to 3, characterized in that, The method further includes: Perform a hash operation on the target data packet sequence to obtain the city-side verification value; The target data packet sequence and the city-side verification value are sent to the preset receiver.
7. The method according to claim 6, characterized in that, The method further includes: Receive a breakpoint resume instruction issued by the preset receiver, the breakpoint resume instruction indicating the sequence number and timestamp of the lost substation monitoring data packet in the data packet sequence received by the preset receiver; The interrupted resume instruction is forwarded to the edge IoT device.
8. A smart analysis system for municipal power grid equipment, characterized in that, It includes a data receiving device and an edge IoT device communicatively connected to the data receiving device, wherein the data receiving device includes: A link quality determination unit is used to obtain the link quality of each channel in the dual channels, wherein the dual channels are data transmission channels connected to the edge IoT device; A transmission weight adjustment unit is used to adjust the transmission weight of each channel according to the quality of each link, wherein channels with transmission weights less than or equal to a preset weight do not support data transmission; the adjustment of the transmission weight of each channel according to the quality of each link includes: obtaining a preset link quality difference threshold, a first difference between the link qualities of each channel within the current statistical time period, and a second difference between the transmission delays of each channel; determining a weight correction coefficient corresponding to the second difference, wherein the weight correction coefficient is negatively correlated with the second difference; if the first difference is less than the link quality difference threshold, then maintaining the transmission weight determined for each channel in the previous statistical time period during data transmission; if the first difference is greater than or equal to the link quality difference threshold, then based on the quality of each link, the transmission weight is adjusted accordingly. The link quality of the channel and the weight correction coefficient are used to adjust the transmission weight of each channel; wherein, adjusting the transmission weight of each channel based on the link quality of each channel and the weight correction coefficient includes: calculating the initial transmission weight of each channel according to the link quality of each channel; taking the channel with the smaller transmission delay as the reference channel and the channel with the larger transmission delay as the channel to be adjusted; multiplying the initial transmission weight of the channel to be adjusted by the weight correction coefficient to obtain the candidate transmission weight of the channel to be adjusted, wherein the value of the weight correction coefficient is greater than 0 and less than or equal to 1; normalizing the initial transmission weight of the reference channel and the candidate transmission weight to obtain the adjusted transmission weights of the reference channel and the channel to be adjusted; The data packet receiving unit is used to receive several substation monitoring data packets uploaded by the edge IoT device based on all channels with transmission weights greater than the preset weight at each time. The packet loss completion unit is used to execute a packet loss completion strategy to obtain the target data packet sequence when a packet loss problem is determined based on the timestamp and sequence number carried in the monitoring data packets of each substation.
Citation Information
Patent Citations
Channel selection method and related device
CN122027627A
Satellite ground double-link intelligent switching system for power distribution automation emergency scene
CN122227332A