A dual-mode adaptive communication method, system, device, and medium

CN122908783APending Publication Date: 2026-10-13SICHUAN ZHONGDIAN AOSTAR INFORMATION TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610979768.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-02
Publication Date
2026-10-13

AI Technical Summary

Technical Problem

[0006]本发明针对现有的双模技术存在通信稳定性差、采集成功率低、信道资源利用率不足的问题,提出一种双模自适应通信方法、系统、设备及介质;基于SNR、RSSI、丢包率、信道负载四维指标构建权重决策模型,实现HPLC载波主信道优先、故障自动切无线、拥堵负载分流、延时防抖四大核心能力,提升台区用电采集通信可靠性与信道资源利用率

Benefits of technology

(1) 本发明将故障切换设为高优先级、负载分流设为低优先级,同一周期仅输出一类切换信号,避免载波信道故障与台区拥堵同时触发两套切换机制,防止终端信道混乱。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122908783A_ABST
    Figure CN122908783A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of power carrier communication control, in particular to a dual-mode adaptive communication method, system, device and medium; first, periodically collect four-dimensional original indexes of signal-to-noise ratio (SNR), received signal strength indicator (RSSI), packet loss rate and channel load, and seal the original index snapshot; calculate the comprehensive quality of the channel by using differentiated weights; set a hierarchical decision mechanism with fault switching priority higher than load distribution, generate a fault switching preparation signal, and generate a distribution preparation signal when the terminal is overloaded and the carrier is continuously congested; add a dithering delay suppression link to filter short-term instantaneous signal fluctuations, and only output effective switching instructions when the signal is continuously deteriorated; perform single-terminal fault switching or batch-terminal load distribution according to the instructions, permanently retain the carrier channel, and continuously monitor the carrier quality of the wireless running terminal in a loop, and automatically switch back to the main carrier channel when the quality meets the standard, thereby improving the reliability of power collection communication and the utilization rate of channel resources in the transformer area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power line carrier communication control technology, and more specifically, to a dual-mode adaptive communication method, system, device, and medium. Background Technology

[0002] Currently, local communication in smart meters and distribution transformer substations mainly adopts two independent communication schemes: broadband power line carrier (HPLC) and low-power wireless (HRF). Each of these two communication methods has its inherent drawbacks. Broadband power line carrier HPLC relies on low-voltage power lines for transmission, which is susceptible to the start-up and shutdown of high-power equipment in the distribution area, harmonic noise, and line impedance fluctuations, resulting in a sharp drop in signal-to-noise ratio and continuous meter reading failures. When hundreds of data acquisition terminals are connected to the distribution area, the power line bus channel competition intensifies, the channel load becomes too high, resulting in serious data conflicts and a significant increase in meter reading delay.

[0003] Low-power wireless HRF is limited by wall obstruction, electromagnetic interference, and distance attenuation. Signal attenuation is severe in long-distance scenarios, but it is not constrained by power line noise and bus load, and can be used as a supplementary link for carrier communication.

[0004] Existing dual-mode communication solutions have four major shortcomings: 1. The channel assessment has only one dimension, relying solely on RSSI and SNR to determine handover, without taking into account packet loss rate and channel load, and thus cannot distinguish between "short-term noise interference" and "long-term channel congestion". 2. The lack of master channel priority scheduling logic results in frequent and irregular switching between carrier and radio modes, violating the power grid's service specification that prioritizes power line carrier. 3. Lack of load balancing mechanism, all terminals share a single carrier channel, resulting in frequent bus collisions during peak hours; 4. Without a jitter suppression delay mechanism, instantaneous impulse noise and short-term signal fluctuations can trigger frequent channel transitions, causing service interruptions and loss of collected packets.

[0005] Existing dual-mode technology cannot simultaneously meet the needs of grid carrier priority services, multi-dimensional channel assessment, congestion load diversion, and prevention of frequent handover jitter. Summary of the Invention

[0006] This invention addresses the problems of poor communication stability, low data acquisition success rate, and insufficient channel resource utilization in existing dual-mode technologies. It proposes a dual-mode adaptive communication method, system, device, and medium. Based on four-dimensional indicators—SNR, RSSI, packet loss rate, and channel load—a weighted decision model is constructed to achieve four core capabilities: HPLC carrier main channel priority, automatic wireless switching in case of fault, congestion load diversion, and delay anti-jitter. This improves the reliability of power acquisition communication and the utilization of channel resources in power distribution areas.

