A power distribution method, device, electronic equipment and storage medium
By detecting the channel busy and idle status of authorized users and combining with changes in frequency band usage, the access allocation power of unlicensed users is calculated, which solves the problem of interference to authorized users when unlicensed users use licensed frequency bands, and realizes full utilization of spectrum resources.
Patent Information
- Application Number
- CN202210481332.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-05
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-05-05
AI Technical Summary
When the existing technology allocates power in the licensed frequency band to unlicensed users, it is easy to interfere with the authorized users, resulting in the inability to fully utilize the spectrum resources in the wireless network.
By determining the channel busy and idle status of the authorized user in the first time frame, and combining the condition that the authorized user changes at most once between using and not using the authorized frequency band in two adjacent time frames, calculate the channel busy status of the unauthorized user in the second time frame. Allocate power to access within the network to avoid interfering with the frequency band usage of authorized users.
It effectively avoids interference to authorized users, makes full use of frequency band resources in the wireless network, and improves frequency band utilization and system data capacity.
Smart Images

Figure CN114760702B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a power distribution method, device, electronic device and storage medium. Background Art
[0002] As a hot topic in the research and development of the new generation of networks, deterministic networks are an important driving force for the development of various industries. Deterministic network technology requires the network to provide reliable data transmission services, which places high demands on the network's transmission bandwidth.
[0003] With the rapid development of wireless networks in recent years, the utilization rate of wireless networks has increased significantly. Most of these wireless network technologies use unlicensed frequency bands. Since most frequency band resources have been allocated to authorized users, it has become more difficult to find idle frequency bands for deploying new applications. At the same time, there are still some situations where some authorized frequency band resources are not fully utilized. Therefore, allowing unlicensed users to use the authorized frequency band at a certain power without affecting the normal use of the authorized frequency band by authorized users can improve the frequency band utilization and system data capacity in the wireless network.
[0004] The current method for determining the power for unauthorized users using the authorized frequency band only allocates high and low powers to unauthorized users based on whether the authorized users occupy the authorized frequency band. This method cannot specifically perceive the actual status of whether the authorized users are using the authorized frequency band, which can easily cause interference to the authorized users and prevent the spectrum resources in the wireless network from being fully utilized. Summary of the invention
[0005] The present application provides a power allocation method, device, electronic device and storage medium, which can solve the current problem that when allocating power for using authorized frequency bands to unauthorized users, authorized users are easily interfered with and spectrum resources in wireless networks cannot be fully utilized.
[0006] In a first aspect, the present application provides a power allocation method, the method comprising: determining the busy / idle state of a channel of a first user in a first time frame; wherein the first user is a user authorized to use an authorized frequency band, and the busy / idle state of the channel of the first user in the first time frame is used to characterize the use status of the authorized frequency band by the first user. According to the busy / idle state of the channel of the first user in the first time frame, determining the access allocation power of a second user in a second time frame; wherein the second user is a user not authorized to use the authorized frequency band, and the end time of the first time frame is the start time of the second time frame.
[0007] Based on the above technical solution, the present application determines the access allocation power of the unauthorized user in the second time frame by determining the busy and idle state of the channel of the authorized user in the first time frame, and combining the preset condition that the authorized user changes between using the authorized frequency band and not using the authorized frequency band at most once in two adjacent time frames. Therefore, the embodiment of the present application detects the change of the state of the authorized user using the authorized frequency band, and calculates the transmission power allocated to the unauthorized user, thereby avoiding interference with the normal use of the authorized frequency band by the authorized user and making full use of the frequency band resources.
[0008] In a possible implementation, the channel busy / idle status of the first user in the first time frame includes a first state, a second state, a third state and a fourth state; the first state is that the first user does not use the authorized band in the first time frame, the second state is that the first user changes from using the authorized band to not using the authorized band in the first time frame, the third state is that the first user continues to use the authorized band in the first time frame, and the fourth state is that the first user changes from not using the authorized band to using the authorized band in the first time frame.
[0009] In a possible implementation, the access allocation power of the second user in the second time frame includes a first power, a second power and a third power; according to the busy or idle state of the channel of the first user in the first time frame, the access allocation power of the second user in the second time frame is determined, specifically including: if the busy or idle state of the channel of the first user is the first state, then the access allocation power of the second user in the second time frame is determined to be the second power; if the busy or idle state of the channel of the first user is the second state, then the access allocation power of the second user in the second time frame is determined to be the first power; if the busy or idle state of the channel of the first user is the third state, then the access allocation power of the second user in the second time frame is determined to be the second power; if the busy or idle state of the channel of the first user is the fourth state, then the access allocation power of the second user in the second time frame is determined to be the third power.
[0010] In a possible implementation, the method further includes: determining the maximum achievable transmission rate of the second user based on the busy / idle status of the channel of the first user in the first time frame; determining the average effective capacity of the authorized frequency band based on the maximum achievable transmission rate of the second user; and determining the first power, the second power and the third power based on the average effective capacity of the authorized frequency band.
[0011] In a second aspect, the present application provides a power allocation device, which includes: a processing unit; a processing unit, used to determine the busy or idle state of a channel of a first user in a first time frame; wherein the first user is a user authorized to use an authorized frequency band, and the busy or idle state of the channel of the first user in the first time frame is used to characterize the usage status of the authorized frequency band by the first user; the processing unit is also used to determine the access allocation power of the second user in a second time frame based on the busy or idle state of the channel of the first user in the first time frame; wherein the second user is a user not authorized to use the authorized frequency band, and the end time of the first time frame is the start time of the second time frame.
[0012] In a possible implementation, the channel busy and idle states of the first user in the first time frame include a first state, a second state, a third state and a fourth state; the first state is that the first user does not use the authorized band in the first time frame, the second state is that the first user changes from using the authorized band to not using the authorized band in the first time frame, the third state is that the first user continues to use the authorized band in the first time frame, and the fourth state is that the first user changes from not using the authorized band to using the authorized band in the first time frame.
[0013] In a possible implementation, the processing unit is further configured to determine that the access allocation power of the second user in the second time frame is a second power when the busy / idle state of the channel of the first user is a first state;
[0014] The processing unit is further configured to determine that the access allocation power of the second user in the second time frame is the first power when the busy / idle state of the channel of the first user is the second state;
[0015] The processing unit is further configured to determine that the access allocation power of the second user in the second time frame is the second power when the busy / idle state of the channel of the first user is the third state;
[0016] The processing unit is further configured to determine that the access allocation power of the second user in the second time frame is a third power when the busy / idle state of the channel of the first user is a fourth state.
[0017] In one possible implementation, the processing unit is further used to determine the maximum achievable transmission rate of the second user based on the busy or idle state of the channel of the first user in the first time frame; the processing unit is further used to determine the average effective capacity of the authorized frequency band based on the maximum achievable transmission rate of the second user; the processing unit is further used to determine the first power, the second power and the third power based on the average effective capacity of the authorized frequency band.
[0018] In addition, the technical effects of the power distribution device described in the second aspect can refer to the technical effects of the power distribution method described in the first aspect above, and will not be repeated here.
[0019] In a third aspect, the present application provides a computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions, which, when executed by an electronic device of the present application, enable the electronic device to perform a power allocation method as described in the first aspect and any possible implementation of the first aspect.
[0020] In a fourth aspect, the present application provides an electronic device, comprising: a processor and a memory; wherein the memory is used to store one or more programs, and the one or more programs include computer execution instructions. When the electronic device is running, the processor executes the computer execution instructions stored in the memory to enable the electronic device to perform the power allocation method described in the first aspect and any possible implementation of the first aspect.
[0021] In a fifth aspect, the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the electronic device of the present application to perform the power allocation method as described in the first aspect and any possible implementation of the first aspect.
[0022] In a sixth aspect, the present application provides a chip system, which is applied to a power distribution device; the chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a line; the interface circuit is used to receive a signal from the memory of the power distribution device and send the signal to the processor, wherein the signal includes a computer instruction stored in the memory. When the processor executes the computer instruction, the power distribution device executes the power distribution method as described in the first aspect and any possible design thereof.
[0023] In this application, the name of the power distribution device does not limit the device or functional unit itself. In actual implementation, these devices or functional units may appear with other names. As long as the functions of each device or functional unit are similar to those of this application, they are within the scope of the claims of this application and their equivalent technologies. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A schematic diagram of an application scenario of a power allocation method provided in an embodiment of the present application;
[0025] Figure 2 A schematic diagram of a power distribution method provided in an embodiment of the present application;
[0026] Figure 3 A schematic diagram of a flow chart of another power allocation method provided in an embodiment of the present application;
[0027] Figure 4 A schematic diagram of a flow chart of another power allocation method provided in an embodiment of the present application;
[0028] Figure 5 A schematic diagram comparing simulation effects of a power allocation method provided in an embodiment of the present application;
[0029] Figure 6 A schematic diagram of the structure of a power distribution device provided in an embodiment of the present application;
[0030] Figure 7 A schematic diagram of the structure of a power distribution device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0032] In this article, the character " / " generally indicates that the objects before and after are in an "or" relationship. For example, A / B can be understood as A or B.
[0033] The terms "first" and "second" in the specification and claims of this application are used to distinguish different objects rather than to describe a specific order of objects. For example, a first edge service node and a second edge service node are used to distinguish different edge service nodes rather than to describe a characteristic order of edge service nodes.
[0034] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0035] In addition, in the embodiments of the present application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplarily" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present concepts in a specific way.
[0036] As a hot topic in the research and development of the new generation of networks, deterministic networks are an important driving force for the development of various industries. Deterministic network technology requires that the network can provide reliable data transmission services, which places high demands on the transmission bandwidth of the network. With the rapid development of wireless deterministic networks (hereinafter referred to as wireless networks) in recent years, the utilization rate of wireless networks has increased significantly, and most of these wireless network technologies use unlicensed frequency bands. Since most of the frequency band resources have been allocated to authorized users, it has become more difficult to find idle frequency bands for deploying new applications. At the same time, there are still some situations where some authorized frequency band resources are not fully utilized. Therefore, allowing unauthorized users to use the authorized frequency band at a certain power without affecting the normal use of the authorized frequency band by authorized users can improve the frequency band utilization and system data capacity in the wireless network.
[0037] The current method for determining the power for unauthorized users using the authorized frequency band only allocates high and low powers to unauthorized users based on whether the authorized users occupy the authorized frequency band. This method cannot specifically perceive the actual status of whether the authorized users are using the authorized frequency band, which can easily cause interference to the authorized users and prevent the spectrum resources in the wireless network from being fully utilized.
[0038] At present, a two-state two-power algorithm is disclosed, which specifically includes: the main user (that is, the authorized user) can use the authorized frequency band preferentially and can enter and leave the frequency band at will, while the cognitive user (that is, the unauthorized user) needs to continuously detect the status of the main user using the authorized frequency band, and immediately enter when the cognitive user detects that the authorized frequency band is idle. By using the energy detection method, it can be detected whether the current authorized frequency band is occupied by the main user signal, and the state of the main user remains unchanged within a time frame. Therefore, according to the detection results, a two-state model of the main user can be established, which satisfies the following formula 1:
[0039]
[0040] Among them, Y represents the primary user receiving signal, n represents the channel noise, s represents the transmission signal, i represents the number of a detection, I represents the total number of detections, H0 represents that the primary user is idle and not accessing the authorized frequency band, and H1 represents that the primary user is busy and is accessing the authorized frequency band.
[0041] Based on the above two-state model of the primary user, when the detection result shows that the primary user does not occupy the authorized frequency band, a higher transmission power is allocated to the cognitive user; when the detection result shows that the primary user occupies the authorized frequency band, a lower transmission power is allocated to the cognitive user.
[0042] Furthermore, the maximum achievable transmission rate of the cognitive user on the authorized frequency band is determined according to the transmission power allocated to the cognitive user. Since there are false alarms and missed detections in actual detection, the calculation of the maximum achievable transmission rate of the cognitive user on the authorized frequency band can be further divided into four types according to the different actual states of the primary user and the different detection results, satisfying the following formula 2:
[0043]
[0044] Among them, K represents the maximum achievable transmission rate of the cognitive user on the licensed band, and H represents the status of the primary user using the licensed band. It should be noted that the subscripts of K and H have two digits in total. The first digit represents the actual status of the primary user using the licensed band, and the second digit represents the status detected by the cognitive user. Specifically, 0 represents idle (that is, the primary user is using the licensed band), and 1 represents busy (that is, the primary user is not using the licensed band). g represents channel gain. Specifically, g ss represents the channel gain between the sender and the receiver of the cognitive user, g ps represents the channel gain between the primary user transmitter and the cognitive user receiver. P represents the transmit power allocated to the cognitive user. Specifically, P0 represents the high transmit power of the cognitive user mentioned above, P1 represents the low transmit power of the cognitive user mentioned above, and P u represents the transmit power of the primary user. N0 represents the channel noise.
[0045] It can be seen that according to the maximum achievable transmission power of the above-mentioned cognitive user, the average effective capacity on the authorized band satisfies the following formula 3:
[0046]
[0047] Among them, E c (θ) represents the average effective capacity, θ represents the QoS delay index, T represents the time frame length, B represents the bandwidth of the authorized band, P represents the transmission power, H0 represents that the primary user is idle and has not accessed the authorized band, H1 represents that the primary user is busy and is accessing the authorized band, I represents the detection duration, η represents the number of a detection, the subscript fa represents that a detection is failed, E represents the expectation of the algebraic expression in the brackets, τ represents the duration of a detection, the subscript de represents that a detection is successful, K represents the maximum achievable transmission rate of the cognitive user on the authorized band, the first bit represents the actual state of the primary user using the authorized band, and the second bit represents the state detected by the cognitive user. Specifically, 0 represents idle (that is, the primary user is using the authorized band), and 1 represents busy (that is, the primary user is not using the authorized band).
[0048] It is understandable that after calculating the average effective capacity on the authorized band, the transmit power allocated to cognitive users can be intuitively measured based on the capacity to measure the allocation effect. The higher the average effective capacity on the authorized band, the more accurate and effective the transmit power allocated to cognitive users; conversely, the lower the average effective capacity on the authorized band, the less accurate and effective the transmit power allocated to cognitive users.
[0049] The above is an introduction to a two-state two-power algorithm at this stage. It is not difficult to see that in the process of allocating power to cognitive users, the algorithm is based on the premise that the status of the primary user using the authorized band within a time frame remains unchanged. However, in actual application scenarios, the status of the primary user using the authorized band may change at any time, especially when the duration of a time frame is long. If the change in the status of the primary user using the authorized band is not detected, the calculated transmit power allocated to the cognitive user will cause serious interference to the primary user's use of the authorized band, and the band resources cannot be fully utilized.
[0050] In order to solve the above-mentioned problem that at the current stage, when allocating transmission power for unauthorized users to use the authorized frequency band, the authorized users are easily interfered with and the spectrum resources in the wireless network cannot be fully utilized, the present application provides a power allocation method to reasonably allocate the transmission power of the unauthorized users when the unauthorized users use the authorized frequency band, so as to fully utilize the frequency band resources.
[0051] For example, Figure 1 As shown, it is a schematic diagram of a transmission and reception model between an authorized user and an unauthorized user of a power allocation method involved in the present application.
[0052] Among them, sender 1 is the sender of the authorized user, receiver 1 is the receiver of the authorized user, sender 2 is the sender of the unauthorized user, and receiver 2 is the receiver of the unauthorized user. The channel gain between sender 1 and receiver 2 is denoted by g. ps The channel gain between the transmitter 2 and the receiver 1 is represented by g sp The channel gain between transmitter 2 and receiver 2 is represented by g ss It should be noted that in this model, the channel gain information of the channel is completely known to both the authorized user and the unauthorized user. In addition, the channel in this model is a Rayleigh channel.
[0053] It should be noted that in the power distribution method provided in the present application, the execution subject is a power distribution device. The power distribution device can be an electronic device (such as a computer terminal, a server), a processor in an electronic device, a control module for power distribution in an electronic device, or a client for power distribution in an electronic device.
[0054] The process of the power allocation method provided in this embodiment is described below.
[0055] like Figure 2 As shown, the power allocation method includes the following steps:
[0056] S201. A power allocation device determines a channel busy / idle state of a first user in a first time frame.
[0057] The first user is an authorized user authorized to use the authorized frequency band. The busy / idle state of the channel of the first user in the first time frame is used to characterize the use state of the authorized frequency band by the first user. The first time frame is any time frame within the time period when the first user is authorized to use the authorized frequency band.
[0058] Optionally, the channel busy / idle states of the first user in the first time frame may include four states, namely, a first state, a second state, a third state, and a fourth state. Specifically, the first state is that the first user does not use the licensed band in the first time frame, the second state is that the first user changes from using the licensed band to not using the licensed band in the first time frame, the third state is that the first user continues to use the licensed band in the first time frame, and the fourth state is that the first user changes from not using the licensed band to using the licensed band in the first time frame.
[0059] In a possible implementation, the power allocation device detects the channel of the first user and determines the busy / idle state of the channel of the first user according to the channel detection result. Specifically, the correspondence between the busy / idle state of the channel of the first user in the first time frame and the corresponding channel detection result satisfies the following formula 4:
[0060]
[0061] Where y(i) represents the channel detection result, J represents the number of detection samples in a time frame, i represents the number of detections, I represents the total number of detections, and u i represents the signal strength transmitted by the first user, n mean (i) represents the mean value of the channel noise during the detection process, H 00 Indicates the first state, H 10 Indicates the second state, H 11 Indicates the third state, H 01represents the fourth state, a represents the number of a detection corresponding to the first user changing from not using the authorized frequency band to using the authorized frequency band, and d represents the number of a detection corresponding to the first user changing from using the authorized frequency band to not using the authorized frequency band.
[0062] It should be noted that, in this application, unless otherwise specified, the number of detection sampling in each time frame is the same, which is J. At the same time, no special explanation will be given when the number of detection sampling J appears again below.
[0063] Optionally, the mean value of the channel noise during the detection process n mean (i) The following formula 5 is satisfied:
[0064] n mean (i) = E ω |y(i)-u(i)| Formula 5
[0065] Among them, ω represents the duration of the detection process, y(i) represents the channel detection result, and u i Indicates the signal strength transmitted by the first user.
[0066] S202: The power allocation device determines the access allocation power of the second user in the second time frame according to the busy / idle state of the channel of the first user in the first time frame.
[0067] The second user is an unauthorized user who is not authorized to use the authorized frequency band. The first time frame and the second time frame are adjacent time frames. Specifically, the end time of the first time frame is the start time of the second time frame.
[0068] Optionally, the access allocation power of the second user in the second time frame includes the first power P H , the second power P M and the third power P L The three powers correspond to the busy and idle states of the first user's channel, including the first state, the second state, the third state and the fourth state. H >P M >P L .
[0069] In a possible implementation, this embodiment sets the first user to change between using the authorized frequency band and not using the authorized frequency band at most once in two adjacent time frames. Thus, in the four states corresponding to the first user, the second user uses the first power P according to the spectrum sharing mode. H , the second power P M and the third power P L The three power levels are connected to the target spectrum, and the specific correspondence is as follows:
[0070] (1) The busy / idle state of the first user's channel is the first state. Since the first user does not use the authorized frequency band in the first time frame and may or may not use the authorized frequency band in the second time frame, the second user uses the second power P M Access to licensed frequency bands.
[0071] (2) The channel busy / idle state of the first user is the second state. Since the first user changes from using the authorized frequency band to not using the authorized frequency band at the dth detection time in the first time frame, and since the first user changes between using the authorized frequency band and not using the authorized frequency band at most once in two adjacent time frames, the first user remains not using the authorized frequency band in the second time frame, and the second user adopts the first power P H Access to licensed frequency bands.
[0072] (3) The busy / idle state of the first user is the third state. Since the first user has been using the licensed frequency band in the first time frame and the first user may change to not using the licensed frequency band in the second time frame, the second user uses the second power P M Access to licensed frequency bands.
[0073] (4) The busy / idle state of the first user is the fourth state. Since the first user changes from not using the authorized frequency band to using the authorized frequency band at the ath detection time in the first time frame, and since the first user changes between using the authorized frequency band and not using the authorized frequency band at most once in two adjacent time frames, the first user keeps using the authorized frequency band in the second time frame, and the second user adopts the third power P L Access to licensed frequency bands.
[0074] It should be noted that the specific first power P H , the second power P M and the third power P L The calculation method of the three powers is shown in S301-S303 below.
[0075] It should be understood that the method in which the second user accesses the target spectrum with a certain power according to the spectrum sharing mode is a prior art and will not be described in detail in this application.
[0076] Based on the above technical solution, in the embodiment of the present application, by determining the busy and idle states of the four channels of the authorized user in the first time frame, and combining the preset condition that the authorized user changes between using the authorized frequency band and not using the authorized frequency band at most once in two adjacent time frames, it is determined which of the first power, the second power and the third power the access allocation power of the unauthorized user in the second time frame is. Therefore, the embodiment of the present application detects the change of the state of the authorized user using the authorized frequency band, and calculates the transmission power allocated to the unauthorized user, thereby avoiding interference with the normal use of the authorized frequency band by the authorized user and making full use of the frequency band resources.
[0077] For example, Figure 3 As shown, in the power allocation method provided in the present application, the first power P in S202 H , the second power P M and the third power P L The specific derivation process includes the following S301-S303:
[0078] S301. A power allocation device determines a maximum achievable transmission rate of a second user according to a busy or idle state of a channel of a first user in a first time frame.
[0079] It should be noted that, since the busy and idle states of the channel of the first user in the first time frame can be divided into four types, the maximum achievable transmission rate of the corresponding second user is also divided into multiple cases. Therefore, the formula satisfied by the maximum achievable transmission rate of the second user is introduced below according to different cases:
[0080] Case 1: The channel busy / idle state of the first user is the first state, that is, the first user does not use the licensed band in the first time frame, and the first user still does not use the licensed band in the second time frame. At this time, the maximum achievable transmission rate of the second user satisfies the following formula 6:
[0081]
[0082] in, represents the maximum achievable transmission rate of the second user in the case of ss represents the channel gain between the second user's transmitting and receiving ends, P M indicates that the access allocation power of the second user in the second time frame is the second power, n mean (i) represents the mean value of the channel noise during the detection process. The mean value of the channel noise during the detection process is n mean The specific calculation process of (i) has been described in S201 above and will not be repeated here. mean (i) No special instructions are given.
[0083] Case 2: The channel busy / idle state of the first user is the first state, that is, the first user does not use the licensed band in the first time frame, but the first user changes from not using the licensed band to using the licensed band in the second time frame. At this time, the maximum achievable transmission rate of the second user satisfies the following formula 7:
[0084]
[0085] in, represents the maximum achievable transmission rate of the second user in case 2, a represents the number of a detection corresponding to the first user changing from not using the authorized frequency band to using the authorized frequency band, and g ss represents the channel gain between the second user's transmitting and receiving ends, P M indicates that the access allocation power of the second user in the second time frame is the second power, n mean (i) represents the mean value of the channel noise during the detection process, J represents the number of detection sampling times in a time frame, and P u Indicates the transmit power of the first user.
[0086] Case 3: The busy / idle state of the first user's channel is the second state, that is, the first user changes from using the authorized band to not using the authorized band at the dth detection time in the first time frame. Since the first user changes between using the authorized band and not using the authorized band at most once in two adjacent time frames, the first user remains not using the authorized band in the second time frame. In addition, if no false alarm occurs during the detection process in the second time frame, the maximum achievable transmission rate of the second user at this time satisfies the following formula 8:
[0087]
[0088] in, represents the maximum achievable transmission rate of the second user in case three, g ss represents the channel gain between the second user's transmitting and receiving ends, P H Indicates that the access allocation power of the second user in the second time frame is the first power, n mean (i) represents the mean value of the channel noise during the detection process.
[0089] Case 4: The busy / idle state of the first user's channel is the second state, that is, the first user changes from using the authorized band to not using the authorized band at the dth detection time in the first time frame. Since the first user changes between using the authorized band and not using the authorized band at most once in two adjacent time frames, the first user remains not using the authorized band in the second time frame. In addition, if a false alarm occurs during the detection process in the second time frame, the maximum achievable transmission rate of the second user at this time satisfies the following formula 9:
[0090]
[0091] in, represents the maximum achievable transmission rate of the second user in case 4, g ss represents the channel gain between the second user's transmitting and receiving ends, P M indicates that the access allocation power of the second user in the second time frame is the second power, n mean (i) represents the mean value of the channel noise during the detection process.
[0092] Case 5: The channel busy / idle state of the first user is the third state, that is, the first user has been using the licensed band in the first time frame, and the first user continues to use the licensed band in the second time frame. At this time, the maximum achievable transmission rate of the second user satisfies the following formula 10:
[0093]
[0094] in, represents the maximum achievable transmission rate of the second user in case 5, g ss represents the channel gain between the second user's transmitting and receiving ends, P M indicates that the access allocation power of the second user in the second time frame is the second power, n mean (i) represents the mean value of the channel noise during the detection process, g ps represents the channel gain between the first user transmitting end and the second user receiving end, P u Indicates the transmit power of the first user.
[0095] Case 6: The channel busy / idle state of the first user is the third state, that is, the first user has been using the licensed band in the first time frame, but the first user changes from using the licensed band to not using the licensed band in the second time frame. At this time, the maximum achievable transmission rate of the second user satisfies the following formula 11:
[0096]
[0097] in, represents the maximum achievable transmission rate of the second user in case 6, d represents the number of a detection corresponding to the first user changing from using the authorized frequency band to not using the authorized frequency band, and g ss represents the channel gain between the second user's transmitting and receiving ends, P M indicates that the access allocation power of the second user in the second time frame is the second power, n mean (i) represents the mean value of the channel noise during the detection process, J represents the number of detection sampling times in a time frame, and g psrepresents the channel gain between the first user transmitting end and the second user receiving end, P u Indicates the transmit power of the first user.
[0098] Case 7: The channel busy / idle state of the first user is the fourth state, that is, the first user changes from not using the authorized band to using the authorized band at the ath detection time in the first time frame, and since the first user changes between using the authorized band and not using the authorized band at most once in two adjacent time frames, the first user continues to use the authorized band in the second time frame. Furthermore, if no missed detection occurs during the detection process in the second time frame, the maximum achievable transmission rate of the second user at this time satisfies the following formula 12:
[0099]
[0100] in, represents the maximum achievable transmission rate of the second user in case 7, g ss represents the channel gain between the second user's transmitting and receiving ends, P M indicates that the access allocation power of the second user in the second time frame is the second power, n mean (i) represents the mean value of the channel noise during the detection process, g ps represents the channel gain between the first user transmitting end and the second user receiving end, P u Indicates the transmit power of the first user.
[0101] Case 8: The busy / idle state of the first user's channel is the fourth state, that is, the first user changes from not using the authorized band to using the authorized band at the ath detection time in the first time frame, and since the first user changes between using the authorized band and not using the authorized band at most once in two adjacent time frames, the first user continues to use the authorized band in the second time frame. Furthermore, if missed detection occurs during the detection process in the second time frame, the maximum achievable transmission rate of the second user at this time satisfies the following formula 13:
[0102]
[0103] in, represents the maximum achievable transmission rate of the second user in case 7, g ss represents the channel gain between the second user's transmitting and receiving ends, P L indicates that the access allocation power of the second user in the second time frame is the third power, n mean (i) represents the mean value of the channel noise during the detection process, g ps represents the channel gain between the first user transmitting end and the second user receiving end, P u Indicates the transmit power of the first user.
[0104] It should be noted that in the eight cases described above, the access allocation power of the second user in the second time frame will still be determined according to which of the four states the channel busy or idle state of the first user is. It should be understood that in the formulas involved in the eight cases described above, the access allocation power P in the second time frame is H , P M and P L It is still in the derivation process and participates in the calculation of subsequent formulas as an unknown quantity.
[0105] S302: The power allocation device determines an average effective capacity of the authorized frequency band according to the maximum achievable transmission rate of the second user.
[0106] In a possible implementation, the average effective capacity of the licensed frequency band satisfies the following formula 14:
[0107]
[0108] Among them, E c (θ) represents the average effective capacity, θ represents the QoS delay index, T s represents the sampling detection duration, T represents the time frame length, B represents the bandwidth of the authorized frequency band, represents the probability that the busy / idle state of the channel of the first user is the first state, represents the probability that the busy / idle state of the first user's channel is the second state, represents the probability that the busy / idle state of the first user's channel is the third state, represents the probability that the busy / idle state of the first user's channel is the fourth state, E represents the expectation of the algebraic expression in the brackets, and P dN represents the probability of correctly detecting the busy or idle state of the first user’s channel, P faN represents the probability of falsely detecting that the first user is using the licensed frequency band when the first user is not using the licensed frequency band, ε represents the detection threshold of the energy detection method, J represents the number of detection sampling times within a time frame, represents the maximum achievable transmission rate of the second user under the following conditions, represents the maximum achievable transmission rate of the second user in case 2, represents the maximum achievable transmission rate of the second user in case three, represents the maximum achievable transmission rate of the second user in case 4, represents the maximum achievable transmission rate of the second user in case five, represents the maximum achievable transmission rate of the second user in case 6, represents the maximum achievable transmission rate of the second user in case 7, It represents the maximum achievable transmission rate of the second user in case seven.
[0109] Optionally, in order to simplify the formula, the coefficients of each term in the polynomial on the right side of the equal sign in the above formula 14 may be extracted to obtain alternative coefficients α1, α2, α3, α4, β1, β2, β3, β4 for simplifying the formula. The specific algebraic expression represented by each coefficient is shown in the following formula 15:
[0110]
[0111] The meaning of each variable is the same as that in Formula 14 and will not be repeated here.
[0112] It should be understood that in Formula 14, the calculated average effective capacity of the authorized frequency band is the largest, and therefore the access allocation power of the second user in the second time frame derived according to Formula 14 is also the most reasonable.
[0113] S303: The power allocation device determines the access allocation power of the second user in the second time frame according to the average effective capacity of the authorized frequency band.
[0114] In a possible implementation, a constraint condition is set as shown in the following formula 16:
[0115] stE{(α2+β1+β2)P M g sp +α3P H g sp +α4P L g sp}≤Γ Formula 16 Wherein, Γ represents the maximum average interference power that the first user receiving end can bear, g sp represents the channel gain between the second user transmitting end and the first user receiving end, P M indicates that the access allocation power of the second user in the second time frame is the second power, P H indicates that the access allocation power of the second user in the second time frame is the first power, P L It indicates that the access allocation power of the second user in the second time frame is the third power. It should be noted that α2, α3, α4, β1, and β2 are replacement coefficients for simplifying the formula, and the specific calculation method is shown in the above S302.
[0116] Furthermore, the Lagrangian function formula of the average effective capacity of the authorized band is constructed to obtain the following formula 17:
[0117]
[0118] Where L represents the Lagrangian function, λ represents the Lagrangian parameter, and P Mindicates that the access allocation power of the second user in the second time frame is the second power, P H indicates that the access allocation power of the second user in the second time frame is the first power, P L indicates that the access allocation power of the second user in the second time frame is the third power, E indicates the expectation of the algebraic expression in the brackets, g sp represents the channel gain between the second user transmitting end and the first user receiving end, g ss represents the channel gain between the second user's transmitting and receiving ends, g ps represents the channel gain between the first user transmitting end and the second user receiving end, N0 represents the channel noise, θ represents the QoS delay index, a represents the number of a detection corresponding to the first user changing from not using the authorized frequency band to using the authorized frequency band, d represents the number of a detection corresponding to the first user changing from using the authorized frequency band to not using the authorized frequency band, P u It should be noted that α1, α2, α3, α4, β1, β2, β3, and β4 are replacement coefficients used to simplify the formula, and the specific calculation method is shown in S302 above.
[0119] Therefore, the formulas in S302 and S303 are simplified into three independent formulas for solving the three types of access allocation power problems, which are as follows:
[0120] (1) Problem 1: Calculate the first power P H The following formula 18 is satisfied:
[0121]
[0122] Where f1 represents the problem of calculating the first power, P H represents the first power, θ represents the QoS delay index, T s Indicates the sampling detection time, P dN represents the probability of correctly detecting the busy or idle state of the first user's channel, ε represents the detection threshold of the energy detection method, J represents the number of detection sampling times in a time frame, E represents the expectation of the algebraic expression in the brackets, and g ss represents the channel gain between the second user's transmitting and receiving ends, n mean (i) represents the mean value of the channel noise during the detection process, g ps represents the channel gain between the first user transmitting end and the second user receiving end, P u represents the transmission power of the first user, represents the probability that the busy / idle state of the first user's channel is the second state, P faN represents the probability of falsely detecting that the first user is using the licensed frequency band when the first user is not using the licensed frequency band, g sprepresents the channel gain between the second user transmitting end and the first user receiving end, represents the probability that the busy / idle state of the channel of the first user is the fourth state, and λ represents the Lagrangian parameter.
[0123] (2) Problem 2: Calculate the second power P M The following formula 19 is satisfied:
[0124]
[0125] Where f2 represents the problem of calculating the second power, P M represents the second power, θ represents the QoS delay index, T s represents the sampling detection duration, ε represents the detection threshold of the energy detection method, and J represents the number of detection samples in a time frame. represents the probability that the busy / idle state of the first user's channel is the first state, E represents the expectation of the algebraic expression in the brackets, and g ss represents the channel gain between the second user's transmitting and receiving ends, n mean (i) represents the mean value of the channel noise during the detection process, represents the probability that the busy / idle state of the channel of the first user is the fourth state, a represents the number of a detection corresponding to the first user changing from not using the authorized frequency band to using the authorized frequency band, d represents the number of a detection corresponding to the first user changing from using the authorized frequency band to not using the authorized frequency band, P u represents the transmission power of the first user, g ps represents the channel gain between the first user transmitting end and the second user receiving end, g sp represents the channel gain between the second user transmitting end and the first user receiving end, represents the probability that the busy / idle state of the first user's channel is the second state, represents the probability that the busy / idle state of the channel of the first user is the third state, and λ represents the Lagrangian parameter.
[0126] (3) Question 3: Calculate the third power P L The following formula 20 is satisfied:
[0127]
[0128] Where f3 represents the problem of calculating the third power, P L represents the third power, θ represents the QoS delay index, T s represents the sampling detection duration, ε represents the detection threshold of the energy detection method, and J represents the number of detection samples in a time frame. represents the probability that the busy / idle state of the first user's channel is the second state, represents the probability that the busy / idle state of the first user's channel is the third state, represents the probability that the busy / idle state of the first user's channel is the fourth state, E represents the expectation of the algebraic expression in the brackets, and n mean (i) represents the mean value of the channel noise during the detection process, a represents the number of a detection corresponding to the first user changing from not using the authorized frequency band to using the authorized frequency band, d represents the number of a detection corresponding to the first user changing from using the authorized frequency band to not using the authorized frequency band, P u represents the transmission power of the first user, g ss represents the channel gain between the second user's transmitting and receiving ends, g ps represents the channel gain between the first user transmitting end and the second user receiving end, g sp represents the channel gain between the second user transmitting end and the first user receiving end, and λ represents the Lagrangian parameter.
[0129] Further, according to the substitution coefficients α1, α2, α3, α4, β1, β2, β3, β obtained in S302 for simplifying the formula, the above three problems are simplified to obtain the first power P H , the second power P M and the third power P L The final expression of is shown in the following formula 21:
[0130]
[0131]
[0132] Among them, P H Represents the first power, P M Represents the second power, P L It is noted that m, Nx, A, B, C, Δ in Formula 21 are similar to α1, α2, α3, α4, β1, β2, β3, β4, and are replacement coefficients used to simplify the formula. The specific calculation formulas of m, Nx, A, B, C, Δ are shown in Formula 22 below:
[0133]
[0134] It can be understood that α1, α2, α3, α4, β1, β2, β3, and β4 are alternative coefficients used to simplify the formula. The specific calculation method is described in S302 above and will not be repeated here.
[0135] Based on the above technical solution, the embodiment of the present application divides the access allocation power of the second user in the second time frame into three types: first power, second power and third power, and temporarily represents these three powers with unknown numbers, first calculates the maximum achievable transmission rate that the second user can achieve, and then determines the average effective capacity of the authorized frequency band. After calculating the maximum average effective capacity under the preset constraints, the calculation formulas for the first power, the second power and the third power are derived accordingly, so as to allocate specific access allocation power to the second user in the second time frame.
[0136] In the power allocation method provided in the present application, the first power P in S202 H , the second power P M and the third power P L The specific derivation process is introduced.
[0137] Generally, the channel capacity of the authorized frequency band will not change in a short period of time. However, in actual scenarios, the channel capacity must be updated at any time. The channel environment, channel status and other related parameters of the corresponding channel of the authorized frequency band in the previous time frame will have an impact on the channel capacity in the current time frame, that is, the data of the authorized frequency bands at different time series are related to each other to a certain extent. Therefore, the power allocation device can smooth the average effective capacity of the determined authorized frequency band according to the first-order exponential smoothing model, so that the real-time information such as the environment and user status that may appear in the channel in the future time frame can be predicted based on the data collected in the current time frame. The specific instructions are as follows:
[0138] For example, in combination Figure 2 ,like Figure 4 As shown, in the power allocation method provided in the present application, after S202, the following S401 is also included:
[0139] S401. A power allocation device smoothes the average effective capacity of an authorized frequency band to determine an optimal effective capacity.
[0140] In one possible implementation, the optimal effective capacity satisfies the following formula 23:
[0141] E{θ t '}=αE{θ t-1}+(1-α)E{θ t-1 '}
[0142] Where t represents the number of the time frame, E{θ t '} is the optimal effective capacity of the current time frame, E{θ t-1} represents the average effective capacity of the previous time frame, E{θ t-1'} represents the best effective capacity of the previous time frame, and α represents the smoothing coefficient (the value is between 0 and 1).
[0143] For example, Figure 5 As shown, it is a schematic diagram comparing the effective capacity of the authorized frequency band obtained by simulation experiments based on the technical solution provided in the embodiment of the present application with the current solution.
[0144] like Figure 5 As shown, under the Rayleigh fading channel, it can be seen that the effective capacity of the authorized frequency band corresponding to the two schemes will decrease with the increase of the QoS delay index, but the technical solution provided in the present application can obtain a larger effective capacity, which can prove that the access allocation power allocated to the second user in the present application is more reasonable.
[0145] The embodiment of the present application can divide the power distribution device into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic, which is only a logical function division. There may be other division methods in actual implementation.
[0146] For example, Figure 6 FIG. 6 is a schematic diagram of a possible structure of a power distribution device according to an embodiment of the present application. The power distribution device 600 includes: a processing unit 601 .
[0147] The processing unit 601 is configured to determine a busy or idle state of a channel of a first user in a first time frame.
[0148] The processing unit 601 is further configured to determine the access allocation power of the second user in the second time frame according to the busy / idle state of the channel of the first user in the first time frame.
[0149] Optionally, the processing unit 601 is further configured to determine that the access allocation power of the second user in the second time frame is a second power when the busy / idle state of the channel of the first user is a first state.
[0150] Optionally, the processing unit 601 is further configured to determine that the access allocation power of the second user in the second time frame is the first power when the busy / idle state of the channel of the first user is the second state.
[0151] Optionally, the processing unit 601 is further configured to determine that the access allocation power of the second user in the second time frame is a second power when the busy / idle state of the channel of the first user is a third state.
[0152] Optionally, the processing unit 601 is further configured to determine that the access allocation power of the second user in the second time frame is a third power when the busy / idle state of the channel of the first user is a fourth state.
[0153] Optionally, the processing unit 601 is further configured to determine a maximum achievable transmission rate of the second user according to a busy or idle state of a channel of the first user in the first time frame.
[0154] Optionally, the processing unit 601 is further configured to determine an average effective capacity of the authorized frequency band according to a maximum achievable transmission rate of the second user.
[0155] Optionally, the processing unit 601 is further configured to determine the first power, the second power and the third power according to an average effective capacity of the authorized frequency band.
[0156] Optionally, the power distribution device 600 may further include a storage unit ( Figure 6 The storage unit stores a program or instruction. When the processing unit 602 executes the program or instruction, the power distribution device can execute the power distribution method described in the above method embodiment.
[0157] also, Figure 6 The technical effects of the power distribution device can refer to the technical effects of the power distribution method described in the above embodiment, which will not be repeated here.
[0158] For example, Figure 7 FIG. 2 is another possible structural diagram of the power distribution device involved in the above embodiment. Figure 7 As shown, the power distribution device 700 includes: a processor 702 .
[0159] The processor 702 is used to control and manage the actions of the power distribution device, for example, to execute the steps executed by the above-mentioned processing unit 601, and / or to execute other processes of the technical solution described in this document.
[0160] The processor 702 may be a device that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the contents of this application. The processor may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the contents disclosed in this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0161] Optionally, the power distribution device 700 may further include a communication interface 703, a memory 701 and a bus 704. The communication interface 703 is used to support the communication between the power distribution device 700 and other network entities. The memory 701 is used to store program codes and data of the power distribution device.
[0162] Among them, the memory 701 can be a memory in the power distribution device, which can include a volatile memory, such as a random access memory; the memory can also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory can also include a combination of the above types of memory.
[0163] The bus 704 may be an Extended Industry Standard Architecture (EISA) bus, etc. The bus 704 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0164] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and module described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0165] An embodiment of the present application provides a computer program product including instructions. When the computer program product is run on an electronic device of the present application, the computer is enabled to execute the power allocation method described in the above method embodiment.
[0166] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the electronic device of the present application executes each step performed by the power distribution device in the method flow shown in the above method embodiment.
[0167] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), registers, hard disks, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any other form of computer-readable storage medium in a suitable combination of the above, or numerical values in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an Application Specific Integrated Circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0168] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A power distribution method, characterized in that: The method comprises: Determine a channel busy / idle state of a first user in a first time frame; wherein the first user is a user authorized to use a licensed frequency band, and the channel busy / idle state of the first user in the first time frame is used to characterize the use status of the first user for the licensed frequency band; Determine the access allocation power of the second user in the second time frame according to the busy / idle state of the channel of the first user in the first time frame; wherein the second user is a user who is not authorized to use the licensed frequency band, and the end time of the first time frame is the start time of the second time frame; The channel busy / idle state of the first user in the first time frame includes a first state, a second state, a third state and a fourth state; the first state is that the first user does not use the authorized frequency band in the first time frame, the second state is that the first user changes from using the authorized frequency band to not using the authorized frequency band in the first time frame, the third state is that the first user continues to use the authorized frequency band in the first time frame, and the fourth state is that the first user changes from not using the authorized frequency band to using the authorized frequency band in the first time frame; The access allocation power of the second user in the second time frame includes the first power, the second power and the third power; The determining, according to the busy / idle state of the channel of the first user in the first time frame, the access allocation power of the second user in the second time frame specifically includes: If the busy / idle state of the channel of the first user is the first state, determining that the access allocation power of the second user in the second time frame is the second power; If the busy / idle state of the channel of the first user is the second state, determining that the access allocation power of the second user in the second time frame is the first power; If the channel busy / idle state of the first user is the third state, determining that the access allocation power of the second user in the second time frame is the second power; If the busy / idle state of the channel of the first user is the fourth state, determining that the access allocation power of the second user in the second time frame is the third power; Determine a maximum achievable transmission rate of the second user according to a busy or idle state of a channel of the first user in a first time frame; determining an average effective capacity of the licensed frequency band according to a maximum achievable transmission rate of the second user; The average effective capacity of the authorized frequency band satisfies the following formula: Among them, E c (θ) represents the average effective capacity, θ represents the QoS delay index, T s represents the sampling detection duration, T represents the time frame length, B represents the bandwidth of the authorized frequency band, represents the probability that the busy / idle state of the channel of the first user is the first state, represents the probability that the busy / idle state of the channel of the first user is the second state, represents the probability that the busy / idle state of the channel of the first user is the third state, represents the probability that the busy / idle state of the channel of the first user is the fourth state, E represents the expectation of the algebraic expression in the brackets, and P dN represents the probability of correctly detecting the busy or idle state of the channel of the first user, P faN represents the probability of falsely detecting that the first user is using the licensed frequency band even though the first user is not using the licensed frequency band, ε represents the detection threshold of the energy detection method, J represents the number of detection sampling times within a time frame, represents the maximum achievable transmission rate of the second user in the following situation, represents the maximum achievable transmission rate of the second user in case 2, represents the maximum achievable transmission rate of the second user in case three, represents the maximum achievable transmission rate of the second user in case 4, represents the maximum achievable transmission rate of the second user in case five, represents the maximum achievable transmission rate of the second user in case 6, represents the maximum achievable transmission rate of the second user in case seven, represents the maximum achievable transmission rate of the second user in case seven; The first situation is that the channel busy-idle state of the first user is the first state, and the first user does not use the authorized frequency band within the second time frame; the second situation is that the channel busy-idle state of the first user is the first state, and the first user changes from not using the authorized frequency band to using the authorized frequency band within the second time frame; the third situation is that the channel busy-idle state of the first user is the second state, and no false alarm occurs during the detection process within the second time frame; the fourth situation is that the channel busy-idle state of the first user is the second state, and the false alarm occurs during the detection process within the second time frame; the fifth situation is that the channel busy-idle state of the first user is the third state, and the first user continues to use the authorized frequency band within the second time frame; the sixth situation is that the channel busy-idle state of the first user is the third state, and the first user changes from using the authorized frequency band to not using the authorized frequency band within the second time frame; the seventh situation is that the channel busy-idle state of the first user is the fourth state, and no missed detection occurs during the detection process within the second time frame; determining the first power, the second power, and the third power according to an average effective capacity of the authorized frequency band; The average effective capacity of the authorized frequency band is smoothed to determine the optimal effective capacity; the optimal effective capacity satisfies the following formula: E{θ t '}=αE{θ t-1 }+(1-α)E{θ t-1 '} Where t represents the number of the time frame, E{θ t '} is the optimal effective capacity of the current time frame, E{θ t-1 } represents the average effective capacity of the previous time frame, E{θ t-1 '} represents the optimal effective capacity of the previous time frame, α represents the smoothing coefficient, and α is greater than 0 and less than 1.
2. A power distribution device, characterized in that: The power distribution device comprises: a processing unit; The processing unit is used to determine the busy / idle state of a channel of a first user in a first time frame; wherein the first user is a user authorized to use a licensed frequency band, and the busy / idle state of the channel of the first user in the first time frame is used to characterize the use status of the first user of the licensed frequency band; The processing unit is further used to determine the access allocation power of the second user in the second time frame according to the busy and idle state of the channel of the first user in the first time frame; wherein the second user is a user who is not authorized to use the licensed frequency band, and the end time of the first time frame is the start time of the second time frame; The channel busy / idle state of the first user in the first time frame includes a first state, a second state, a third state and a fourth state; the first state is that the first user does not use the authorized frequency band in the first time frame, the second state is that the first user changes from using the authorized frequency band to not using the authorized frequency band in the first time frame, the third state is that the first user continues to use the authorized frequency band in the first time frame, and the fourth state is that the first user changes from not using the authorized frequency band to using the authorized frequency band in the first time frame; The processing unit is further configured to determine that the access allocation power of the second user in the second time frame is a second power when the busy / idle state of the channel of the first user is the first state; The processing unit is further configured to determine that the access allocation power of the second user in the second time frame is the first power when the busy / idle state of the channel of the first user is the second state; The processing unit is further configured to determine that the access allocation power of the second user in the second time frame is the second power when the busy / idle state of the channel of the first user is the third state; The processing unit is further configured to determine that the access allocation power of the second user in the second time frame is a third power when the busy / idle state of the channel of the first user is the fourth state; The processing unit is further configured to determine a maximum achievable transmission rate of the second user according to a busy or idle state of a channel of the first user in a first time frame; The processing unit is further configured to determine an average effective capacity of the authorized frequency band according to a maximum achievable transmission rate of the second user; the average effective capacity of the authorized frequency band satisfies the following formula: Among them, E c (θ) represents the average effective capacity, θ represents the QoS delay index, T s represents the sampling detection duration, T represents the time frame length, B represents the bandwidth of the authorized frequency band, represents the probability that the busy / idle state of the channel of the first user is the first state, represents the probability that the busy / idle state of the channel of the first user is the second state, represents the probability that the busy / idle state of the channel of the first user is the third state, represents the probability that the busy / idle state of the channel of the first user is the fourth state, E represents the expectation of the algebraic expression in the brackets, and P dN represents the probability of correctly detecting the busy or idle state of the channel of the first user, P faN represents the probability of falsely detecting that the first user is using the licensed frequency band even though the first user is not using the licensed frequency band, ε represents the detection threshold of the energy detection method, J represents the number of detection sampling times within a time frame, represents the maximum achievable transmission rate of the second user in the following situation, represents the maximum achievable transmission rate of the second user in case 2, represents the maximum achievable transmission rate of the second user in case three, represents the maximum achievable transmission rate of the second user in case 4, represents the maximum achievable transmission rate of the second user in case five, represents the maximum achievable transmission rate of the second user in case 6, represents the maximum achievable transmission rate of the second user in case seven, represents the maximum achievable transmission rate of the second user in case seven; The first situation is that the channel busy-idle state of the first user is the first state, and the first user does not use the authorized frequency band within the second time frame; the second situation is that the channel busy-idle state of the first user is the first state, and the first user changes from not using the authorized frequency band to using the authorized frequency band within the second time frame; the third situation is that the channel busy-idle state of the first user is the second state, and no false alarm occurs during the detection process within the second time frame; the fourth situation is that the channel busy-idle state of the first user is the second state, and the false alarm occurs during the detection process within the second time frame; the fifth situation is that the channel busy-idle state of the first user is the third state, and the first user continues to use the authorized frequency band within the second time frame; the sixth situation is that the channel busy-idle state of the first user is the third state, and the first user changes from using the authorized frequency band to not using the authorized frequency band within the second time frame; the seventh situation is that the channel busy-idle state of the first user is the fourth state, and no missed detection occurs during the detection process within the second time frame; The processing unit is further used to determine the first power, the second power, and the third power according to the average effective capacity of the authorized frequency band; smooth the average effective capacity of the authorized frequency band to determine the optimal effective capacity; the optimal effective capacity satisfies the following formula: E{θ t '}=αE{θ t-1 }+(1-α)E{θ t-1 '} Where t represents the number of the time frame, E{θ t '} is the optimal effective capacity of the current time frame, E{θ t-1 } represents the average effective capacity of the previous time frame, E{θ t-1 '} represents the optimal effective capacity of the previous time frame, α represents the smoothing coefficient, and α is greater than 0 and less than 1.
3. An electronic device, characterized in that: include: A processor and a memory; wherein the memory is used to store computer-executable instructions, and when the electronic device is running, the processor executes the computer-executable instructions stored in the memory to enable the electronic device to execute the power distribution method described in claim 1.
4. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes instructions. When the instructions in the computer-readable storage medium are executed by an electronic device, the electronic device is enabled to perform the power distribution method as claimed in claim 1.
