Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of system of selection and device of cooperative user in process of detecting idle spectrum, to improve the accuracy of selecting partner user, detects effect thereby improve idle frequency spectrum.
For the ease of to the fully understanding of embodiment of the present invention technical scheme, below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out to clear, complete description.
The system of selection of the cooperative user in process of detecting idle spectrum first, the embodiment of the present invention being provided illustrates as follows.
As shown in Figure 1, the flow process of the system of selection of the cooperative user in process of detecting idle spectrum providing for the embodiment of the present invention, specifically comprises the following steps:
Step 101, obtain current perception user and frequency spectrum idle condition is detected to this locality of obtaining detect correct probability;
Step 102, definite partner user to be selected are cooperated frequency spectrum idle condition to detect the cooperative detection correct probability obtaining with described perception user;
Step 103, more described local correct probability and the cooperative detection correct probability of detecting, when described cooperative detection correct probability is higher than described local while detecting correct probability, partner user to be selected is partner user described in selection.
In the embodiment of the present invention, determining partner user to be selected cooperates frequency spectrum idle condition to detect the cooperative detection correct probability obtaining with perception user, using this cooperative detection correct probability as judging whether partner user current to be selected can be used as the parameter of partner user, only have in the time that this cooperative detection correct probability detects correct probability higher than the independent definite this locality of perception user, just selecting partner user current to be selected is partner user, thereby avoiding malicious user to be chosen as is partner user, improve the accuracy of selecting partner user, thereby improve idle frequency spectrum and detect effect.
First some definition of probability that relate in the embodiment of the present invention are described below.Supposing has 10 channels to need to detect on frequency spectrum, and suppose in these 10 channels that front 5 channels are just occupied, then 5 channels do not have occupied, correct frequency spectrum detecting result should be " 1111100000 ", wherein, represent that with " 1 " current spectral channel is occupied, represent that with " 0 " current frequency spectrum does not have occupied.In the time that the frequency spectrum detecting result of perception user acquisition is " 0101101010 ", the local detection probability P that perception user calculates
dfor: P
d=P (H
1/ H
1), false alarm probability P
ffor: P
f=P (H
1/ H
0).In above-mentioned expression formula, utilize H1 to represent that frequency spectrum is occupied, utilize H0 to represent that frequency spectrum is not occupied, P
drepresent when spectral channel actual when occupied, the probability of correct detection, that is: when channel detection result report " 1 ", this channel is occupied; P
frepresenting does not have when occupied when spectral channel is actual, there is no the correctly probability of detection, that is: when channel detection result report " 1 ", and that this channel does not have is occupied.For example above, P
d=3/5, P
f=2/5.In addition, utilize P (H0) to represent according to historical record, the not occupied detection probability of frequency spectrum, P (H1) represents according to historical record, the occupied probability of frequency spectrum.For example above, P (H0)=P (H1)=5/10.Correct detection probability P
arepresent the correct probability that detects frequency spectrum, in the time that frequency spectrum is occupied, can detect, and there is no when occupied also not false-alarm, P when frequency spectrum
aexpression formula be P
a=P (H
0) (1-P
f)+P (H
1) P
d, for example P above
a=(3+3)/10.
What the fusion method of cooperative detection was commonly used has two criterions, one is AND criterion, and AND criterion refers to that all partner user all detect that frequency spectrum is occupied, think that frequency spectrum is occupied, as long as there have a partner user to detect that frequency spectrum does not have to be occupied, think that frequency spectrum does not have occupied; Another is OR criterion, detects that frequency spectrum is occupied as long as OR criterion refers to a user, thinks that frequency spectrum is occupied.For there being partner user to participate in when frequency spectrum detection, suppose that the frequency spectrum detecting result that partner user is sent is " 0111100100 ", if the cooperation of employing AND criterion, the frequency spectrum detecting result after cooperation is " 0101100000 ", therefore cooperative detection correct probability is Q
a=(3+5)/10.
The frequency spectrum detecting result that current perception user obtains be " 0101101010 ", and the frequency spectrum detecting result of partner user acquisition is " 0111100100 ", therefore, and the global similarity probability P between the definite frequency spectrum seizure condition information of local user and partner user
sfor: P
s=6/10.Current perception user and partner user are P for the probability of the same Times of a certain channel " 0 " in frequency spectrum
s0=3/10, the probability of same Times " 1 " is P
s1=3/10.
In the embodiment of the present invention, obtain current perception user and frequency spectrum idle condition is detected to this locality of obtaining detect the mode of correct probability and be: first determine local detection probability and the false alarm probability that described perception user calculates; Then according to described local detection probability, false alarm probability, in conjunction with the occupied probability of current frequency spectrum and the not occupied probability that obtain according to historical record, obtain the described local correct probability that detects.
When concrete enforcement, frequency spectrum detection process is very complicated, conventionally has three kinds of methods: matching detection, energy measuring, cyclostationarity detect.The embodiment of the present invention is taking energy measuring as example, and energy measuring is to detect the energy of a channel in simple terms, and in the time that energy is greater than a threshold value, reporting channel is occupied, and during lower than this threshold value, reporting channel does not have occupied.Local detection probability P
dwith false alarm probability P
fthese two probability are theoretical values of calculating according to the character of energy measuring, and concrete computing formula is respectively:
In above formula:
for Marcum function, I
m-1() is m-1 rank the primal Bessel functions;
for incomplete gamma function;
for complete gamma function; E is channel energy; K is the degree of freedom of E; γ is signal to noise ratio; λ is decision threshold.
In the embodiment of the present invention, the implementation that obtains cooperative detection correct probability is:
Receive described perception user to frequency spectrum idle condition detect the first frequency spectrum seizure condition information of obtaining and described in partner user to be selected frequency spectrum idle condition is detected to the second frequency spectrum seizure condition information obtaining;
More described the first frequency spectrum seizure condition information and the second frequency spectrum seizure condition information, determine the similar probability between the two;
According to described similar probability, described local detection probability, false alarm probability and the occupied probability of current frequency spectrum and not occupied probability according to historical record acquisition, determine described cooperative detection correct probability.
In the embodiment of the present invention, by acquisition perception user, frequency spectrum idle condition is detected to the first frequency spectrum seizure condition information and the partner user to be selected that obtain and frequency spectrum idle condition is detected to the similar probability between the second frequency spectrum seizure condition information obtaining, further calculate cooperative detection correct probability, detect the contrast between correct probability and local detection probability thereby can cooperate.
Those skilled in the art, in the time of the concrete enforcement embodiment of the present invention, determine that the similar probability between described the first frequency spectrum seizure condition information and the second frequency spectrum seizure condition information can have following two kinds of implementations:
(1) determine respectively in described the first frequency spectrum seizure condition information and the second frequency spectrum seizure condition information, detect the occupied probability P of channel simultaneously
s1detect the not occupied probability P of channel simultaneously
s0;
(2) directly determine the global similarity probability P of described the first frequency spectrum seizure condition information and the second frequency spectrum seizure condition information
s.
Below above-mentioned two kinds of implementations are described respectively.
In the first implementation, P
s0and P
s1method of estimation can adopt the method for statistics, for example: the number of times for the same Times of a certain channel " 0 " and " 1 " in frequency spectrum in perception user testing result (i.e. the first frequency spectrum seizure condition information) and partner user testing result to be selected (i.e. the second frequency spectrum seizure condition information) in statistics a period of time, and total testing result number during this period of time, the two is divided by and can obtains P
s0and P
s1.Then, estimate this locality detection correct probability P of partner user to be selected according to following algorithm
d, 2with false alarm probability P
f, 2:
P in above formula
d, 1and P
f, 1corresponding perception user's local detection probability and false alarm probability respectively.
According to the P calculating
d, 2with P
f, 2, correct probability P is detected in this locality that can calculate respectively perception user
awith cooperative detection correct probability Q
a:
P
a=P(H
1)P
d,1+P(H
0)(1-P
f,1)
Q
a=P(H
1)P
d,1P
d,2+P(H
0)(1-P
f,1P
f,2)
In the embodiment of the present invention, work as Q
a> P
atime, this partner user to be selected is defined as to partner user; Otherwise, determine that this partner user to be selected is uncooperative user.
In the second implementation, P
smethod of estimation can adopt the method for statistics, for example: the identical number of times of testing result for all channels of frequency spectrum in perception user testing result (i.e. the first frequency spectrum seizure condition information) and partner user testing result to be selected (i.e. the second frequency spectrum seizure condition information) in statistics a period of time, and total testing result number during this period of time, the two is divided by and can obtains the probability that perception user testing result is identical with partner user testing result entirety to be selected.In addition P,
s, P
aand Q
atheoretical expression be respectively:
P
s=P(H
1)(P
d,1P
d,2+(1-P
d,1)(1-P
d,2))+P(H
0)(P
f,1P
f,2+(1-P
f,1)(1-P
f,2))
P
a=P(H
1)P
d,1+P(H
0)(1-P
f,1)
Q
a=P(H
1)P
d,1P
d,2+P(H
0)(1-P
f,1P
f,2)
In the embodiment of the present invention, need to meet Q
a> P
acondition, partner user to be selected could be defined as to partner user.
By P
a, Q
asubstitution Q
a> P
a, and rewrite P
sexpression formula, obtain respectively:
P(H
1)P
d,1P
d,2-P(H
0)P
f,1P
f,2-(P(H
1)P
d,1-P(H
0)P
f,1)>0
P
s=P(H
1)(2P
d,1-1)P
d,2+P(H
0)(2P
f,1-1)P
f,2-P(H
1)P
d,1-P(H
0)P
f,1+1
Be defined as follows function:
f
1(P
d,2,P
f,2)=P(H
1)(2P
d,1-1)P
d,2+P(H
0)(2P
f,1-1)P
f,2-P(H
1)P
d,1-P(H
0)P
f,1+1
f
2(P
d,2,P
f,2)=P(H
1)P
d,1P
d,2-P(H
0)P
f,1P
f,2-(P(H
1)P
d,1-P(H
0)P
f,1)
From above two formulas, work as f
1(P
d, 2, P
f, 2)=0 and f
2(P
d, 2, P
f, 2)=0 o'clock, p
d, 2and P
f, 2linear, like this, can obtain and meet Q with linear programming method
a> P
atime, P
sspan, when partner user to be selected meets this P
sspan time, can be defined as partner user.
Below several criterions of definite partner user of obtaining according to linear programming method:
(1) if P is (H
1) P
d, 1> P (H
0) P
f, 1and P
d, 1> 0.5, P
f, 1> 0.5, does not select this user to cooperate;
(2) if P is (H
1) P
d, 1> P (H
0) P
f, 1, P
d, 1> 0.5, P
f, 1< 0.5 and
work as P
s>=P (H
1) P
d, 1+ P (H
0) P
f, 1time, this partner user to be selected is defined as to partner user;
(3) if P is (H
1) P
d, 1> P (H
0) P
f, 1, P
d, 1> 0.5, P
f, 1< 0.5 and
work as
time, this partner user to be selected is defined as to partner user;
(4) if P is (H
1) P
d, 1> P (H
0) P
f, 1and P
d, 1< 0.5, P
f, 1< 0.5, does not select this user to cooperate;
(5) if P is (H
1) P
d, 1≤ P (H
0) P
f, 1and P
d, 1> 0.5, P
f, 1> 0.5, works as
time, this partner user to be selected is defined as to partner user;
(6) if P is (H
1) P
d, 1≤ P (H
0) P
f, 1, P
d, 1> 0.5, P
f, 1< 0.5 and
work as P
s>=P (H
1) P
d, 1+ P (H
0) P
f, 1time, this partner user to be selected is defined as to partner user;
(7) if P is (H
1) P
d, 1≤ P (H
0) P
f, 1, P
d, 1> 0.5, P
f, 1< 0.5 and
work as
time, this partner user to be selected is defined as to partner user;
(8) if P is (H
1) P
d, 1≤ P (H
0) P
f, 1and P
d, 1< 0.5, P
f, 1< 0.5, works as
time, this partner user to be selected is defined as to partner user.
In the time relating to multiple partner user participation frequency spectrum detection, the embodiment of the present invention also provides a kind of method of definite best partner user number, that is: suppose in the time that the number of selecting partner user is n, carry out derived function n time to cooperating that with described perception user frequency spectrum idle condition is detected to the cooperative detection correct probability obtaining by n partner user to be selected, and make the expression formula after n differentiate equal 0, the numerical value n ' of the definite n of described derived function, is the best partner user number that should adopt.
In the time relating to multiple partner user and participate in frequency spectrum detection, the plurality of partner user and perception user jointly detect the cooperative detection correct probability that frequency spectrum obtains and are:
Q′
a=P(H
1)P
d,1P
n d,2+P(H
0)(1-P
f,1P
n f,2)
Above formula is carried out to derived function, and make the expression formula after n differentiate equal 0, the value n ' of the n trying to achieve is the best partner user number that should adopt.
Corresponding said method embodiment, the present invention also provides a kind of choice device embodiment of cooperative user in process of detecting idle spectrum, and as shown in Figure 2, this device specifically can comprise:
The local correct probability acquisition module 201 that detects, detects for obtaining current perception user this locality detection correct probability obtaining to frequency spectrum idle condition;
Cooperative detection correct probability acquisition module 202, cooperates frequency spectrum idle condition to detect the cooperative detection correct probability obtaining with described perception user for definite partner user to be selected;
Select module 203, for more described local correct probability and the cooperative detection correct probability of detecting, when described cooperative detection correct probability is higher than described local while detecting correct probability, partner user to be selected is partner user described in selection.
In the embodiment of the present invention, cooperate frequency spectrum idle condition to detect the cooperative detection correct probability obtaining with perception user by determining partner user to be selected, using this cooperative detection correct probability as judging whether partner user current to be selected can be used as the parameter of partner user, only have in the time that this cooperative detection correct probability detects correct probability higher than the independent definite this locality of perception user, just selecting partner user current to be selected is partner user, thereby avoiding malicious user to be chosen as is partner user, improve the accuracy of selecting partner user, thereby improve idle frequency spectrum and detect effect.
When concrete enforcement, as shown in Figure 3, the described local correct probability acquisition module 201 that detects specifically can comprise:
Local detection probability calculating sub module 2011, for the local detection probability of determining that described perception user calculates
False alarm probability calculating sub module 2012, for the false alarm probability of determining that described perception user calculates;
The first result calculating sub module 2013, for according to described local detection probability, false alarm probability, in conjunction with the occupied probability of current frequency spectrum and the not occupied probability that obtain according to historical record, obtains the described local correct probability that detects.
Visible, first the embodiment of the present invention determines local detection probability and the false alarm probability that described perception user calculates; Then according to described local detection probability, false alarm probability, in conjunction with the occupied probability of current frequency spectrum and the not occupied probability that obtain according to historical record, obtain the described local correct probability that detects.
As shown in Figure 4, described cooperative detection correct probability acquisition module 202 specifically can comprise:
Frequency spectrum state information receives submodule 2021, for receive described perception user to frequency spectrum idle condition detect the first frequency spectrum seizure condition information of obtaining and described in partner user to be selected frequency spectrum idle condition is detected to the second frequency spectrum seizure condition information obtaining;
Similar probability is determined submodule 2022, for more described the first frequency spectrum seizure condition information and the second frequency spectrum seizure condition information, determines the similar probability between the two;
The second result calculating sub module 2023, for according to described similar probability, described local detection probability, false alarm probability and the occupied probability of current frequency spectrum and not occupied probability according to historical record acquisition, determines described cooperative detection correct probability.
In the embodiment of the present invention, by acquisition perception user, frequency spectrum idle condition is detected to the first frequency spectrum seizure condition information and the partner user to be selected that obtain and frequency spectrum idle condition is detected to the similar probability between the second frequency spectrum seizure condition information obtaining, further calculate cooperative detection correct probability, detect the contrast between correct probability and local detection probability thereby be convenient to select module 203 to cooperate.
Those skilled in the art, in the time of the concrete enforcement embodiment of the present invention, determine that the similar probability between described the first frequency spectrum seizure condition information and the second frequency spectrum seizure condition information can have following two kinds of implementations:
(1) determine respectively in described the first frequency spectrum seizure condition information and the second frequency spectrum seizure condition information, detect the occupied probability P of channel simultaneously
s1detect the not occupied probability P of channel simultaneously
s0;
(2) directly determine the global similarity probability P of described the first frequency spectrum seizure condition information and the second frequency spectrum seizure condition information
s.
Therefore, described similar probability determines that submodule 2022 specifically can comprise following two kinds of computing units:
First-phase, like probability determining unit, for determining respectively in described the first frequency spectrum seizure condition information and the second frequency spectrum seizure condition information, detects the occupied probability of channel simultaneously and detects the not occupied probability of channel simultaneously;
Second-phase is like probability determining unit, for directly determining the overall similarity probability of described the first frequency spectrum seizure condition information and the second frequency spectrum seizure condition information.
In the another kind of device embodiment providing in the embodiment of the present invention, as shown in Figure 5, the choice device of this cooperative user in process of detecting idle spectrum can also comprise:
Partner user number determination module 204, for supposing in the time that the number of selecting partner user is n, carry out derived function n time to cooperating that with described perception user frequency spectrum idle condition is detected to the cooperative detection correct probability obtaining by n partner user to be selected, and make the expression formula after n differentiate equal 0, the value n ' of the n trying to achieve, is the best partner user number that should adopt.
For device embodiment, because it is substantially corresponding to embodiment of the method, so describe fairly simplely, relevant part is referring to the part explanation of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit as separating component explanation can or can not be also physically to separate, the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in multiple network element.Can select according to the actual needs some or all of module wherein to realize the object of the present embodiment scheme.Those of ordinary skill in the art, in the situation that not paying creative work, are appreciated that and implement.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiment, General Principle as defined herein can, in the case of not departing from the spirit or scope of the embodiment of the present invention, realize in other embodiments.Therefore, the embodiment of the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.