Optimization method combining access point selection and beam forming design

Through deep reinforcement learning, the agent is trained to optimize the connection status between users and access points and beamforming design, solving the problems of optimal access point selection and low-cost beamforming in decellularized massive MIMO systems, and achieving an efficient global Optimize performance.

CN118612778APending Publication Date: 2024-09-06SUN YAT SEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410274420.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-11
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

In decellularized massive MIMO systems, how to achieve low hardware cost and nearly all-digital hybrid beamforming while ensuring optimal access point selection is a difficult problem, especially when the number of users and access points is huge.

Method used

Using the method of deep reinforcement learning, the agent is trained through the actor network and the evaluation network to decide the connection status between the user and the access point, and update the beamforming design in real time to achieve a joint optimization strategy and maximize the global user rate of the system .

Benefits of technology

It achieves performance close to all-digital hybrid beamforming at low hardware cost, avoids local optimality, and is suitable for wireless communication scenarios with high algorithm convergence delays and performance index requirements, especially decellularized massive MIMO systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612778A
    Figure CN118612778A
Patent Text Reader

Abstract

The invention discloses an optimization method combining access point selection and beam forming design, and relates to the field of wireless communication optimization. The method comprises the following steps: establishing a network scene model, and an actor family network and an evaluation network of an intelligent agent; enabling the intelligent agent to decide own actions at each time step; after the action at is executed, the environment carries out hybrid beam forming design according to input; environment output is obtained to obtain an experience sample, and the experience sample is stored in an experience pool; and taking out a batch of experience samples from the experience pool to synchronously train and update the actor network and the evaluation network in the intelligent agent until the training is finished, and obtaining a joint optimization strategy through the intelligent agent. Compared with the prior art, the method has the advantages that the problem of user-centered access point selection is solved, the optimal beam forming design is updated and given in real time, joint optimization of access point selection and beam forming is realized, global optimization is achieved, and the method is suitable for wireless communication scenes with high requirements on algorithm convergence delay and performance indexes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless communication optimization, and more particularly to an optimization method for joint access point selection and beamforming design. Background Art

[0002] In the field of wireless communications, decellularized massive MIMO (Multiple-Input Multiple-Output) utilizes a large number of randomly distributed access points in geographical locations, connects to the central processing unit through a fronthaul network, and jointly serves users in the network to achieve seamless wireless coverage. Considering that each user is served by all APs (Access Points), which will lead to a large amount of fronthaul signaling overhead and increase complexity and energy consumption, how to select a suitable set of access points for each user to serve them has become a current research hotspot. In addition, beamforming is a common technology in millimeter wave systems, which is used to form directional beams to improve communication efficiency. How to maintain significant multiplexing gain while reducing the number of RF links through reasonable design is also of great significance to fully realizing the potential advantages of decellularized massive MIMO systems.

[0003] Currently, distributed optimization based on convex optimization algorithms is a popular method for solving such joint optimization problems. However, dividing the joint optimization problem into multiple sub-problems for step-by-step optimization often results in the final optimization performance being limited by one of the sub-problems. This is especially true in decellularized massive MIMO systems with a large number of users and access points, and high joint beamforming performance requirements. This requires the central processor to be able to achieve efficient beamforming design while ensuring optimal access point selection.

[0004] Therefore, how to combine access point selection and beamforming design to ensure the optimal access point selection solution while achieving performance close to that of full-digital hybrid beamforming at a low hardware cost has become an urgent problem that needs to be solved. Summary of the invention

[0005] The present invention provides an optimization method for joint access point selection and beamforming design to solve the problem of how to ensure obtaining the optimal access point selection solution while achieving performance close to that of full digital hybrid beamforming at low hardware cost as described in the above-mentioned prior art.

[0006] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0007] In a first aspect, an optimization method for joint access point selection and beamforming design includes:

[0008] Establishing a network scenario model, an actor-home network of an intelligent agent, and an evaluation network; wherein the network scenario model includes the number and location of users and access points;

[0009] Let the agent decide its action a at each time step t t , i.e., the connection status between each of the users and each of the access points;

[0010] In performing the action a t Afterwards, the environment performs hybrid beamforming design based on the input;

[0011] Get the environment output to get the experience sample e t ={s t , a t , r t ,s t+1}; where s t represents the user state at time step t, r t represents the reward obtained by the agent, s t+1 Indicates that the agent is performing the action a t Then transfer to the next user state and transfer the experience sample e t Deposit into experience pool;

[0012] A batch of the experience samples are taken from the experience pool to synchronously train and update the actor network and the evaluation network in the agent until the training is completed, and a joint optimization strategy is obtained through the agent.

[0013] In a second aspect, an electronic device includes:

[0014] A memory for storing computer executable instructions or computer programs;

[0015] The processor is used to implement the method described in the first aspect when executing the computer executable instructions or computer program stored in the memory.

[0016] In a third aspect, a computer program product comprises a computer program or computer executable instructions, wherein when the computer program or computer executable instructions are executed by a processor, the method described in the first aspect is implemented.

[0017] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:

[0018] The present invention discloses an optimization method for joint access point selection and beamforming design, which trains an intelligent agent through deep reinforcement learning (i.e., actor-family network-evaluator network architecture) to solve the user-centric access point selection problem, so as to output the optimal user connection point selection strategy, and at the same time, the environment updates the optimal beamforming design in real time according to the current access point selection, thereby maximizing the global user rate of the system, realizing joint optimization of access point selection and beamforming, and achieving global optimization. Compared with the prior art, the present invention is more suitable for wireless communication scenarios with higher requirements on algorithm convergence delay and performance indicators, especially decellularized large-scale MIMO scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A flowchart of an optimization method for joint access point selection and beamforming design in Embodiment 1 of the present application;

[0020] Figure 2 This is a schematic diagram of the structure of the actor network and the evaluation network in Example 1 of the present application;

[0021] Figure 3 Another structural diagram of the actor home network and the evaluation network in Example 1 of the present application;

[0022] Figure 4 This is a schematic diagram of the structure of the multilayer perceptron in Example 1 of the present application;

[0023] Figure 5 This is an example diagram of a communication system in Embodiment 2 of the present application;

[0024] Figure 6 A deep reinforcement learning framework diagram for joint access point selection and beamforming design in Example 2 of the present application;

[0025] Figure 7 This is a comparison chart of simulation test results in Example 2 of the present application;

[0026] Figure 8 This is a schematic diagram of the hardware entity of the electronic device in Example 3 of the present application. DETAILED DESCRIPTION

[0027] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0028] The drawings are for illustrative purposes only and are not to be construed as limiting the present patent;

[0029] In order to better illustrate the present embodiment, some parts in the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product;

[0030] It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.

[0031] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0032] Example 1

[0033] In this embodiment, the user equipment (UE) is a device with wireless transceiver function, which can communicate through the access point. The user can be distributed on land, including indoors or outdoors, handheld or vehicle-mounted; can also be distributed on the water (such as ships); can also be distributed in the air (such as airplanes, balloons and satellites). In the embodiment of the present application, the user may also be referred to as a terminal or user equipment, which may be a mobile phone, a mobile station (MS), a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control (Industrial Control), a wireless terminal device in self-driving (Self Driving), a wireless terminal device in remote medical care (Remote Medical), a wireless terminal device in smart grid (Smart Grid), a wireless terminal in transportation safety (Transportation Safety), a wireless terminal device in smart city (Smart City), a wireless terminal in smart home (Smart Home), a subscriber unit (Subscriber Unit), a wireless data card, a personal digital assistant (Personal Digital Assistant, PDA) computer, a tablet computer, a laptop computer (Laptop Computer), a machine type communication (Machine Type communication, MTC) terminal, etc. The user may include various handheld devices with wireless communication function, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem. Optionally, the user may be a handheld device (Handset) with wireless communication function, a vehicle-mounted device, a wearable device or a terminal in the Internet of Things, the Internet of Vehicles, a decellularized large-scale MIMO system or any form of terminal in a communication system evolved after 5G, etc., and this application does not limit this.

