Resource allocation method, device and equipment

By constructing a relationship diagram and using neural networks to predict traffic demand, and decomposing it into base stations, sub-bands and transmission power allocation, the problem of low efficiency of wireless network resource allocation in the existing technology is solved, and more efficient resource allocation and user demand satisfaction are achieved. .

CN118804327AActive Publication Date: 2024-10-18TSINGHUA UNIVERSITY +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310906689.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-24
Publication Date
2024-10-18
Estimated Expiration
2043-07-24

AI Technical Summary

Technical Problem

Existing wireless network resource allocation technology is difficult to effectively meet users' traffic needs, and the solutions are complex and difficult to adapt to changing environments, resulting in low resource allocation efficiency.

Method used

By obtaining the resource allocation parameter information of the terminal, constructing a relationship diagram, using technologies such as graph neural network and recurrent neural network to predict traffic demand and perform resource allocation, decompose it into base station allocation, sub-band allocation and transmit power allocation, and optimize the resource allocation strategy. .

Benefits of technology

It achieves effective allocation of resources according to traffic needs, simplifies the allocation strategy, improves the efficiency and accuracy of resource allocation, meets users' traffic needs, and reduces the difficulty of the solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118804327A_ABST
    Figure CN118804327A_ABST
Patent Text Reader

Abstract

The invention provides a resource allocation method, device and equipment, and the method comprises the steps: obtaining resource allocation parameter information corresponding to at least one terminal in a target region; according to the resource allocation parameter information, obtaining first information of a traffic demand of each terminal in at least one time period; obtaining resource allocation result information corresponding to each terminal according to the resource allocation parameter information and the first information; wherein the resource allocation parameter information comprises at least one of base station information, terminal information, sub-band information and a transmitting power upper limit value of a base station; the first information comprises the information of the traffic demand of the terminal in the current time period; the resource allocation result information comprises at least one of base station allocation information, sub-band allocation information and transmitting power allocation information. According to the scheme, the problems that a resource allocation scheme in the prior art cannot effectively meet the traffic demand and is complex are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless network technology, and in particular to a resource allocation method, device and equipment. Background Art

[0002] In recent years, users' demand for higher-speed mobile networks has continued to grow. In response to this huge traffic demand, it is particularly important to allocate existing wireless network resources more efficiently. However, in existing technologies, heuristic allocation schemes are difficult to adapt to changing environments and are often far from the optimal solution. Traditional optimization methods have to face multiple constraints such as hardware resource limitations and users' long-term traffic demand limitations, as well as scale problems caused by a large number of users. The former (i.e., multiple constraints) makes it extremely complicated to build specific optimization algorithms, and the latter (i.e., scale problems) results in huge computing resources required for solving the problem.

[0003] In addition, existing wireless network resource allocation technologies do not take into account the traffic demand constraints of users, which makes it difficult to effectively meet the traffic demands of some users.

[0004] As described above, the resource allocation scheme in the prior art has problems such as being unable to effectively meet traffic demand and being complex. Summary of the invention

[0005] The purpose of the present invention is to provide a resource allocation method, device and equipment to solve the problem that the resource allocation scheme in the prior art cannot effectively meet the flow demand and the scheme is complicated.

[0006] In order to solve the above technical problems, an embodiment of the present invention provides a resource allocation method, including:

[0007] Acquiring resource allocation parameter information corresponding to at least one terminal in a target area;

[0008] Obtaining first information on traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information;

[0009] Obtaining resource allocation result information corresponding to each of the terminals according to the resource allocation parameter information and the first information;

[0010] The resource allocation parameter information includes: base station information corresponding to the target area, terminal information corresponding to the target area, sub-band information of spectrum resources shared by base stations in the target area, and at least one of the upper limits of the transmission power of each base station;

[0011] The first information includes: information about the flow demand of the terminal in the current time period;

[0012] The resource allocation result information includes at least one of base station allocation information, sub-frequency band allocation information, and transmit power allocation information.

[0013] Optionally, obtaining first information on traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information includes:

[0014] For at least one time period before the current time period of the terminal, perform a first operation to obtain a first terminal code corresponding to each time period;

[0015] Obtaining a coding history sequence according to the first terminal coding;

[0016] Obtaining first information on the flow demand of the terminal in a current time period according to the encoding history sequence;

[0017] The first operation includes: constructing a corresponding first relationship graph according to the resource allocation parameter information corresponding to the time period; and obtaining a first terminal code corresponding to the time period according to the first relationship graph.

[0018] Optionally, constructing a corresponding first relationship graph according to the resource allocation parameter information corresponding to the time period includes:

[0019] Constructing a first relationship graph with first relevant information of the base station and second relevant information of the terminal as nodes according to the resource allocation parameter information corresponding to the time period;

[0020] The first related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station;

[0021] The second related information includes: the terminal information, the terminal information including: second information of unsatisfied traffic demand of the terminal and the number of remaining time periods after the current time period of the terminal;

[0022] In the first relationship graph, the weight between the first related information and the second related information is determined according to a signal attenuation factor between the base station and the terminal.

[0023] Optionally, obtaining first information on traffic demand of the terminal in a current time period according to the encoding history sequence includes:

[0024] According to the coding history sequence, a terminal state change trend coding is obtained;

[0025] According to the terminal state change trend code, first information on the flow demand of the terminal in the current time period is obtained.

[0026] Optionally, obtaining, according to the first relationship diagram, a first terminal code corresponding to the time period includes:

[0027] Using a graph neural network, according to the first relationship graph, obtain a first terminal code corresponding to the time period;

[0028] And / or, obtaining the terminal state change trend code according to the coding history sequence includes:

[0029] A recurrent neural network is used to obtain the terminal state change trend code according to the coding history sequence.

[0030] Optionally, obtaining first information on the flow demand of the terminal in a current time period according to the terminal state change trend encoding includes:

[0031] Using a two-layer fully connected network, encoding the terminal state change trend to obtain first probability parameter information;

[0032] Obtaining a first Gaussian probability distribution according to the first probability parameter information;

[0033] The flow demand of the terminal in the current time period is determined by sampling from the first Gaussian probability distribution, and first information on the flow demand of the terminal in the current time period is obtained.

[0034] Optionally, obtaining resource allocation result information corresponding to each of the terminals according to the resource allocation parameter information and the first information includes:

[0035] Constructing a target relationship graph according to the resource allocation parameter information and the first information;

[0036] According to the target relationship diagram, a reference code is obtained;

[0037] The resource allocation result information corresponding to the terminal is obtained according to the reference code.

[0038] Optionally, the target relationship graph includes a second relationship graph;

[0039] The step of constructing a target relationship graph according to the resource allocation parameter information and the first information includes:

[0040] Constructing, according to the resource allocation parameter information and the first information, a second relationship graph with third relevant information of the base station and fourth relevant information of the terminal as nodes;

[0041] And / or, the reference code includes: a first base station code and a second terminal code;

[0042] The step of obtaining a reference code according to the target relationship diagram includes:

[0043] Using a graph neural network, obtaining the first base station code and the second terminal code according to the second relationship graph;

[0044] And / or, obtaining resource allocation result information corresponding to the terminal according to the reference code includes:

[0045] Concatenate the first base station code and the second terminal code to obtain a first concatenated code;

[0046] Using a two-layer fully connected network, and according to the first concatenated code, obtaining a first traffic estimation value of the terminal accessing the base station;

[0047] Determine a target access base station of the terminal according to the first traffic estimation value, and obtain base station allocation information corresponding to the terminal;

[0048] The third related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station;

[0049] The fourth related information includes: the first information;

[0050] In the second relationship graph, the weight between the third related information and the fourth related information is determined according to a signal attenuation factor between the base station and the terminal.

[0051] Optionally, the target relationship graph includes a third relationship graph;

[0052] The step of constructing a target relationship graph according to the resource allocation parameter information and the first information includes:

[0053] Constructing, according to the resource allocation parameter information and the first information, a third relationship graph with fifth relevant information of the base station and sixth relevant information of the terminal as nodes;

[0054] And / or, the reference code includes: a third terminal code;

[0055] The step of obtaining a reference code according to the target relationship diagram includes:

[0056] Using a graph neural network, obtaining a first sub-code according to the second relationship graph;

[0057] Using a graph neural network, obtaining a second sub-code according to the third relationship graph;

[0058] Concatenate the first subcode and the second subcode to obtain the third terminal code;

[0059] And / or, obtaining resource allocation result information corresponding to the terminal according to the reference code includes:

[0060] Using a two-layer fully connected network, according to the third terminal code, a second flow estimation value of the terminal access sub-band is obtained;

[0061] Determine a target access sub-band of the terminal according to the second traffic estimation value, and obtain sub-band allocation information corresponding to the terminal;

[0062] The fifth related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station;

[0063] The sixth related information includes: the first information;

[0064] In the third relationship diagram, the weight between the fifth related information and the sixth related information is determined according to whether the base station and the terminal are connected.

[0065] Optionally, the target relationship graph includes a fourth relationship graph;

[0066] The step of constructing a target relationship graph according to the resource allocation parameter information and the first information includes:

[0067] Constructing, according to the resource allocation parameter information and the first information, a fourth relationship graph with seventh relevant information of the base station and eighth relevant information of the terminal as nodes;

[0068] And / or, the reference code includes: a fourth terminal code;

[0069] The step of obtaining a reference code according to the target relationship diagram includes:

[0070] Using a graph neural network, obtaining a third sub-code according to the second relationship graph;

[0071] Using a graph neural network, a fourth sub-code is obtained according to the third relationship graph;

[0072] Using a graph neural network, obtaining a fifth sub-code according to the fourth relationship graph;

[0073] concatenating the third subcode, the fourth subcode and the fifth subcode to obtain the fourth terminal code;

[0074] And / or, obtaining resource allocation result information corresponding to the terminal according to the reference code includes:

[0075] Using a two-layer fully connected network, obtaining second probability parameter information according to the fourth terminal code;

[0076] Obtaining a second Gaussian probability distribution according to the second probability parameter information;

[0077] Obtaining transmit power allocation information corresponding to the terminal according to the second Gaussian probability distribution;

[0078] The seventh related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station;

[0079] The eighth relevant information includes: the first information;

[0080] In the fourth relationship diagram, the weight between the seventh related information and the eighth related information is determined according to whether the sub-frequency band of the base station is connected to the terminal.

[0081] Optionally, obtaining, according to the second Gaussian probability distribution, transmit power allocation information corresponding to the terminal includes:

[0082] Determine, by sampling from the second Gaussian probability distribution, a power reference value corresponding to the terminal;

[0083] Obtaining a transmit power ratio corresponding to the terminal according to the power reference value;

[0084] According to the transmit power proportion and the transmit power upper limit, transmit power allocation information corresponding to the terminal is obtained.

[0085] Optionally, also include:

[0086] According to the resource allocation result information, a flow value allocated to a corresponding terminal is obtained;

[0087] According to the flow value, adjusting the relevant network for resource allocation;

[0088] The related network includes at least one of the following:

[0089] Graph neural networks;

[0090] Recurrent Neural Networks;

[0091] Two-layer fully connected network.

[0092] Optionally, adjusting the relevant network for resource allocation according to the traffic value includes:

[0093] According to the flow value, obtaining a flow loss value corresponding to the resource allocation result information;

[0094] According to the flow loss value, the relevant network of resource allocation is adjusted.

[0095] Optionally, acquiring, according to the traffic value, a traffic loss value corresponding to the resource allocation result information includes:

[0096] Using the first method, according to the flow value, obtaining the flow loss value corresponding to the resource allocation result information;

[0097] Wherein, the first method includes: converting the constrained adjustment condition into an unconstrained adjustment condition;

[0098] The constraint adjustment condition includes: achieving that the flow allocated to each terminal in the first time period is greater than the flow demand in the first time period, and maximizing the sum of the flow obtained by all the terminals in the first time period;

[0099] The unconstrained adjustment condition includes: maximizing the total flow of all the terminals in the first time period, and maximizing the weighted sum of the flow requirements of all the terminals in the first time period that are satisfied in the first time period.

[0100] Optionally, the base station information in the resource allocation parameter information corresponding to the terminal is: base station information of a first base station in the target area whose first distance to the terminal is less than a first threshold;

[0101] And / or, the terminal information in the resource allocation parameter information corresponding to the terminal is: terminal information of a second terminal in the target area whose second distance to the terminal is less than a second threshold;

[0102] And / or, the sub-frequency band information in the resource allocation parameter information corresponding to the terminal is: sub-frequency band information of the spectrum resources shared by the first base station;

[0103] And / or, the transmission power upper limit value in the resource allocation parameter information corresponding to the terminal is: the transmission power upper limit value of the first base station.

[0104] The embodiment of the present invention further provides a resource allocation device, including:

[0105] A first acquisition module, used to acquire resource allocation parameter information corresponding to at least one terminal in a target area;

[0106] A first processing module, configured to obtain first information on traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information;

[0107] A second processing module, configured to obtain resource allocation result information corresponding to each of the terminals according to the resource allocation parameter information and the first information;

[0108] The resource allocation parameter information includes: base station information corresponding to the target area, terminal information corresponding to the target area, sub-band information of spectrum resources shared by base stations in the target area, and at least one of the upper limits of the transmission power of each base station;

[0109] The first information includes: information about the flow demand of the terminal in the current time period;

[0110] The resource allocation result information includes at least one of base station allocation information, sub-frequency band allocation information, and transmit power allocation information.

[0111] Optionally, obtaining first information on traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information includes:

[0112] For at least one time period before the current time period of the terminal, perform a first operation to obtain a first terminal code corresponding to each time period;

[0113] Obtaining a coding history sequence according to the first terminal coding;

[0114] Obtaining first information on the flow demand of the terminal in a current time period according to the encoding history sequence;

