WO2021051375A1 - Method for determining communication channel, and communication device and storage medium - Google Patents

Method for determining communication channel, and communication device and storage medium Download PDF

Info

Publication number
WO2021051375A1
WO2021051375A1 PCT/CN2019/106895 CN2019106895W WO2021051375A1 WO 2021051375 A1 WO2021051375 A1 WO 2021051375A1 CN 2019106895 W CN2019106895 W CN 2019106895W WO 2021051375 A1 WO2021051375 A1 WO 2021051375A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
communication device
candidate
interference intensity
communication
Prior art date
Application number
PCT/CN2019/106895
Other languages
French (fr)
Chinese (zh)
Inventor
张志鹏
尹小俊
陈文月
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201980033188.0A priority Critical patent/CN112166639A/en
Priority to PCT/CN2019/106895 priority patent/WO2021051375A1/en
Publication of WO2021051375A1 publication Critical patent/WO2021051375A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/541Allocation or scheduling criteria for wireless resources based on quality criteria using the level of interference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria

Definitions

  • This application relates to the field of communication technologies, and in particular, to a method, communication device, and storage medium for determining a communication channel.
  • WIFI technology has a wide application range, so there are many scenarios where communication based on WIFI protocol and communication based on other communication protocols coexist. For example, for some communication devices, it can communicate based on WIFI protocol or other protocols different from WIFI (such as some custom communication protocols), and the channels supported by the two communication protocols are in the ISM frequency band. There is a greater possibility of overlap, so it is easy to cause channel interference.
  • some technologies adopt automatic frequency hopping technology, that is, one of the devices based on WIFI protocol communication or communication based on other protocols performs channel interference detection and detection. Avoid interference when it comes to interference. Because Wifi communication has the characteristics of strong signal and low duty cycle in close proximity, when the other party detects Wifi communication interference, there is a high probability that the existence of Wifi interference will not be found, and the channel cannot be switched if the interference is not found. To evade, which seriously affects the quality of communication. Some technologies use channel planning to divide the channels used by the two communication protocols into two non-overlapping parts. For example, they use different frequency bands. For example, the Wifi protocol uses the 5.8GHz frequency band, and other communication protocols use the 2.4G frequency band. The disadvantage of this method is that it is not flexible enough and the channel utilization rate is low.
  • embodiments of the present invention provide a method for determining a communication channel, a communication device, and a storage medium.
  • a method for determining a communication channel is applied to a communication device.
  • the communication device includes a first communication device based on a WI-FI communication protocol and a method based on a communication protocol other than WI-FI.
  • the second communication device of the communication protocol the method includes:
  • the target channel to be occupied by the second communication device is determined from the candidate channel according to the corrected interference intensity.
  • a communication device including a memory, a processor, a first communication device based on a WI-FI communication protocol, and a second communication device based on a communication protocol different from the WI-FI An apparatus, wherein the memory is used to store a computer program executed on the processor, and the processor implements the computer program executed in the following steps when the processor executes the program:
  • the target channel to be occupied by the second communication device is determined from the candidate channel according to the corrected interference intensity.
  • a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method according to any one of the embodiments of the present invention is implemented.
  • the configuration information of the configuration channel of the first communication device based on the Wifi protocol communication can be obtained first, and then based on the configuration information
  • the interference intensity of each candidate channel of the second communication device communicating based on a communication protocol different from the Wifi protocol is corrected, and the to-be-occupied channel of the second communication device is selected from the candidate channels according to the corrected interference intensity. In this way, it is possible to avoid overlapping of the communication channel of the second communication device with the communication channel of the first communication device, reduce channel interference, and improve communication quality.
  • Fig. 1 is a schematic diagram of an application scenario provided in an exemplary embodiment of the present invention.
  • Fig. 2 is a flowchart of a method for determining a communication channel provided in an exemplary embodiment of the present invention.
  • Fig. 3 is a schematic diagram of a communication channel number provided in an exemplary embodiment of the present invention.
  • Fig. 4 is a flowchart of a method for determining a communication channel provided in an exemplary embodiment of the present invention.
  • Fig. 5 is a schematic diagram of a communication device provided in an exemplary embodiment of the present invention.
  • Wifi technology has applications in many fields, so many scenarios have scenarios where communication based on the Wifi protocol and other communication protocols other than the Wifi protocol coexist.
  • current communication devices such as unmanned robots (such as unmanned aerial vehicles, unmanned ground robots) can transmit data based on other communication protocols other than the Wifi protocol, and can also transmit data based on the Wifi protocol.
  • the channels used by the protocol are all in the ISM frequency band, and the channels are prone to overlap each other, causing serious wireless interference and affecting the reliability and quality of communication.
  • some technologies adopt interference detection methods. For example, one of the communication devices based on two communication protocols performs channel interference detection. If interference is detected, it will avoid it when selecting channels. However, because Wifi communication has the characteristics of strong signal at close range and low duty cycle, there is a high probability that the existence of Wifi interference will not be found when performing channel interference detection. However, some custom video transmission protocols cannot trigger the Wifi's CCA (Clear Chanel Assessment) threshold due to their weak signal and high duty cycle characteristics. Therefore, there is a high probability that these custom-based video transmission protocols cannot be found. Interference caused by communication protocol communication. If the interference cannot be found, the channel switching cannot be performed to avoid, which seriously affects the communication quality.
  • CCA Cross Chanel Assessment
  • an embodiment of the present invention provides a method for determining a communication channel. This method is suitable for scenarios where Wifi protocol communication and non-Wifi communication protocol coexist.
  • the configuration information of the Wifi protocol channel can be obtained first, and then the non-Wifi communication protocol can be used according to the channel configuration information Correct the interference intensity of each candidate channel, and select the target channel to be occupied by the non-Wifi communication protocol based on the corrected interference intensity, so as to avoid overlapping with the Wifi protocol communication channel as much as possible, and select the channel with less interference intensity to improve communication quality.
  • the method for determining the communication channel provided by the embodiment of the present invention can be applied to a communication device.
  • the communication device can be an unmanned robot (such as a drone or an unmanned ground robot).
  • Wifi protocol is a device that communicates with other communication protocols.
  • the communication device includes a first communication device and a second communication device, wherein the first communication device is used for communication based on the Wifi protocol, and the second communication device is used for communication based on another communication protocol different from the Wifi protocol.
  • Fig. 1 is a schematic diagram of an application scenario of a method for determining a communication channel provided by an embodiment of the present invention.
  • This application scenario includes multiple communication devices 11, the communication device 11 includes a first communication device 111 that communicates based on the Wifi protocol and a second communication device 112 that communicates based on a communication protocol different from the Wifi protocol, the first communication device of the communication device 111 is in communication connection with the routing device 12, and the communication devices communicate through Wifi.
  • Each communication device 11 corresponds to a control terminal 13, and the communication device 11 and its corresponding control terminal 13 communicate through a communication protocol different from the Wifi protocol.
  • FIG. 2 a flowchart of a method for determining a communication channel provided by an embodiment of the present invention is shown in FIG. 2, and includes the following steps:
  • S204 Scan multiple candidate channels of the second communication device to determine the interference intensity of the candidate channel, where the candidate channel of the second communication device includes one or the other of the first communication device. Multiple configuration channels;
  • S208 Determine a target channel to be occupied by the second communication device from the candidate channel according to the corrected interference intensity.
  • the communication protocol different from the Wifi protocol in the embodiment of the present invention may be a custom communication protocol, such as a custom image transmission protocol (such as the SDR protocol, etc.).
  • the communication protocol different from the Wifi protocol The protocol can be other standard protocols, such as Bluetooth communication protocol. Since the frequency band used by the communication protocol different from the Wifi protocol and the frequency band used by the Wifi protocol are both the ISM frequency band, the communication channels of the two protocols overlap to a certain extent.
  • the configuration information of the configuration channel of the first communication device can be obtained first, where the configuration channel of the first communication device It is a channel that needs to be occupied when communicating based on the Wifi protocol.
  • the configuration channel can be configured by the user through the routing device, or it can be automatically configured by the routing device according to the actual application scenario. For example, according to the Wifi protocol, Wifi can use two bandwidths of 20MHz/40MHz in the 2.4G band, and three bandwidths of 20MHz/40MHz/80MHz in the 5.8G band. Suppose that the channel frequency band configured for Wifi communication is 5.8G and the bandwidth is 80MHz. At this time, the number of the channel used for communication can be 149-161, so the configured channel is the channel numbered 149-161.
  • the configuration information can be related information used to describe the configuration channel, such as the frequency band where the configuration channel is located, the number of the configuration channel, the channel bandwidth, the main channel number, and the auxiliary channel number.
  • the main channel is the priority for each Wifi communication. Occupied channel. As shown in Figure 3, taking the 5.8 frequency band and 80M bandwidth mode as an example, the configuration information may include the following information:
  • Frequency band of the channel 5.8G frequency band;
  • the main 20M channel number is 149;
  • the auxiliary 20M channel number is 153;
  • the main 40M channel number is 149-153;
  • the auxiliary 40M channel number is 157-161.
  • the configuration information may be the channel bandwidth and the main channel number, and the channel occupied by the Wifi communication can be determined according to the channel bandwidth and the main channel number.
  • the interference intensity of all candidate channels of the second communication device can be scanned.
  • the candidate channel of the second communication device is a channel defined in the communication protocol different from the Wifi protocol that can support the protocol.
  • the communication protocol different from the Wifi protocol defines that the channels supported by the protocol are part or all of the channels in the 5.8G frequency band or the 2.4 frequency band, and these channels supported by the protocol are all candidate channels.
  • the candidate channel partially overlaps or completely overlaps the configuration channel of Wifi communication, and the candidate channel includes one or more configuration channels of the first communication device.
  • the candidate channel may be any channel in the 2.4G frequency band and the 5.8G frequency band
  • the Wifi configuration channel is the 5.8G frequency band channel, which is numbered 149-161.
  • both the candidate channel and the Wifi configuration channel may be channels numbered 149-161 in the 5.8G frequency band channel.
  • the candidate channel of the second communication device may include one or more of the primary channel of the first communication device, the secondary 20M channel, and the secondary 40M channel.
  • the channel supported by the second communication device may overlap only with the main channel of the first communication device, or only overlap with the secondary 20M channel or the secondary 40M channel, or overlap with the primary channel, the secondary 20M channel, and the secondary 40M channel.
  • the interference strength of the candidate channel may be corrected according to the configuration information of the first communication device. Correcting the interference intensity of the candidate channel can try to avoid the second communication device from using the channel already occupied by the first communication device, thereby avoiding mutual interference and affecting the communication quality.
  • the use priority of the candidate channel may be determined according to the configuration information of the configuration channel of the first communication device, and then the use priority of the candidate channel may be determined according to the use priority. The interference intensity is corrected. Wherein, the priority of use can be set according to the occupancy of the candidate channel by the first communication device.
  • the more frequently the channel is used by the first communication device the lower the priority of use for the second communication device. In this way, it is possible to avoid conflict between the two channels and cause interference.
  • the first communication device uses less or does not use a channel, for the second communication device, its use priority may be higher.
  • the priority of the use of the channels outside the bandwidth is highest. For example, if the Wifi configuration mode of the first communication device is 5.8G, 80M bandwidth mode, the channel occupied by the first communication device is the channel numbered 149-161 in the 5.8G frequency band, and the alternate channel of the second communication device is All channels in the 5.8G frequency band and 2.4G frequency band, at this time, all channels in the 2.4G frequency band and the 5.8G frequency band except for the channels numbered 149-161 are all channels outside the bandwidth of the first communication device. In the case of priority, the priority of these channels can be set to the highest.
  • the main channel may be the main 20M channel or the main 40M channel of the first communication device.
  • the main channel of is the channel most frequently used by the first communication device, so the second communication device tries to avoid occupying these channels, so the use priority of the main channel can be set to the lowest.
  • the Wifi configuration mode of the first communication device is 5.8G, 80M bandwidth mode, where the main 20M channel number is 149, and the channel occupied by the first communication device is the channel numbered 149-161 in the 5.8G frequency band.
  • the candidate channels of the second communication device are all channels in the 5.8G and 2.4G frequency bands. At this time, when setting the priority of the candidate channels, in order to avoid conflicts with the channels of the first communication device as much as possible, you can set the main 20M The priority of the channel is set to the channel with the lowest priority among all candidate channels.
  • the priority of the secondary 40M channel is higher than the priority of the secondary 20M channel .
  • the alternate channels of the second communication device are all channels in the 5.8G frequency band and 2.4G frequency band. Since the frequency of use of the secondary 20M channel is higher than that of the secondary 40M channel, at this time, when setting the use priority of the candidate channel, the use priority of the secondary 40M channel may be higher than that of the secondary 20M channel.
  • the interference intensity of the candidate channel can be corrected according to the use priority of the candidate channel.
  • the compensation interference intensity of each channel may be determined according to the priority of use of the candidate channel, and then the compensation interference intensity is used to correct the interference intensity of the candidate channel.
  • the intensity of compensation interference is negatively related to the priority of use of the candidate channel, that is, the higher the priority of use, the lower the intensity of compensation interference.
  • the interference intensity of the candidate channel is corrected according to the priority of the use of the candidate channel, so that the channel that the first communication device uses frequently after the correction can have a greater interference strength, so that the second communication device can be selected for communication according to the interference strength.
  • the candidate channels of the second communication device include all channels occupied by the first communication device and channels outside its bandwidth, and all candidate channels of the second communication device are prioritized.
  • the priority order of each candidate channel is as follows: channels outside the bandwidth> secondary 40MHz channel> secondary 20MHz channel> primary 20MHz channel.
  • the compensation interference intensity of each candidate channel can be determined as C0, C1, C2, C3, where C0 ⁇ C1 ⁇ C2 ⁇ C3, for example, C0, C1, C2, and C3 are respectively 0dB, 10dB, 20DB, 30dB.
  • the specific value of the compensation intensity can be set based on experience, which is not limited in the present invention.
  • the target channel used by the second communication device for communication is selected according to the interference intensity.
  • determining the compensation interference intensity according to the use priority of the candidate channel to correct the interference intensity of each candidate channel is only an embodiment of the present invention, and the present invention is not limited to this manner.
  • a correction coefficient may be set according to the priority of use of the candidate channel, and then the correction coefficient may be used to correct the interference intensity of the candidate channel.
  • the interference intensity can be multiplied by a correction coefficient greater than one, and the more frequently it is used, the greater the correction coefficient.
  • the channel outside the bandwidth of the first communication device it can be multiplied by a correction coefficient equal to 1 or less than 1, so that the final interference intensity obtained is smaller.
  • the present invention can adopt various methods to correct the interference intensity. Its ultimate purpose is to make the interference intensity of the frequently used channel of the first communication device after the correction, the channel interference intensity is as large as possible, and try to avoid the second communication. The device goes to occupy this channel, causing channel interference.
  • the compensation interference intensity of the candidate channel when the compensation interference intensity of the candidate channel is determined according to the use priority of each candidate channel, and then the compensation interference intensity is used to correct the interference channel of each channel, the channel outside the bandwidth of the first communication device ,
  • the compensation interference intensity can be set to 0dB.
  • the above is only an illustrative example, and the compensation interference intensity can be flexibly set according to actual needs and experience.
  • the target channel to be occupied by the second communication device can be selected from the candidate channels according to the corrected interference intensity.
  • the channel with the smallest interference intensity after correction is a channel within the bandwidth of the first communication device, that is, the first communication device is also using the channel, there may be a utilization rate of the channel with the smallest interference intensity after correction.
  • the channel load parameter of the first communication device can be acquired first, where the channel load parameter is used to indicate the utilization status of the configured channel by the first communication device.
  • the channel load parameter can be the channel bandwidth of the first communication device.
  • the maximum occupancy rate may also be another parameter that characterizes the utilization rate status of the configured channel by the first communication device.
  • the load parameter may be compared with the preset channel load parameter threshold of the candidate channel with the least interference intensity after the correction, and if the channel load parameter is less than or equal to the corrected channel load parameter For the channel load parameter threshold corresponding to the candidate channel with the smallest interference intensity, the modified candidate channel with the smallest interference intensity is determined as the target channel to be occupied by the second communication device. If it is greater than, the candidate channel with the smallest interference intensity after correction is not used for the time being, but the communication of the second communication device can be delayed to avoid channel interference and respond to the communication quality.
  • the channel load parameter may be determined according to the amount of data transmitted by the first communication device and the maximum amount of data transmitted by the configured channel. Taking the application scenario shown in Figure 1 as an example, suppose the communication device is an unmanned robot, and there are N unmanned robots connected to the routing device, and each unmanned robot is connected to the routing device through the first communication device.
  • the amount of data transmitted by the first communication device you can first determine the number of unmanned robots connected to the Wifi hotspot of the routing device as N, and then determine that the bandwidth occupied by the data transmitted between each unmanned robot is M1 , The maximum amount of data transmitted by the first communication device can be M1*N*(N-1), and then divide the data amount by the maximum amount of data that can be transmitted by the configuration channel of the first communication device (determined according to the maximum bandwidth) The load parameter can be obtained.
  • a channel load parameter threshold can be set for each candidate channel in advance.
  • the load parameter of the channel can be compared with the preset load parameter threshold.
  • the load parameter threshold can be set based on experience, and the load parameter thresholds are different for different candidate channels. For example, in some embodiments, for different candidate channels, the corresponding load parameter thresholds can be set to different values.
  • the one with the least interference intensity after correction can be set to different values.
  • the load parameter is ⁇ 0.5* ⁇ ; if the channel bandwidth of the first communication device is 80MHz, and the candidate channel with the smallest interference intensity after the correction is the secondary 40MHz channel, the load parameter is ⁇ 0.5* ⁇ ; If the channel bandwidth of the first communication device is 80 MHz, and the candidate channel with the smallest interference intensity after the correction is the secondary 20 MHz channel, then the load parameter ⁇ 0.25* ⁇ .
  • is a constant less than 1, which can be set according to specific application scenarios.
  • the interference intensity of each candidate channel of the second communication device communicating based on a communication protocol different from the Wifi protocol can be corrected according to the channel configuration information of the first communication device based on Wifi communication , In order to avoid using the same channel for the two communications, causing channel interference. In this way, it is possible to overcome the use of directly scanning the candidate channel of the second communication device, and determining the channel to be occupied by the detected interference intensity. Due to the low duty cycle of Wifi communication, scanning cannot be performed during interference monitoring. The interference to Wifi communication causes the determined channel to overlap with the channel used by Wifi, and it is impossible to accurately select the best communication channel. Through the method provided by the embodiment of the present invention, it is possible to avoid selecting the frequently occupied channel of the first communication device for communication as much as possible, so as to minimize interference.
  • the communication device is an unmanned control robot, and multiple unmanned control robots are connected to the routing device.
  • the unmanned control robot includes a first communication device based on Wifi protocol communication. The robots communicate through the first communication device.
  • the unmanned robot also includes a second communication device based on a custom wireless image transmission protocol.
  • the unmanned robot and its corresponding control equipment communicate through the second communication device. Communication.
  • the channels supported by the custom wireless image transmission protocol are all channels in the 5.8G frequency band and 2.4G frequency band. That is, the candidate channels of the second communication device are all channels in the 5.8G frequency band and the 2.4G frequency band.
  • the configuration information of the first communication device that is, the channel of the Wifi communication may be acquired first, and the configuration information includes the number and channel bandwidth of the main 20M signal of the Wifi (S401).
  • the configuration information of Wifi communication it can be determined that the Wifi channel is in the 5.8G frequency band, 80M bandwidth mode, and its main 20M channel number is 149, then it can be known that its secondary 20M channel number is 153, and the main 40M channel is numbered 149-153.
  • the auxiliary 40M channel number is 157-161.
  • the priority of the candidate channel of the second communication device can be set (S402).
  • the 2.4G frequency band and the 5.8G frequency band are not occupied except for the channels numbered 149-161. Therefore, these The channels are collectively referred to as Wifi bandwidth external channels.
  • the following principles can be followed when setting the priority: Wifi bandwidth external channel> secondary 40MHz channel> secondary 20MHz channel> primary 20MHz channel.
  • all candidate channels can be scanned to determine the interference strength of each candidate channel (S403). It should be pointed out that step 403 may be before steps 401 and 402 or after step 402, and the present invention is not limited.
  • a compensation interference intensity for each candidate channel according to the priority of the candidate channel (S404), so as to use the compensation interference intensity to correct the interference intensity of the candidate channel obtained by scanning (S405), where the magnitude of the compensation interference intensity Negatively related to priority.
  • the compensation interference intensity of the above channel is C0dB, C1dB, C2dB, C3dB, then C0 ⁇ C1 ⁇ C2 ⁇ C3, for example, 0, 10dB, 20dB, 30dB can be compensated respectively, and then the second communication device is performed according to the corrected interference intensity Channel selection.
  • the channel with the smallest interference intensity from the corrected interference intensity and judge whether the channel is a Wifi bandwidth external channel (S406), if the channel with the smallest interference intensity is a Wifi bandwidth external channel, directly use this channel as the second communication
  • the communication channel of the device (S407). If the channel with the least interference intensity is the channel within the Wifi bandwidth, the maximum bandwidth occupancy rate of the WiFi channel can be obtained first.
  • the maximum bandwidth occupancy rate of the WiFi channel can be based on the number of unmanned robots connected to WiFi and the number of unmanned robots.
  • the amount of data to be transmitted between and the bandwidth of the Wifi channel are determined (S408). After determining the maximum bandwidth occupancy rate in each Wifi bandwidth, the communication channel of the second communication device can be determined according to the following rules:
  • the maximum bandwidth of Wifi is 40MHz, and the auxiliary 20MHz can only be used when R ⁇ 0.5* ⁇ ;
  • the maximum bandwidth of Wifi is 80MHz, and the auxiliary 40MHz can only be used when R ⁇ 0.5* ⁇ ;
  • the maximum bandwidth of Wifi is 80MHz, and the auxiliary 20MHz can only be used when R ⁇ 0.25 ⁇ ;
  • ⁇ 1 is a constant, and its value can be determined based on experience.
  • the candidate channel with the least interference intensity after correction is less than or corresponds to the preset threshold of the candidate channel (S409), and when it is less than or equal to, the candidate channel with the least interference intensity after correction is selected as the candidate channel If the communication channel of the second communication device (S410) is greater than that, the modified candidate channel with the smallest interference intensity is not selected, but the communication of the second communication device is delayed (S411).
  • An embodiment of the present invention also provides a communication device.
  • the communication device includes a memory 502, a processor 504, a first communication device 506 based on a WI-FI communication protocol, and a communication protocol other than WI-FI.
  • the second communication device 508 of and a computer program stored on the memory and executable on the processor, and the processor implements the following steps when the processor executes the program:
  • the target channel to be occupied by the second communication device is determined from the candidate channel according to the corrected interference intensity.
  • the configuration information includes: the channel bandwidth and the main channel number of the first communication device.
  • the candidate channel includes one or more of the primary channel, the secondary 40M channel, and the secondary 20M channel of the first communication device.
  • the processor corrects the interference intensity based on the configuration information, which is specifically configured to:
  • the interference intensity of each candidate channel is corrected based on the use priority of each candidate channel.
  • the use priority of the bandwidth out-of-band channel of the first communication device is the highest.
  • the use priority of the main channel is the lowest.
  • the priority of the secondary 40M channel is higher than the priority of the secondary 20M channel.
  • the processor when the processor corrects the interference intensity of each candidate channel based on the use priority of each candidate channel, it is specifically configured to:
  • the compensation interference intensity is used to correct the interference intensity of each candidate channel.
  • the compensation interference intensity is 0 dB.
  • the processor determines the target channel to be occupied by the second communication device according to the corrected interference intensity, it is specifically configured to:
  • the channel with the smallest interference intensity after correction is selected as the target channel to be occupied by the second communication device.
  • the processor is further configured to:
  • the channel load parameter is used to indicate the usage rate status of the configuration channel by the first communication device
  • the processor determines the candidate channel with the smallest interference intensity after correction as the target channel to be occupied by the second communication device, it is specifically configured to:
  • the candidate channel with the smallest interference intensity after the correction is determined as the second communication device to be Occupied target channel.
  • the load parameter is determined according to the amount of data transmitted by the first communication device and the maximum amount of data transmitted by the configuration channel.
  • the communication device is an unmanned robot, wherein the first communication device is used to communicate with the routing device, and the second communication device is used to communicate with the control terminal of the unmanned robot, wherein, The routing device communicates with other unmanned robots.
  • the embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored.
  • the program is executed by a processor, the method described in any one of the embodiments of this description is implemented.
  • the embodiments in the method for determining the communication channel will not be repeated here.
  • the present invention may be in the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program codes.
  • Computer usable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • Information can be computer readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • flash memory or other memory technology
  • CD-ROM compact disc
  • DVD digital versatile disc
  • Magnetic cassettes magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.