[0007] The specific implementation details of this invention are as follows: A dual-mode adaptive communication method specifically includes the following steps: Step S1: Collect multi-dimensional channel indicators according to the set period to obtain a multi-dimensional indicator time series array; the multi-dimensional channel indicators include signal-to-noise ratio, received signal strength, packet loss rate, and channel real-time load; Step S2: Calculate the HPLC channel comprehensive quality score and HRF channel comprehensive quality score based on the multidimensional index time series array, the set index classification threshold, and the differential weighting coefficient; Step S3: Use the HPLC channel as the main transmission channel and the HRF channel as a backup supplementary channel. When the overall quality score of the HPLC channel is lower than the set judgment threshold, perform channel switching and diversion. Obtain the number of consecutive meter reading failures of the HPLC channel. When the HPLC channel index exceeds the standard and the number of consecutive meter readings is greater than or equal to 3, generate a fault switching preparation signal. Step S4: Monitor the number of online terminals and HPLC channel load in the real time, sort some terminals according to channel quality, and divert some terminals to the HRF channel, and output a valid switching command; Step S5: Switch the HPLC channel / HRF channel according to the valid switching command, update the terminal communication link identifier, and upload the switching log to the area concentrator.

[0008] To better implement the present invention, the specific operation of step S2 is as follows: calculate the comprehensive quality score based on the signal-to-noise ratio, the set signal-to-noise ratio weight, the received signal strength, the set received signal strength weight, the packet loss rate, the set packet loss rate weight, the channel real-time load, and the set channel real-time load weight. Among them, the packet loss rate weight of the HPLC channel comprehensive quality score is greater than the channel real-time load weight, which is greater than the signal-to-noise ratio weight, which is greater than the received signal strength weight. The weight of the received signal strength in the HRF channel comprehensive quality score is greater than the weight of the signal-to-noise ratio, which is greater than the weight of the packet loss rate, which is greater than the weight of the real-time load.

[0009] To better realize the present invention, step S3 further includes the following steps: Step S31: Use the HPLC channel as the primary transmission channel and the HRF channel as a backup supplementary channel. When the overall quality score of the HPLC channel is lower than the set judgment threshold, perform channel switching and diversion. Step S32: Obtain the number of consecutive meter reading failures in the HPLC channel. When the HPLC channel index exceeds the limit and the number of consecutive meter reading failures is greater than or equal to 3, generate a fault switching preparation signal.

[0010] To better realize the present invention, step S31 further includes the following steps: Step S311: Based on the set carrier security threshold, determine the overall quality score of the HPLC channel to judge whether the HPLC channel is qualified; Step S312: Determine whether the indicators are appropriate based on the set signal-to-noise ratio security threshold, received signal strength security threshold, packet loss rate security threshold, and channel real-time load security threshold. Step S313: If the HPLC channel is unqualified and the signal-to-noise ratio, received signal strength, packet loss rate, or channel real-time load is unqualified, then the carrier channel quality is determined to be degraded.

[0011] To better realize the present invention, step S32 further includes the following steps: Step S321: Obtain the number of consecutive meter reading failures of the HPLC channel. If the carrier channel quality deteriorates and the number of consecutive meter reading failures of the HPLC channel is greater than or equal to 3, generate a fault switching preparation signal. Step S322: If the number of consecutive meter readings by the HPLC channel is less than 3, then based on the number of online terminals in the area and the maximum carrier capacity, if the number of online terminals in the area is greater than the maximum carrier capacity and the HPLC channel load exceeds the load limit for multiple consecutive cycles, then the terminals in the area are sorted in ascending order according to the HPLC channel comprehensive quality score, and a load diversion preparation signal is generated.

[0012] To better realize the present invention, step S4 further includes the following steps: Step S41: Based on the acquired fault switching preparation signal and load shunting preparation signal, call the delay counter to count and verify whether the delay counter has reached the set delay threshold. Step S42: If the delay counter does not reach the set delay threshold, the fault handover preparation signal and the load shunting preparation signal are temporarily stored, and the multi-dimensional channel indicators are collected again in step S1. If the preparation signal is not generated in step S3, the delay counter is cleared and the handover is abandoned. Step S43: If the delay counter reaches the set delay threshold, the channel degradation is confirmed to be in a continuous stable state, and a fault switching command and a load splitting command are generated.