[0115] The first operation includes: constructing a corresponding first relationship graph according to the resource allocation parameter information corresponding to the time period; and obtaining a first terminal code corresponding to the time period according to the first relationship graph.

[0116] Optionally, constructing a corresponding first relationship graph according to the resource allocation parameter information corresponding to the time period includes:

[0117] Constructing a first relationship graph with first relevant information of the base station and second relevant information of the terminal as nodes according to the resource allocation parameter information corresponding to the time period;

[0118] The first related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station;

[0119] The second related information includes: the terminal information, the terminal information including: second information of unsatisfied traffic demand of the terminal and the number of remaining time periods after the current time period of the terminal;

[0120] In the first relationship graph, the weight between the first related information and the second related information is determined according to a signal attenuation factor between the base station and the terminal.

[0121] Optionally, obtaining first information on traffic demand of the terminal in a current time period according to the encoding history sequence includes:

[0122] According to the coding history sequence, a terminal state change trend coding is obtained;

[0123] According to the terminal state change trend code, first information on the flow demand of the terminal in the current time period is obtained.

[0124] Optionally, obtaining, according to the first relationship diagram, a first terminal code corresponding to the time period includes:

[0125] Using a graph neural network, according to the first relationship graph, obtain a first terminal code corresponding to the time period;

[0126] And / or, obtaining the terminal state change trend code according to the coding history sequence includes:

[0127] A recurrent neural network is used to obtain the terminal state change trend code according to the coding history sequence.

[0128] Optionally, obtaining first information on the flow demand of the terminal in a current time period according to the terminal state change trend encoding includes:

[0129] Using a two-layer fully connected network, encoding the terminal state change trend to obtain first probability parameter information;

[0130] Obtaining a first Gaussian probability distribution according to the first probability parameter information;

[0131] The flow demand of the terminal in the current time period is determined by sampling from the first Gaussian probability distribution, and first information on the flow demand of the terminal in the current time period is obtained.

[0132] Optionally, obtaining resource allocation result information corresponding to each of the terminals according to the resource allocation parameter information and the first information includes:

[0133] Constructing a target relationship graph according to the resource allocation parameter information and the first information;

[0134] According to the target relationship diagram, a reference code is obtained;

[0135] The resource allocation result information corresponding to the terminal is obtained according to the reference code.

[0136] Optionally, the target relationship graph includes a second relationship graph;

[0137] The step of constructing a target relationship graph according to the resource allocation parameter information and the first information includes:

[0138] Constructing, according to the resource allocation parameter information and the first information, a second relationship graph with third relevant information of the base station and fourth relevant information of the terminal as nodes;

[0139] And / or, the reference code includes: a first base station code and a second terminal code;

[0140] The step of obtaining a reference code according to the target relationship diagram includes:

[0141] Using a graph neural network, obtaining the first base station code and the second terminal code according to the second relationship graph;

[0142] And / or, obtaining resource allocation result information corresponding to the terminal according to the reference code includes:

[0143] Concatenate the first base station code and the second terminal code to obtain a first concatenated code;

[0144] Using a two-layer fully connected network, and according to the first concatenated code, obtaining a first traffic estimation value of the terminal accessing the base station;

[0145] Determine a target access base station of the terminal according to the first traffic estimation value, and obtain base station allocation information corresponding to the terminal;

[0146] The third related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station;

[0147] The fourth related information includes: the first information;

[0148] In the second relationship graph, the weight between the third related information and the fourth related information is determined according to a signal attenuation factor between the base station and the terminal.

[0149] Optionally, the target relationship graph includes a third relationship graph;

[0150] The step of constructing a target relationship graph according to the resource allocation parameter information and the first information includes:

[0151] Constructing, according to the resource allocation parameter information and the first information, a third relationship graph with fifth relevant information of the base station and sixth relevant information of the terminal as nodes;

[0152] And / or, the reference code includes: a third terminal code;

[0153] The step of obtaining a reference code according to the target relationship diagram includes:

[0154] Using a graph neural network, obtaining a first sub-code according to the second relationship graph;

[0155] Using a graph neural network, obtaining a second sub-code according to the third relationship graph;

[0156] Concatenate the first subcode and the second subcode to obtain the third terminal code;

[0157] And / or, obtaining resource allocation result information corresponding to the terminal according to the reference code includes:

[0158] Using a two-layer fully connected network, according to the third terminal code, a second flow estimation value of the terminal access sub-band is obtained;

[0159] Determine a target access sub-band of the terminal according to the second traffic estimation value, and obtain sub-band allocation information corresponding to the terminal;

[0160] The fifth related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station;

[0161] The sixth related information includes: the first information;

[0162] In the third relationship diagram, the weight between the fifth related information and the sixth related information is determined according to whether the base station and the terminal are connected.

[0163] Optionally, the target relationship graph includes a fourth relationship graph;

[0164] The step of constructing a target relationship graph according to the resource allocation parameter information and the first information includes:

[0165] Constructing, according to the resource allocation parameter information and the first information, a fourth relationship graph with seventh relevant information of the base station and eighth relevant information of the terminal as nodes;

[0166] And / or, the reference code includes: a fourth terminal code;

[0167] The step of obtaining a reference code according to the target relationship diagram includes:

[0168] Using a graph neural network, obtaining a third sub-code according to the second relationship graph;

[0169] Using a graph neural network, a fourth sub-code is obtained according to the third relationship graph;

[0170] Using a graph neural network, obtaining a fifth sub-code according to the fourth relationship graph;

[0171] concatenating the third subcode, the fourth subcode and the fifth subcode to obtain the fourth terminal code;

[0172] And / or, obtaining resource allocation result information corresponding to the terminal according to the reference code includes:

[0173] Using a two-layer fully connected network, obtaining second probability parameter information according to the fourth terminal code;

[0174] Obtaining a second Gaussian probability distribution according to the second probability parameter information;

[0175] Obtaining transmit power allocation information corresponding to the terminal according to the second Gaussian probability distribution;

[0176] The seventh related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station;

[0177] The eighth relevant information includes: the first information;

[0178] In the fourth relationship diagram, the weight between the seventh related information and the eighth related information is determined according to whether the sub-frequency band of the base station is connected to the terminal.

[0179] Optionally, obtaining, according to the second Gaussian probability distribution, transmit power allocation information corresponding to the terminal includes:

[0180] Determine, by sampling from the second Gaussian probability distribution, a power reference value corresponding to the terminal;

[0181] Obtaining a transmit power ratio corresponding to the terminal according to the power reference value;

[0182] According to the transmit power proportion and the transmit power upper limit, transmit power allocation information corresponding to the terminal is obtained.

[0183] Optionally, also include:

[0184] A third processing module, configured to obtain a flow value allocated to a corresponding terminal according to the resource allocation result information;

[0185] A first adjustment module, configured to adjust the relevant network for resource allocation according to the traffic value;

[0186] The related network includes at least one of the following:

[0187] Graph neural networks;

[0188] Recurrent Neural Networks;

[0189] Two-layer fully connected network.

[0190] Optionally, adjusting the relevant network for resource allocation according to the traffic value includes:

[0191] According to the flow value, obtaining a flow loss value corresponding to the resource allocation result information;

[0192] According to the flow loss value, the relevant network of resource allocation is adjusted.

[0193] Optionally, acquiring, according to the traffic value, a traffic loss value corresponding to the resource allocation result information includes:

[0194] Using the first method, according to the flow value, obtaining the flow loss value corresponding to the resource allocation result information;

[0195] Wherein, the first method includes: converting the constrained adjustment condition into an unconstrained adjustment condition;

[0196] The constraint adjustment condition includes: achieving that the flow allocated to each terminal in the first time period is greater than the flow demand in the first time period, and maximizing the sum of the flow obtained by all the terminals in the first time period;

[0197] The unconstrained adjustment condition includes: maximizing the total flow of all the terminals in the first time period, and maximizing the weighted sum of the flow requirements of all the terminals in the first time period that are satisfied in the first time period.

[0198] Optionally, the base station information in the resource allocation parameter information corresponding to the terminal is: base station information of a first base station in the target area whose first distance to the terminal is less than a first threshold;

[0199] And / or, the terminal information in the resource allocation parameter information corresponding to the terminal is: terminal information of a second terminal in the target area whose second distance to the terminal is less than a second threshold;

[0200] And / or, the sub-frequency band information in the resource allocation parameter information corresponding to the terminal is: sub-frequency band information of the spectrum resources shared by the first base station;

[0201] And / or, the transmission power upper limit value in the resource allocation parameter information corresponding to the terminal is: the transmission power upper limit value of the first base station.

[0202] An embodiment of the present invention further provides a resource allocation device, comprising: a processor;

[0203] The processor is configured to obtain resource allocation parameter information corresponding to at least one terminal in a target area;

[0204] Obtaining first information on traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information;

[0205] Obtaining resource allocation result information corresponding to each of the terminals according to the resource allocation parameter information and the first information;

[0206] The resource allocation parameter information includes: base station information corresponding to the target area, terminal information corresponding to the target area, sub-band information of spectrum resources shared by base stations in the target area, and at least one of the upper limits of the transmission power of each base station;

[0207] The first information includes: information about the flow demand of the terminal in the current time period;

[0208] The resource allocation result information includes at least one of base station allocation information, sub-frequency band allocation information, and transmit power allocation information.

[0209] Optionally, obtaining first information on traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information includes:

[0210] For at least one time period before the current time period of the terminal, perform a first operation to obtain a first terminal code corresponding to each time period;

[0211] Obtaining a coding history sequence according to the first terminal coding;

[0212] Obtaining first information on the flow demand of the terminal in a current time period according to the encoding history sequence;

[0213] The first operation includes: constructing a corresponding first relationship graph according to the resource allocation parameter information corresponding to the time period; and obtaining a first terminal code corresponding to the time period according to the first relationship graph.

[0214] Optionally, constructing a corresponding first relationship graph according to the resource allocation parameter information corresponding to the time period includes:

[0215] Constructing a first relationship graph with first relevant information of the base station and second relevant information of the terminal as nodes according to the resource allocation parameter information corresponding to the time period;

[0216] The first related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station;

[0217] The second related information includes: the terminal information, the terminal information including: second information of unsatisfied traffic demand of the terminal and the number of remaining time periods after the current time period of the terminal;

[0218] In the first relationship graph, the weight between the first related information and the second related information is determined according to a signal attenuation factor between the base station and the terminal.

[0219] Optionally, obtaining first information on traffic demand of the terminal in a current time period according to the encoding history sequence includes:

[0220] According to the coding history sequence, a terminal state change trend coding is obtained;

[0221] According to the terminal state change trend code, first information on the flow demand of the terminal in the current time period is obtained.

[0222] Optionally, obtaining, according to the first relationship diagram, a first terminal code corresponding to the time period includes:

[0223] Using a graph neural network, according to the first relationship graph, obtain a first terminal code corresponding to the time period;

[0224] And / or, obtaining the terminal state change trend code according to the coding history sequence includes:

[0225] A recurrent neural network is used to obtain the terminal state change trend code according to the coding history sequence.

[0226] Optionally, obtaining first information on the flow demand of the terminal in a current time period according to the terminal state change trend encoding includes:

[0227] Using a two-layer fully connected network, encoding the terminal state change trend to obtain first probability parameter information;

[0228] Obtaining a first Gaussian probability distribution according to the first probability parameter information;

[0229] The flow demand of the terminal in the current time period is determined by sampling from the first Gaussian probability distribution, and first information on the flow demand of the terminal in the current time period is obtained.

[0230] Optionally, obtaining resource allocation result information corresponding to each of the terminals according to the resource allocation parameter information and the first information includes:

[0231] Constructing a target relationship graph according to the resource allocation parameter information and the first information;

[0232] According to the target relationship diagram, a reference code is obtained;

[0233] The resource allocation result information corresponding to the terminal is obtained according to the reference code.

[0234] Optionally, the target relationship graph includes a second relationship graph;

[0235] The step of constructing a target relationship graph according to the resource allocation parameter information and the first information includes:

[0236] Constructing, according to the resource allocation parameter information and the first information, a second relationship graph with third relevant information of the base station and fourth relevant information of the terminal as nodes;

[0237] And / or, the reference code includes: a first base station code and a second terminal code;

[0238] The step of obtaining a reference code according to the target relationship diagram includes:

[0239] Using a graph neural network, obtaining the first base station code and the second terminal code according to the second relationship graph;

[0240] And / or, obtaining resource allocation result information corresponding to the terminal according to the reference code includes:

[0241] Concatenate the first base station code and the second terminal code to obtain a first concatenated code;

[0242] Using a two-layer fully connected network, and according to the first concatenated code, obtaining a first traffic estimation value of the terminal accessing the base station;

[0243] Determine a target access base station of the terminal according to the first traffic estimation value, and obtain base station allocation information corresponding to the terminal;

[0244] The third related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station;

[0245] The fourth related information includes: the first information;

[0246] In the second relationship graph, the weight between the third related information and the fourth related information is determined according to a signal attenuation factor between the base station and the terminal.

[0247] Optionally, the target relationship graph includes a third relationship graph;

[0248] The step of constructing a target relationship graph according to the resource allocation parameter information and the first information includes:

[0249] Constructing, according to the resource allocation parameter information and the first information, a third relationship graph with fifth relevant information of the base station and sixth relevant information of the terminal as nodes;

[0250] And / or, the reference code includes: a third terminal code;

[0251] The step of obtaining a reference code according to the target relationship diagram includes:

[0252] Using a graph neural network, obtaining a first sub-code according to the second relationship graph;

[0253] Using a graph neural network, obtaining a second sub-code according to the third relationship graph;

[0254] Concatenate the first subcode and the second subcode to obtain the third terminal code;

[0255] And / or, obtaining resource allocation result information corresponding to the terminal according to the reference code includes:

[0256] Using a two-layer fully connected network, according to the third terminal code, a second flow estimation value of the terminal access sub-band is obtained;

[0257] Determine a target access sub-band of the terminal according to the second traffic estimation value, and obtain sub-band allocation information corresponding to the terminal;

[0258] The fifth related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station;

[0259] The sixth related information includes: the first information;

[0260] In the third relationship diagram, the weight between the fifth related information and the sixth related information is determined according to whether the base station and the terminal are connected.

[0261] Optionally, the target relationship graph includes a fourth relationship graph;

[0262] The step of constructing a target relationship graph according to the resource allocation parameter information and the first information includes:

[0263] Constructing, according to the resource allocation parameter information and the first information, a fourth relationship graph with seventh relevant information of the base station and eighth relevant information of the terminal as nodes;

[0264] And / or, the reference code includes: a fourth terminal code;

[0265] The step of obtaining a reference code according to the target relationship diagram includes:

[0266] Using a graph neural network, obtaining a third sub-code according to the second relationship graph;

[0267] Using a graph neural network, a fourth sub-code is obtained according to the third relationship graph;

[0268] Using a graph neural network, obtaining a fifth sub-code according to the fourth relationship graph;

[0269] concatenating the third subcode, the fourth subcode and the fifth subcode to obtain the fourth terminal code;

[0270] And / or, obtaining resource allocation result information corresponding to the terminal according to the reference code includes:

[0271] Using a two-layer fully connected network, obtaining second probability parameter information according to the fourth terminal code;

[0272] Obtaining a second Gaussian probability distribution according to the second probability parameter information;

[0273] Obtaining transmit power allocation information corresponding to the terminal according to the second Gaussian probability distribution;

[0274] The seventh related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station;

[0275] The eighth relevant information includes: the first information;

[0276] In the fourth relationship diagram, the weight between the seventh related information and the eighth related information is determined according to whether the sub-frequency band of the base station is connected to the terminal.

[0277] Optionally, obtaining, according to the second Gaussian probability distribution, transmit power allocation information corresponding to the terminal includes:

[0278] Determine, by sampling from the second Gaussian probability distribution, a power reference value corresponding to the terminal;

[0279] Obtaining a transmit power ratio corresponding to the terminal according to the power reference value;

[0280] According to the transmit power proportion and the transmit power upper limit, transmit power allocation information corresponding to the terminal is obtained.

[0281] Optionally, the processor is further configured to:

[0282] According to the resource allocation result information, a flow value allocated to a corresponding terminal is obtained;

[0283] According to the flow value, adjusting the relevant network for resource allocation;

[0284] The related network includes at least one of the following:

[0285] Graph neural networks;

[0286] Recurrent Neural Networks;

[0287] Two-layer fully connected network.

[0288] Optionally, adjusting the relevant network for resource allocation according to the traffic value includes:

[0289] According to the flow value, obtaining a flow loss value corresponding to the resource allocation result information;

[0290] According to the flow loss value, the relevant network of resource allocation is adjusted.

[0291] Optionally, acquiring, according to the traffic value, a traffic loss value corresponding to the resource allocation result information includes:

[0292] Using the first method, according to the flow value, obtaining the flow loss value corresponding to the resource allocation result information;

[0293] Wherein, the first method includes: converting the constrained adjustment condition into an unconstrained adjustment condition;

[0294] The constraint adjustment condition includes: achieving that the flow allocated to each terminal in the first time period is greater than the flow demand in the first time period, and maximizing the sum of the flow obtained by all the terminals in the first time period;

[0295] The unconstrained adjustment condition includes: maximizing the total flow of all the terminals in the first time period, and maximizing the weighted sum of the flow requirements of all the terminals in the first time period that are satisfied in the first time period.

[0296] Optionally, the base station information in the resource allocation parameter information corresponding to the terminal is: base station information of a first base station in the target area whose first distance to the terminal is less than a first threshold;

[0297] And / or, the terminal information in the resource allocation parameter information corresponding to the terminal is: terminal information of a second terminal in the target area whose second distance to the terminal is less than a second threshold;

[0298] And / or, the sub-frequency band information in the resource allocation parameter information corresponding to the terminal is: sub-frequency band information of the spectrum resources shared by the first base station;

[0299] And / or, the transmission power upper limit value in the resource allocation parameter information corresponding to the terminal is: the transmission power upper limit value of the first base station.

[0300] An embodiment of the present invention further provides a resource allocation device, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the above-mentioned resource allocation method is implemented.

[0301] The embodiment of the present invention further provides a readable storage medium on which a program is stored. When the program is executed by a processor, the steps in the above-mentioned resource allocation method are implemented.

[0302] The beneficial effects of the above technical solution of the present invention are as follows:

[0303] In the above scheme, the resource allocation method obtains resource allocation parameter information corresponding to at least one terminal in the target area; obtains first information of the traffic demand of each terminal in at least one time period according to the resource allocation parameter information; obtains resource allocation result information corresponding to each terminal according to the resource allocation parameter information and the first information; wherein the resource allocation parameter information includes: base station information corresponding to the target area, terminal information corresponding to the target area, sub-band information of the spectrum resources shared by the base stations in the target area, and at least one of the upper limits of the transmission power of each base station; the first information includes: information on the traffic demand of the terminal in the current time period; the resource allocation result information includes: base station allocation information, sub-band allocation information, and at least one of the transmission power allocation information; it is possible to implement resource allocation according to traffic demand to effectively meet the traffic demand, and decompose resource allocation into base station allocation, sub-band allocation, and transmission power allocation, thereby simplifying the resource allocation strategy, reducing the difficulty of the scheme, and well solving the problem that the resource allocation scheme in the prior art cannot effectively meet the traffic demand and the scheme is complex. BRIEF DESCRIPTION OF THE DRAWINGS

[0304] Figure 1 A schematic diagram of a resource allocation method according to an embodiment of the present invention;

[0305] Figure 2 A schematic diagram of a resource allocation method implementation framework according to an embodiment of the present invention;

[0306] Figure 3 A schematic diagram of the structure of a resource allocation device according to an embodiment of the present invention;

[0307] Figure 4 It is a schematic diagram of the structure of a resource allocation device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0308] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0309] The present invention aims to solve the problem that the resource allocation scheme in the existing technology cannot effectively meet the traffic demand and the scheme is complicated, and provides a resource allocation method, such as Figure 1 As shown, including:

[0310] Step 11: Obtain resource allocation parameter information corresponding to at least one terminal in the target area;

[0311] Step 12: Obtaining first information on traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information;

[0312] Step 13: Obtain resource allocation result information corresponding to each of the terminals based on the resource allocation parameter information and the first information; wherein the resource allocation parameter information includes: base station information corresponding to the target area, terminal information corresponding to the target area, sub-band information of spectrum resources shared by base stations in the target area, and at least one of the upper limits of transmission power of each of the base stations; the first information includes: information on the traffic demand of the terminal in the current time period; the resource allocation result information includes: base station allocation information, sub-band allocation information, and at least one of the transmission power allocation information.

[0313] The resource allocation method provided in an embodiment of the present invention obtains resource allocation parameter information corresponding to at least one terminal in a target area; obtains first information of traffic demand of each terminal in at least one time period according to the resource allocation parameter information; obtains resource allocation result information corresponding to each terminal according to the resource allocation parameter information and the first information; wherein the resource allocation parameter information includes: base station information corresponding to the target area, terminal information corresponding to the target area, sub-band information of spectrum resources shared by base stations in the target area, and at least one of the upper limits of transmission power of each base station; the first information includes: information on traffic demand of the terminal in the current time period; the resource allocation result information includes: base station allocation information, sub-band allocation information, and at least one of the transmission power allocation information; it is possible to implement resource allocation according to traffic demand to effectively meet traffic demand, and decompose resource allocation into base station allocation, sub-band allocation, and transmission power allocation, thereby simplifying resource allocation strategies, reducing the difficulty of solutions, and well solving the problem that resource allocation solutions in the prior art cannot effectively meet traffic demand and the solutions are complex.

[0314] Among them, the obtaining of the first information on the traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information includes: performing a first operation for at least one time period before the current time period of the terminal to obtain respectively corresponding first terminal codes; obtaining a coding history sequence according to the first terminal code; obtaining the first information on the traffic demand of the terminal in the current time period according to the coding history sequence; wherein the first operation includes: constructing a corresponding first relationship graph according to the resource allocation parameter information corresponding to the time period; and obtaining the first terminal code corresponding to the time period according to the first relationship graph.

[0315] In this way, the first information of traffic demand can be accurately obtained.

[0316] In an embodiment of the present invention, the constructing of a corresponding first relationship graph according to the resource allocation parameter information corresponding to the time period includes: constructing a first relationship graph with first relevant information of a base station and second relevant information of a terminal as nodes according to the resource allocation parameter information corresponding to the time period; wherein the first relevant information includes: the base station information and the upper limit value of the transmission power, and the base station information includes: the identity information of the base station; the second relevant information includes: the terminal information, and the terminal information includes: second information on unmet traffic demands of the terminal and the number of remaining time periods after the time period in which the terminal is currently located; in the first relationship graph, the weight between the first relevant information and the second relevant information is determined based on the signal attenuation factor between the base station and the terminal.

[0317] This allows the first relationship graph to be accurately constructed.

[0318] Among them, obtaining the first information on the traffic demand of the terminal in the current time period according to the coding history sequence includes: obtaining the terminal state change trend code according to the coding history sequence; obtaining the first information on the traffic demand of the terminal in the current time period according to the terminal state change trend code.

[0319] In this way, the first information of traffic demand can be obtained more accurately.

[0320] In an embodiment of the present invention, obtaining the first terminal code corresponding to the time period based on the first relationship diagram includes: using a graph neural network to obtain the first terminal code corresponding to the time period based on the first relationship diagram; and / or obtaining the terminal state change trend code based on the coding history sequence includes: using a recurrent neural network to obtain the terminal state change trend code based on the coding history sequence.

[0321] In this way, the first terminal code and / or the terminal state change trend code can be accurately obtained.

[0322] Among them, the encoding according to the terminal state change trend to obtain the first information on the traffic demand of the terminal in the current time period includes: using a two-layer fully connected network to encode the terminal state change trend to obtain the first probability parameter information; obtaining a first Gaussian probability distribution based on the first probability parameter information; from the first Gaussian probability distribution, sampling to determine the traffic demand of the terminal in the current time period, to obtain the first information on the traffic demand of the terminal in the current time period.

[0323] In this way, the first information about the traffic demand of the terminal in the current time period can be obtained. The first probability parameter information may include the mean and standard deviation of the Gaussian probability distribution, but is not limited thereto.

[0324] In an embodiment of the present invention, obtaining resource allocation result information corresponding to each of the terminals based on the resource allocation parameter information and the first information includes: constructing a target relationship graph based on the resource allocation parameter information and the first information; obtaining a reference code based on the target relationship graph; and obtaining the resource allocation result information corresponding to the terminal based on the reference code.

[0325] In this way, the resource allocation result information corresponding to the terminal can be accurately obtained.

[0326] Resource allocation may include base station allocation, sub-band allocation and power allocation, which are respectively illustrated below.

[0327] With respect to the case of base station allocation, the target relationship graph includes a second relationship graph; the constructing of the target relationship graph according to the resource allocation parameter information and the first information includes: constructing a second relationship graph with third related information of the base station and fourth related information of the terminal as nodes according to the resource allocation parameter information and the first information; and / or, the reference coding includes: a first base station coding and a second terminal coding; the obtaining of the reference coding according to the target relationship graph includes: obtaining the first base station coding and the second terminal coding according to the second relationship graph using a graph neural network; and / or, the obtaining of the resource allocation result information corresponding to the terminal according to the reference coding includes: converting the The first base station code and the second terminal code are spliced ​​to obtain a first spliced ​​code; using a two-layer fully connected network, according to the first spliced ​​code, a first traffic estimation value of the terminal accessing the base station is obtained; according to the first traffic estimation value, a target access base station of the terminal is determined, and the base station allocation information corresponding to the terminal is obtained; wherein the third relevant information includes: the base station information and the upper limit value of the transmission power, and the base station information includes: the identity information of the base station; the fourth relevant information includes: the first information; in the second relationship diagram, the weight between the third relevant information and the fourth relevant information is determined according to the signal attenuation factor between the base station and the terminal.

[0328] This allows accurate base station allocation.

[0329] For the case of sub-band allocation, the target relationship graph includes a third relationship graph; the target relationship graph is constructed according to the resource allocation parameter information and the first information, including: constructing a third relationship graph with fifth related information of the base station and sixth related information of the terminal as nodes according to the resource allocation parameter information and the first information; and / or, the reference code includes: third terminal code; the reference code is obtained according to the target relationship graph, including: using a graph neural network to obtain a first sub-code according to the second relationship graph; using a graph neural network to obtain a second sub-code according to the third relationship graph; splicing the first sub-code and the second sub-code to obtain the third terminal code; and / or, The resource allocation result information corresponding to the terminal is obtained according to the reference code, including: using a two-layer fully connected network, according to the third terminal code, obtaining a second traffic estimation value of the terminal access sub-band; according to the second traffic estimation value, determining the target access sub-band of the terminal, and obtaining the sub-band allocation information corresponding to the terminal; wherein the fifth related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station; the sixth related information includes: the first information; in the third relationship diagram, the weight between the fifth related information and the sixth related information is determined according to whether the base station and the terminal are connected.

[0330] This allows accurate sub-band allocation.

