State machine-based wireless link redundancy transmission methods, systems, products, equipment, and media

CN122579283APending Publication Date: 2026-08-14BONCHREE (SHANGHAI) COMMUNICATION CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-14
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0005]本发明的目的是提供基于状态机的无线链路冗余传输方法、系统、产品、设备及介质,用于解决现有技术中采用无线双频冗余机制持续发送数据,导致设备将长期处于高功耗运行状态的问题

Benefits of technology

[0028]通过将FSM模块的动态监测功能与传输链路状态控制机制相结合,从而在主频段传输链路性能显著下降时按需激活冗余频段传输链路,并在主频段传输链路恢复稳定时及时休眠冗余频段传输链路,达到了显著降低系统功耗的效果。相比于现有技术中冗余链路持续工作的方案,本实施例避免了冗余频段传输链路在无干扰环境下的无效运行,有效解决了无线双频冗余传输导致的高功耗问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122579283A_ABST
    Figure CN122579283A_ABST
Patent Text Reader

Abstract

This invention discloses a state machine-based wireless link redundancy transmission method, system, product, device, and medium, comprising: establishing a primary frequency band transmission link and a redundant frequency band transmission link; sending messages through the primary frequency band transmission link, continuously monitoring the number of consecutive retransmissions of messages sent through the primary frequency band transmission link, and activating the redundant frequency band transmission link when the number of consecutive retransmissions reaches a preset threshold M, and sending messages through both the primary frequency band transmission link and the redundant frequency band transmission link respectively; and suspending the redundant frequency band transmission link when the number of consecutive no-retransmissions of messages sent through the primary frequency band transmission link reaches N. This invention can activate the redundant frequency band transmission link on demand when the performance of the primary frequency band transmission link significantly degrades, and suspend the redundant frequency band transmission link in a timely manner when the primary frequency band transmission link recovers stability, thereby reducing system power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless transmission, and in particular to a wireless link redundancy transmission method, system, product, device and medium based on state machine. Background Technology

[0002] Currently, in WLAN (wireless local area network) networking, data packet loss can occur due to interference or obstruction of WIFI transmission over the air.

[0003] In the prior art, patent document CN114747148B discloses a communication device and method for multi-link block acknowledgment. An exemplary embodiment provides a multi-link device (MLD) operating with a first plurality of affiliated stations, the first MLD comprising: circuitry initiating the establishment of a block acknowledgment protocol with a second MLD operating with a second plurality of affiliated stations, wherein a link has been established between each of the first plurality of stations and a corresponding station of the second plurality of stations; and a transmitter transmitting frames with Traffic Identifiers (TIDs) on one or more links to the second MLD based on the block acknowledgment protocol, wherein the first plurality of stations share a common transmit buffer and common transmit buffer control, the common transmit buffer storing frames with TIDs to be transmitted to the second MLD, the common transmit buffer control managing the transmission of frames on one or more links, and wherein each of the first plurality of stations maintains per-link transmit buffer control to manage the transmission of frames on a corresponding link of one or more links.

[0004] Existing technologies employ a dual-band wireless redundancy mechanism for continuous data transmission, resulting in devices operating at high power consumption for extended periods. Therefore, it is necessary to improve this structure to overcome these drawbacks. Summary of the Invention

[0005] The purpose of this invention is to provide a wireless link redundancy transmission method, system, product, device and medium based on state machine, to solve the problem that the continuous transmission of data using the wireless dual-frequency redundancy mechanism in the prior art causes the device to be in a high power consumption state for a long time.

[0006] The above-mentioned technical objective of the present invention is achieved through the following technical solution:

[0007] A state machine-based wireless link redundancy transmission method includes:

[0008] Establish primary frequency band transmission links and redundant frequency band transmission links;

[0009] The message is sent through the main frequency band transmission link. The number of consecutive retransmissions of the message sent through the main frequency band transmission link is continuously monitored. If the number of consecutive retransmissions of the message reaches the preset threshold M, the redundant frequency band transmission link is activated.

[0010] In messages that have been retransmitted M times consecutively, a redundant transmission flag is set. The message with the redundant transmission flag is copied into multiple copies and sent through the main frequency band transmission link and the redundant frequency band transmission link respectively. The receiving end identifies the redundant transmission data according to the redundant transmission flag, retains only the first received message, and deletes the duplicate messages received later.

