A method and system for enhancing the same-frequency anti-interference capability

By determining whether the working channels of the WiFi and ZigBee modules overlap on the network device, and the collaboration coexistence or optimizing the arbitration strategy allocation channel, the problem of the same frequency interference is solved, and the anti -interference ability and transmission rate of the device are improved.

CN115226219BActive Publication Date: 2025-01-21FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210162631.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-22
Publication Date
2025-01-21
Estimated Expiration
2042-02-22

AI Technical Summary

Technical Problem

When using WIFI and ZigBee air interfaces on the same network device, due to overlapping frequency bands, mutual interference is prone to occur. The existing technology solutions such as frequency division multiplexing and PTA mechanisms have limitations, and cannot effectively solve the interference problem and adapt to different services. Priority requirements.

Method used

By determining whether the working channel of the WiFi module and the ZigBee module overlap, if the overlap is overlap, the collaborative coexistence solution is adopted, otherwise the optimization arbitration strategy is used to allocate the working channel. Optimized arbitration strategies include authorized use of their own working channels when receiving requests, and prioritize high priority modules to use their working channels when sending requests.

Benefits of technology

Improving the same frequency anti -interference capabilities of WiFi and ZigBee on the same network device, enhance the adaptation capabilities of network devices in different use environments, increase the transmission rate and reduce the number of device transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115226219B_ABST
    Figure CN115226219B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for enhancing the same-frequency anti-interference capability, which relates to the field of wireless communication technology, including when the working channel of the ZigBee module is not in the preset recommended channel list, judging whether the working channels of the WIFI module and the ZigBee module overlap, and if so, using a collaborative coexistence scheme to allocate the working channel; if not, using an optimized arbitration strategy to allocate the working channel. The optimized arbitration strategy includes authorizing the two modules to use their respective working channels when both modules are receiving; when the transceiver request of any of the two modules is to send, authorizing the module with a higher priority to use its working channel. The present application can avoid mutual interference between WIFI and ZigBee in the same network device and improve the transmission rate of the network device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a method and system for enhancing the same-frequency anti-interference capability. Background Art

[0002] When using WIFI and ZigBee air interfaces on the same network device, since both WIFI and ZigBee use the 2.4G frequency band, when the size of the network device cannot meet the design requirements of antenna isolation, WIFI and ZigBee will interfere with each other.

[0003] The current solutions to co-frequency interference prevention mainly adopt non-cooperative coexistence solutions and cooperative coexistence solutions.

[0004] The non-cooperative coexistence solution is that WIFI and ZigBee use frequency division method to avoid mutual interference between WIFI and ZigBee by using separate channels. For example, ZigBee's recommended channel list is a channel that does not overlap with WIFI, which is actually a frequency separation method.

[0005] However, if frequency division multiplexing is used alone, since the occupancy of the surrounding wireless channels changes dynamically, in theory, although the channels in the recommended channel list are not occupied by the WIFI of the same network device, they may be occupied by other surrounding network devices (such as other ZigBee devices). ZigBee may have to use channels outside the recommended channel list, that is, within the same network device, ZigBee may have to use channels that may be occupied by WIFI. At this time, there is a risk of mutual interference between WIFI and ZigBee on the same device. This cannot be solved by using frequency division multiplexing alone.

[0006] The collaborative coexistence solution is the PTA (Packet Traffic Arbitration) mechanism, which essentially adopts the TDM (time-division multiplexing) method. Only one of the WIFI transceiver and the ZigBee transceiver works in the same time period. For example, when WIFI is sending or receiving messages, ZigBee cannot send or receive messages, and vice versa.

[0007] The PTA mechanism uses time division multiplexing. PTA treats frequency overlapping channel scenarios and frequency non-overlapping channel scenarios, as well as the mutual interference between WIFI and ZigBee, as equivalent. Although mutual interference can be reduced, the time division multiplexing of WIFI and ZigBee limits the throughput of each interface and increases the latency of message transmission. Once the PTA mechanism is enabled, the same set of arbitration rules cannot be used to adapt to different business priority requirements and application scenarios, and lacks certain flexibility. Summary of the invention

[0008] In view of the defects existing in the prior art, the purpose of this application is to provide a method and device for enhancing the same-frequency anti-interference capability, which can avoid mutual interference between WIFI and ZigBee in the same network device and improve the transmission rate of the network device.