[0034] It should be understood that each AP (access point) can act as a transmitter to send signals to users, and can also act as a receiver to receive transmission data from a transmitting AP, CPU or user.

[0035] Combination Figure 1 This embodiment provides an optimization method for joint access point selection and beamforming design, including:

[0036] Establishing a network scenario model, as well as an actor network (also called a performer network) and a critic network of intelligent agents; wherein the network scenario model includes the number and location of users and access points;

[0037] Let the agent decide its action a at each time step t t , i.e., an access point connection scheme regarding the connection status between each of the users and each of the access points;

[0038] In performing the action a t Afterwards, the environment performs hybrid beamforming design based on the input;

[0039] Get the environment output to get the experience sample e t ={s t , a t , r t ,s t+1}; where s t represents the user state at time step t, r t represents the reward obtained by the agent, s t+1 Indicates that the agent is performing the action a t Then transfer to the next user state and transfer the experience sample e t Deposit into experience pool;

[0040] A batch of the experience samples are taken from the experience pool to synchronously train and update the actor network and the evaluation network in the agent until the training is completed, and a joint optimization strategy is obtained through the agent.

[0041] In this embodiment, a deep reinforcement learning framework is used to train an intelligent agent to solve the user-centric access point selection problem, and a beamforming scheme is simultaneously designed in a reinforcement learning environment to achieve joint optimization of access point selection and beamforming, thereby achieving global optimality and avoiding falling into local optimality.

[0042] In some preferred embodiments, see Figure 2 , the actor network includes an embedding layer, an encoding layer, a decoding layer, an attention layer and a pointer generator; wherein,

[0043] The input of the actor network is the user state, which is passed through the embedding layer, the encoding layer, the decoding layer, the attention layer, and then the pointer generator to generate the action a t A pointer to the user status s t The connection status between each of the users and the access point;

[0044] The evaluation network includes the embedding layer and the encoding layer shared with the actor network, and a unique multi-layer perceptron; wherein,

[0045] The input of the evaluation network is any user state, and after passing through the embedding layer, the encoding layer and the multi-layer perceptron, the value estimation value V of the user state is output. Φ (s t ).

[0046] It should be noted that the output action a t is a vector representing the user status s t The connection status between each of the users and the access point is shown below; in some examples, "0" indicates no connection and "1" indicates connection.

[0047] In some examples, the embedding layer is a fully connected network;

[0048] In some examples, the encoding layer and the decoding layer are LSTM (Long Short-Term Memory Network);

[0049] In some examples, the attention layer employs an attention mechanism.

[0050] In some examples, the pointer generator is a pointer network to implement a maximum value index operation.

[0051] In some alternative embodiments, see Figure 3 , let the agent decide its action a at each time step t t When , the pointer generator in the actor network selects to connect the user and the access point according to the output result of the attention layer to form a user-access point pair a i , and determine action a based on the global connection status t , whose expression is:

[0052]

[0053] In the formula, is a pointer vector, representing the output of the attention layer; Is the output of the pointer generator, indicating that the pointer vector The user-access point pair corresponding to the element index with the largest value in is connected, thereby forming an action a containing a new connection state. t .