[0011] If the number of consecutive retransmissions without retransmission of a message sent via the main frequency band transmission link reaches N, then the redundant frequency band transmission link will be put into hibernation.

[0012] A further feature of the present invention is that the main frequency band transmission link is a 5GHz frequency band transmission link.

[0013] A further feature of the present invention is that the redundant frequency band transmission link is a 2.4 GHz frequency band transmission link.

[0014] A further feature of the present invention is that the preset threshold M is a configurable parameter.

[0015] A further feature of the present invention is that the number of consecutive no-retransmissions N is a configurable parameter.

[0016] A further provision of the present invention includes setting a redundant transmission flag in messages that have been retransmitted M times, comprising the following steps:

[0017] Add a MAC header to a message that has been retransmitted M times consecutively, and set a redundancy transmission flag in the MAC header to identify the message as a redundant transmission message.

[0018] A state machine-based wireless link redundancy transmission system includes:

[0019] The STA module is used to establish a primary frequency band transmission link and a redundant frequency band transmission link with the AP module, and to send or receive messages through the primary frequency band transmission link and / or the redundant frequency band transmission link.

[0020] The AP module is used to establish the main frequency band transmission link and the redundant frequency band transmission link with the STA module, and to send or receive messages through the main frequency band transmission link and / or the redundant frequency band transmission link.

[0021] The FSM module continuously monitors the number of consecutive retransmissions of messages sent via the main frequency band transmission link. When the number of consecutive retransmissions of a message reaches a preset threshold M, the redundant frequency band transmission link is activated. If the number of consecutive no-retransmissions of a message sent via the main frequency band transmission link reaches N, the redundant frequency band transmission link is put into hibernation.

[0022] A computer program product includes a computer program or instructions that, when executed by a processor, implement a state machine-based wireless link redundancy transmission method.

[0023] An electronic device, comprising:

[0024] Memory is used to store computer programs;

[0025] A processor is used to implement a state machine-based wireless link redundancy transmission method when executing computer programs stored in memory.

[0026] A computer-readable storage medium storing a computer program, which, when executed by a processor, implements a state machine-based wireless link redundancy transmission method.

[0027] In summary, the present invention has the following beneficial effects:

[0028] By combining the dynamic monitoring function of the FSM module with the transmission link status control mechanism, redundant frequency band transmission links are activated on demand when the performance of the main frequency band transmission link degrades significantly, and the redundant frequency band transmission links are put into hibernation in a timely manner when the main frequency band transmission link recovers stability, thus achieving a significant reduction in system power consumption. Compared with the existing technology's scheme of continuous operation of redundant links, this embodiment avoids the ineffective operation of redundant frequency band transmission links in an interference-free environment, effectively solving the high power consumption problem caused by wireless dual-band redundant transmission. Attached Figure Description

[0029] Figure 1 This is a flowchart illustrating the present invention.

[0030] Figure 2 This is a schematic diagram of the framework of the present invention. Detailed Implementation

[0031] To make the technical means, creative features, objectives and effects of this invention easier to understand, the invention will be further described below with reference to the figures and specific embodiments.

[0032] like Figures 1 to 2 As shown, the present invention proposes a wireless link redundancy transmission method based on a state machine, which includes the following steps:

[0033] Step 1: Establish a primary frequency band transmission link and a redundant frequency band transmission link between the STA module and the AP module;

[0034] Step 2: In non-redundant transmission mode, send messages through the main frequency band transmission link and continuously monitor the number of consecutive retransmissions of messages sent through the main frequency band transmission link; when the number of consecutive retransmissions of messages reaches the preset threshold M, it is determined that the quality of the current main frequency band transmission link has deteriorated and switch to redundant transmission mode.

[0035] Step 3: After switching to redundant transmission mode, the FSM module sends a wake-up command to the redundant frequency band transmission link to activate it. It sets a redundant transmission flag in the message that has been retransmitted M times. The message with the redundant transmission flag is copied into multiple copies and sent through the main frequency band transmission link and the redundant frequency band transmission link respectively. The receiving end identifies the redundant transmission data according to the redundant transmission flag, retains only the first message that arrives, and discards the duplicate messages that arrive later.