Abstract

Provided are a method for determining a communication channel, and a communication device and a storage medium. The method for determining a communication channel is applied to a communication device; said communication device comprises a first communication apparatus based on a Wi-Fi communication protocol and a second communication apparatus based on a different Wi-Fi communication protocol; said method comprises: obtaining configuration information of a configuration channel of the first communication apparatus; scanning a plurality of alternative channels of the second communication apparatus, and determining the interference strengths of said alternative channels, the alternative channel of the second communication apparatus comprising one or a plurality of configuration channels of the first communication apparatus; correcting the interference strength on the basis of the configuration information; according to the corrected interference strength, determining from the alternative channels a target channel to be occupied by the second communication apparatus. By means of the method, it is possible to avoid overlapping of the communication channel of the second communication apparatus with the communication channel of the first communication apparatus, reducing the interference between channels and improving communication quality.

Description

确定通信信道的方法、通信设备及存储介质Method for determining communication channel, communication equipment and storage medium 技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种确定通信信道的方法、通信设备及存储介质。This application relates to the field of communication technologies, and in particular, to a method, communication device, and storage medium for determining a communication channel.
背景技术Background technique
信道干扰是在通信过程中备受关注的一个问题。目前,WIFI技术应用范围广,因而存在很多基于WIFI协议通信和基于其他的通信协议通信共存的场景。比如,对于某些通信设备,既可以基于WIFI协议通信,也可以基于不同于WIFI的其他协议通信(例如自定义的一些通信协议通信),并且两种通信协议支持的信道都在ISM频段,信道存在重叠的可能性较大,因而很容易产生信道干扰。Channel interference is a problem that has attracted much attention in the communication process. At present, WIFI technology has a wide application range, so there are many scenarios where communication based on WIFI protocol and communication based on other communication protocols coexist. For example, for some communication devices, it can communicate based on WIFI protocol or other protocols different from WIFI (such as some custom communication protocols), and the channels supported by the two communication protocols are in the ISM frequency band. There is a greater possibility of overlap, so it is easy to cause channel interference.
目前,针对Wifi协议通信与其他协议通信共存时产生的信道干扰问题,有的技术采用自动跳频技术,即由基于WIFI协议通信或者基于其他协议通信的装置中的其中一方进行信道干扰检测,检测到干扰时则进行规避,由于Wifi通信具有距离近信号强占空比低的特点,另一方在检测Wifi通信干扰时,有很大概率没法发现Wifi干扰的存在,无法发现干扰就无法进行信道切换进行规避,从而严重影响通信质量。有的技术则采用信道规划的方式,将两种通信协议所使用的频道划分为不重叠的两部分,比如二者使用不同的频段,如Wifi协议使用5.8GHz频段,其他通信协议使用2.4G频段,这种方法的缺点是不够灵活且频道利用率低。At present, in view of the channel interference problem caused by the coexistence of Wifi protocol communication and other protocol communication, some technologies adopt automatic frequency hopping technology, that is, one of the devices based on WIFI protocol communication or communication based on other protocols performs channel interference detection and detection. Avoid interference when it comes to interference. Because Wifi communication has the characteristics of strong signal and low duty cycle in close proximity, when the other party detects Wifi communication interference, there is a high probability that the existence of Wifi interference will not be found, and the channel cannot be switched if the interference is not found. To evade, which seriously affects the quality of communication. Some technologies use channel planning to divide the channels used by the two communication protocols into two non-overlapping parts. For example, they use different frequency bands. For example, the Wifi protocol uses the 5.8GHz frequency band, and other communication protocols use the 2.4G frequency band. The disadvantage of this method is that it is not flexible enough and the channel utilization rate is low.
因此,为了尽量避免通信过程中的信道干扰,且可以提升信道的利用率,有必要对避免信道干扰的方法加以改进,以提升通信质量。Therefore, in order to avoid channel interference in the communication process as much as possible, and to improve channel utilization, it is necessary to improve the method of avoiding channel interference to improve communication quality.
发明内容Summary of the invention
有鉴于此,本发明实施例提供一种确定通信信道的方法、通信设备以及存储介质。In view of this, embodiments of the present invention provide a method for determining a communication channel, a communication device, and a storage medium.
根据本发明实施例的第一方面,提供一种确定通信信道的方法,所述方法应用于通信设备,所述通信设备包括基于WI-FI通信协议的第一 通信装置和基于不同于WI-FI通信协议的第二通信装置,所述方法包括:According to a first aspect of the embodiments of the present invention, there is provided a method for determining a communication channel. The method is applied to a communication device. The communication device includes a first communication device based on a WI-FI communication protocol and a method based on a communication protocol other than WI-FI. The second communication device of the communication protocol, the method includes:
获取所述第一通信装置的配置信道的配置信息;Acquiring configuration information of the configuration channel of the first communication device;
对所述第二通信装置的多个备选信道进行扫描,确定所述备选信道的干扰强度,其中,所述第二通信装置的备选信道包括所述第一通信装置的一个或多个配置信道;Scan multiple candidate channels of the second communication device to determine the interference strength of the candidate channel, wherein the candidate channel of the second communication device includes one or more of the first communication device Configure the channel;
基于所述配置信息对所述干扰强度进行修正;Correcting the interference intensity based on the configuration information;
根据修正后的干扰强度从所述备选信道确定所述第二通信装置待占用的目标信道。The target channel to be occupied by the second communication device is determined from the candidate channel according to the corrected interference intensity.
根据本发明实施例的第二方面,提供一种通信设备,所述通信设备包括存储器、处理器、基于WI-FI通信协议的第一通信装置、基于不同于WI-FI通信协议的第二通信装置,其中,所述存储器用于存储所述处理器上执行的计算机程序,所述处理器执行所述程序时实现以下步骤执行的计算机程序:According to a second aspect of the embodiments of the present invention, a communication device is provided, the communication device including a memory, a processor, a first communication device based on a WI-FI communication protocol, and a second communication device based on a communication protocol different from the WI-FI An apparatus, wherein the memory is used to store a computer program executed on the processor, and the processor implements the computer program executed in the following steps when the processor executes the program:
获取所述第一通信装置的配置信道的配置信息;Acquiring configuration information of the configuration channel of the first communication device;
对所述第二通信装置的多个备选信道进行扫描,确定所述备选信道的干扰强度,其中,所述第二通信装置的备选信道包括所述第一通信装置的一个或多个配置信道;Scan multiple candidate channels of the second communication device to determine the interference strength of the candidate channel, wherein the candidate channel of the second communication device includes one or more of the first communication device Configure the channel;
基于所述配置信息对所述干扰强度进行修正;Correcting the interference intensity based on the configuration information;
根据修正后的干扰强度从所述备选信道确定所述第二通信装置待占用的目标信道。The target channel to be occupied by the second communication device is determined from the candidate channel according to the corrected interference intensity.
根据本发明实施例的第三方面,提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本发明实施例任意一项所述的方法。According to a third aspect of the embodiments of the present invention, there is provided a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method according to any one of the embodiments of the present invention is implemented.
应用本发明实施例的方案,在基于Wifi协议通信和基于不同于Wifi协议的通信协议通信共存的场景,可以先获取基于Wifi协议通信的第一通信装置的配置信道的配置信息,然后根据配置信息对基于不同于Wifi协议的通信协议进行通信的第二通信装置的各备选信道的干扰强度进行修 正,并根据修正后的干扰强度从备选信道中选出第二通信装置的待占用信道。通过这种方法,可以尽量避免第二通信装置的通信信道与第一通信装置的通信信道重叠,减小信道干扰,从而提升通信质量。Applying the solution of the embodiment of the present invention, in a scenario where communication based on the Wifi protocol and communication based on a communication protocol different from the Wifi protocol coexist, the configuration information of the configuration channel of the first communication device based on the Wifi protocol communication can be obtained first, and then based on the configuration information The interference intensity of each candidate channel of the second communication device communicating based on a communication protocol different from the Wifi protocol is corrected, and the to-be-occupied channel of the second communication device is selected from the candidate channels according to the corrected interference intensity. In this way, it is possible to avoid overlapping of the communication channel of the second communication device with the communication channel of the first communication device, reduce channel interference, and improve communication quality.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative labor.
图1是本发明一示例性实施例中提供的一种应用场景示意图。Fig. 1 is a schematic diagram of an application scenario provided in an exemplary embodiment of the present invention.
图2是本发明一示例性实施例中提供的一种确定通信信道的方法流程图。Fig. 2 is a flowchart of a method for determining a communication channel provided in an exemplary embodiment of the present invention.
图3是本发明一示例性实施例中提供的一种通信信道编号示意图。Fig. 3 is a schematic diagram of a communication channel number provided in an exemplary embodiment of the present invention.
图4是本发明一示例性实施例中提供的一种确定通信信道的方法流程图。Fig. 4 is a flowchart of a method for determining a communication channel provided in an exemplary embodiment of the present invention.
图5是本发明一示例性实施例中提供的一种通信设备的示意图。Fig. 5 is a schematic diagram of a communication device provided in an exemplary embodiment of the present invention.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
目前,Wifi技术在很多领域都有应用,因而很多场景都存在基于Wifi协议通信和基于不同于Wifi协议的其他通信协议共存的场景。比如,目前诸如无人控制机器人(例如无人机、无人控制地面机器人)等通信设备都可以基于基于不同于Wifi协议的其他通信协议进行数据传输,也可以基于Wifi协议进行传输,并且两种协议使用的信道都在ISM频段,容易 出现信道相互重叠,导致产生严重的无线干扰,影响通信的可靠性和质量。At present, Wifi technology has applications in many fields, so many scenarios have scenarios where communication based on the Wifi protocol and other communication protocols other than the Wifi protocol coexist. For example, current communication devices such as unmanned robots (such as unmanned aerial vehicles, unmanned ground robots) can transmit data based on other communication protocols other than the Wifi protocol, and can also transmit data based on the Wifi protocol. The channels used by the protocol are all in the ISM frequency band, and the channels are prone to overlap each other, causing serious wireless interference and affecting the reliability and quality of communication.
为了解决信道干扰问题,有的技术采用干扰检测的方式,比如由基于两种通信协议的通信装置中的一方进行信道干扰检测,如果检测到了干扰,在选用信道时则进行规避。但是由于Wifi通信具有距离近信号强占空比低的特点,在进行信道干扰检测时,很大概率会无法发现Wifi干扰的存在。而有些自定义的图传协议由于具有距离远信号弱占空比高的特点,导致无法触发Wifi的CCA(Clear Chanel Assesment空闲信道评估)门限,因而也有较大概率无法发现这些基于这些自定义的通信协议通信产生的干扰。无法发现干扰就无法进行信道切换进行规避,从而严重影响通信质量。还有的技术直接对通信信道进行频道规划,将两种通信协议所使用的频道划分为不重叠的两部分,比如二者使用不同的频段,如Wifi协议使用5.8GHz频段,其他通信协议使用2.4G频段,这种方法的缺点是不够灵活且频道利用率低。In order to solve the problem of channel interference, some technologies adopt interference detection methods. For example, one of the communication devices based on two communication protocols performs channel interference detection. If interference is detected, it will avoid it when selecting channels. However, because Wifi communication has the characteristics of strong signal at close range and low duty cycle, there is a high probability that the existence of Wifi interference will not be found when performing channel interference detection. However, some custom video transmission protocols cannot trigger the Wifi's CCA (Clear Chanel Assessment) threshold due to their weak signal and high duty cycle characteristics. Therefore, there is a high probability that these custom-based video transmission protocols cannot be found. Interference caused by communication protocol communication. If the interference cannot be found, the channel switching cannot be performed to avoid, which seriously affects the communication quality. Other technologies directly plan the communication channel and divide the channels used by the two communication protocols into two non-overlapping parts. For example, the two use different frequency bands. For example, the Wifi protocol uses the 5.8GHz frequency band, and other communication protocols use 2.4. For G band, the disadvantage of this method is that it is not flexible enough and the channel utilization rate is low.
为了既可以有效地检测出信道干扰,提高通信质量,又能提高信道的利用率,本发明实施例提供了一种确定通信信道的方法。该方法适用于基于Wifi协议通信和基于非Wifi通信协议共存的场景,在确定非Wifi协议通信信道时,可以先获取Wifi协议的信道的配置信息,然后根据信道配置信息对非Wifi通信协议可以使用的各备选信道的干扰强度进行修正,并基于修正后的干扰强度来选择非Wifi通信协议待占用的目标信道,以便尽量避免与Wifi协议通信信道重叠,选出干扰强度小的信道,提高通信质量。In order to effectively detect channel interference, improve communication quality, and improve channel utilization, an embodiment of the present invention provides a method for determining a communication channel. This method is suitable for scenarios where Wifi protocol communication and non-Wifi communication protocol coexist. When determining the non-Wifi protocol communication channel, the configuration information of the Wifi protocol channel can be obtained first, and then the non-Wifi communication protocol can be used according to the channel configuration information Correct the interference intensity of each candidate channel, and select the target channel to be occupied by the non-Wifi communication protocol based on the corrected interference intensity, so as to avoid overlapping with the Wifi protocol communication channel as much as possible, and select the channel with less interference intensity to improve communication quality.
本发明实施例提供的通信信道确定方法可以应用于通信设备,该通信设备可以是无人控制机器人(例如无人机、无人控制地面机器人)等既可以通过Wifi协议通信,也可以通过不同于Wifi协议的其他通信协议进行通信的设备。该通信设备包括第一通信装置和第二通信装置,其中,第一通信装置用于基于Wifi协议进行通信,第二通信装置用于基于不同于Wifi协议的其他通信协议进行通信。图1为本发明实施例提供的通信信道 确定方法的一个应用场景示意图。该应用场景中包括多个通信设备11,通信设备11包括基于Wifi协议进行通信的第一通信装置111和基于不同于Wifi协议的通信协议进行通信第二通信装置112,通信设备的第一通信装置111与路由设备12通信连接,通信设备之间通过Wifi进行通信,每个通信设备11对应一个控制终端13,通信设备11与其对应的控制终端13通过不同于Wifi协议的通信协议进行通信。The method for determining the communication channel provided by the embodiment of the present invention can be applied to a communication device. The communication device can be an unmanned robot (such as a drone or an unmanned ground robot). Wifi protocol is a device that communicates with other communication protocols. The communication device includes a first communication device and a second communication device, wherein the first communication device is used for communication based on the Wifi protocol, and the second communication device is used for communication based on another communication protocol different from the Wifi protocol. Fig. 1 is a schematic diagram of an application scenario of a method for determining a communication channel provided by an embodiment of the present invention. This application scenario includes multiple communication devices 11, the communication device 11 includes a first communication device 111 that communicates based on the Wifi protocol and a second communication device 112 that communicates based on a communication protocol different from the Wifi protocol, the first communication device of the communication device 111 is in communication connection with the routing device 12, and the communication devices communicate through Wifi. Each communication device 11 corresponds to a control terminal 13, and the communication device 11 and its corresponding control terminal 13 communicate through a communication protocol different from the Wifi protocol.
具体的,本发明实施例提供的通信信道确定方法的流程图如图2所示,包括以下步骤:Specifically, a flowchart of a method for determining a communication channel provided by an embodiment of the present invention is shown in FIG. 2, and includes the following steps:
S202、获取所述第一通信装置的配置信道的配置信息;S202. Acquire configuration information of a configuration channel of the first communication device.
S204、对所述第二通信装置的多个备选信道进行扫描,确定所述备选信道的干扰强度,其中,所述第二通信装置的备选信道包括所述第一通信装置的一个或多个配置信道;S204. Scan multiple candidate channels of the second communication device to determine the interference intensity of the candidate channel, where the candidate channel of the second communication device includes one or the other of the first communication device. Multiple configuration channels;
S206、基于所述配置信息对所述干扰强度进行修正;S206: Correct the interference intensity based on the configuration information.
S208、根据修正后的干扰强度从所述备选信道确定所述第二通信装置待占用的目标信道。S208: Determine a target channel to be occupied by the second communication device from the candidate channel according to the corrected interference intensity.
本发明实施例中的不同于Wifi协议的通信协议可以是自定义的通信协议,比如自定义的图传协议(如SDR协议等),在某些实施例中,所述不同于Wifi协议的通信协议可以为其他标准协议,例如蓝牙通信协议等。由于该不同于Wifi协议的通信协议所使用的频段和Wifi协议所使用的频段同为ISM频段,因而两个协议的通信信道存在一定程度的重叠。为了避免信道干扰,在确定第二通信装置基于不同于Wifi协议的通信协议进行通信待占用的目标信道时,可以先获取第一通信装置的配置信道的配置信息,其中第一通信装置的配置信道为基于Wifi协议进行通信时所需占用的信道,该配置信道可以由用户自行通过路由设备配置,也可以由路由设备根据实际的应用场景自动配置。比如,根据Wifi协议,Wifi在2.4G频段可以使用20MHz/40MHz两种带宽,5.8G频段可以使用20MHz/40MHz/80MHz三种带宽。假设此时Wifi通信配置的信道频段为 5.8G,带宽为80MHz,这时其通信所使用的信道的编号可以是149~161,因而其配置信道为编号149-161的信道。The communication protocol different from the Wifi protocol in the embodiment of the present invention may be a custom communication protocol, such as a custom image transmission protocol (such as the SDR protocol, etc.). In some embodiments, the communication protocol different from the Wifi protocol The protocol can be other standard protocols, such as Bluetooth communication protocol. Since the frequency band used by the communication protocol different from the Wifi protocol and the frequency band used by the Wifi protocol are both the ISM frequency band, the communication channels of the two protocols overlap to a certain extent. In order to avoid channel interference, when determining the target channel to be occupied by the second communication device for communication based on a communication protocol different from the Wifi protocol, the configuration information of the configuration channel of the first communication device can be obtained first, where the configuration channel of the first communication device It is a channel that needs to be occupied when communicating based on the Wifi protocol. The configuration channel can be configured by the user through the routing device, or it can be automatically configured by the routing device according to the actual application scenario. For example, according to the Wifi protocol, Wifi can use two bandwidths of 20MHz/40MHz in the 2.4G band, and three bandwidths of 20MHz/40MHz/80MHz in the 5.8G band. Suppose that the channel frequency band configured for Wifi communication is 5.8G and the bandwidth is 80MHz. At this time, the number of the channel used for communication can be 149-161, so the configured channel is the channel numbered 149-161.
配置信息可以是用于描述配置信道的相关信息,比如可以是配置信道所处的频段,配置信道的编号、信道带宽、主信道编号和辅信道编号等信息,其中主信道为每次Wifi通信优先占用的信道。如图3所示,以5.8频段,80M带宽的模式为例,配置信息可以包括以下信息:The configuration information can be related information used to describe the configuration channel, such as the frequency band where the configuration channel is located, the number of the configuration channel, the channel bandwidth, the main channel number, and the auxiliary channel number. The main channel is the priority for each Wifi communication. Occupied channel. As shown in Figure 3, taking the 5.8 frequency band and 80M bandwidth mode as an example, the configuration information may include the following information:
信道所处频段:5.8G频段;Frequency band of the channel: 5.8G frequency band;
信道带宽:80M;Channel bandwidth: 80M;
信道编号149-161;Channel number 149-161;
主20M信道编号149;The main 20M channel number is 149;
辅20M信道编号153;The auxiliary 20M channel number is 153;
主40M信道编号149-153;The main 40M channel number is 149-153;
辅40M信道编号157-161。The auxiliary 40M channel number is 157-161.
当然,由于在实际应用中,当确定信道带宽以及主信道的编号时,辅信道的编号自然也可以确定。比如,确定主20M信道的编号为149(当然主信道的编号可以根据实际需求去配置,不局限于149),则辅20M信道、主40M信道以及辅40M信道的编号也自然可以确定。所以,在某些实施例中,配置信息可以是信道带宽和主信道编号,根据信道带宽和主信道编号便可以确定出来Wifi通信所占用的信道的情况。Of course, because in practical applications, when determining the channel bandwidth and the number of the primary channel, the number of the secondary channel can naturally also be determined. For example, if the number of the main 20M channel is determined to be 149 (of course, the number of the main channel can be configured according to actual needs, and is not limited to 149), then the numbers of the auxiliary 20M channel, the main 40M channel, and the auxiliary 40M channel can also be determined naturally. Therefore, in some embodiments, the configuration information may be the channel bandwidth and the main channel number, and the channel occupied by the Wifi communication can be determined according to the channel bandwidth and the main channel number.
在获取到第一通信装置的配置信道的配置信息后,可以对第二通信装置的所有备选信道的干扰强度进行扫描。其中,第二通信装置的备选信道为该不同于Wifi协议的通信协议中定义的可以支持该协议的信道。比如,该不同于Wifi协议的通信协议定义该协议可支持的信道为5.8G频段或者2.4频段中的部分或全部信道,则这些该协议可支持的信道都为备选信道。其中,备选信道与Wifi通信的配置信道部分重叠或者是完全重叠,备选信道中包括一个或多个第一通信装置的配置信道。比如,在一个实施例中,备选信道可以是2.4G频段和5.8G频段中的任一信道,而Wifi的 配置信道为5.8G频段信道中的编号为149-161信道。在一个实施例中,备选信道和Wifi的配置信道都可以是5.8G频段信道中的编号为149-161信道。After obtaining the configuration information of the configuration channel of the first communication device, the interference intensity of all candidate channels of the second communication device can be scanned. Wherein, the candidate channel of the second communication device is a channel defined in the communication protocol different from the Wifi protocol that can support the protocol. For example, the communication protocol different from the Wifi protocol defines that the channels supported by the protocol are part or all of the channels in the 5.8G frequency band or the 2.4 frequency band, and these channels supported by the protocol are all candidate channels. Wherein, the candidate channel partially overlaps or completely overlaps the configuration channel of Wifi communication, and the candidate channel includes one or more configuration channels of the first communication device. For example, in one embodiment, the candidate channel may be any channel in the 2.4G frequency band and the 5.8G frequency band, and the Wifi configuration channel is the 5.8G frequency band channel, which is numbered 149-161. In one embodiment, both the candidate channel and the Wifi configuration channel may be channels numbered 149-161 in the 5.8G frequency band channel.
在某些实施例中,第二通信装置的备选信道可以包括第一通信装置的主信道、辅20M信道、辅40M信道的一种或者多种。比如,第二通信装置支持的信道可以是只与第一通信装置的主信道重叠,或者只与辅20M信道或辅40M信道重叠,或者与主信道、辅20M信道、辅40M信道都重叠。In some embodiments, the candidate channel of the second communication device may include one or more of the primary channel of the first communication device, the secondary 20M channel, and the secondary 40M channel. For example, the channel supported by the second communication device may overlap only with the main channel of the first communication device, or only overlap with the secondary 20M channel or the secondary 40M channel, or overlap with the primary channel, the secondary 20M channel, and the secondary 40M channel.
在获取到第一通信装置的配置信息以及扫描检测到第二通信装置的备选信道的干扰强度后,可以根据第一通信装置的配置信息对备选信道的干扰强度进行修正。对备选信道的干扰强度进行修正可以尽量避免第二通信装置采用第一通信装置已经占用的信道,从而可以避免互相干扰,影响通信质量。在某些实施例中,对备选信道的干扰强度进行修正时可以先根据第一通信装置的配置信道的配置信息确定备选信道的使用优先级,然后根据使用优先级来对备选信道的干扰强度进行修正。其中,使用优先级可以根据第一通信装置对备选信道的占用情况来设置,比如,第一通信装置使用越频繁的信道,则对于第二通信装置来说,其使用优先级可以越低,这样便可以避免两者信道产生冲突从而造成干扰。当然,第一通信装置使用较少或者是不使用的信道,则对于第二通信装置来说,其使用优先可以越高。After the configuration information of the first communication device is acquired and the interference intensity of the candidate channel of the second communication device is detected by scanning, the interference strength of the candidate channel may be corrected according to the configuration information of the first communication device. Correcting the interference intensity of the candidate channel can try to avoid the second communication device from using the channel already occupied by the first communication device, thereby avoiding mutual interference and affecting the communication quality. In some embodiments, when correcting the interference intensity of the candidate channel, the use priority of the candidate channel may be determined according to the configuration information of the configuration channel of the first communication device, and then the use priority of the candidate channel may be determined according to the use priority. The interference intensity is corrected. Wherein, the priority of use can be set according to the occupancy of the candidate channel by the first communication device. For example, the more frequently the channel is used by the first communication device, the lower the priority of use for the second communication device. In this way, it is possible to avoid conflict between the two channels and cause interference. Of course, if the first communication device uses less or does not use a channel, for the second communication device, its use priority may be higher.
在某些实施例中,如果第二通信装置的备选信道中包括第一通信装置带宽外的信道,该带宽外的信道可以是一个或者多个信道,则该带宽外的信道的使用优先级最高。举个例子,第一通信装置Wifi配置模式为5.8G,80M带宽模式,则第一通信装置占用的信道是5.8G频段的编号为149-161的信道,而第二通信装置的备选信道是5.8G频段和2.4G频段的所有信道,则此时2.4G频段的所有信道以及5.8G频段除编号为149-161的信道都是第一通信装置的带宽外信道,在设置备选信道的优先级时,这 些信道的优先级可以设置成最高。In some embodiments, if the candidate channels of the second communication device include channels outside the bandwidth of the first communication device, and the channels outside the bandwidth may be one or more channels, the priority of the use of the channels outside the bandwidth is highest. For example, if the Wifi configuration mode of the first communication device is 5.8G, 80M bandwidth mode, the channel occupied by the first communication device is the channel numbered 149-161 in the 5.8G frequency band, and the alternate channel of the second communication device is All channels in the 5.8G frequency band and 2.4G frequency band, at this time, all channels in the 2.4G frequency band and the 5.8G frequency band except for the channels numbered 149-161 are all channels outside the bandwidth of the first communication device. In the case of priority, the priority of these channels can be set to the highest.
在某些实施例中,如果第二通信装置的备选信道中包括第一通信装置的主信道,该主信道可以是第一通信装置的主20M信道、主40M信道等,由于第一通信装置的主信道为第一通信装置使用频繁度最高的信道,所以第二通信装置尽量避免去占用这些信道,因而可以将该主信道的使用优先级设置成最低。举个例子,第一通信装置Wifi配置模式为5.8G,80M带宽模式,其中,主20M信道的编号为149,则第一通信装置占用的信道是5.8G频段的编号为149-161的信道,而第二通信装置的备选信道是5.8G频段和2.4G频段的所有信道,这时,在设置备选信道的优先级时,为了尽量避免和第一通信装置的信道冲突,可以将主20M信道的优先级设置成所有备选信道中优先级最低的信道。In some embodiments, if the candidate channel of the second communication device includes the main channel of the first communication device, the main channel may be the main 20M channel or the main 40M channel of the first communication device. The main channel of is the channel most frequently used by the first communication device, so the second communication device tries to avoid occupying these channels, so the use priority of the main channel can be set to the lowest. For example, the Wifi configuration mode of the first communication device is 5.8G, 80M bandwidth mode, where the main 20M channel number is 149, and the channel occupied by the first communication device is the channel numbered 149-161 in the 5.8G frequency band. The candidate channels of the second communication device are all channels in the 5.8G and 2.4G frequency bands. At this time, when setting the priority of the candidate channels, in order to avoid conflicts with the channels of the first communication device as much as possible, you can set the main 20M The priority of the channel is set to the channel with the lowest priority among all candidate channels.
在某些实施例中,如果第二通信装置的备选信道中包括第一通信装置的辅40M信道和辅20M信道,则所述辅40M信道的优先级高于所述辅20M信道的优先级。还是以第一通信装置Wifi配置模式为5.8G,80M带宽模式为例,假设主20M信道的编号为149,则辅20M信道为151,主40M信道为149-151,辅40M信道为151-153,而第二通信装置的备选信道是5.8G频段和2.4G频段的所有信道。由于辅20M信道的使用频繁程度会高于辅40M信道,这时,在设置备选信道的使用优先级时,辅40M信道的使用优先级可以高于辅20M信道。In some embodiments, if the candidate channels of the second communication device include the secondary 40M channel and the secondary 20M channel of the first communication device, the priority of the secondary 40M channel is higher than the priority of the secondary 20M channel . Take the Wifi configuration mode of the first communication device as 5.8G and 80M bandwidth mode as an example. Assuming that the number of the primary 20M channel is 149, the secondary 20M channel is 151, the primary 40M channel is 149-151, and the secondary 40M channel is 151-153. , And the alternate channels of the second communication device are all channels in the 5.8G frequency band and 2.4G frequency band. Since the frequency of use of the secondary 20M channel is higher than that of the secondary 40M channel, at this time, when setting the use priority of the candidate channel, the use priority of the secondary 40M channel may be higher than that of the secondary 20M channel.
在确定好各个备选信道的使用优先级后,可以根据备选信道的使用优先级对备选信道的干扰强度进行修正。在某些实施例中,可以根据备选信道的使用优先级来确定各信道的补偿干扰强度,然后采用该补偿干扰强度对备选信道的干扰强度进行修正。其中,补偿干扰强度与备选信道的使用优先级负相关,即使用优先级越高,补偿干扰强度越低。根据备选信道的使用优先级对备选信道的干扰强度进行修正,可以使修正后第一通信装置使用频繁的信道,干扰强度可以更大一些,以便在根据干扰强度来选择第二通信装置通信的目标信道时可以尽量避免选用第一通信装置频繁使 用的信道,从而减小信道干扰。举个例子,在某些实施例中,第二通信装置的备选信道包括第一通信装置占用的所有信道以及其带宽外的信道,对第二通信装置的所有备选信道进行优先级划分,各备选信道的优先级顺序如下:带宽外的信道>辅40MHz信道>辅20MHz信道>主20MHz信道。在对备选信道进行修正时,可以确定各备选信道的补偿干扰强度,分别为C0、C1、C2、C3,其中,C0<C1<C2<C3,比如C0、C1、C2、C3分别为0dB、10dB、20DB、30dB。当然,补偿强度的具体数值可以根据经验去设置,本发明不作限制。采用补偿干扰强度对备选信道的干扰强度进行修正后,再根据干扰强度选择第二通信装置通信使用的目标信道。当然,根据备选信道的使用优先级确定补偿干扰强度来对各备选信道的干扰强度进行修正只是本发明的一种实施方式,本发明不限于这种方式。比如,在某些实施例中,可以根据备选信道的使用优先级设定一个修正系数,然后采用修正系数对备选信道的干扰强度进行修正。比如,对于第一通信装置频繁使用的信道,可以让其干扰强度乘以一个大于1个修正系数,且使用越频繁,其修正系数越大。对于第一通信装置带宽外的信道,可以让其乘以一个等于1或者小于1的修正系数,使其最后得到的干扰强度越小。总之,本发明对干扰强度进行修正可以采用多种方式,其最终目的是为了让第一通信装置使用频繁的信道的干扰强度在修正后,其信道干扰强度尽可能大一些,尽量避免第二通信装置去占用这个信道,引起信道干扰。After the use priority of each candidate channel is determined, the interference intensity of the candidate channel can be corrected according to the use priority of the candidate channel. In some embodiments, the compensation interference intensity of each channel may be determined according to the priority of use of the candidate channel, and then the compensation interference intensity is used to correct the interference intensity of the candidate channel. Among them, the intensity of compensation interference is negatively related to the priority of use of the candidate channel, that is, the higher the priority of use, the lower the intensity of compensation interference. The interference intensity of the candidate channel is corrected according to the priority of the use of the candidate channel, so that the channel that the first communication device uses frequently after the correction can have a greater interference strength, so that the second communication device can be selected for communication according to the interference strength. The channel that is frequently used by the first communication device can be avoided as much as possible when the target channel is selected, thereby reducing channel interference. For example, in some embodiments, the candidate channels of the second communication device include all channels occupied by the first communication device and channels outside its bandwidth, and all candidate channels of the second communication device are prioritized. The priority order of each candidate channel is as follows: channels outside the bandwidth> secondary 40MHz channel> secondary 20MHz channel> primary 20MHz channel. When correcting the candidate channels, the compensation interference intensity of each candidate channel can be determined as C0, C1, C2, C3, where C0<C1<C2<C3, for example, C0, C1, C2, and C3 are respectively 0dB, 10dB, 20DB, 30dB. Of course, the specific value of the compensation intensity can be set based on experience, which is not limited in the present invention. After correcting the interference intensity of the candidate channel by using the compensation interference intensity, the target channel used by the second communication device for communication is selected according to the interference intensity. Of course, determining the compensation interference intensity according to the use priority of the candidate channel to correct the interference intensity of each candidate channel is only an embodiment of the present invention, and the present invention is not limited to this manner. For example, in some embodiments, a correction coefficient may be set according to the priority of use of the candidate channel, and then the correction coefficient may be used to correct the interference intensity of the candidate channel. For example, for a channel frequently used by the first communication device, the interference intensity can be multiplied by a correction coefficient greater than one, and the more frequently it is used, the greater the correction coefficient. For the channel outside the bandwidth of the first communication device, it can be multiplied by a correction coefficient equal to 1 or less than 1, so that the final interference intensity obtained is smaller. In a word, the present invention can adopt various methods to correct the interference intensity. Its ultimate purpose is to make the interference intensity of the frequently used channel of the first communication device after the correction, the channel interference intensity is as large as possible, and try to avoid the second communication. The device goes to occupy this channel, causing channel interference.
在某些实施例中,在根据各备选信道的使用优先级确定备选信道的补偿干扰强度,然后采用补偿干扰强度对各信道的干扰信道进行修正时,对于第一通信装置带宽外的信道,其补偿干扰强度可以设置为0dB。当然,以上只是一个示例性的例子,补偿干扰强度可以根据实际需求和经验去灵活设置。通过根据第一通信装置的配置信息对第二通信装置的备选信道的干扰强度进行修正,可以避免第一通信装置的信道占空比较低,在信道干扰检测时未检测到其干扰而选用该信道,使得两种通信方式都采用同一个信道,造成信道干扰的问题。In some embodiments, when the compensation interference intensity of the candidate channel is determined according to the use priority of each candidate channel, and then the compensation interference intensity is used to correct the interference channel of each channel, the channel outside the bandwidth of the first communication device , The compensation interference intensity can be set to 0dB. Of course, the above is only an illustrative example, and the compensation interference intensity can be flexibly set according to actual needs and experience. By correcting the interference intensity of the candidate channel of the second communication device according to the configuration information of the first communication device, it is possible to avoid that the channel duty ratio of the first communication device is low, and its interference is not detected during the channel interference detection. The channel makes the two communication methods use the same channel, causing the problem of channel interference.
在对各备选信道的干扰强度进行修正以后,可以根据修正后的干扰强度从备选信道中选出第二通信装置待占用的目标信道。在某些实施例中,可以先判断修正后干扰强度最小的信道是否为所述第一通信装置的带宽外信道,如果是,则直接选用该修正后干扰强度最小的信道作为第二通信装置待占用的目标信道。After the interference intensity of each candidate channel is corrected, the target channel to be occupied by the second communication device can be selected from the candidate channels according to the corrected interference intensity. In some embodiments, it is possible to first determine whether the channel with the smallest interference intensity after correction is an out-of-bandwidth channel of the first communication device, and if so, directly select the channel with the smallest interference intensity after correction as the second communication device to be waited for. Occupied target channel.
在某些实施例中,如果修正后干扰强度最小的信道是第一通信装置带宽内的信道,即第一通信装置也在使用该信道,则可能存在该修正后干扰强度最小的信道的利用率已经比较高的情况,这时,如果第二通信装置还是直接选用这个信道,可能会存在比较严重的信道干扰。因此,可以先获取第一通信装置的信道负载参数,其中,信道负载参数用于指示第一通信装置对所述配置信道的使用率状态,比如,信道负载参数可以是第一通信装置的信道带宽最大占用率,当然也可以是其他表征第一通信装置对所述配置信道的使用率状态的参数。确定第一通信装置的信道负载参数后,可以将负载参数与所述修正后干扰强度最小的备选信道的预设的信道负载参数阈值进行比较,如果信道负载参数小于或等于与所述修正后干扰强度最小的备选信道对应的信道负载参数阈值,则将所述修正后干扰强度最小的备选信道确定为所述第二通信装置待占用的目标信道。如果大于,则暂不使用该修正后干扰强度最小的备选信道,而是可以选择延迟第二通信装置的通信,以避免信道干扰,响应通信质量。In some embodiments, if the channel with the smallest interference intensity after correction is a channel within the bandwidth of the first communication device, that is, the first communication device is also using the channel, there may be a utilization rate of the channel with the smallest interference intensity after correction. The situation is already relatively high. At this time, if the second communication device still directly selects this channel, there may be serious channel interference. Therefore, the channel load parameter of the first communication device can be acquired first, where the channel load parameter is used to indicate the utilization status of the configured channel by the first communication device. For example, the channel load parameter can be the channel bandwidth of the first communication device. The maximum occupancy rate, of course, may also be another parameter that characterizes the utilization rate status of the configured channel by the first communication device. After the channel load parameter of the first communication device is determined, the load parameter may be compared with the preset channel load parameter threshold of the candidate channel with the least interference intensity after the correction, and if the channel load parameter is less than or equal to the corrected channel load parameter For the channel load parameter threshold corresponding to the candidate channel with the smallest interference intensity, the modified candidate channel with the smallest interference intensity is determined as the target channel to be occupied by the second communication device. If it is greater than, the candidate channel with the smallest interference intensity after correction is not used for the time being, but the communication of the second communication device can be delayed to avoid channel interference and respond to the communication quality.
在某些实施例中,信道负载参数可以根据第一通信装置传输的数据量和配置信道传输的最大数据量确定。以图1所示的应用场景为例,假设通信设备为无人控制机器人,有N个无人控制机器人与路由设备连接,每个无人控制机器人都是通过第一通信装置与路由设备连接,为了确定第一通信装置传输的数据量,可以先确定接入该路由设备的Wifi热点无人控制机器人的数量为N,然后确定每个无人控制机器人之间传输的数据所占用的带宽为M1,则第一通信装置传输的数据量最大可以是M1*N*(N-1),然后用该数据量除以第一通信装置的配置信道可以传输的最大数据量(根 据最大带宽确定)即可以得到该负载参数。In some embodiments, the channel load parameter may be determined according to the amount of data transmitted by the first communication device and the maximum amount of data transmitted by the configured channel. Taking the application scenario shown in Figure 1 as an example, suppose the communication device is an unmanned robot, and there are N unmanned robots connected to the routing device, and each unmanned robot is connected to the routing device through the first communication device. In order to determine the amount of data transmitted by the first communication device, you can first determine the number of unmanned robots connected to the Wifi hotspot of the routing device as N, and then determine that the bandwidth occupied by the data transmitted between each unmanned robot is M1 , The maximum amount of data transmitted by the first communication device can be M1*N*(N-1), and then divide the data amount by the maximum amount of data that can be transmitted by the configuration channel of the first communication device (determined according to the maximum bandwidth) The load parameter can be obtained.
在某些实施例中,备选信道如果是第一通信装置带宽内的信道,则可以事先针对各备选信道设定一个信道负载参数阈值,当该备选信道的干扰强度在修正后最小,可以先比较该信道的负载参数与预先设定的负载参数阈值,当备选信道的负载参数小于或等于负载参数阈值时,才将该干扰强度最小的备选信道作为第二通信装置的待占用目标信道。其中,负载参数阈值可以根据经验去设置,针对不同的备选信道,其负载参数阈值不同。比如,在某些实施例中,针对不同的备选信道,其对应的负载参数阈值可以设置成不一样的值,比如,若第一通信装置的信道带宽为40MHz,修正后干扰强度最小的备选信道为辅20MHz信道,则负载参数≤0.5*α;若第一通信装置的信道带宽为80MHz,所述修正后干扰强度最小的备选信道为辅40MHz信道,则负载参数≤0.5*α;若第一通信装置的信道带宽为80MHz,所述修正后干扰强度最小的备选信道为辅20MHz信道,则负载参数≤0.25*α。其中,α为小于1的常数,可以根据具体应用场景去设置。In some embodiments, if the candidate channel is a channel within the bandwidth of the first communication device, a channel load parameter threshold can be set for each candidate channel in advance. When the interference intensity of the candidate channel is the smallest after correction, The load parameter of the channel can be compared with the preset load parameter threshold. When the load parameter of the candidate channel is less than or equal to the load parameter threshold, the candidate channel with the least interference intensity is used as the second communication device to be occupied. Target channel. Among them, the load parameter threshold can be set based on experience, and the load parameter thresholds are different for different candidate channels. For example, in some embodiments, for different candidate channels, the corresponding load parameter thresholds can be set to different values. For example, if the channel bandwidth of the first communication device is 40 MHz, the one with the least interference intensity after correction can be set to different values. If the selected channel is the secondary 20MHz channel, the load parameter is ≤0.5*α; if the channel bandwidth of the first communication device is 80MHz, and the candidate channel with the smallest interference intensity after the correction is the secondary 40MHz channel, the load parameter is ≤0.5*α; If the channel bandwidth of the first communication device is 80 MHz, and the candidate channel with the smallest interference intensity after the correction is the secondary 20 MHz channel, then the load parameter ≤ 0.25*α. Among them, α is a constant less than 1, which can be set according to specific application scenarios.
通过本发明提供的确定信道的方法,可以根据基于Wifi通信的第一通信装置的信道配置信息来对基于不同于Wifi协议的通信协议通信的第二通信装置的各备选信道的干扰强度进行修正,以尽量避免两种通信采用同一个信道,造成信道干扰。通过这种方式,可以克服采用直接对第二通信装置的备选信道进行扫描,通过检测出来的干扰强度来确定待W占用的信道时,由于Wifi通信占空比低,在干扰监测时无法扫描到Wifi通信的干扰,导致确定的信道与Wifi使用的信道重叠,无法准确的选取最佳的通信信道的问题。通过本发明实施例提供的方法,可以尽可能的避免选用第一通信装置的频繁占用信道来进行通信,使干扰降低到最小。Through the method for determining the channel provided by the present invention, the interference intensity of each candidate channel of the second communication device communicating based on a communication protocol different from the Wifi protocol can be corrected according to the channel configuration information of the first communication device based on Wifi communication , In order to avoid using the same channel for the two communications, causing channel interference. In this way, it is possible to overcome the use of directly scanning the candidate channel of the second communication device, and determining the channel to be occupied by the detected interference intensity. Due to the low duty cycle of Wifi communication, scanning cannot be performed during interference monitoring. The interference to Wifi communication causes the determined channel to overlap with the channel used by Wifi, and it is impossible to accurately select the best communication channel. Through the method provided by the embodiment of the present invention, it is possible to avoid selecting the frequently occupied channel of the first communication device for communication as much as possible, so as to minimize interference.
为了进一步解释本发明实施例提供的确定通信信道的方法,以下结合图4再以一个具体的实施例来加以解释。In order to further explain the method for determining the communication channel provided by the embodiment of the present invention, a specific embodiment is used for explanation below in conjunction with FIG. 4.
本实施例的应用场景如图1所示,通信设备为无人控制机器人,多个无人控制机器人与路由设备相连,无人控制机器人包括基于Wifi协议 通信的第一通信装置,各无人控制机器人之间通过第一通信装置进行通信,无人控制机器人还包括基于自定义的无线图传协议进行通信的第二通信装置,无人控制机器人与其对应的控制设备之间通过第二通信装置进行通信。其中,自定义的无线图传协议支持的信道为5.8G频段和2.4G频段的所有信道。即第二通信装置的备选信道为5.8G频段和2.4G频段内的所有信道。The application scenario of this embodiment is shown in Figure 1. The communication device is an unmanned control robot, and multiple unmanned control robots are connected to the routing device. The unmanned control robot includes a first communication device based on Wifi protocol communication. The robots communicate through the first communication device. The unmanned robot also includes a second communication device based on a custom wireless image transmission protocol. The unmanned robot and its corresponding control equipment communicate through the second communication device. Communication. Among them, the channels supported by the custom wireless image transmission protocol are all channels in the 5.8G frequency band and 2.4G frequency band. That is, the candidate channels of the second communication device are all channels in the 5.8G frequency band and the 2.4G frequency band.
在确定第二通信装置的通信信道时,可以先获取第一通信装置也就是Wifi通信的信道的配置信息,配置信息包括Wifi的主信20M信号的编号和信道带宽(S401)。假设根据Wifi通信的信道配置信息可以确定Wifi信道为5.8G频段,80M带宽模式,其主20M信道编号为149,则可以知道其辅20M信道编号为153,主40M信道为编号为149-153,辅40M信道编号为157-161。然后可以根据Wifi信道的配置信息给第二通信装置的备选信道设置优先级(S402),其中2.4G频段和5.8G频段中除编号149-161的信道Wifi通信都没有占用,因而可以将这些信道统称为Wifi带宽外信道。设置优先级时可以遵循以下原则:Wifi带宽外信道>辅40MHz信道>辅20MHz信道>主20MHz信道。然后可以对所有备选信道进行扫描,确定各备选信道的干扰强度(S403)。需要指出的是,步骤403可以在步骤401和402之前,也可以在步骤402之后,本发明不作限制。然后根据备选信道的优先级给各备选信道确定一个补偿干扰强度(S404),以采用补偿干扰强度对扫描得到的备选信道的干扰强度进行修正(S405),其中,补偿干扰强度的大小与优先级负相关。假设上述信道的补偿干扰强度分别为C0dB、C1dB、C2dB、C3dB,则C0<C1<C2<C3,比如可以分别补偿0、10dB、20dB、30dB,然后按照修正后的干扰强度进行第二通信装置的信道选择。When determining the communication channel of the second communication device, the configuration information of the first communication device, that is, the channel of the Wifi communication may be acquired first, and the configuration information includes the number and channel bandwidth of the main 20M signal of the Wifi (S401). Assuming that according to the channel configuration information of Wifi communication, it can be determined that the Wifi channel is in the 5.8G frequency band, 80M bandwidth mode, and its main 20M channel number is 149, then it can be known that its secondary 20M channel number is 153, and the main 40M channel is numbered 149-153. The auxiliary 40M channel number is 157-161. Then, according to the configuration information of the Wifi channel, the priority of the candidate channel of the second communication device can be set (S402). Among them, the 2.4G frequency band and the 5.8G frequency band are not occupied except for the channels numbered 149-161. Therefore, these The channels are collectively referred to as Wifi bandwidth external channels. The following principles can be followed when setting the priority: Wifi bandwidth external channel> secondary 40MHz channel> secondary 20MHz channel> primary 20MHz channel. Then, all candidate channels can be scanned to determine the interference strength of each candidate channel (S403). It should be pointed out that step 403 may be before steps 401 and 402 or after step 402, and the present invention is not limited. Then determine a compensation interference intensity for each candidate channel according to the priority of the candidate channel (S404), so as to use the compensation interference intensity to correct the interference intensity of the candidate channel obtained by scanning (S405), where the magnitude of the compensation interference intensity Negatively related to priority. Assuming that the compensation interference intensity of the above channel is C0dB, C1dB, C2dB, C3dB, then C0<C1<C2<C3, for example, 0, 10dB, 20dB, 30dB can be compensated respectively, and then the second communication device is performed according to the corrected interference intensity Channel selection.
从修正后的干扰强度中选取出干扰强度最小的信道,判断该信道是否为Wifi带宽外信道(S406),如果该干扰强度最小的信道为Wifi带宽外信道,则直接将该信道作为第二通信装置的通信信道(S407)。如果该干扰强度最小的信道为Wifi带宽内信道,则可以先获取WiFi信道的最 大带宽占用率,WiFi信道的最大带宽占用率可以根据接入WiFi的无人控制机器人的数量、无人控制机器人之间传输的数据量以及Wifi信道的带宽确定(S408)。在确定各Wifi带宽内的最大带宽占用率后,可以根据以下规则来确定第二通信装置的通信信道:Select the channel with the smallest interference intensity from the corrected interference intensity, and judge whether the channel is a Wifi bandwidth external channel (S406), if the channel with the smallest interference intensity is a Wifi bandwidth external channel, directly use this channel as the second communication The communication channel of the device (S407). If the channel with the least interference intensity is the channel within the Wifi bandwidth, the maximum bandwidth occupancy rate of the WiFi channel can be obtained first. The maximum bandwidth occupancy rate of the WiFi channel can be based on the number of unmanned robots connected to WiFi and the number of unmanned robots. The amount of data to be transmitted between and the bandwidth of the Wifi channel are determined (S408). After determining the maximum bandwidth occupancy rate in each Wifi bandwidth, the communication channel of the second communication device can be determined according to the following rules:
Wifi最大带宽40MHz,当R<0.5*α时才能使用辅20MHz;The maximum bandwidth of Wifi is 40MHz, and the auxiliary 20MHz can only be used when R<0.5*α;
Wifi最大带宽80MHz,当R<0.5*α时才能使用辅40MHz;The maximum bandwidth of Wifi is 80MHz, and the auxiliary 40MHz can only be used when R<0.5*α;
Wifi最大带宽80MHz,当R<0.25α时才能使用辅20MHz;The maximum bandwidth of Wifi is 80MHz, and the auxiliary 20MHz can only be used when R<0.25α;
其中α<1,为一常数,其数值可以根据经验确定。Among them, α<1 is a constant, and its value can be determined based on experience.
即判断修正后干扰强度最小的备选信道的最大带宽占用率是否小于或者对应备选信道的预设阈值(S409),当小于或者等于时,则选用该修正后干扰强度最小的备选信道作为第二通信装置的通信信道(S410),如果大于,则不选用该修正后干扰强度最小的备选信道,而是延迟第二通信装置的通信(S411)。That is, it is determined whether the maximum bandwidth occupancy rate of the candidate channel with the least interference intensity after correction is less than or corresponds to the preset threshold of the candidate channel (S409), and when it is less than or equal to, the candidate channel with the least interference intensity after correction is selected as the candidate channel If the communication channel of the second communication device (S410) is greater than that, the modified candidate channel with the smallest interference intensity is not selected, but the communication of the second communication device is delayed (S411).
以上实施例中的各种技术特征可以任意进行组合,只要特征之间的组合不存在冲突或矛盾,但是限于篇幅,未进行一一描述,因此上述实施方式中的各种技术特征的任意进行组合也属于本发明公开的范围。The various technical features in the above embodiments can be combined arbitrarily, as long as there is no conflict or contradiction between the combinations of features, but due to space limitations, they are not described one by one. Therefore, the various technical features in the above embodiments can be combined arbitrarily. It also belongs to the scope of the disclosure of the present invention.
本发明实施例还提供一种通信设备,如图5所示,所述通信设备包括存储器502、处理器504、基于WI-FI通信协议的第一通信装置506、基于不同于WI-FI通信协议的第二通信装置508以及存储在所述存储器上并可在所述处理器上执行的计算机程序,所述处理器执行所述程序时实现以下步骤:An embodiment of the present invention also provides a communication device. As shown in FIG. 5, the communication device includes a memory 502, a processor 504, a first communication device 506 based on a WI-FI communication protocol, and a communication protocol other than WI-FI. The second communication device 508 of and a computer program stored on the memory and executable on the processor, and the processor implements the following steps when the processor executes the program:
获取所述第一通信装置的配置信道的配置信息;Acquiring configuration information of the configuration channel of the first communication device;
对所述第二通信装置的多个备选信道进行扫描,确定所述备选信道的干扰强度,其中,所述第二通信装置的备选信道包括所述第一通信装置的一个或多个配置信道;Scan multiple candidate channels of the second communication device to determine the interference strength of the candidate channel, wherein the candidate channel of the second communication device includes one or more of the first communication device Configure the channel;
基于所述配置信息对所述干扰强度进行修正;Correcting the interference intensity based on the configuration information;
根据修正后的干扰强度从所述备选信道确定所述第二通信装置 待占用的目标信道。The target channel to be occupied by the second communication device is determined from the candidate channel according to the corrected interference intensity.
在一实施例中,所述配置信息包括:所述第一通信装置的信道带宽以及主信道编号。In an embodiment, the configuration information includes: the channel bandwidth and the main channel number of the first communication device.
在一实施例中,所述备选信道包括所述第一通信装置的主信道、辅40M信道、辅20M信道中的一种或多种。In an embodiment, the candidate channel includes one or more of the primary channel, the secondary 40M channel, and the secondary 20M channel of the first communication device.
在一实施例中,所述处理器基于所述配置信息对所述干扰强度进行修正,具体用于:In an embodiment, the processor corrects the interference intensity based on the configuration information, which is specifically configured to:
基于所述配置信息为所述第二通信装置的各备选信道设置使用优先级;Setting a usage priority for each candidate channel of the second communication device based on the configuration information;
并基于所述各备选信道的使用优先级对所述各备选信道的干扰强度进行修正。The interference intensity of each candidate channel is corrected based on the use priority of each candidate channel.
在一实施例中,所述第一通信装置的带宽外信道的使用优先级最高。In an embodiment, the use priority of the bandwidth out-of-band channel of the first communication device is the highest.
在一实施例中,若所述备选信道包括所述第一通信装置的主信道,则所述主信道的使用优先级最低。In an embodiment, if the candidate channel includes the main channel of the first communication device, the use priority of the main channel is the lowest.
在一实施例中,若所述备选信道还包括述第一通信装置的辅40M信道和辅20M信道,则所述辅40M信道的优先级高于所述辅20M信道的优先级。In an embodiment, if the candidate channel further includes the secondary 40M channel and the secondary 20M channel of the first communication device, the priority of the secondary 40M channel is higher than the priority of the secondary 20M channel.
在一实施例中,所述处理器基于各所述备选信道的使用优先级对各所述备选信道的干扰强度进行修正时,具体用于:In an embodiment, when the processor corrects the interference intensity of each candidate channel based on the use priority of each candidate channel, it is specifically configured to:
基于各所述备选信道的使用优先级高低确定各备选信道的补偿干扰强度,其中,所述使用优先级与所述补偿干扰强度负相关;Determine the compensation interference intensity of each candidate channel based on the use priority of each candidate channel, wherein the use priority is negatively related to the compensation interference intensity;
采用所述补偿干扰强度对所述各备选信道的干扰强度进行修正。The compensation interference intensity is used to correct the interference intensity of each candidate channel.
在一实施例中,若所述备选信道为所述第一通信装置的带宽外信道,则所述补偿干扰强度为0dB。In an embodiment, if the candidate channel is an out-of-bandwidth channel of the first communication device, the compensation interference intensity is 0 dB.
在一实施例中,所述处理器根据修正后的干扰强度确定所述第二通信装置待占用的目标信道时,具体用于:In an embodiment, when the processor determines the target channel to be occupied by the second communication device according to the corrected interference intensity, it is specifically configured to:
判断修正后干扰强度最小的信道是否为所述第一通信装置的带宽外信道;Judging whether the channel with the smallest interference intensity after correction is an out-of-bandwidth channel of the first communication device;
如果是,则选用所述修正后干扰强度最小的信道作为所述第二通信装置待占用的目标信道。If so, the channel with the smallest interference intensity after correction is selected as the target channel to be occupied by the second communication device.
在一实施例中,如果修正后干扰强度最小的信道为所述第一通信装置的带宽内信道,则所述处理器还用于:In an embodiment, if the channel with the smallest interference intensity after correction is the channel within the bandwidth of the first communication device, the processor is further configured to:
获取所述第一通信装置的信道负载参数,其中,所述信道负载参数用于指示第一通信装置对所述配置信道的使用率状态;Acquiring the channel load parameter of the first communication device, where the channel load parameter is used to indicate the usage rate status of the configuration channel by the first communication device;
所述处理器将所述修正后干扰强度最小的备选信道确定为所述第二通信装置待占用的目标信道时,具体用于:When the processor determines the candidate channel with the smallest interference intensity after correction as the target channel to be occupied by the second communication device, it is specifically configured to:
当所述信道负载参数小于或等于与所述修正后干扰强度最小的备选信道对应的信道负载参数阈值时,将所述修正后干扰强度最小的备选信道确定为所述第二通信装置待占用的目标信道。When the channel load parameter is less than or equal to the channel load parameter threshold corresponding to the candidate channel with the smallest interference intensity after the correction, the candidate channel with the smallest interference intensity after the correction is determined as the second communication device to be Occupied target channel.
在一实施例中,所述负载参数根据所述第一通信装置传输的数据量和所述配置信道传输的最大数据量确定。In an embodiment, the load parameter is determined according to the amount of data transmitted by the first communication device and the maximum amount of data transmitted by the configuration channel.
在一实施例中,所述通信设备为无人控制机器人,其中,所述第一通信装置用于与路由设备通信连接,第二通信装置用于无人控制机器人的控制终端通信连接,其中,所述路由设备与其他无人控制机器人通信连接。In one embodiment, the communication device is an unmanned robot, wherein the first communication device is used to communicate with the routing device, and the second communication device is used to communicate with the control terminal of the unmanned robot, wherein, The routing device communicates with other unmanned robots.
本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本说明说实施例中任意一项所述的方法,具体实施细节可参考上述确定通信信道的方法中的各实施例,在此不再赘述。The embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described in any one of the embodiments of this description is implemented. For specific implementation details, please refer to the above The embodiments in the method for determining the communication channel will not be repeated here.
本发明可采用在一个或多个其中包含有程序代码的存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机可用存储介质包括永久性和非永久性、可移动和非可移动媒体,可以由任何方法或技术来实现信息存储。信息可以是计算机可 读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括但不限于:相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。The present invention may be in the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program codes. Computer usable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. Information can be computer readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply one of these entities or operations. There is any such actual relationship or order between. The terms "including", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed. Elements, or also include elements inherent to such processes, methods, articles, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or equipment that includes the element.
以上对本发明实施例所提供的方法和装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The methods and devices provided by the embodiments of the present invention are described in detail above. Specific examples are used in this article to illustrate the principles and implementations of the present invention. The descriptions of the above embodiments are only used to help understand the methods and methods of the present invention. The core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and the scope of application. In summary, the content of this specification should not be construed as a limitation of the present invention .