[0013] To better realize the present invention, step S5 further includes the following steps: Step S51: According to the obtained fault switching instruction, the single terminal fully shuts down the HPLC transceiver channel and enables the HRF wireless channel; Step S52: According to the obtained load balancing instruction list, terminals are switched to the HRF channel in batches, and high-quality link terminals are continuously locked to the HPLC channel; Step S53: Update the terminal's local working channel identifier and upload the handover log to the area concentrator.

[0014] Based on the dual-mode adaptive communication method proposed above, in order to better realize the present invention, a dual-mode adaptive communication system is further proposed to execute the dual-mode adaptive communication method mentioned above, including a channel index acquisition module, a weight decision scoring module, a hierarchical scenario determination module, a jitter delay suppression module, and a channel switching execution module. The channel index acquisition module is used to acquire multi-dimensional channel indexes according to a set period to obtain a multi-dimensional index time series array; the multi-dimensional channel indexes include signal-to-noise ratio, received signal strength, packet loss rate, and channel real-time load. The weighted decision scoring module is used to calculate the HPLC channel comprehensive quality score and the HRF channel comprehensive quality score based on the multidimensional index time series array, the set index classification threshold, and the differentiated weight coefficient. The layered scenario determination module is used to use the HPLC channel as the main transmission channel and the HRF channel as a backup supplementary channel. When the overall quality score of the HPLC channel is lower than the set determination threshold, channel switching and diversion are performed. The module also obtains the number of consecutive meter reading failures of the HPLC channel. When the HPLC channel index exceeds the standard and the number of consecutive meter readings is greater than or equal to 3, a fault switching preparation signal is generated. The jitter delay suppression module is used to monitor the number of online terminals in the station area and the HPLC channel load in real time, and to divert some terminals to the HRF channel according to the channel quality ranking, and output effective switching commands. The channel switching execution module is used to switch the HPLC channel / HRF channel according to the valid switching command, update the terminal communication link identifier, and upload the switching log to the area concentrator.

[0015] Based on the dual-mode adaptive communication method proposed above, in order to better realize the present invention, an electronic device is further proposed, including a memory and a processor; the memory stores a computer program; when the computer program is executed on the processor, the above-mentioned dual-mode adaptive communication method is implemented.

[0016] Based on the dual-mode adaptive communication method proposed above, in order to better realize the present invention, a computer-readable storage medium is further proposed, wherein computer instructions are stored on the computer-readable storage medium; when the computer instructions are executed on the above-mentioned electronic device, the above-mentioned dual-mode adaptive communication method is realized.

[0017] The present invention has the following beneficial effects: (1) In this invention, fault switching is set to high priority and load shunting is set to low priority. Only one type of switching signal is output in the same cycle to avoid the simultaneous triggering of two switching mechanisms by carrier channel faults and station congestion, thus preventing terminal channel confusion.

[0018] (2) The present invention adds a unified delay filtering link between scene determination and hardware switching. The instantaneous degradation judgment signal will not be executed directly, but must be continuously verified through multiple cycles. This establishes a logical distinction link between short-term signal fluctuations and long-term channel faults, thus eliminating frequent channel jitter from the process perspective. Attached Figure Description

[0019] Figure 1 This is a schematic flowchart of the dual-mode adaptive communication method provided by the present invention.

[0020] Figure 2 This is a schematic block diagram of the dual-mode adaptive communication system provided by the present invention.

[0021] Figure 3 This is a schematic diagram of dual-mode channel switching and back-switch provided by the present invention. Detailed Implementation

