Summary of the invention
technical problem
In view of this, the technical problem to be solved in the present invention is, how to avoid the above-mentioned shortcoming of existing D2D communication pattern as far as possible.
solution
To achieve these goals, in first aspect, the present invention proposes a kind of communication pattern system of selection, comprising:
Subscriber equipment obtaining communication performance parameter;
According to obtained communication performance parameter, determine the D2D communication pattern of described subscriber equipment,
Wherein, described D2D communication pattern comprises first mode and the second pattern,
In the first mode, described subscriber equipment utilizes the communication spectrum resource of network allocation to carry out D2D communication;
In the second mode, described subscriber equipment selects the communication spectrum resource shared to carry out D2D communication.
In conjunction with first aspect, in a kind of possible implementation, described according to obtained communication performance parameter, determine that the D2D communication pattern of described subscriber equipment comprises:
The thresholding of obtained communication performance parameter and described communication performance parameter is compared;
When the result of described comparison represents that described first mode is better than described second pattern, described subscriber equipment selects described first mode to carry out D2D communication, otherwise described subscriber equipment selects described second pattern to carry out D2D communication.
In conjunction with first aspect, in a kind of possible implementation, described communication performance parameter is average frequency spectrum occupancy, and described average frequency spectrum occupancy represents the mean value of spectral occupancy in predetermined time length range;
Described subscriber equipment obtains communication performance parameter and comprises described subscriber equipment at scheduled time length t
0interior lasting detection communication spectrum environment around, obtains spectral occupancy P (t) in each moment, described subscriber devices compute average frequency spectrum occupancy P
0for:
Wherein, if described average frequency spectrum occupancy is greater than the thresholding of described average frequency spectrum occupancy, then represent that described first mode is better than described second pattern.
In conjunction with first aspect, in a kind of possible implementation, described communication performance parameter is number of user equipment, and described number of user equipment represents the quantity of other subscriber equipment that described subscriber equipment can detect,
Wherein, if described number of user equipment is greater than the thresholding of described number of user equipment, then represent that described first mode is better than described second pattern.
In conjunction with first aspect, in a kind of possible implementation, described communication performance parameter is spectral interference power, and described spectral interference power represents the size of the interfering signal power that described subscriber equipment receives on a shared frequency spectrum,
Wherein, if described spectral interference power is greater than the thresholding of described spectral interference power, then represent that described first mode is better than described second pattern.
In conjunction with first aspect, in a kind of possible implementation, described communication performance parameter is path gain, described path gain represents that described subscriber equipment receives the downstream signal reception power of downstream signal and the ratio of the transmit signal power of downstream signal described in described Base Transmitter from base station, wherein, if described path gain is greater than the thresholding of described path gain, then represent that described first mode is better than described second pattern;
Described subscriber equipment obtains communication performance parameter and comprises:
The downstream signal reception power P of described base station measured by described subscriber equipment
dr, and obtain the transmit signal power P of described base station
dt;
Described subscriber devices compute path gain L is: L=P
dr/ P
dt.
In conjunction with first aspect, in a kind of possible implementation, the thresholding L of described path gain
tfor: L
t=P
m/ P
max; Wherein, P
mfor the largest tolerable of described base station communication is disturbed, P
maxfor described subscriber equipment carries out maximum transmission power when D2D communicates.
In conjunction with first aspect, in a kind of possible implementation, described communication performance parameter is path loss, described path loss represents that the transmit signal power of described Base Transmitter downstream signal and described subscriber equipment receive the ratio of the downstream signal reception power of described downstream signal from base station, wherein, if described path loss is less than the thresholding of described path loss, then represent that described first mode is better than described second pattern;
Described subscriber equipment obtains communication performance parameter and comprises:
The downstream signal reception power P of described base station measured by described subscriber equipment
dr, and obtain the transmit signal power P of described base station
dt;
Described subscriber devices compute path loss L is: L=P
dt/ P
dr.
In conjunction with first aspect, in a kind of possible implementation, the thresholding L of described path loss
tfor: L
t=P
max/ P
m; Wherein, P
mfor the largest tolerable of described base station communication is disturbed, P
maxfor described subscriber equipment carries out maximum transmission power when D2D communicates.
In conjunction with first aspect, in a kind of possible implementation, when described subscriber equipment selects described second pattern to carry out D2D communication, this communication pattern system of selection also comprises:
Obtain collision probability, the ratio of unsuccessful receiving and transmitting signal number of times and total receiving and transmitting signal number of times when described collision probability represents that described subscriber equipment carries out D2D communication in the second mode;
If the collision probability obtained is greater than the thresholding of described collision probability, described subscriber equipment selects described first mode to carry out D2D communication, otherwise described subscriber equipment continues to select described second pattern to carry out D2D communication.
In conjunction with first aspect, in a kind of possible implementation, it is characterized in that, this communication pattern system of selection also comprises:
Described subscriber equipment arranges the thresholding of described communication performance parameter.
In second aspect, the present invention proposes a kind of subscriber equipment, comprising:
Detecting unit, for obtaining communication performance parameter;
Processing unit, is connected with described detecting unit, for according to obtained communication performance parameter, determines the device-to-device D2D communication pattern of described subscriber equipment,
Wherein, described D2D communication pattern comprises first mode and the second pattern,
In the first mode, described subscriber equipment utilizes the communication spectrum resource of network allocation to carry out D2D communication;
In the second mode, described subscriber equipment selects the communication spectrum resource shared to carry out D2D communication.
In conjunction with second aspect, in a kind of possible implementation, described processing unit comprises:
Comparator, is connected with described detecting unit, and the thresholding for the communication performance parameter that obtained by described detecting unit and described communication performance parameter compares;
Selector, be connected with described comparator, for when the Output rusults of described comparator represents that described first mode is better than described second pattern, make described processing unit select described first mode to carry out D2D communication, otherwise make described processing unit select described second pattern to carry out D2D communication.
In conjunction with second aspect, in a kind of possible implementation, described communication performance parameter is average frequency spectrum occupancy, and described average frequency spectrum occupancy represents the mean value of spectral occupancy in predetermined time length range; Described average frequency spectrum occupancy represents the mean value of spectral occupancy in predetermined time length range;
Described detecting unit is configured at scheduled time length t
0interior continuing detects the communication spectrum environment around described subscriber equipment, obtains spectral occupancy P (t) in each moment, and calculates average frequency spectrum occupancy P
0for:
Wherein, if described average frequency spectrum occupancy is greater than the thresholding of described average frequency spectrum occupancy, then represent that described first mode is better than described second pattern.。
In conjunction with second aspect, in a kind of possible implementation, described communication performance parameter is number of user equipment, and described number of user equipment represents the quantity of other subscriber equipment that described subscriber equipment can detect,
Wherein, if described number of user equipment is greater than the thresholding of described number of user equipment, then represent that described first mode is better than described second pattern.
In conjunction with second aspect, in a kind of possible implementation, described communication performance parameter is spectral interference power, and described spectral interference power represents the size of the interfering signal power that described subscriber equipment receives on a shared frequency spectrum,
Wherein, if described spectral interference power is greater than the thresholding of described spectral interference power, then represent that described first mode is better than described second pattern.
In conjunction with second aspect, in a kind of possible implementation, described communication performance parameter is path gain, described path gain represents that described subscriber equipment receives the downstream signal reception power of downstream signal and the ratio of the transmit signal power of downstream signal described in described Base Transmitter from base station, wherein, if described path gain is greater than the thresholding of described path gain, then represent that described first mode is better than described second pattern;
Described detecting unit is configured to the downstream signal reception power P measuring described base station
dr, obtain the transmit signal power P of described base station
dt, and calculating path gain L is: L=P
dr/ P
dt.
In conjunction with second aspect, in a kind of possible implementation, the thresholding L of described path gain
tfor: L
t=P
m/ P
max, wherein, P
mfor the largest tolerable of described base station communication is disturbed, P
maxfor described subscriber equipment carries out maximum transmission power when D2D communicates.
In conjunction with second aspect, in a kind of possible implementation, described communication performance parameter is path loss, and described path loss represents that the transmit signal power of described Base Transmitter downstream signal and described subscriber equipment receive the ratio of the downstream signal reception power of described downstream signal from base station
Wherein, if described path loss is less than the thresholding of described path loss, then represent that described first mode is better than described second pattern;
Described detecting unit is configured to the downstream signal reception power P measuring described base station
dr, obtain the transmit signal power P of described base station
dt, and calculating path loss L is: L=P
dt/ P
dr.
In conjunction with second aspect, in a kind of possible implementation, the thresholding L of described path loss
tfor: L
t=P
max/ P
m, wherein, P
mfor the largest tolerable of described base station communication is disturbed, P
maxfor described subscriber equipment carries out maximum transmission power when D2D communicates.
In conjunction with second aspect, in a kind of possible implementation, when described processing unit selects described second pattern to carry out D2D communication,
Described detecting unit also for obtaining collision probability, wherein, the ratio of unsuccessful receiving and transmitting signal number of times and total receiving and transmitting signal number of times when described collision probability represents that described subscriber equipment carries out D2D communication in the second mode;
Described processing unit also for:
If the collision probability obtained is greater than the thresholding of described collision probability, described processing unit selects described first mode, otherwise described processing unit continues to select described second pattern.
In conjunction with second aspect, in a kind of possible implementation, described subscriber equipment also comprises: setup unit, is connected with described processing unit, for arranging the thresholding of described communication performance parameter.
beneficial effect
By detecting communication network environment by subscriber equipment and selecting suitable D2D communication pattern to carry out D2D communication based on testing result, such as, select the D2D communication pattern of network control in, the situation such as interference is comparatively large and collision probability is high high at spectral occupancy, and the D2D communication pattern selecting subscriber equipment autonomous in, the situation such as the less and collision probability of interference is low not high at spectral occupancy, the D2D communication pattern system of selection that the embodiment of the present invention provides and subscriber equipment effectively can take into account D2D communication performance and communication spectrum resource utilization, and easily realize.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, further feature of the present invention and aspect will become clear.
Specific implementation
Various exemplary embodiment of the present invention, characteristic sum aspect is described in detail below with reference to accompanying drawing.The same or analogous element of Reference numeral presentation function identical in accompanying drawing.Although the various aspects of embodiment shown in the drawings, unless otherwise indicated, accompanying drawing need not be drawn in proportion.
Word " exemplary " special here means " as example, embodiment or illustrative ".Here need not be interpreted as being better than or being better than other embodiment as any embodiment illustrated by " exemplary ".
In addition, in order to better the present invention is described, in specific implementation hereafter, give numerous details.It will be appreciated by those skilled in the art that do not have these details, the present invention can implement equally.In other example, known method, means, element and circuit are not described in detail, so that highlight purport of the present invention.
As described in background technology and summary of the invention part, the present invention is mainly intended to provide a kind of wireless communications mode system of selection, the particularly system of selection of D2D communication pattern, can take into account communication spectrum resource utilization and D2D communication performance.Further, to achieve these goals, present inventor proposes by subscriber equipment such as according to around communication spectrum environment and/or equipment of itself performance etc. select suitable D2D communication pattern.
Such as, according to the communication pattern system of selection of one embodiment of the invention, subscriber equipment obtains communication performance parameter, and determines the D2D communication pattern of described subscriber equipment according to obtained communication performance parameter.Wherein, described D2D communication pattern comprises the D2D communication pattern of first mode, i.e. network control and the autonomous D2D communication pattern of the second pattern, i.e. user, in the first mode, described subscriber equipment utilizes the communication spectrum resource of network allocation to carry out D2D communication; And in the second mode, described subscriber equipment selects the communication spectrum resource shared to carry out D2D communication.
In a kind of possible implementation, according to obtained communication performance parameter, determine that the D2D communication pattern of described subscriber equipment comprises:
The thresholding of obtained communication performance parameter and described communication performance parameter is compared;
When the result of described comparison represents that described first mode is better than described second pattern, described subscriber equipment selects described first mode to carry out D2D communication, otherwise described subscriber equipment selects described second pattern to carry out D2D communication.
Communication performance parameter is different, then the result compared from threshold value is different; Such as, represent when some communication performance parameter is greater than threshold value that first mode is better than described second pattern; Some communication performance parameter represents when being less than threshold value that first mode is better than described second pattern.
In a kind of possible implementation, this communication pattern system of selection can acquisition communication performance parameter before or afterwards, also comprise the thresholding that described subscriber equipment arranges described communication performance parameter, the concrete kind of thresholding and concrete numerical value can be explained in specific embodiment below further.
Fig. 1 is the flow chart of a kind of communication pattern system of selection of one embodiment of the invention.As shown in Figure 1, this communication pattern system of selection mainly can comprise the following steps:
The thresholding of step S110, subscriber equipment setting communication performance parameter;
Step S120, subscriber equipment obtain communication performance parameter;
The thresholding of obtained communication performance parameter and described communication performance parameter compares by step S130, subscriber equipment, when the result of described comparison represents that described first mode is better than described second pattern, enters step S130Y, otherwise enters S130N;
Step S130Y, described subscriber equipment select described first mode to carry out D2D communication;
Step S130N, described subscriber equipment select described second pattern to carry out D2D communication.
Wherein, communication performance parameter mainly can comprise: average frequency spectrum occupancy, number of user equipment, spectral interference power, path gain, path loss and collision probability.Often kind of communication performance parameter has the thresholding of its correspondence, and the acquisition pattern of communication performance parameter can be explained in specific embodiment below further.
Like this, when detected communication performance parameter represents that spectral occupancy is high, interference is comparatively large and/or collision probability is high, subscriber equipment can select first mode to carry out D2D communication, can avoid because the situations such as interference, conflict make D2D communication performance sharply decline, and improve network throughput simultaneously, improve network performance; But, when detected communication performance parameter represents that spectral occupancy is not high, the less and/or collision probability of interference is low etc., subscriber equipment can select the second pattern to carry out D2D communication, so that can the availability of frequency spectrum be improved, and make communication more flexible simultaneously, improve traffic rate and reduce offered load.
The implementation procedure of above-mentioned communication pattern system of selection will be exemplarily described in detail below with concrete communication performance parameter.
embodiment 1
Fig. 2 is the flow chart of a kind of communication pattern system of selection of further embodiment of this invention.As shown in Figure 2, described communication performance parameter is average frequency spectrum occupancy, and described average frequency spectrum occupancy represents the mean value of spectral occupancy in predetermined time length range.Described communication pattern system of selection comprises the following steps:
Step S210, subscriber equipment arrange the thresholding of spectral occupancy;
Step S220, subscriber equipment obtain average frequency spectrum occupancy;
The thresholding of obtained average frequency spectrum occupancy and set spectral occupancy compares by step S230, subscriber equipment, wherein, if described average frequency spectrum occupancy is greater than the thresholding of described average frequency spectrum occupancy, then represent that described first mode is better than described second pattern, namely enter step S230Y when obtained average frequency spectrum occupancy is greater than the thresholding of set spectral occupancy, otherwise enter S230N;
Step S230Y, described subscriber equipment select described first mode to carry out D2D communication;
Step S230N, described subscriber equipment select described second pattern to carry out D2D communication.
Particularly, spectral occupancy refers to the ratio of occupied frequency spectrum resource and total frequency spectrum resource on communication network, here occupied frequency spectrum resource refers to subscriber equipment when using this section of frequency spectrum resource to carry out D2D communication, and communication quality possibly cannot meet the requirement of subscriber equipment.
For above-mentioned steps S210, in a kind of possible specific implementation, according to the communication scenes of reality, the thresholding P of spectral occupancy can be obtained by the emulation of reality
t.This thresholding P
tarrange and can represent, when the spectral occupancy in communication network exceedes this thresholding P
tafter, carry out interrupted probability when D2D communicates and can bring up to the degree that can not put up with.
For above-mentioned steps S220, in a kind of possible specific implementation, subscriber equipment passes through communication spectrum environment around predetermined hold-time length detection, to obtain average frequency spectrum occupancy P
0.In other words, average frequency spectrum occupancy is spectral occupancy over a period average, can be the time span set in advance by subscriber equipment during this period of time, such as, suppose that P (t) is for instantaneous spectrum occupancy, t
0for detection time, then average frequency spectrum occupancy
For above-mentioned steps S230, in a kind of possible specific implementation, subscriber equipment is by obtained average frequency spectrum occupancy P
0p is compared with the thresholding of set spectral occupancy
tif, P
0>P
t, perform step S230Y, namely first mode selected by described subscriber equipment, and the communication spectrum resource to communication network request network allocation carries out D2D communication; Otherwise perform step S230N, namely the second pattern selected by described subscriber equipment, the frequency spectrum resource shared in main separation communication network carries out D2D communication.
By being arranged the thresholding of spectral occupancy by subscriber equipment, to detect around it average frequency spectrum occupancy in communication environment, and select suitable D2D communication pattern to carry out D2D based on testing result and the thresholding of set spectral occupancy to communicate, when average frequency spectrum occupancy is greater than the thresholding of set spectral occupancy, the D2D communication pattern that selecting network by user equipment controls, otherwise the D2D communication pattern that subscriber equipment selects subscriber equipment autonomous, the D2D communication pattern system of selection that the above embodiment of the present invention provides can effectively be avoided because spectral occupancy is too high, subscriber equipment is caused cannot independently to find idle shared frequency spectrum to carry out D2D communication, thus it is frequent to lead to a conflict, serious interference also and then causes the problem of D2D communication performance degradation.
embodiment 2
Fig. 3 is the flow chart of a kind of communication pattern system of selection of yet another embodiment of the invention.As described in Figure 3, be with the main distinction of a upper embodiment, described communication performance parameter is number of user equipment, and described number of user equipment represents the quantity of other subscriber equipment of surrounding that described subscriber equipment can detect; Described according to obtained communication performance parameter, determine that the D2D communication pattern of described subscriber equipment mainly can comprise the following steps:
Step S310, subscriber equipment arrange the thresholding of number of user equipment;
Step S320, subscriber equipment obtain number of user equipment;
The thresholding of obtained number of user equipment and set number of user equipment compares by step S330, subscriber equipment, wherein, if described number of user equipment is greater than the thresholding of described number of user equipment, then represent that described first mode is better than described second pattern, namely enter step S330Y when obtained number of user equipment is greater than the thresholding of set number of user equipment, otherwise enter S330N;
Step S330Y, described subscriber equipment select described first mode to carry out D2D communication;
Step S330N, described subscriber equipment select described second pattern to carry out D2D communication.
For above-mentioned steps S310, in a kind of possible specific implementation, according to the communication scenes of reality, the thresholding N of number of user equipment can be obtained by the emulation of reality
t, this thresholding N
tarrange and can represent, when the number of user equipment in communication network exceedes this thresholding N
tafter, carry out interrupted probability when D2D communicates and can bring up to the degree that can not put up with.
For above-mentioned steps S320, in a kind of possible specific implementation, when subscriber equipment is wanted to carry out D2D communication, subscriber equipment, by device discovery function, obtains surrounding user equipments quantity N
d, this number of user equipment N
dthe quantity of the subscriber equipment using the subscriber equipment of share spectrum resources and share spectrum resources will be used can be represented.
For above-mentioned steps S330, in a kind of possible specific implementation, subscriber equipment is by obtained number of user equipment N
dwith the thresholding N of set number of user equipment
tcompare, if N
d>N
t, then perform step S330Y, namely first mode selected by described subscriber equipment, and the communication spectrum resource to communication network request network allocation carries out D2D communication; Otherwise perform step S330N, namely the second pattern selected by described subscriber equipment, the frequency spectrum resource shared in main separation communication network carries out D2D communication.
By being arranged the thresholding of number of user equipment by subscriber equipment, detect the quantity of other subscriber equipment in communication environment around it, and select suitable D2D communication pattern to carry out D2D based on testing result and the thresholding of set number of user equipment to communicate, when number of user equipment is greater than the thresholding of set number of user equipment, the D2D communication pattern that selecting network by user equipment controls, otherwise the D2D communication pattern that subscriber equipment selects subscriber equipment autonomous, the D2D communication pattern system of selection that the embodiment of the present invention provides can effectively avoid the quantity of the subscriber equipment due to D2D communication around too much, cause D2D communication spectrum crowded, frequent collisions also and then causes the problem of D2D communication performance degradation.
embodiment 3
Fig. 4 is the flow chart of a kind of communication pattern system of selection of yet another embodiment of the invention.As shown in Figure 4, be with the main distinction of a upper embodiment, described communication performance parameter is spectral interference power, and described spectral interference power represents the size of the interfering signal power that subscriber equipment receives on a shared frequency spectrum.Described according to obtained communication performance parameter, determine that the D2D communication pattern of described subscriber equipment mainly can comprise the following steps:
Step S410, subscriber equipment arrange the thresholding of spectral interference power;
Step S420, subscriber equipment obtain spectral interference power;
The thresholding of obtained spectral interference power and set spectral interference power compares by step S430, subscriber equipment, wherein, if described spectral interference power is greater than the thresholding of described spectral interference power, then represent that described first mode is better than described second pattern, namely enter step S430Y when obtained spectral interference power is the thresholding of set spectral interference power, otherwise enter S430N;
Step S430Y, described subscriber equipment select described first mode to carry out D2D communication;
Step S430N, described subscriber equipment select described second pattern to carry out D2D communication.
For above-mentioned steps S410, in a kind of possible specific implementation, according to the communication scenes of reality, the thresholding P of spectral interference power can be obtained by the emulation of reality
m, this thresholding P
marrange and can represent, when the spectral interference power in communication network exceedes this thresholding P
mafter, when carrying out D2D communication, suffered interference can make communication quality be reduced to the degree that can not put up with.
For above-mentioned steps S420, in a kind of possible specific implementation, subscriber equipment detects the spectrum environment of communication network around, and the power of the interference signal shared on frequency spectrum by received communication network obtains spectral interference power P
i, described spectral interference power P
irelevant with communication quality, spectral interference power P
ilarger, the interference that communication is subject to is larger, and the communication quality in communication process is poorer, otherwise then better.
For above-mentioned steps S430, in a kind of possible specific implementation, subscriber equipment is by obtained spectral interference power P
iwith the thresholding P of set spectral interference power
mcompare, if P
i>P
m, then perform step S430Y, namely first mode selected by described subscriber equipment, and the communication spectrum resource to communication network request network allocation carries out D2D communication; Otherwise perform step S430N, namely the second pattern selected by described subscriber equipment, the frequency spectrum resource shared in main separation communication network carries out D2D communication.
By being arranged the thresholding of spectral interference power by subscriber equipment, detect communication environment intermediate frequency spectrum interference power around it, and select suitable D2D communication pattern to carry out D2D based on testing result and the thresholding of set spectral interference power to communicate, when spectral interference power is greater than the thresholding of set spectral interference power, the D2D communication pattern that selecting network by user equipment controls, otherwise the D2D communication pattern that subscriber equipment selects subscriber equipment autonomous, the D2D communication pattern system of selection that the embodiment of the present invention provides can effectively be avoided because the interference of D2D communication spectrum is too high, the problem of the D2D communication performance degradation causing subscriber equipment autonomous.
embodiment 4
Fig. 5 is the flow chart of a kind of communication pattern system of selection of yet another embodiment of the invention.As shown in Figure 5, be with the main distinction of a upper embodiment, described communication performance parameter is path gain, and described path gain represents that described subscriber equipment receives the downstream signal reception power of downstream signal and the ratio of the transmit signal power of downstream signal described in described Base Transmitter from base station.
Described according to obtained communication performance parameter, determine that the D2D communication pattern of described subscriber equipment mainly can comprise the following steps:
Step S510, subscriber equipment arrange the thresholding of path gain;
Step S520, the gain of subscriber equipment way to acquire;
The thresholding of obtained path gain and set path gain compares by step S530, subscriber equipment, wherein, if described path gain is greater than the thresholding of described path gain, then represent that described first mode is better than described second pattern, namely enter step S530Y when obtained path gain is greater than the thresholding of set path gain, otherwise enter S530N;
Step S530Y, described subscriber equipment select described first mode to carry out D2D communication;
Step S530N, described subscriber equipment select described second pattern to carry out D2D communication.
For above-mentioned steps S510, in a kind of possible specific implementation, can not affect the thresholding of base station communication for standard configuration path gain with the maximum transmission power of D2D communication, suppose that the largest tolerable interference of base station communication is P
m, the maximum transmission power that subscriber equipment carries out when D2D communicates is P
max, so path gain thresholding can be set to L
t=P
m/ P
max.When the path gain in communication network exceedes this thresholding L
tafter, when carrying out D2D communication, base station is interfered the degree can brought up to and can not put up with.
For above-mentioned steps S520, in a kind of possible specific implementation, the downstream signal power of community measured by subscriber equipment, and obtain the path gain L of subscriber equipment to base station, path gain measures the downstream signal reception power P of base station by subscriber equipment
dr, and obtain the transmit signal power P of base station
dt, then path gain is L=P
dr/ P
dt.
For above-mentioned steps S530, in a kind of possible specific implementation, the thresholding L of the path gain that obtained path gain L and described subscriber equipment arrange by subscriber equipment
tcompare.If L>L
tperform step S530Y, namely first mode selected by described subscriber equipment, communication spectrum resource to communication network request network allocation carries out D2D communication, otherwise perform step S530N, namely the second pattern selected by described subscriber equipment, and the frequency spectrum resource that subscriber equipment is shared in main separation communication network carries out D2D communication.
In a kind of possible specific implementation, communication performance parameter selected in the present embodiment can be also path loss, and it is defined as the inverse of path gain, and namely path loss is L'=P
dt/ P
dr, the thresholding of the path loss of setting is L
t'=P
max/ P
m.Correspondingly, if described path loss is less than the thresholding of described path loss, then represent that described first mode is better than described second pattern.That is: if L'<L
t', first mode selected by described subscriber equipment, and the communication spectrum resource to communication network request network allocation carries out D2D communication, otherwise the second pattern selected by described subscriber equipment, and the frequency spectrum resource shared in main separation communication network carries out D2D communication.
It should be noted that; the thresholding of the communication performance parameter obtained in the application and the communication performance parameter of setting should be not limited to particular type in above-described embodiment, and the communication pattern system of selection that every the application of utilization provides all should within the protection range of the application.
By being arranged the thresholding of path gain by subscriber equipment, detect the path gain between itself and base station, and select suitable D2D communication pattern to carry out D2D based on testing result and the thresholding of set path gain to communicate, when path gain is greater than the thresholding of set path gain, the D2D communication pattern that selecting network by user equipment controls, otherwise the D2D communication pattern that subscriber equipment selects subscriber equipment autonomous, the D2D communication pattern system of selection that the embodiment of the present invention provides can effectively avoid following problem, that is: when sharing uplink spectrum with cellular communication, because subscriber equipment distance base station is nearer, the D2D communication causing subscriber equipment autonomous causes serious interference to base station, thus cause cellular communication performance sharply to decline.
embodiment 5
Fig. 6 is the flow chart of a kind of communication pattern system of selection of yet another embodiment of the invention.As shown in Figure 6, be with the main distinction of a upper embodiment, when described subscriber equipment selects described second pattern to carry out D2D communication, described subscriber equipment is in the process of carrying out D2D communication, and described communication pattern system of selection can also comprise the following steps:
Step S610, subscriber equipment arrange the thresholding of collision probability;
Step S620, subscriber equipment select the second pattern to carry out D2D communication;
Step S630, subscriber equipment obtain collision probability;
The thresholding of obtained collision probability and set collision probability compares by step S640, subscriber equipment, and enters step S640Y when obtained collision probability is greater than the thresholding of set collision probability, otherwise enters S640N;
Step S640Y, described subscriber equipment select described first mode to carry out D2D communication;
Step S640N, described subscriber equipment continue selection second pattern and carry out D2D communication.
For above-mentioned steps S610, in a kind of possible specific implementation, according to the communication scenes of reality, the thresholding P of collision probability can be obtained by the emulation of reality
cm, this thresholding generally can be arranged to 5%, this thresholding P
cmarrange and can represent, after the collision probability in communication network exceedes this thresholding, subscriber equipment selects the second pattern to carry out D2D communication, and the communication quality of acquisition cannot meet the requirement of subscriber equipment.
For above-mentioned steps S620, described subscriber equipment adopts a kind of D2D communication pattern of any one method choice in embodiment 1 to embodiment 4, if the second pattern selected by subscriber equipment, then carry out at subscriber equipment in the process of D2D communication, subscriber equipment can perform step S630 to S640Y, or performs step S630 to S640N; Otherwise subscriber equipment need not detect collision probability, use first mode to carry out D2D communication until sign off always.Wherein, step S610 can perform before step S620, also can perform after step S620.
For above-mentioned steps S630, in a kind of possible specific implementation, because subscriber equipment selects the second pattern to carry out D2D communication, can by sending data to another subscriber equipment, and receive the confirmation signal that another subscriber equipment returns, detect the collision probability P that this D2D communicates
c.
For above-mentioned steps S640, in a kind of possible specific implementation, subscriber equipment is by obtained collision probability P
cthe thresholding P of the collision probability arranged with described subscriber equipment
cmcompare.If P
c>P
cmthen perform step S640Y, namely first mode selected by described subscriber equipment, and the communication spectrum resource to communication network request network allocation carries out D2D communication, otherwise perform step S640N, the frequency spectrum resource that described subscriber equipment continues to share in selection second pattern carries out D2D communication.
Subscriber equipment is when selecting the second pattern to carry out D2D communication, by arranging the thresholding of collision probability, detect the collision probability obtaining ongoing D2D communication, and select suitable D2D communication pattern to carry out D2D based on testing result and the thresholding of set collision probability to communicate, when collision probability is greater than the thresholding of set collision probability, the D2D communication pattern that user equipment network controls, otherwise the D2D communication pattern that subscriber equipment selects subscriber equipment autonomous, the D2D communication pattern system of selection that the embodiment of the present invention provides can effectively avoid the D2D communication contention aware because subscriber equipment is autonomous frequent, thus cause the problem of D2D communication performance degradation.
embodiment 6
Fig. 7 is the structured flowchart of a kind of subscriber equipment of one embodiment of the invention.As shown in Figure 7, described subscriber equipment comprises interconnective detecting unit 71 and processing unit 73.Described detecting unit 71 is mainly used in obtaining communication performance parameter; Described processing unit 73 is mainly used according to obtained communication performance parameter, determines the D2D communication pattern of described subscriber equipment.
Wherein, described D2D communication pattern comprises first mode and the second pattern.In the first mode, described subscriber equipment utilizes the communication spectrum resource of network allocation to carry out D2D communication; In the second mode, described subscriber equipment selects the communication spectrum resource shared to carry out D2D communication.
In a kind of possible specific implementation, as shown in Figure 7, described processing unit 73 comprises:
Comparator 731, is connected with described detecting unit 71, and the thresholding for the communication performance parameter that obtained by described detecting unit 71 and described communication performance parameter compares;
Selector 732, be connected with described comparator 731, for when the Output rusults of described comparator 731 represents that described first mode is better than described second pattern, make described processing unit 73 select described first mode to carry out D2D communication, otherwise make described processing unit 73 select described second pattern to carry out D2D communication.
In a kind of possible specific implementation, as shown in Figure 7, described subscriber equipment also comprises setup unit 72.Described setup unit 72 is connected with processing unit 73, is mainly used in the thresholding arranging described communication performance parameter, and the concrete kind of communication performance parameter and thresholding and the concrete numerical value of thresholding can be explained in specific embodiment below further.
The process of above-mentioned subscriber equipment selection communication pattern will be exemplarily described in detail below with concrete communication performance parameter.
In a kind of possible specific implementation, described communication performance parameter is average frequency spectrum occupancy, and described average frequency spectrum occupancy represents the mean value of spectral occupancy in predetermined time length range.Described detecting unit 71 is configured at scheduled time length t
0interior continuing detects the communication spectrum environment around described subscriber equipment, obtains spectral occupancy P (t) in each moment, and calculates average frequency spectrum occupancy P
0for:
and setup unit 72 is for arranging the thresholding of average frequency spectrum occupancy, the thresholding of average frequency spectrum occupancy can with reference to illustrating in above-described embodiment.Correspondingly, the thresholding that the comparator 731 of processing unit 73 is configured to the spectral occupancy that the average frequency spectrum occupancy that obtained by institute's detecting unit 71 and described setup unit 72 are arranged compares; If the average frequency spectrum occupancy obtained is greater than the thresholding of described spectral occupancy, then represent that described first mode is better than described second pattern, processing unit 73 utilizes selector 732 to select described first mode to carry out D2D communication, otherwise processing unit 73 utilizes selector 732 to select described second pattern to carry out D2D communication.
Subscriber equipment arranges the thresholding of spectral occupancy by its setup unit, detecting unit to detect around it average frequency spectrum occupancy in communication environment, and processing unit is selected suitable D2D communication pattern to carry out D2D based on testing result and the thresholding of set spectral occupancy to communicate.When average frequency spectrum occupancy is greater than the thresholding of set spectral occupancy, described processing unit selects the D2D communication pattern of network control, otherwise the D2D communication pattern that described processing unit selects subscriber equipment autonomous, the subscriber equipment that the above-mentioned specific implementation of the present invention provides can effectively be avoided because spectral occupancy is too high, subscriber equipment is caused cannot independently to find idle shared frequency spectrum to carry out D2D communication, thus frequent, the serious interference and then cause the problem of D2D communication performance degradation of leading to a conflict.
In a kind of possible specific implementation, described communication performance parameter is number of user equipment, and described number of user equipment represents the quantity of other subscriber equipment that described subscriber equipment can detect.Described detecting unit 71 is configured to detect number of user equipment, and described setup unit 72 is for arranging the thresholding of number of user equipment, and the thresholding of number of user equipment can with reference to illustrating in above-described embodiment.Correspondingly, the thresholding that the comparator 731 of described processing unit 73 is configured to the number of user equipment that the number of user equipment that obtained by detecting unit 71 and described setup unit are arranged compares; If the number of user equipment obtained is greater than the thresholding of described number of user equipment, then represent that described first mode is better than described second pattern, described processing unit 73 utilizes selector 732 to select described first mode to carry out D2D communication, otherwise described processing unit 73 utilizes selector 732 to select described second pattern to carry out D2D communication.
Subscriber equipment is by the thresholding of its setting unit setting number of user equipment, detecting unit detects the quantity of other subscriber equipment in communication environment around it, and processing unit is selected suitable D2D communication pattern to carry out D2D based on testing result and the thresholding of set number of user equipment to communicate.When number of user equipment is greater than the thresholding of set number of user equipment, described processing unit selects the D2D communication pattern of network control, otherwise the D2D communication pattern that described processing unit selects subscriber equipment autonomous, the subscriber equipment that the above-mentioned specific implementation of the present invention provides can effectively avoid the quantity of the subscriber equipment due to around D2D communication too much, causes that D2D communication spectrum is crowded, frequent collisions and then cause the problem of D2D communication performance degradation.
In a kind of possible specific implementation, described communication performance parameter is spectral interference power, and described spectral interference power represents the size of the interfering signal power that described subscriber equipment receives on a shared frequency spectrum.Described detecting unit 71 is configured to detect spectral interference power, and described spectral interference power represents the size of the interfering signal power that described subscriber equipment receives on a shared frequency spectrum; And described setup unit 72 is for setting the thresholding of spectral interference power, the thresholding of spectral interference power can with reference to illustrating in above-described embodiment.Correspondingly, the thresholding that the comparator 731 of described processing unit 73 is configured to the spectral interference power that the spectral interference power that obtained by detecting unit 71 and described setup unit 72 are arranged compares; If the spectral interference power obtained is greater than the thresholding of described spectral interference power, then represent that described first mode is better than described second pattern, described processing unit 73 utilizes selector 732 to select described first mode to carry out D2D communication, otherwise described processing unit 73 utilizes selector 732 to select described second pattern to carry out D2D communication.
Subscriber equipment arranges the thresholding of spectral interference power by its setup unit, detecting unit detects communication environment intermediate frequency spectrum interference power around it, and processing unit is selected suitable D2D communication pattern to carry out D2D based on testing result and the thresholding of set spectral interference power to communicate.When spectral interference power is greater than the thresholding of set spectral interference power, described processing unit selects the D2D communication pattern of network control, otherwise the D2D communication pattern that described processing unit selects subscriber equipment autonomous, the subscriber equipment that the above-mentioned specific implementation of the present invention provides can effectively be avoided because the interference of D2D communication spectrum is too high, the problem of the D2D communication performance degradation causing subscriber equipment autonomous.
In a kind of possible specific implementation, described communication performance parameter is path gain, and described path gain represents that described subscriber equipment receives the downstream signal reception power of downstream signal and the ratio of the transmit signal power of downstream signal described in described Base Transmitter from base station; Described detecting unit 71 is configured to the downstream signal reception power P measuring described base station
dr, obtain the transmit signal power P of described base station
dt, and calculating path gain L is: L=P
dr/ P
dt.And described setup unit 72 is for arranging the thresholding L of described path gain
tfor: L
t=P
m/ P
max, wherein, P
mfor the largest tolerable of described base station communication is disturbed, P
maxfor described subscriber equipment carries out maximum transmission power when D2D communicates.Correspondingly, the comparator 731 of described processing unit 73 is configured to the thresholding of the path gain that the path gain that obtained by detecting unit 71 and described setup unit 72 are arranged; If the path gain obtained is greater than the thresholding of described path gain, then represent that described first mode is better than described second pattern, described processing unit 73 utilizes selector 732 to select described first mode to carry out D2D communication, otherwise described processing unit 73 utilizes selector 732 to select described second pattern to carry out D2D communication.
In a kind of possible specific implementation, described detecting unit 71 is also configured to detect path loss, and described path loss is the inverse of path gain.Correspondingly, described setup unit 72 is also for arranging the thresholding of path loss; The comparator 731 of described processing unit 73 is also configured to the thresholding of the path loss that the path loss that obtained by detecting unit 71 and described setup unit are arranged; If the path loss obtained is less than the thresholding of described path loss, then represent that described first mode is better than described second pattern, described processing unit 73 utilizes selector 732 to select described first mode to carry out D2D communication, otherwise described processing unit 73 utilizes selector 732 to select described second pattern to carry out D2D communication.
Subscriber equipment arranges the thresholding of path gain by its setup unit, detecting unit detects the path gain between itself and base station, processing unit is selected suitable D2D communication pattern to carry out D2D based on testing result and the thresholding of set path gain to communicate, when path gain is greater than the thresholding of set path gain, described processing unit selects the D2D communication pattern of network control, otherwise the D2D communication pattern that described processing unit selects subscriber equipment autonomous, the subscriber equipment that the above-mentioned specific implementation of the present invention provides can effectively avoid following problem, that is: when sharing uplink spectrum with cellular communication, because subscriber equipment distance base station is nearer, the D2D communication causing subscriber equipment autonomous causes serious interference to base station, thus cause cellular communication performance sharply to decline.
Further, in a kind of possible specific implementation, for any one subscriber equipment above-mentioned in the present embodiment, when described processing unit 73 selects described second pattern to carry out D2D communication, the detecting unit 71 of described subscriber equipment also for obtaining collision probability, the ratio of unsuccessful receiving and transmitting signal number of times and total receiving and transmitting signal number of times when described collision probability represents that described subscriber equipment carries out D2D communication in the second mode; Correspondingly, described setup unit 72 is also for arranging the thresholding of collision probability; The thresholding of collision probability can with reference to illustrating in above-described embodiment.The comparator 731 of described processing unit 73 is also configured to the thresholding of the collision probability obtained collision probability and described setup unit 72 arranged; If the collision probability obtained is greater than the thresholding of described collision probability, then represent that now described first mode is better than described second pattern, described processing unit 73 utilizes selector 732 to select described first mode to carry out D2D communication, otherwise described processing unit 73 utilizes selector 732 to continue to select described second pattern to carry out D2D communication.
Subscriber equipment is when selecting the second pattern to carry out D2D communication, the thresholding of collision probability is set by its setup unit, detecting unit detects the collision probability obtaining ongoing D2D communication, processing unit is selected suitable D2D communication pattern to carry out D2D based on testing result and the thresholding of set collision probability to communicate, when collision probability is greater than the thresholding of set collision probability, the D2D communication pattern of described processing unit network control, otherwise described processing unit continues the D2D communication pattern selecting subscriber equipment autonomous, the subscriber equipment that the above-mentioned specific implementation of the present invention provides can effectively avoid the D2D communication contention aware because subscriber equipment is autonomous frequent, thus cause the problem of D2D communication performance degradation.
Like this, when detected communication performance parameter represents that spectral occupancy is high, interference is comparatively large and/or collision probability is high, subscriber equipment can select first mode to carry out D2D communication, can avoid because the situations such as interference, conflict make D2D communication performance sharply decline, and improve network throughput simultaneously, improve network performance; But, when detected communication performance parameter represents that spectral occupancy is not high, the less and/or collision probability of interference is low etc., subscriber equipment can select the second pattern to carry out D2D communication, so that can the availability of frequency spectrum be improved, and make communication more flexible simultaneously, improve traffic rate and reduce offered load.
embodiment 7
Fig. 8 is the structured flowchart of a kind of subscriber equipment of further embodiment of this invention.Described subscriber equipment 800 can be possess the host server of computing capability, personal computer PC or portable portable computer or terminal etc.The specific embodiment of the invention does not limit the specific implementation of computing node.
Described subscriber equipment 800 comprises processor (processor) 810, communication interface (Communications Interface) 820, memory (memory array) 830 and bus 840.Wherein, processor 810, communication interface 820 and memory 830 complete mutual communication by bus 840.
Communication interface 820 for net element communication, wherein network element comprise such as Virtual Machine Manager center, share store etc.
Processor 810 is for executive program.Processor 810 may be a central processor CPU, or application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or is configured to the one or more integrated circuits implementing the embodiment of the present invention.
Memory 830 is for storing documents.Memory 830 may comprise high-speed RAM memory, still may comprise nonvolatile memory (non-volatile memory), such as at least one magnetic disc store.Memory 830 also can be memory array.Memory 830 also may by piecemeal, and described piece can become virtual volume by certain principle combinations.
In a kind of possible implementation, said procedure can be the program code comprising computer-managed instruction.This program specifically can be used for performing following steps:
Subscriber equipment obtaining communication performance parameter;
According to obtained communication performance parameter, determine the D2D communication pattern of described subscriber equipment,
Wherein, described D2D communication pattern comprises first mode and the second pattern,
In the first mode, described subscriber equipment utilizes the communication spectrum resource of network allocation to carry out D2D communication;
In the second mode, described subscriber equipment selects the communication spectrum resource shared to carry out D2D communication.
In a kind of possible implementation, described according to obtained communication performance parameter, determine that the D2D communication pattern of described subscriber equipment comprises:
The thresholding of obtained communication performance parameter and described communication performance parameter is compared;
When the result of described comparison represents that described first mode is better than described second pattern, described subscriber equipment selects described first mode to carry out D2D communication, otherwise described subscriber equipment selects described second pattern to carry out D2D communication.
In a kind of possible implementation, described communication performance parameter is average frequency spectrum occupancy, and described average frequency spectrum occupancy represents the mean value of spectral occupancy in predetermined time length range;
Described subscriber equipment obtains communication performance parameter and comprises described subscriber equipment at scheduled time length t
0interior lasting detection communication spectrum environment around, obtains spectral occupancy P (t) in each moment, described subscriber devices compute average frequency spectrum occupancy P
0for:
Wherein, if described average frequency spectrum occupancy is greater than the thresholding of described average frequency spectrum occupancy, then represent that described first mode is better than described second pattern.。
In a kind of possible implementation, described communication performance parameter is number of user equipment, and described number of user equipment represents the quantity of other subscriber equipment that described subscriber equipment can detect,
Wherein, if described number of user equipment is greater than the thresholding of described number of user equipment, then represent that described first mode is better than described second pattern.
In a kind of possible implementation, described communication performance parameter is spectral interference power, and described spectral interference power represents the size of the interfering signal power that described subscriber equipment receives on a shared frequency spectrum,
Wherein, if described spectral interference power is greater than the thresholding of described spectral interference power, then represent that described first mode is better than described second pattern.
In a kind of possible implementation, described communication performance parameter is path gain, and described path gain represents that described subscriber equipment receives the downstream signal reception power of downstream signal and the ratio of the transmit signal power of downstream signal described in described Base Transmitter from base station,
Wherein, if described path gain is greater than the thresholding of described path gain, then represent that described first mode is better than described second pattern;
Described subscriber equipment obtains communication performance parameter and comprises:
The downstream signal reception power P of described base station measured by described subscriber equipment
dr, and obtain the transmit signal power P of described base station
dt;
Described subscriber devices compute path gain L is: L=P
dr/ P
dt.
In a kind of possible implementation, the thresholding L of described path gain
tfor: L
t=P
m/ P
max; Wherein, P
mfor the largest tolerable of described base station communication is disturbed, P
maxfor described subscriber equipment carries out maximum transmission power when D2D communicates.
In a kind of possible implementation, described communication performance parameter is path loss, and described path loss represents that the transmit signal power of described Base Transmitter downstream signal and described subscriber equipment receive the ratio of the downstream signal reception power of described downstream signal from base station,
Wherein, if described path loss is less than the thresholding of described path loss, then represent that described first mode is better than described second pattern;
Described subscriber equipment obtains communication performance parameter and comprises:
The downstream signal reception power P of described base station measured by described subscriber equipment
dr, and obtain the transmit signal power P of described base station
dt;
Described subscriber devices compute path loss L is: L=P
dt/ P
dr.
In a kind of possible implementation, the thresholding L of described path loss
tfor: L
t=P
max/ P
m; Wherein, P
mfor the largest tolerable of described base station communication is disturbed, P
maxfor described subscriber equipment carries out maximum transmission power when D2D communicates.
In a kind of possible implementation, when described subscriber equipment selects described second pattern to carry out D2D communication, said procedure also comprises:
Obtain collision probability, the ratio of unsuccessful receiving and transmitting signal number of times and total receiving and transmitting signal number of times when described collision probability represents that described subscriber equipment carries out D2D communication in the second mode;
If the collision probability obtained is greater than the thresholding of described collision probability, described subscriber equipment selects described first mode to carry out D2D communication, otherwise described subscriber equipment continues to select described second pattern to carry out D2D communication.
In a kind of possible implementation, it is characterized in that, said procedure also comprises:
Described subscriber equipment arranges the thresholding of described communication performance parameter.
Those of ordinary skill in the art can recognize, each exemplary cell in embodiment described herein and algorithm steps, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions realize with hardware or software form actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can realize described function for specific application choice diverse ways, but this realization should not thought and exceeds scope of the present invention.
If using the form of computer software realize described function and as independently production marketing or use time, then can think that all or part of (such as to the part that prior art contributes) of technical scheme of the present invention embodies in form of a computer software product to a certain extent.This computer software product is stored in the storage medium of embodied on computer readable usually, comprises all or part of step of some instructions in order to make computer equipment (can be personal computer, server or the network equipment etc.) perform various embodiments of the present invention method.And aforesaid storage medium comprise USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only specific implementation of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.