[0036] Step 4: In redundant transmission mode, the FSM module continues to monitor the message retransmission status of the main frequency band transmission link. If it detects that the number of consecutive retransmissions without retransmission of messages sent through the main frequency band transmission link reaches N, it is determined that the main frequency band transmission link has recovered and stabilized. The state machine controls the switch back to non-redundant transmission mode and sends a sleep command to the redundant frequency band transmission link to switch to non-redundant transmission mode.

[0037] A state machine-based wireless link redundancy transmission system includes:

[0038] The STA (Station) module is used to establish a primary frequency band transmission link and a redundant frequency band transmission link with the AP module, and to send or receive messages through the primary frequency band transmission link and / or the redundant frequency band transmission link.

[0039] The AP (Access Point) module is used to establish the main frequency band transmission link and the redundant frequency band transmission link with the STA module, and to send or receive messages through the main frequency band transmission link and / or the redundant frequency band transmission link.

[0040] The FSM (Finite State Machine) module continuously monitors the number of consecutive retransmissions of messages sent via the main frequency band transmission link. When the number of consecutive retransmissions of a message reaches a preset threshold M, the redundant frequency band transmission link is activated. If the number of consecutive no-retransmissions of a message sent via the main frequency band transmission link reaches N, the redundant frequency band transmission link is put into hibernation.

[0041] Specifically, both the STA and AP modules support connections to at least two different frequency bands (e.g., the 2.4GHz and 5GHz bands). In use, the STA module can simultaneously establish connections to multiple different frequency bands with the AP module. By tagged and copied to multiple frequency bands for simultaneous transmission, redundant data transmission is achieved. At the receiving end, the tagged data is used to filter the redundant transmissions, ensuring reliable data transmission.

[0042] When the STA module and AP module establish a connection, multiple transmission frequency bands can be associated simultaneously, including the main frequency band transmission link and the redundant frequency band transmission link. However, by default, only the main frequency band transmission link is used for data transmission, while the redundant frequency band transmission link is in sleep mode to reduce power consumption.

[0043] To ensure reliable data transmission, the FSM module continuously monitors the packet retransmission status of the main frequency band and determines the transmission mode accordingly. The specific determination logic is as follows:

[0044] Non-redundant transmission mode: In non-redundant transmission mode, only the primary frequency band transmission link undertakes data transmission tasks, while redundant frequency band transmission links are in sleep mode. Simultaneously, the FSM module continuously monitors the message retransmission status of the primary frequency band. If the number of failed message retransmissions on the primary frequency band transmission link reaches a preset threshold M (M is a configurable parameter, e.g., M=3), the data transmission quality of the current primary frequency band transmission link is determined to have deteriorated. The FSM module then controls the wireless link redundant transmission system to immediately switch to redundant transmission mode.

[0045] Redundant Transmission Mode: In redundant transmission mode, the FSM module controls the sending command to wake up all associated transmission bands. Then, it copies the message to be sent and transmits it simultaneously on both the primary and redundant transmission links. In redundant transmission mode, the FSM module continues to monitor message retransmission on the primary transmission link: if no retransmissions occur for N consecutive messages (N is a configurable parameter, e.g., N=3) on the primary transmission link, it is determined that the primary transmission link has stabilized. The FSM module controls the wireless link redundant transmission system to immediately switch to non-redundant transmission mode and sends a sleep command to the redundant band, causing the redundant transmission link to re-enter sleep mode, with data transmission only handled by the primary transmission link.

[0046] A computer program product includes a computer program or instructions that, when executed by a processor, implement a state machine-based wireless link redundancy transmission method.

[0047] An electronic device, comprising:

[0048] Memory is used to store computer programs;

[0049] A processor is used to implement a state machine-based wireless link redundancy transmission method when executing computer programs stored in memory.

[0050] A computer-readable storage medium storing a computer program, which, when executed by a processor, implements a state machine-based wireless link redundancy transmission method.

[0051] Example 1:

[0052] In this embodiment, taking the establishment of a 2.4GHz and 5GHz dual-band connection between the STA module and the AP module as an example, a detailed description of the state machine-based wireless link redundancy transmission method of the present invention is provided. However, the present invention is not limited to the 2.4GHz and 5GHz frequency bands, where nGHz represents any number of GHz frequency bands. In actual deployment, multiple frequency bands can be selected as the primary link or redundant link according to requirements, and it is not limited to dual-band.