Claims (27)

  1. 一种确定通信信道的方法,其特征在于,所述方法应用于通信设备,所述通信设备包括基于WI-FI通信协议的第一通信装置和基于不同于WI-FI通信协议的第二通信装置,所述方法包括:A method for determining a communication channel, characterized in that the method is applied to a communication device, and the communication device includes a first communication device based on a WI-FI communication protocol and a second communication device based on a different WI-FI communication protocol , The method includes:
    获取所述第一通信装置的配置信道的配置信息;Acquiring configuration information of the configuration channel of the first communication device;
    对所述第二通信装置的多个备选信道进行扫描,确定所述备选信道的干扰强度,其中,所述第二通信装置的备选信道包括所述第一通信装置的一个或多个配置信道;Scan multiple candidate channels of the second communication device to determine the interference strength of the candidate channel, wherein the candidate channel of the second communication device includes one or more of the first communication device Configure the channel;
    基于所述配置信息对所述干扰强度进行修正;Correcting the interference intensity based on the configuration information;
    根据修正后的干扰强度从所述备选信道确定所述第二通信装置待占用的目标信道。The target channel to be occupied by the second communication device is determined from the candidate channel according to the corrected interference intensity.
  2. 根据权利要求1所述的方法,其特征在于,所述配置信息包括:所述第一通信装置的信道带宽以及主信道编号。The method according to claim 1, wherein the configuration information comprises: a channel bandwidth and a main channel number of the first communication device.
  3. 根据权利要求1所述的方法,其特征在于,所述备选信道包括所述第一通信装置的主信道、辅40M信道、辅20M信道中的一种或多种。The method according to claim 1, wherein the candidate channel includes one or more of a primary channel, a secondary 40M channel, and a secondary 20M channel of the first communication device.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述基于所述配置信息对所述干扰强度进行修正包括:The method according to any one of claims 1-3, wherein the correcting the interference intensity based on the configuration information comprises:
    基于所述配置信息为所述第二通信装置的各备选信道设置使用优先级;Setting a usage priority for each candidate channel of the second communication device based on the configuration information;
    并基于所述各备选信道的使用优先级对所述各备选信道的干扰强度进行修正。The interference intensity of each candidate channel is corrected based on the use priority of each candidate channel.
  5. 根据权利要求4所述的方法,其特征在于,所述第一通信装置的带宽外信道的使用优先级最高。The method according to claim 4, wherein the use priority of the bandwidth out-of-band channel of the first communication device is the highest.
  6. 根据权利要求4-5任一项所述的方法,其特征在于,若所述备选信道包括所述第一通信装置的主信道,则所述主信道的使用优先级最低。The method according to any one of claims 4-5, wherein if the candidate channel includes the main channel of the first communication device, the use priority of the main channel is the lowest.
  7. 根据权利要求4-6任一项所述的方法,其特征在于,若所述备选信道还包括述第一通信装置的辅40M信道和辅20M信道,则所述辅40M信 道的优先级高于所述辅20M信道的优先级。The method according to any one of claims 4-6, wherein if the candidate channel further includes the secondary 40M channel and the secondary 20M channel of the first communication device, the priority of the secondary 40M channel is higher The priority of the secondary 20M channel.
  8. 根据权利要求4所述的方法,其特征在于,所述基于各所述备选信道的使用优先级对各所述备选信道的干扰强度进行修正包括:The method according to claim 4, wherein the correcting the interference intensity of each of the candidate channels based on the use priority of each of the candidate channels comprises:
    基于各所述备选信道的使用优先级高低确定各备选信道的补偿干扰强度,其中,所述使用优先级与所述补偿干扰强度负相关;Determine the compensation interference intensity of each candidate channel based on the use priority of each candidate channel, wherein the use priority is negatively related to the compensation interference intensity;
    采用所述补偿干扰强度对所述各备选信道的干扰强度进行修正。The compensation interference intensity is used to correct the interference intensity of each candidate channel.
  9. 根据权利要求8所述的方法,其特征在于,若所述备选信道为所述第一通信装置的带宽外信道,则所述补偿干扰强度为0dB。8. The method according to claim 8, wherein if the candidate channel is an out-of-bandwidth channel of the first communication device, the compensation interference intensity is 0 dB.
  10. 根据权利要求1-9任一项所述的方法,其特征在于,根据修正后的干扰强度确定所述第二通信装置待占用的目标信道,包括:The method according to any one of claims 1-9, wherein determining the target channel to be occupied by the second communication device according to the corrected interference intensity comprises:
    判断修正后干扰强度最小的信道是否为所述第一通信装置的带宽外信道;Judging whether the channel with the smallest interference intensity after correction is an out-of-bandwidth channel of the first communication device;
    如果是,则选用所述修正后干扰强度最小的信道作为所述第二通信装置待占用的目标信道。If so, the channel with the smallest interference intensity after correction is selected as the target channel to be occupied by the second communication device.
  11. 根据权利要求10所述的方法,其特征在于,如果修正后干扰强度最小的信道为所述第一通信装置的带宽内信道,则所述方法还包括:The method according to claim 10, wherein if the channel with the smallest interference intensity after correction is a channel within the bandwidth of the first communication device, the method further comprises:
    获取所述第一通信装置的信道负载参数,其中,所述信道负载参数用于指示第一通信装置对所述配置信道的使用率状态;Acquiring the channel load parameter of the first communication device, where the channel load parameter is used to indicate the usage rate status of the configuration channel by the first communication device;
    所述将所述修正后干扰强度最小的备选信道确定为所述第二通信装置待占用的目标信道,包括:The determining the candidate channel with the smallest interference intensity after the correction as the target channel to be occupied by the second communication device includes:
    当所述信道负载参数小于或等于与所述修正后干扰强度最小的备选信道对应的信道负载参数阈值时,将所述修正后干扰强度最小的备选信道确定为所述第二通信装置待占用的目标信道。When the channel load parameter is less than or equal to the channel load parameter threshold corresponding to the candidate channel with the smallest interference intensity after the correction, the candidate channel with the smallest interference intensity after the correction is determined as the second communication device to be Occupied target channel.
  12. 根据权利要求11所述的方法,其特征在于,所述负载参数根据所述第一通信装置传输的数据量和所述配置信道传输的最大数据量确定。The method according to claim 11, wherein the load parameter is determined according to the amount of data transmitted by the first communication device and the maximum amount of data transmitted by the configuration channel.
  13. 根据权利要求1-12任一项所述的方法,其特征在于,所述通信设备为无人控制机器人,其中,所述第一通信装置用于与路由设备通信连接, 第二通信装置用于无人控制机器人的控制终端通信连接,其中,所述路由设备与其他无人控制机器人通信连接。The method according to any one of claims 1-12, wherein the communication device is an unmanned robot, wherein the first communication device is used for communicating with a routing device, and the second communication device is used for The control terminal of the unmanned robot is in communication connection, wherein the routing device is in communication connection with other unmanned robots.
  14. 一种通信设备,其特征在于,所述通信设备包括存储器、处理器、基于WI-FI协议通信的第一通信装置、基于不同于WI-FI协议的通信协议进行通信的第二通信装置以及所述处理器执行的计算机程序,其中,A communication device, characterized in that, the communication device includes a memory, a processor, a first communication device based on WI-FI protocol communication, a second communication device based on a communication protocol different from the WI-FI protocol, and all The computer program executed by the processor, wherein,
    所述存储器用于存储所述处理器上执行的计算机程序,The memory is used to store a computer program executed on the processor,
    所述处理器执行所述计算机程序时实现以下步骤:When the processor executes the computer program, the following steps are implemented:
    获取所述第一通信装置的配置信道的配置信息;Acquiring configuration information of the configuration channel of the first communication device;
    对所述第二通信装置的多个备选信道进行扫描,确定所述备选信道的干扰强度,其中,所述第二通信装置的备选信道包括所述第一通信装置的一个或多个配置信道;Scan multiple candidate channels of the second communication device to determine the interference strength of the candidate channel, wherein the candidate channel of the second communication device includes one or more of the first communication device Configure the channel;
    基于所述配置信息对所述干扰强度进行修正;Correcting the interference intensity based on the configuration information;
    根据修正后的干扰强度从所述备选信道确定所述第二通信装置待占用的目标信道。The target channel to be occupied by the second communication device is determined from the candidate channel according to the corrected interference intensity.
  15. 根据权利要求14所述的通信设备,其特征在于,所述配置信息包括:所述第一通信装置的信道带宽以及主信道编号。The communication device according to claim 14, wherein the configuration information includes: a channel bandwidth and a main channel number of the first communication device.
  16. 根据权利要求14所述的通信设备,其特征在于,所述备选信道包括所述第一通信装置的主信道、辅40M信道、辅20M信道中的一种或多种。The communication device according to claim 14, wherein the candidate channel comprises one or more of a main channel, a secondary 40M channel, and a secondary 20M channel of the first communication device.
  17. 根据权利要求14-16任一项所述的通信设备,其特征在于,所述处理器基于所述配置信息对所述干扰强度进行修正时,具体用于:The communication device according to any one of claims 14-16, wherein when the processor corrects the interference intensity based on the configuration information, it is specifically configured to:
    基于所述配置信息为所述第二通信装置的各备选信道设置使用优先级;Setting a usage priority for each candidate channel of the second communication device based on the configuration information;
    并基于所述各备选信道的使用优先级对所述各备选信道的干扰强度进行修正。The interference intensity of each candidate channel is corrected based on the use priority of each candidate channel.
  18. 根据权利要求17述的通信设备,其特征在于,所述第一通信装置的带宽外信道的使用优先级最高。The communication device according to claim 17, wherein the use priority of the bandwidth out-of-band channel of the first communication device is the highest.
  19. 根据权利要求17-18任一项所述的通信设备,其特征在于,若所述备选信道包括所述第一通信装置的主信道,则所述主信道的使用优先级最低。The communication device according to any one of claims 17-18, wherein if the candidate channel includes the main channel of the first communication device, the use priority of the main channel is the lowest.
  20. 根据权利要求17-19任一项所述的通信设备,其特征在于,若所述备选信道还包括述第一通信装置的辅40M信道和辅20M信道,则所述辅40M信道的优先级高于所述辅20M信道的优先级。The communication device according to any one of claims 17-19, wherein if the candidate channel further includes the secondary 40M channel and the secondary 20M channel of the first communication device, the priority of the secondary 40M channel Higher than the priority of the secondary 20M channel.
  21. 根据权利要求17所述的通信设备,其特征在于,所述处理器基于各所述备选信道的使用优先级对各所述备选信道的干扰强度进行修正,具体用于:The communication device according to claim 17, wherein the processor corrects the interference intensity of each candidate channel based on the use priority of each candidate channel, and is specifically configured to:
    基于各所述备选信道的使用优先级高低确定各备选信道的补偿干扰强度,其中,所述使用优先级与所述补偿干扰强度负相关;Determine the compensation interference intensity of each candidate channel based on the use priority of each candidate channel, wherein the use priority is negatively related to the compensation interference intensity;
    采用所述补偿干扰强度对所述各备选信道的干扰强度进行修正。The compensation interference intensity is used to correct the interference intensity of each candidate channel.
  22. 根据权利要求21所述的通信设备,其特征在于,若所述备选信道为所述第一通信装置的带宽外信道,则所述补偿干扰强度为0dB。The communication device according to claim 21, wherein if the candidate channel is an out-of-bandwidth channel of the first communication device, the compensation interference intensity is 0 dB.
  23. 根据权利要求14-22任一项所述的通信设备,其特征在于,所述处理器根据修正后的干扰强度确定所述第二通信装置待占用的目标信道,具体用于:The communication device according to any one of claims 14-22, wherein the processor determines the target channel to be occupied by the second communication device according to the corrected interference intensity, which is specifically configured to:
    判断修正后干扰强度最小的信道是否为所述第一通信装置的带宽外信道;Judging whether the channel with the smallest interference intensity after correction is an out-of-bandwidth channel of the first communication device;
    如果是,则选用所述修正后干扰强度最小的信道作为所述第二通信装置待占用的目标信道。If so, the channel with the smallest interference intensity after correction is selected as the target channel to be occupied by the second communication device.
  24. 根据权利要求23所述的通信设备,其特征在于,如果修正后干扰强度最小的信道为所述第一通信装置的带宽内信道,所述处理器还用于:22. The communication device according to claim 23, wherein if the channel with the smallest interference intensity after correction is a channel within the bandwidth of the first communication device, the processor is further configured to:
    获取所述第一通信装置的信道负载参数,其中,所述信道负载参数用于指示第一通信装置对所述配置信道的使用率状态;Acquiring the channel load parameter of the first communication device, where the channel load parameter is used to indicate the usage rate status of the configuration channel by the first communication device;
    所述处理器将所述修正后干扰强度最小的备选信道确定为所述第二通信装置待占用的目标信道时,具体用于:When the processor determines the candidate channel with the smallest interference intensity after correction as the target channel to be occupied by the second communication device, it is specifically configured to:
    当所述信道负载参数小于或等于与所述修正后干扰强度最小的备选信道对应的信道负载参数阈值时,将所述修正后干扰强度最小的备选信道确定为所述第二通信装置待占用的目标信道。When the channel load parameter is less than or equal to the channel load parameter threshold corresponding to the candidate channel with the smallest interference intensity after the correction, the candidate channel with the smallest interference intensity after the correction is determined as the second communication device to be Occupied target channel.
  25. 根据权利要求24所述的通信设备,其特征在于,所述负载参数根据所述第一通信装置传输的数据量和所述配置信道传输的最大数据量确定。The communication device according to claim 24, wherein the load parameter is determined according to the amount of data transmitted by the first communication device and the maximum amount of data transmitted by the configuration channel.
  26. 根据权利要求14-25任一项所述的通信设备,其特征在于,所述通信设备为无人控制机器人,其中,所述第一通信装置用于与路由设备通信连接,第二通信装置用于无人控制机器人的控制终端通信连接,其中,所述路由设备与其他无人控制机器人通信连接。The communication device according to any one of claims 14-25, wherein the communication device is an unmanned robot, wherein the first communication device is used to communicate with the routing device, and the second communication device is used Communication connection with the control terminal of the unmanned robot, wherein the routing device is in communication connection with other unmanned robots.
  27. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至13任意一项所述的方法。A computer-readable storage medium, characterized in that a computer program is stored thereon, and when the computer program is executed by a processor, the method according to any one of claims 1 to 13 is implemented.