[0054] It should be noted that the purpose of the pointer generator is to determine whether the current action is legal after each connection. If it is illegal, consider whether to cancel the current connection, thereby increasing the speed of obtaining legal actions. In this way, a complete access point selection is split into multiple steps, and the influence of the previous connection on the next connection can be obtained by using the encoding and decoding layers, so that the intelligent agent obtains the hidden association information between the user and the connection point, thereby updating in the direction of obtaining a better action. In the above embodiment, a pointer pointing to the user-access point pair is generated by the pointer generator, and each connection is determined one by one. Whether the current connection is legal can be determined at any time according to the restriction conditions. If it is illegal, a new exploration is immediately restarted, thereby accelerating the convergence speed of the intelligent agent, and the attention mechanism can be used to obtain the hidden information between the two connections to prevent the intelligent agent from falling into the local optimum.

[0055] In some examples, the structure of the multilayer perceptron is as follows Figure 4 As shown, it includes input layer (Input), fully connected layer (FC), Relu layer, and output layer (Output).

[0056] Further, the action a is determined according to the global connection state. t ,include:

[0057] Determine whether the current global connection state meets the requirement that the number of access points connected to each user is greater than 0 and less than a preset threshold: if so, it is considered that the current global connection state is based on the user-access point pair a i The access point connection scheme formed is legal, and the corresponding access point connection scheme is used as action a t Output; otherwise, the corresponding access point connection scheme is deemed to be illegal, and the next access point-user connection pair is confirmed based on the current connection.

[0058] Furthermore, the pointer vector The length of is the product of the number of users and the number of access points, which is generated by the attention layer based on the attention mechanism, and its expression is as follows:

[0059]

[0060]

[0061] In the formula, represents the output of the jth coding unit in the coding layer at the tth time step; d i represents the output of the i-th decoding unit in the decoding layer; v T , W1 and W2 are the trainable parameters of the network.

[0062] In some optional embodiments, during the training of the agent, the synchronous updating of the actor network and the critic network includes:

[0063] According to the empirical sample t ={s t , a t , r t ,s t+1}Calculate the time series difference residual As advantage function;

[0064] The joint loss function L(θ1, θ2) is established according to the advantage function, and its expression is as follows:

[0065]

[0066] According to the joint loss function, the network parameters θ1 and θ2 of the actor network and the evaluation network are synchronously updated based on the gradient descent method, and the expressions are as follows:

[0067]

[0068]

[0069] In the formula, represents the learning rate of the actor network; represents the learning rate of the evaluation network; It represents the operation of finding the gradient of the parameter θ1 of the actor network; Represents the operation of finding the gradient of the parameter θ2 of the evaluation network.

[0070] The above embodiment provides an optimization method for joint access point selection and beamforming design based on dominance pointer evaluation, so that after the CPU applies this algorithm, it can obtain the optimal access point selection scheme and obtain a hybrid beamforming design with performance close to digital beamforming.

[0071] In some preferred embodiments, the user status s t It is composed of the SINR (Signal to Interference plus Noise Ratio) of each user, defined as s t ={γ1,γ2,...,γ K}, where γ k represents the SINR of the kth user, k∈[1,K];

[0072] The sum of the user rates of all the users is taken as the response to the action a t The corresponding reward rt , where the expression of the user rate is: R k =log2(1+γ k ).

[0073] In some preferred embodiments, the hybrid beamforming design includes:

[0074] The environment is based on action a t For each access point connection scheme selected by the user, a simulated beam procedure is performed, that is, a simulated beam with the largest equivalent channel gain is selected from a preset code book;

[0075] A digital beamforming solution is obtained by using an alternating updating method.

[0076] Example 2

[0077] This embodiment conducts a simulation test on the method described in Embodiment 1, and compares it with a traditional distribution optimization solution to illustrate the superiority of the method described in Embodiment 1.

[0078] Figure 5 is an example of a communication system provided in this embodiment. The communication system includes: one or more users, Figure 5 Taking K users to be served as an example, there are multiple randomly distributed access points (APs) that can provide communication services to the users. Figure 5 In the example, M access points and one or more central processing units (CPUs) are used. Figure 5 In the example, one CPU is taken as an example; wherein the access point is connected to the CPU via a fronthaul link.