[0053] I. System initialization and connection establishment;

[0054] After the STA module powers on, it initiates the association process with the AP module. During this process, the STA module simultaneously requests the AP module to establish two transmission links: one in the 2.4GHz band and the other in the 5GHz band. Once the association is complete, both transmission links are active, but the system defaults to using only the 5GHz band (the primary transmission link) for data transmission, while the 2.4GHz band (the redundant transmission link) remains in sleep mode to reduce power consumption. After initialization, the FSM module enters non-redundant transmission mode and begins continuously monitoring the message retransmission status of the primary transmission link.

[0055] II. Message transmission and link monitoring in non-redundant transmission mode;

[0056] In non-redundant transmission mode, when the system receives a message to be sent from an external interface such as Ethernet or USB, the STA module looks up the destination MAC address in the message to find the corresponding WiFi exit (i.e., the virtual interface vif index corresponding to the 5GHz main frequency band), and then sends the message out through the 5GHz frequency band.

[0057] When a data packet fails to be transmitted for the first time on the 5GHz band, the hardware automatically triggers a retransmission mechanism. The FSM module continuously counts the number of consecutive retransmissions of the packet. During this process, the FSM module continuously monitors the transmission status of each packet on the 5GHz band and records the number of consecutive retransmissions for each packet. When the number of consecutive retransmission failures of the packet reaches a preset threshold M (M=3 in this embodiment), the FSM module determines that the quality of the current main frequency band transmission link has been severely degraded, and reliable data transmission cannot be guaranteed. At this time, the FSM module immediately triggers a state switch, controlling the wireless link redundant transmission system to switch from non-redundant transmission mode to redundant transmission mode.

[0058] III. Message copying and multi-frequency transmission under redundant transmission mode;

[0059] After the FSM module's control state machine switches to redundant transmission mode, it first sends a wake-up command to the RF module corresponding to the 2.4GHz band, activating the redundant band that was in sleep mode. Subsequently, when the system receives a new message to be transmitted from an external interface such as Ethernet or USB, the STA module processes the message: adding a MAC header and setting a redundant transmission flag in the MAC header to identify the message as a redundant transmission message. Then, based on the number of currently associated transmission bands (two in this embodiment), the STA module copies the message into two copies and simultaneously transmits them through the ports corresponding to the 5GHz main band and the 2.4GHz redundant band, respectively.

[0060] In redundant transmission mode, after receiving a message, the receiving end (AP module) identifies and filters the redundant transmission data according to the redundant transmission flag in the MAC header. For messages carrying the redundant transmission flag, the AP module only retains the first message that arrives and discards the duplicate messages that arrive later, thereby achieving reliable data transmission.

[0061] IV. Link recovery monitoring and status switching under redundant transmission mode;

[0062] In redundant transmission mode, the FSM module continues to monitor the message retransmission status of the 5GHz main frequency band transmission link. If the FSM module detects that N consecutive messages on the 5GHz main frequency band transmission link have not been retransmitted (N=3 in this embodiment), it determines that the main frequency band transmission link has stabilized.

[0063] At this point, the FSM module control state machine automatically switches from redundant transmission mode back to non-redundant transmission mode and sends a sleep command to the 2.4GHz redundant frequency band, causing the redundant frequency band transmission link to re-enter sleep mode. Afterward, the system reverts to a single-frequency high-efficiency mode where data transmission is performed solely by the 5GHz main frequency band.

[0064] V. Parameter Configuration and Applicable Scenarios

[0065] In this embodiment, both the retransmission threshold M and the number of consecutive non-retransmission packets N are configurable parameters. The value of M can be adjusted according to the sensitivity requirements of link quality in the actual application scenario. In scenarios with high real-time requirements (such as video transmission), M can be set to a smaller value (such as M=2) to trigger redundancy protection more quickly; in scenarios sensitive to power consumption, M can be set to a larger value (such as M=5) to avoid entering the redundant transmission mode too frequently and increasing power consumption. Similarly, the value of N can also be flexibly configured according to the criteria for determining link recovery.