[0009] In order to achieve the above objectives, the technical solutions adopted are:

[0010] In a first aspect, the present application provides a method for enhancing the same-frequency anti-interference capability, which is applicable to a network device, the network device including a WIFI module and a ZigBee module; the method includes:

[0011] Get the working channel and sending and receiving requests of the WIFI module and ZigBee module;

[0012] When the working channel of the ZigBee module is not in the preset recommended channel list, determine whether the working channels of the WIFI module and the ZigBee module overlap. If so, use the cooperative coexistence solution to allocate the working channel; if not, use the optimized arbitration strategy to allocate the working channel;

[0013] The optimized arbitration strategy includes: when the transceiver requests of the WIFI module and the ZigBee module are both receiving, authorizing the two modules to use their respective working channels at the same time; when the transceiver request of any one of the WIFI module and the ZigBee module is sending, authorizing the one with a higher priority among the two modules to use its working channel.

[0014] In some embodiments, the optimized arbitration strategy further includes: when the transceiver request of any one of the WIFI module and the ZigBee module is to send, and the ZigBee module has a low priority, authorizing the WIFI module to use its working channel;

[0015] When the receiving and sending request of any one of the WIFI module and the ZigBee module is sending, and the ZigBee module has a high priority, the ZigBee module is authorized to use its working channel.

[0016] In some embodiments, the channels in the recommended channel list are channels without WIFI interference.

[0017] In some embodiments, the method further comprises:

[0018] Pre-configure the recommended channel list in the ZigBee module;

[0019] When the ZigBee module is networking, it scans the working channels in the recommended channel list and determines whether all the channels in the recommended channel list are occupied. If so, it continues to scan other channels and selects an unoccupied channel as the working channel; if not, it selects an unoccupied channel from the recommended channel list as the working channel.

[0020] In some embodiments, the method further comprises:

[0021] When the working channel of the ZigBee module is in the preset recommended channel list, the working channel is allocated using a non-cooperative coexistence scheme.

[0022] In some embodiments, the method further comprises:

[0023] The ZigBee module performs a CCA test before each transmission through the working channel. When the number of consecutive detection failures reaches the preset threshold, the ZigBee module changes the priority sent in the transceiver request from low priority to high priority until the CCA test succeeds, at which point the ZigBee module changes the priority sent in the transceiver request from high priority to low priority.

[0024] A second aspect of the present application provides a system for enhancing the same-frequency anti-interference capability, the system comprising a network device, the network device comprising a WIFI module and a ZigBee module; the system further comprises:

[0025] A host control module, which is connected to the WIFI module and the ZigBee module, and is used to obtain the working channels and sending and receiving requests of the WIFI module and the ZigBee module;

[0026] The host control module is also used to determine whether the working channels of the WIFI module and the ZigBee module overlap when the working channel of the ZigBee module is not in the preset recommended channel list. If so, a cooperative coexistence scheme is used to allocate working channels for the WIFI module and the ZigBee module; if not, an optimized arbitration strategy is used to allocate working channels for the WIFI module and the ZigBee module;

[0027] The optimized arbitration strategy includes authorizing the two modules to use their respective working channels when the host control module determines that the transceiver requests of the WIFI module and the ZigBee module are both for receiving; and authorizing the one with a higher priority among the two modules to use its working channel when the host control module determines that the transceiver request of any one of the WIFI module and the ZigBee module is for sending.

[0028] In some embodiments, the channels in the recommended channel list are channels without WIFI interference;

[0029] The host control module is also used to pre-configure a recommended channel list in the ZigBee module according to user input;

[0030] The host control module is also used to control the ZigBee module to scan the working channels in the recommended channel list when the ZigBee module is networked, and to determine whether all the channels in the recommended channel list are occupied. If so, the host control module is controlled to continue scanning other channels and select an unoccupied channel therefrom as the working channel; if not, the host control module is controlled to select an unoccupied channel from the recommended channel list as the working channel.

[0031] In some embodiments, the host control module is further configured to allocate working channels to the WIFI module and the ZigBee module using a non-cooperative coexistence solution when the working channel of the ZigBee module is in a preset recommended channel list.

[0032] In some embodiments, the ZigBee module further includes:

[0033] The CCA detection unit is used to perform a CCA detection before the ZigBee module sends through the working channel each time. When the number of consecutive detection failures reaches a preset threshold, the CCA detection unit changes the priority sent in the transceiver request from a low priority to a high priority until the CCA detection succeeds. At this time, the CCA detection unit changes the priority sent in the transceiver request from a high priority to a low priority.

[0034] The beneficial effects of the technical solution provided by this application include:

[0035] Through the combination of channel isolation and PTA anti-interference, the same-frequency anti-interference capability of WIFI and ZigBee on the same network device is improved, and the adaptability of network equipment in different usage environments is enhanced.

[0036] On non-overlapping channels, WIFI and ZigBee enable receive requests at the same time, which can promptly process asynchronous messages sent by sub-devices, improve the transmission rate of network devices, reduce the number of device retransmissions, and improve the battery life of sub-devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is one of the flow charts of the method for enhancing the same-frequency anti-interference capability in an embodiment of the present invention.

[0038] Figure 2 This is a flowchart of step A3.

[0039] Figure 3 This is the second flowchart of the method for enhancing the same-frequency anti-interference capability in an embodiment of the present invention.

[0040] Figure 4 Schematic diagram of functional modules of a system for enhancing the same-frequency anti-interference capability in an embodiment of the present invention. DETAILED DESCRIPTION

[0041] The present application is further described in detail below with reference to the accompanying drawings and embodiments.

[0042] like Figure 1 and Figure 4 As shown, an embodiment of the present invention provides a method for enhancing the same-frequency anti-interference capability, which is applicable to a network device, wherein the network device includes a WIFI module 3 and a ZigBee module 1. The method includes determining whether the working channels of the WIFI module 3 and the ZigBee module 1 overlap. If the working channels of the two overlap, a collaborative coexistence scheme is adopted, that is, the working channels are allocated to the WIFI module 3 and the ZigBee module 1 by a time division multiplexing method. If the working channels of the two do not overlap, an anti-interference method based on an optimized arbitration strategy is adopted to allocate working channels to the WIFI module 3 and the ZigBee module 1.

[0043] The optimized arbitration strategy determines the arbitration result through the content of the transceiver request and the priority of the transceiver request of the WIFI module 3 and the ZigBee module 1. The transceiver request is a sending request or a receiving request, and the transceiver request priority is a sending high priority, a sending low priority, a receiving high priority, and a receiving low priority. Only when the transceiver request of the WIFI module 3 and the ZigBee module 1 are both receiving, the WIFI module 3 and the ZigBee module 1 are authorized to use their respective reported working channels for message reception. At this time, the WIFI module 3 and the ZigBee module 1 are in a simultaneous working state. When any of the transceiver request of the WIFI module 3 and the ZigBee module 1 is not receiving, only the module with a high priority of the transceiver request is authorized to use its reported working channel for message reception or message transmission.

[0044] In this embodiment, when ZigBee module 1 uses a channel that is not in the recommended channel list, there is a risk of mutual interference between WIFI module 3 and ZigBee module 1. Further judgment, if there is channel overlap between ZigBee module 1 and WIFI module 3, a collaborative coexistence scheme is adopted, and only one module is authorized to use its selected working channel at the same time through the PTA anti-interference method. If there is no channel overlap between ZigBee module 1 and WIFI module 3, an optimized non-collaborative coexistence scheme is adopted, and channel authorization is performed on WIFI module 3 and / or ZigBee module 1 through an optimized arbitration strategy. When ZigBee has to use a channel outside the recommended channel list due to interference from other surrounding network devices, the combination of PTA anti-interference and channel isolation can improve the same-frequency anti-interference ability of WIFI and ZigBee on the same network device, and enhance the adaptability of network devices in different usage environments.

[0045] Furthermore, since the influence of WIFI and ZigBee is asymmetric. ZigBee is a narrowband interference relative to WIFI, and the interference effect of ZigBee on WIFI is relatively small, and the main interference is the interference of WIFI on ZigBee. Therefore, according to the optimized arbitration strategy, when ZigBee module 1 uses a channel that is not in the recommended channel list, WIFI module 3 and ZigBee module 1 do not overlap channels, and the sending and receiving requests of WIFI module 3 and ZigBee module 1 are both receiving, WIFI module 3 and ZigBee module 1 are authorized to use their respective selected working channels for message reception. On non-overlapping channels (normal working environment), WIFI module 3 and ZigBee module 1 enable receiving requests at the same time, which can promptly process asynchronous messages sent by sub-devices, improve the transmission rate of network devices, reduce the number of device retransmissions, and improve the battery life of sub-devices.