[0079] In this embodiment, Figure 5 A simulation experiment is carried out in the communication system shown in the figure. The optimization goal of the system is to maximize the sum of the rates of all users in the system (i.e., the global user rate). After the method of the present invention is applied at the CPU, the optimal access point selection scheme can be obtained, and a hybrid beamforming design with performance close to that of digital beamforming can be obtained.

[0080] The implementation path provided in this embodiment is as follows:

[0081] S1. See Figure 6 , build an intelligent agent (advantage pointer evaluation network) including an actor network and an evaluation network, and initialize them; the actor network includes an embedding layer, an encoding layer, a decoding layer, an attention layer, and a pointer generator, and the evaluation network includes an embedding layer, an encoding layer, and a multi-layer perceptron; among them, the embedding layer is a fully connected layer network, the encoding layer and the decoding layer are LSTM, the attention layer adopts the attention mechanism, and the pointer generator is a maximum index operation.

[0082] S2, the agent uses the following attention mechanism to obtain the pointer vector

[0083]

[0084]

[0085] What you get The length of the vector is the product of the number of users and the number of access points, which represents the possibility of each access point-user connection pair. The connection pair with the greatest possibility is set to 1 to determine this connection. Then, based on the global connection situation, it is determined whether this connection is legal (whether each user is served and the connection limit is not exceeded). If legal, the global connection status at this time is output as an action. Otherwise, the next access point-user connection pair is confirmed based on this connection.

[0086] S3, the environment obtains the action a from the agent t ={0, 1…, 1}, which represents the connection scheme of all users and access points. Then, for each access point selected by the user, the beam vector with the largest beamforming gain is selected from the analog beamformer. Then, the auxiliary variables and the digital beamformer are updated alternately until a certain number of iterations are met to obtain the digital beamforming design.

[0087] Finally, based on the above beamforming design and the channel state information between the user and the access point, the SINR of each user is calculated as the next state s t+1 , and according to R k =log2(1+γ k ) to get the rate of each user, where γ k is the SINR of the kth user. The sum of all user rates is used to obtain the global user rate as the reward r for this action. t .

[0088] S4, the agent will experience sample e t Deposit into the experience pool. If the experience pool capacity is full, reset the experience pool, otherwise continue until the experience pool depth meets the number required for a batch.

[0089] S5. Randomly take some experience samples from the experience pool, and calculate the number of experience samples according to the s in each experience sample. t , r t ,s t+1 Calculate the time series difference residual of the experience sample That is, the advantage function; in order to jointly update the parameters of the actor network and the evaluation network, the loss functions of the two networks are added together to obtain the total loss function:

[0090]

[0091] Next, using gradient descent, update the parameters θ1 and θ2 in both networks simultaneously:

[0092]

[0093]

[0094] S6. Repeat steps S2-S5 until the 500th time slot ends.

[0095] S7. Adjust the variance of the Gaussian white noise in the environment to simulate channel environments with different signal-to-noise ratios for training and testing, and repeat step S6.

[0096] S8. Calculate the sum of the total rates achieved by the users in the system at each signal-to-noise ratio, divide it by the total number of time slots, use the channel signal-to-noise ratio as the horizontal axis and the average total user rate achieved as the vertical axis, and plot the total user rate as a function of the signal-to-noise ratio. Figure 7 At the same time, as a comparison, we also performed step-by-step optimization to obtain the access point selection and hybrid beamforming design scheme, and drew the theoretical upper limit that the two different methods can achieve under different channel capacity constraints, that is, pure digital hybrid beamforming.

[0097] like Figure 7 As shown, APC_FD represents the theoretical upper limit of the access point selection scheme using advantage pointer evaluation; APC_HBF represents the joint access point selection and beamforming method proposed by the present invention; step-by-step_HBF represents the scheme of splitting the joint optimization problem into step-by-step optimization, and distribution_FD is the theoretical upper limit of the scheme. C1 and C2 represent different channel capacity constraints respectively. It can be seen that the method proposed in the present application not only improves the theoretical upper limit, but also achieves performance that is always close to the theoretical upper limit, and the effect is better as the signal-to-noise ratio increases.