[0066] In summary, this invention provides a state machine-based wireless link redundancy transmission method and system. Two independent wireless communication channels are configured between two wireless devices, one designated as the primary frequency band transmission link and the other as the redundant frequency band transmission link. After the link is established, packets are transmitted via the primary frequency band transmission link. The system continuously monitors the number of consecutive retransmissions of packets transmitted via the primary frequency band transmission link. Each time a packet transmission fails and triggers a retransmission, the counter is incremented. If the number of consecutive retransmissions reaches a preset threshold M, the redundant frequency band transmission link is activated.

[0067] A redundancy flag is set in messages that have been retransmitted M times consecutively. This redundancy flag can be added to the data field of the message. The message with the redundancy flag is then copied multiple times and transmitted separately via the primary frequency band transmission link and the redundant frequency band transmission link. Upon receiving a message, the receiving end identifies the redundant data transmission based on the redundancy flag. The receiving end only retains the first received message and deletes subsequent duplicate messages. For example, the receiving end can maintain a buffer of received messages. When a message with the redundancy flag is received, it checks whether the message already exists in the buffer. If it exists, it is deleted; if it does not exist, it is retained and added to the buffer.

[0068] To optimize resource utilization, if the number of consecutive retransmissions without retransmission detected via the primary frequency band transmission link reaches N, the redundant frequency band transmission link is put into sleep mode. The FSM module sends a signal instructing the system to disable the transmission and reception functions of the redundant frequency band transmission link, thereby saving power consumption and spectrum resources.

[0069] The following example will provide a more detailed explanation of the above technical solution:

[0070] Assume a wireless LAN environment. A primary frequency band transmission link and a redundant frequency band transmission link are pre-established between the AP module and the STA module. For example, the primary frequency band transmission link can be configured to operate in the 5GHz band, while the redundant frequency band transmission link can be configured to operate in the 2.4GHz band. Under normal circumstances, all data packets are transmitted through the primary frequency band transmission link.

[0071] The AP module continuously sends messages to the STA module via the primary frequency band transmission link. Simultaneously, the FSM module continuously monitors the transmission of these messages, paying particular attention to the number of consecutive retransmissions. At a certain point, due to environmental interference, the transmission quality of the primary frequency band transmission link begins to degrade. Messages sent by the AP module begin to be retransmitted frequently. When the FSM module detects that a message has been retransmitted three times consecutively, it immediately activates the redundant frequency band transmission link. At this time, the AP module marks the message with three consecutive retransmissions with a redundant transmission flag.

[0072] Subsequently, the AP module copies the message with the redundancy transmission flag into two copies: one is sent via the primary band transmission link, and the other is sent via the activated redundant band transmission link. When the STA module receives a message, it checks the redundancy transmission flag. If the STA module receives the message first from the primary band transmission link and identifies the redundancy transmission flag, it stores it and waits for a possible duplicate message to be received from the redundant band transmission link. When the STA module subsequently receives a duplicate message with the same redundancy transmission flag from the redundant band transmission link, it deletes it, retaining only the first received copy. Conversely, if the message from the redundant band transmission link arrives first, the redundant band message is retained, and the duplicate primary band message is deleted. In this way, even if the performance of the primary band transmission link degrades, the reliability of data transmission is guaranteed.

[0073] As time progresses, if environmental interference on the primary frequency band transmission link gradually disappears, its transmission quality begins to recover. The FSM module continuously monitors the number of consecutive no-retransmissions for packets sent via the primary frequency band transmission link. Assume the number of consecutive no-retransmissions, N, is set to 10. When the FSM module detects that the primary frequency band transmission link has sent 10 consecutive packets without retransmission, it determines that the primary frequency band transmission link has stabilized and controls the redundant frequency band transmission link to go into hibernation. At this time, the redundant frequency band transmission link will stop sending and receiving data, thereby reducing system power consumption.

[0074] Based on the above examples, the technical concept of this embodiment lies in effectively solving the problem of high power consumption in existing wireless dual-band redundant transmission schemes by introducing a state machine-based dynamic link management mechanism. Existing multi-link devices continuously transmit service identifier frames on multiple links, meaning that redundant links may be active at any time, continuously consuming energy.