[0022] To more clearly illustrate the technical solutions of the embodiments of the present invention, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments, and therefore should not be regarded as a limitation on the scope of protection. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0023] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "set up," "connected," and "linked" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0024] Example 1: This embodiment proposes a dual-mode adaptive communication method, which specifically includes the following steps: Step S1: Collect multi-dimensional channel indicators according to the set period to obtain a multi-dimensional indicator time series array; the multi-dimensional channel indicators include signal-to-noise ratio, received signal strength, packet loss rate, and channel real-time load; Step S2: Calculate the HPLC channel comprehensive quality score and HRF channel comprehensive quality score based on the multidimensional index time series array, the set index classification threshold, and the differential weighting coefficient; The specific operation of step S2 is as follows: calculate the comprehensive quality score based on the signal-to-noise ratio, the set signal-to-noise ratio weight, the received signal strength, the set received signal strength weight, the packet loss rate, the set packet loss rate weight, the channel real-time load, and the set channel real-time load weight. Among them, the packet loss rate weight of the HPLC channel comprehensive quality score is greater than the channel real-time load weight, which is greater than the signal-to-noise ratio weight, which is greater than the received signal strength weight. The weight of the received signal strength in the HRF channel comprehensive quality score is greater than the weight of the signal-to-noise ratio, which is greater than the weight of the packet loss rate, which is greater than the weight of the real-time load.

[0025] Step S3: Use the HPLC channel as the main transmission channel and the HRF channel as a backup supplementary channel. When the overall quality score of the HPLC channel is lower than the set judgment threshold, perform channel switching and diversion. Obtain the number of consecutive meter reading failures of the HPLC channel. When the HPLC channel index exceeds the standard and the number of consecutive meter readings is greater than or equal to 3, generate a fault switching preparation signal. Step S3 specifically includes the following steps: Step S31: Use the HPLC channel as the primary transmission channel and the HRF channel as a backup supplementary channel. When the overall quality score of the HPLC channel is lower than the set judgment threshold, perform channel switching and diversion. Step S31 specifically includes the following steps: Step S311: Based on the set carrier security threshold, determine the overall quality score of the HPLC channel to judge whether the HPLC channel is qualified; Step S312: Determine whether the indicators are appropriate based on the set signal-to-noise ratio security threshold, received signal strength security threshold, packet loss rate security threshold, and channel real-time load security threshold. Step S313: If the HPLC channel is unqualified and the signal-to-noise ratio, received signal strength, packet loss rate, or channel real-time load is unqualified, then the carrier channel quality is determined to be degraded.

[0026] Step S32: Obtain the number of consecutive meter reading failures in the HPLC channel. When the HPLC channel index exceeds the limit and the number of consecutive meter reading failures is greater than or equal to 3, generate a fault switching preparation signal.

[0027] Step S32 specifically includes the following steps: Step S321: Obtain the number of consecutive meter reading failures of the HPLC channel. If the carrier channel quality deteriorates and the number of consecutive meter reading failures of the HPLC channel is greater than or equal to 3, generate a fault switching preparation signal. Step S322: If the number of consecutive meter readings by the HPLC channel is less than 3, then based on the number of online terminals in the area and the maximum carrier capacity, if the number of online terminals in the area is greater than the maximum carrier capacity and the HPLC channel load exceeds the load limit for multiple consecutive cycles, then the terminals in the area are sorted in ascending order according to the HPLC channel comprehensive quality score, and a load diversion preparation signal is generated.

[0028] Step S4: Monitor the number of online terminals and HPLC channel load in the real time, sort some terminals according to channel quality, and divert some terminals to the HRF channel, and output a valid switching command; Step S4 specifically includes the following steps: Step S41: Based on the acquired fault switching preparation signal and load shunting preparation signal, call the delay counter to count and verify whether the delay counter has reached the set delay threshold. Step S42: If the delay counter does not reach the set delay threshold, the fault handover preparation signal and the load shunting preparation signal are temporarily stored, and the multi-dimensional channel indicators are collected again in step S1. If the preparation signal is not generated in step S3, the delay counter is cleared and the handover is abandoned. Step S43: If the delay counter reaches the set delay threshold, the channel degradation is confirmed to be in a continuous stable state, and a fault switching command and a load splitting command are generated.

[0029] Step S5: Switch the HPLC channel / HRF channel according to the valid switching command, update the terminal communication link identifier, and upload the switching log to the area concentrator.

[0030] Step S5 specifically includes the following steps: Step S51: According to the obtained fault switching instruction, the single terminal fully shuts down the HPLC transceiver channel and enables the HRF wireless channel; Step S52: According to the obtained load balancing instruction list, terminals are switched to the HRF channel in batches, and high-quality link terminals are continuously locked to the HPLC channel; Step S53: Update the terminal's local working channel identifier and upload the handover log to the area concentrator.