[0098] Example 3

[0099] This embodiment provides a computer-readable storage medium, on which is stored at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor, so that the processor executes part or all of the steps of the method provided in Example 1 or Example 2 of the present application.

[0100] It is understood that the storage medium may be transient or non-transient. Exemplarily, the storage medium includes, but is not limited to, a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0101] Exemplarily, the processor may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA).

[0102] In some examples, a computer program product is provided, which can be implemented in hardware, software or a combination thereof. As a non-limiting example, the computer program product can be embodied as the storage medium, or as a software product, such as an SDK (Software Development Kit).

[0103] As a non-limiting example, a computer program product is provided, the computer program product includes a computer program or a computer executable instruction, the computer program or the computer executable instruction is stored in a computer-readable storage medium. A processor of an electronic device reads the computer program or the computer executable instruction from the computer-readable storage medium, and the processor executes the computer executable instruction, so that the electronic device performs some or all steps of the method described in the embodiment of the present application.

[0104] In some examples, a computer program is provided, comprising a computer-readable code, and when the computer-readable code is run in a computer device, a processor in the computer device executes a part or all of the steps in the method.

[0105] This embodiment also proposes an electronic device, including a memory and a processor, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and when the processor executes the at least one instruction, at least one program, a code set or an instruction set, it implements part or all of the steps of the method described in Example 1 or Example 2.

[0106] In some examples, a hardware entity of the electronic device is provided, see Figure 8, including: a processor, a memory and a communication interface; wherein the processor generally controls the overall operation of the electronic device; the communication interface is used to enable the electronic device to communicate with other terminals or servers through a network; the memory is configured to store instructions and applications executable by the processor, and can also cache data to be processed or processed by the processor and various modules in the electronic device (including but not limited to image data, audio data, voice communication data and video communication data), which can be implemented through flash memory (FLASH) or random access memory (RAM).

[0107] Furthermore, data may be transmitted between the processor, the communication interface and the memory via a bus, which may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors and memories together.

[0108] It can be understood that the options in the above-mentioned embodiment 1 or 2 are also applicable to this embodiment, so they will not be described again here.

[0109] The same or similar reference numerals correspond to the same or similar components;

[0110] The terms used to describe the positional relationship in the drawings are only used for illustrative purposes and should not be construed as limiting the present application;

[0111] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other.

[0112] Obviously, the above-mentioned embodiments of the present application are merely examples for clearly illustrating the present application, and are not intended to limit the implementation methods of the present application, and are not intended to limit the present application. For those of ordinary skill in the art, other different forms of changes or modifications can be made based on the above descriptions. Each functional module or unit can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part. It is not necessary and impossible to enumerate all the implementation methods here. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the claims of the present application.

Claims

1. An optimization method for joint access point selection and beamforming design, It is characterized in that include: Establishing a network scenario model, an actor-home network of an intelligent agent, and an evaluation network; wherein the network scenario model includes the number and location of users and access points; Let the agent decide its action a at each time step t t , i.e., an access point connection scheme regarding the connection status between each of the users and each of the access points; In performing the action a t Afterwards, the environment performs hybrid beamforming design based on the input; Get the environment output to get the experience sample e t ={s t , a t , r t ,s t+1 }; where s t represents the user state at time step t, r t represents the reward obtained by the agent, s t+1 Indicates that the agent is performing the action a t Then transfer to the next user state and transfer the experience sample e t Deposit into experience pool; A batch of the experience samples are taken from the experience pool to synchronously train and update the actor network and the evaluation network in the agent until the training is completed, and a joint optimization strategy is obtained through the agent.