[0075] In contrast, the method in this embodiment transmits messages only through the primary frequency band transmission link under normal circumstances, while the redundant frequency band transmission links remain dormant and do not transmit data, thereby significantly reducing the overall power consumption of the system. The redundant frequency band transmission links are only activated when the performance of the primary frequency band transmission link significantly degrades (determined by monitoring the number of consecutive retransmissions reaching a preset threshold M). This on-demand activation strategy avoids unnecessary energy consumption.

[0076] Furthermore, this embodiment introduces a redundant transmission flag and a receiver deduplication mechanism to ensure data transmission reliability during redundant transmission activation, while avoiding the additional burden on the receiver from processing duplicate data. Moreover, when the performance of the primary frequency band transmission link stabilizes (determined by monitoring that the number of consecutive no-retransmissions reaches N), the redundant frequency band transmission link is promptly put into sleep mode, further optimizing resource utilization and power consumption management. This dynamic and intelligent link management approach enables the system to minimize power consumption while ensuring data transmission reliability, demonstrating the advancement of this embodiment in the field of wireless link redundancy transmission technology.

[0077] In practical applications, how to efficiently and flexibly deploy this complex transmission logic to different computing devices and ensure its stable operation is a problem that needs to be solved. To address this, this application further proposes a computer program product, including a computer program or instructions that, when executed by a processor, implement the aforementioned state machine-based wireless link redundancy transmission method.

[0078] This computer program product refers to a collection of computer programs or instructions stored in any tangible medium. This medium can be a physical storage medium, such as an optical disc, digital universal optical disc, USB flash drive, hard disk drive, solid-state drive, or memory card; or it can be an electronic file transmitted or downloaded over a network. Its function is to provide a distributable, storable, and executable method for carrying and deploying software functionality. This allows the method to be flexibly deployed and run on various electronic devices, thus effectively solving the problems of flexibility and versatility in method deployment.

[0079] In other embodiments, this application proposes an electronic device that can effectively implement the above-described state machine-based wireless link redundancy transmission method.

[0080] In this regard, this application further proposes an electronic device, including: a memory for storing computer programs; and a processor for executing the computer programs stored in the memory to implement the above-mentioned state machine-based wireless link redundancy transmission method.

[0081] This electronic device refers to a physical entity capable of performing calculations, storing data, and communicating. It typically includes basic components such as a processor, memory, input / output interfaces, and a power supply, and performs specific functions by running software programs. The memory stores the computer program instructions that implement the aforementioned wireless link redundancy transmission method, as well as temporary data and status information generated during program execution. The processor is responsible for executing the computer program stored in the memory, thereby driving the electronic device to complete the various functions of the wireless link redundancy transmission method.

[0082] The aforementioned electronic device, through the collaborative operation of its internal memory and processor, provides an executable physical platform for the state machine-based wireless link redundancy transmission method. Specifically, the memory is responsible for persistently storing the computer program implementing the wireless link redundancy transmission method. When the electronic device starts up or needs to execute the method, the processor reads and loads these computer program instructions from the memory.

[0083] The aforementioned electronic devices transform the state machine-based wireless link redundancy transmission method from a purely logical description into a practically executable physical entity. The memory provides stable storage space for the computer program, ensuring the integrity and repeatability of the method's logic; the processor provides powerful computing and control capabilities, enabling the efficient and accurate execution of complex real-time monitoring, state judgment, link switching, and message processing operations. This hardware and software integration allows the wireless link redundancy transmission method to be deployed in actual communication devices, significantly improving the reliability and stability of data transmission in environments with unstable wireless communication link quality, effectively reducing message loss rate and retransmission delay, and providing users with a smoother and more reliable wireless connection experience.

[0084] However, in order for this method to be deployed and run in actual electronic devices, a reliable mechanism is needed to store the computer program that implements the method and enable it to be executed by the processor.

[0085] In this regard, this application further proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned state machine-based wireless link redundancy transmission method.

[0086] In this context, a computer-readable storage medium refers to any non-transitory physical medium capable of storing digital data or computer instructions. This medium ensures the persistent storage of computer program instructions, allowing the processor to read and execute them at any time. The solution in this application transforms abstract method logic into an operable entity by storing the computer program implementing the aforementioned state machine-based wireless link redundancy transmission method in a computer-readable storage medium and having it executed by a processor.