[0031] Working principle: This embodiment constructs a weighted decision model based on four-dimensional indicators: SNR, RSSI, packet loss rate, and channel load. It realizes four core capabilities: HPLC carrier main channel priority, automatic wireless switching in case of fault, congestion load diversion, and delay anti-jitter, thereby improving the reliability of power consumption data collection and communication in the distribution area and the utilization rate of channel resources.

[0032] Example 2: This embodiment is based on the above embodiment 1, such as... Figure 1 , Figure 2 , Figure 3As shown, a specific embodiment will be described in detail.

[0033] Step S1: Real-time acquisition of four-dimensional channel indicators; The system periodically collects four raw indicators: HPLC, HRF dual-channel signal-to-noise ratio (SNR), received signal strength (RSSI), packet loss rate, and real-time channel load. Simultaneously, it collects the total number of online terminals in the current distribution area and the continuous meter reading failure count. The system outputs a standardized four-dimensional indicator time series array, the number of terminals in the distribution area, and the failure count. Step S2: Differentiated weighting for comprehensive quality scoring; Based on the four-dimensional index time series array, two differentiated weighting models are configured for the HPLC main channel and the HRF backup channel, respectively, to calculate the comprehensive quality score Q of the two channels. PLC Q RF ;

[0034] Where SNR is the signal-to-noise ratio, RSSI is the received signal strength, LossRate is the packet loss rate, and Load is the channel real-time load; W SNR For signal-to-noise ratio weights, W RSSI W represents the signal strength weight. LossRate W is the weight for packet loss rate. Load For load weights; HPLC main channel weighting rules: ; HRF channel weighting rules: ; Step S3: Determine the priority of layered scenes; Based on the combined quality score Q of the two channels output in step S2 PLC Q RF Following the dual-layer rule of fault switching priority > load balancing and HPLC main channel priority, the judgment is divided into two levels: 3.1 High Priority: Level 1 Fault Switching Decision; Synchronous verification of dual conditions: (1) Comprehensive quality score Q PLC (1) The number of consecutive meter reading failures collected by S1 synchronously is ≥3; (2) The number of consecutive meter reading failures collected by S1 synchronously is ≥3; If both conditions are met simultaneously: a fault handover preparation signal is generated, carrying the current channel degradation index and quality score; if either condition is not met: jump to 3.2 load shunting determination.

[0035] 3.2 Low priority, executed when there are no faults: Secondary load balancing and traffic distribution determination; Verify the dual congestion conditions: (1) The number of online terminals in the transformer area N > N PLCmax(2) The load on the HPLC channel collected by S1 exceeded the load limit for multiple cycles. Both conditions must be met simultaneously: Output Q based on S2 PLC Sort the terminals in the distribution area in ascending order and filter out the N with the worst quality. split =NN PLCmax Each terminal generates a load splitting preparation signal, carrying a list of terminals to be split; If the congestion conditions are not met: no preliminary signal is generated, and the process returns directly to S1 for cyclic acquisition.

[0036] Step S4: Jitter delay suppression filtering; Determine the signal buffer verification layer, connect the determination and execution, and eliminate instantaneous false switching; Based on the preparatory signal output by S3, the built-in delay counter executes the unified anti-jitter logic; 4.1 Upon receiving the preparatory signal: increment the counter by 1; verify whether the counter has reached the preset delay threshold, such as in this embodiment where 3 acquisition cycles are set; 4.2 If the counter does not reach the threshold: temporarily store the preparation signal, return to S1 to continue acquisition, S2 to re-score, and S3 to repeat the judgment; if the preparation signal is no longer output in the middle of the cycle, the counter is directly cleared to zero and the current switch is abandoned. 4.3 When the counter reaches the delay threshold: confirm that the channel degradation has reached a stable state and generate a valid handover command; if there is no preparatory signal input: the counter is permanently reset to zero and no command is output.

