A D2D resource allocation method based on dynamic power allocation in a 5G system

By analyzing idle channel resources and background noise in cellular networks, and calculating dynamic power allocation and power combining, the problem of co-channel interference caused by D2D users reusing spectrum resources is solved, and the spectrum utilization and system performance are optimized.

CN116367338BActive Publication Date: 2026-06-30HUAXIN CONSULTATING CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAXIN CONSULTATING CO LTD
Filing Date
2023-03-16
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

When D2D users reuse the spectrum resources of 5G cellular users, it causes serious co-channel interference, affecting normal call quality.

Method used

By analyzing idle channel resources, background noise, and signal-to-noise ratio of cellular users in cellular networks, dynamic power allocation and power combining are calculated to select the optimal channel resources to reduce interference and improve spectrum utilization.

Benefits of technology

While reducing interference, it optimizes the experience for both cellular and D2D users, maximizing the utilization of spectrum resources and system performance of the 5G system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116367338B_ABST
    Figure CN116367338B_ABST
Patent Text Reader

Abstract

This invention discloses a D2D resource allocation method based on dynamic power allocation in a 5G system. To overcome the problem of co-channel interference caused by existing technologies where D2D users reuse spectrum resources of 5G cellular users, this invention starts by analyzing idle channel resources in the cellular network. Using cell background noise, it calculates the fixed base power of each cellular user through a redundancy coefficient. By analyzing the signal-to-noise ratio (SNR) of each user, it obtains the power allocation ratio, and then acquires the dynamically allocated power portion. Power synthesis is then performed using trigonometric functions. Based on the calculation of cellular user gain, it analyzes the interference caused by newly introduced D2D user pairs to the cell, deriving the cellular user SNR. The optimal resource block is selected based on the SNR to provide for reuse by newly introduced D2D user pairs, thereby minimizing interference while optimally ensuring the perception of both cellular users and D2D user pairs, ultimately maximizing the spectrum resource utilization and system performance of the 5G system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of D2D resource allocation in 5G systems, and more particularly to a D2D resource allocation method based on dynamic power allocation in 5G systems. Background Technology

[0002] With the rapid development of Internet technologies such as the Internet of Things, big data, and cloud computing, and the dramatic increase in the number of mobile terminals, the transmission rates, system capacity, and local services provided by traditional cellular networks are struggling to meet current demands. Device-to-device (D2D) communication technology allows user devices to communicate directly within a certain distance, without needing to pass through a base station. Introducing D2D technology into 5G cellular networks allows user devices to transmit data to each other via a direct link that reuses cellular resources, improving spectrum utilization, expanding 5G communication capacity, and enhancing 5G system performance. However, in D2D communication mode, D2D users communicate by reusing the spectrum resources of 5G cellular users, which can lead to severe co-channel interference, potentially affecting normal call quality. Therefore, controlling interference in D2D communication networks is crucial. For example, a method for establishing a communication interference model for heterogeneous networks under 5G conditions, disclosed in Chinese patent literature (publication number CN114698023A), employs D2D communication and includes the following steps: session establishment, where users establish D2D links in the cellular network to achieve data transmission; resource allocation, where there are two resource allocation methods for D2D communication users: one is to allocate dedicated spectrum resources to D2D communication users, and the other is for D2D users to share cell spectrum resources with cellular users; power control, although D2D communication is direct terminal-to-terminal communication, the communication process is still controlled by the base station; and interference coordination, as the reuse of cellular link resources by D2D users can introduce new interference, including interference from D2D links to cellular communication and interference from cellular links to D2D communication. The introduction of D2D communication technology in 5G heterogeneous networks can increase system spectrum utilization and improve system throughput, but it can also lead to severe co-channel interference. Currently, numerous studies have shown that good resource allocation and power control strategies can effectively control co-channel interference and improve spectrum efficiency. Summary of the Invention

[0003] This invention primarily addresses the problem of severe co-channel interference caused by existing technology where D2D users reuse the spectrum resources of 5G cellular users for communication, potentially affecting normal call quality. It provides a D2D resource allocation method based on dynamic power allocation in a 5G system, which better integrates D2D technology within the 5G system, minimizes interference between D2D user pairs and cellular users, and fully considers the spectrum reuse performance of the cell to select appropriate channel resources for allocation to D2D user pairs.

[0004] The above-mentioned technical problems of the present invention are mainly solved by the following technical solutions:

[0005] A D2D resource allocation method based on dynamic power allocation in a 5G system includes the following steps:

[0006] S1: Based on the status scan of multiplexed channel resources by existing D2D users, determine whether there are idle channel resources in the 5G system;

[0007] S2: Calculate the background noise in the cell environment based on the 5G system configuration;

[0008] S3: Calculate the base power based on the power redundancy factor, implement dynamic power allocation based on the differences in signal-to-noise ratio among cellular users, and perform power synthesis;

[0009] S4: Calculate the link gain for cellular users based on the path loss of each cellular link;

[0010] S5: D2D user alignment calculation, measuring the interference of D2D users to cellular users and the corresponding signal-to-interference ratio of cellular users;

[0011] S6: Based on the signal-to-interference ratio, select the optimal channel resources to match the newly arrived D2D user pairs.

[0012] This solution begins by analyzing idle channel resources in the cellular network. Using cell background noise, it calculates the fixed base power for each cellular user through redundancy coefficients. By analyzing the signal-to-noise ratio (SNR) of each user's service, its power allocation is determined, allowing for dynamic allocation of power. A trigonometric function is then used for final power combining. Based on cellular user gain calculations, the interference caused by newly introduced D2D user pairs is analyzed to determine the final cellular user SNR. The optimal resource block is selected based on the SNR to provide multiplexing for newly introduced D2D user pairs. This approach aims to minimize interference while optimally ensuring the perception of both cellular and D2D user pairs, thereby maximizing the spectrum resource utilization and system performance of the 5G system.

[0013] Preferably, there are n D2D user pairs within the cell coverage area, and the set of D2D user pairs, DPR, is represented as:

[0014] DPR={Dpr1, Dpr2,…,Dpr n}

[0015] Reuse separately Resource blocks;

[0016] For all cellular users Usr i, i∈[k1, k n If all the resource blocks it occupies are reused by D2D user pairs, it indicates that there are no available idle channels in the existing cell for D2D user pairs to reuse. Therefore, the system will process new applications from D2D user pairs (Dpr) to enter the cell. new This indicates a refusal to accept the call.

[0017] Preferably, step S2 includes the following process:

[0018] Calculate the background noise power spectral density P bn :

[0019] P bn =10*log(K) b *T k *Nm rb *Wd rb *1024)

[0020] Among them, K b Boltzmann's constant;

[0021] T k Kelvin temperature;

[0022] Nm rb The number of subcarriers occupied by a resource block;

[0023] Wd rb This refers to the subcarrier bandwidth.

[0024] Preferably, the cell coverage area contains m cellular users, USR = {Usr1, Usr2, ..., Usr...} m The signal-to-noise ratio (SNR) of a service is defined as {Snr1, Snr2, ..., Snr}. m The distance between each cellular user and the cell base station is DSU = {Dsu1, Dsu2, ..., Dsu}. m The number of resource blocks occupied is NRB = {Nrb1, Nrb2, ..., Nrb}. m Step S3 includes the following process:

[0025] S301: For any cellular user Usr i , i∈[1,m], calculate the fundamental power P1:

[0026]

[0027] Where log(·) represents the commonly used logarithmic function;

[0028] SNR th The signal-to-noise ratio threshold;

[0029] Pw enbThe transmit power of the cell base station;

[0030] Nm RB This represents the total number of physical resource blocks.

[0031] This is the power redundancy factor;

[0032] S302: Calculate Usr for any cellular user i The signal-to-noise ratio difference Ssn i :

[0033] Ssn i =Snr i -SNR th

[0034] If condition Ssn is satisfied i If ≠0, then calculate the dynamic coefficient Ef. i =min(Ssn) i ,0) / Ssn i ;

[0035] If condition Ssn is satisfied i =0, calculate Ef i =0;

[0036] Where min(·) denotes the minimum value function;

[0037] S303: If condition Ssn is satisfied i ≥0, calculate the positive value of the signal-to-noise ratio difference SSn i =1;

[0038] If condition Ssn is satisfied i <0, calculate SSn i =abs(Ssn) i ), where abs(·) represents the absolute value function;

[0039] For all cellular users Usr i Calculate the sum of positive signal-to-noise ratio differences, SmS:

[0040]

[0041] Calculate the power ratio rt i :

[0042] rt i =Ssn i / SmS

[0043] Calculate the dynamic power P2:

[0044] P2 = P1 + 10 * log(1 + power(rt)) i ,2))

[0045] Where power(·) represents a power function;

[0046] S304: For any cellular user Usr i Calculate the combined power Pus i :

[0047]

[0048] Where cos(·) represents the trigonometric cosine function;

[0049] sin(·) represents the trigonometric sine function.

[0050] Preferably, in step S4, the cellular user Usr i Link gain Gus i for:

[0051] GuS i =Pus i -PuLos i

[0052] Any cellular user Usr i Link path loss PuLos i :

[0053] PuLos i =Ct us +Cf us *log(Dsu i / 1000)

[0054] Among them, Ct us This is the path loss constant for cellular links;

[0055] Cf us This is the road loss coefficient.

[0056] As a preferred option, newly applying D2D users entering the community have a higher Dpr new With existing cellular users Usr i The distance between user pairs i∈[1,m] is DDU={Ddu1,Ddu2,…,Ddu…} m Step S5 includes the following process:

[0057] S501: Calculate the D2D user's Dpr respectively. new To any existing cellular user Usr i Link path loss PdLos new,i :

[0058] PdLos new,i =Ct dd +Cfdd *log(Ddu i / 1000)

[0059] Among them, Ct dd This is the path loss constant for the D2D link;

[0060] Cf dd This is the road loss coefficient;

[0061] S502: Calculate Dpr new Interference to various cellular users Int new,i :

[0062] Int new,i =Pw d -PdLos new,i

[0063] Among them, Pw d For D2D user pairs, the transmit power;

[0064] S503: Calculate due to Dpr new The total noise level (NOx) entering the community and affecting all cellular users new,i :

[0065] Nos new,i =10*log(power(10, P′b) n / 10))+10*log(power(10,Int) new,i / 10))

[0066] Calculate Usr for each cellular user i The letter is more than SN i :

[0067] SN i =Gus i -Nos new,i

[0068] Among them, P′ bn The background noise power spectral density is expressed in decibels.

[0069] P′ bn =P bn +30

[0070] P bn This represents the background noise power spectral density.

[0071] Preferably, step S6 includes the following process:

[0072] S601: Calculate the mean signal-to-interference ratio for all cellular users. The conditions will be met. Cellular users included in the qualified set Stok middle,

[0073] S602: If condition: St ok Any cellular user Usr z No resource blocks were accessed by existing D2D users for Dpr. i If j∈[1,n] is reused, then from St ok Select a cellular user with the highest signal-to-interference ratio (SIR) from the list. tar As a reused object, from Use tar Randomly select one of the occupied resource blocks to provide to Dpr new Reuse;

[0074] S603: If condition is met: St ok There are cellular users Usr z Dpr by existing D2D users j If j∈[1,n] is reused, then cellular users will be assigned to Dpr. n e w Distance from Ddu z Sort the data in descending order and select cellular users (Usr) with available free resource blocks from the beginning. tar As a reused object, from Use tar Select a free resource block from the occupied resource blocks and provide it to Dpr. new Reuse.

[0075] The beneficial effects of this invention are:

[0076] Starting with the analysis of idle channel resources in the cellular network, the fixed base power of each cellular user is calculated using the cell background noise and redundancy coefficient. By analyzing the service signal-to-noise ratio of each user, their power allocation is obtained, and the power portion that can be dynamically allocated is obtained. Then, the final power synthesis is performed using a trigonometric function. Based on the calculation of cellular user gain, the interference caused by newly introduced D2D user pairs to the cell is analyzed to obtain the final cellular user signal-to-interference ratio. The optimal resource block is selected according to the quality of the signal-to-interference ratio to provide multiplexing for newly entered D2D user pairs. This achieves the goal of minimizing interference while optimally ensuring the perception of cellular users and D2D user pairs, thereby maximizing the spectrum resource utilization and system performance of the 5G system. Attached Figure Description

[0077] Figure 1 This is a flowchart of a D2D resource allocation method according to the present invention.

[0078] Figure 2 This is a comparison chart of the system capacity of this invention and other algorithms.

[0079] Figure 3 This is a comparison chart of system satisfaction between the present invention and other algorithms.

[0080] Figure 4 This is a comparison chart of the cumulative access distribution of this invention and other algorithms. Detailed Implementation

[0081] The technical solution of the present invention will be further described in detail below through embodiments and in conjunction with the accompanying drawings.

[0082] Example:

[0083] This embodiment presents a D2D resource allocation method based on dynamic power allocation in a 5G system, such as... Figure 1 As shown, this includes a single-cell eNodeB and a total number of physical resource blocks Nm. RB The cell coverage area contains m cellular users, USR = {Usr1, Usr2, ..., Usr...} m The signal-to-noise ratio (SNR) of a service is defined as {Snr1, Snr2, ..., Snr}. m}(dB), the distance between each cellular user and the cell base station DSU={Dsu1,Dsu2,…,Dsu m}(m), the number of resource blocks occupied is NRB={Nrb1, Nrb2, …, Nrb m Within the cell coverage area, there are n D2D user pairs DPR = {Dpr1, Dpr2, ..., Dpr...} n}, reused separately Resource blocks; D2D users newly applying to enter the community and their Dpr new With existing cellular users Usr i The distance between user pairs i∈[1,m] is DDU={Ddu1,Ddu2,…,Ddu…} m}(m).

[0084] The following example uses m=5 and n=2 to illustrate the specific distribution of cellular users within a 5G cell, as shown in Table 1:

[0085] Table 1. Distribution of Cellular Users

[0086]

[0087]

[0088] The situation of newly added D2D users in 5G cells is shown in Table 2:

[0089] Table 2. Relative Positions of New D2D Users

[0090]

[0091] The basic data is shown in Table 3:

[0092] Table 3 Basic Data

[0093]

[0094] This example describes a D2D resource allocation method based on dynamic power allocation in a 5G system, including the following steps: resource block scanning, background noise statistics, dynamic power allocation, cellular user gain calculation, D2D user access approval, and reuse object screening.

[0095] Step 1: Resource block scanning can be used.

[0096] For all cellular users Usr i , i∈[k1, k n If all the resource blocks occupied by a user pair are reused by D2D users, it indicates that there are no available free channels in the existing cell for D2D users to reuse. Therefore, the system will not reuse the incoming D2D user pair (Dpr). new This indicates a refusal to accept the call.

[0097] Within the cell coverage area, there are n=2 D2D user pairs, Dpr1 and Dpr2. Dpr1 reuses the RB6 resource block of cellular user Usr3, and Dpr2 reuses the RB10 resource block of cellular user Usr4. Other pairs, such as Usr1, Usr2, Usr5, and Usr3 and Usr4, have available idle resource blocks for reuse. Therefore, Dpr... new Users can access the service.

[0098] Step 2: Background noise statistics.

[0099] Set Boltzmann constant K b Kelvin temperature T k A resource block occupies Nm subcarriers rb Subcarrier bandwidth Wd rb (kHz).

[0100] Calculate the background noise power spectral density P bn :

[0101] P bn =10*log(K) b *T k *Nm rb *Wd rb *1024)(dBw / Hz);

[0102] For the data in this embodiment, the background noise power spectral density is calculated.

[0103] P bn=10*log(K) b *T k *Nm rb *Wd rb *1024)=-148.31(dBw / Hz).

[0104] Conversion component P′ bn =P bn +30 (dBm / Hz).

[0105] For the data in this embodiment, the conversion is performed as follows:

[0106] Step 3: Dynamic power allocation.

[0107] Step 3-1: Set the signal-to-noise ratio (SNR) threshold. th (dB), cell base station transmit power Pw enb (dBm), power redundancy factor

[0108] For any cellular user Usr i , i∈[1,m], calculate the fundamental power

[0109]

[0110] Here, log(·) represents the commonly used logarithmic function.

[0111] For the data in this embodiment, for any cellular user Usr i , i∈[1,m], calculate the fundamental power

[0112]

[0113] Step 3-2: Calculate the User Rate for any cellular user i The signal-to-noise ratio difference Ssn i =Snr i -SNR th (dB);

[0114] If condition Ssn is satisfied i If <>0, then calculate the dynamic coefficient Ef. i =min(Ssn) i ,0) / Ssn i ;

[0115] If condition Ssn is satisfied i =0, calculate Ef i =0;

[0116] Here, min(·) represents the minimum value function.

[0117] For the data in this embodiment, calculate the Usr of any cellular user. i The signal-to-noise ratio difference Ssn i =Snr i -SNR th ={-3, 5, 0, -2, 1} (dB).

[0118] If condition Ssn is satisfied i If <>0, then calculate the dynamic coefficient Ef. i =min(Ssn) i ,0) / Ssn i If the condition Ssn is met i =0, calculate Ef i =0, the final calculated Ef i ={1, 0, 0, 1, 0}.

[0119] Step 3-3: If condition Ssn is satisfied i If the value is ≥0, calculate the positive value of the signal-to-noise ratio difference, Ssn. i =1 (dB);

[0120] If condition Ssn is satisfied i <0, calculate SSn i =abs(Ssn) i (dB);

[0121] Here, abs(·) represents the absolute value function.

[0122] For all cellular users Usr i Calculate the sum of positive values ​​of the signal-to-noise ratio difference.

[0123] Calculate the power ratio rt i =Ssn i / SmS;

[0124] Calculate the dynamic power P2 = P1 + 10 * log(1 + power(rt)). i ,2))(dBm);

[0125] Where power(·) represents the power function.

[0126] For the data provided in this embodiment, if condition Ssn is met... i ≥0, calculate the positive value of the signal-to-noise ratio difference SSn i =1 (dB), if condition Ssn is satisfied i <0, calculate SSn i =abs(Ssn) i (dB), the final calculated SSn i ={3, 1, 1, 2, 1} (dB).

[0127] For all cellular users Usr i Calculate the sum of positive values ​​of the signal-to-noise ratio difference.

[0128] Calculate power ratio

[0129] Calculate the dynamic power P2:

[0130] P2 = P1 + 10 * log(1 + power(rt)) i ,2))={18.24, 22.51, 20.75, 23.95, 22.51} (dBm)

[0131] Steps 3-4: For any cellular user Usr i Calculate the combined power

[0132]

[0133] Where cos(·) represents the trigonometric cosine function and sin(·) represents the trigonometric sine function.

[0134] For the data in this embodiment, for any cellular user Usr i Calculate the combined power

[0135]

[0136] Step 4: Cellular user gain calculation.

[0137] Step 4-1: Set the path loss constant Ct for the cellular link. us Road loss coefficient Cf us Then any cellular user Usr i Link path loss PuLos i =Ct us +Cf us *log(Dsu i / 1000)(dB).

[0138] Regarding the data provided in this embodiment, any cellular user Usr i Link path loss

[0139]

[0140] Step 4-2: Calculate User i Link gain Gus i =Pus i -PuLos i (dB).

[0141] For the data provided in this embodiment, calculate Usr i Link gain Gus i =Pus i -PuLos i ={-96.82,-80.17,-87.76,-85.54,-09.7}(dB).

[0142] Step 5: D2D user alignment approval.

[0143] Step 5-1: Set the path loss constant Ct for the D2D link. dd Road loss coefficient Cf dd ; Calculate D2D user's Dpr respectively new To any existing cellular user Usr i Link path loss PdLos new,i =Ct dd +Cf dd *log(Ddu i / 1000)(dB).

[0144] For the data provided in this embodiment, calculate the D2D user's response to Dpr. new To any existing cellular user Usr i Link path loss PdLos new,i :

[0145]

[0146] Step 5-2: Set the transmit power Pw for the D2D user pair d (dBm); Calculate Dpr new Interference to various cellular users Int new,i =Pw d -PdLos new,i (dB).

[0147] For the data provided in this embodiment, calculate Dpr new Interference to various cellular users Int new,i =Pw d -PdLos new,i ={-100.92,-88.17,-109.08,-104.08,-76.13}(dB).

[0148] Step 5-3: Calculate due to Dpr ncv The total noise level (NOx) entering the community and affecting all cellular users new,i =10*log(power(10, P′) bn / 10))+10*log(power(10,Int)new,i / 10))(dB).

[0149] Calculate Usr for each cellular user i The letter is more than SN i =Gus i -Nos new,i (dB).

[0150] For the data provided in this embodiment, the calculation is performed due to Dpr new Total noise level entering the community and affecting all cellular users

[0151]

[0152] Calculate Usr for each cellular user i The letter is more than SN i :

[0153] SN i =Gus i -Nos new,i ={4.02, 7.99, 20.83, 18.38, -14.57} (dB).

[0154] Step 6: Filter reusable objects.

[0155] Step 6-1: Calculate the mean signal-to-interference ratio (SIR) for all cellular users. Those that meet the conditions Cellular users included in the qualified set St ok middle,

[0156] For the data provided in this embodiment, the mean signal-to-interference ratio (SIR) of all cellular users is calculated. Those that meet the conditions Cellular users included in the qualified set St ok middle,

[0157] Step 6-2: If condition: St ok Any cellular user Usr z No resource blocks were accessed by existing D2D users for Dpr. j If j∈[1,n] is reused, then from St ok Select a cellular user with the highest signal-to-interference ratio (SIR) from the list. tar As a reused object, from Use tar Randomly select one of the occupied resource blocks to provide to Dpr new Reuse.

[0158] In this embodiment, since both Usr3 and Usr4 have resource blocks that are reused by D2D users for Dpr1 and Dpr2 respectively, the condition is not met: St ok Any cellular user Usr z No resource blocks were accessed by existing D2D users for Dpr. j , j∈[1,n] reused.

[0159] Step 6-3: If the condition is met: St ok There are cellular users Usr z Dpr by existing D2D users j If j∈[1,n] is reused, then cellular users will be assigned to Dpr. new Distance from Ddu z Sort the data in descending order and select cellular users (Usr) with available free resource blocks from the beginning. tar As a reused object, from Use tar Select a free resource block from the occupied resource blocks and provide it to Dpr. new Reuse.

[0160] In this embodiment, the condition is met: St ok If cellular users Usr3 and Usr4 are reused by existing D2D users Dpr1 and Dpr2, then the cellular users will be reassigned to Dpr1 and Dpr2. new Distance from Ddu z Sort the data in descending order to get {Usr3, Usr4, Usr2}. Then, select cellular users with available resource blocks from the beginning. tar=3 As a reused object, a free resource block RB8 is selected from the resource blocks occupied by Usr3 and provided to Dpr. new Reuse.

[0161] Simulation experiment:

[0162] The DPD-PC power control method of this invention was compared with existing FCM fuzzy clustering (including power control and non-power control) methods through MATLAB platform simulation. The basic data information is shown in Table 3 above, and the results are shown in the appendix. Figures 2 to 4 As shown.

[0163] like Figure 2The comparison shows the relationship between system throughput and the number of cellular users. Overall, as the number of cellular users increases, cell throughput shows a significant upward trend. However, because the DPD-PC and FCM-PC methods add power control, their impact on cell throughput is significant, and their system indicators are clearly superior among the methods, but they also increase the system load accordingly. Among these methods, DPD-PC, because it can dynamically allocate power based on the quality of the cell environment where the cellular user is located, shows better throughput improvement than the fuzzy clustering-based FCM-PC method. FCM-NPC, due to the lack of power control, has the worst interference suppression capability.

[0164] like Figure 3 The system satisfaction is compared with the number of D2D user pairs. System satisfaction refers to the ratio of the number of D2D user pairs that meet the throughput target among the currently allocated resource blocks to the total number of D2D user pairs. The simulation results show that the DPD-PC method of this invention can dynamically track cellular users with different signal-to-noise ratios in real time and allocate different powers accordingly. When seeking channel resource reuse for D2D user pairs, the criterion is to prioritize the reuse of cellular users with idle resource blocks, which in turn ensures optimal system satisfaction.

[0165] like Figure 4 The diagram shows a comparison of the cumulative distribution of D2D user pair access counts. The number of times a D2D user pair is accessed during resource block allocation reflects the fairness of the algorithm in satisfying resource requests. The cumulative distribution (CDF) can be used to statistically determine the number of times the algorithm accesses D2D user pairs. Clearly, the DPD-PC method of this invention has a wider distribution than both FCM methods. The scheduling frequency of D2D user pairs is distributed in the range of 5–17 times, while the FCM-PC power control method is mostly distributed in the range of 6–16 times, and the FCM-NPC method is mostly distributed in the range of 7–14 times. The distribution of access counts in FCM is more concentrated. Comparatively, under limited resource conditions, the DPD-PC hierarchical control of this patent can allocate resources more rationally than the FCM fuzzy clustering method.

[0166] This embodiment starts by analyzing idle channel resources in the cellular network. Using cell background noise, it calculates the fixed base power of each cellular user through a redundancy coefficient. By analyzing the signal-to-noise ratio (SNR) of each user's service, its power allocation is determined, and a dynamically adjustable power portion is obtained. Finally, a trigonometric function is used for power combining. Based on the cellular user gain calculation, the interference caused by newly introduced D2D user pairs is analyzed to obtain the final cellular user SNR. The optimal resource block is selected based on the SNR to provide multiplexing for newly introduced D2D user pairs. This achieves optimal perception for both cellular users and D2D user pairs while mitigating interference, thereby maximizing the spectrum resource utilization and system performance of the 5G system.

[0167] It should be understood that the embodiments are for illustrative purposes only and are not intended to limit the scope of the invention. Furthermore, it should be understood that after reading the teachings of this invention, those skilled in the art can make various alterations or modifications to the invention, and these equivalent forms also fall within the scope defined by the appended claims.

Claims

1. A D2D resource allocation method based on dynamic power allocation in a 5G system, characterized in that, Includes the following steps: S1: Based on the status scan of multiplexed channel resources by existing D2D users, determine whether there are idle channel resources in the 5G system; S2: Calculate the background noise in the cell environment based on the 5G system configuration; S3: Calculate the base power based on the power redundancy factor, implement dynamic power allocation based on the differences in signal-to-noise ratio among cellular users, and perform power synthesis; Dynamic power allocation is performed through the following process: The cell coverage area contains a quantity of... cellular users Business signal-to-noise ratio Distance between each cellular user and the cell base station Number of resource blocks occupied ; S301: For any cellular user within the cell coverage area Calculate the base power ; S302: Calculate any cellular user signal-to-noise ratio difference ; If the signal-to-noise ratio difference meets the condition Then calculate the dynamic coefficient. ;in, Describes the minimum value function; If the conditions are met ,calculate ; S303: If the condition is met Calculate the positive value of the signal-to-noise ratio difference. ; If the conditions are met ,calculate ,in, Represents the absolute value function; For all cellular users Calculate the sum of positive values ​​of the signal-to-noise ratio difference. ; Calculate power ratio ; Calculate dynamic power ; S304: For any cellular user Calculate the combined power : , in, Represents the trigonometric cosine function; Represents the trigonometric sine function; S4: Calculate the link gain for cellular users based on the path loss of each cellular link; S5: D2D user alignment calculation, measuring the interference of D2D users to cellular users and the corresponding signal-to-interference ratio of cellular users; S6: Based on the signal-to-interference ratio, select the optimal channel resources to match the newly arrived D2D user pairs.

2. The D2D resource allocation method based on dynamic power allocation in a 5G system according to claim 1, characterized in that, There are n D2D user pairs within the cell coverage area. The set of D2D user pairs, DPR, is represented as: ; Reuse separately Resource blocks; For all cellular users If all the resource blocks it occupies are reused by D2D user pairs, it indicates that there are no available idle channels in the existing cell for D2D user pairs to reuse. In this case, the system will process new applications from D2D user pairs to enter the cell. This indicates a refusal to accept the call.

3. The D2D resource allocation method based on dynamic power allocation in a 5G system according to claim 1, characterized in that, Step S2 includes the following process: Calculate the power spectral density of background noise : , in, Boltzmann's constant; Kelvin temperature; The number of subcarriers occupied by a resource block; This refers to the subcarrier bandwidth.

4. A D2D resource allocation method based on dynamic power allocation in a 5G system according to claim 1, 2, or 3, characterized in that, base power for: , in, Represents the commonly used logarithmic function; The signal-to-noise ratio threshold; The transmit power of the cell base station; This represents the total number of physical resource blocks. This is the power redundancy factor; Signal-to-noise ratio difference for: ; The sum of positive values ​​of signal-to-noise ratio difference for: ; Power ratio for: ; Dynamic power for: , in, This represents a power function.

5. A D2D resource allocation method based on dynamic power allocation in a 5G system according to claim 4, characterized in that, Cellular users in step S4 Link gain for: , Any cellular user Link path loss : , in, This is the path loss constant for cellular links; This is the road loss coefficient.

6. A D2D resource allocation method based on dynamic power allocation in a 5G system according to claim 5, characterized in that, New D2D users applying to enter the community With existing cellular users Distance between users Step S5 The process includes the following: S501: Calculate D2D user pairs respectively To any existing cellular user Link path loss : , in, This is the path loss constant for the D2D link; This is the road loss coefficient; S502: Calculation Interference with various cellular users : , in, For D2D user pairs, the transmit power; S503: Calculate due to Total noise level entering the community and affecting all cellular users : , Calculate each cellular user The letter is more than : , in, The background noise power spectral density is expressed in decibels. , This represents the background noise power spectral density.

7. A D2D resource allocation method based on dynamic power allocation in a 5G system according to claim 1, characterized in that, Step S6 includes the following process: S601: Calculate the mean signal-to-interference ratio for all cellular users. ; will meet the conditions Cellular users included in the qualified set middle, ; S602: If the condition is met: Any cellular user No resource blocks have been accessed by existing D2D users. Reuse, then from Select a cellular user with the highest signal-to-interference ratio. As a reusable object, from Choose any one of the occupied resource blocks to provide Reuse; S603: If the condition is met: There are cellular users in China By existing D2D users Reuse will then group cellular users by... distance Sort the cells in descending order and select those with available free resource blocks from the beginning. As a reusable object, from Select a free resource block from the occupied resource blocks and provide it to... Reuse.