CN102170643B - A ZigBee channel dynamic selection method based on real-time availability - Google Patents
A ZigBee channel dynamic selection method based on real-time availability Download PDFInfo
- Publication number
- CN102170643B CN102170643B CN201110057516.6A CN201110057516A CN102170643B CN 102170643 B CN102170643 B CN 102170643B CN 201110057516 A CN201110057516 A CN 201110057516A CN 102170643 B CN102170643 B CN 102170643B
- Authority
- CN
- China
- Prior art keywords
- channel
- availability
- idle
- time
- information channel
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
- 238000010187 selection method Methods 0.000 title claims abstract description 12
- 230000005540 biological transmission Effects 0.000 claims abstract description 31
- 238000000034 method Methods 0.000 claims description 10
- 238000012544 monitoring process Methods 0.000 claims 3
- PHTXVQQRWJXYPP-UHFFFAOYSA-N ethyltrifluoromethylaminoindane Chemical compound C1=C(C(F)(F)F)C=C2CC(NCC)CC2=C1 PHTXVQQRWJXYPP-UHFFFAOYSA-N 0.000 claims 1
- 238000004891 communication Methods 0.000 abstract description 7
- 238000012163 sequencing technique Methods 0.000 abstract 1
- 238000005516 engineering process Methods 0.000 description 4
- 238000001228 spectrum Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域 technical field
本专利涉及一种基于实时可用度的ZigBee信道的新型动态选择方法,属于信道频谱资源动态利用领域。This patent relates to a novel dynamic selection method of ZigBee channels based on real-time availability, which belongs to the field of dynamic utilization of channel spectrum resources.
背景技术 Background technique
ZigBee技术是一项新兴的短距离无线通信技术,主要面向的应用领域是低速率无线个人区域网(LRWPAN,Low Rate Wireless Personal AreaNetwork),典型特征是近距离、低功耗、低成本、低传输速率。ZigBee/IEEE 802.15.4(以下简记为ZigBee)标准是在IEEE 802.15.4标准基础上建立的,ZigBee设备应该包括IEEE 802.15.4的MAC层(媒质接入控制层)和PHY层(物理层),以及ZigBee堆栈层(网络层、应用层和安全服务提供层)。IEEE 802.15.4标准为ZigBee标准定义了OSI(开放系统互联)模型的MAC层和PHY层。PHY层定义了无线射频应该具备的特征,支持两种不同的射频信号,分别位于2450MHz波段和868/915MHz波段,2450MHz波段射频支持16个数据速率为250kbps的信道。868/915MHz波段中,868MHz支持1个数据速率为20kbps的信道,915MHz支持10个数据速率为40kbps的信道。ZigBee technology is an emerging short-distance wireless communication technology. Its main application field is Low Rate Wireless Personal Area Network (LRWPAN, Low Rate Wireless Personal Area Network). Typical features are short-distance, low power consumption, low cost, and low transmission. rate. The ZigBee/IEEE 802.15.4 (hereinafter referred to as ZigBee) standard is established on the basis of the IEEE 802.15.4 standard. ZigBee equipment should include the MAC layer (media access control layer) and PHY layer (physical layer) of IEEE 802.15.4 ), and the ZigBee stack layer (network layer, application layer and security service provider layer). The IEEE 802.15.4 standard defines the MAC layer and the PHY layer of the OSI (Open System Interconnection) model for the ZigBee standard. The PHY layer defines the characteristics that the wireless radio frequency should have. It supports two different radio frequency signals, located in the 2450MHz band and the 868/915MHz band respectively. The 2450MHz band radio frequency supports 16 channels with a data rate of 250kbps. In the 868/915MHz band, 868MHz supports 1 channel with a data rate of 20kbps, and 915MHz supports 10 channels with a data rate of 40kbps.
目前,为了实现物联网、传感器网络、智能无线控制以及智能楼宇等应用,用于无线区域网(WAN,Wireless Area Network)的短距离无线通信技术标准得到了迅速的发展。与ZigBee协议一样,典型无线区域网技术标准如蓝牙(Bluetooth)、无线USB(WirelessUSB)、无线局域网Wi-Fi(IEEE 802.11b/g)等,均选择了2.4GHz(2.4~2.483GHz)ISM(工业、科学、医疗)频段,就使得ISM频段日益拥挤。随着物联网及传感器网络的大规模应用,在局部区域内对信道数目的需求将急剧增加,而频谱重叠覆盖将导致通信系统间的相互干扰增加,同时加上无绳电话和微波炉等干扰源的存在,碰撞率和重传率也急剧增加,严重影响信道的利用率和数据传输的成功率。At present, in order to realize applications such as the Internet of Things, sensor networks, intelligent wireless control, and intelligent buildings, short-range wireless communication technology standards for wireless area networks (WAN, Wireless Area Network) have been developed rapidly. Like the ZigBee protocol, typical wireless LAN technology standards such as Bluetooth (Bluetooth), Wireless USB (WirelessUSB), wireless LAN Wi-Fi (IEEE 802.11b/g), etc., all choose 2.4GHz (2.4~2.483GHz) ISM ( Industrial, scientific, medical) frequency bands make the ISM frequency band increasingly crowded. With the large-scale application of the Internet of Things and sensor networks, the demand for the number of channels in a local area will increase sharply, and the overlapping coverage of the spectrum will lead to an increase in mutual interference between communication systems, coupled with the existence of interference sources such as cordless phones and microwave ovens , the collision rate and retransmission rate also increase sharply, seriously affecting the utilization rate of the channel and the success rate of data transmission.
综上所述,频谱资源和信道资源将变得越来越宝贵。虽然ZigBee协议在不同的频带内规定了27个可用信道,但是目前ZigBee的信道选择仅仅考虑简单的信道评估参数,并且其信道选择为基于预先设定的固定模式。大量关于频谱资源和信道的实际使用率的测量和调查表明,在固定信道模式下,信道大多数时间里未被占用,有些也只是部分时段被占用。在有些电磁相互干扰严重的环境中,部分信道不适合作为通信信道。因此在ZigBee协议中,若能够实时地综合考察信道空闲率和信道质量等参数,实现信道的动态利用,不但能缓解公用频段的拥挤状况,还能提高信道利用率和数据传输的成功率,降低信道干扰进而降低碰撞率和重传率。To sum up, spectrum resources and channel resources will become more and more precious. Although the ZigBee protocol stipulates 27 available channels in different frequency bands, the current channel selection of ZigBee only considers simple channel evaluation parameters, and its channel selection is based on a preset fixed mode. A large number of measurements and investigations on the actual utilization rate of spectrum resources and channels show that in the fixed channel mode, channels are not occupied most of the time, and some are only occupied for part of the time. In some environments where electromagnetic mutual interference is serious, some channels are not suitable as communication channels. Therefore, in the ZigBee protocol, if parameters such as channel idle rate and channel quality can be comprehensively inspected in real time to realize dynamic channel utilization, it can not only alleviate the congestion of public frequency bands, but also improve channel utilization and data transmission success rate, reduce Channel interference in turn reduces the collision rate and retransmission rate.
发明内容 Contents of the invention
本发明的目的在于提供一种基于实时可用度的ZigBee信道的动态选择方法。这种基于可用度的信道选择方法,能够提高传输成功率、降低碰撞率和重传率;同时,可用度的实时计算和更新算法,能够在选择最大可用度的基础上最大限度的保持信道选择的公平性,提高信道利用率。The purpose of the present invention is to provide a method for dynamically selecting ZigBee channels based on real-time availability. This channel selection method based on availability can improve the transmission success rate, reduce the collision rate and retransmission rate; at the same time, the real-time calculation and update algorithm of availability can maximize channel selection on the basis of selecting the maximum availability fairness and improve channel utilization.
为实现上述的目的,本发明采用下述的技术方案:To achieve the above-mentioned purpose, the present invention adopts following technical scheme:
一种基于实时可用度的ZigBee信道选择方法,其特征在于包括以下步骤:A ZigBee channel selection method based on real-time availability, is characterized in that comprising the following steps:
步骤1,创建信道资源库;Step 1, create a channel resource library;
步骤2,对信道资源库中所有信道进行编号,并为所有编号的信道设立信道空闲率、信道质量和信道可用度等参量;Step 2, number all channels in the channel resource library, and set parameters such as channel idle rate, channel quality and channel availability for all numbered channels;
步骤3,遍历检测所有信道的空闲情况和信道质量参数,计算信道统计空闲概率;Step 3, traverse and detect the idle conditions and channel quality parameters of all channels, and calculate the statistical idle probability of the channel;
步骤4,根据步骤3,计算和更新所有编号的信道可用度;Step 4, according to step 3, calculate and update the channel availability of all numbers;
步骤5,按各个信道可用度由大到小,对信道资源库中所有的信道进行排序;Step 5, sort all the channels in the channel resource library according to the availability of each channel from large to small;
步骤6,等待状态,若有数据传输则转入步骤7,否则持续等待状态;Step 6, waiting state, if there is data transmission, go to step 7, otherwise continue waiting state;
步骤7,对信道资源库中最大可用度信道进行监听,若其处于空闲状态,则占用此信道进行数据传输,若此时信道非空闲,则对已排序信道资源库中下一信道进行监听,以此类推,直到检测到空闲信道,进行数据传输为止,否则算法结束或者重新运行算法;Step 7. Monitor the channel with the maximum availability in the channel resource bank. If it is idle, occupy this channel for data transmission. If the channel is not idle at this time, monitor the next channel in the sorted channel resource bank. By analogy, until an idle channel is detected and data transmission is performed, otherwise the algorithm ends or the algorithm is re-run;
步骤8,检测步骤7中的数据传输结果,并根据步骤7中已检测的信道空闲状况和信道统计空闲概率等参数,利用实时可用度算法推算下一时刻的各个信道的空闲率和信道质量;Step 8, detecting the data transmission result in step 7, and using the real-time availability algorithm to estimate the idle rate and channel quality of each channel at the next moment according to the detected channel idle status and channel statistical idle probability and other parameters in step 7;
步骤9,根据步骤8,计算下一时刻各个信道的信道可用度,然后跳转至步骤5,重复执行步骤5至步骤8。Step 9, according to step 8, calculate the channel availability of each channel at the next moment, then jump to step 5, and repeatedly execute steps 5 to 8.
其中,in,
所述步骤1中,信道资源库是ZigBee协议所有可用信道的参数集合。如图1所示,信道资源库中的每个信道参数包括信道编号、信道空闲率、信道质量、信道可用度等。In the step 1, the channel resource library is a collection of parameters of all channels available in the ZigBee protocol. As shown in FIG. 1 , each channel parameter in the channel resource library includes channel number, channel idle rate, channel quality, channel availability and so on.
所述步骤2中,假设信道资源库中ZigBee所有可用信道的个数为n[n为非零自然数]个,则所有可用信道被参数i由1到n依次编号。设定λi(t)[i=1,2…n]表示t时刻编号为i的信道的信道空闲概率,设定βi(t)[i=1,2…n]表示t时刻编号为i的信道的信道质量。定义ηi(t)=λi(t)×βi(t)[i=1,2…n]表示t时刻编号为i的信道的信道可用度。设定a表示信道统计空闲概率,设定w表示一个小于0.5常量(合理的w值应视具体的应用场景而确定),设定s表示数据传输结果(数据传输正确则s=1,否则数据传输失败s=0)。该操作在步骤1创建信道资源库后进行。In the step 2, assuming that the number of all available channels of ZigBee in the channel resource library is n [n is a non-zero natural number], all available channels are numbered sequentially from 1 to n by the parameter i. Set λ i (t)[i=1, 2...n] to represent the channel idle probability of channel number i at time t, and set β i (t)[i=1, 2...n] to represent the channel number as The channel quality of the channel i. The definition η i (t)=λ i (t)×β i (t) [i=1, 2...n] represents the channel availability of the channel number i at time t. Set a to represent the statistical idle probability of the channel, set w to represent a constant less than 0.5 (the reasonable value of w should be determined according to the specific application scenario), and set s to represent the data transmission result (if the data transmission is correct, s=1, otherwise the data Transmission failed s=0). This operation is performed after the channel resource library is created in step 1.
所述步骤3中,针对信道资源库所有信道遍历检测其空闲情况和信道质量参数,若信道i空闲则λi(t)=1,否则λi(t)=0,并记录相应的信道质量参数βi(t),统计空闲信道即λi(t)=1的信道数目为m,计算信道统计空闲概率a=m/n,至此完成算法初始化。In the step 3, all channels in the channel resource library are traversed to detect their idle conditions and channel quality parameters, if the channel i is idle, then λ i (t)=1, otherwise λ i (t)=0, and record the corresponding channel quality Parameter β i (t), statistical idle channels, ie the number of channels where λ i (t) = 1 is m, calculate channel statistical idle probability a = m/n, so far the algorithm initialization is completed.
所述步骤4中,根据步骤3,利用ηi(t)=λi(t)×βi(t)[i=1,2…n]计算信道i的信道可用度,更新信道资源库所有信道的信道可用度。信道可用度参数综合了信道空闲率和信道质量参数,它能客观的反映信道的实际可用状态。In said step 4, according to step 3, use η i (t)=λ i (t)×β i (t)[i=1, 2...n] to calculate the channel availability of channel i, and update all The channel availability of the channel. The channel availability parameter integrates the channel idle rate and channel quality parameters, and it can objectively reflect the actual available state of the channel.
所述步骤5中,按信道资源库中所有信道可用度ηi(t)由大到小,把所有编号的信道降序排序,至此建立了基于信道可用度的信道资源库。In the step 5, sort all numbered channels in descending order according to the availability η i (t) of all channels in the channel resource library, so far the channel resource library based on channel availability is established.
所述步骤6中,此步骤中,若无数据传输需求则一直处于等待状态,直到有数据传输则转入步骤7。In the step 6, in this step, if there is no demand for data transmission, it will be in a waiting state until there is data transmission, then go to step 7.
所述步骤7中,选择信道资源库中最大可用度的信道进行监听,若处于空闲状态,则占用此信道进行数据传输,并标记该信道λi(t)=1,否则信道此时非空闲,标记λi(t)=0,则对信道资源库中下一信道进行监听,若处于空闲状态,则占用此信道进行数据传输,并标记相关参数,否则继续对信道资源库中下一个信道进行监听,以此类推,直到检测到空闲信道进行数据发送,若已经遍历完整个信道资源库仍未检测到空闲信道,则选择结束或重新运行算法。In said step 7, select the channel with the maximum availability in the channel resource bank to monitor, if it is in an idle state, then occupy this channel for data transmission, and mark this channel λ i (t)=1, otherwise the channel is not idle at this time , mark λ i (t) = 0, monitor the next channel in the channel resource bank, if it is idle, occupy this channel for data transmission, and mark the relevant parameters, otherwise continue to monitor the next channel in the channel resource bank Monitor, and so on, until an idle channel is detected for data transmission. If no idle channel is detected after traversing the entire channel resource bank, choose to end or rerun the algorithm.
所述步骤8中,检测数据传输结果s,并根据步骤7中检测信道的空闲状态λi(t)和信道统计空闲概率a等参数,利用实时可用度算法估算信道i[i=1,2…n]在t+1时刻的空闲率λi(t+1)和信道质量βi(t+1),实时可用度算法具体表述如下:In said step 8, the data transmission result s is detected, and according to parameters such as the idle state λ i (t) of the detected channel and the statistical idle probability a of the channel in step 7, the real-time availability algorithm is used to estimate the channel i [i=1, 2 ...n] The idle rate λ i (t+1) and channel quality β i (t+1) at time t+1, the real-time availability algorithm is specifically expressed as follows:
情形1若在t时刻检测了信道i的空闲状态,若λi(t)=1(空闲),并且s=1,那么在t+1时刻,信道i的空闲状态估计概率为λi(t+1)=1,并设定信道质量βi(t+1)=βi(t);Case 1: If the idle state of channel i is detected at time t, if λ i (t)=1 (idle), and s=1, then at time t+1, the estimated probability of idle state of channel i is λ i (t +1)=1, and set the channel quality β i (t+1)=β i (t);
情形2若在t时刻检测了信道i的空闲状态,若λi(t)=1(空闲),但是s=0,则在t+1时刻,信道i的空闲估计概率为λi(t+1)=wa,并且重新检测信道质量βi(t+1);Case 2: If the idle state of channel i is detected at time t, if λ i (t)=1 (idle), but s=0, then at time t+1, the estimated probability of channel i being idle is λ i (t+ 1)=wa, and re-detect the channel quality β i (t+1);
情形3若在t时刻检测了信道的空闲状态,若λi(t)=0(非空闲),那么在t+1时刻,信道i的空闲估计概率为λi(t+1)=0,并设定信道质量βi(t+1)=βi(t);Case 3: If the idle state of the channel is detected at time t, if λ i (t)=0 (non-idle), then at time t+1, the estimated probability of channel i being idle is λ i (t+1)=0, And set channel quality β i (t+1)=β i (t);
情形4若在t时刻未检测信道i的空闲状态,若λi(t)≥a,那么在t+1时刻,信道i的空闲估计概率为λi(t+1)=λi(t),并设定信道质量βi(t+1)=βi(t);若λi(t)<a,那么在t+1时刻,信道i的空闲估计概率为λi(t+1)=λi(t)+wa,并设定其信道质量βi(t+1)=βi(t),其中空闲估计概率的步进增长保障了非空闲信道被选择的机会。同时又通过限制空闲估计概率的最大值来防止空闲估计概率的盲目增长,从而保障了信道选择的公平性。Situation 4 If the idle state of channel i is not detected at time t, if λ i (t)≥a, then at time t+1, the estimated probability of channel i being idle is λ i (t+1)=λ i (t) , and set channel quality β i (t+1)=β i (t); if λ i (t)<a, then at time t+1, the estimated idle probability of channel i is λ i (t+1) =λ i (t)+wa, and set its channel quality β i (t+1)=β i (t), where the stepwise growth of idle estimation probability guarantees the chance of non-idle channels being selected. At the same time, the blind increase of idle estimation probability is prevented by limiting the maximum value of idle estimation probability, thereby ensuring the fairness of channel selection.
所述步骤9中,根据步骤8中各个信道t+1时刻的空闲率λi(t+1)和信道质量βi(t+1),利用ηi(t+1)=λi(t+1)×βi(t+1)[i=1,2…n]计算信道资源库中所有信道t+1时刻的信道可用度,用ηi(t+1)更新信道资源库中所有信道可用度ηi(t),然后跳转至步骤5。In said step 9, according to the idle rate λ i (t+1) and the channel quality β i (t+1) of each channel t+1 moment in step 8, use η i (t+1)=λ i (t +1)×β i (t+1)[i=1, 2...n] calculates the channel availability of all channels in the channel resource library at time t+1, and uses η i (t+1) to update all channels in the channel resource library channel availability η i (t), and then jump to step 5.
本发明所提供的基于实时可用度的ZigBee信道分配方法为动态利用信道提供了解决方法。一方面,设立信道资源库,为所有的信道资源设定信道可用度参数。因为信道可用度综合考虑了信道空闲概率和信道质量,因此根据可用度最大原则选择信道,能够最大概率的提供可靠通信,提高数据传输成功率,降低传输失败率和重传率;另一方面,本发明提出新的实时可用度算法来更新信道资源库中的信道可用度参数,在充分考虑信道空闲和信道质量的前提下,既保障了信道选择的公平性,又能够实现信道资源的重复利用,进而提高信道利用率。The ZigBee channel allocation method based on real-time availability provided by the present invention provides a solution for dynamic utilization of channels. On the one hand, a channel resource library is set up, and channel availability parameters are set for all channel resources. Because the channel availability takes the channel idle probability and channel quality into consideration, the channel is selected according to the principle of maximum availability, which can provide reliable communication with the greatest probability, improve the success rate of data transmission, and reduce the transmission failure rate and retransmission rate; on the other hand, The present invention proposes a new real-time availability algorithm to update the channel availability parameters in the channel resource library, under the premise of fully considering channel idleness and channel quality, it not only ensures the fairness of channel selection, but also realizes the reuse of channel resources , thereby improving channel utilization.
附图说明 Description of drawings
下面结合附图和具体实施方式对本发明作进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
图1为基于信道可用度建立的ZigBee信道资源库图。Figure 1 is a ZigBee channel resource library diagram based on channel availability.
图2为基于实时可用度的ZigBee信道选择方法示意图。Fig. 2 is a schematic diagram of a ZigBee channel selection method based on real-time availability.
图3为基于实时可用度的ZigBee信道选择方法的流程图。Fig. 3 is a flow chart of the ZigBee channel selection method based on real-time availability.
具体实施方式 Detailed ways
如图1所示,设ZigBee信道总数为n,所有信道由1到n依次编号,定义信道编号为i[i=1,2…n]的信道空闲率为λi(t)和信道质量为βi(t),定义信道i的信道可用度为ηi(t)=λi(t)×βi(t),信道可用度参数综合体现了信道的空闲率和信道质量。As shown in Figure 1, assume that the total number of ZigBee channels is n, and all channels are numbered sequentially from 1 to n, and the channel idle rate λ i (t) and channel quality defined as channel number i[i=1, 2...n] are β i (t), the channel availability of channel i is defined as η i (t) = λ i (t) × β i (t), and the channel availability parameter comprehensively reflects the idle rate and channel quality of the channel.
图2,为基于实时可用度的ZigBee信道选择方法的示意图,图中虚线框的内容体现了本发明的创新核心所在,即依据信道资源库中的可用度排序动态的选择信道,同时利用实时可用度算法动态更新信道可用度。其详细流程如图3所示,下面结合一个ZigBee设备在复杂的无线电环境中动态选择合适的信道作为数据传输信道的过程为例,对本发明做进一步的展示。其具体实施方式如下:Fig. 2 is a schematic diagram of the ZigBee channel selection method based on real-time availability, and the content of the dotted frame in the figure embodies the innovation core of the present invention, that is, dynamically selects channels according to the availability sorting in the channel resource library, and utilizes real-time available The degree algorithm dynamically updates the channel availability. Its detailed process is shown in Figure 3, and the process of a ZigBee device dynamically selecting a suitable channel as a data transmission channel in a complex radio environment is taken as an example below to further demonstrate the present invention. Its specific implementation is as follows:
1)本发明是基于实时可用度动态的选择信道的算法,需要用信道资源库来表示和存储所用到的信道参数。因此,算法第一步是“创建信道资源库”;1) The present invention is an algorithm for dynamically selecting channels based on real-time availability, and a channel resource library is required to represent and store the channel parameters used. Therefore, the first step of the algorithm is to "create a channel resource library";
2)确定信道资源库后,算法需要完成初始化,主要包括算法运行所必须参数的设定,例如,信道空闲率和信道质量等。基于实时可用度的ZigBee信道动态选择方法中步骤2~步骤3(步骤2:对信道进行编号和设定相关参数;步骤3:获取信道空闲状态和信道质量参数,并计算信道统计空闲概率。)是在算法初始化阶段完成的,至此完成算法初始化;2) After the channel resource bank is determined, the algorithm needs to be initialized, which mainly includes the setting of parameters necessary for the algorithm to run, such as channel idle rate and channel quality. Steps 2 to 3 in the ZigBee channel dynamic selection method based on real-time availability (step 2: number the channel and set related parameters; step 3: obtain the channel idle state and channel quality parameters, and calculate the statistical idle probability of the channel.) It is completed in the algorithm initialization phase, so far the algorithm initialization is completed;
3)ZigBee设备计算和更新信道资源库中所有信道的信道可用度,并根据信道可用度大小,对所有信道进行降序排列,此时完成基于当前信道可用度的已排序信道资源库。进入等待状态(步骤4:更新信道可用度;步骤5:对可用度进行排序;步骤6,进入等待状态);3) The ZigBee device calculates and updates the channel availability of all channels in the channel resource library, and sorts all channels in descending order according to the channel availability, and completes the sorted channel resource library based on the current channel availability. Enter the waiting state (step 4: update the channel availability; step 5: sort the availability; step 6, enter the waiting state);
4)若ZigBee设备有数据需要传输,则从已排序信道资源库中选择第一个信道进行监听,若为空闲,则占用此信道并进行数据传输,并转入下一步骤;否则继续监听下一个信道,直到有空闲信道,则占用此信道并进行数据传输;若遍历完全部信道资源库仍未检测到空闲信道,则结束算法或重新启动算法(如步骤7所述);4) If the ZigBee device has data to transmit, select the first channel from the sorted channel resource library to monitor, if it is idle, occupy this channel and transmit data, and go to the next step; otherwise, continue to monitor A channel, until there is an idle channel, then occupy this channel and carry out data transmission; if no idle channel is detected after traversing all the channel resource banks, then end the algorithm or restart the algorithm (as described in step 7);
5)ZigBee设备完成数据传输后,立刻检测数据传输的结果,利用实时可用度算法计算信道资源库中所有信道下一时刻的信道空闲率和信道质量(如步骤8所述);5) After the ZigBee device completes the data transmission, immediately detect the result of the data transmission, and utilize the real-time availability algorithm to calculate the channel idle rate and channel quality (as described in step 8) of all channels in the channel resource bank at the next moment;
6)计算和更新信道资源库中的可用度参数(如步骤4所述)。6) Calculating and updating the availability parameters in the channel resource library (as described in step 4).
上面对本发明所述的基于可用度的ZigBee信道选择方法进行了详细的说明,但本发明的具体实现形式并不局限于此。对于本技术领域的一般技术人员来说,在不背离本发明所述方法的精神和权利要求范围的情况下对它进行的各种显而易见的改变都在本发明的保护范围之内。The availability-based ZigBee channel selection method of the present invention has been described in detail above, but the specific implementation form of the present invention is not limited thereto. For those skilled in the art, various obvious changes made to the method of the present invention without departing from the spirit of the method and the scope of the claims are within the protection scope of the present invention.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110057516.6A CN102170643B (en) | 2011-03-10 | 2011-03-10 | A ZigBee channel dynamic selection method based on real-time availability |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110057516.6A CN102170643B (en) | 2011-03-10 | 2011-03-10 | A ZigBee channel dynamic selection method based on real-time availability |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102170643A CN102170643A (en) | 2011-08-31 |
CN102170643B true CN102170643B (en) | 2014-11-19 |
Family
ID=44491584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110057516.6A Expired - Fee Related CN102170643B (en) | 2011-03-10 | 2011-03-10 | A ZigBee channel dynamic selection method based on real-time availability |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102170643B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI487397B (en) * | 2012-08-30 | 2015-06-01 | Lite On Electronics Guangzhou | Channel selection method, channel selector and network connecting apparatus |
CN103561474B (en) * | 2013-11-11 | 2016-03-02 | 南京熊猫电子制造有限公司 | A kind of method strengthening Zigbee communication performance |
CN103874071A (en) * | 2014-03-13 | 2014-06-18 | 南京讯晶科技有限公司 | Method for preventing interference on medical frequency band of internet of things |
CN104768197B (en) * | 2015-03-17 | 2018-06-26 | 北京邮电大学 | The method and apparatus of channel selection |
CN105592551B (en) * | 2015-08-10 | 2019-06-07 | 新华三技术有限公司 | A kind of method for channel allocation and device |
CN105868958A (en) * | 2016-03-18 | 2016-08-17 | 深圳大学 | Group activity organization method and server, terminal, and system |
CN106028383B (en) * | 2016-06-22 | 2019-08-27 | 苏州科技大学 | A Wireless Network Channel Evaluation System for Process Industry |
CN106793151B (en) * | 2016-12-16 | 2019-11-26 | 佛山科学技术学院 | Distributed random handshake method and its system in a kind of wireless built network |
CN108551669B (en) * | 2018-03-30 | 2021-06-22 | 努比亚技术有限公司 | Method and terminal for determining residence channel of Bluetooth device |
CN111246571B (en) * | 2018-11-28 | 2023-09-29 | 鹤壁天海电子信息系统有限公司 | Idle channel searching method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132617A (en) * | 2006-08-24 | 2008-02-27 | 华为技术有限公司 | Method and system for realizing peer-to-peer communication |
EP2276314A1 (en) * | 2009-07-16 | 2011-01-19 | Vodafone Holding GmbH | Method, system and adapter for connecting a plurality of devices |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE602008004493D1 (en) * | 2007-04-04 | 2011-02-24 | Philips Intellectual Property | DETECTION OF INTERFERENCE TECHNOLOGIES |
-
2011
- 2011-03-10 CN CN201110057516.6A patent/CN102170643B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132617A (en) * | 2006-08-24 | 2008-02-27 | 华为技术有限公司 | Method and system for realizing peer-to-peer communication |
EP2276314A1 (en) * | 2009-07-16 | 2011-01-19 | Vodafone Holding GmbH | Method, system and adapter for connecting a plurality of devices |
Non-Patent Citations (2)
Title |
---|
WLAN分布式同频干扰避免新方法;夏茂素 等;《通信技术》;20090805;第42卷(第07期);第42-44页 * |
夏茂素 等.WLAN分布式同频干扰避免新方法.《通信技术》.2009,第42卷(第07期),第42-44页. * |
Also Published As
Publication number | Publication date |
---|---|
CN102170643A (en) | 2011-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102170643B (en) | A ZigBee channel dynamic selection method based on real-time availability | |
CN103632209B (en) | A kind of intelligent adapted electric industry business data transfer bandwidth Forecasting Methodology based on queueing theory | |
CN102098684B (en) | System and method for cross-layer resource allocation in cognitive wireless network | |
CN107040948A (en) | A kind of CSMA/CA optimization methods based on priority | |
CN104540234B (en) | A kind of associated task scheduling mechanism synchronously constrained based on CoMP under C RAN frameworks | |
CN104185298A (en) | Network load dynamic adaptive parameter adjusting method based on priorities | |
CN111065102A (en) | Resource allocation method for 5G multi-system coexistence in unlicensed spectrum based on Q-learning | |
CN103428805B (en) | The virtual mapping method of a kind of wireless network based on link anti-interference | |
CN102572850A (en) | Spectrum allocation method based on operating state switching of authorized user in cognitive radio | |
CN102202428A (en) | Building energy consumption monitoring analysis system based on wireless sensor technology | |
CN102395140B (en) | Energy saving frequency spectrum detection method based on cognitive sensor network | |
CN105915300A (en) | RLNC-based back-off frequency spectrum prediction method in CR network | |
CN102724680B (en) | Multi-channel perceptual sequence optimizing method on basis of Markov prediction in distributive cognitive radio network | |
CN102970714B (en) | A kind of flow allocation method of cognition wireless self-organizing network multipath route and device | |
CN104540203A (en) | Performance optimizing method for wireless body area network based on independent sets | |
CN104202757B (en) | A kind of cognitive radio networks best performance detection method | |
Xiao et al. | An analytical model for IEEE 802.15. 4 with sleep mode based on time-varying queue | |
CN104168572A (en) | Artificial physics optimization cognitive radio network spectrum distribution method | |
CN109729521B (en) | Trust-aware security opportunity data transmission method | |
Pan et al. | MAC Revivo: Artificial Intelligence Paves the Way | |
CN102427592A (en) | Centralized link scheduling method for multi-channel wireless network | |
Chhaya et al. | Cross layer optimization and simulation of smart grid home area network | |
Kumar et al. | Data aggregation using spatial and temporal data correlation | |
CN108769944A (en) | MP-MR-MC radio sensor network data collection methods towards bridge structural health monitoring | |
CN108551676A (en) | A kind of cognition car networking frequency spectrum distributing method based on immune optimization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141119 Termination date: 20200310 |