[0046] Continue to refer to Figure 1 As shown, an embodiment of a method for enhancing the same-frequency anti-interference capability is provided, the method comprising:

[0047] Step A1: determine whether the working channels of the WIFI module 3 and the ZigBee module 1 overlap:

[0048] If yes, go to step A2.

[0049] If not, go to step A3.

[0050] Step A2: using a cooperative coexistence solution to allocate working channels to the WIFI module 3 and the ZigBee module 1.

[0051] Step A3: using an optimized arbitration strategy to allocate working channels to the WIFI module 3 and the ZigBee module 1.

[0052] Furthermore, the optimized arbitration strategy also includes: when the transceiver request of any one of the WIFI module and the ZigBee module is to send, and the ZigBee module is of low priority, authorizing the WIFI module to use its working channel. When the transceiver request of any one of the WIFI module and the ZigBee module is to send, and the ZigBee module is of high priority, authorizing the ZigBee module to use its working channel.

[0053] Among them, the optimized arbitration strategy uses the following arbitration form for authorization arbitration:

[0054]

[0055]

[0056] Table 1 Arbitration Form

[0057] Since ZigBee module 1 is used less frequently and the transmission and reception time of ZigBee module 1 is only a few seconds each time, the priority of the transmission and reception request of ZigBee module 1 is high, so ZigBee module 1 is authorized to use its channel for transmission first. At this time, the above arbitration table used is the configuration under the best scenario, which is only an example of the configuration under the best scenario. In other application scenarios, except that the requests received by WIFI module 3 and ZigBee module 1 are all received, there is only one arbitration result. When any of the requests received by WIFI module 3 and ZigBee module is sent, the arbitration result can be customized according to the application scenario, that is, in other application scenarios, the arbitration result of the above arbitration table can be customized according to actual needs.

[0058] Based on the above embodiments, Figure 2 As shown, using the above arbitration table, step A3 is described through a specific embodiment, including:

[0059] Step A31, determine whether the received requests of the WIFI module 3 and the ZigBee module 1 are both received:

[0060] If yes, go to step A32.

[0061] If not, go to step A33.

[0062] Step A32: authorize the WIFI module 3 and the ZigBee module 1 to use corresponding working channels to receive messages respectively.

[0063] Step A33: determine whether the priority of the receiving and sending request of the WIFI module 3 is greater than the priority of the receiving and sending request of the ZigBee module 1:

[0064] If yes, go to step A34.

[0065] If not, go to step A35.

[0066] Step A34, authorizing the WIFI module 3 to use the selected working channel to send or receive messages.

[0067] Step A35: Authorize the ZigBee module 1 to use the selected working channel to send or receive messages.

[0068] In this embodiment, the interference of WIFI to ZigBee can be subdivided into: the interference of WIFI transmission to ZigBee, and the no influence of WIFI reception on ZigBee reception. Therefore, the interference characteristics of the two wireless networks can be used to solve the co-channel interference problem, improve the throughput of the interface, and improve the reliability and performance of the device.

[0069] In some other embodiments, the channels in the recommended channel list are channels without WIFI interference.

[0070] In this embodiment, considering that the channels used by WIFI in China are 1 / 6 / 11, and ZigBee has 16 channels, the ZigBee channels overlapping with WIFI channel 1 are 11, 12, 13, and 14, the ZigBee channels overlapping with channel 6 are 16, 17, 18, and 19, and the ZigBee channels overlapping with channel 11 are 21, 22, 23, and 24. The non-overlapping channels are 15, 20, 25, and 26, and channels 14 and 19 are less interfered. Therefore, the ZigBee Alliance recommends that ZigBee give priority to using channels 14 / 15 / 19 / 20. The recommended channel list can use channels 14 / 15 / 19 / 20.

[0071] In specific applications, the recommended channel list may also be configured according to actual network conditions, and the channels in the recommended channel list must meet the condition that they will not be occupied by the WIFI module 3 .

[0072] like Figure 3 As shown, an embodiment of a method for enhancing the same-frequency anti-interference capability is provided, the method comprising:

[0073] Step S1: pre-configure a recommended channel list in the ZigBee module 1.