PCT/CN2019/106895 2019-09-20 2019-09-20 Method for determining communication channel, and communication device and storage medium WO2021051375A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980033188.0A CN112166639A (en) 2019-09-20 2019-09-20 Method for determining communication channel, communication device and storage medium
PCT/CN2019/106895 WO2021051375A1 (en) 2019-09-20 2019-09-20 Method for determining communication channel, and communication device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/106895 WO2021051375A1 (en) 2019-09-20 2019-09-20 Method for determining communication channel, and communication device and storage medium

Publications (1)

Publication Number Publication Date
WO2021051375A1 true WO2021051375A1 (en) 2021-03-25

Family

ID=73860398

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/106895 WO2021051375A1 (en) 2019-09-20 2019-09-20 Method for determining communication channel, and communication device and storage medium

Country Status (2)

Country Link
CN (1) CN112166639A (en)
WO (1) WO2021051375A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630804A (en) * 2021-07-06 2021-11-09 合肥联宝信息技术有限公司 Method and device for dynamically adjusting GPU frequency band and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114286424A (en) * 2021-12-24 2022-04-05 西安闻泰信息技术有限公司 Method for switching connection, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102076095A (en) * 2010-12-02 2011-05-25 上海大唐移动通信设备有限公司 Frequency point selection method as well as household base stations and equipment
CN103228047A (en) * 2013-04-26 2013-07-31 京信通信系统(广州)有限公司 Automatic configuration method and system of wireless channels
US20160353380A1 (en) * 2015-05-29 2016-12-01 Apple Inc. Techniques for selecting conducted rf links for mitigating multi-radio coexistence
CN107071909A (en) * 2017-02-09 2017-08-18 浙江风向标科技有限公司 The system of selection of ZigBee channels and device
US9756549B2 (en) * 2014-03-14 2017-09-05 goTenna Inc. System and method for digital communication between computing devices

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140313890A1 (en) * 2011-11-01 2014-10-23 Curtis Kent Shrote Profiling wi-fi channel congestion and interference to optimize channel selection
CN104902545B (en) * 2015-05-27 2019-07-02 厦门盈趣科技股份有限公司 A kind of Zigbee and WiFi coexistence method
CN108574991B (en) * 2017-03-07 2022-05-13 中移(杭州)信息技术有限公司 Data processing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102076095A (en) * 2010-12-02 2011-05-25 上海大唐移动通信设备有限公司 Frequency point selection method as well as household base stations and equipment
CN103228047A (en) * 2013-04-26 2013-07-31 京信通信系统(广州)有限公司 Automatic configuration method and system of wireless channels
US9756549B2 (en) * 2014-03-14 2017-09-05 goTenna Inc. System and method for digital communication between computing devices
US20160353380A1 (en) * 2015-05-29 2016-12-01 Apple Inc. Techniques for selecting conducted rf links for mitigating multi-radio coexistence
CN107071909A (en) * 2017-02-09 2017-08-18 浙江风向标科技有限公司 The system of selection of ZigBee channels and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630804A (en) * 2021-07-06 2021-11-09 合肥联宝信息技术有限公司 Method and device for dynamically adjusting GPU frequency band and storage medium
CN113630804B (en) * 2021-07-06 2023-08-08 合肥联宝信息技术有限公司 Method, device and storage medium for dynamically adjusting GPU frequency band

