CN103209417B - Based on Forecasting Methodology and the device of the spectrum occupancy state of neural net - Google Patents
Based on Forecasting Methodology and the device of the spectrum occupancy state of neural net Download PDFInfo
- Publication number
- CN103209417B CN103209417B CN201310069826.9A CN201310069826A CN103209417B CN 103209417 B CN103209417 B CN 103209417B CN 201310069826 A CN201310069826 A CN 201310069826A CN 103209417 B CN103209417 B CN 103209417B
- Authority
- CN
- China
- Prior art keywords
- neural network
- occupancy state
- frequency band
- preset frequency
- prediction
- 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.)
- Active
Links
- 238000001228 spectrum Methods 0.000 title claims abstract description 73
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000001537 neural effect Effects 0.000 title 1
- 238000013528 artificial neural network Methods 0.000 claims abstract description 152
- 210000002569 neuron Anatomy 0.000 claims abstract description 19
- 238000012512 characterization method Methods 0.000 claims abstract description 15
- 238000013138 pruning Methods 0.000 claims abstract description 13
- 238000012549 training Methods 0.000 claims description 12
- 238000010606 normalization Methods 0.000 claims description 5
- 238000012937 correction Methods 0.000 claims description 3
- 230000004048 modification Effects 0.000 claims description 3
- 238000012986 modification Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 3
- 230000008901 benefit Effects 0.000 abstract description 7
- 238000004364 calculation method Methods 0.000 description 18
- 230000006854 communication Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 11
- 238000013480 data collection Methods 0.000 description 8
- 238000013507 mapping Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000010354 integration Effects 0.000 description 4
- 230000004069 differentiation Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种基于神经网络的频谱占用状态的预测方法以及装置。所述基于神经网络的频谱占用状态的预测方法包括以下步骤:步骤S1:构建神经网络并采用修剪算法确定神经网络各层以及各神经元的初始参数;步骤S2:向神经网络中输入集合{bi,bi-1,…,bi-m}中各元素,将神经网络的输出结果与以表征第i+1时序预设频段占用状态的表征变量hi+1进行比较;根据比较结果修正初始参数得到预测参数;bi为第i时序预设频段的信号强度,i为正整数,m为小于i的正整数数;步骤S3:同时向神经网络输入集合{bi+1,bi,…,bi-m+1}中各元素,神经网络输出表征第i+2时序预设频段的占用状态的预测表征变量Hi+2,根据预测表征变量Hi+2判定i+2时序预设频段的占用状态,具有计算复杂度低,实现简单的优点。
The invention discloses a neural network-based prediction method and device for spectrum occupancy state. The prediction method of the spectrum occupancy state based on the neural network includes the following steps: Step S1: Construct the neural network and use a pruning algorithm to determine the initial parameters of each layer of the neural network and each neuron; Step S2: Input the set {b For each element in i , b i-1 ,..., b im }, compare the output result of the neural network with the representation variable h i+1 representing the occupancy state of the preset frequency band at the i+1th time sequence; modify the initial Parameters to obtain prediction parameters; b i is the signal strength of the i-th time series preset frequency band, i is a positive integer, and m is a positive integer number smaller than i; step S3: input the set {b i+1 , b i , to the neural network at the same time, ..., each element in b i-m+1 }, the neural network outputs the predicted characterization variable H i+2 representing the occupancy state of the i+2th time sequence preset frequency band, and the i+2 time sequence is determined according to the predicted characterization variable H i+2 The occupancy state of the preset frequency band has the advantages of low computational complexity and simple implementation.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及频谱占用状态的预测方法以及装置。The present invention relates to the field of communication technologies, in particular to a method and device for predicting spectrum occupancy status.
背景技术Background technique
在动态频谱分配过程中,次要用户需要暂时借助主要用户的空闲频谱进行通信以达到提高频谱利用率的目的。基于上述动态频谱分配下通信的前提是能够准确的预测出频谱占用状态,而找出空闲的频谱用于次要用户的通信。现有的频谱占用状态预测方法如卡尔曼滤波模型、隐含马尔可夫模型等预测方法均是基于当前和/或历史时序的频谱占用状态以及频谱的分布信息进行预测。而在具体的实施过程中次要用户端获取频谱占用分布信息困难较大,且由于涉及频谱占用分布造成计算量大、计算复杂度高以及预测结果不够准确等问题。In the process of dynamic spectrum allocation, the secondary user needs to temporarily use the idle spectrum of the primary user to communicate in order to achieve the purpose of improving spectrum utilization. The premise of communication based on the foregoing dynamic spectrum allocation is that the spectrum occupancy state can be accurately predicted, and an idle spectrum is found for communication of secondary users. Existing spectrum occupancy state prediction methods such as Kalman filter model, hidden Markov model and other prediction methods are all based on current and/or historical time series spectrum occupancy state and spectrum distribution information. However, in the specific implementation process, it is difficult for the secondary user end to obtain spectrum occupancy distribution information, and problems such as large amount of calculation, high computational complexity, and inaccurate prediction results are caused by the spectrum occupancy distribution involved.
发明内容Contents of the invention
(一)发明目的(1) Purpose of the invention
本发明提供一种仅基于历史时序内所需频段占用状态的、计算量小、计算复杂度低、准确率高的基于神经网络的频谱占用状态的预测方法以及装置。The present invention provides a method and device for predicting spectrum occupancy status based on a neural network based only on the required frequency band occupation status in historical time series, with small calculation amount, low calculation complexity and high accuracy.
(二)技术方案(2) Technical solutions
为达上述目的,本发明基于神经网络的频谱占用状态的预测方法依次包括以下步骤:For reaching above-mentioned purpose, the prediction method of the spectrum occupancy state based on neural network of the present invention comprises the following steps successively:
步骤S1:构建神经网络并采用修剪算法确定神经网络各层以及各神经元的初始参数;Step S1: Construct a neural network and use a pruning algorithm to determine the initial parameters of each layer of the neural network and each neuron;
步骤S2:向神经网络中输入集合{bi,bi-1,…,bi-m}中各元素,将神经网络的输出结果与以表征第i+1时序预设频段占用状态的表征变量hi+1进行比较;根据比较结果修正初始参数得到预测参数;bi为第i时序预设频段的信号强度,i为正整数,m为小于i的正整数;Step S2: Input each element in the set {b i , b i-1 ,..., b im } into the neural network, and compare the output result of the neural network with the representation variable h used to represent the occupancy state of the i+1th time sequence preset frequency band i+1 is compared; according to the comparison result, the initial parameter is corrected to obtain the predicted parameter; b i is the signal strength of the i-th timing preset frequency band, i is a positive integer, and m is a positive integer less than i;
步骤S3:同时向神经网络输入集合{bi+1,bi,…,L,bi-m+1}中各元素,神经网络输出表征第i+2时序预设频段的占用状态的预测表征变量Hi+2,根据预测表征变量Hi+2判定i+2时序预设频段的占用状态。Step S3: Simultaneously input each element in the set {b i+1 , b i ,..., L, b i-m+1 } to the neural network, and the neural network outputs a prediction representing the occupancy state of the i+2th time sequence preset frequency band The characteristic variable H i+2 , according to the predicted characteristic variable H i+2 , determines the occupancy state of the i+2 time sequence preset frequency band.
优选地,在所述步骤S1之前还包括步骤S0;Preferably, a step S0 is also included before the step S1;
所述步骤S0:采集{bi,bi-1,…,bi-m}以及hi+1。The step S0: collect {bi, bi -1 , ..., bi im } and h i +1 .
优选地,在所述步骤S0与所述步骤S1之间还包括对所述步骤S0中采集的数据进行归一化处理的步骤。Preferably, between the step S0 and the step S1, a step of normalizing the data collected in the step S0 is further included.
优选地,所述初始参数以及所述预测参数均至少包括神经网络相邻两层之间的权重系数;Preferably, both the initial parameters and the predicted parameters at least include weight coefficients between two adjacent layers of the neural network;
所述步骤S2中根据比较结果以反向传播算法修正初始参数。In the step S2, the initial parameters are corrected with a backpropagation algorithm according to the comparison result.
优选地,所述步骤S3中通过阈值判定法判定所述Hi+2所对应的i+2时刻预设频段的占用状态。Preferably, in the step S3, the occupancy state of the preset frequency band at time i+2 corresponding to the H i+2 is determined by a threshold value determination method.
为达到上述目的,本发明基于神经网络的频谱占用状态的预测装置包括:In order to achieve the above object, the present invention is based on the prediction device of the spectrum occupancy state of neural network comprising:
神经网络构建模块,用以构建神经网络并采用修剪算法确定神经网络各层以及各神经元的初始参数;The neural network building block is used to construct the neural network and use the pruning algorithm to determine the initial parameters of each layer of the neural network and each neuron;
神经网络训练模块,用以向神经网络中输入集合{bi,bi-1,…,bi-m}中各元素,将神经网络的输出结果与以表征第i+1时序预设频段占用状态的表征变量hi+1进行比较;根据比较结果修正初始参数得到预测参数;bi为第i时序预设频段的信号强度,i为正整数,m为小于i的正整数;The neural network training module is used to input the elements in the set {b i , b i-1 ,..., b im } to the neural network, and compare the output results of the neural network to represent the occupancy state of the i+1th timing preset frequency band The characteristic variable h i+1 is compared; according to the comparison result, the initial parameter is corrected to obtain the predicted parameter; b i is the signal strength of the i-th time series preset frequency band, i is a positive integer, and m is a positive integer smaller than i;
频谱占用状态预测模块,用以同时向神经网络输入集合{bi+1,bi,…,bi-m+1}中各元素,神经网络输出表征第i+2时序预设频段的占用状态的预测表征变量Hi+2,根据预测表征变量Hi+2判定i+2时序预设频段的占用状态。The spectrum occupancy state prediction module is used to simultaneously input the elements in the set {b i+1 , b i ,..., b i-m+1 } to the neural network, and the output of the neural network represents the occupancy of the i+2th timing preset frequency band The predictive characterization variable H i+2 of the state is used to determine the occupancy state of the preset frequency band at the i+2 time sequence according to the predictive characterization variable H i+2 .
进一步地,所述基于神经网络的频谱占用状态的预测装置还包括采集{bi,bi-1,…,bi-m}以及hi+1的数据采集模块。Further, the neural network-based prediction device for spectrum occupancy status further includes a data collection module for collecting {bi, bi -1 , ..., bi im } and hi +1 .
进一步地,所述数据采集模块还包括用以将其采集的数据进行归一化处理的归一化子模块。Further, the data collection module also includes a normalization sub-module for normalizing the collected data.
进一步地,所述初始参数以及所述预测参数均至少包括神经网络相邻两层之间的权重系数;Further, both the initial parameters and the prediction parameters at least include weight coefficients between two adjacent layers of the neural network;
所述神经网络训练模块包括用以根据比较结果以反向传播算法修正初始参数的参数修正子模块。The neural network training module includes a parameter modification sub-module for modifying initial parameters with a backpropagation algorithm according to the comparison result.
进一步地,频谱占用状态预测模块包括用以通过阈值判定法判定所述Hi+2所对应的i+2时刻预设频段的占用状态的判定子模块。Further, the spectrum occupancy state prediction module includes a determination submodule for determining the occupancy state of the preset frequency band at time i +2 corresponding to H i+2 through a threshold determination method.
(三)本发明基于神经网络的频谱占用状态的预测方法以及装置的有益效果(3) The beneficial effects of the neural network-based spectrum occupancy state prediction method and device of the present invention
第一:本发明基于神经网路的频谱占用状态的预测方法以及装置,采用经修剪算法确定并通过训练调整后的神经网络表征无线通信中的预测前m+1时序内预设频段信号强度与所述预测时序频谱占用状态之间的映射关系,从而次要用户在预测频谱占用状态时,不需要像传统方法一样获取频段的占用分布信息,故不存在次要用户获取频段分布信息难的问题。First: The present invention is based on the prediction method and device of the spectrum occupancy state of the neural network. The neural network determined by the pruning algorithm and adjusted by training is used to represent the signal strength and signal strength of the preset frequency band in the m+1 time sequence before the prediction in wireless communication. The mapping relationship between the predicted timing spectrum occupancy states, so that when the secondary user predicts the spectrum occupancy state, it does not need to obtain the occupancy distribution information of the frequency band like the traditional method, so there is no problem that the secondary user is difficult to obtain the frequency band distribution information .
第二:由于频段占用分布通常满足如高斯分布、泊松分布等公式计算时不可避免的需要进行如微分、积分等复杂运算。本发明基于神经网路的频谱占用状态的预测方法以及装置,在预测过程中不再涉及频段占用分布信息,而神经网络是模拟人脑形成的且由简单计算单元组成的非线性网络组成的输入输出映射模型,故而计算通常是较为简单的函数运算以及网络相邻两层之间的权重运算,从而具有计算简单、计算量小且计算准确的优点。Second: Since the frequency band occupancy distribution usually satisfies formulas such as Gaussian distribution and Poisson distribution, it is inevitable to perform complex operations such as differentiation and integration. The prediction method and device of the spectrum occupancy state based on the neural network of the present invention no longer involve frequency band occupation distribution information in the prediction process, and the neural network is an input composed of a nonlinear network formed by simulating the human brain and composed of simple calculation units The output mapping model, so the calculation is usually a relatively simple function operation and the weight operation between two adjacent layers of the network, which has the advantages of simple calculation, small calculation amount and accurate calculation.
第三:本发明基于神经网路的频谱占用状态的预测方法以及装置,由于神经网络的学习能力强,具有很强的泛化能力,故而可以应用于不同频段、不同时序的频谱占用的预测,且预测参数实时调整从而获得的结果更加准确,从而相对于传统的预测方法以及装置具有更强的适用性,提供的预测信息更加实用。Third: The present invention is based on the prediction method and device of the spectrum occupancy state of the neural network. Due to the strong learning ability of the neural network and the strong generalization ability, it can be applied to the prediction of spectrum occupancy in different frequency bands and different timings. And the prediction parameters are adjusted in real time so that the obtained results are more accurate, so compared with the traditional prediction methods and devices, it has stronger applicability, and the provided prediction information is more practical.
附图说明Description of drawings
图1为本发明实施例三所述基于神经网络的频谱占用状态的预测方法的流程图;FIG. 1 is a flow chart of a method for predicting a spectrum occupancy state based on a neural network according to Embodiment 3 of the present invention;
图2为本发明第二实施例所述的基于神经网络的频谱占用状态的预测装置的流程图。Fig. 2 is a flow chart of the apparatus for predicting spectrum occupancy status based on a neural network according to the second embodiment of the present invention.
具体实施方式detailed description
下面结合说明书附图以及实施例对本发明基于神经网络的频谱占用状态的预测方法做进一步的说明。The neural network-based spectrum occupancy state prediction method of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.
实施例一:Embodiment one:
某一频段的信号强度可以用来衡量该频段的占用状态,故信号强度可以用作输入来通过神经网络的去衰减等相关运算后的得到该频点的占用信息;再通过观察、抽象若干个连续时序的占用状态的变化趋势通过相应计算以及变换可以预测出所述若干个连续时序的下一时序的该频段的占用状态信息。The signal strength of a certain frequency band can be used to measure the occupancy status of the frequency band, so the signal strength can be used as an input to obtain the occupancy information of the frequency point after related calculations such as de-attenuation of the neural network; and then by observing and abstracting several The occupancy state information of the frequency band in the next time sequence of the several consecutive time sequences can be predicted through corresponding calculation and transformation of the change trend of the occupancy state of the continuous time series.
本实施例基于神经网络的频谱占用状态的预测方法,其特征在于,所述基于神经网络的频谱占用状态的预测方法包括以下步骤:The method for predicting the spectrum occupancy state based on the neural network in this embodiment is characterized in that the prediction method for the spectrum occupancy state based on the neural network includes the following steps:
步骤S1:构建神经网络并采用修剪算法确定神经网络各层以及各神经元的初始参数;神经网络依次包括输入层、中间层以及输出层;每一层均是由若干神经元组成的,同一层的神经元之间相互没有数据交互,层与层之间的神经元之间进行数据传递,用于表现输入与输出之间的映射关系;采用修剪算法可以有效的剔除神经网络各层中不必要的神经元和/或神经元的连接,从而达到构建的神经网络输入与输出之间映射关系简单、映射结果准确且实现简单可靠的效果;Step S1: Construct a neural network and use a pruning algorithm to determine the initial parameters of each layer of the neural network and each neuron; the neural network includes an input layer, an intermediate layer, and an output layer in turn; each layer is composed of several neurons, and the same layer There is no data interaction between the neurons of each layer, and the data is transmitted between the neurons between the layers to represent the mapping relationship between the input and the output; the pruning algorithm can effectively eliminate unnecessary neurons and/or connections of neurons, so as to achieve a simple mapping relationship between the input and output of the constructed neural network, accurate mapping results, and simple and reliable results;
步骤S2:向神经网络中输入集合{bi,bi-1,…,bi-m}中各元素,将神经网络的输出结果与以表征第i+1时序预设频段占用状态的表征变量hi+1进行比较;根据比较结果修正初始参数得到预测参数;bi为第i时序预设频段的信号强度,i为正整数,m为小于i的正整数;i的取值决定了集合的初始值,m的取值决定了集合的长度;而在此步骤当中以连续的m+1个时序的信号强度为输入以及m+1个时序的下一个时序中预设频段的占用状态为目标值进行神经网路的训练,使神经网络的输出的预测值与目标值满足一定的误差;如若两者的误差小于预设误差则神经网络的初始参数即是最终的预测参数;如若大于预设误差则需要调整相应的参数,则需要进行再次输入{bi,bi-1,…,bi-m}运算出结果,且将运算结果与hi+1再次比较,再次根据比较结果修正参数,最终使运算结果小于预设误差,从而通过反复修正初始参数,以使最终预测值与目标值小于预设误差时刻的参数为最终的预测参数;通过这种方法确定神经网络的最终参数,实现简单且对于最终的预测结果有预测结果准确的目的。Step S2: Input each element in the set {b i , b i-1 ,..., b im } to the neural network, and compare the output result of the neural network with the representation variable h used to characterize the occupancy state of the i+1th timing preset frequency band i+1 for comparison; modify the initial parameters according to the comparison results to obtain prediction parameters; b i is the signal strength of the i-th timing preset frequency band, i is a positive integer, and m is a positive integer smaller than i; the value of i determines the set The initial value, the value of m determines the length of the set; in this step, the signal strength of the continuous m+1 time series is used as the input and the occupancy state of the preset frequency band in the next time series of the m+1 time series is the target value to train the neural network, so that the predicted value of the output of the neural network and the target value meet a certain error; if the error between the two is less than the preset error, the initial parameter of the neural network is the final prediction parameter; if it is greater than the preset error If the error needs to adjust the corresponding parameters, it is necessary to re-input {bi ,bi -1 ,…,bi im } to calculate the result, and compare the calculation result with h i +1 again, and then correct the parameters according to the comparison result. Finally, the operation result is smaller than the preset error, so that the initial parameter is repeatedly corrected, so that the final predicted value and the target value are smaller than the preset error time parameter as the final predicted parameter; by this method, the final parameters of the neural network are determined, and the implementation is simple. And for the final prediction result, there is a purpose of accurate prediction result.
步骤S3:同时向神经网络输入集合{bi+1,bi,…,bi-m+1}中各元素,神经网络输出表征第i+2时序预设频段的占用状态的预测表征变量Hi+2,根据预测表征变量Hi+2判定i+2时序预设频段的占用状态。Step S3: Simultaneously input each element in the set {b i+1 , b i ,..., b i-m+1 } to the neural network, and the neural network outputs a predictive characterization variable representing the occupancy state of the i+2th time-series preset frequency band H i+2 , judging the occupancy state of the preset frequency band at the i+2 time sequence according to the predicted characteristic variable H i+2 .
在具体的通信过程中,无线频谱作为载波以频段进行划分,有些频段用于上行通信,有些用于下行通信,还有些用于特定的区域通信等,故在不同的无线通信中,各通信频段的频谱范围不同。故本实施例根据用户通信种类的需求针对不同的通信需要设置预设频段,由于神经网络有很好的泛化能力能很好的实现针对不同频段不同时序的预测参数的修正,从而用于不同频段以及不同时序的频谱占用信息的预测。In the specific communication process, the wireless spectrum is divided into frequency bands as carriers. Some frequency bands are used for uplink communication, some are used for downlink communication, and some are used for specific regional communication. Therefore, in different wireless communications, each communication frequency band different spectrum ranges. Therefore, this embodiment sets preset frequency bands for different communication needs according to the needs of user communication types. Since the neural network has a good generalization ability, it can well realize the correction of prediction parameters for different frequency bands and different timings, so that it can be used for different frequency bands. Prediction of spectrum occupancy information of frequency bands and different time series.
综合上述,The above,
首先本实施例基于神经网路的频谱占用状态的预测方法,通过神经网络来模拟历史时序中预设频段表征占用状态的信号强度与预测时序预设频段占用状态之间的映射关系,故没有涉及预设频段的分布信息,故不存在次要用户获取频段分布信息难的问题;First of all, this embodiment is based on the prediction method of the spectrum occupancy state of the neural network, and uses the neural network to simulate the mapping relationship between the signal strength of the preset frequency band in the historical time series representing the occupancy state and the occupancy state of the preset frequency band in the prediction time series, so it does not involve The distribution information of the preset frequency bands, so there is no problem that it is difficult for the secondary users to obtain the distribution information of the frequency bands;
其次,一般频段的分布信息满足如高斯分布、泊松分布等进行计算时无可避免的需要进行微分、积分以及卷积分等复杂度高的运算,而本实施例所述方法不涉及频段分布信息的应用,故不会涉及高复杂度的微分、积分等运算,且神经网络本身具有计算简单、计算迅速等的特性,故而本方法相对于传统方法具有计算复杂度低,且相对的计算复杂度小的优点。Secondly, the distribution information of general frequency bands satisfies the unavoidable need for highly complex operations such as differentiation, integration, and convolution integration when calculating such as Gaussian distribution and Poisson distribution. However, the method described in this embodiment does not involve frequency band distribution information. Therefore, it does not involve high-complexity calculations such as differentiation and integration, and the neural network itself has the characteristics of simple calculation and fast calculation, so this method has low computational complexity compared with traditional methods, and the relative computational complexity Small pluses.
再次,本实施例所述的方法,是实时针对不同频段不同时序调整预测参数,且预测参数的调整与当前的网络环境等因素密切相关,故而预测参数以及预测方法精准,从而预测结果也更加准确;Again, the method described in this embodiment is to adjust the prediction parameters in real time for different frequency bands and different timings, and the adjustment of the prediction parameters is closely related to factors such as the current network environment, so the prediction parameters and prediction methods are accurate, so that the prediction results are also more accurate ;
此外,本实施例所述的方法,采用神经网络进行预测,由于神经网络本身具有很强的泛化能力,通过步骤S2中的训练能快速有效的用于两种不同频段,不同无线网络环境中频谱占用状态的预测,从而相对于传统的方法实用性以及适用性均更强。In addition, the method described in this embodiment uses a neural network for prediction. Since the neural network itself has a strong generalization ability, it can be quickly and effectively used in two different frequency bands and different wireless network environments through the training in step S2. The prediction of the spectrum occupancy state is more practical and applicable than the traditional method.
实施例二:Embodiment two:
本实施例基于神经网络的频谱占用状态的预测方法包括以下步骤:In this embodiment, the prediction method of the spectrum occupancy state based on the neural network includes the following steps:
步骤S0:采集{bi,bi-1,…,bi-m}以及hi+1。i与m的取值决定了集合的长度。在具体的实施过程中所述m的取值通常为4~6的正整数。Step S0: Collect {b i , b i-1 , . . . , b im } and h i+1 . The values of i and m determine the set length. In a specific implementation process, the value of m is usually a positive integer of 4-6.
步骤S1:构建神经网络并采用修剪算法确定神经网络各层以及各神经元的初始参数;Step S1: Construct a neural network and use a pruning algorithm to determine the initial parameters of each layer of the neural network and each neuron;
步骤S2:向神经网络中输入集合{bi,bi-1,…,bi-m}中各元素,将神经网络的输出结果与以表征第i+1时序预设频段占用状态的表征变量hi+1进行比较;根据比较结果修正初始参数得到预测参数;bi为第i时序预设频段的信号强度,i为正整数,m为小于i的正整数;Step S2: Input each element in the set {b i , b i-1 ,..., b im } to the neural network, and compare the output result of the neural network with the representation variable h used to characterize the occupancy state of the i+1th timing preset frequency band i+1 is compared; according to the comparison result, the initial parameter is corrected to obtain the predicted parameter; b i is the signal strength of the i-th timing preset frequency band, i is a positive integer, and m is a positive integer less than i;
步骤S3:同时向神经网络输入集合{bi+1,bi,…,bi-m+1}中各元素,神经网络输出表征第i+2时序预设频段的占用状态的预测表征变量Hi+2,根据预测表征变量Hi+2判定i+2时序预设频段的占用状态。Step S3: Simultaneously input each element in the set {b i+1 , b i ,..., b i-m+1 } to the neural network, and the neural network outputs a predictive characterization variable representing the occupancy state of the i+2th time-series preset frequency band H i+2 , judging the occupancy state of the preset frequency band at the i+2 time sequence according to the predicted characteristic variable H i+2 .
由于步骤S2的需要,所述的{bi+1,bi,…,bi-m+1}以及hi+1可以由外设输入,也可以自行采集,而在本实施例中选用自行采集的方法,具体的采集方法可以使实际测量或经验数据。Due to the needs of step S2, the {b i+1 , b i , ..., b i-m+1 } and h i+1 can be input by peripherals or can be collected by themselves, but in this embodiment The method of self-collection, the specific collection method can be actual measurement or empirical data.
实施例三:Embodiment three:
如图1所示,本实施例在上一实施例的基础上,本实施基于神经网络的频谱占用状态的预测方法,在所述步骤S0与所述步骤S1之间还包括对所述步骤S0中采集的数据行归一化处理的步骤。通过归一化的处理使得输入的数据单位统一、且位于神经网络的处理范围内,从而提高神经网络的计算速度,缩短计算时间。As shown in FIG. 1 , on the basis of the previous embodiment, this embodiment implements a method for predicting spectrum occupancy status based on a neural network, and further includes step S0 between the step S0 and the step S1 The step of normalizing the data collected in the process. Through normalization processing, the input data units are unified and within the processing range of the neural network, thereby improving the calculation speed of the neural network and shortening the calculation time.
在具体的实施过程中,所述初始参数以及所述预测参数均包括神经元数目、各神经元的激励函数、学习速率、最大迭代次数、预设误差以及各神经元层之间的权重系数参数。In the specific implementation process, the initial parameters and the prediction parameters include the number of neurons, the activation function of each neuron, the learning rate, the maximum number of iterations, the preset error, and the weight coefficient parameters between each neuron layer .
作为本实施例的进一步的优化,所述步骤S3中根据比较结果以反向传播算法修正初始参数。采用反向传播算法修正初始参数,实现简单快捷。As a further optimization of this embodiment, in the step S3, the initial parameters are corrected with a backpropagation algorithm according to the comparison result. The backpropagation algorithm is used to correct the initial parameters, which is simple and fast.
实施例四:Embodiment four:
本实施例基于神经网络的频谱占用状态的预测方法包括以下步骤:In this embodiment, the prediction method of the spectrum occupancy state based on the neural network includes the following steps:
步骤S1:构建神经网络并采用修剪算法确定神经网络各层以及各神经元的初始参数;Step S1: Construct a neural network and use a pruning algorithm to determine the initial parameters of each layer of the neural network and each neuron;
步骤S2:向神经网络中输入集合{bi,bi-1,…,bi-m}中各元素,将神经网络的输出结果与以表征第i+1时序预设频段占用状态的表征变量hi+1进行比较;根据比较结果修正初始参数得到预测参数;bi为第i时序预设频段的信号强度,i为正整数,m为小于i的正整数;Step S2: Input each element in the set {b i , b i-1 ,..., b im } to the neural network, and compare the output result of the neural network with the representation variable h used to characterize the occupancy state of the i+1th timing preset frequency band i+1 is compared; according to the comparison result, the initial parameter is corrected to obtain the predicted parameter; b i is the signal strength of the i-th timing preset frequency band, i is a positive integer, and m is a positive integer less than i;
步骤S3:同时向神经网络输入集合{bi+1,bi,…,bi-m+1}中各元素,神经网络输出表征第i+2时序预设频段的占用状态的预测表征变量Hi+2,通过阈值判定法判定所述预测表征变量Hi+2所对应的预设频段i+2时序的占用状态。Step S3: Simultaneously input each element in the set {b i+1 , b i ,..., b i-m+1 } to the neural network, and the neural network outputs a predictive characterization variable representing the occupancy state of the i+2th time-series preset frequency band H i+2 , using a threshold determination method to determine the occupancy state of the time series of the preset frequency band i+2 corresponding to the predictive characterization variable H i+2 .
在具体的实施过程中可以采用函数判定等其他判决方法,而阈值判定方法实施简单的优点,从而使得本实施例所述的基于神经网络的频谱占用状态的预测方法,具有预测值准确、计算量小、计算复杂度低的同时具有了判定简单明了以及实现简便的优点。In the specific implementation process, other judgment methods such as function judgment can be used, and the threshold judgment method has the advantages of simple implementation, so that the prediction method of the spectrum occupancy state based on the neural network described in this embodiment has the advantages of accurate prediction value and low calculation amount. Small in size and low in computational complexity, it also has the advantages of simple and clear judgment and easy implementation.
下面结合说明书附图以及实施例对本发明基于神经网络的频谱占用状态的预测装置做进一步的说明。The neural network-based spectrum occupancy state prediction device of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.
第一实施例:First embodiment:
本实施例基于神经网络的频谱占用状态的预测装置包括:The apparatus for predicting the spectrum occupancy state based on the neural network in this embodiment includes:
所述基于神经网络的频谱占用状态的预测装置包括:The prediction device of the spectrum occupancy state based on the neural network comprises:
神经网络构建模块,用以构建神经网络并采用修剪算法确定神经网络各层以及各神经元的初始参数;The neural network building block is used to construct the neural network and use the pruning algorithm to determine the initial parameters of each layer of the neural network and each neuron;
神经网络训练模块,用以向神经网络中输入集合{bi,bi-1,…,bi-m}中各元素,将神经网络的输出结果与以表征第i+1时序预设频段占用状态的表征变量hi+1进行比较;根据比较结果修正初始参数得到预测参数;bi为第i时序预设频段的信号强度,i为正整数,m为小于i的正整数;The neural network training module is used to input the elements in the set {b i , b i-1 ,..., b im } to the neural network, and compare the output results of the neural network to represent the occupancy state of the i+1th timing preset frequency band The characteristic variable h i+1 is compared; according to the comparison result, the initial parameter is corrected to obtain the predicted parameter; b i is the signal strength of the i-th time series preset frequency band, i is a positive integer, and m is a positive integer smaller than i;
频谱占用状态预测模块,用以向神经网络输入集合{bi+1,bi,…,bi-m+1}中各元素,神经网络输出表征第i+2时序预设频段的占用状态的预测表征变量Hi+2,根据预测表征变量Hi+2判定i+2时序预设频段的占用状态。The spectrum occupancy state prediction module is used to input each element in the set {b i+1 , b i ,..., b i-m+1 } to the neural network, and the output of the neural network represents the occupancy state of the i+2th timing preset frequency band The prediction characteristic variable H i +2 is used to determine the occupancy state of the i+2 time sequence preset frequency band according to the prediction characteristic variable H i+2 .
在本实施例中用于频谱占用状态预测的装置,通过神经网络构建模块、神经网络训练模块以及频谱占用状态预测模块实现对频谱的预测,与传统装置相比,具有计算复杂度低,计算量小,预测准确的优点。In this embodiment, the device for spectrum occupancy state prediction realizes spectrum prediction through neural network building blocks, neural network training modules, and spectrum occupancy state prediction modules. Compared with traditional devices, it has low computational complexity and low computational load The advantage of small, accurate predictions.
第二实施例:Second embodiment:
如图2所示,本实施例基于神经网络的频谱占用状态的预测装置包括:As shown in Figure 2, the prediction device of the spectrum occupancy state based on the neural network in this embodiment includes:
数据采集模块,用以采集{bi,bi-1,…,bi-m}以及hi+1;A data collection module, used to collect {b i , b i-1 ,..., b im } and h i+1 ;
神经网络构建模块,用以构建神经网络并采用修剪算法确定神经网络各层以及各神经元的初始参数;The neural network building block is used to construct the neural network and use the pruning algorithm to determine the initial parameters of each layer of the neural network and each neuron;
神经网络训练模块,用以向神经网络中输入集合{bi,bi-1,…,bi-m}中各元素,将神经网络的输出结果与以表征第i+1时序预设频段占用状态的表征变量hi+1进行比较;根据比较结果修正初始参数得到预测参数;bi为第i时序预设频段的信号强度,i为正整数,m为小于i的正整数;The neural network training module is used to input the elements in the set {b i , b i-1 ,..., b im } to the neural network, and compare the output results of the neural network to represent the occupancy state of the i+1th timing preset frequency band The characteristic variable h i+1 is compared; according to the comparison result, the initial parameter is corrected to obtain the predicted parameter; b i is the signal strength of the i-th time series preset frequency band, i is a positive integer, and m is a positive integer smaller than i;
频谱占用状态预测模块,用以同时向神经网络输入集合{bi+1,bi,…,bi-m+1}中各元素,神经网络输出表征第i+2时序预设频段的占用状态的预测表征变量Hi+2,根据预测表征变量Hi+2判定i+2时序预设频段的占用状态。The spectrum occupancy state prediction module is used to simultaneously input the elements in the set {b i+1 , b i ,..., b i-m+1 } to the neural network, and the output of the neural network represents the occupancy of the i+2th timing preset frequency band The predictive characterization variable H i+2 of the state is used to determine the occupancy state of the preset frequency band at the i+2 time sequence according to the predictive characterization variable H i+2 .
本实施例基于神经网络的频谱占用状态的预测装置在上一实施例的基础上增设了数据采集模块,用于采集所需信息,从而无需外设的帮助就可以实现数据的采集。Based on the neural network-based spectrum occupancy state prediction device in this embodiment, a data collection module is added on the basis of the previous embodiment to collect required information, so that data collection can be realized without the help of peripheral devices.
第三实施例:Third embodiment:
本实施例在上一实施例的基础上,进一步的具化了所述的数据采集模块,所述数据采集模块还包括一个用以将其采集的数据进行归一化处理的归一化子模块。通过归一化子模块的设置可以对所采集的数据进行归一化处理,从而使得装置的预测效率以及预测效果更佳。On the basis of the previous embodiment, this embodiment further specifies the data collection module, and the data collection module also includes a normalization sub-module for normalizing the collected data . The collected data can be normalized through the setting of the normalization sub-module, so that the prediction efficiency and prediction effect of the device are better.
第四实施例:Fourth embodiment:
本实施例基于神经网络的频谱占用状态的预测装置包括:The apparatus for predicting the spectrum occupancy state based on the neural network in this embodiment includes:
数据采集模块,用以采集{bi,bi-1,…,bi-m}以及hi+1;A data collection module, used to collect {b i , b i-1 ,..., b im } and h i+1 ;
神经网络构建模块,用以构建神经网络并采用修剪算法确定神经网络各层以及各神经元的初始参数;The neural network building block is used to construct the neural network and use the pruning algorithm to determine the initial parameters of each layer of the neural network and each neuron;
神经网络训练模块,用以向神经网络中输入集合{bi,bi-1,…,bi-m}中各元素,将神经网络的输出结果与以表征第i+1时序预设频段占用状态的表征变量hi+1进行比较;根据比较结果修正初始参数得到预测参数;bi为第i时序预设频段的信号强度,i为正整数,m为小于i的正整数;所述初始参数以及所述预测参数均至少包括神经网络相邻两层之间的权重系数;所述神经网络训练模块包括用以根据比较结果以反向传播算法修正初始参数的参数修正子模块。The neural network training module is used to input the elements in the set {b i , b i-1 ,..., b im } to the neural network, and compare the output results of the neural network to represent the occupancy state of the i+1th timing preset frequency band The characteristic variable h i+1 is compared; according to the comparison result, the initial parameter is corrected to obtain the predicted parameter; b i is the signal strength of the i-th time series preset frequency band, i is a positive integer, and m is a positive integer smaller than i; the initial parameter And the prediction parameters at least include weight coefficients between two adjacent layers of the neural network; the neural network training module includes a parameter correction sub-module for correcting initial parameters with a backpropagation algorithm according to the comparison result.
频谱占用状态预测模块,用以同时向神经网络输入集合{bi+1,bi,…,bi-m+1}中各元素,神经网络输出表征第i+2时序预设频段的占用状态的预测表征变量Hi+2,根据预测表征变量Hi+2判定i+2时序预设频段的占用状态;频谱占用状态预测模块包括用以通过阈值判定法判定所述Hi+2所对应的i+2时刻预设频段的占用状态的判定子模块。The spectrum occupancy state prediction module is used to simultaneously input the elements in the set {b i+1 , b i ,..., b i-m+1 } to the neural network, and the output of the neural network represents the occupancy of the i+2th timing preset frequency band The predicted characteristic variable H i+2 of the state, according to the predicted characteristic variable H i+2 , determines the occupancy state of the i+2 time sequence preset frequency band; A submodule for judging the occupancy state of the preset frequency band corresponding to time i+2.
综合上述,本发明所述的基于神经网络的频谱占用状态的预测方法以及装置,在进行频谱占用信息的预测时,无需获取当前的频谱分布状态信息,就可以直接预测出所需频段的占空状态,且采用神经网络进行以频段对应的频谱的强度信号与占用状态之间的映射关系进行预测,具有计算量小,计算复杂度低以及预测结果准确的优点。In summary, the neural network-based spectrum occupancy state prediction method and device of the present invention can directly predict the occupancy of the required frequency band without obtaining the current spectrum distribution state information when predicting spectrum occupancy information. state, and the neural network is used to predict the mapping relationship between the intensity signal of the spectrum corresponding to the frequency band and the occupancy state, which has the advantages of small amount of calculation, low computational complexity and accurate prediction results.
以上实施方式仅用于说明本发明,而并非对本发明的限制,有关技术领域的普通技术人员,在不脱离本发明的精神和范围的情况下,还可以做出各种变化和变型,因此所有等同的技术方案也属于本发明的范畴,本发明的专利保护范围应由权利要求限定。The above embodiments are only used to illustrate the present invention, but not to limit the present invention. Those of ordinary skill in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, all Equivalent technical solutions also belong to the category of the present invention, and the scope of patent protection of the present invention should be defined by the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310069826.9A CN103209417B (en) | 2013-03-05 | 2013-03-05 | Based on Forecasting Methodology and the device of the spectrum occupancy state of neural net |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310069826.9A CN103209417B (en) | 2013-03-05 | 2013-03-05 | Based on Forecasting Methodology and the device of the spectrum occupancy state of neural net |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103209417A CN103209417A (en) | 2013-07-17 |
CN103209417B true CN103209417B (en) | 2016-01-20 |
Family
ID=48756472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310069826.9A Active CN103209417B (en) | 2013-03-05 | 2013-03-05 | Based on Forecasting Methodology and the device of the spectrum occupancy state of neural net |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103209417B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105915299B (en) * | 2016-03-16 | 2018-08-14 | 重庆邮电大学 | Spectrum prediction method based on time-frequency two-dimensional LMBP neural networks in ISM band |
WO2018053835A1 (en) * | 2016-09-26 | 2018-03-29 | Intel Corporation | Method and apparatus for reducing parameter density of deep neural network (dnn) |
EP3340129B1 (en) * | 2016-12-21 | 2019-01-30 | Axis AB | Artificial neural network class-based pruning |
CN115552413B (en) * | 2020-06-11 | 2025-06-03 | 阿里巴巴集团控股有限公司 | Pruning hardware unit for training neural networks |
CN112261719B (en) * | 2020-07-24 | 2022-02-11 | 大连理智科技有限公司 | Area positioning method combining SLAM technology with deep learning |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005076010A2 (en) * | 2004-02-06 | 2005-08-18 | Council Of Scientific And Industrial Research | Computational method for identifying adhesin and adhesin-like proteins of therapeutic potential |
CN102056183A (en) * | 2010-12-10 | 2011-05-11 | 北京交通大学 | Network flow prediction method and device based on cognitive network |
CN102090097A (en) * | 2008-02-14 | 2011-06-08 | 香港科技集团有限公司 | Robust cooperative spectrum sensing for cognitive radios |
-
2013
- 2013-03-05 CN CN201310069826.9A patent/CN103209417B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005076010A2 (en) * | 2004-02-06 | 2005-08-18 | Council Of Scientific And Industrial Research | Computational method for identifying adhesin and adhesin-like proteins of therapeutic potential |
CN102090097A (en) * | 2008-02-14 | 2011-06-08 | 香港科技集团有限公司 | Robust cooperative spectrum sensing for cognitive radios |
CN102056183A (en) * | 2010-12-10 | 2011-05-11 | 北京交通大学 | Network flow prediction method and device based on cognitive network |
Non-Patent Citations (1)
Title |
---|
认知车载网络中基于QoS 保障的频谱共享新策略;张磊等;《通 信 学 报》;20111130;第32卷(第11期);第159-167页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103209417A (en) | 2013-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101893674B (en) | A Prediction Method for Pollution Flashover Index of Regional Power Grid | |
CN110472778A (en) | A kind of short-term load forecasting method based on Blending integrated study | |
CN103209417B (en) | Based on Forecasting Methodology and the device of the spectrum occupancy state of neural net | |
Lu et al. | A network traffic prediction model based on wavelet transformation and LSTM network | |
CN106295798A (en) | Empirical mode decomposition and Elman neural network ensemble wind-powered electricity generation Forecasting Methodology | |
CN108346293B (en) | A method for short-term forecasting of real-time traffic flow | |
CN110443417A (en) | Multi-model integrated load prediction method based on wavelet transformation | |
CN103793887B (en) | Short-term electric load on-line prediction method based on self-adaptive enhancement algorithm | |
CN105760952A (en) | Load prediction method based on Kalman filtering and self-adaptive fuzzy neural network | |
CN109002686A (en) | A kind of more trade mark chemical process soft-measuring modeling methods automatically generating sample | |
CN110138475A (en) | A kind of adaptive threshold channel occupation status prediction technique based on LSTM neural network | |
CN108876021A (en) | A kind of Medium-and Long-Term Runoff Forecasting method and system | |
CN109598381B (en) | Short-term traffic flow prediction method based on state frequency memory neural network | |
CN102682345A (en) | Traffic flow prediction method based on quick learning neural network with double optimal learning rates | |
CN103020728A (en) | Method for predicating short-term substation power quality in electrical power system | |
CN107798383B (en) | Improved positioning method of nuclear extreme learning machine | |
CN106997495A (en) | A kind of Methods of electric load forecasting | |
CN103177289B (en) | Modeling method for noise-uncertainty complicated nonlinear dynamic system | |
CN111931983B (en) | Precipitation prediction method and system | |
CN108280998A (en) | Short-time Traffic Flow Forecasting Methods based on historical data dynamic select | |
CN111130909B (en) | A Network Traffic Prediction Method Based on Adaptive Reserve Pool ESN | |
CN104598765A (en) | Building energy consumption prediction method based on elastic adaptive neural network | |
CN107274030A (en) | Runoff Forecast method and system based on hydrology variable year border and monthly variation characteristic | |
CN107945534A (en) | A kind of special bus method for predicting based on GMDH neutral nets | |
CN114039870B (en) | Real-time bandwidth prediction method for video streaming applications in cellular networks based on deep learning |
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 |