[0074] Step S2: WIFI module 3 and ZigBee module 1 are networked respectively, and ZigBee module 1 scans the working channels in the recommended channel list when networking, and determines whether all channels in the recommended channel list are occupied:

[0075] If yes, go to step S3.

[0076] If not, go to step S4.

[0077] Step S3: The ZigBee module 1 continues to scan other channels and selects an unoccupied channel as a working channel.

[0078] Step S4: The ZigBee module 1 selects an unoccupied channel from the recommended channel list as a working channel.

[0079] Step S5, obtaining the working channels and sending and receiving requests of the WIFI module 3 and the ZigBee module 1.

[0080] Step S6: Determine whether the working channel of the ZigBee module 1 is in the preset recommended channel list:

[0081] If yes, go to step S7.

[0082] If not, go to step S8.

[0083] Step S7: using a non-cooperative coexistence solution to allocate working channels to the WIFI module 3 and the ZigBee module 1.

[0084] Step S8: Determine whether the working channels of the WIFI module 3 and the ZigBee module 1 overlap:

[0085] If yes, go to step S9.

[0086] If not, go to step S10.

[0087] Step S9: using a cooperative coexistence solution to allocate working channels to the WIFI module 3 and the ZigBee module 1.

[0088] Step S10: using an optimized arbitration strategy to allocate working channels to the WIFI module 3 and the ZigBee module 1.

[0089] In this embodiment, when establishing a ZigBee network, the ZigBee module 1 first scans the recommended channel list that may not be occupied by WIFI. If all channels are occupied, it scans the optimal channel that is not currently occupied and reports the selected channel. The WIFI interface also reports the selected channel when determining its own working channel. Finally, channel allocation is performed based on the channels reported by the WIFI module 3 and the ZigBee module 1.

[0090] When using WIFI and ZigBee air interfaces on the same network device, first determine whether the working channel of ZigBee module 1 is in the preset recommended channel list. If not, continue to determine whether the working channels of WIFI module 3 and ZigBee module 1 overlap. If the working channels of the two overlap, a collaborative coexistence scheme is adopted, that is, the working channels are allocated to WIFI module 3 and ZigBee module 1 through time division multiplexing. If the working channels of the two do not overlap, an anti-interference method based on an optimized arbitration strategy is adopted to allocate working channels to WIFI module 3 and ZigBee module 1.

[0091] In some other embodiments, the method further includes that the ZigBee module 1 performs a CCA (Clear Channel Assessment, empty channel detection technology) detection before each transmission through the working channel. When the number of consecutive detection failures reaches a preset threshold, the ZigBee module 1 changes the priority sent in the transceiver request from a low priority to a high priority, until the CCA detection is successful, the ZigBee module 1 changes the priority sent in the transceiver request from a high priority to a low priority.

[0092] In this embodiment, when the PTA mechanism is enabled, considering that ZigBee transmission has a MAC layer retransmission and response mechanism, the transmission priority of ZigBee module 1 is usually set to the lowest. When WIFI is in a busy state, the transmission of the ZigBee interface is easily blocked. Therefore, it is necessary to improve the transmission priority of the ZigBee interface based on certain rules.

[0093] The ZigBee physical layer performs CCA detection before sending. If the CCA detection fails for n consecutive times, the priority of the transmission is increased until a successful transmission and an ACK message is received, and then it is restored to the original low priority. If retransmission fails or key information (such as beacon frames) needs to be resent, the ZigBee message can be sent first by increasing the transmission priority of ZigBee module 1.

[0094] On non-overlapping channels (normal working environment), the interference characteristics of the two wireless networks and the retransmission mechanism of ZigBee can be utilized. WIFI and ZigBee can enable receive requests at the same time, which can promptly process the asynchronous messages sent by the sub-devices, improve the transmission rate of the network devices, reduce the number of device retransmissions, and improve the battery life of the sub-devices.

[0095] like Figure 4 As shown, an embodiment of the present invention also provides a system for enhancing the same-frequency anti-interference capability, the system includes a network device, the network device includes a WIFI module 3 and a ZigBee module 1, and the system also includes a host control module 4 connecting the WIFI module 3 and the ZigBee module 1.

[0096] The host control module 4 is used to obtain the working channels and sending and receiving requests of the WIFI module 3 and the ZigBee module 1. After that, the host control module 4 is also used to determine whether the working channels of the WIFI module 3 and the ZigBee module 1 overlap when the working channel of the ZigBee module 1 is not in the preset recommended channel list. If so, a collaborative coexistence scheme is used to allocate working channels for the WIFI module 3 and the ZigBee module 1; if not, an optimized arbitration strategy is used to allocate working channels for the WIFI module 3 and the ZigBee module 1.

[0097] The optimized arbitration strategy includes authorizing the two modules to use their respective working channels when the host control module 4 determines that the transceiver requests of the WIFI module 3 and the ZigBee module 1 are both receiving; and authorizing the one with a higher priority among the two modules to use its working channel when the host control module 4 determines that the transceiver request of any one of the WIFI module 3 and the ZigBee module 1 is sending.

[0098] Furthermore, the optimized arbitration strategy also includes: when the transceiver request of any one of the WIFI module and the ZigBee module is to send, and the ZigBee module is of low priority, authorizing the WIFI module to use its working channel. When the transceiver request of any one of the WIFI module and the ZigBee module is to send, and the ZigBee module is of high priority, authorizing the ZigBee module to use its working channel.

[0099] In this embodiment, the host control module 4 improves the same-frequency anti-interference capability of WIFI and ZigBee on the same network device through the combination of channel isolation and PTA anti-interference, thereby enhancing the adaptability of the network device in different usage environments.

[0100] On non-overlapping channels (normal working environment), the host control module 4 can enable WIFI and ZigBee to receive requests at the same time, and can promptly process asynchronous messages sent by sub-devices, thereby increasing the transmission rate of network devices, reducing the number of device retransmissions, and increasing the battery life of sub-devices.

[0101] In a preferred embodiment, the channels in the recommended channel list are channels without WIFI interference.

[0102] In a preferred embodiment, the host control module 4 is also used to pre-configure a recommended channel list in the ZigBee module 1 according to user input.

[0103] The host control module 4 is also used to control the ZigBee module 1 to scan the working channels in the recommended channel list when the ZigBee module 1 is networked, and to determine whether the channels in the recommended channel list are all occupied by the WIFI module 3. If so, the ZigBee module 1 is controlled to continue scanning other channels and select a working channel therefrom; if not, the ZigBee module 1 is controlled to select a working channel from the recommended channel list.

[0104] In a preferred embodiment, the host control module 4 is further configured to allocate working channels to the WIFI module 3 and the ZigBee module 1 using a non-cooperative coexistence solution when the working channel of the ZigBee module 1 is in a preset recommended channel list.

[0105] In a preferred embodiment, the ZigBee module 1 also includes a CCA detection unit 2 connected to the WIFI module 3 and the ZigBee module 1, which is used to perform a CCA detection before the ZigBee module 1 sends through the working channel each time. When the number of consecutive detection failures reaches a preset threshold, the CCA detection unit 2 changes the priority sent in the sending and receiving request from a low priority to a high priority, until the CCA detection is successful, the CCA detection unit 2 changes the priority sent in the sending and receiving request from a high priority to a low priority.

[0106] The present application is not limited to the above-mentioned implementation modes. For ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications are also considered to be within the scope of protection of the present application.

Claims

1. A method for enhancing the same-frequency anti-interference capability, applicable to a network device, the network device comprising a WIFI module and a ZigBee module; characterized in that: The method comprises: Get the working channel and sending and receiving requests of the WIFI module and ZigBee module; When the working channel of the ZigBee module is not in the preset recommended channel list, it is determined whether the working channels of the WIFI module and the ZigBee module overlap. If so, a cooperative coexistence scheme is used to allocate the working channel; if not, an optimized arbitration strategy is used to allocate the working channel; the cooperative coexistence scheme is a time division multiplexing method using the PTA mechanism, and only one of the WIFI module and the ZigBee module works in the same time period; The optimized arbitration strategy includes: when the transceiver requests of the WIFI module and the ZigBee module are both receiving, authorizing the WIFI module and the ZigBee module to use their respective working channels at the same time; when the transceiver request of any one of the WIFI module and the ZigBee module is sending, authorizing the one with a higher priority among the WIFI module and the ZigBee module to use its working channel.

2. The method for enhancing the same-frequency anti-interference capability according to claim 1 is characterized in that: The optimized arbitration strategy also includes: when the receiving and sending request of any one of the WIFI module and the ZigBee module is sending, and the ZigBee module has a low priority, authorizing the WIFI module to use its working channel; When the transceiver request of any one of the WIFI module and the ZigBee module is to send, and the ZigBee module has a high priority, the ZigBee module is authorized to use its working channel.

3. The method for enhancing the same-frequency anti-interference capability according to claim 1 is characterized in that: The channels in the recommended channel list are channels without WIFI interference.

4. The method for enhancing the same-frequency anti-interference capability according to claim 1 is characterized in that: The method further comprises: Pre-configure the recommended channel list in the ZigBee module; When the ZigBee module is networking, it scans the working channels in the recommended channel list and determines whether all the channels in the recommended channel list are occupied. If so, it continues to scan other channels and selects an unoccupied channel as the working channel; if not, it selects an unoccupied channel from the recommended channel list as the working channel.

5. The method for enhancing the same-frequency anti-interference capability according to claim 1, characterized in that: The method further comprises: When the working channel of the ZigBee module is in the preset recommended channel list, a non-cooperative coexistence scheme is used to allocate the working channel; the non-cooperative coexistence scheme is to use non-overlapping channels for the WIFI module and the ZigBee module through frequency division multiplexing.

6. The method for enhancing the same-frequency anti-interference capability according to claim 1, characterized in that: The method further comprises: The ZigBee module performs a CCA test before each transmission through the working channel. When the number of consecutive detection failures reaches the preset threshold, the ZigBee module changes the priority sent in the transceiver request from low priority to high priority until the CCA test succeeds, at which point the ZigBee module changes the priority sent in the transceiver request from high priority to low priority.

7. A system for enhancing the same-frequency anti-interference capability, the system comprising a network device, the network device comprising a WIFI module and a ZigBee module; characterized in that: The system further comprises: A host control module, which is connected to the WIFI module and the ZigBee module, and is used to obtain the working channels and sending and receiving requests of the WIFI module and the ZigBee module; The host control module is also used to determine whether the working channels of the WIFI module and the ZigBee module overlap when the working channel of the ZigBee module is not in the preset recommended channel list. If so, a collaborative coexistence scheme is used to allocate working channels for the WIFI module and the ZigBee module; if not, an optimized arbitration strategy is used to allocate working channels for the WIFI module and the ZigBee module; the collaborative coexistence scheme is a time division multiplexing method using a PTA mechanism, and only one of the WIFI module and the ZigBee module works in the same time period; The optimized arbitration strategy includes authorizing the WIFI module and the ZigBee module to use their respective working channels when the host control module determines that the transceiver requests of the WIFI module and the ZigBee module are both receiving; and authorizing the one with a higher priority among the WIFI module and the ZigBee module to use its working channel when the host control module determines that the transceiver request of any one of the WIFI module and the ZigBee module is sending.

8. The system for enhancing the same-frequency anti-interference capability according to claim 7, characterized in that: The channels in the recommended channel list are channels without WIFI interference; The host control module is also used to pre-configure a recommended channel list in the ZigBee module according to user input; The host control module is also used to control the ZigBee module to scan the working channels in the recommended channel list when the ZigBee module is networked, and to determine whether all the channels in the recommended channel list are occupied. If so, the host control module is controlled to continue scanning other channels and select an unoccupied channel therefrom as the working channel; if not, the host control module is controlled to select an unoccupied channel from the recommended channel list as the working channel.

9. The system for enhancing the same-frequency anti-interference capability according to claim 7, characterized in that: The host control module is also used to allocate working channels to the WIFI module and the ZigBee module using a non-cooperative coexistence solution when the working channel of the ZigBee module is in a preset recommended channel list.

10. The system for enhancing the same-frequency anti-interference capability according to claim 7, characterized in that: The ZigBee module also includes: The CCA detection unit is used to perform a CCA detection before the ZigBee module sends through the working channel each time. When the number of consecutive detection failures reaches a preset threshold, the CCA detection unit changes the priority sent in the transceiver request from a low priority to a high priority until the CCA detection succeeds. At this time, the CCA detection unit changes the priority sent in the transceiver request from a high priority to a low priority.

Citation Information

Patent Citations

  • Coexisting method for Zigbee and WiFi (Wireless Fidelity)

    CN104902545A

  • Data packet transmitting method and equipment

    CN108650193A