[0037] Step S5: Channel switching / splitting hardware execution; valid switching commands strictly follow the HPLC main channel priority rule to execute corresponding operations: 5.1 Fault Switching Command: The HPLC transceiver channel is shut down across the entire single-terminal link, and the HRF wireless channel is enabled; 5.2 Load splitting command: Terminals in the list switch to HRF in batches, and terminals with high-quality links continuously lock the HPLC main channel; after execution, update the local working channel identifier of the terminal and upload the complete switching log to the area concentrator.

[0038] Working principle: Step S1: The terminal collects HPLC data in 1-second cycles, with SNR=-3dB, RSSI=-22dBm, packet loss rate 0.25, load 82, 72 online terminals in the area, and a continuous meter reading failure count of 3; outputs the four-dimensional index array, number of terminals, and failure count to S2. Step S2: Receive the original index from S1 and substitute it into the HPLC weighting formula to calculate Q. PLC =32, below the safety threshold of 40; Q PLC Output the original metrics snapshot to S3 in sync.

[0039] Step S3: Verify Q PLCIf the count is less than 40 and the failure count is 3, the dual fault conditions are met, a fault switching preparation signal is generated, the load shunting determination is directly blocked, and the signal is sent to S4.

[0040] Step S4: Upon receiving the preparatory signal, the counter = 1; return to S1 to re-acquire, S2 to re-score, and S3 to continue judging; after outputting the fault preparatory signal for 3 consecutive cycles, the counter reaches the threshold 3, and a valid fault switching command is generated and sent to S5; if the indicator recovers in the second cycle, the counter is cleared and the switching is abandoned.

[0041] Step S5: Receive a valid fault command, close the HPLC channel, and enable HRF; update the channel identifier to wireless, upload the switching log containing full time-series data from S1 to S4, and push the channel identifier to S6; Step S6: Identify the current channel as wireless and continuously cycle through S1 acquisition; after 3 consecutive acquisition cycles, HPLC SNR = 6dB, packet loss 0.03, Q PLC =52 meets the standard, and the meter reading is successful 3 times in a row. Then, the switchback command is issued to S5; S5 switches back to the HPLC main channel, and the process permanently returns to S1 for cyclic acquisition.

[0042] This embodiment differs from existing methods that only use RSSI and SNR for evaluation. This embodiment adds two core power grid communication indicators, packet loss rate and channel load, and constructs a hierarchical dynamic weight decision model to distinguish between two scenarios: fault degradation and channel congestion, thus solving the problem of misjudgment and switching based on a single indicator.

[0043] In this embodiment, the carrier is permanently set as the primary transmission link, and the wireless is only used as a backup in case of failure or congestion. The carrier is automatically switched back after the channel is restored, which conforms to the construction standard of smart grid power consumption data collection with power line carrier as the core and overcomes the defect of existing dual-mode random switching without priority.

[0044] This embodiment uses a dual trigger condition of channel index exceeding the standard and three consecutive meter reading failures to avoid direct switching based on a single signal fluctuation, accurately identify real and continuous communication faults, and reduce the number of unnecessary channel switching.

[0045] This embodiment is based on a dynamic traffic splitting mechanism that considers the number of online terminals and channel load. When the area terminals are overloaded, low-quality link terminals are automatically split to wireless, which greatly reduces power line bus message conflicts and improves the overall acquisition success rate during peak hours.

[0046] This embodiment introduces a handover delay counting threshold to filter out instantaneous pulse noise and short-term load fluctuations, and only performs handover when the channel continues to deteriorate, thus completely solving the problem of packet loss and data acquisition interruption caused by short-term back-and-forth channel jumps.

[0047] This embodiment can simultaneously adapt to mixed networking of pure carrier single-mode terminals, pure wireless single-mode terminals, and dual-mode acquisition terminals. It does not require a complete hardware replacement of the network; adaptive switching can be achieved simply by upgrading the software algorithm, making it suitable for the transformation of existing power grid equipment.

[0048] The other parts of this embodiment are the same as those in Embodiment 1 above, so they will not be described again.

