PLC and RF dual-link redundant transmission and de-duplication acknowledgement method and apparatus
Patent Information
- Application Number
- CN202610710231.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-22
- Publication Date
- 2026-09-25
AI Technical Summary
[0004]本发明的主要目的是提出一种PLC和RF双链路冗余传输与去重确认方法及装置,旨在解决现有PLC/RF冗余传输方案无法兼顾资源利用率与关键业务可靠性、跨媒介报文无法精准去重以及缺乏统一确认与异常处理机制的技术问题
[0046]本发明的上述技术方案中,该PLC和RF双链路冗余传输与去重确认方法,包括以下步骤:发送端对待发送报文进行业务分类,其中,关键业务报文触发PLC与RF双链路并发发送,普通业务报文采用单链路发送或主链路发送、备链路待命;发送端为需要冗余传输的报文生成统一标识,分别封装为PLC副本和RF副本后通过对应链路发送;接收端分别接收两条链路的报文,并根据所述统一标识和预设时间窗对两条链路的报文进行跨媒介匹配;若匹配到同一业务报文时,则执行内容一致性校验;若预设时间窗内仅接收到一路报文时,则将对应报文作为有效报文处理,另一链路标记为未达,超出等待条件仍未收到另一副本则生成单路成功或异常确认信息;接收端根据双链路到达情况、内容校验结果和异常状态生成统一确认信息并返回发送端,发送端根据确认结果执行结束传输、补发、重传或链路回退。本发明解决了现有PLC/RF冗余传输方案无法兼顾资源利用率与关键业务可靠性、跨媒介报文无法精准去重以及缺乏统一确认与异常处理机制的技术问题。
Smart Images