2. The optimization method for joint access point selection and beamforming design according to claim 1, It is characterized in that The actor network includes an embedding layer, an encoding layer, a decoding layer, an attention layer and a pointer generator; wherein, The input of the actor network is the user state, which is passed through the embedding layer, the encoding layer, the decoding layer, the attention layer, and then the pointer generator to generate the action a t A pointer to the user state s t The connection status between each of the users and the access point; The evaluation network includes the embedding layer and the encoding layer shared with the actor network, and a unique multi-layer perceptron; wherein, The input of the evaluation network is any user state, and after passing through the embedding layer, the encoding layer and the multi-layer perceptron, the value estimation value V of the user state is output. Φ (s t ).

3. The optimization method for joint access point selection and beamforming design according to claim 2, It is characterized in that Let the agent decide its action a at each time step t t When , the pointer generator in the actor network selects to connect the user and the access point according to the output result of the attention layer to form a user-access point pair a i , and determine action a based on the global connection status t , whose expression is: In the formula, is a pointer vector, representing the output of the attention layer; Is the output of the pointer generator, indicating that the pointer vector The user-access point pair corresponding to the element index with the largest value in is connected, thereby forming an action a containing a new connection state. t .

4. The optimization method for joint access point selection and beamforming design according to claim 3, It is characterized in that Determine action a according to the global connection status t ,include: Determine whether the current global connection state meets the requirement that the number of access points connected to each user is greater than 0 and less than a preset threshold: if so, it is considered that the current global connection state is based on the user-access point pair a i The access point connection scheme formed is legal, and the corresponding access point connection scheme is used as action a t Output; otherwise, the corresponding access point connection scheme is deemed to be illegal, and the next access point-user connection pair is confirmed based on the current connection.

5. The optimization method for joint access point selection and beamforming design according to claim 3, It is characterized in that The pointer vector The length of is the product of the number of users and the number of access points, which is generated by the attention layer based on the attention mechanism, and its expression is as follows: In the formula, represents the output of the jth coding unit in the coding layer at the tth time step; d i represents the output of the i-th decoding unit in the decoding layer; v T , W 1 and W 2 are the trainable parameters of the network.

6. The optimization method for joint access point selection and beamforming design according to claim 2, It is characterized in that During the training of the agent, the synchronous updating of the actor network and the evaluation network includes: According to the empirical sample t ={s t , a t , r t ,s t+1 }Calculate the time series difference residual As advantage function; According to the advantage function, a joint loss function L(θ 1 ,θ 2 ), which is expressed as follows: According to the joint loss function, the network parameters θ of the actor network and the evaluation network are synchronously updated based on the gradient descent method. 1 and θ 2 , which is expressed as follows: In the formula, represents the learning rate of the actor network; represents the learning rate of the evaluation network; represents the network parameters θ of the actor network 1 Gradient finding operations; Represents the network parameter θ of the evaluation network 2 An operation to find the gradient.

7. The optimization method for joint access point selection and beamforming design according to claim 1, It is characterized in that The user status s t It is composed of the SINR of each user, defined as s t ={γ 1 , γ 2 …, γ K }, where γ k represents the SINR of the kth user, k∈[1,K]; The sum of the user rates of all the users is taken as the response to the action a t The corresponding reward r t , where the expression of the user rate is: R k =log 2 (1+γ k ).

8. A method for optimizing joint access point selection and beamforming design according to any one of claims 1 to 7, It is characterized in that The hybrid beamforming design includes: The environment is based on action a t For each access point connection scheme selected by the user, a simulated beam procedure is performed, that is, a simulated beam with the largest equivalent channel gain is selected from a preset code book; A digital beamforming solution is obtained by using an alternating updating method.

9. An electronic device, It is characterized in that include: A memory for storing computer executable instructions or computer programs; A processor, used to implement the method according to any one of claims 1 to 8 when executing computer executable instructions or computer programs stored in the memory.

10. A computer program product comprising a computer program or computer executable instructions, It is characterized in that When the computer program or computer executable instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.