[0049] Example 3: Based on any one of Embodiments 1-2 above, this embodiment proposes a dual-mode adaptive communication system for executing the above dual-mode adaptive communication method, including a channel index acquisition module, a weight decision scoring module, a hierarchical scenario determination module, a jitter delay suppression module, and a channel switching execution module; The channel index acquisition module is used to acquire multi-dimensional channel indexes according to a set period to obtain a multi-dimensional index time series array; the multi-dimensional channel indexes include signal-to-noise ratio, received signal strength, packet loss rate, and channel real-time load. The weighted decision scoring module is used to calculate the HPLC channel comprehensive quality score and the HRF channel comprehensive quality score based on the multidimensional index time series array, the set index classification threshold, and the differentiated weight coefficient. The layered scenario determination module is used to use the HPLC channel as the main transmission channel and the HRF channel as a backup supplementary channel. When the overall quality score of the HPLC channel is lower than the set determination threshold, channel switching and diversion are performed. The module also obtains the number of consecutive meter reading failures of the HPLC channel. When the HPLC channel index exceeds the standard and the number of consecutive meter readings is greater than or equal to 3, a fault switching preparation signal is generated. The jitter delay suppression module is used to monitor the number of online terminals in the station area and the HPLC channel load in real time, and to divert some terminals to the HRF channel according to the channel quality ranking, and output effective switching commands. The channel switching execution module is used to switch the HPLC channel / HRF channel according to the valid switching command, update the terminal communication link identifier, and upload the switching log to the area concentrator.

[0050] This embodiment also proposes an electronic device, including a memory and a processor; the memory stores a computer program; when the computer program is executed on the processor, it implements the above-described dual-mode adaptive communication method.

[0051] This embodiment also proposes a computer-readable storage medium storing computer instructions; when the computer instructions are executed on the aforementioned electronic device, the aforementioned dual-mode adaptive communication method is implemented.

[0052] The other parts of this embodiment are the same as any one of the above embodiments 1-2, so they will not be described again.

[0053] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Any simple modifications or equivalent changes made to the above embodiments based on the technical essence of the present invention shall fall within the protection scope of the present invention.

Claims

1. A dual-mode adaptive communication method, characterized in that, Specifically, the following steps are included: Step S1: Collect multi-dimensional channel indicators according to the set period to obtain a multi-dimensional indicator time series array; the multi-dimensional channel indicators include signal-to-noise ratio, received signal strength, packet loss rate, and channel real-time load; Step S2: Calculate the HPLC channel comprehensive quality score and HRF channel comprehensive quality score based on the multidimensional index time series array, the set index classification threshold, and the differential weighting coefficient; Step S3: Use the HPLC channel as the main transmission channel and the HRF channel as a backup supplementary channel. When the overall quality score of the HPLC channel is lower than the set judgment threshold, perform channel switching and diversion. Obtain the number of consecutive meter reading failures of the HPLC channel. When the HPLC channel index exceeds the standard and the number of consecutive meter readings is greater than or equal to 3, generate a fault switching preparation signal. Step S4: Monitor the number of online terminals and HPLC channel load in the real time, sort some terminals according to channel quality, and divert some terminals to the HRF channel, and output a valid switching command; Step S5: Switch the HPLC channel / HRF channel according to the valid switching command, update the terminal communication link identifier, and upload the switching log to the area concentrator.

2. The dual-mode adaptive communication method according to claim 1, characterized in that, The specific operation of step S2 is as follows: calculate the comprehensive quality score based on the signal-to-noise ratio, the set signal-to-noise ratio weight, the received signal strength, the set received signal strength weight, the packet loss rate, the set packet loss rate weight, the channel real-time load, and the set channel real-time load weight. Among them, the packet loss rate weight of the HPLC channel comprehensive quality score is greater than the channel real-time load weight, which is greater than the signal-to-noise ratio weight, which is greater than the received signal strength weight. The weight of the received signal strength in the HRF channel comprehensive quality score is greater than the weight of the signal-to-noise ratio, which is greater than the weight of the packet loss rate, which is greater than the weight of the real-time load.

3. The dual-mode adaptive communication method according to claim 1, characterized in that, Step S3 specifically includes the following steps: Step S31: Use the HPLC channel as the primary transmission channel and the HRF channel as a backup supplementary channel. When the overall quality score of the HPLC channel is lower than the set judgment threshold, perform channel switching and diversion. Step S32: Obtain the number of consecutive meter reading failures in the HPLC channel. When the HPLC channel index exceeds the limit and the number of consecutive meter reading failures is greater than or equal to 3, generate a fault switching preparation signal.