Figure CN122824682A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart grid communication technology, and in particular to a method and apparatus for redundant transmission and deduplication confirmation of PLC and RF dual links. Background Technology
[0002] With the development of distribution automation, distributed energy access, smart metering, and remote control on the power consumption side, highly stable data interaction is required between field equipment and the master station system in power systems. This data includes control commands, measured values, alarm information, and other types of data with high requirements for timeliness and reliability. Power line communication (PLC) can reuse existing power lines, offering convenient wiring and coverage that naturally extends with the power grid topology. Radio frequency communication (RF) offers advantages such as cross-branch coverage, resistance to local line noise, and flexible access to heterogeneous terminals. The hybrid communication network formed by these two technologies has become an important development direction for smart grid communication systems.
[0003] Existing hybrid PLC / RF systems mostly employ a primary / backup link switching mechanism or only implement redundant transmission schemes that allow the same data frame to be sent in parallel by the PLC and RF. This approach has three limitations: First, it lacks differentiated adaptation for service levels. Dual transmission of full messages would excessively consume link resources and increase the processing burden on the terminal. Using only fixed primary / backup switching cannot meet the high-reliability transmission requirements of critical services. Second, it lacks a cross-media message identification mechanism. Differences in latency and error characteristics between the two links make it impossible to accurately distinguish between redundant copies of the same message and different independent messages, easily leading to duplicate uploads and inconsistent upper-layer service states. Third, it lacks unified confirmation and exception handling logic after redundant transmission. If both links return confirmations separately, it will create control redundancy and cause confusion in the sender's status judgment. If the content of the two paths is inconsistent, or if one path fails to arrive, there is no complete retransmission and backoff mechanism, making it impossible to guarantee transmission stability in complex environments. For example, the patent document with application number CN202511890256.9, which discloses a time synchronization method for a power plant monitoring system, does not solve the above problems. Therefore, in order to solve the above-mentioned technical problems, it is urgent to propose a method and device for redundant transmission and deduplication confirmation of PLC and RF dual links. Summary of the Invention
[0004] The main objective of this invention is to propose a PLC / RF dual-link redundant transmission and deduplication confirmation method and apparatus, which aims to solve the technical problems of existing PLC / RF redundant transmission schemes that cannot balance resource utilization and critical business reliability, cannot accurately deduplicate cross-media messages, and lack a unified confirmation and anomaly handling mechanism.
[0005] To achieve the above objectives, the present invention provides a method for redundant transmission and deduplication confirmation of PLC and RF dual links, wherein the method includes the following steps:
[0006] S1. The sending end classifies the messages to be sent into service categories. Among them, critical service messages trigger concurrent transmission of PLC and RF dual links, while ordinary service messages are sent using a single link or the main link is sent while the backup link is on standby.
[0007] S2. The sending end generates a unified identifier for messages that require redundant transmission, encapsulates them into PLC replicas and RF replicas respectively, and then sends them through the corresponding links.
[0008] S3. The receiving end receives the messages from the two links respectively, and performs cross-media matching on the messages from the two links according to the unified identifier and the preset time window.
[0009] If the same business message is matched, a content consistency check is performed.
[0010] If only one message is received within the preset time window, the corresponding message will be treated as a valid message, and the other link will be marked as undelivered. If the other copy is not received after the waiting condition expires, a single-path success or abnormal confirmation message will be generated.
[0011] S4. The receiving end generates unified confirmation information based on the arrival status of the dual links, the content verification result, and the abnormal status, and returns it to the sending end. The sending end performs the following actions based on the confirmation result: end transmission, retransmission, retransmission, or link rollback.
[0012] In one preferred embodiment, the unified identifier consists of one or more of the following: service sequence number, transmission timestamp, device address, and service category information.
[0013] In one preferred embodiment, the preset time window is a fixed time window or dynamically adjusted based on the historical time delay difference between the PLC and the RF.
[0014] In one preferred embodiment, if the same service message is matched in step S3, a content consistency check is performed, specifically as follows:
[0015] If the same business message is matched, a content consistency check is performed. If the check is consistent, only one valid message is submitted to the upper layer, and the other is marked as a redundant copy. If the check is inconsistent, it is marked as an abnormal message and a retransmission or retransmission is triggered.
[0016] In one preferred embodiment, if the same service message is matched in step S3, after performing the content consistency check, the method further includes: deduplication, retaining the earliest arriving link copy, or retaining a specified link copy according to a preset link priority.
[0017] One preferred embodiment of the link fallback is as follows:
[0018] The operating status of the PLC link and RF link is continuously recorded, including the number of successful receptions, the number of acknowledgment timeouts, the single-path arrival rate, the abnormal rate, and the number of retransmissions.
[0019] When any link experiences confirmation failures, frequent content anomalies, or decreased availability for multiple consecutive service cycles, it is identified as an abnormal link and enters fallback mode. In fallback mode, critical service messages maintain dual-link redundancy or prioritize transmission via normal links, while ordinary service messages are switched to single-link transmission.
[0020] Once the faulty link is restored, exit the fallback mode and resume dual-link redundant transmission.
[0021] In one preferred embodiment, the service classification in step S1 divides the messages into high priority, medium priority, and low priority.
[0022] High-priority transmissions use a dual-link system of PLC and RF to send data concurrently and perform consistency checks.
[0023] Medium priority uses the primary link for transmission and the backup link for standby, and the backup link is only activated when the primary link times out or malfunctions.
[0024] Low-priority data is transmitted via a single link.
[0025] One preferred option is that the unified confirmation information includes any one of the following: both channels are successful, one channel is successful, content is abnormal, waiting for retransmission or needs to be retransmitted.
[0026] One preferred embodiment is that the retransmission or re-transmission in step S4 specifically involves:
[0027] Critical business messages are retransmitted via dual PLC and RF links;
[0028] Regular service messages are retransmitted via a single link.
[0029] An apparatus including the aforementioned PLC and RF dual-link redundant transmission and deduplication confirmation method comprises:
[0030] Sending and receiving devices;
[0031] The transmitting device includes a service classification module, a redundancy triggering module, a unified identifier generation module, a PLC transmitting module, an RF transmitting module, and a retransmission control module.
[0032] The service classification module is used to distinguish between critical service messages and ordinary service messages;
[0033] The redundancy triggering module is used to determine whether a message is sent using dual-link redundancy or single-link transmission;
[0034] The unified identifier generation module is used to generate the same identifier for PLC copies and RF copies of the same service message;
[0035] The PLC sending module is used to send message copies via the PLC link;
[0036] The RF transmission module is used to send message copies over the RF link;
[0037] The retransmission control module is used to perform retransmission, retransmission, or link rollback based on the confirmation result returned by the receiving end.
[0038] The receiving device includes a PLC receiving module, an RF receiving module, a cross-media matching module, a deduplication module, a consistency verification module, a unified confirmation module, and an anomaly detection module.
[0039] The PLC receiving module is used to receive messages from the PLC link;
[0040] The RF receiver module is used to receive messages from the PRF link;
[0041] The cross-media matching module is used to pair packets between two links based on a unified identifier and a preset time window;
[0042] The consistency verification module is used to perform content consistency verification on two links of the same service message that are matched.
[0043] The deduplication module is used to retain only one valid message when the verification is consistent, and the rest are marked as redundant copies;
[0044] The unified confirmation module is used to generate unified confirmation information based on the arrival status of dual links, content verification results, and abnormal status, and return it to the sending end.
[0045] The anomaly detection module is used to identify abnormal states such as single-path arrival, inconsistency between two-path content, and timeout failure.
[0046] In the above technical solution of the present invention, the PLC and RF dual-link redundant transmission and deduplication confirmation method includes the following steps: the sending end classifies the messages to be sent into service categories, wherein key service messages trigger concurrent transmission of PLC and RF dual links, and ordinary service messages are sent using a single link or the main link is sent while the backup link is on standby; the sending end generates a unified identifier for the messages that require redundant transmission, encapsulates them into PLC copies and RF copies respectively, and sends them through the corresponding links; the receiving end receives the messages from the two links respectively, and performs cross-media matching of the messages from the two links according to the unified identifier and a preset time window; if the same service message is matched, a content consistency check is performed; if only one message is received within the preset time window, the corresponding message is treated as a valid message, and the other link is marked as undelivered; if the other copy is not received after the waiting condition is exceeded, a single-path success or abnormal confirmation message is generated; the receiving end generates a unified confirmation message based on the dual-link arrival status, content verification result, and abnormal status and returns it to the sending end; the sending end performs termination of transmission, retransmission, retransmission, or link rollback according to the confirmation result. This invention solves the technical problems of existing PLC / RF redundant transmission schemes, which cannot balance resource utilization and critical business reliability, cannot accurately deduplicate cross-media messages, and lack a unified confirmation and anomaly handling mechanism. Attached Figure Description
[0047] To more clearly illustrate the technical solutions in the embodiments of the present invention 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 only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0048] Figure 1 This is a schematic diagram of a PLC and RF dual-link redundant transmission and deduplication confirmation method according to an embodiment of the present invention.
[0049] The realization of the objective, functional characteristics and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0050] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. 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.
[0051] Furthermore, in this invention, descriptions involving "first," "second," etc., are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature.
[0052] Furthermore, the technical solutions of the various embodiments of the present invention can be combined with each other, but only if they are based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such combination of technical solutions does not exist and is not within the scope of protection claimed by the present invention.
[0053] See Figure 1 According to one aspect of the present invention, the present invention provides a method for redundant transmission and deduplication confirmation of PLC and RF dual links, wherein the method for redundant transmission and deduplication confirmation of PLC and RF dual links includes the following steps:
[0054] S1. The sending end classifies the messages to be sent into service categories. Among them, critical service messages trigger concurrent transmission of PLC and RF dual links, while ordinary service messages are sent using a single link or the main link is sent while the backup link is on standby.
[0055] S2. The sending end generates a unified identifier for messages that require redundant transmission, encapsulates them into PLC replicas and RF replicas respectively, and then sends them through the corresponding links.
[0056] S3. The receiving end receives the messages from the two links respectively, and performs cross-media matching on the messages from the two links according to the unified identifier and the preset time window.
[0057] If the same business message is matched, a content consistency check is performed.
[0058] If only one message is received within the preset time window, the corresponding message will be treated as a valid message, and the other link will be marked as undelivered. If the other copy is not received after the waiting condition expires, a single-path success or abnormal confirmation message will be generated.
[0059] S4. The receiving end generates unified confirmation information based on the arrival status of the dual links, the content verification result, and the abnormal status, and returns it to the sending end. The sending end performs the following actions based on the confirmation result: end transmission, retransmission, retransmission, or link rollback.
[0060] Specifically, in this embodiment, the sending end receives messages to be sent and classifies them according to their service nature. Critical service messages trigger concurrent transmission via both the PLC and RF links, while ordinary service messages are transmitted via a single link or via the primary link with the backup link on standby. The sending end generates a unified identifier for messages requiring redundant transmission and encapsulates them into PLCs. The replica and RF replica are sent through two links. The unified identifier consists of one or more of the following: service sequence number, transmission timestamp, device address, and service category information. The receiving end receives messages from both links respectively and matches the messages between the two links according to the unified identifier and a preset time window. When the messages from the two links are identified as belonging to the same service message within the preset time window, a content consistency check is performed on them. The preset time window is a fixed time window or dynamically adjusted according to the historical delay difference between the PLC and RF. If the check is consistent, only one valid message is submitted to the upper layer, and the other is marked as a redundant replica. If the check is inconsistent, it is marked as an abnormal message, and retransmission or retransmission processing is triggered. When only one message is received within the preset time window, the message is treated as a temporarily valid message, and the status of the other message is marked as undelivered. If the waiting condition is exceeded and the other replica is still not received, a single-path success or abnormal confirmation message is generated. The receiving end generates a unified confirmation message and returns it to the sending end based on the arrival status of the two links, the content verification result, and the abnormal status. Based on the confirmation result, the sending end decides whether to end the transmission, perform a retransmission, or perform a retransmission and link rollback.
[0061] Specifically, in this embodiment, if the same service message is matched in step S3, a content consistency check is performed, specifically as follows:
[0062] If the same business message is matched, a content consistency check is performed. If the check is consistent, only one valid message is submitted to the upper layer, and the other is marked as a redundant copy. If the check is inconsistent, it is marked as an abnormal message and a retransmission or retransmission is triggered.
[0063] Specifically, in this embodiment, if the same service message is matched in step S3, after performing the content consistency check, the method further includes: deduplication, retaining the earliest arriving link copy, or retaining a specified link copy according to a preset link priority.
[0064] Specifically, in this embodiment, the link fallback refers to:
[0065] The operating status of the PLC link and RF link is continuously recorded, including the number of successful receptions, the number of acknowledgment timeouts, the single-path arrival rate, the abnormal rate, and the number of retransmissions.
[0066] When any link experiences confirmation failures, frequent content anomalies, or decreased availability for multiple consecutive service cycles, it is identified as an abnormal link and enters fallback mode. In fallback mode, critical service messages maintain dual-link redundancy or prioritize transmission via normal links, while ordinary service messages are switched to single-link transmission.
[0067] Once the faulty link is restored, exit the fallback mode and resume dual-link redundant transmission.
[0068] Specifically, in this embodiment, the service classification in step S1 divides the packets into high priority, medium priority and low priority.
[0069] High-priority transmissions use a dual-link system of PLC and RF to send data concurrently and perform consistency checks.
[0070] Medium priority uses the primary link for transmission and the backup link for standby, and the backup link is only activated when the primary link times out or malfunctions.
[0071] Low-priority data is transmitted via a single link.
[0072] Specifically, in this embodiment, the unified confirmation information includes any one of the following: both channels are successful, one channel is successful, content is abnormal, waiting for retransmission or needs to be retransmitted.
[0073] Specifically, in this embodiment, the retransmission or re-transmission in step S4 includes:
[0074] Critical business messages are retransmitted via dual PLC and RF links;
[0075] Regular service messages are retransmitted via a single link.
[0076] Specifically, in this embodiment, the present invention not only realizes redundant transmission of the same message on the PLC link and the RF link, but also establishes corresponding cross-media matching, deduplication processing, unified confirmation and abnormal rollback mechanisms; through the above methods, the transmission reliability and processing consistency of critical business data can be improved without changing the existing PLC or RF basic transceiver structure.
[0077] Specifically, in this embodiment, in a normal processing mode, after receiving the service message to be sent, the sending end first classifies the message into service categories. For messages with high reliability requirements, such as control commands, alarm information, or important measurement values, the sending end triggers concurrent transmission via both the PLC and RF links. For general service messages, single-link transmission is used, or a primary link transmission with a backup link on standby is employed. For service messages requiring dual-link redundant transmission, the sending end assigns the same unified identifier to both the PLC replica and the RF replica. This unified identifier can consist of one or more of the following: service sequence number, device address, transmission timestamp, and service category. Subsequently, the sending end transmits the message via the PLC link and the RF link respectively. The RF link sends a copy of the message and records the corresponding transmission status. After receiving messages from the PLC link and the RF link, the receiving end writes them into the receiving buffer and performs cross-media matching based on a unified identifier and a preset time window. If messages arriving from two links within the preset time window are identified as belonging to the same service message, a content consistency check is performed on both. When the check results are consistent, only one valid message is submitted to the upper layer, and the other message is recorded as a redundant copy. When only one message is received within the preset time window, the message can be processed as a valid message first, and the status of the other link is recorded as not arrived. To adapt to different network conditions, the preset time window can be set to different values, such as 20 ms, 50 ms, and 100 ms, or it can be adjusted according to the historical delay difference between the PLC and RF. In this way, the receiving end can uniformly identify copies arriving from both links as the same service message, thereby avoiding duplicate uploading and duplicate processing.
[0078] Specifically, in this embodiment, in one anomaly handling method, when the receiving end receives PLC and RF copies with the same unified identifier but inconsistent payload content within the matching time window, it does not immediately submit the message to the upper layer, but marks it as an abnormal message, and the unified confirmation module returns an abnormal status. The abnormal status may include content inconsistency, single-path timeout, both paths not reached, pending retransmission, or pending retransmission. After receiving the abnormal status, the sending end can perform subsequent processing according to a preset strategy, such as retransmitting only through PLC, retransmitting only through RF, or retransmitting simultaneously through both PLC and RF links. For important control services, retransmission through both links can be prioritized. For general abnormal messages, retransmission through a single link can be prioritized to reduce link occupation. In this way, when the content of the two link copies is inconsistent, erroneous data can be prevented from directly entering the upper-layer business system, improving the consistency of critical data processing.
[0079] Specifically, in this embodiment, in a unified confirmation method, the receiving end does not return independent confirmations for PLC messages and RF messages separately. Instead, it integrates the reception results of the two links to generate unified confirmation information for the same service message. The unified confirmation information can represent different states such as both paths successful, one path successful, content abnormal, waiting for retransmission, and needing retransmission. The sending end determines whether the current message has been successfully transmitted or whether retransmission and retransmission are required based on the unified confirmation information. This reduces the control redundancy caused by separate confirmations for the two links and improves the sending end's judgment of the actual completion status of the current message. For asynchronous arrivals from the two links, a temporary reception state can be generated first, and the final confirmation result can be output after a preset time window. Through this method, dual-link redundant transmission not only achieves data-level redundancy but also achieves unified management at the control level. The hybrid PLC / RF standardization work has already provided a basic framework for dual-media collaborative communication, and adding unified confirmation control on this basis has good engineering implementation conditions.
[0080] Specifically, in this embodiment, in a link fallback mode, the system continuously records the operating status of the PLC link and the RF link. The status includes at least the number of successful receptions, the number of acknowledgment timeouts, the single-path arrival rate, the anomaly rate, and the number of retransmissions. When a link experiences acknowledgment failures, frequent content anomalies, or decreased availability in multiple consecutive service cycles, the system determines it as an abnormal link and enters fallback mode. In fallback mode, critical service messages can still maintain dual-link redundancy or prioritize transmission using the currently normal link; ordinary service messages are switched to single-link transmission. After the abnormal link recovers, the system exits fallback mode and resumes dual-link redundant transmission. The link anomaly threshold can be set in various forms, such as 3, 5, or 10 consecutive failures, or a failure rate of 20%, 40%, or 60% within a statistical window. In this way, the system can maintain communication continuity even under single-path disturbance or partial fault conditions, and re-establish the dual-link protection mechanism after the anomaly is resolved. Hybrid PLC / RF performance studies have shown that the two links have a clear complementary relationship in the actual environment, so dynamic rollback based on link status is of practical significance.
[0081] Specifically, in this embodiment, in a differentiated service implementation, the sending end divides messages into three levels—high priority, medium priority, and low priority—according to the importance of the service. High-priority messages are sent concurrently via PLC and RF dual links, and the receiving end is required to perform strict consistency checks. Medium-priority messages are sent via the main link and wait on the backup link, with the backup link being triggered only when the main link times out or its status is abnormal. Low-priority messages are sent via a single link. High-priority messages may include protection action instructions, abnormal alarms, and important measurement results; medium-priority messages may include status change reports and periodic measurement data; and low-priority messages may include general statistical information and low-real-time maintenance data. In this way, dual-link redundant resources can be prioritized for critical services, reducing the link occupancy and terminal processing burden caused by indiscriminate dual transmission of all messages. While improving coverage and availability, the hybrid PLC / RF system also needs to consider complexity and resource usage. Therefore, implementing differentiated redundancy according to service level has strong engineering rationality.
[0082] Specifically, in this embodiment, the PLC / RF dual-link redundant transmission of the present invention no longer stops at the simple level of "dual transmission of the same message," but forms a complete processing flow from redundancy triggering, unified identification, cross-media matching, deduplication, unified confirmation to anomaly rollback. Through this process, the probability of critical business messages arriving successfully through at least one link is improved, simultaneous arrival of both links will not cause upper-layer duplication processing, and timely retransmission or re-transmission can be triggered when the results of the two links are inconsistent. Even when a single link fails, the system can still maintain usable data delivery capabilities. Thus, without significantly changing the existing PLC or RF basic transceiver structure, the transmission reliability and processing consistency of critical business data in smart grids and similar scenarios can be improved, and a better balance can be achieved between reliability and resource utilization.
[0083] According to another aspect of the present invention, the present invention provides a PLC and RF dual-link redundant transmission and deduplication confirmation device, wherein the PLC and RF dual-link redundant transmission and deduplication confirmation device includes: a transmitting end device and a receiving end device;
[0084] The transmitting device includes a service classification module, a redundancy triggering module, a unified identifier generation module, a PLC transmitting module, an RF transmitting module, and a retransmission control module.
[0085] The service classification module is used to distinguish between critical service messages and ordinary service messages;
[0086] The redundancy triggering module is used to determine whether a message is sent using dual-link redundancy or single-link transmission;
[0087] The unified identifier generation module is used to generate the same identifier for PLC copies and RF copies of the same service message;
[0088] The PLC sending module is used to send message copies via the PLC link;
[0089] The RF transmission module is used to send message copies over the RF link;
[0090] The retransmission control module is used to perform retransmission, retransmission, or link rollback based on the confirmation result returned by the receiving end.
[0091] The receiving device includes a PLC receiving module, an RF receiving module, a cross-media matching module, a deduplication module, a consistency verification module, a unified confirmation module, and an anomaly detection module.
[0092] The PLC receiving module is used to receive messages from the PLC link;
[0093] The RF receiver module is used to receive messages from the PRF link;
[0094] The cross-media matching module is used to pair packets between two links based on a unified identifier and a preset time window;
[0095] The consistency verification module is used to perform content consistency verification on two links of the same service message that are matched.
[0096] The deduplication module is used to retain only one valid message when the verification is consistent, and the rest are marked as redundant copies;
[0097] The unified confirmation module is used to generate unified confirmation information based on the arrival status of dual links, content verification results, and abnormal status, and return it to the sending end.
[0098] The anomaly detection module is used to identify abnormal states such as single-path arrival, inconsistency between two-path content, and timeout failure.
[0099] Specifically, in this embodiment, by introducing a redundancy triggering mechanism oriented towards service level and link status at the sending end, the PLC / RF dual-link redundant transmission is no longer limited to fixed dual transmission of all messages, but can perform concurrent dual-link transmission for service data with high reliability requirements, while maintaining low communication overhead for ordinary service data. This not only inherits the existing advantages of PLC / RF redundant communication in improving the arrival probability of critical messages, but also helps control link resource occupation and terminal processing burden. By establishing a unified identifier for the same service message and setting up cross-media time window matching, sequence comparison, and content consistency verification mechanisms at the receiving end, message copies from both the PLC and RF links can be identified as the same service message, thereby avoiding duplicate uploading or processing of duplicate data. Compared to only verifying "simultaneous dual-link transmission", The proposed solution, which addresses the question of "feasibility," further enhances the unified identification and deduplication process for redundant copies at the receiving end, thereby improving the consistency of upper-layer business processing. By combining deduplication with a unified confirmation mechanism, the receiving end can submit only one valid message to the upper layer after receiving a redundant copy and generate an confirmation result corresponding to the dual-link reception status. This reduces control redundancy caused by separate confirmations for the two links and facilitates the sending end in differentiating between states such as "received," "partially received," "content abnormal," and "retransmission required," thus improving the confirmation logic and status management in dual-link redundant transmission. In the event of link abnormalities or inconsistent dual-link reception results, an abnormal backoff and retransmission control mechanism is introduced, enabling the system to maintain continuous data delivery capability even when one of the PLC or RF channels experiences noise bursts, coverage limitations, or latency anomalies. This mechanism can select between maintaining redundancy mode, temporarily degrading to single-link mode, or retransmitting and re-transmitting abnormal messages based on the arrival status of the two links, thereby improving the system's operational stability in complex field environments. By incorporating redundancy triggering, cross-media matching, deduplication confirmation, and anomaly rollback into the same processing flow, a more complete PLC / RF dual-link redundant transmission mechanism can be formed. This solution does not require changes to the existing PLC or RF basic transceiver structure, but rather adds control logic for high-reliability services on top of the existing hybrid communication system, thus exhibiting good compatibility and scalability. For critical services such as measurement data, control commands, and alarm information in smart grids, this solution is more conducive to balancing reliability, processing consistency, and actual deployment costs.
[0100] The above are merely preferred embodiments of the present invention and do not limit the patent scope of the present invention. All equivalent structural transformations made using the contents of the present invention's specification and drawings under the inventive concept of the present invention, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present invention.
Claims
1. A method for redundant transmission and deduplication confirmation via PLC and RF dual links, characterized in that, Includes the following steps: S1. The sending end classifies the messages to be sent into service categories. Among them, critical service messages trigger concurrent transmission of PLC and RF dual links, while ordinary service messages are sent using a single link or the main link is sent while the backup link is on standby. S2. The sending end generates a unified identifier for messages that require redundant transmission, encapsulates them into PLC replicas and RF replicas respectively, and then sends them through the corresponding links. S3. The receiving end receives the messages from the two links respectively, and performs cross-media matching on the messages from the two links according to the unified identifier and the preset time window. If the same business message is matched, a content consistency check is performed. If only one message is received within the preset time window, the corresponding message will be treated as a valid message, and the other link will be marked as undelivered. If the other copy is not received after the waiting condition expires, a single-path success or abnormal confirmation message will be generated. S4. The receiving end generates unified confirmation information based on the arrival status of the dual links, the content verification result, and the abnormal status, and returns it to the sending end. The sending end performs the following actions based on the confirmation result: end transmission, retransmission, retransmission, or link rollback.
2. The PLC and RF dual-link redundant transmission and deduplication confirmation method according to claim 1, characterized in that, The unified identifier consists of one or more of the following: service serial number, transmission timestamp, device address, and service category information.
3. The PLC and RF dual-link redundant transmission and deduplication confirmation method according to any one of claims 1-2, characterized in that, The preset time window can be a fixed time window or dynamically adjusted based on the historical time delay difference between the PLC and the RF.
4. A PLC and RF dual-link redundant transmission and deduplication confirmation method according to any one of claims 1-2, characterized in that, If the same service message is matched in step S3, a content consistency check is performed, specifically as follows: If the same business message is matched, a content consistency check is performed. If the check is consistent, only one valid message is submitted to the upper layer, and the other is marked as a redundant copy. If the verification fails, the message is marked as abnormal and a retransmission or retransmission is triggered.
5. A PLC and RF dual-link redundant transmission and deduplication confirmation method according to any one of claims 1-2, characterized in that, If the same service message is matched in step S3, after performing the content consistency check, the process further includes: deduplication, retaining the earliest arriving link copy, or retaining a specified link copy according to a preset link priority.
6. A PLC and RF dual-link redundant transmission and deduplication confirmation method according to any one of claims 1-2, characterized in that, The link fallback specifically refers to: The operating status of the PLC link and RF link is continuously recorded, including the number of successful receptions, the number of acknowledgment timeouts, the single-path arrival rate, the abnormal rate, and the number of retransmissions. When any link experiences confirmation failures, frequent content anomalies, or decreased availability for multiple consecutive service cycles, it is identified as an abnormal link and enters fallback mode. In fallback mode, critical service messages maintain dual-link redundancy or prioritize transmission via normal links, while ordinary service messages are switched to single-link transmission. Once the faulty link is restored, exit the fallback mode and resume dual-link redundant transmission.
7. A PLC and RF dual-link redundant transmission and deduplication confirmation method according to any one of claims 1-2, characterized in that, In step S1, the service classification divides the messages into high priority, medium priority, and low priority. High-priority transmissions use a dual-link system of PLC and RF to send data concurrently and perform consistency checks. Medium priority uses the primary link for transmission and the backup link for standby, and the backup link is only activated when the primary link times out or malfunctions. Low-priority data is transmitted via a single link.
8. A PLC and RF dual-link redundant transmission and deduplication confirmation method according to any one of claims 1-2, characterized in that, The unified confirmation information includes any one of the following: both channels are successful, one channel is successful, content is abnormal, waiting for retransmission or needs to be retransmitted.
9. A PLC and RF dual-link redundant transmission and deduplication confirmation method according to any one of claims 1-2, characterized in that, The retransmission or re-transmission in step S4 specifically involves: Critical business messages are retransmitted via dual PLC and RF links; Regular service messages are retransmitted via a single link.
10. An apparatus comprising the PLC and RF dual-link redundant transmission and deduplication confirmation method according to any one of claims 1-9, characterized in that, include: Sending and receiving devices; The transmitting device includes a service classification module, a redundancy triggering module, a unified identifier generation module, a PLC transmitting module, an RF transmitting module, and a retransmission control module. The service classification module is used to distinguish between critical service messages and ordinary service messages; The redundancy triggering module is used to determine whether a message is sent using dual-link redundancy or single-link transmission; The unified identifier generation module is used to generate the same identifier for PLC copies and RF copies of the same service message; The PLC sending module is used to send message copies via the PLC link; The RF transmission module is used to send message copies over the RF link; The retransmission control module is used to perform retransmission, retransmission, or link rollback based on the confirmation result returned by the receiving end. The receiving device includes a PLC receiving module, an RF receiving module, a cross-media matching module, a deduplication module, a consistency verification module, a unified confirmation module, and an anomaly detection module. The PLC receiving module is used to receive messages from the PLC link; The RF receiver module is used to receive messages from the PRF link; The cross-media matching module is used to pair packets between two links based on a unified identifier and a preset time window; The consistency verification module is used to perform content consistency verification on two links of the same service message that are matched. The deduplication module is used to retain only one valid message when the verification is consistent, and the rest are marked as redundant copies; The unified confirmation module is used to generate unified confirmation information based on the arrival status of dual links, content verification results, and abnormal status, and return it to the sending end. The anomaly detection module is used to identify abnormal states such as single-path arrival, inconsistency between two-path content, and timeout failure.
Citation Information
Patent Citations
Two-dimensional time service method for power station monitoring system
CN121704156A