[0087] The above technical solution embeds the state machine-based wireless link redundancy transmission method into a computer-readable storage medium as a computer program, which is then executed by a processor. This allows the method to be easily deployed in various electronic devices. This not only automates the method's operation, avoiding the complexity of manual intervention, but also ensures consistency and stability in execution across different devices and scenarios. Therefore, this solution significantly improves the practicality and reliability of wireless link redundancy transmission, providing a more robust data transmission guarantee for wireless communication systems.

[0088] In the description of this invention, it should be noted that the terms "upper," "lower," "inner," "outer," "left," and "right," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship commonly used when the product of this invention is in use, or the orientation or positional relationship commonly understood by those skilled in the art. These terms are used only for the convenience of describing this invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention. Furthermore, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance. In the description of this invention, it should also be noted that, unless otherwise explicitly specified and limited, terms such as "set" and "connect" should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be a connection within two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances. In this document, the terms “comprising,” “including,” or any other variations thereof are intended to cover non-exclusive inclusion, which includes not only the elements listed but also other elements not expressly listed.

[0089] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of this invention is defined by the appended claims and their equivalents.

Claims

1. A wireless link redundancy transmission method based on a state machine, characterized in that, include: Establish primary frequency band transmission links and redundant frequency band transmission links; The message is sent through the main frequency band transmission link. The number of consecutive retransmissions of the message sent through the main frequency band transmission link is continuously monitored. If the number of consecutive retransmissions of the message reaches the preset threshold M, the redundant frequency band transmission link is activated. In messages that have been retransmitted M times consecutively, a redundant transmission flag is set. The message with the redundant transmission flag is copied into multiple copies and sent through the main frequency band transmission link and the redundant frequency band transmission link respectively. The receiving end identifies the redundant transmission data according to the redundant transmission flag, retains only the first received message, and deletes the duplicate messages received later. If the number of consecutive retransmissions without retransmission of a message sent via the main frequency band transmission link reaches N, then the redundant frequency band transmission link will be put into hibernation.

2. The wireless link redundancy transmission method based on a state machine according to claim 1, characterized in that, The main frequency band transmission link is a 5GHz frequency band transmission link.

3. The wireless link redundancy transmission method based on a state machine according to claim 1, characterized in that, The redundant frequency band transmission link is the 2.4GHz frequency band transmission link.

4. The wireless link redundancy transmission method based on a state machine according to claim 1, characterized in that, The preset threshold M is a configurable parameter.

5. The wireless link redundancy transmission method based on a state machine according to claim 1, characterized in that, The number of consecutive no-retransmissions, N, is a configurable parameter.

6. The wireless link redundancy transmission method based on a state machine according to claim 1, characterized in that, Setting a redundant transmission flag in a message that has been retransmitted M times includes the following steps: Add a MAC header to a message that has been retransmitted M times consecutively, and set a redundancy transmission flag in the MAC header to identify the message as a redundant transmission message.

7. A state machine-based wireless link redundancy transmission system, characterized in that, include: The STA module is used to establish a primary frequency band transmission link and a redundant frequency band transmission link with the AP module, and to send or receive messages through the primary frequency band transmission link and / or the redundant frequency band transmission link. The AP module is used to establish the main frequency band transmission link and the redundant frequency band transmission link with the STA module, and to send or receive messages through the main frequency band transmission link and / or the redundant frequency band transmission link. The FSM module continuously monitors the number of consecutive retransmissions of messages sent via the main frequency band transmission link. When the number of consecutive retransmissions of a message reaches a preset threshold M, the redundant frequency band transmission link is activated. If the number of consecutive no-retransmissions of a message sent via the main frequency band transmission link reaches N, the redundant frequency band transmission link is put into hibernation.

8. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by the processor, they implement the state machine-based wireless link redundancy transmission method as described in any one of claims 1-6.

9. An electronic device, characterized in that, include: Memory is used to store computer programs; A processor, used to execute a computer program stored in memory, implements the state machine-based wireless link redundancy transmission method as described in any one of claims 1-6.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the state machine-based wireless link redundancy transmission method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Communication device and communication method for multi-link block confirmation

    CN114747148B