4. The dual-mode adaptive communication method according to claim 1, characterized in that, Step S31 specifically includes the following steps: Step S311: Based on the set carrier security threshold, determine the overall quality score of the HPLC channel to judge whether the HPLC channel is qualified; Step S312: Determine whether the indicators are appropriate based on the set signal-to-noise ratio security threshold, received signal strength security threshold, packet loss rate security threshold, and channel real-time load security threshold. Step S313: If the HPLC channel is unqualified and the signal-to-noise ratio, received signal strength, packet loss rate, or channel real-time load is unqualified, then the carrier channel quality is determined to be degraded.

5. The dual-mode adaptive communication method according to claim 1, characterized in that, Step S32 specifically includes the following steps: Step S321: Obtain the number of consecutive meter reading failures of the HPLC channel. If the carrier channel quality deteriorates and the number of consecutive meter reading failures of the HPLC channel is greater than or equal to 3, generate a fault switching preparation signal. Step S322: If the number of consecutive meter readings by the HPLC channel is less than 3, then based on the number of online terminals in the area and the maximum carrier capacity, if the number of online terminals in the area is greater than the maximum carrier capacity and the HPLC channel load exceeds the load limit for multiple consecutive cycles, then the terminals in the area are sorted in ascending order according to the HPLC channel comprehensive quality score, and a load diversion preparation signal is generated.

6. The dual-mode adaptive communication method according to claim 1, characterized in that, Step S4 specifically includes the following steps: Step S41: Based on the acquired fault switching preparation signal and load shunting preparation signal, call the delay counter to count and verify whether the delay counter has reached the set delay threshold. Step S42: If the delay counter does not reach the set delay threshold, the fault handover preparation signal and the load shunting preparation signal are temporarily stored, and the multi-dimensional channel indicators are collected again in step S1. If the preparation signal is not generated in step S3, the delay counter is cleared and the handover is abandoned. Step S43: If the delay counter reaches the set delay threshold, the channel degradation is confirmed to be in a continuous stable state, and a fault switching command and a load splitting command are generated.

7. The dual-mode adaptive communication method according to claim 1, characterized in that, Step S5 specifically includes the following steps: Step S51: According to the obtained fault switching instruction, the single terminal fully shuts down the HPLC transceiver channel and enables the HRF wireless channel; Step S52: According to the obtained load balancing instruction list, terminals are switched to the HRF channel in batches, and high-quality link terminals are continuously locked to the HPLC channel; Step S53: Update the terminal's local working channel identifier and upload the handover log to the area concentrator.

8. A dual-mode adaptive communication system for executing the dual-mode adaptive communication method as described in claim 1, characterized in that, It includes a channel indicator acquisition module, a weight decision scoring module, a hierarchical scenario determination module, a jitter delay suppression module, and a channel handover execution module; The channel index acquisition module is used to acquire multi-dimensional channel indexes according to a set period to obtain a multi-dimensional index time series array; the multi-dimensional channel indexes include signal-to-noise ratio, received signal strength, packet loss rate, and channel real-time load. The weighted decision scoring module is used to calculate the HPLC channel comprehensive quality score and the HRF channel comprehensive quality score based on the multidimensional index time series array, the set index classification threshold, and the differentiated weight coefficient. The layered scenario determination module is used to use the HPLC channel as the main transmission channel and the HRF channel as a backup supplementary channel. When the overall quality score of the HPLC channel is lower than the set determination threshold, channel switching and diversion are performed. The module also obtains the number of consecutive meter reading failures of the HPLC channel. When the HPLC channel index exceeds the standard and the number of consecutive meter readings is greater than or equal to 3, a fault switching preparation signal is generated. The jitter delay suppression module is used to monitor the number of online terminals in the station area and the HPLC channel load in real time, and to divert some terminals to the HRF channel according to the channel quality ranking, and output effective switching commands. The channel switching execution module is used to switch the HPLC channel / HRF channel according to the valid switching command, update the terminal communication link identifier, and upload the switching log to the area concentrator.

9. An electronic device, characterized in that, It includes a memory and a processor; the memory stores a computer program; when the computer program is executed on the processor, it implements a dual-mode adaptive communication method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions; when the computer instructions are executed on the electronic device as described in claim 9, they implement a dual-mode adaptive communication method as described in any one of claims 1-7.