Out-degree computing method and device, and method and system for selecting new relay
A computing method and computing device technology, applied in the field of communications, can solve the problems of increasing relays and increasing hidden dangers of communication network security, and achieve the effect of improving security connectivity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] figure 1 It is a flowchart of an out-degree calculation method provided in Embodiment 1 of the present invention. Such as figure 1 As shown, the out-degree calculation method includes:
[0048] Step 1001. Calculate the first normalized probability of each user within the preset first area.
[0049] Step 1002, calculate the first eavesdropping probability of all eavesdroppers within the first circle, the center of the first circle is the first user, and the radius of the first circle is the distance between the first user and the first relay .
[0050] Step 1003: Calculate the out-degree of the first user corresponding to the first relay according to the first normalized probability and the first eavesdropping probability.
[0051] In this embodiment, the step of calculating the first normalized probability of each user within the preset first area includes: calculating the first distribution probability of the user according to a two-dimensional Gaussian function; ...
Embodiment 2
[0071] This embodiment provides a method for selecting a new relay, including: calculating the out-degrees of all relays according to the out-degree calculation method provided in Embodiment 1; selecting the interrupt with the largest absolute value of the out-degree as the new relay. For the out-degree calculation method, refer to the description of Embodiment 1 for specific content, and details are not repeated here.
[0072] see figure 2 , this embodiment calculates user R 2 Corresponding to the newly added relay R 4 out degree E 24 and user R 3 Corresponding to the newly added relay R 4 out degree E 34 . According to out degree E 24 and out degree E 34 Calculate the new relay R 4 out degree E 4 , where E 4 =E 14 +E 24 +E 34 . Then, this embodiment uses the above method to calculate the newly added relay R 5 , add relay R 6 out degree E 5 and out degree E 6 . Finally, compare E 4 ,E 5 and E 6 The size of the absolute value of , and finally select the...
Embodiment 3
[0075] image 3 It is a schematic structural diagram of an out-degree calculation device provided by Embodiment 3 of the present invention. Such as image 3 As shown, the out-degree calculation device includes a first calculation unit 101 , a second calculation unit 102 and a third calculation unit 103 . The first calculation unit 101 calculates a first normalized probability of each user within a preset first area. The second calculation unit 102 calculates the first eavesdropping probability of all eavesdroppers within the first circle, the center of the first circle is the first user, and the radius of the first circle is the distance between the first user and the first relay. distance. The third calculation unit 103 calculates the out-degree of the first user corresponding to the first relay according to the first normalized probability and the first eavesdropping probability.
[0076] In this embodiment, the first calculation unit includes a first calculation module,...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 