Also Published As

Publication number Publication date
CN112166639A (en) 2021-01-01

Similar Documents

Publication Publication Date Title
US8605689B2 (en) Adapting TXOP requests for multi-radio platforms
US11089493B2 (en) Method and apparatus for communicating ISM prone frequency information to a base station
US20140226572A1 (en) Smart WiFi Access Point That Selects The Best Channel For WiFi Clients Having Multi-Radio Co-Existence Problems
US10602368B2 (en) Method and device for controlling access to a limited access spectrum
US10034300B2 (en) Load based probe response scheduling
US9496970B2 (en) Method and apparatus of handling in-device co-existence interference in a multi-radio environment
JP7101762B6 (en) Carrier selection method and communication device
WO2021051375A1 (en) Method for determining communication channel, and communication device and storage medium
US10405368B2 (en) Cellular dual connectivity setup
US20150078259A1 (en) Interference Avoidance between Overlapping Wireless Networks
WO2017133443A1 (en) Method for uplink power control in unlicensed frequency band and corresponding device
US20150043478A1 (en) Dynamic setting of transmission time in a contention based wireless system
US20150043366A1 (en) Scanning in Wireless Networks
US10631336B2 (en) Wireless communication terminal, wireless communication method, and recording medium
US11523432B2 (en) Signal transmission method and device
US20200029228A1 (en) Channel Selection Method and Apparatus
US20210282176A1 (en) Random Access Method and Apparatus
CN107995686B (en) Wireless local area network channel allocation method, device and system
JP2018170668A (en) Wireless communication system and wireless communication control method
US20150222459A1 (en) Methods and devices for dynamic filter configuration in the presence of adjacent channel interference (aci)
JP7457845B2 (en) Method, equipment, and storage medium for analyzing received channel power indicator values
US20230096022A1 (en) Optimized Eco-system Design with Thread Devices
EP3619998B1 (en) Reduction of transmission interference
CN115942485A (en) Communication method and device
WO2018218590A1 (en) Service processing method, access point and station

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19946149

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19946149

Country of ref document: EP

Kind code of ref document: A1