CN111542068B - A Cognitive Perception Optimization Method for Simulating Primary User Attacks in Cognitive Networks - Google Patents
A Cognitive Perception Optimization Method for Simulating Primary User Attacks in Cognitive Networks Download PDFInfo
- Publication number
- CN111542068B CN111542068B CN202010557870.4A CN202010557870A CN111542068B CN 111542068 B CN111542068 B CN 111542068B CN 202010557870 A CN202010557870 A CN 202010557870A CN 111542068 B CN111542068 B CN 111542068B
- Authority
- CN
- China
- Prior art keywords
- user
- probability
- cognitive
- puea
- detection
- 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
- 230000001149 cognitive effect Effects 0.000 title claims abstract description 105
- 238000005457 optimization Methods 0.000 title claims abstract description 50
- 238000000034 method Methods 0.000 title claims abstract description 21
- 230000008447 perception Effects 0.000 title 1
- 238000001514 detection method Methods 0.000 claims abstract description 108
- 238000001228 spectrum Methods 0.000 claims abstract description 35
- 230000008569 process Effects 0.000 claims abstract description 6
- 230000004927 fusion Effects 0.000 claims description 16
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000004422 calculation algorithm Methods 0.000 claims description 5
- 238000005070 sampling Methods 0.000 claims description 4
- 239000000654 additive Substances 0.000 claims description 3
- 230000000996 additive effect Effects 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000009826 distribution Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 230000014509 gene expression Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000009795 derivation Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000005562 fading Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W16/00—Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
- H04W16/14—Spectrum sharing arrangements between different networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/382—Monitoring; Testing of propagation channels for resource allocation, admission control or handover
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B2201/00—Indexing scheme relating to details of transmission systems not covered by a single group of H04B3/00 - H04B13/00
- H04B2201/69—Orthogonal indexing scheme relating to spread spectrum techniques in general
- H04B2201/692—Cognitive radio
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种面向认知网络模拟主用户攻击的协同感知优化方法,联合考虑协同感知过程中的检测信道和报告信道,通过K秩优化准则寻找最优的K值以最小化系统全局平均错误概率,并与传统的与准则、或准则、以及多数准则进行了性能对比。结果表明本发明所提方案有效降低了系统的全局平均错误概率,显著提高了频谱感知精度,有助于解决模拟主用户攻击的下的无线频谱感知安全问题。
The invention discloses a collaborative sensing optimization method for simulating primary user attacks on a cognitive network. The detection channel and the reporting channel in the collaborative sensing process are considered jointly, and the optimal K value is found through the K-rank optimization criterion to minimize the global average of the system. Error probability, and compared with traditional AND criterion, OR criterion, and majority criterion. The results show that the proposed scheme of the present invention effectively reduces the global average error probability of the system, significantly improves the accuracy of spectrum sensing, and helps to solve the security problem of wireless spectrum sensing under simulated primary user attacks.
Description
技术领域technical field
本发明属于无线通信技术领域,具体涉及一种针对频谱短缺而使用的频谱感知的优化方法。The invention belongs to the technical field of wireless communication, and in particular relates to an optimization method for spectrum sensing used for spectrum shortage.
背景技术Background technique
移动通信技术的发展为人们提供了越来越强大便捷的通信手段,正深刻地改变着人们的生产与生活方式。但是,随着全球范围内移动用户数的快速攀升,互联网业务的迅猛增长以及便携计算机设备的广泛使用,通信系统对无线频谱资源的需求也在不断增加。在自然的频谱资源有限的情况下,很多国家已将可分配的频谱资源分配完毕,留给新业务与新技术的频谱很少,甚至没有频谱资源可供分配。The development of mobile communication technology provides people with more and more powerful and convenient means of communication, which is profoundly changing people's production and way of life. However, with the rapid increase in the number of mobile users worldwide, the rapid growth of Internet services and the widespread use of portable computer equipment, the demand for wireless spectrum resources in communication systems is also increasing. Under the circumstance of limited natural spectrum resources, many countries have already allocated allocable spectrum resources, leaving little spectrum for new services and new technologies, or even no spectrum resources for allocation.
传统技术可以在一定程度上提高频谱利用率和传输容量,但即便如此,频谱资源短缺的问题仍然没有得到真正有效的解决。在这种现状下,现有的静态频谱分配方案显然已经不能满足高速无线通信业务快速增长的需求,因此,需要开发新的技术为新的业务提供更多可用的频谱。认知无线电(Cognitive Radio)能够择机利用主用户空闲的无线频谱资源,被认为是解决当前无线频谱短缺问题的有效技术。其核心思想是CR具有学习能力,能够与周围环境交互信息,以感知和利用该空间的可利用频谱,并限制和降低冲突的发生。Traditional technologies can improve spectrum utilization and transmission capacity to a certain extent, but even so, the problem of spectrum resource shortage has not been effectively solved. Under this situation, the existing static spectrum allocation scheme obviously cannot meet the rapidly growing demand of high-speed wireless communication services. Therefore, new technologies need to be developed to provide more available spectrum for new services. Cognitive Radio can selectively utilize the idle wireless spectrum resources of the main user, and is considered to be an effective technology to solve the current shortage of wireless spectrum. The core idea is that CR has the ability to learn and interact with the surrounding environment to perceive and utilize the available spectrum of the space and limit and reduce the occurrence of conflicts.
认知用户(Cognitive User,CU)通过频谱感知来确定主用户(Primary User,PU)是否正在占用授权频段,若检测结果显示PU未占用授权频段,则将此频段分配给其他用户使用。当仅使用单个认知用户CU来感知主用户PU是否占用授权频段时,多径衰落会使得检测结果不理想,从而导致判决结果出现错误。A Cognitive User (CU) determines whether a Primary User (PU) is occupying a licensed frequency band through spectrum sensing. If the detection result shows that the PU does not occupy the licensed frequency band, the frequency band is allocated to other users for use. When only a single cognitive user CU is used to sense whether the primary user PU occupies the licensed frequency band, multipath fading will make the detection result unsatisfactory, resulting in an error in the decision result.
发明内容SUMMARY OF THE INVENTION
本发明所要解决的技术问题是:认知无线电在感知和利用空间内可利用频谱的过程中,会出现判决结果错误的情况,感知精度不高。The technical problem to be solved by the present invention is: in the process of cognitive radio sensing and utilizing the available spectrum in space, the judgment result may be wrong, and the sensing precision is not high.
为解决上述技术问题,本发明提供一种面向认知网络模拟主用户攻击的协同感知优化方法,协同频谱感知优化系统包括一个主用户(PU)、一个模拟主用户攻击者(PUEA)、M个认知用户(CU)和一个数据融合中心(FC),包括以下步骤:In order to solve the above technical problems, the present invention provides a collaborative sensing optimization method for simulating primary user attacks on cognitive networks. The collaborative spectrum sensing optimization system includes a primary user (PU), a simulated primary user attacker (PUEA), M Cognitive User (CU) and a Data Fusion Center (FC), including the following steps:
步骤A,以单个认知用户能量检测的虚警概率为约束条件,确定认知用户能量检测的判决阈值,所述虚警概率为主用户不存在而认知用户的检测结果为主用户存在的概率;In step A, the false alarm probability of the energy detection of a single cognitive user is used as a constraint condition to determine the judgment threshold of the energy detection of the cognitive user. probability;
步骤B,推导出认知用户能量检测的检测概率以及漏检概率公式,并求得协同频谱感知优化系统全局平均错误概率公式,所述检测概率为主用户存在且认知用户的检测结果也为主用户存在的概率,所述漏检概率为主用户存在而认知用户的检测结果为主用户不存在的概率;Step B, derive the detection probability and missed detection probability formula of cognitive user energy detection, and obtain the global average error probability formula of the collaborative spectrum sensing optimization system, the detection probability exists for the main user and the detection result of the cognitive user is also: The probability that the main user exists, the missed detection probability is the probability that the main user exists and the detection result of the cognitive user does not exist;
步骤C,利用K秩优化准则计算全局平均错误概率。Step C, using the K-rank optimization criterion to calculate the global average error probability.
协同频谱感知优化系统的全局平均错误概率为检测信道错误概率与报告信道错误概率的叠加,其中:The global average error probability of the cooperative spectrum sensing optimization system is the superposition of the detection channel error probability and the reporting channel error probability, where:
检测信道错误概率包括虚警概率与漏检概率;Detection channel error probability includes false alarm probability and missed detection probability;
报告信道错误概率包括传输差错概率。The reported channel error probability includes the transmission error probability.
在步骤A中,以下四种情况分别为对应四种信道状态:In step A, the following four situations correspond to the four channel states:
(a)S1假设:主用户与PUEA均不存在,仅存在噪声的情况;( a ) S1 assumption: the primary user and PUEA do not exist, only the case of noise;
(b)S2假设:仅存在主用户、噪声的情况;(b) S2 assumption: there are only primary users and noise ;
(c)S3假设:仅存在PUEA用户、噪声的情况;( c ) S3 assumption: there are only PUEA users and noise;
(d)S4假设:主用户、PUEA用户、噪声均存在的情况。( d ) S4 assumption: the case where the primary user, the PUEA user, and the noise all exist.
主用户与认知用户信号均服从高斯分布,噪声信号为加性高斯白噪声。The main user and cognitive user signals both obey the Gaussian distribution, and the noise signal is additive white Gaussian noise.
假设所有认知用户与主用户之间的信道环境都相同,认知用户通过能量检测接收到的信息均有相同的信噪比,则以上四种信道状态分别对应:Assuming that the channel environment between all cognitive users and the primary user is the same, and the information received by the cognitive users through energy detection has the same signal-to-noise ratio, the above four channel states correspond respectively:
S1={F0,H0}S 1 ={F 0 , H 0 }
S2={F0,H1}S 2 ={F 0 , H 1 }
S3={F1,H0}S 3 ={F 1 , H 0 }
S4={F1,H1}#(1)S 4 ={F 1 , H 1 }#(1)
其中,F0表示PUEA不存在,F1表示PUEA存在,H0表示主用户不存在,H1表示主用户存在;若PUEA检测到主用户存在,则PUEA以概率α发起模拟主用户攻击,若PUEA未检测到主用户存在,则PUEA以概率β发起模拟主用户攻击;Among them, F 0 indicates that PUEA does not exist, F 1 indicates that PUEA exists, H 0 indicates that the main user does not exist, and H 1 indicates that the main user exists; if PUEA detects the existence of the main user, PUEA initiates a simulated main user attack with probability α. If PUEA does not detect the existence of the primary user, PUEA initiates a simulated primary user attack with probability β;
虚警概率Pfc表示主用户不存在但认知用户的检测结果显示主用户存在的概率,即Pfc=P(D1|H0),由贝叶斯公式可得:The false alarm probability P fc represents the probability that the primary user does not exist but the detection result of the cognitive user shows that the primary user exists, that is, P fc =P(D 1 |H 0 ), which can be obtained from the Bayesian formula:
其中,D1表示认知用户能量检测的结果为主用户存在,D0表示认知用户能量检测的结果为主用户不存在,P(F0|H0)表示主用户不存在时PUEA也不存在的概率,P(F1|H0)表示主用户不存在时PUEA存在的概率,P(D1|F0,H0)为主用户与PUEA均不存在、但认知用户的检测结果为主用户存在的概率,即:Among them, D 1 indicates that the main user exists in the result of cognitive user energy detection, D 0 indicates that the main user does not exist in the result of cognitive user energy detection, and P(F 0 |H 0 ) indicates that the PUEA does not exist when the main user does not exist. The probability of existence, P(F 1 |H 0 ) represents the probability of the existence of PUEA when the primary user does not exist, and P(D 1 |F 0 , H 0 ) does not exist as the primary user and PUEA, but the detection result of the cognitive user is the probability of the existence of the primary user, namely:
P(D1|F1,H0)表示主用户不存在、PUEA存在但认知用户检测结果为主用户存在的概率,即:P(D 1 |F 1 ,H 0 ) represents the probability that the primary user does not exist, the PUEA exists but the cognitive user detection result is the primary user, that is:
其中,t为积分变量,λc为认知用户能量检测的判决阈值;γe为PUEA在认知用户处的接收信噪比;表示背景噪声的方差;N为采样点数;其中,P(F0|H0)、P(F1|H0)的表达式分别为:in, t is the integral variable, λ c is the decision threshold of cognitive user energy detection; γ e is the received signal-to-noise ratio of PUEA at the cognitive user; represents the variance of background noise; N is the number of sampling points; among them, the expressions of P(F 0 |H 0 ) and P(F 1 |H 0 ) are:
P(F0|H0)=PfΔ·(1-α)+(1-PfΔ)·(1-β) (5)P(F 0 |H 0 )=P fΔ ·(1-α)+(1-P fΔ )·(1-β) (5)
P(F1|H0)=PfΔ·α+(1-PfΔ)·β (6)P(F 1 |H 0 )=P fΔ ·α+(1-P fΔ )·β (6)
为PUEA对主用户进行检测时的虚警概率: False alarm probability when detecting primary users for PUEA:
λΔ为PUEA用户对主用户进行能量检的的判决阈值。λ Δ is the decision threshold for the PUEA user to perform energy detection on the primary user.
在步骤B中,将公式(5)、(6)代入公式(2)可得:In step B, substitute formulas (5) and (6) into formula (2) to obtain:
同理,检测概率表示主用户存在、且认知用户的检测结果也显示主用户存在的概率,P(F0|H1)表示主用户存在时PUEA不存在的概率,P(F1|H1)表示主用户存在时PUEA也存在的概率,即由贝叶斯公式可得:Similarly, the detection probability represents the existence of the primary user, and the detection result of the cognitive user also shows the probability of the presence of the primary user, P(F 0 |H 1 ) represents the probability that the PUEA does not exist when the primary user exists, and P(F 1 |H 1 ) represents the primary user The probability that PUEA also exists when it exists, i.e. It can be obtained from Bayesian formula:
P(D1|F0,H1)表示主用户存在、PUEA不存在、认知用户检测结果为主用户存在的概率,即:P(D 1 |F 0 , H 1 ) represents the probability that the primary user exists, the PUEA does not exist, and the cognitive user detection result exists as the primary user, namely:
P(D1|F1,H1)表示主用户存在、PUEA也存在、认知用户检测结果为主用户存在的概率,即:P(D 1 |F 1 , H 1 ) represents the probability that the primary user exists, the PUEA also exists, and the cognitive user detection result exists as the primary user, namely:
P(F0|H1)、P(F1|H1)的表达式分别为:The expressions of P(F 0 |H 1 ) and P(F 1 |H 1 ) are:
P(F0|H1)=PdΔ·(1-α)+(1-PdΔ)·(1-β) (12)P(F 0 |H 1 )=P dΔ ·(1-α)+(1-P dΔ )·(1-β) (12)
P(F1|H1)=PdΔ·α+(1-PdΔ)·β (13)P(F 1 |H 1 )=P dΔ ·α+(1-P dΔ )·β (13)
γP为主用户在认知用户处的接收信噪比;γ P is the received signal-to-noise ratio of the main user at the cognitive user;
为PUEA对主用户进行能量检测时的检测概率: Probability of detection when energy detection is performed for the primary user for PUEA:
其中,γΔ为主用户在PUEA处的接收信噪比,将公式(10)、(11)代入公式(9)可得:Among them, γ Δ is the received signal-to-noise ratio of the main user at the PUEA, and formulas (10) and (11) are substituted into formula (9) to obtain:
每一个认知用户在检测信道以及报告信道中产生的虚警错误概率与漏检错误概率分别为:The false alarm error probability and missed detection error probability generated by each cognitive user in the detection channel and the reporting channel are:
Pfe=Pfc(1-Pe)+(1-Pfc)Pe (16)P fe =P fc (1-P e )+(1-P fc )P e (16)
Pme=Pm(1-Pe)+(1-Pm)Pe (17)P me =P m (1-P e )+(1-P m )P e (17)
其中,Pe为认知用户向融合中心发送判决结果过程中的传输差错概率。in, P e is the transmission error probability in the process of the cognitive user sending the judgment result to the fusion center.
在步骤C中,使用K秩优化准则进行优化,K为完成判决所需要的认知用户数目,M为认知网络中所有认知用户的数目,则全局虚警错误概率PF(K,M)与全局漏检错误概率PM(K,M)分别为:In step C, use the K-rank optimization criterion for optimization, where K is the number of cognitive users required to complete the decision, and M is the number of all cognitive users in the cognitive network, then the global false alarm error probability P F (K, M ) and the global missed detection error probability P M (K, M) are:
其中,Pr(D1|H0)为主用户不存在但融合中心判决结果为主用户存在的概率、Pr(D0|H1)为主用户存在但融合中心判决结果为主用户不存在的概率。Among them, P r (D 1 | H 0 ) is the probability that the main user does not exist but the fusion center judges that the main user exists ; probability of existence.
求得系统全局平均错误概率函数:Find the global average error probability function of the system:
协同频谱感知优化系统全局平均错误概率对K求导可得:The derivation of the global average error probability of the cooperative spectrum sensing optimization system with respect to K can be obtained:
当时可得:when When available:
两边取对数可得:Taking the logarithm of both sides gives:
经过计算可得出K值,规定对K向后取整得到的数值即为系统所需要的认知用户的个数K*:The K value can be obtained after calculation, and it is stipulated that the value obtained by rounding K backward is the number K * of cognitive users required by the system:
将K*代入系统全局平均错误概率中,即可求得K秩优化准则下的系统全局平均错误概率。By substituting K * into the global average error probability of the system, the global average error probability of the system under the K-rank optimization criterion can be obtained.
本发明所达到的有益效果:本发明的方法,与几种传统的方案进行直观的相比,使用协同频谱感知(Cooperative Spectrum Sensing,CSS)来提高感知的精度,其中包括检测信道与报告信道。具体来说,每个CU通过能量检测的方式对观测到的授权频段进行二元判决,并将判决结果通过报告信道汇报给融合中心,最后融合中心通过K秩优化准则做出全局判决:当至少K个CU检测到PU信号时,融合中心判决结果为PU正在占用授权频段;若低于K个CU检测到PU信号时,融合中心判决结果为PU未占用授权频段。在此CSS模型的基础上,通过对K值的优化实现了全局平均错误概率的最小化。本发明通过对传统融合准则的优化,提高了认知网络频谱感知的精准度。Beneficial effects achieved by the present invention: Compared with several traditional schemes, the method of the present invention uses Cooperative Spectrum Sensing (CSS) to improve the sensing accuracy, including the detection channel and the reporting channel. Specifically, each CU makes a binary decision on the observed licensed frequency band through energy detection, and reports the decision result to the fusion center through the reporting channel. Finally, the fusion center makes a global decision through the K-rank optimization criterion: when at least When K CUs detect PU signals, the fusion center judges that the PU is occupying the licensed frequency band; if less than K CUs detect PU signals, the fusion center judges that the PU does not occupy the licensed frequency band. On the basis of this CSS model, the global mean error probability is minimized by optimizing the value of K. The present invention improves the accuracy of cognitive network spectrum sensing by optimizing the traditional fusion criterion.
附图说明Description of drawings
图1为本发明实施例基于认知无线电技术的协同频谱感知系统模型图;FIG. 1 is a model diagram of a cooperative spectrum sensing system based on cognitive radio technology according to an embodiment of the present invention;
图2为图1中的实施例在不同信噪比γp下全局平均错误概率的MATLAB仿真图;Fig. 2 is the MATLAB simulation diagram of the global average error probability under different signal-to-noise ratios γp of the embodiment in Fig. 1;
图3为不同信噪比γp下,采用算法搜索得到的最优K值解与K秩优化准则的对比;Figure 3 shows the comparison between the optimal K value solution obtained by the algorithm search and the K-rank optimization criterion under different signal-to-noise ratios γp ;
图4为在不同信噪比γp环境下,K秩优化准则中K值的变化。Figure 4 shows the change of the K value in the K-rank optimization criterion under different signal-to-noise ratio γp environments.
具体实施方式Detailed ways
下面将结合本发明中的附图,对本发明的技术方案进行清楚、完整的描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动条件下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明方案所公开的技术手段不仅限于上述实施方式所公开的技术手段,还包括由以上技术特征任意组合所组成的技术方案。The technical means disclosed in the solution of the present invention are not limited to the technical means disclosed in the above embodiments, but also include technical solutions composed of any combination of the above technical features.
实施例1Example 1
本发明提供一种面向认知网络模拟主用户攻击的协同感知优化方法,协同频谱感知优化系统包括一个主用户(PU)、一个模拟主用户攻击者(PUEA)、M个认知用户(CU)和一个数据融合中心(FC),包括以下步骤:The present invention provides a collaborative sensing optimization method for simulating primary user attacks on a cognitive network. The collaborative spectrum sensing optimization system includes a primary user (PU), a simulated primary user attacker (PUEA), and M cognitive users (CUs). and a data fusion center (FC), including the following steps:
步骤A,以单个认知用户能量检测的虚警概率为约束条件,确定认知用户能量检测的判决阈值,所述虚警概率为主用户不存在而认知用户的检测结果为主用户存在的概率;In step A, the false alarm probability of the energy detection of a single cognitive user is used as a constraint condition to determine the judgment threshold of the energy detection of the cognitive user. probability;
步骤B,推导出认知用户能量检测的检测概率以及漏检概率公式,并求得协同频谱感知优化系统全局平均错误概率公式,所述检测概率为主用户存在且认知用户的检测结果也为主用户存在的概率,所述漏检概率为主用户存在而认知用户的检测结果为主用户不存在的概率;Step B, derive the detection probability and missed detection probability formula of cognitive user energy detection, and obtain the global average error probability formula of the collaborative spectrum sensing optimization system, the detection probability exists for the main user and the detection result of the cognitive user is also: The probability that the main user exists, the missed detection probability is the probability that the main user exists and the detection result of the cognitive user does not exist;
步骤C,利用K秩优化准则计算全局平均错误概率;Step C, using the K-rank optimization criterion to calculate the global average error probability;
协同频谱感知优化系统的全局平均错误概率为检测信道错误概率与报告信道错误概率的叠加,其中:The global average error probability of the cooperative spectrum sensing optimization system is the superposition of the detection channel error probability and the reporting channel error probability, where:
检测信道错误概率包括虚警概率与漏检概率;Detection channel error probability includes false alarm probability and missed detection probability;
报告信道错误概率包括传输差错概率。The reported channel error probability includes the transmission error probability.
在步骤A中,以下四种情况分别为对应四种信道状态:In step A, the following four situations correspond to the four channel states:
(a)S1假设:主用户与PUEA均不存在,仅存在噪声的情况;( a ) S1 assumption: the primary user and PUEA do not exist, only the case of noise;
(b)S2假设:仅存在主用户、噪声的情况;(b) S2 assumption: there are only primary users and noise ;
(c)S3假设:仅存在PUEA用户、噪声的情况;( c ) S3 assumption: there are only PUEA users and noise;
(d)S4假设:主用户、PUEA用户、噪声均存在的情况。( d ) S4 assumption: the case where the primary user, the PUEA user, and the noise all exist.
主用户与认知用户信号均服从高斯分布,噪声信号为加性高斯白噪声。The main user and cognitive user signals both obey the Gaussian distribution, and the noise signal is additive white Gaussian noise.
假设所有认知用户与主用户之间的信道环境都相同,认知用户通过能量检测接收到的信息均有相同的信噪比,则以上四种信道状态分别对应:Assuming that the channel environment between all cognitive users and the primary user is the same, and the information received by the cognitive users through energy detection has the same signal-to-noise ratio, the above four channel states correspond respectively:
S1={F0,H0}S 1 ={F 0 , H 0 }
S2={F0,H1}S 2 ={F 0 , H 1 }
S3={F1,H0}S 3 ={F 1 , H 0 }
S4={F1,H1}#(1)S 4 ={F 1 , H 1 }#(1)
其中,F0表示PUEA不存在,F1表示PUEA存在,H0表示主用户不存在,H1表示主用户存在;若PUEA检测到主用户存在,则PUEA以概率α发起模拟主用户攻击,若PUEA未检测到主用户存在,则PUEA以概率β发起模拟主用户攻击;Among them, F 0 indicates that PUEA does not exist, F 1 indicates that PUEA exists, H 0 indicates that the main user does not exist, and H 1 indicates that the main user exists; if PUEA detects the existence of the main user, PUEA initiates a simulated main user attack with probability α. If PUEA does not detect the existence of the primary user, PUEA initiates a simulated primary user attack with probability β;
虚警概率Pfc表示主用户不存在但认知用户的检测结果显示主用户存在的概率,即Pfc=P(D1|H0),由贝叶斯公式可得:The false alarm probability P fc represents the probability that the primary user does not exist but the detection result of the cognitive user shows that the primary user exists, that is, P fc =P(D 1 |H 0 ), which can be obtained from the Bayesian formula:
其中,D1表示认知用户能量检测的结果为主用户存在,D0表示认知用户能量检测的结果为主用户不存在,P(F0|H0)表示主用户不存在时PUEA也不存在的概率,P(F1|H0)表示主用户不存在时PUEA存在的概率,P(D1|F0,H0)为主用户与PUEA均不存在、但认知用户的检测结果为主用户存在的概率,即:Among them, D 1 indicates that the main user exists in the result of cognitive user energy detection, D 0 indicates that the main user does not exist in the result of cognitive user energy detection, and P(F 0 |H 0 ) indicates that the PUEA does not exist when the main user does not exist. The probability of existence, P(F 1 |H 0 ) represents the probability of the existence of PUEA when the primary user does not exist, and P(D 1 |F 0 , H 0 ) does not exist as the primary user and PUEA, but the detection result of the cognitive user is the probability of the existence of the primary user, namely:
P(D1|F1,H0)表示主用户不存在、PUEA存在但认知用户检测结果为主用户存在的概率,即:P(D 1 |F 1 ,H 0 ) represents the probability that the primary user does not exist, the PUEA exists but the cognitive user detection result is the primary user, that is:
其中,t为积分变量,λc为认知用户能量检测的判决阈值,γe为PUEA在认知用户处的接收信噪比;表示背景噪声的方差;N为采样点数;其中,P(F0|H0)、P(F1|H0)的表达式分别为:in, t is the integral variable, λ c is the decision threshold of cognitive user energy detection, γ e is the received signal-to-noise ratio of PUEA at the cognitive user; represents the variance of background noise; N is the number of sampling points; among them, the expressions of P(F 0 |H 0 ) and P(F 1 |H 0 ) are:
P(F0|H0)=PfΔ·(1-α)+(1-PfΔ)·(1-β) (5)P(F 0 |H 0 )=P fΔ ·(1-α)+(1-P fΔ )·(1-β) (5)
P(F1|H0)=PfΔ·α+(1-PfΔ)·β (6)P(F 1 |H 0 )=P fΔ ·α+(1-P fΔ )·β (6)
为PUEA对主用户进行检测时的虚警概率: False alarm probability when detecting primary users for PUEA:
λΔ为PUEA用户对主用户进行能量检的的判决阈值。λ Δ is the decision threshold for the PUEA user to perform energy detection on the primary user.
在步骤B中,将公式(5)、(6)代入公式(2)可得:In step B, substitute formulas (5) and (6) into formula (2) to obtain:
同理,检测概率表示主用户存在、且认知用户的检测结果也显示主用户存在的概率,P(F0|H1)表示主用户存在时PUEA不存在的概率,P(F1|H1)表示主用户存在时PUEA也存在的概率,即由贝叶斯公式可得:Similarly, the detection probability represents the existence of the primary user, and the detection result of the cognitive user also shows the probability of the presence of the primary user, P(F 0 |H 1 ) represents the probability that the PUEA does not exist when the primary user exists, and P(F 1 |H 1 ) represents the primary user The probability that PUEA also exists when it exists, i.e. It can be obtained from Bayesian formula:
P(D1|F0,H1)表示主用户存在、PUEA不存在、认知用户检测结果为主用户存在的概率,即:P(D 1 |F 0 , H 1 ) represents the probability that the primary user exists, the PUEA does not exist, and the cognitive user detection result exists as the primary user, namely:
P(D1|F1,H1)表示主用户存在、PUEA也存在、认知用户检测结果为主用户存在的概率,即:P(D 1 |F 1 , H 1 ) represents the probability that the primary user exists, the PUEA also exists, and the cognitive user detection result exists as the primary user, namely:
P(F0|H1)、P(F1|H1)的表达式分别为:The expressions of P(F 0 |H 1 ) and P(F 1 |H 1 ) are:
P(F0,H1)=PdΔ·(1-α)+(1-PdΔ)·(1-β) (12)P(F 0 , H 1 )=P dΔ ·(1-α)+(1-P dΔ )·(1-β) (12)
P(F1,H1)=PdΔ·α+(1-PdΔ)·β (13)P(F 1 ,H 1 )=P dΔ ·α+(1-P dΔ )·β (13)
γP为主用户在认知用户处的接收信噪比;γ P is the received signal-to-noise ratio of the main user at the cognitive user;
为PUEA对主用户进行能量检测时的检测概率: Probability of detection when energy detection is performed for the primary user for PUEA:
其中,γΔ为主用户在PUEA处的接收信噪比,将公式(10)、(11)代入公式(9)可得:Among them, γ Δ is the received signal-to-noise ratio of the main user at the PUEA, and formulas (10) and (11) are substituted into formula (9) to obtain:
每一个认知用户在检测信道以及报告信道中产生的虚警错误概率与漏检错误概率分别为:The false alarm error probability and missed detection error probability generated by each cognitive user in the detection channel and the reporting channel are:
Pfe=Pfc(1-Pe)+(1-Pfc)Pe (16)P fe =P fc (1-P e )+(1-P fc )P e (16)
Pme=Pm(1-Pe)+(1-Pm)Pe (17)P me =P m (1-P e )+(1-P m )P e (17)
其中,Pe为认知用户向融合中心发送判决结果过程中的传输差错概率。in, P e is the transmission error probability in the process of the cognitive user sending the judgment result to the fusion center.
在步骤C中,使用K秩优化准则进行优化,K为完成判决所需要的认知用户数目,M为认知网络中所有认知用户的数目,则全局虚警错误概率PF(K,M)与全局漏检错误概率PM(K,M)分别为:In step C, use the K-rank optimization criterion for optimization, where K is the number of cognitive users required to complete the decision, and M is the number of all cognitive users in the cognitive network, then the global false alarm error probability P F (K, M ) and the global missed detection error probability P M (K, M) are:
其中,Pr(D1|H0)为主用户不存在但融合中心判决结果为主用户存在的概率、Pr(D0|H1)为主用户存在但融合中心判决结果为主用户不存在的概率。Among them, P r (D 1 | H 0 ) is the probability that the main user does not exist but the fusion center judges that the main user exists ; probability of existence.
求得系统全局平均错误概率函数:Find the global average error probability function of the system:
本实施例在MATLAB仿真的过程中,γe与γΔ均取值为0dB,背景噪声采样点数N=10,约束条件为PUEA对主用户的虚警概塞小于0.1,且认知用户对主用户的虚警概率也小于0.1。令α=0.2,β=0.7,Pe=0.01,根据公式(7),将代入,可以求出PUEA对主用户进行能量检测的检测阈值λΔ,将λΔ代入公式(14)可以得到PUEA对主用户的检测概率接着将代入公式(8)可以求得认知用户对主用户进行能量检测的检测阈值λc;最后根据公式(15)可以求出认知用户对主用户的检测概率 In the process of MATLAB simulation in this embodiment, both γ e and γ Δ are 0dB, and the background noise The number of sampling points is N=10, and the constraint condition is the false alarm of PUEA to the main user Less than 0.1, and the false alarm probability of the cognitive user to the primary user Also less than 0.1. Let α=0.2, β=0.7, Pe = 0.01, according to formula (7), the Substitute in, the detection threshold λ Δ of the energy detection of the primary user by PUEA can be obtained, and λ Δ can be substituted into formula (14) to obtain the detection probability of the primary user by PUEA Then will Substitute into formula (8) to obtain the detection threshold λ c of the cognitive user to the primary user for energy detection; finally, according to formula (15), the detection probability of the cognitive user to the primary user can be obtained
图1为系统模型图。Figure 1 is a system model diagram.
如图2所示,在给定虚警概率的情况下,系统全局平均错误概率均随着信噪比γp的增加而减小。随着信噪比γp的增加,采用或准则的全局平均错误概率在超过0dB后趋于0.34;采用与准则的全局平均错误概率在信噪比γp超过7dB后趋于0.1;采用多数准则的全局评价错误概率在信噪比γp超过5dB后趋于1.1×10-4,采用K秩优化准则的全局平均错误概率在信噪比超过7dB后趋于8.5×10-6。As shown in Figure 2, given the false alarm probability, the global average error probability of the system decreases with the increase of the signal-to-noise ratio γp . With the increase of signal-to-noise ratio γp , the global average error probability of adopting or criterion tends to 0.34 after exceeding 0dB; the global average error probability of adopting and criterion tends to 0.1 after signal-to-noise ratio γp exceeds 7dB; using majority criterion The global evaluation error probability tends to 1.1×10 -4 after the SNR γp exceeds 5dB, and the global average error probability using the K-rank optimization criterion tends to 8.5×10 -6 after the SNR exceeds 7dB.
如图3通过算法搜索与K秩优化准则进行对比,两者曲线完全重合,证明了该算法的有效性。As shown in Figure 3, the algorithm search is compared with the K-rank optimization criterion, and the curves of the two completely coincide, which proves the effectiveness of the algorithm.
如图4所示,M=10,在采用K秩优化准则时,使得系统全局平均错误概率最小的K值随着信噪比的增加而呈阶梯状增加,当信噪比超过5dB后,K一直等于7,这一变化规律与图1相符:信噪比γp超过5dB后,K秩优化准则中的K值等于7,而多数准则中K取值为6,因此,采用K秩优化准则与采用多数准则时的全局平均错误概率较为接近。As shown in Figure 4, M=10, when the K-rank optimization criterion is adopted, the K value that minimizes the global average error probability of the system increases in a step-like manner with the increase of the signal-to-noise ratio. When the signal-to-noise ratio exceeds 5dB, K It is always equal to 7, which is consistent with Figure 1: after the signal-to-noise ratio γ p exceeds 5dB, the value of K in the K-rank optimization criterion is equal to 7, while the value of K in most criteria is 6. Therefore, the K-rank optimization criterion is adopted. It is close to the global average error probability when the majority criterion is adopted.
实施例2Example 2
一种面向认知网络模拟主用户攻击的协同感知优化方法,协同频谱感知优化系统包括一个主用户(PU)、一个模拟主用户攻击者(PUEA)、M个认知用户(CU)和一个数据融合中心(FC),包括以下步骤:A collaborative sensing optimization method for simulating primary user attacks on cognitive networks. The collaborative spectrum sensing optimization system includes a primary user (PU), a simulated primary user attacker (PUEA), M cognitive users (CU) and a data Fusion Center (FC), including the following steps:
步骤A,以单个认知用户能量检测的虚警概率为约束条件,确定认知用户能量检测的判决阈值,所述虚警概率为主用户不存在而认知用户的检测结果为主用户存在的概率;In step A, the false alarm probability of the energy detection of a single cognitive user is used as a constraint condition to determine the judgment threshold of the energy detection of the cognitive user. probability;
步骤B,推导出认知用户能量检测的检测概率以及漏检概率公式,并求得协同频谱感知优化系统全局平均错误概率公式,所述检测概率为主用户存在且认知用户的检测结果也为主用户存在的概率,所述漏检概率为主用户存在而认知用户的检测结果为主用户不存在的概率;Step B, derive the detection probability and missed detection probability formula of cognitive user energy detection, and obtain the global average error probability formula of the collaborative spectrum sensing optimization system, the detection probability exists for the main user and the detection result of the cognitive user is also: The probability that the main user exists, the missed detection probability is the probability that the main user exists and the detection result of the cognitive user does not exist;
步骤C,利用K秩优化准则计算全局平均错误概率;Step C, using the K-rank optimization criterion to calculate the global average error probability;
步骤D,利用迭代优化算法求得最优K值以最小化全局平均错误概率。In step D, an iterative optimization algorithm is used to obtain the optimal K value to minimize the global average error probability.
协同频谱感知优化系统全局平均错误概率对K求导可得:The derivation of the global average error probability of the cooperative spectrum sensing optimization system with respect to K can be obtained:
当时可得:when When available:
两边取对数可得:Taking the logarithm of both sides gives:
经过计算可得出K值,规定对K向后取整得到的数值即为系统所需要的认知用户的个数K*:The K value can be obtained after calculation, and it is stipulated that the value obtained by rounding K backward is the number K * of cognitive users required by the system:
将K*代入系统全局平均错误概率中,即可求得K秩优化准则下的系统全局平均错误概率。By substituting K * into the global average error probability of the system, the global average error probability of the system under the K-rank optimization criterion can be obtained.
其它技术特征与实施例1相同。Other technical features are the same as in Embodiment 1.
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be apparent to those skilled in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principle and spirit of the invention , the scope of the invention is defined by the appended claims and their equivalents.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010557870.4A CN111542068B (en) | 2020-06-18 | 2020-06-18 | A Cognitive Perception Optimization Method for Simulating Primary User Attacks in Cognitive Networks |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010557870.4A CN111542068B (en) | 2020-06-18 | 2020-06-18 | A Cognitive Perception Optimization Method for Simulating Primary User Attacks in Cognitive Networks |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111542068A CN111542068A (en) | 2020-08-14 |
| CN111542068B true CN111542068B (en) | 2022-08-05 |
Family
ID=71980872
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010557870.4A Active CN111542068B (en) | 2020-06-18 | 2020-06-18 | A Cognitive Perception Optimization Method for Simulating Primary User Attacks in Cognitive Networks |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111542068B (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101152572B1 (en) * | 2010-12-28 | 2012-06-01 | 포항공과대학교 산학협력단 | Cognitive radio cooperative spectrum sensing method and fusion center capable of determining optimal number of secondary users |
| CN104469784A (en) * | 2013-09-17 | 2015-03-25 | 中兴通讯股份有限公司 | Processing method and apparatus of frequency spectrum sensing data in heterogeneous network |
| CN104065427B (en) * | 2014-06-24 | 2016-09-28 | 上海交通大学 | The optimal k value method for solving of K order convergence strategy in cognition wireless network |
| CN108833040B (en) * | 2018-06-22 | 2021-02-02 | 电子科技大学 | Intelligent spectrum cooperative sensing method based on reinforcement learning |
-
2020
- 2020-06-18 CN CN202010557870.4A patent/CN111542068B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN111542068A (en) | 2020-08-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Wu et al. | Spatial-temporal opportunity detection for spectrum-heterogeneous cognitive radio networks: Two-dimensional sensing | |
| Zhang et al. | Byzantine attack and defense in cognitive radio networks: A survey | |
| WO2022021520A1 (en) | Non-orthogonal multiple access power distribution method and system | |
| US20150109947A1 (en) | Spectrum sensing apparatus and method for cooperative cognitive radio network in non-gaussian noise environment, and fusion center apparatus and cooperative cognitive radio system using the same | |
| Khan et al. | A double adaptive approach to tackle malicious users in cognitive radio networks | |
| CN103684626A (en) | Multi user cooperative frequency spectrum sensing data fusion method and device | |
| CN110649982B (en) | Double-threshold energy detection method based on secondary user node selection | |
| CN101814962A (en) | Spectrum detection strategy, base station and terminal device for cognitive radio system | |
| Gupta et al. | Improved weighted cooperative spectrum sensing algorithm based on reliability in cognitive radio networks | |
| CN111542068B (en) | A Cognitive Perception Optimization Method for Simulating Primary User Attacks in Cognitive Networks | |
| CN108322276A (en) | A kind of frequency spectrum perception accuracy rate lift technique based on D-S evidence theory | |
| CN106656376B (en) | A Cooperative Spectrum Sensing Method Based on Consistent Estimation of Eigenvalues | |
| CN110139283B (en) | Cognitive Internet of vehicles cooperative spectrum sensing method based on double-threshold energy detection | |
| Khalid et al. | A weighted fusion scheme for cooperative spectrum sensing based on past decisions | |
| Duggineni et al. | Mitigation strategy against SSDF attack for healthcare in cognitive radio networks | |
| CN112054861B (en) | A kind of cooperative spectrum sensing network secondary user selection method, medium and device | |
| Ye et al. | Multimedia transmission over cognitive radio channels under sensing uncertainty | |
| Ye et al. | Cooperative Spectrum Sensing Algorithm Based on Node Filtrating in Cognitive Radio Networks | |
| CN112217549B (en) | Integrated multi-user detection method and system based on signal virtual processing | |
| Ni et al. | Reputation-based hierarchically cooperative spectrum sensing scheme in cognitive radio networks | |
| Qiao et al. | An energy-efficient cooperative spectrum sensing scheme based on ds theory in cognitive radio sensor networks | |
| CN101753229A (en) | Cooperative cognitive approach, apparatus and system based on wireless mobile network | |
| Ojo et al. | Effect of Clusters in Energy-Efficient Cooperative White Space Detection in a Cognitive Radio System | |
| Liu et al. | Research on SSDF attack detection algorithm in cognitive Internet of Things | |
| CN116015505B (en) | Method and device for reliably sensing user selection in cognitive wireless network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |