Power allocation method and apparatus for heterogeneous network communication, storage medium, and device

CN117320156BActive Publication Date: 2026-08-28GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311405768.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-26
Publication Date
2026-08-28
Estimated Expiration
2043-10-26

AI Technical Summary

Benefits of technology

[0026] The beneficial effects of adopting the above technical solution are as follows: the cross-technology communication attack detection method of the present invention can complete the detection of deception attacks or congestion attacks in cross-technology communication with low error and high precision without increasing hardware costs, and effectively improve the stability of cross-technology communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117320156B_ABST
    Figure CN117320156B_ABST
Patent Text Reader

Abstract

The application provides a power distribution method and device for heterogeneous network communication, a storage medium and equipment. The heterogeneous network comprises a base station, an eavesdropping user, a D2D communication user and a cellular communication user. The power distribution method comprises the following steps: acquiring a channel fading index between the base station, the eavesdropping user, the D2D communication user and the cellular communication user, a system total power of the heterogeneous network and a first error factor; inputting the channel fading index, the system total power and the first error factor into a power distribution model to obtain a power distribution coefficient; and distributing the D2D communication power and the cellular communication power of the heterogeneous network according to the power distribution coefficient. The method can detect the fraud attack or the congestion attack in the cross-technology communication with low error and high precision by using the existing resources without increasing the hardware cost, and effectively improves the stability of the cross-technology communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communications, and more specifically to power distribution methods, apparatus, storage media, and devices for heterogeneous network communications. Background Technology

[0002] In heterogeneous network communication, both cellular communication and D2D communication are permitted and coexist. The heterogeneous network includes base stations, cellular communication users, and D2D communication users. Communication nodes in a heterogeneous network can select the optimal communication method and equipment based on the transmission content, scenario, and requirements, thereby improving the communication efficiency and performance of the entire heterogeneous network.

[0003] In heterogeneous networks, cellular communication and D2D communication coexist. With the explosive growth of transmitted data, how to allocate cellular communication power and D2D communication power has become a technical problem that needs to be solved in order to maximize the secure communication capacity of heterogeneous network communication while ensuring data transmission security and reliability. Summary of the Invention

[0004] Based on this, the present invention provides a power allocation method, apparatus, storage medium and device for heterogeneous network communication, and provides an optimal transmit power allocation scheme for D2D communication and cellular communication, providing new technical means for mobile communication.

[0005] In a first aspect, the present invention provides a power allocation method for heterogeneous network communication, wherein the heterogeneous network includes base stations, eavesdropping users, D2D communication users, and cellular communication users, and the power allocation method includes:

[0006] Obtain the channel fading index among base stations, eavesdropping users, D2D communication users, and cellular communication users; the total system power of heterogeneous networks; and the first error factor.

[0007] The channel fading index, the total system power, and the first error factor are input into the power allocation model to obtain the power allocation coefficients.

[0008] The power allocation coefficient is used to allocate the D2D communication power and cellular communication power of the heterogeneous network.

[0009] Furthermore, the step of inputting the channel fading index, the total system power, and the first error factor into the power allocation model to obtain the power allocation coefficients is specifically as follows:

[0010] Step S11: Obtain the initial value of the power allocation coefficient;

[0011] Step S12: Input the channel fading index and the initial value of the power allocation system into the hybrid penalty function model to obtain the signal precoding parameters for D2D communication and cellular communication;

[0012] Step S13: Input the signal precoding parameters and the total system power into the power allocation model to obtain the locally optimal power allocation coefficients;

[0013] Step S14: If the difference between the locally optimal power allocation coefficient and the initial value of the power allocation coefficient is not less than the first error factor, increase the initial value of the power allocation coefficient, and repeat steps S12 and S13 until the difference between the locally optimal power allocation coefficient and the initial value of the power allocation coefficient is less than the first error factor.

[0014] Step S15: Initial value of output power distribution coefficient.

[0015] Furthermore, the step of inputting the channel fading index and the initial value of the power allocation system into the hybrid penalty function model to obtain the signal precoding parameters for D2D communication and cellular communication is as follows:

[0016] Step S21: Obtain the initialized signal precoding parameters, the initialized penalty factor, and the preset second error factor;

[0017] Step S22: Input the initialized signal precoding parameters, penalty factor, channel fading index and power allocation system initial values ​​into the hybrid penalty function model, and calculate the local optimal solution of the unconstrained problem in the hybrid penalty function model;

[0018] Step S23: If the product of the hybrid penalty function model obtained from the local optimal solution and the initialized penalty factor is not less than the second error factor, reduce the penalty factor and repeat step S22 until the product of the hybrid penalty function model obtained from the local optimal solution and the initialized penalty factor is less than the second error factor.

[0019] Step S24: Obtain the signal precoding parameters for D2D communication and cellular communication based on the local optimal solution.

[0020] Secondly, the present invention provides a power allocation device for heterogeneous network communication, wherein the heterogeneous network includes a base station, eavesdropping users, D2D communication users, and cellular communication users, and the power allocation device includes:

[0021] The parameter acquisition module is used to acquire the channel fading index between the base station, the eavesdropping user, the D2D communication user and the cellular communication user, the total system power of the heterogeneous network, and the first error factor.

[0022] The power allocation coefficient calculation module is used to input the channel fading index, the total system power, and the first error factor into the power allocation model to obtain the power allocation coefficient.

[0023] The power allocation module is used to allocate the D2D communication power and cellular communication power of the heterogeneous network according to the power allocation coefficient.

[0024] Thirdly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of any of the power allocation methods for heterogeneous network communication in the first aspect.

[0025] Fourthly, the present invention provides a computer device including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform any of the power allocation methods for heterogeneous network communication in the first aspect.

[0026] The beneficial effects of adopting the above technical solution are as follows: the cross-technology communication attack detection method of the present invention can complete the detection of deception attacks or congestion attacks in cross-technology communication with low error and high precision without increasing hardware costs, and effectively improve the stability of cross-technology communication. Attached Figure Description

[0027] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.

[0028] Figure 1 This is a schematic diagram of the structure of a heterogeneous network in one embodiment of this application;

[0029] Figure 2 This is a schematic diagram of a power allocation method for heterogeneous network communication in one embodiment of this application;

[0030] Figure 3 This is a pseudocode diagram illustrating the solution of the power allocation coefficient in one embodiment of this application;

[0031] Figure 4 This is a pseudocode diagram illustrating the solution of signal precoding parameters for D2D communication pre-cellular communication in one embodiment of this application;

[0032] Figure 5 This is a schematic diagram of a power distribution device for heterogeneous network communication in one embodiment of this application. Detailed Implementation

[0033] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. To describe the present invention in more detail, the power allocation method, apparatus, storage medium, and device for heterogeneous network communication provided by the present invention will be specifically described below with reference to the accompanying drawings.

[0034] To better describe the power allocation method, apparatus, storage medium, and device for heterogeneous network communication according to embodiments of the present invention, the structure of heterogeneous network communication and the power of heterogeneous network communication according to embodiments of the present invention will first be described in detail:

[0035] In heterogeneous network communication, cellular communication and D2D communication coexist. Heterogeneous networks include base stations (BS), eavesdropping users (EVE), and D2D communication users (including senders in D2D communication). Receiver in D2D communication ) and cellular communication users (UE) u (See appendix) Figure 1 .

[0036] D2D communication refers to direct communication between spatially proximate mobile users, without the need for base stations to relay information. (See Appendix) Figure 1 Sending signals The establishment, maintenance, and termination of this communication session all occur during the process of the user requesting resources from the mobile network, the mobile network allocating resources, and the mobile network reclaiming resources after the session ends. To ensure that the system's communication throughput reaches a high level while maintaining constant system bandwidth resources, the spectrum resources of cellular users are reused during D2D communication.

[0037] Cellular communication refers to a communication method where two users can only communicate by sending data packets through a base station; direct communication is not possible. (See appendix.) Figure 1 The signal x sent by the base station c For each cellular communication, the sending end first sends data packets to the base station, and then the base station forwards the data packets to the receiving end. The data received by the receiving end is only the data sent from the source node.

[0038] Furthermore, to improve the system's anti-interference capability and security, the heterogeneous network communication in this embodiment uses a multi-antenna approach to generate artificial noise. Artificial noise is added to the information transmission ends of the base station and the D2D pair, thereby degrading the quality of the EVE's eavesdropping link. The specific expressions for the signals transmitted by the base station and the D2D communication after adding artificial noise are as follows:

[0039] x c =p1u+z1,

[0040]

[0041] Where u is the signal that the base station expects to transmit, p1 is the first precoding vector, z1 is the first artificial noise added by the base station transmitter; w is the signal that the D2D transmitter expects to transmit, p2 is the second precoding vector, and z2 is the second artificial noise added by the D2D communication transmitter.

[0042] Therefore, the signals received by cellular communication users, D2D communication receivers, and eavesdroppers in heterogeneous networks can be obtained as follows:

[0043]

[0044]

[0045] y EVE =h BE p1u+h BE z1+h SE p2w+h SE z2+n E ,

[0046] in, For signals received by cellular communication users, h BU h represents the channel fading coefficient between the base station and cellular communication users. SU n is the channel fading index between D2D communication users and cellular communication users. U This refers to random noise received by cellular communication users. For signals received by D2D communication users, H SD H represents the channel fading coefficient between D2D communication users. BD Let n be the channel fading coefficient between the base station and the D2D user. D For random noise received by D2D communication users; y EVE In order to eavesdrop on the signals received by users, h BE h is the channel fading coefficient between the base station and the eavesdropper. SE Let n be the channel fading coefficient between the D2D communication user and the eavesdropping user. E To eavesdrop on random noise received by users.

[0047] Let P B-S P represents the power of the signal that the base station expects to transmit. D-S P is the power of the signal transmitted by the D2D communication user. B-N The power of adding the first artificial noise to the base station transmitter, P D-NBy adding power to the second artificial noise at the D2D communication transmitter, the first precoding vector and the second precoding vector satisfy the following relationship: The first artificial noise and the second artificial noise satisfy the following relationship: The random noise received by cellular communication users and the random noise received by eavesdropping users are additive white Gaussian noise (AWGN), which follows a Gaussian distribution n~CN(0,σ). 2 The random noise received by D2D communication users is a Gaussian white noise vector, with each vector element independently distributed.

[0048] According to Shannon's theory, the first channel capacity of a legitimate communication link between a base station and a cellular user, i.e., the first maximum information transmission rate, is:

[0049]

[0050] Among them, R U For the first channel capacity, σ U n is the first complex Gaussian random variable U The variance.

[0051] The second channel capacity of the legitimate communication link between D2D communication users, i.e., the second maximum information transmission rate, is:

[0052]

[0053] Among them, R D For the second channel capacity, σ D n is the second complex Gaussian random variable D The variance.

[0054] The third channel capacity of the eavesdropping link, i.e., the third maximum information transmission rate, is:

[0055]

[0056] Among them, R E For the third channel capacity, σ E n is a third complex Gaussian random variable E The variance.

[0057] The difference between the mutual information of the main channel and the mutual information of the eavesdropping channel is the constant-preservation capacity, i.e.:

[0058] C s =max{l(X;Y)-(X;Z)}=max{R X→Y -R X→Z},

[0059] Among them, C s This refers to the communication security capacity for heterogeneous network communication. The above expression can be rewritten as:

[0060]

[0061] Among them, SINR C SINR is the signal-to-noise ratio of a cellular communication channel. D SINR is the signal-to-interference-to-noise ratio for a D2D communication channel. E This represents the signal-to-interference-to-noise ratio of the eavesdropping channel.

[0062]

[0063]

[0064]

[0065] Here, the total power of a system is considered to be the sum of the base station signal transmission power and the D2D communication transmitter signal transmission power. With the total power fixed, it should be fully utilized to maximize the system's security capacity. The total power of the system is P. total =P B +P D The total power of the base station is P. B =P B-S +P B-N The total power of the D2D communication transmitter is P. D =P D-S +P D-N To fully utilize total power resources, this embodiment of the invention rationally allocates the total power between the base station and the D2D communication transmitter, introducing a power allocation coefficient α. By continuously adjusting the parameters, the communication security capacity of heterogeneous network communication is maximized. The specific expression is as follows:

[0066]

[0067] C S This refers to the security capacity for heterogeneous network communication.

[0068] Based on the specific expression above, since E(|u| 2 ) = P B-S E(|w| 2 ) = P D-S The capacity of the aforementioned communication channel is rewritten as follows:

[0069]

[0070]

[0071]

[0072] To maximize the system's communication security capacity, the desired capacity of the first channel is R. U Second channel capacity R D As large as possible, third channel capacity R E If we minimize it as much as possible, the resulting mathematical model is:

[0073]

[0074]

[0075]

[0076] Since the mathematical model is a dual-objective function, to facilitate calculation, one of the objective functions is transformed into a constraint condition. In this embodiment, the expression for obtaining the minimum value is converted into a constraint condition, resulting in a nonlinear model with multiple constraints. The specific expression is as follows:

[0077]

[0078]

[0079] Based on the above description of heterogeneous network communication, the power allocation method for heterogeneous network communication in the embodiments of this application will be described in detail below.

[0080] This application provides an application scenario for a power allocation method in heterogeneous network communication. This application scenario includes the terminal devices provided in the embodiments. The terminal devices include, but are not limited to, smartphones and computer devices, wherein the computer device can be at least one of desktop computers, portable computers, laptop computers, mainframe computers, tablet computers, etc. Users operate the terminal devices to obtain the allocation coefficients for D2D communication power and cellular communication power in heterogeneous network communication. For details, please refer to the embodiments of the power allocation method for heterogeneous network communication.

[0081] Based on this, embodiments of the present invention provide a power allocation method for heterogeneous network communication. The method is illustrated using a terminal device as an example, in conjunction with the appendix. Figure 2 A schematic diagram of a power allocation method for heterogeneous network communication is shown.

[0082] Step S101: Obtain the channel fading index among the base station, the eavesdropping user, the D2D communication user, and the cellular communication user, the total system power of the heterogeneous network, and the first error factor.

[0083] Specifically, in this embodiment, the heterogeneous network has N antennas at the base station and M antennas at the D2D user, where N>M. Cellular communication users and eavesdropping users each have a single antenna. Therefore, the channel fading index in the heterogeneous network can be expressed as: hSU h SE ∈C 1+M H SD ∈C M+M H BD ∈C M+N h BU h BE ∈C 1+N Furthermore, the channel fading coefficient consists of Rayleigh fading and standard path fading. Wherein, the aforementioned h... SU h is the channel fading index between D2D communication users and cellular communication users. SE H represents the channel fading coefficient between the D2D communication user and the eavesdropping user. sD H represents the channel fading coefficient between D2D communication users. BD h is the channel fading coefficient between the base station and the D2D user. BU h represents the channel fading coefficient between the base station and cellular communication users. BE This represents the channel fading coefficient between the base station and the eavesdropper.

[0084] Step S102: Input the channel fading index, the total system power, and the first error factor into the power allocation model to obtain the power allocation coefficients.

[0085] Step S103: Allocate the D2D communication power and cellular communication power of the heterogeneous network according to the power allocation coefficient.

[0086] Among them, combined with the appendix Figure 3 The pseudocode diagram illustrates that step S102 above, which inputs the channel fading index, total system power, and first error factor into the power allocation model to obtain the power allocation coefficients, specifically includes the following steps:

[0087] Step S11: Obtain the initial value of the power allocation coefficient.

[0088] Step S12: Input the channel fading index and the initial value of the power allocation system into the hybrid penalty function model to obtain the signal precoding parameters for D2D communication and cellular communication.

[0089] Step S13: Input the signal precoding parameters and the total system power into the power allocation model to obtain the locally optimal power allocation coefficients.

[0090] The specific expression of the power allocation model is as follows:

[0091]

[0092]

[0093] Among them, C sFor the security capacity of heterogeneous network communication, α ’ Let α be the local optimal power allocation coefficient, and P be the initial value of the power allocation coefficient. B P is the transmission power of a cellular communication base station. D P represents the transmit power of the D2D communication transmitter. total This represents the total power of the system.

[0094] Step S14: If the difference between the locally optimal power allocation coefficient and the initial value of the power allocation coefficient is not less than the first error factor, i.e., |α ′ -α|≥μ, increase the initial value of the power allocation coefficient, and repeat steps S12 and S13 until the difference between the locally optimal power allocation coefficient and the initial value of the power allocation coefficient is less than the first error factor, i.e., |α|≥μ. ′ -α|<μ.

[0095] The specific expression for increasing the initial value of the power allocation coefficient is as follows:

[0096] α = α + Δα,

[0097] Where α is the initial value of the power allocation coefficient, and Δα is the preset floating value.

[0098] Step S15: Initial value of output power distribution coefficient.

[0099] Furthermore, in conjunction with the appendix Figure 4 The pseudocode diagram shown above illustrates that step S12 inputs the channel fading index and the initial value of the power allocation system into the hybrid penalty function model to obtain the signal precoding parameters for D2D communication and cellular communication, specifically:

[0100] Step S21: Obtain the initialized signal precoding parameters, the initialized penalty factor, and the preset second error factor.

[0101] Step S22: Input the initialized signal precoding parameters, penalty factor, channel fading index and power allocation system initial values ​​into the hybrid penalty function model, and calculate the local optimal solution of the unconstrained problem in the hybrid penalty function model.

[0102] The specific expression for the unconstrained problem in the hybrid penalty function model is as follows:

[0103]

[0104] f(ξ)=-(||h BU ξ1|| 2 +||H SD ξ2|| 2 ),

[0105]

[0106] Wherein, minP(ξ,r) k (r) represents an unconstrained problem in a mixed penalty function model. k The penalty factor is initialized. The model is a hybrid penalty function model, where ξ is the signal precoding parameter and h is the signal precoding parameter. BU Let ξ1 be the first channel fading coefficient between the base station and the cellular communication user, and H be the first signal precoding parameter. SD Let ξ1 be the second channel fading coefficient between D2D communication users, and ξ2 be the second signal precoding parameter, where p1 = ξ1 = ξ(1:N), p2 = ξ2 = ξ(N+1:N+M), and the feasible region is D = {ξ∈R}. n |c(ξ)≥0;ceq i (ξ)=0,i=1,2}, c(ξ)=-(||h SU ξ2|| 2 +||H BD ξ1|| 2 ),

[0107] Given an initial value for a solution, if the analysis finds that the solution lies within the feasible region ξ but not on its boundary, then the inequality c(ξ) ≥ 0 follows lnc(ξ), and ceq i If (ξ) = 0, then the penalty function is set to be a finite positive number, and r k The value is very small, so the entire expression does not penalize the augmented objective function much; when ξ is very close to its boundary in the feasible region, lnc(ξ) approaches negative infinity, and analysis shows that the penalty function under this condition is... This means a very heavy penalty is imposed; when outside the feasible domain, the following is set: The corresponding penalties are also severe. Therefore, it forces the solution to be within the feasible region, while minimizing P(ξ,r). k This is equivalent to minf(ξ). Let the penalty factor r be... k There is a series of sequence values ​​{r k},r k →0 + .

[0108] Step S23: If the product of the hybrid penalty function model obtained from the local optimal solution and the initialized penalty factor is not less than the second error factor, i.e. Reduce the penalty factor and repeat step S22 until the product of the hybrid penalty function model obtained from the local optimum and the initialized penalty factor is less than the second error factor, i.e.

[0109] The specific expression for the penalty factor in the shrinking initialization is as follows:

[0110] r k+1 =cr k ,

[0111] k = k + 1,

[0112] Where r k+1 r is the reduced penalty factor. k The penalty factor before shrinkage is denoted as c, which is the preset shrinkage coefficient, where 0 < c < 1, and k takes the value of 1.

[0113] Step S24: Obtain the signal precoding parameters for D2D communication and cellular communication based on the local optimal solution.

[0114] It should be understood that, although attached Figure 1 The steps in the flowchart are shown sequentially according to the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order requirement for the execution of these steps, and they can be executed in other orders. Furthermore, [the following is a list of steps]. Figure 1 At least some of the steps in the process may include multiple sub-steps or sub-stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.

[0115] The above-described embodiments of the present invention provide a detailed description of a power allocation method for heterogeneous network communication. Since this method can be implemented using various types of devices, the present invention also discloses a power allocation device for heterogeneous network communication corresponding to the above method. Figure 4 The following are specific embodiments for detailed explanation.

[0116] The parameter acquisition module 501 is used to acquire the channel fading index between the base station, the eavesdropping user, the D2D communication user and the cellular communication user, the total system power of the heterogeneous network, and the first error factor.

[0117] The power allocation coefficient calculation module 502 is used to input the channel fading index, the total system power, and the first error factor into the power allocation model to obtain the power allocation coefficient.

[0118] The power allocation module 503 is used to allocate the D2D communication power and cellular communication power of the heterogeneous network according to the power allocation coefficient.

[0119] For all power allocation methods and devices related to heterogeneous network communication, please refer to the limitations of the methods described above, which will not be repeated here. Each module in the above device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independent of the terminal device's processor, or stored in software in the terminal device's memory, so that the processor can call and execute the corresponding operations of each module.

[0120] In one embodiment, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the power allocation method for heterogeneous network communication described above.

[0121] The computer-readable storage medium may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), hard disk, or ROM. Optionally, the computer-readable storage medium includes non-transitory computer-readable storage medium. The computer-readable storage medium has storage space for program code that performs any of the method steps described above. This program code can be read from or written to one or more computer program products, and the program code may be compressed in an appropriate form.

[0122] In one embodiment, the present invention provides a computer device including a memory and a processor, the memory storing a computer program, and the processor executing the computer program performing the above-described power allocation method for heterogeneous network communication.

[0123] The computer device includes a memory, a processor, and one or more computer programs, wherein the one or more computer programs may be stored in the memory and configured to be executed by one or more processors, and the one or more application programs are configured to perform the power allocation method for heterogeneous network communication described above.

[0124] A processor may include one or more processing cores. The processor connects to various parts of the computer device using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory, and by calling data stored in memory. Optionally, the processor may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also be implemented separately as a communication chip, without being integrated into the processor.

[0125] The memory may include random access memory (RAM) or read-only memory (ROM). The memory can be used to store instructions, programs, code, code sets, or instruction sets. The memory may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described above. The data storage area may also store data created by the terminal device during use.

[0126] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A power allocation method for heterogeneous network communication, characterized in that, The heterogeneous network includes base stations, eavesdropping users, D2D communication users, and cellular communication users, and the power allocation method includes: Obtain the channel fading index among base stations, eavesdropping users, D2D communication users, and cellular communication users; the total system power of the heterogeneous network; and the first error factor. The channel fading index, the total system power, and the first error factor are input into the power allocation model to obtain the power allocation coefficients. The power allocation coefficient is used to allocate the D2D communication power and cellular communication power of the heterogeneous network. The process of inputting the channel fading index, the total system power, and the first error factor into the power allocation model to obtain the power allocation coefficients is as follows: Step S11: Obtain the initial value of the power allocation coefficient; Step S12: Input the initial values ​​of the channel fading index and power allocation coefficient into the hybrid penalty function model to obtain the signal precoding parameters for D2D communication and cellular communication; Step S13: Input the signal precoding parameters and the total system power into the power allocation model to obtain the locally optimal power allocation coefficients; Step S14: If the difference between the locally optimal power allocation coefficient and the initial value of the power allocation coefficient is not less than the first error factor, increase the initial value of the power allocation coefficient, and repeat steps S12 and S13 until the difference between the locally optimal power allocation coefficient and the initial value of the power allocation coefficient is less than the first error factor. Step S15: Initial value of output power distribution coefficient.

2. The power allocation method for heterogeneous network communication as described in claim 1, characterized in that, The initial values ​​of the channel fading index and power allocation coefficient are input into the hybrid penalty function model to obtain the signal precoding parameters for D2D communication and cellular communication, specifically: Step S21: Obtain the initialized signal precoding parameters, the initialized penalty factor, and the preset second error factor; Step S22: Input the initialized signal precoding parameters, penalty factor, channel fading index and initial value of power allocation coefficient into the hybrid penalty function model, and calculate the local optimal solution of the unconstrained problem in the hybrid penalty function model; Step S23: If the product of the hybrid penalty function model obtained from the local optimal solution and the initialized penalty factor is not less than the second error factor, reduce the penalty factor and repeat step S22 until the product of the hybrid penalty function model obtained from the local optimal solution and the initialized penalty factor is less than the second error factor. Step S24: Obtain the signal precoding parameters for D2D communication and cellular communication based on the local optimal solution.

3. The power allocation method for heterogeneous network communication as described in claim 2, characterized in that, The specific expression for the unconstrained problem in the hybrid penalty function model is as follows: , , in, This is an unconstrained problem in a mixed penalty function model. The penalty factor is initialized. It is a mixed penalty function model. For signal precoding parameters, The first channel fading coefficient between the base station and the cellular communication user. These are the precoding parameters for the first signal. This represents the second channel fading coefficient between D2D communication users.

4. The power allocation method for heterogeneous network communication as described in claim 2, characterized in that, The specific expression for the penalty factor in the shrinking initialization is: , , in The reduced penalty factor, The penalty factor before shrinkage, The preset reduction factor, , The value is 1.

5. The power allocation method for heterogeneous network communication as described in claim 1, characterized in that, The specific expression for the power allocation model is: , , in, For the security capacity of heterogeneous network communication, For the locally optimal power allocation coefficient, The initial value of the power allocation factor. The transmission power of cellular communication base stations, For D2D communication, the transmitting power of the transmitting end. This represents the total power of the system.

6. The power allocation method for heterogeneous network communication as described in claim 1, characterized in that, The specific expression for increasing the initial value of the power allocation coefficient is as follows: , in, The initial value of the power allocation factor. This is a preset floating value.

7. A power distribution device for heterogeneous network communication, characterized in that, The heterogeneous network includes base stations, eavesdropping users, D2D communication users, and cellular communication users, and the power distribution device includes: The parameter acquisition module is used to acquire the channel fading index between the base station, the eavesdropping user, the D2D communication user and the cellular communication user, the total system power of the heterogeneous network, and the first error factor. The power allocation coefficient calculation module is used to input the channel fading index, the total system power, and the first error factor into the power allocation model to obtain the power allocation coefficient. A power allocation module is used to allocate D2D communication power and cellular communication power in heterogeneous networks according to the power allocation coefficient. The process of inputting the channel fading index, the total system power, and the first error factor into the power allocation model to obtain the power allocation coefficients is as follows: Step S11: Obtain the initial value of the power allocation coefficient; Step S12: Input the initial values ​​of the channel fading index and power allocation coefficient into the hybrid penalty function model to obtain the signal precoding parameters for D2D communication and cellular communication; Step S13: Input the signal precoding parameters and the total system power into the power allocation model to obtain the locally optimal power allocation coefficients; Step S14: If the difference between the locally optimal power allocation coefficient and the initial value of the power allocation coefficient is not less than the first error factor, increase the initial value of the power allocation coefficient, and repeat steps S12 and S13 until the difference between the locally optimal power allocation coefficient and the initial value of the power allocation coefficient is less than the first error factor. Step S15: Initial value of output power distribution coefficient.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the power allocation method for heterogeneous network communication according to any one of claims 1-6.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it performs any one of the power allocation methods for heterogeneous network communication according to claims 1-6.

Citation Information

Patent Citations

  • Safe resource distribution and power control method about communication among equipment

    CN104994507A

  • Green secure communication method for multi-user interference alignment network

    CN108429708A