[0331] With respect to the power allocation situation, the target relationship diagram includes a fourth relationship diagram; the target relationship diagram is constructed according to the resource allocation parameter information and the first information, including: constructing a fourth relationship diagram with the seventh related information of the base station and the eighth related information of the terminal as nodes according to the resource allocation parameter information and the first information; and / or, the reference code includes: a fourth terminal code; the reference code is obtained according to the target relationship diagram, including: using a graph neural network to obtain a third sub-code according to the second relationship diagram; using a graph neural network to obtain a fourth sub-code according to the third relationship diagram; using a graph neural network to obtain a fifth sub-code according to the fourth relationship diagram; splicing the third sub-code, the fourth sub-code and the fifth sub-code to obtain the Fourth terminal coding; and / or, according to the reference coding, obtaining the resource allocation result information corresponding to the terminal, including: using a two-layer fully connected network, according to the fourth terminal coding, obtaining second probability parameter information; according to the second probability parameter information, obtaining a second Gaussian probability distribution; according to the second Gaussian probability distribution, obtaining the transmission power allocation information corresponding to the terminal; wherein, the seventh related information includes: the base station information and the transmission power upper limit value, the base station information includes: the identity information of the base station; the eighth related information includes: the first information; in the fourth relationship diagram, the weight between the seventh related information and the eighth related information is determined according to whether the sub-frequency band of the base station is connected to the terminal.

[0332] In this way, the allocation of transmission power can be accurately achieved. The second probability parameter information may include the mean and standard deviation of the Gaussian probability distribution, but is not limited thereto.

[0333] Among them, obtaining the transmission power allocation information corresponding to the terminal according to the second Gaussian probability distribution includes: sampling and determining the power reference value corresponding to the terminal from the second Gaussian probability distribution; obtaining the transmission power ratio corresponding to the terminal according to the power reference value; and obtaining the transmission power allocation information corresponding to the terminal according to the transmission power ratio and the transmission power upper limit value.

[0334] In this way, the allocation of transmit power can be achieved more accurately. Among them, "obtaining the transmit power ratio corresponding to the terminal according to the power reference value" may include: using a softmax layer to obtain the transmit power ratio corresponding to the terminal according to the power reference value and a constant (which can be set based on experience or arbitrarily), but is not limited to this.

[0335] Furthermore, the resource allocation method also includes: obtaining the traffic value allocated to the corresponding terminal according to the resource allocation result information; adjusting the relevant network of resource allocation according to the traffic value; wherein the relevant network includes at least one of the following: a graph neural network; a recurrent neural network; a two-layer fully connected network.

[0336] This can improve the accuracy of subsequent resource allocation.

[0337] Among them, adjusting the related networks for resource allocation according to the flow value includes: obtaining the flow loss value corresponding to the resource allocation result information according to the flow value; and adjusting the related networks for resource allocation according to the flow loss value.

[0338] This allows accurate tuning of the relevant networks.

[0339] In an embodiment of the present invention, obtaining the traffic loss value corresponding to the resource allocation result information according to the traffic value includes: using a first method to obtain the traffic loss value corresponding to the resource allocation result information according to the traffic value; wherein the first method includes: converting a constrained adjustment condition into an unconstrained adjustment condition; the constrained adjustment condition includes: achieving that the traffic allocated to each terminal in the first time period is greater than the traffic demand in the first time period, and maximizing the sum of the traffic obtained by all the terminals in the first time period; the unconstrained adjustment condition includes: maximizing the total traffic of all the terminals in the first time period, and maximizing the weighted sum of the traffic demands met by all the terminals in the first time period.

[0340] In this way, the flow loss value can be accurately obtained, and this method of obtaining the flow loss value can be applicable to the case of allocating power.

[0341] Among them, the base station information in the resource allocation parameter information corresponding to the terminal is: the base station information of the first base station whose first distance from the terminal in the target area is less than the first threshold; and / or, the terminal information in the resource allocation parameter information corresponding to the terminal is: the terminal information of the second terminal whose second distance from the terminal in the target area is less than the second threshold; and / or, the sub-frequency band information in the resource allocation parameter information corresponding to the terminal is: the sub-frequency band information of the spectrum resources shared by the first base station; and / or, the transmission power upper limit value in the resource allocation parameter information corresponding to the terminal is: the transmission power upper limit value of the first base station.

[0342] This can avoid excessive consumption of computing resources such as memory and video memory caused by the increase in the number of base stations and terminals, and increase the possibility of solving large-scale problems.

[0343] The resource allocation method provided in an embodiment of the present invention is illustrated below by taking an example of a long short-term memory artificial neural network LSTM as an example of a recurrent neural network, and taking a graph convolutional network as an example of a graph neural network.

[0344] In view of the above technical problems, and taking into account that the existing wireless network resource allocation technology targets a small decision space, such as only involving the allocation of sub-bands and only targeting small-scale optimization problems, resulting in the inability to comprehensively optimize large-scale problems; an embodiment of the present invention provides a resource allocation method, which can be specifically implemented as a wireless network resource allocation scheme based on secure reinforcement learning. This scheme will simultaneously optimize base station selection, sub-band selection, and power allocation in large-scale problems (hundreds of base stations and thousands of users).

[0345] Specifically, assume that the wireless network resource allocation scenario is: for users in a certain area in a certain time period (corresponding to the above-mentioned terminal), wireless network resources including base stations, sub-bands and transmission power are allocated to users according to their locations and traffic requirements. Specifically, assume that there are M base stations (included in the above-mentioned base station information), N active users (included in the above-mentioned terminal information), K sub-bands (included in the above-mentioned sub-band information) in a certain area (corresponding to the above-mentioned target area), and each base station has its own transmission power upper limit. (Corresponding to the above transmission power upper limit value, the transmission power upper limit corresponding to base station 1 is P 1 , and other base stations are similar). Each user can and can only access a certain sub-band of a certain base station, and the total transmission power that can be allocated to all users accessing the same base station does not exceed the transmission power upper limit of the base station. Consider T time slices (i.e. time periods), and perform wireless network resource allocation at the beginning of each time slice - connect each user to the appropriate base station, allocate the appropriate sub-band, and allocate the appropriate power, while meeting the total traffic demand of the user in T time slices. (The total traffic demand corresponding to user 1 is D 1 , and other users are similar) while maximizing the cumulative throughput The throughput is calculated as follows:

[0346]

[0347] Where B represents the network bandwidth, represents user u in time slice t n Connect to base station b m The signal interference ratio on sub-band k is calculated as follows:

[0348]

[0349] in, Identify user u in time slice tn Whether to access base station b m , Identify user u in time slice t n Whether to access base station b m Sub-band k, Identify user u in time slice t n At base station b m The power allocated to the sub-band k of Indicates base station b in time slice t m To user u n The signal attenuation factor, p noise represents the background noise power, Indicates whether all users in time slice t are connected to base station b m′ , Indicates whether all users in time slice t are connected to base station b m′ Sub-band k, Identify all users in time slice t at base station b m′ The power allocated to the sub-band k of Indicates base station b in time slice t m′ To user u n Signal attenuation factor of user u n In the time slice t, the satisfied flow is:

[0350]

[0351] In this solution, the wireless network resource allocation problem can be formally described as a constrained Markov decision process:

[0352] Status t Includes: All base stations Location information All users Historical location information Signal attenuation factor from each base station to each user Unmet traffic demand of each user

[0353] Actions include: Base station allocation That is, within time slice t, user u n Assigned base station b m Information (corresponding to the above base station allocation information), sub-band allocation That is, within time slice t, user u n Information on the allocated sub-band k (corresponding to the above sub-band allocation information) and the transmission power allocation That is, within time slice t, user u n Information on the allocated transmission power (corresponding to the above-mentioned transmission power allocation information).

[0354] The state transfer function is: update the positions of all users, update the corresponding signal attenuation factors, and update the unmet traffic demands of users.

[0355] Rewards: Status t Execute a combination of actions The total throughput of the system is H t .

[0356] The constraint condition is: the total traffic obtained by the user within the preset total time slice T satisfies:

[0357]

[0358] Based on the above, this solution takes into account that the wireless network resource allocation problem is a complex constrained optimization problem, so the original problem is divided into two sequential decision problems: demand decomposition and immediate demand satisfaction. The overall process is as follows: Figure 2 As shown in (decision framework for wireless network resource allocation scenario). The former (i.e., demand decomposition) can determine how much traffic demand the user needs to meet in the current time slice based on the user's historical trajectory (a sequence of the user's historical locations), the remaining traffic demand (i.e., the above-mentioned unmet traffic demand), and the base station location and other information; the latter (i.e., immediate demand satisfaction) can allocate resources based on information such as the base station and the user's location (such as immediate coordinates), so as to meet the immediate traffic demand (i.e., Figure 2 The latter is further decomposed into three subtasks: base station allocation, sub-band allocation and (transmit) power allocation. They (these three subtasks) can be set with an inherent sequence relationship - the decision of the successor task depends on the decision result of the predecessor task. The above task splitting method allows the base station allocation strategy, sub-band allocation strategy and power allocation strategy to only consider single-step allocation optimization, simplifying the training difficulty of these strategies and making the construction of these modules more flexible. Among them, resource allocation can obtain at least one of the base station allocation information (such as the access base station number, that is, the number of the target access base station), sub-band allocation information (such as the sub-band number), and transmit power allocation information; the locations of base stations and terminals can be used to obtain path losses and calculate subsequent neighbor relationships, but are not limited to this; the above-mentioned base station locations are included in Figure 2 The base station information in .

[0359] In addition, it is considered that: as the number of base stations and users increases, the scale of the optimization problem will continue to increase, which will lead to excessive consumption of computing resources such as memory and video memory; at the same time, the scope of influence of each decision in the wireless network resource allocation problem is very limited, for example: the increase or decrease of the transmission power allocated to a user will only affect the magnitude of signal interference of nearby users. Therefore, each module of this scheme (the modules corresponding to the demand decomposition strategy, base station allocation strategy, sub-band allocation strategy and power allocation strategy) makes decisions for each user in turn when executing; each time a decision is made, only the neighboring base stations and users are used to construct the (relationship) graph and perform corresponding encoding. Correspondingly, when using rewards to update the demand decomposition strategy, the rewards are also reduced to the rewards related to these neighboring users, that is, only the sum of the throughput of neighboring users is regarded as the reward; the constraints are also reduced to the satisfaction of the needs of neighboring users.

[0360] Specifically, the solution provided by the embodiment of the present invention may include the following steps:

[0361] Input: ① The number of base stations M, the upper limit of the transmission power of each base station The geographical coordinates of each base station ②Number of active users N, maximum traffic demand of users D max ③ Number of sub-bands K. ④ Total number of decisions T. ⑤ Total number of training iterations I. ⑥ Constraint violation penalty weight λ m ⑦ Reinforcement learning discount factor γ.

[0362] Initialization: Use random parameters to initialize the demand decomposition strategy network, base station allocation strategy network, sub-band allocation strategy network and power allocation strategy network. The number of training iterations i = 0.

[0363] Step 1: Reset the environment.

[0364] Step 1.1: Randomize the starting coordinates of each user and the end coordinates According to the start and end coordinates and the total time T, assuming that the user moves in a straight line at a uniform speed, the moving speed and direction of each user are constructed.

[0365] Step 1.2: Randomize the traffic demand of each user Traffic demand D n Obey uniform distribution U(0,D max ).

[0366] Step 1.3: Reset time t to 0.

[0367] Step 1.4: Set the trajectory set to

[0368] Step 2: Get the current coordinates of each user Obtain the path loss from each base station to each user based on the user coordinates (i.e., the signal attenuation factor from the base station to each user).

[0369] Step 3: Use the demand decomposition strategy network to assign an immediate demand to each user (corresponding to the traffic demand in the current time period mentioned above).

[0370] Step 3.1: For user u n , selects its neighboring base stations and users (including itself) to construct a graph G with base station and user information as nodes and the relationship between the two as weights 1 (corresponding to the resource allocation parameter information corresponding to the time period, a first relationship graph is constructed with the first relevant information of the base station and the second relevant information of the terminal as nodes). m The corresponding node information includes: the one-hot code of the base station number (corresponding to the identity information of the above base station), the upper limit of the base station transmission power P m ; User u n The corresponding node information includes: unmet traffic demand and remaining time (Tt), which correspond to the second information of the unsatisfied traffic demand of the above terminal and the number of remaining time periods after the current time period of the terminal; the weight between the base station node and the user node is the signal attenuation factor (Corresponding to the above-mentioned first relationship diagram, the weight between the first related information and the second related information is determined according to the signal attenuation factor between the base station and the terminal), and there are no edge connections between base station nodes and user nodes.

[0371] Step 3.2: Use graph convolutional network to train graph G 1 Embed, and get the codes of base station and user in the tth time slice, which are recorded as Among them, the user's code at the tth time slice is obtained The operation corresponds to the above-mentioned use of the graph neural network to obtain the first terminal code corresponding to the time period according to the first relationship graph.

[0372] In one cycle, step 3.2 is executed at different time slices t, and the codes at each time slice are saved. These saved codes constitute the historical sequence of user codes (corresponding to the above-mentioned historical sequence of codes). Specifically, each user code in the historical sequence is obtained by encoding information such as the user position of the corresponding time slice.

[0373] Step 3.3: Encode the historical sequence of users Use LSTM (Long Short-Term Memory) to further encode the user code (corresponding to the above-mentioned terminal state change trend coding), corresponding to the above-mentioned use of recurrent neural network, the terminal state change trend coding is obtained according to the coding history sequence.

[0374] Step 3.4: Encode the user After two layers of fully connected networks, the action probability parameters (the mean and standard deviation of the Gaussian probability distribution, corresponding to the first probability parameter information above) are output: Construct a Gaussian probability distribution N(μ n ,σ n 2 ) and (randomly) sample actions As a result of the decision of the base station allocation strategy network, the traffic that each user needs to meet in this time slice (the demand of time slice t) is recorded as (Corresponding to the first information about the traffic demand of the above-mentioned terminal in the current time period). Corresponding to the above-mentioned use of a two-layer fully connected network, encoding is performed according to the terminal state change trend to obtain first probability parameter information; according to the first probability parameter information, a first Gaussian probability distribution is obtained; from the first Gaussian probability distribution, sampling is performed to determine the traffic demand of the terminal in the current time period, and the first information about the traffic demand of the terminal in the current time period is obtained.

[0375] Step 4: Based on the flow requirements calculated in step 3 The network assigns a base station to each user using a base station assignment strategy.

[0376] Step 4.1: For user u n , select its neighboring base stations and users (including itself) to construct a graph G with base station and user information as nodes and the relationship between the two as weights 2 (corresponding to the above-mentioned construction of a second relationship graph with the third relevant information of the base station and the fourth relevant information of the terminal as nodes according to the resource allocation parameter information and the first information), wherein the base station b m The corresponding node information includes: the one-hot code of the base station number (corresponding to the identity information of the above base station), the upper limit of the base station transmission power P m ; User u n The corresponding node information includes: the traffic demand that needs to be met in the current time slice (i.e., the traffic demand calculated in step 3); the weight between the base station node and the user node is the signal attenuation factor (Corresponding to the above-mentioned second relationship diagram, the weight between the third related information and the fourth related information is determined according to the signal attenuation factor between the base station and the terminal), there is no edge connection between base station nodes and user nodes.

[0377] Step 4.2: Use graph convolutional network to train graph G 2 Embed and get the information encoding of base station and user: base station encoding User Code Corresponding to the above-mentioned use of graph neural network, the first base station code and the second terminal code are obtained according to the second relationship graph.

[0378] Step 4.3: After the base station code and the user code are concatenated in pairs (corresponding to the concatenation of the first base station code and the second terminal code to obtain the first concatenated code), the user u is obtained through a two-layer fully connected network. n Access base station b m The value estimate (which can be understood as flow estimation, corresponding to the first flow estimation value mentioned above): This value estimate corresponds to the instant reward that the user will obtain after access, that is, the traffic that the user will obtain within time slice t; this step corresponds to the above-mentioned use of a two-layer fully connected network to obtain a first traffic estimate value of the terminal accessing the base station according to the first concatenated code.

[0379] Step 4.4: Construct a bipartite graph consisting of two node sets, one corresponding to all users, and the other containing the number of nodes equal to the number of base stations M times the number of sub-bands K. Each K node corresponds to a base station. The weight of the edge between the two node sets corresponds to the value estimate calculated in step 4.3.

[0380] Step 4.5: Use the bipartite graph matching method to construct a one-to-one matching relationship of nodes with the largest total weight, that is, Indicates: User u n In the current time slice t, base station b should be accessed m , otherwise, no access.

[0381] Step 4.4 and step 4.5 correspond to the above-mentioned steps of determining the target access base station of the terminal according to the first traffic estimation value and obtaining the base station allocation information corresponding to the terminal.

[0382] Step 5: Based on the flow requirements calculated in step 3 And the base station selection calculated in step 4 (i.e. the allocation result) Using the sub-band allocation strategy, the network allocates a sub-band to each user.

[0383] Step 5.1: For user un , select its neighboring base stations and users (including itself), and keep the graph G 2 Based on this, we construct an additional graph G with base stations and users as nodes. 3 (corresponding to the above-mentioned construction of a third relationship graph with the fifth relevant information of the base station and the sixth relevant information of the terminal as nodes according to the resource allocation parameter information and the first information), the node information and the graph G 2 Same, if user u n Access base station b m , the weight between the corresponding nodes is 1, otherwise the weight between the corresponding nodes is 0 (corresponding to the above-mentioned third relationship diagram, the weight between the fifth related information and the sixth related information is determined according to whether the base station is connected to the terminal), and there is no edge connection between base station nodes and user nodes.

[0384] Step 5.2: Use graph convolutional network to train graph G 2 , G 3 Embed them separately to obtain the corresponding base station and user information codes, and then merge them (two base station information codes are combined together, and two user information codes are combined together) to obtain the final base station and user information codes: Among them, the last user's information code is obtained The operation corresponds to the above-mentioned use of a graph neural network to obtain a first sub-code according to the second relationship graph; use of a graph neural network to obtain a second sub-code according to the third relationship graph; and concatenating the first sub-code and the second sub-code to obtain the third terminal code.

[0385] Step 5.3: The user code is passed through a two-layer fully connected network to obtain the value estimation of the user's access to different sub-bands (which can be understood as traffic estimation, corresponding to the second traffic estimation value mentioned above): This value estimate corresponds to the instant reward that the user will obtain after access, that is, the traffic that the user will obtain within time slice t; this step corresponds to the above-mentioned use of a two-layer fully connected network to obtain a second traffic estimate value of the terminal access sub-band according to the third terminal encoding.

[0386] Step 5.4: Construct M bipartite graphs. Each graph consists of two node sets. One node set corresponds to the users accessing the base station, and the other node set represents the K selectable sub-bands. Each K node corresponds to a base station. The weight of the edge between the two node sets corresponds to the value estimate calculated in step 5.3.

[0387] Step 5.5: Use the bipartite graph matching method to construct a one-to-one matching relationship of nodes with the largest total weight for each bipartite graph, that is, Indicates: User u n In the current time slice t, base station b should be accessed m The kth sub-band is selected, otherwise, it is not accessed.

[0388] Step 5.4 and step 5.5 correspond to the above-mentioned determination of the target access sub-band of the terminal according to the second traffic estimation value, and obtaining the sub-band allocation information corresponding to the terminal.

[0389] Step 6: Based on the flow requirements calculated in step 3 The base station selection calculated in step 4 (i.e., the allocation result) and the sub-band selection calculated in step 5 (i.e., the allocation result) Using the power allocation strategy the network allocates (transmit) power to each user.

[0390] Step 6.1: For user u n , select its neighboring base stations and users (including itself), and keep the graph G 2 , G 3 Based on this, we construct K additional graphs with base stations and user information as nodes. (corresponding to the fourth relationship graph constructed with the seventh relevant information of the base station and the eighth relevant information of the terminal as nodes according to the resource allocation parameter information and the first information), one sub-band corresponds to one graph, and the node information is the same as the graph G 2 Same, if user u n Access base station b m The kth sub-band of G 3+k The weight between the corresponding nodes is 1, otherwise the weight between the corresponding nodes is 0 (corresponding to the above-mentioned fourth relationship diagram, the weight between the seventh related information and the eighth related information is determined according to whether the sub-band of the base station is connected to the terminal), and there is no edge connection between the base station nodes and the user nodes in each diagram.

[0391] Use graph convolutional network to map G 2 , G 3 , Embed them separately to obtain the corresponding base station and user information codes, and then merge them (3 base station information codes are combined together, and 3 user information codes are combined together) to obtain the final base station and user information codes: Among them, the last user's information code is obtained The operation (corresponding to the above-mentioned fourth terminal code) corresponds to the above-mentioned use of a graph neural network to obtain a third sub-code according to the second relationship graph; use a graph neural network to obtain a fourth sub-code according to the third relationship graph; use a graph neural network to obtain a fifth sub-code according to the fourth relationship graph; and concatenate the third sub-code, the fourth sub-code and the fifth sub-code to obtain the fourth terminal code.

[0392] Step 6.2: User Coding After two layers of fully connected networks, the action probability parameters (the mean and standard deviation of the Gaussian probability distribution, corresponding to the second Gaussian probability distribution mentioned above) are output: Construct a Gaussian probability distribution with this parameter And (randomly) sample As the sampling value for allocating transmit power (corresponding to the above power reference value). This step corresponds to the above step of obtaining a second Gaussian probability distribution according to the second probability parameter information; and sampling and determining the power reference value corresponding to the terminal from the second Gaussian probability distribution.

[0393] Step 6.3: For each base station b m Execute subsequent operations respectively, and record that there are I users accessing this base station. m , respectively The sampling values ​​corresponding to these users (i.e. the sampling values ​​obtained in step 6.2) are These sample values ​​and a constant C (such as 0) are passed through a softmax layer to obtain the proportion of transmit power allocated to these users (corresponding to the above-mentioned proportion of transmit power corresponding to the terminal obtained according to the power reference value); the power allocated to these users can be obtained by multiplying the proportion by the maximum transmit power of the corresponding base station Corresponding to the above, according to the transmit power proportion and the transmit power upper limit, the transmit power allocation information corresponding to the terminal is obtained. The power allocated to users under all base stations is calculated according to the above method, and the total result is recorded as

[0394] Step 7: Calculate for each user u n In the tth time slice, the traffic

[0395] Specifically, it may include: using the connection relationship between the user and the base station calculated in step 3-6 Connection relationship between users and sub-bands And the transmission power allocated to the user According to the flow calculation formula mentioned above:

[0396]

[0397]

[0398] Calculate for each user u n In the tth time slice, the traffic Corresponding to the above-mentioned resource allocation result information, a flow value allocated to the corresponding terminal is obtained.

[0399] Further steps may be included:

[0400] Step 8: Based on the flow obtained in step 7 Training base station allocation strategy network, sub-band allocation strategy network and power allocation strategy network; corresponding to the above-mentioned related network for adjusting resource allocation according to the traffic value.

[0401] Step 8.1: Calculate user u according to the method of steps 4.1-4.4 n Access base station b m Estimated value If user u n Access base station b m , then calculate the value estimate and user u n Corresponding reward (user u n Traffic flow in a single time slice ) The prediction losses corresponding to all users are added up to get the total prediction loss, and the total prediction loss is derived to get the parameters of the base station allocation strategy network The derivative of , which is used to update the parameters Corresponding to the above, according to the flow value, a flow loss value corresponding to the resource allocation result information is obtained; according to the flow loss value, the relevant network of resource allocation is adjusted.

[0402] Among them, the parameters Refers to the parameters of the base station allocation policy network; step 8.1 is to illustrate the update process of the policy network parameters. The policy networks here and below are all deep neural networks, and the parameters (such as ) can specifically refer to the weights between nodes in a neural network. Loss is a function of parameters, so by taking the derivative of the loss to get the update direction of the parameters, the performance of the neural network will generally improve with the update of the parameters.

[0403] Step 8.2: Calculate user u according to the method of steps 5.1-5.4 n Estimating the value of accessing different sub-bands If user u n Access base station b m The kth sub-band of , then calculate the value estimate and user u n Corresponding reward (user u n Traffic flow in a single time slice ) The prediction losses corresponding to all users are added up to get the total prediction loss, and the total prediction loss is derived to get the parameters of the sub-band allocation strategy network. The derivative of , which is used to update the parameters Corresponding to the above, according to the flow value, the flow loss value corresponding to the resource allocation result information is obtained; according to the flow loss value, the relevant network of resource allocation is adjusted. Among them, the parameter Refers to the parameters of the sub-band allocation strategy network. The value estimation of users accessing different sub-bands can be used to predict the traffic obtained by users accessing different sub-bands.

[0404] Step 8.3: Calculate according to the method of steps 6.1-6.3 Then calculate the corresponding reward corresponding to the power allocation (the traffic of all users ). The constrained optimization problem corresponding to the power allocation strategy is:

[0405]

[0406] in, Indicates that based on parameters The calculated transmit power for each user;

[0407] Convert this into an unconstrained optimization problem:

[0408]

[0409] For the above losses Derivative, get the parameters of the power allocation strategy network The derivative of , which is used to update the parameters Corresponding to the above, according to the flow value, the flow loss value corresponding to the resource allocation result information is obtained; according to the flow loss value, the relevant network of resource allocation is adjusted. Among them, the parameter Refers to the parameters of the power allocation strategy network.

[0410] The above formula in this step means: transforming the constrained optimization problem represented by the first and second formulas into the unconstrained optimization problem represented by the third formula. Specifically:

[0411] The constrained optimization problem representation (corresponding to the above-mentioned constrained adjustment condition): On the premise that the traffic of each user is greater than the user's immediate demand (corresponding to the second formula, the traffic allocated to each of the terminals in the first time period is greater than the traffic demand in the first time period), maximize the sum of the traffic obtained by all users in this time slice (corresponding to the first formula, maximize the sum of the traffic obtained by all the terminals in the first time period).

[0412] The unconstrained optimization problem representation (corresponding to the above-mentioned unconstrained adjustment condition): Maximize the total traffic of all users in a single time slice (corresponding to maximizing the total traffic of all the terminals in the first time period above) and the weighted sum of the immediate demands satisfied by all users in a single time slice with a weight of λ (corresponding to maximizing the weighted sum of the traffic demands satisfied by all the terminals in the first time period within the first time period above). m . Since λ m is significantly greater than 1, this formula (i.e., the third formula) emphasizes the improvement of the traffic of unsatisfied users to ensure that the constraint conditions are met.

[0413] The content of the above-mentioned "constrained optimization problem representation" and the content of the "unconstrained optimization problem representation" correspond to the above-mentioned use of the first method to obtain the traffic loss value corresponding to the resource allocation result information according to the traffic value.

[0414] Step 9: Add a sample to the trajectory set Traj, and this sample includes: time slice t, the coordinates of all users the corresponding path loss the calculated traffic demand the actually obtained traffic

[0415] Step 10: t = t + 1. If t < T, jump to Step 2; otherwise, jump to Step 11.

[0416] Step 11: Train the demand decomposition policy network.

[0417] Step 11.1: Calculate the user encoding and the action probability parameters (μ n , σ n ) according to the methods in Steps 3.1 - 3.4.

[0418] Step 11.2: Obtain the corresponding state value estimate by passing the user encoding through a two-layer fully connected network.That is, the evaluation of the decision result. This value estimate corresponds to the cumulative reward that the user will receive from time slice t to time slice T-1, that is, the traffic that the user will receive from time slice t to time slice T-1. In this solution, the reward for time slice t is used. and the discounted value estimate for time slice t+1 Calculating target value calculate and The error loss is derived from the loss to obtain the parameters of the value network corresponding to the demand decomposition strategy. The derivative of , which is used to update the parameters parameter Refers to the parameters of the value network that predicts "the total traffic obtained by the user within T time slices" (this value network is to assist the training of the demand decomposition strategy network).

[0419] Step 11.3: Calculate whether the total traffic obtained by each user is greater than their respective demand, and record it as the flag Specifically, if the total flow obtained is greater than or equal to the flow demand, it is marked as 1, otherwise it is marked as 0.

[0420] Step 11.4: The constrained optimization problem corresponding to the demand decomposition strategy is:

[0421]

[0422] Where ρ represents the demand decomposition strategy The distribution of the generated trajectories, where the trajectories include: the information of the base station and the user at each time and the output of the demand decomposition strategy at each time. τ represents the trajectory sampled according to the distribution. E represents the expectation of the total user traffic corresponding to the trajectory τ under the distribution ρ. Represents user u n The set of neighboring user numbers, n ′ Represents user u n The ID of the neighboring user; Represents user u n′ The flow rate obtained at the tth time slice, D n′ Represents user u n′ Total flow demand;

[0423] Transformed into an unconstrained optimization problem:

[0424]

[0425] in, For action gain:

[0426]

[0427] Derive the above objective function to obtain the parameter derivative of the value network corresponding to the demand decomposition strategy, and use this derivative to update the parameters Corresponding to the above-mentioned traffic value, obtain the traffic loss value corresponding to the resource allocation result information; according to the traffic loss value, adjust the relevant network of resource allocation. Among them, the parameter refers to the parameter of the demand decomposition strategy network

[0428] Among them, the above formula in this step means: transform the constrained optimization problems represented by the first formula and the second formula into the unconstrained optimization problems represented by the third formula and the fourth formula

[0429] The constrained optimization problem means: on the premise of achieving that "for each user and its neighboring users, the sum of the traffic obtained by each user within T time slices is greater than their respective overall demands (corresponding to the second formula)", maximize the sum of the traffic obtained by the user and its neighboring users within T time slices (corresponding to the first formula)

[0430] The unconstrained optimization problem means: update the loss function corresponding to the policy network (corresponding to the third formula). The fourth formula means: based on the immediate demand output in this loop, for user u n The increase in traffic The weighted value. The weighting method is: when the total demand of the user is satisfied, the corresponding mark is 1 and the actual weight is 1; otherwise, the mark is 0 and the actual weight is 1 + λ m . Since λ m is significantly greater than 1, so this formula (i.e., the fourth formula) emphasizes the increase in the traffic of unsatisfied users to ensure that the constraint conditions are met. Among them, the actual weight refers to the coefficient [1+(1 - mark n )λ m The actual value taken according to the different marks of mark n

[0431] Step 12: i = i + 1. If i < I, jump to Step 1; otherwise, jump to Step 13

[0432] Step 13: Output the trained demand decomposition strategy network, base station allocation strategy network, sub - band allocation strategy network, and power allocation strategy network

[0433] Here it is noted that the above steps involve "for user u n , select its neighboring base stations and users" to construct a (relationship) graph (such as G 1 , G 2 ​Etc.), corresponding to the above: the base station information in the resource allocation parameter information corresponding to the terminal is: the base station information of the first base station whose first distance from the terminal in the target area is less than the first threshold; and / or, the terminal information in the resource allocation parameter information corresponding to the terminal is: the terminal information of the second terminal whose second distance from the terminal in the target area is less than the second threshold; and / or, the sub-band information in the resource allocation parameter information corresponding to the terminal is: the sub-band information of the spectrum resources shared by the first base station; and / or, the transmission power upper limit value in the resource allocation parameter information corresponding to the terminal is: the transmission power upper limit value of the first base station.

[0434] Furthermore, in order to verify the effectiveness of this solution, a wireless network was used as a problem scenario for testing; the scenario contained M = 184 base stations, the number of users N = 8000, the number of sub-bands K = 45, and the signal attenuation factor from each base station to each location in the area could be obtained by ray tracing.

[0435] First, test the performance of this solution in a single time slice. Randomly determine the user location and user demand. The user demand is the traffic demand corresponding to a random number in [0,2B], where B represents the bandwidth. The following are the experimental results:

[0436] Total throughput Demand satisfaction ratio Heuristics <![CDATA[1.28×10 4 ]]> 60.55% This program <![CDATA[1.01×10 4 ]]> 84.12%

[0437] Obviously, compared with the heuristic method, this solution can greatly improve the proportion of user demand satisfaction.

[0438] Then, the performance of this solution is tested when the total time slice is T=20. The starting and ending positions of the user are randomly determined, and it is assumed that the user is doing uniform linear motion. The user demand is the traffic demand corresponding to the random number [0,40B], where B represents the bandwidth; the relaxation factor is 0.95, which requires 95% of the user demand to be completed; the following are the experimental results:

[0439] Total throughput Demand satisfaction ratio Unconstrained Method <![CDATA[5.18×10 5 ]]> 91.45% This program <![CDATA[4.49×10 5 ]]> 96.28%

[0440] Obviously, compared with the unconstrained method, this solution can find a resource distribution solution that fits the relaxation factor, maximizing the total throughput while meeting the needs of most users, thereby achieving the goal of optimizing user experience.

[0441] Based on the above, this solution provides a solution for splitting sub-problems and solving each sub-problem for the wireless resource allocation problem of optimizing base station selection, sub-band selection, and power allocation under the constraints of user traffic demand. Furthermore, this solution provides a local optimization solution for large-scale wireless network resource allocation problems. Specifically:

[0442] The wireless network resource allocation scenario targeted by this solution is: for users in a certain area in a certain time period, wireless network resources including base stations, sub-bands and transmission power are allocated to them according to the user's location and traffic demand. This scenario covers the allocation of multiple resources in different time periods and has a strong practical reference value. More specifically, this solution provides a wireless resource allocation solution, including a demand segmentation module (corresponding to the above-mentioned demand decomposition strategy network), a base station selection module (corresponding to the above-mentioned base station allocation strategy network), a sub-band selection module (corresponding to the above-mentioned sub-band allocation strategy network) and a transmission power allocation module (corresponding to the above-mentioned power allocation strategy network). The solution is solved by decomposing the optimization problem and constructing a constrained optimization method, and local observation and local rewards are introduced to optimize the resource allocation of each user; on the basis of meeting user needs, the total throughput of the system is maximized, thereby achieving the purpose of optimizing user experience.

[0443] In summary, this solution has the following advantages:

[0444] (1) This solution can simultaneously optimize base station selection, sub-band selection, and power allocation, and construct a wireless network resource allocation solution based on user traffic requirements, thereby better meeting user traffic requirements.

[0445] In order to meet the user's traffic demand, this solution transforms the wireless resource allocation problem into a timing optimization problem with multi-step constraints, and decomposes the problem into multiple constrained sub-optimization problems, namely demand decomposition, base station allocation, sub-band allocation, and power allocation. Compared with the original optimization problem, the constraints of each sub-problem are relatively simple and easy to solve. For these constrained sub-problems, this solution transforms them into unconstrained optimization problems for solution.

[0446] (2) This solution can solve large-scale wireless network resource allocation problems.

[0447] This scheme takes into account that the decision results related to each user will only affect some adjacent users. Therefore, when allocating resources to each user, the scheme only makes decisions based on local information (including each decision mentioned above, only using adjacent base stations and users to construct the graph and perform corresponding encoding), which makes it possible to solve large-scale problems.

[0448] (3) This solution has high commercial value. For wireless network resource allocation problems, the usual approach is to convert them into numerical optimization problems and then optimize them. However, the computational cost will increase exponentially with the scale of the problem, which means that this type of solution is difficult to solve large-scale resource allocation problems in real time. In addition, this type of solution requires the form of the optimization target to be concise and clear, which greatly limits the application scenarios. Compared with traditional solutions, the deep reinforcement learning used in this solution can be flexible and diverse in the form of optimization targets, and the deep network trained by rich and diverse samples often has a certain generalization ability, and has stronger adaptability to new scenarios and lower cost. The reasoning process of the deep network is less time-consuming and can provide resource allocation solutions for large-scale problems in real time. In addition, in the process of commercial promotion, it has stronger adaptability to new environments, greater flexibility, and greater real-time performance.

[0449] The embodiment of the present invention also provides a resource allocation device, such as Figure 3 As shown, including:

[0450] A first acquisition module 31 is used to acquire resource allocation parameter information corresponding to at least one terminal in a target area;

[0451] A first processing module 32, configured to obtain first information on traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information;

[0452] A second processing module 33 is used to obtain resource allocation result information corresponding to each of the terminals according to the resource allocation parameter information and the first information;

[0453] The resource allocation parameter information includes: base station information corresponding to the target area, terminal information corresponding to the target area, sub-band information of spectrum resources shared by base stations in the target area, and at least one of the upper limits of the transmission power of each base station;

[0454] The first information includes: information about the flow demand of the terminal in the current time period;

[0455] The resource allocation result information includes at least one of base station allocation information, sub-frequency band allocation information, and transmit power allocation information.

[0456] The resource allocation device provided in an embodiment of the present invention obtains resource allocation parameter information corresponding to at least one terminal in a target area; obtains first information of traffic demand of each terminal in at least one time period according to the resource allocation parameter information; obtains resource allocation result information corresponding to each terminal according to the resource allocation parameter information and the first information; wherein the resource allocation parameter information includes: base station information corresponding to the target area, terminal information corresponding to the target area, sub-band information of spectrum resources shared by base stations in the target area, and at least one of the upper limits of transmission power of each base station; the first information includes: information on traffic demand of the terminal in the current time period; the resource allocation result information includes: base station allocation information, sub-band allocation information, and at least one of the transmission power allocation information; it is possible to implement resource allocation according to traffic demand to effectively meet traffic demand, and decompose resource allocation into base station allocation, sub-band allocation, and transmission power allocation, thereby simplifying resource allocation strategies, reducing the difficulty of solutions, and well solving the problem that resource allocation solutions in the prior art cannot effectively meet traffic demand and the solutions are complex.

[0457] Among them, the obtaining of the first information on the traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information includes: performing a first operation for at least one time period before the current time period of the terminal to obtain respectively corresponding first terminal codes; obtaining a coding history sequence according to the first terminal code; obtaining the first information on the traffic demand of the terminal in the current time period according to the coding history sequence; wherein the first operation includes: constructing a corresponding first relationship graph according to the resource allocation parameter information corresponding to the time period; and obtaining the first terminal code corresponding to the time period according to the first relationship graph.

[0458] In an embodiment of the present invention, the constructing of a corresponding first relationship graph according to the resource allocation parameter information corresponding to the time period includes: constructing a first relationship graph with first relevant information of a base station and second relevant information of a terminal as nodes according to the resource allocation parameter information corresponding to the time period; wherein the first relevant information includes: the base station information and the upper limit value of the transmission power, and the base station information includes: the identity information of the base station; the second relevant information includes: the terminal information, and the terminal information includes: second information on unmet traffic demands of the terminal and the number of remaining time periods after the time period in which the terminal is currently located; in the first relationship graph, the weight between the first relevant information and the second relevant information is determined based on the signal attenuation factor between the base station and the terminal.

[0459] Among them, obtaining the first information on the traffic demand of the terminal in the current time period according to the coding history sequence includes: obtaining the terminal state change trend code according to the coding history sequence; obtaining the first information on the traffic demand of the terminal in the current time period according to the terminal state change trend code.

[0460] In an embodiment of the present invention, obtaining the first terminal code corresponding to the time period based on the first relationship diagram includes: using a graph neural network to obtain the first terminal code corresponding to the time period based on the first relationship diagram; and / or obtaining the terminal state change trend code based on the coding history sequence includes: using a recurrent neural network to obtain the terminal state change trend code based on the coding history sequence.

[0461] Among them, the encoding according to the terminal state change trend to obtain the first information on the traffic demand of the terminal in the current time period includes: using a two-layer fully connected network to encode the terminal state change trend to obtain the first probability parameter information; obtaining a first Gaussian probability distribution based on the first probability parameter information; from the first Gaussian probability distribution, sampling to determine the traffic demand of the terminal in the current time period, to obtain the first information on the traffic demand of the terminal in the current time period.

[0462] In an embodiment of the present invention, obtaining resource allocation result information corresponding to each of the terminals based on the resource allocation parameter information and the first information includes: constructing a target relationship graph based on the resource allocation parameter information and the first information; obtaining a reference code based on the target relationship graph; and obtaining the resource allocation result information corresponding to the terminal based on the reference code.

[0463] wherein the target relationship graph includes a second relationship graph; wherein constructing the target relationship graph according to the resource allocation parameter information and the first information comprises: constructing a second relationship graph with third relevant information of the base station and fourth relevant information of the terminal as nodes according to the resource allocation parameter information and the first information; and / or wherein the reference code comprises: a first base station code and a second terminal code; wherein obtaining the reference code according to the target relationship graph comprises: obtaining the first base station code and the second terminal code according to the second relationship graph using a graph neural network; and / or wherein obtaining the resource allocation result information corresponding to the terminal according to the reference code comprises: splicing the first base station code and the second terminal code to obtain a first spliced ​​code; obtaining a first traffic estimation value of the terminal accessing the base station according to the first spliced ​​code using a two-layer fully connected network; determining the target access base station of the terminal according to the first traffic estimation value, and obtaining the base station allocation information corresponding to the terminal; wherein the third relevant information comprises: the base station information and the upper limit value of the transmission power, and the base station information comprises: the identity information of the base station; and the fourth relevant information comprises: the first information; in the second relationship graph, the weight between the third relevant information and the fourth relevant information is determined according to the signal attenuation factor between the base station and the terminal.

[0464] In an embodiment of the present invention, the target relationship graph includes a third relationship graph; constructing the target relationship graph based on the resource allocation parameter information and the first information includes: constructing a third relationship graph with fifth related information of the base station and sixth related information of the terminal as nodes based on the resource allocation parameter information and the first information; and / or, the reference code includes: a third terminal code; obtaining the reference code based on the target relationship graph includes: obtaining a first sub-code based on the second relationship graph using a graph neural network; obtaining a second sub-code based on the third relationship graph using a graph neural network; splicing the first sub-code and the second sub-code to obtain the third terminal code; and / or, According to the reference code, the resource allocation result information corresponding to the terminal is obtained, including: using a two-layer fully connected network, according to the third terminal code, obtaining a second traffic estimation value of the terminal access sub-band; according to the second traffic estimation value, determining the target access sub-band of the terminal, and obtaining the sub-band allocation information corresponding to the terminal; wherein the fifth related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station; the sixth related information includes: the first information; in the third relationship diagram, the weight between the fifth related information and the sixth related information is determined according to whether the base station and the terminal are connected.

[0465] Among them, the target relationship graph includes a fourth relationship graph; the target relationship graph is constructed according to the resource allocation parameter information and the first information, including: constructing a fourth relationship graph with the seventh related information of the base station and the eighth related information of the terminal as nodes according to the resource allocation parameter information and the first information; and / or, the reference code includes: a fourth terminal code; the reference code is obtained according to the target relationship graph, including: using a graph neural network to obtain a third sub-code according to the second relationship graph; using a graph neural network to obtain a fourth sub-code according to the third relationship graph; using a graph neural network to obtain a fifth sub-code according to the fourth relationship graph; splicing the third sub-code, the fourth sub-code and the fifth sub-code to obtain the fourth terminal terminal coding; and / or, obtaining the resource allocation result information corresponding to the terminal according to the reference coding, including: using a two-layer fully connected network, according to the fourth terminal coding, obtaining second probability parameter information; according to the second probability parameter information, obtaining a second Gaussian probability distribution; according to the second Gaussian probability distribution, obtaining the transmission power allocation information corresponding to the terminal; wherein, the seventh related information includes: the base station information and the transmission power upper limit value, the base station information includes: the identity information of the base station; the eighth related information includes: the first information; in the fourth relationship diagram, the weight between the seventh related information and the eighth related information is determined according to whether the sub-band of the base station is connected to the terminal.

[0466] In an embodiment of the present invention, obtaining the transmit power allocation information corresponding to the terminal according to the second Gaussian probability distribution includes: sampling and determining a power reference value corresponding to the terminal from the second Gaussian probability distribution; obtaining the transmit power ratio corresponding to the terminal according to the power reference value; and obtaining the transmit power allocation information corresponding to the terminal according to the transmit power ratio and the transmit power upper limit value.

[0467] Furthermore, the resource allocation device also includes: a third processing module, used to obtain the traffic value allocated to the corresponding terminal according to the resource allocation result information; a first adjustment module, used to adjust the relevant network of resource allocation according to the traffic value; wherein the relevant network includes at least one of the following: a graph neural network; a recurrent neural network; a two-layer fully connected network.

[0468] Among them, adjusting the related networks for resource allocation according to the flow value includes: obtaining the flow loss value corresponding to the resource allocation result information according to the flow value; and adjusting the related networks for resource allocation according to the flow loss value.

[0469] In an embodiment of the present invention, obtaining the traffic loss value corresponding to the resource allocation result information according to the traffic value includes: using a first method to obtain the traffic loss value corresponding to the resource allocation result information according to the traffic value; wherein the first method includes: converting a constrained adjustment condition into an unconstrained adjustment condition; the constrained adjustment condition includes: achieving that the traffic allocated to each terminal in the first time period is greater than the traffic demand in the first time period, and maximizing the sum of the traffic obtained by all the terminals in the first time period; the unconstrained adjustment condition includes: maximizing the total traffic of all the terminals in the first time period, and maximizing the weighted sum of the traffic demands met by all the terminals in the first time period.

[0470] In an embodiment of the present invention, the base station information in the resource allocation parameter information corresponding to the terminal is: the base station information of the first base station whose first distance from the terminal in the target area is less than the first threshold; and / or, the terminal information in the resource allocation parameter information corresponding to the terminal is: the terminal information of the second terminal whose second distance from the terminal in the target area is less than the second threshold; and / or, the sub-frequency band information in the resource allocation parameter information corresponding to the terminal is: the sub-frequency band information of the spectrum resources shared by the first base station; and / or, the transmission power upper limit value in the resource allocation parameter information corresponding to the terminal is: the transmission power upper limit value of the first base station.

[0471] Among them, the implementation embodiments of the above-mentioned resource allocation method are all applicable to the embodiments of the resource allocation device and can achieve the same technical effects.

[0472] The embodiment of the present invention also provides a resource allocation device, such as Figure 4 As shown, it includes: a processor 41;

[0473] The processor 41 is configured to obtain resource allocation parameter information corresponding to at least one terminal in a target area;

[0474] Obtaining first information on traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information;

[0475] Obtaining resource allocation result information corresponding to each of the terminals according to the resource allocation parameter information and the first information;

[0476] The resource allocation parameter information includes: base station information corresponding to the target area, terminal information corresponding to the target area, sub-band information of spectrum resources shared by base stations in the target area, and at least one of the upper limits of the transmission power of each base station;

[0477] The first information includes: information about the flow demand of the terminal in the current time period;

[0478] The resource allocation result information includes at least one of base station allocation information, sub-frequency band allocation information, and transmit power allocation information.

[0479] In the embodiment of the present invention, the resource allocation device may further include: a transceiver 42 capable of communicating with the processor 41, but the present invention is not limited thereto.

[0480] The resource allocation device provided in an embodiment of the present invention obtains resource allocation parameter information corresponding to at least one terminal in a target area; obtains first information on the traffic demand of each terminal in at least one time period according to the resource allocation parameter information; obtains resource allocation result information corresponding to each terminal according to the resource allocation parameter information and the first information; wherein the resource allocation parameter information includes: base station information corresponding to the target area, terminal information corresponding to the target area, sub-band information of spectrum resources shared by base stations in the target area, and at least one of the upper limits of the transmission power of each base station; the first information includes: information on the traffic demand of the terminal in the current time period; the resource allocation result information includes: base station allocation information, sub-band allocation information, and at least one of the transmission power allocation information; it is possible to implement resource allocation according to traffic demand to effectively meet the traffic demand, and decompose resource allocation into base station allocation, sub-band allocation, and transmission power allocation, thereby simplifying the resource allocation strategy, reducing the difficulty of the solution, and well solving the problem that the resource allocation solution in the prior art cannot effectively meet the traffic demand and the solution is complex.

[0481] Among them, the obtaining of the first information on the traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information includes: performing a first operation for at least one time period before the current time period of the terminal to obtain respectively corresponding first terminal codes; obtaining a coding history sequence according to the first terminal code; obtaining the first information on the traffic demand of the terminal in the current time period according to the coding history sequence; wherein the first operation includes: constructing a corresponding first relationship graph according to the resource allocation parameter information corresponding to the time period; and obtaining the first terminal code corresponding to the time period according to the first relationship graph.

[0482] In an embodiment of the present invention, the constructing of a corresponding first relationship graph according to the resource allocation parameter information corresponding to the time period includes: constructing a first relationship graph with first relevant information of a base station and second relevant information of a terminal as nodes according to the resource allocation parameter information corresponding to the time period; wherein the first relevant information includes: the base station information and the upper limit value of the transmission power, and the base station information includes: the identity information of the base station; the second relevant information includes: the terminal information, and the terminal information includes: second information on unmet traffic demands of the terminal and the number of remaining time periods after the time period in which the terminal is currently located; in the first relationship graph, the weight between the first relevant information and the second relevant information is determined based on the signal attenuation factor between the base station and the terminal.

[0483] Among them, obtaining the first information on the traffic demand of the terminal in the current time period according to the coding history sequence includes: obtaining the terminal state change trend code according to the coding history sequence; obtaining the first information on the traffic demand of the terminal in the current time period according to the terminal state change trend code.

[0484] In an embodiment of the present invention, obtaining the first terminal code corresponding to the time period based on the first relationship diagram includes: using a graph neural network to obtain the first terminal code corresponding to the time period based on the first relationship diagram; and / or obtaining the terminal state change trend code based on the coding history sequence includes: using a recurrent neural network to obtain the terminal state change trend code based on the coding history sequence.

[0485] Among them, the encoding according to the terminal state change trend to obtain the first information on the traffic demand of the terminal in the current time period includes: using a two-layer fully connected network to encode the terminal state change trend to obtain the first probability parameter information; obtaining a first Gaussian probability distribution based on the first probability parameter information; from the first Gaussian probability distribution, sampling to determine the traffic demand of the terminal in the current time period, to obtain the first information on the traffic demand of the terminal in the current time period.

[0486] In an embodiment of the present invention, obtaining resource allocation result information corresponding to each of the terminals based on the resource allocation parameter information and the first information includes: constructing a target relationship graph based on the resource allocation parameter information and the first information; obtaining a reference code based on the target relationship graph; and obtaining the resource allocation result information corresponding to the terminal based on the reference code.

[0487] wherein the target relationship graph includes a second relationship graph; wherein constructing the target relationship graph according to the resource allocation parameter information and the first information comprises: constructing a second relationship graph with third relevant information of the base station and fourth relevant information of the terminal as nodes according to the resource allocation parameter information and the first information; and / or wherein the reference code comprises: a first base station code and a second terminal code; wherein obtaining the reference code according to the target relationship graph comprises: obtaining the first base station code and the second terminal code according to the second relationship graph using a graph neural network; and / or wherein obtaining the resource allocation result information corresponding to the terminal according to the reference code comprises: splicing the first base station code and the second terminal code to obtain a first spliced ​​code; obtaining a first traffic estimation value of the terminal accessing the base station according to the first spliced ​​code using a two-layer fully connected network; determining the target access base station of the terminal according to the first traffic estimation value, and obtaining the base station allocation information corresponding to the terminal; wherein the third relevant information comprises: the base station information and the upper limit value of the transmission power, and the base station information comprises: the identity information of the base station; and the fourth relevant information comprises: the first information; in the second relationship graph, the weight between the third relevant information and the fourth relevant information is determined according to the signal attenuation factor between the base station and the terminal.

[0488] In an embodiment of the present invention, the target relationship graph includes a third relationship graph; constructing the target relationship graph based on the resource allocation parameter information and the first information includes: constructing a third relationship graph with fifth related information of the base station and sixth related information of the terminal as nodes based on the resource allocation parameter information and the first information; and / or, the reference code includes: a third terminal code; obtaining the reference code based on the target relationship graph includes: obtaining a first sub-code based on the second relationship graph using a graph neural network; obtaining a second sub-code based on the third relationship graph using a graph neural network; splicing the first sub-code and the second sub-code to obtain the third terminal code; and / or, According to the reference code, the resource allocation result information corresponding to the terminal is obtained, including: using a two-layer fully connected network, according to the third terminal code, obtaining a second traffic estimation value of the terminal access sub-band; according to the second traffic estimation value, determining the target access sub-band of the terminal, and obtaining the sub-band allocation information corresponding to the terminal; wherein the fifth related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station; the sixth related information includes: the first information; in the third relationship diagram, the weight between the fifth related information and the sixth related information is determined according to whether the base station and the terminal are connected.

[0489] Among them, the target relationship graph includes a fourth relationship graph; the target relationship graph is constructed according to the resource allocation parameter information and the first information, including: constructing a fourth relationship graph with the seventh related information of the base station and the eighth related information of the terminal as nodes according to the resource allocation parameter information and the first information; and / or, the reference code includes: a fourth terminal code; the reference code is obtained according to the target relationship graph, including: using a graph neural network to obtain a third sub-code according to the second relationship graph; using a graph neural network to obtain a fourth sub-code according to the third relationship graph; using a graph neural network to obtain a fifth sub-code according to the fourth relationship graph; splicing the third sub-code, the fourth sub-code and the fifth sub-code to obtain the fourth terminal terminal coding; and / or, obtaining the resource allocation result information corresponding to the terminal according to the reference coding, including: using a two-layer fully connected network, according to the fourth terminal coding, obtaining second probability parameter information; according to the second probability parameter information, obtaining a second Gaussian probability distribution; according to the second Gaussian probability distribution, obtaining the transmission power allocation information corresponding to the terminal; wherein, the seventh related information includes: the base station information and the transmission power upper limit value, the base station information includes: the identity information of the base station; the eighth related information includes: the first information; in the fourth relationship diagram, the weight between the seventh related information and the eighth related information is determined according to whether the sub-band of the base station is connected to the terminal.

[0490] In an embodiment of the present invention, obtaining the transmit power allocation information corresponding to the terminal according to the second Gaussian probability distribution includes: sampling and determining a power reference value corresponding to the terminal from the second Gaussian probability distribution; obtaining the transmit power ratio corresponding to the terminal according to the power reference value; and obtaining the transmit power allocation information corresponding to the terminal according to the transmit power ratio and the transmit power upper limit value.

[0491] Furthermore, the processor is also used to: obtain the traffic value allocated to the corresponding terminal according to the resource allocation result information; adjust the relevant network of resource allocation according to the traffic value; wherein the relevant network includes at least one of the following: a graph neural network; a recurrent neural network; a two-layer fully connected network.

[0492] Among them, adjusting the related networks for resource allocation according to the flow value includes: obtaining the flow loss value corresponding to the resource allocation result information according to the flow value; and adjusting the related networks for resource allocation according to the flow loss value.

[0493] In an embodiment of the present invention, obtaining the traffic loss value corresponding to the resource allocation result information according to the traffic value includes: using a first method to obtain the traffic loss value corresponding to the resource allocation result information according to the traffic value; wherein the first method includes: converting a constrained adjustment condition into an unconstrained adjustment condition; the constrained adjustment condition includes: achieving that the traffic allocated to each terminal in the first time period is greater than the traffic demand in the first time period, and maximizing the sum of the traffic obtained by all the terminals in the first time period; the unconstrained adjustment condition includes: maximizing the total traffic of all the terminals in the first time period, and maximizing the weighted sum of the traffic demands met by all the terminals in the first time period.

[0494] In an embodiment of the present invention, the base station information in the resource allocation parameter information corresponding to the terminal is: the base station information of the first base station whose first distance from the terminal in the target area is less than the first threshold; and / or, the terminal information in the resource allocation parameter information corresponding to the terminal is: the terminal information of the second terminal whose second distance from the terminal in the target area is less than the second threshold; and / or, the sub-frequency band information in the resource allocation parameter information corresponding to the terminal is: the sub-frequency band information of the spectrum resources shared by the first base station; and / or, the transmission power upper limit value in the resource allocation parameter information corresponding to the terminal is: the transmission power upper limit value of the first base station.

[0495] Among them, the implementation embodiments of the above-mentioned resource allocation method are all applicable to the embodiments of the resource allocation device and can achieve the same technical effects.

[0496] An embodiment of the present invention further provides a resource allocation device, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the above-mentioned resource allocation method is implemented.

[0497] Among them, the implementation embodiments of the above-mentioned resource allocation method are all applicable to the embodiments of the resource allocation device and can achieve the same technical effects.

[0498] The embodiment of the present invention further provides a readable storage medium on which a program is stored. When the program is executed by a processor, the steps in the above-mentioned resource allocation method are implemented.

[0499] Among them, the implementation embodiments of the above-mentioned resource allocation method are all applicable to the embodiments of the readable storage medium and can achieve the same technical effect.

[0500] It should be noted that many functional components described in this specification are referred to as modules in order to more particularly emphasize the independence of their implementation methods.

[0501] In the embodiment of the present invention, module can be implemented with software so that it can be executed by various types of processors. For example, an executable code module of an identification can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, process or function. Nevertheless, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different positions, and when these instructions are logically combined together, it constitutes a module and realizes the specified purpose of the module.

[0502] In fact, executable code module can be a single instruction or many instructions, and can even be distributed on a plurality of different code segments, distributed among different programs, and distributed across a plurality of memory devices. Similarly, operating data can be identified in the module, and can be implemented and organized in the data structure of any appropriate type according to any appropriate form. The operating data can be collected as a single data set, or can be distributed in different locations (including on different storage devices), and can only be present on a system or network as an electronic signal at least in part.

[0503] When a module can be implemented by software, considering the level of existing hardware technology, a person skilled in the art can build a corresponding hardware circuit to implement the corresponding function of the module that can be implemented by software without considering the cost. The hardware circuit includes a conventional very large scale integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, or other discrete components. The module can also be implemented by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.

[0504] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A resource allocation method, characterized in that: include: Acquiring resource allocation parameter information corresponding to at least one terminal in a target area; Obtaining first information on traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information; Obtaining resource allocation result information corresponding to each of the terminals according to the resource allocation parameter information and the first information; The resource allocation parameter information includes: base station information corresponding to the target area, terminal information corresponding to the target area, sub-band information of spectrum resources shared by base stations in the target area, and at least one of the upper limits of the transmission power of each base station; The first information includes: information about the flow demand of the terminal in the current time period; The resource allocation result information includes at least one of base station allocation information, sub-frequency band allocation information, and transmit power allocation information.

2. The resource allocation method according to claim 1, characterized in that: The obtaining, according to the resource allocation parameter information, first information on traffic demand of each of the terminals in at least one time period includes: For at least one time period before the current time period of the terminal, perform a first operation to obtain a first terminal code corresponding to each time period; Obtaining a coding history sequence according to the first terminal coding; Obtaining first information on the flow demand of the terminal in a current time period according to the encoding history sequence; The first operation includes: constructing a corresponding first relationship graph according to the resource allocation parameter information corresponding to the time period; and obtaining a first terminal code corresponding to the time period according to the first relationship graph.

3. The resource allocation method according to claim 2, characterized in that: The step of constructing a corresponding first relationship graph according to the resource allocation parameter information corresponding to the time period includes: Constructing a first relationship graph with first relevant information of the base station and second relevant information of the terminal as nodes according to the resource allocation parameter information corresponding to the time period; The first related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station; The second related information includes: the terminal information, the terminal information including: second information of unsatisfied traffic demand of the terminal and the number of remaining time periods after the current time period of the terminal; In the first relationship graph, the weight between the first related information and the second related information is determined according to a signal attenuation factor between the base station and the terminal.

4. The resource allocation method according to claim 2, characterized in that: The obtaining, according to the encoding history sequence, first information on the flow demand of the terminal in the current time period includes: According to the coding history sequence, a terminal state change trend coding is obtained; According to the terminal state change trend code, first information on the flow demand of the terminal in the current time period is obtained.

5. The resource allocation method according to claim 4, characterized in that: The obtaining, according to the first relationship diagram, a first terminal code corresponding to the time period includes: Using a graph neural network, according to the first relationship graph, obtain a first terminal code corresponding to the time period; And / or, obtaining the terminal state change trend code according to the coding history sequence includes: A recurrent neural network is used to obtain the terminal state change trend code according to the coding history sequence.

6. The resource allocation method according to claim 4, characterized in that: The obtaining, according to the terminal state change trend code, first information on the flow demand of the terminal in the current time period includes: Using a two-layer fully connected network, encoding the terminal state change trend to obtain first probability parameter information; Obtaining a first Gaussian probability distribution according to the first probability parameter information; The flow demand of the terminal in the current time period is determined by sampling from the first Gaussian probability distribution, and first information on the flow demand of the terminal in the current time period is obtained.

7. The resource allocation method according to claim 1, characterized in that: The obtaining, according to the resource allocation parameter information and the first information, resource allocation result information corresponding to each of the terminals includes: Constructing a target relationship graph according to the resource allocation parameter information and the first information; According to the target relationship diagram, a reference code is obtained; The resource allocation result information corresponding to the terminal is obtained according to the reference code.

8. The resource allocation method according to claim 7, characterized in that: The target relationship graph includes a second relationship graph; The step of constructing a target relationship graph according to the resource allocation parameter information and the first information includes: Constructing, according to the resource allocation parameter information and the first information, a second relationship graph with third relevant information of the base station and fourth relevant information of the terminal as nodes; And / or, the reference code includes: a first base station code and a second terminal code; The step of obtaining a reference code according to the target relationship diagram includes: Using a graph neural network, obtaining the first base station code and the second terminal code according to the second relationship graph; And / or, obtaining resource allocation result information corresponding to the terminal according to the reference code includes: Concatenate the first base station code and the second terminal code to obtain a first concatenated code; Using a two-layer fully connected network, and according to the first concatenated code, obtaining a first traffic estimation value of the terminal accessing the base station; Determine a target access base station of the terminal according to the first traffic estimation value, and obtain base station allocation information corresponding to the terminal; The third related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station; The fourth related information includes: the first information; In the second relationship graph, the weight between the third related information and the fourth related information is determined according to a signal attenuation factor between the base station and the terminal.

9. The resource allocation method according to claim 8, characterized in that: The target relationship graph includes a third relationship graph; The step of constructing a target relationship graph according to the resource allocation parameter information and the first information includes: Constructing, according to the resource allocation parameter information and the first information, a third relationship graph with fifth relevant information of the base station and sixth relevant information of the terminal as nodes; And / or, the reference code includes: a third terminal code; The step of obtaining a reference code according to the target relationship diagram includes: Using a graph neural network, obtaining a first sub-code according to the second relationship graph; Using a graph neural network, obtaining a second sub-code according to the third relationship graph; Concatenate the first subcode and the second subcode to obtain the third terminal code; And / or, obtaining resource allocation result information corresponding to the terminal according to the reference code includes: Using a two-layer fully connected network, according to the third terminal code, a second flow estimation value of the terminal access sub-band is obtained; Determine a target access sub-band of the terminal according to the second traffic estimation value, and obtain sub-band allocation information corresponding to the terminal; The fifth related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station; The sixth related information includes: the first information; In the third relationship diagram, the weight between the fifth related information and the sixth related information is determined according to whether the base station and the terminal are connected.

10. The resource allocation method according to claim 9, characterized in that: The target relationship graph includes a fourth relationship graph; The step of constructing a target relationship graph according to the resource allocation parameter information and the first information includes: Constructing, according to the resource allocation parameter information and the first information, a fourth relationship graph with seventh relevant information of the base station and eighth relevant information of the terminal as nodes; And / or, the reference code includes: a fourth terminal code; The step of obtaining a reference code according to the target relationship diagram includes: Using a graph neural network, obtaining a third sub-code according to the second relationship graph; Using a graph neural network, a fourth sub-code is obtained according to the third relationship graph; Using a graph neural network, obtaining a fifth sub-code according to the fourth relationship graph; concatenating the third subcode, the fourth subcode and the fifth subcode to obtain the fourth terminal code; And / or, obtaining resource allocation result information corresponding to the terminal according to the reference code includes: Using a two-layer fully connected network, obtaining second probability parameter information according to the fourth terminal code; Obtaining a second Gaussian probability distribution according to the second probability parameter information; Obtaining transmit power allocation information corresponding to the terminal according to the second Gaussian probability distribution; The seventh related information includes: the base station information and the upper limit of the transmission power, and the base station information includes: the identity information of the base station; The eighth relevant information includes: the first information; In the fourth relationship diagram, the weight between the seventh related information and the eighth related information is determined according to whether the sub-frequency band of the base station is connected to the terminal.

11. The resource allocation method according to claim 10, characterized in that: The obtaining, according to the second Gaussian probability distribution, transmit power allocation information corresponding to the terminal includes: Determine, by sampling from the second Gaussian probability distribution, a power reference value corresponding to the terminal; Obtaining a transmit power ratio corresponding to the terminal according to the power reference value; According to the transmit power proportion and the transmit power upper limit, transmit power allocation information corresponding to the terminal is obtained.

12. The resource allocation method according to any one of claims 1 to 11, characterized in that: Also includes: According to the resource allocation result information, a flow value allocated to a corresponding terminal is obtained; According to the flow value, adjusting the relevant network for resource allocation; The related network includes at least one of the following: Graph neural networks; Recurrent Neural Networks; Two-layer fully connected network.

13. The resource allocation method according to claim 12, characterized in that: The related network for adjusting resource allocation according to the traffic value includes: According to the flow value, obtaining a flow loss value corresponding to the resource allocation result information; According to the flow loss value, the relevant network of resource allocation is adjusted.

14. The resource allocation method according to claim 13, characterized in that: The acquiring, according to the flow value, a flow loss value corresponding to the resource allocation result information includes: Using the first method, according to the flow value, obtaining the flow loss value corresponding to the resource allocation result information; Wherein, the first method includes: converting the constrained adjustment condition into an unconstrained adjustment condition; The constraint adjustment condition includes: achieving that the flow allocated to each terminal in the first time period is greater than the flow demand in the first time period, and maximizing the sum of the flow obtained by all the terminals in the first time period; The unconstrained adjustment condition includes: maximizing the total flow of all the terminals in the first time period, and maximizing the weighted sum of the flow requirements of all the terminals in the first time period that are satisfied in the first time period.

15. The resource allocation method according to claim 1, characterized in that: The base station information in the resource allocation parameter information corresponding to the terminal is: base station information of a first base station within the target area whose first distance from the terminal is less than a first threshold; And / or, the terminal information in the resource allocation parameter information corresponding to the terminal is: terminal information of a second terminal in the target area whose second distance to the terminal is less than a second threshold; And / or, the sub-frequency band information in the resource allocation parameter information corresponding to the terminal is: sub-frequency band information of the spectrum resources shared by the first base station; And / or, the transmission power upper limit value in the resource allocation parameter information corresponding to the terminal is: the transmission power upper limit value of the first base station.

16. A resource allocation device, characterized in that: include: A first acquisition module, used to acquire resource allocation parameter information corresponding to at least one terminal in a target area; A first processing module, configured to obtain first information on traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information; A second processing module, configured to obtain resource allocation result information corresponding to each of the terminals according to the resource allocation parameter information and the first information; The resource allocation parameter information includes: base station information corresponding to the target area, terminal information corresponding to the target area, sub-band information of spectrum resources shared by base stations in the target area, and at least one of the upper limits of the transmission power of each base station; The first information includes: information about the flow demand of the terminal in the current time period; The resource allocation result information includes at least one of base station allocation information, sub-frequency band allocation information, and transmit power allocation information.

17. A resource allocation device, characterized in that: include: processor; The processor is configured to obtain resource allocation parameter information corresponding to at least one terminal in a target area; Obtaining first information on traffic demand of each of the terminals in at least one time period according to the resource allocation parameter information; Obtaining resource allocation result information corresponding to each of the terminals according to the resource allocation parameter information and the first information; The resource allocation parameter information includes: base station information corresponding to the target area, terminal information corresponding to the target area, sub-band information of spectrum resources shared by base stations in the target area, and at least one of the upper limits of the transmission power of each base station; The first information includes: information about the flow demand of the terminal in the current time period; The resource allocation result information includes at least one of base station allocation information, sub-frequency band allocation information, and transmit power allocation information.

18. A resource allocation device, comprising a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that: When the processor executes the program, the resource allocation method according to any one of claims 1 to 15 is implemented.

19. A readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the steps in the resource allocation method according to any one of claims 1 to 15 are implemented.

Citation Information

Patent Citations

  • Resource allocation method and system for LTE (Long Term Evolution) network

    CN103687027A

  • Uplink NOMA resource allocation method based on deep reinforcement learning

    CN112566261A

  • Forecasting Traffic Demand Experienced by Wireless Communication System with Application to Channel Allocation

    US20210337430A1