Base station planning method, device, electronic device and storage medium
The base station construction strategy is optimized through deep reinforcement learning methods, which solves the problem of high construction costs caused by repeated base station construction, ensures signal coverage and communication quality, and minimizes the number of base stations.
Patent Information
- Application Number
- CN202211697381.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-28
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-12-28
AI Technical Summary
In communication infrastructure, repeated construction of base stations is a common problem, resulting in excessive construction costs.
The deep reinforcement learning method is used to automatically learn the optimal base station construction strategy through the base station action learning network and base station learning network, optimize signal coverage and communication quality, reduce the number of base stations, and thereby reduce construction costs.
On the basis of ensuring signal coverage and communication quality, it is possible to reduce the number of base stations, reduce base station construction costs, and improve site selection and construction efficiency.
Smart Images

Figure CN116017477B
Abstract
Description
Background Art
[0002] In recent years, my country's information and communication technology has developed very rapidly. Among them, information and communication infrastructure is the key content to enhance national strength, maintain national security and enrich people's lives. Especially with the development and promotion of national 5G technology, 5G base station construction is an important part of future communication infrastructure. Base station site selection is the basis of base station construction, and choosing a reasonable base station address planning is an important part of base station construction. Duplicate construction is an existing and very common problem in communication infrastructure, and duplicated base stations have greatly increased construction costs.
[0003] Based on this, how to reasonably select the site of the base station to reduce the construction cost of the base station has become a technical problem that needs to be solved urgently.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] The present disclosure provides a base station planning method, device, electronic device and storage medium, which at least to a certain extent overcome the problem of high construction cost of traditional base stations in related technologies.
[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0007] According to one aspect of the present disclosure, a base station planning method is provided, comprising: Step S210: obtaining a first environmental observation value of each signal base station in a target area at time t Determine the execution action of each signal base station according to the first environmental observation value and the base station action learning network Step S220: Execute the action according to the Update the current status S of all signal base stations t Updated to S t+1 , judge S t+1 Whether the termination state has been reached and set The value of , to obtain the reward feedback of each signal base station Determine the first state tuple And the first state tuple The reward feedback is stored in the experience replay pool B, wherein the reward feedback is related to the signal coverage range of the signal base station, the signal attenuation and the communication connection between the signal base stations; Step S230: When S t+1When the termination state is reached, the current training phase is exited and steps S210 to S220 are executed again. When the data collection end condition is met, H historical samples are taken from the experience replay pool B. Based on H historical samples The first loss function and the second loss function update the network parameters of the base station learning network and the base station action learning network.
[0008] In one embodiment of the present disclosure, before step S210, the method further includes: initializing network parameters of the base station learning network and the base station action network; initializing the size of the experience replay pool B; initializing the target area and the initial coordinates of all signal base stations in the target area.
[0009] In one embodiment of the present disclosure, reward feedback of each signal base station in the target area is obtained through the following steps, including: obtaining the signal coverage range, propagation step length, and communication connection information between signal base stations of each signal base station in the target area, wherein the communication connection information is the communication connection status between signal base stations; determining a first reward value for each signal base station in the target area according to the signal coverage range; determining a second reward value for each signal base station in the target area according to the propagation step length and a preset signal attenuation coefficient; determining a third reward value for each signal base station in the target area according to the communication connection information between the signals; determining the reward feedback of each signal base station in the target area according to the first reward value, the second reward value, the third reward value, and the weight corresponding to each reward value.
[0010] In one embodiment of the present disclosure, the third reward value of each signal base station in the target area is determined according to the communication connection information between the signals, including: determining a reward C, where C is a positive number; when it is determined according to the communication connection information that the target signal base station in the target area has no communication connection with all other signal base stations in the target area, the third reward value of the target base station is determined to be -C; when it is determined according to the communication connection information that the target signal base station in the target area has a communication connection with other signal base stations in the target area, the third reward value of the target base station is determined to be C.
[0011] In one embodiment of the present disclosure, determining the reward feedback of each signal base station in the target area according to the first reward value, the second reward value, the third reward value and the weight corresponding to each reward value includes: determining a first weight corresponding to the first reward value, a second weight corresponding to the second reward value, and a third weight corresponding to the third reward value; calculating the reward feedback of the i-th signal base station in the target area by the following formula: i=a1r i 1 +a2r i 2 +a3r i 3 ; Among them, r i is the reward feedback of the i-th signal base station in the target area, a1 is the first weight, r i 1 is the first reward value of the i-th signal base station in the target area, a2 is the second weight, r i 2 The second reward value of the i-th signal base station in the target area, a3 is the third weight, r i 3 A third reward value of the i-th signal base station in the target area.
[0012] In one embodiment of the present disclosure, based on H historical samples The first loss function and the second loss function are used to update the network parameters of the base station learning network and the base station action learning network, including: and the first loss function, updating the first network parameter θ of the base station learning network Q ; Based on H historical samples and a second loss function, updating a second network parameter of the base station action learning network According to the first network parameter θ Q and the second network parameters Update TARGET network parameters corresponding to the base station learning network and the base station action learning network.
[0013] In one embodiment of the present disclosure, each signal base station in the target area maintains a base station learning network and a base station action learning network, and the base station learning network is used to guide the signal base station to train the base station action learning network.
[0014] According to another aspect of the present disclosure, a base station planning device is provided, comprising: an observation value acquisition module, configured to acquire a first environmental observation value of each signal base station in a target area at time t. Determine the execution action of each signal base station according to the first environmental observation value and the base station action learning network An execution module is used to execute actions according to the Update the current status S of all signal base stations t Updated to S t+1 , judge S t+1 Whether the termination state has been reached and set The value of , to obtain the reward feedback of each signal base station Determine the first state tuple And the first state tuple The reward feedback is related to the signal coverage of the signal base station, signal attenuation, and the communication connection between the signal base stations; the parameter updating module is used to update the signal when S t+1 When the termination state is reached, the current training phase is exited, and the functions of the observation acquisition module and the execution module are repeatedly executed. When the data collection end condition is met, H historical samples are taken from the experience replay pool B. Based on H historical samples The first loss function and the second loss function update the network parameters of the base station learning network and the base station action learning network.
[0015] In one embodiment of the present disclosure, the above-mentioned device also includes an initialization module, which is used to initialize the network parameters of the base station learning network and the base station action network; initialize the size of the experience replay pool B; initialize the initial coordinates of the target area and all signal base stations in the target area.
[0016] In one embodiment of the present disclosure, the above-mentioned execution module is also used to obtain reward feedback of each signal base station through the following steps, including: obtaining the signal coverage range, propagation step length, and communication connection information between signal base stations of each signal base station in the target area, wherein the communication connection information is the communication connection status between signal base stations; determining a first reward value for each signal base station in the target area according to the signal coverage range; determining a second reward value for each signal base station in the target area according to the propagation step length and a preset signal attenuation coefficient; determining a third reward value for each signal base station in the target area according to the communication connection information between the signals; determining the reward feedback of each signal base station in the target area according to the first reward value, the second reward value, the third reward value and the weight corresponding to each reward value.
[0017] In one embodiment of the present disclosure, the above-mentioned execution module is also used to determine a reward C, where C is a positive number; when it is determined according to the communication connection information that the target signal base station in the target area has no communication connection with all other signal base stations in the target area, the third reward value of the target base station is determined to be -C; when it is determined according to the communication connection information that the target signal base station in the target area has a communication connection with other signal base stations in the target area, the third reward value of the target base station is determined to be C.
[0018] In one embodiment of the present disclosure, the execution module is further used to determine a first weight corresponding to the first reward value, a second weight corresponding to the second reward value, and a third weight corresponding to the third reward value; and calculate the reward feedback of the i-th signal base station in the target area by the following formula: i =a1r i 1 +a2r i 2 +a3r i 3 ; Among them, r i is the reward feedback of the i-th signal base station in the target area, a1 is the first weight, r i 1 is the first reward value of the i-th signal base station in the target area, a2 is the second weight, r i 2 The second reward value of the i-th signal base station in the target area, a3 is the third weight, r i 3 A third reward value of the i-th signal base station in the target area.
[0019] In one embodiment of the present disclosure, the parameter updating module is further configured to update the parameters according to H historical samples. and the first loss function, updating the first network parameter θ of the base station learning network Q ; Based on H historical samples and a second loss function, updating a second network parameter of the base station action learning network According to the first network parameter θ Q and the second network parameters Update TARGET network parameters corresponding to the base station learning network and the base station action learning network.
[0020] According to another aspect of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned base station planning method by executing the executable instructions.
[0021] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned base station planning method is implemented.
[0022] The embodiments of the present disclosure provide a base station planning method, device, electronic device and storage medium, wherein the method comprises: Step S210: obtaining the first environmental observation value of each signal base station in the target area at time t Determine the execution action of each signal base station according to the first environmental observation value and the base station action learning network Step S220: Execute the action according to the Update the current status S of all signal base stations t Updated to S t+1 , judge S t+1 Whether the termination state has been reached and set The value of , to obtain the reward feedback of each signal base station Determine the first state tuple And the first state tuple The reward feedback is stored in the experience replay pool B, wherein the reward feedback is related to the signal coverage range of the signal base station, the signal attenuation and the communication connection between the signal base stations; Step S230: When S t+1 When the termination state is reached, the current training phase is exited and steps S210 to S220 are executed again. When the data collection end condition is met, H historical samples are taken from the experience replay pool B. Based on H historical samples The first loss function and the second loss function are used to update the network parameters of the base station learning network and the base station action learning network. The present invention uses deep reinforcement learning to automatically learn the optimal base station construction strategy, so that the number of constructed base stations is minimized while ensuring signal coverage and communication quality, thereby achieving the purpose of reducing the cost of base station construction.
[0023] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0025] Figure 1 A schematic diagram showing a communication system structure in an embodiment of the present disclosure;
[0026] Figure 2 A flow chart of a base station planning method in an embodiment of the present disclosure is shown;
[0027] Figure 3 A schematic diagram of a base station planning method in an embodiment of the present disclosure is shown;
[0028] Figure 4A schematic diagram of another base station planning method in an embodiment of the present disclosure is shown;
[0029] Figure 5 A schematic diagram of another base station planning method in an embodiment of the present disclosure is shown;
[0030] Figure 6 A schematic diagram of another base station planning method in an embodiment of the present disclosure is shown;
[0031] Figure 7 A schematic diagram of a base station planning device in an embodiment of the present disclosure is shown; and
[0032] Figure 8 A structural block diagram of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0033] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0034] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0035] As mentioned in the background technology above, duplicate construction is a very common problem in communication infrastructure, and duplicated base stations greatly increase construction costs. Therefore, effective site selection can not only improve work efficiency, but also reduce the construction and maintenance costs of base stations.
[0036] Based on this, the embodiments of the present disclosure provide a base station planning method, device, electronic device and storage medium. For the planning of construction of communication base stations in complex terrains, deep reinforcement learning is used to automatically learn the optimal base station construction strategy, so that the number of constructed base stations can be minimized while ensuring signal coverage and communication quality, thereby achieving the purpose of reducing the cost of base station construction.
[0037] The present disclosure can intelligently design the construction plan of communication base stations for a specified terrain area, so as to minimize the number of base stations to be built while ensuring that the signal range can fully cover the specified terrain area, that is, the construction cost is the lowest. Since there are countless plans for building signal towers in an area of any shape, the ultimate goal of the present disclosure is to find the best plan among these countless construction plans. The present disclosure first regards each signal tower in a terrain of any shape as an intelligent entity, and its ultimate goal is to find its own position coordinates when the optimal construction plan is used.
[0038] The present invention uses a deep reinforcement learning training model to perform reinforcement training on multiple signal towers in any terrain, so that each signal tower can move to the optimal position according to the current construction plan. For deep reinforcement learning, the present invention sets up a reward and punishment mechanism to allow multiple randomly initialized signal towers to move in the direction of the optimal construction plan, and can intelligently plan site construction to ensure maximum signal coverage.
[0039] Figure 1 A schematic diagram showing an exemplary system architecture that can be applied to a base station planning method or a base station planning device according to an embodiment of the present disclosure is shown.
[0040] like Figure 1 As shown, the system architecture 100 may include terminal devices 101 , 102 , 103 , a network 104 and a server 105 .
[0041] The network 104 is a medium for providing a communication link between the terminal devices 101 , 102 , 103 and the server 105 , and may be a wired network or a wireless network.
[0042] Optionally, the wireless network or wired network described above uses standard communication technology and / or protocol. The network is usually the Internet, but it can also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a dedicated network or any combination of a virtual private network). In some embodiments, technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. are used to represent data exchanged through the network. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above data communication technologies.
[0043] The terminal devices 101 , 102 , and 103 may be various electronic devices, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, wearable devices, augmented reality devices, virtual reality devices, etc.
[0044] Optionally, the client of the application installed in different terminal devices 101, 102, 103 is the same, or is a client of the same type of application based on different operating systems. Based on different terminal platforms, the specific form of the client of the application can also be different, for example, the application client can be a mobile client, a PC client, etc.
[0045] The server 105 may be a server that provides various services, such as a background management server that provides support for devices operated by users using the terminal devices 101, 102, and 103. The background management server may analyze and process the received request data, and feed back the processing results to the terminal device.
[0046] Optionally, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The terminal can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in this application.
[0047] Those skilled in the art will know that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration, and any number of terminal devices, networks and servers may be provided according to actual needs, and the embodiments of the present disclosure do not limit this.
[0048] The present exemplary implementation is described in detail below with reference to the accompanying drawings and embodiments.
[0049] First, a base station planning method is provided in an embodiment of the present disclosure, and the method can be executed by any electronic device with computing and processing capabilities.
[0050] Figure 2 A flow chart of a base station planning method in an embodiment of the present disclosure is shown as follows: Figure 2 As shown, the base station planning method provided in the embodiment of the present disclosure includes the following steps:
[0051] Step S210: Obtain the first environmental observation value of each signal base station in the target area at time t Determine the execution action of each signal base station based on the first environment observation value and the base station action learning network
[0052] It should be noted that the target area can be any area that requires signal base station planning. The first environmental observation value can be input into the base station action learning network, and the execution action of each signal base station in the target area can be output, where: is the first environmental observation value of the i-th signal base station at time t, N is the number of planned signal base stations in the target area, is the execution action obtained by the i-th signal base station according to the first environmental observation value at time t.
[0053] Step S220: Execute the action Update the current status S of all signal base stations t Updated to S t+1 , judge St+1 Whether the termination state has been reached and set The value of , to obtain the reward feedback of each signal base station Determine the first state tuple And the first state tuple Stored in experience replay pool B, where reward feedback is related to the signal coverage of the signal base station, signal attenuation, and communication connection between signal base stations;
[0054] It should be noted that the terminal state can be the end state of the signal base station after executing the action; the state tuple (including the first state tuple, without distinction) consists of the environmental observation value of a certain signal base station at time t, the median of the signal observation at time t+1, the execution action determined according to the environmental observation value at time t, the reward feedback at time t, and Composition; among them, r i t is the reward feedback of the i-th signal base station at time t.
[0055] Step S230: When S t+1 When the termination state is reached, the current training phase is exited and steps S210 to S220 are executed again. When the data collection end condition is met, H historical samples are taken from the experience replay pool B. Based on H historical samples The first loss function and the second loss function update the network parameters of the base station learning network and the base station action learning network.
[0056] It should be noted that the data collection end condition is related to the number of state tuples stored in the experience pool playback B, and can be set to when the state tuples stored in the experience pool playback B meet the preset number, the data collection end condition is met, and the preset number can be any number, such as 50, 80, 100, etc. The historical sample can be the state tuple stored in the experience playback pool.
[0057] The base station planning method provided by the embodiment of the present disclosure performs reinforcement training on multiple signal towers in any terrain through the training mode of deep reinforcement learning, so that each signal tower can move to the optimal position according to the current construction plan. For deep reinforcement learning, the present disclosure sets a reward and punishment mechanism to allow multiple randomly initialized signal towers to move in the direction of the optimal construction plan, and can intelligently plan the construction of stations. On the premise of ensuring full signal coverage in the target area, the number of signal base stations in the target area is guaranteed to be minimized, thereby reducing the construction cost of the base station.
[0058] In one embodiment of the present disclosure, before step S210, the method further includes: initializing network parameters of the base station learning network and the base station action network; initializing the size of the experience replay pool B; initializing the initial coordinates of the target area and all signal base stations in the target area.
[0059] In one embodiment of the present disclosure, reward feedback of each signal base station in the target area is obtained through the following steps, including: obtaining the signal coverage range, propagation step length, and communication connection information between signal base stations of each signal base station in the target area, wherein the communication connection information is the communication connection status between the signal base stations; determining a first reward value for each signal base station in the target area according to the signal coverage range; determining a second reward value for each signal base station in the target area according to the propagation step length and a preset signal attenuation coefficient; determining a third reward value for each signal base station in the target area according to the communication connection information between signals; determining the reward feedback of each signal base station in the target area according to the first reward value, the second reward value, the third reward value, and the weight corresponding to each reward value.
[0060] In one embodiment of the present disclosure, the third reward value of each signal base station in the target area is determined based on the communication connection information between signals, including: determining a reward C, where C is a positive number; when it is determined based on the communication connection information that the target signal base station in the target area has no communication connection with all other signal base stations in the target area, the third reward value of the target base station is determined to be -C; when it is determined based on the communication connection information that the target signal base station in the target area has a communication connection with other signal base stations in the target area, the third reward value of the target base station is determined to be C.
[0061] In one embodiment of the present disclosure, the reward feedback of each signal base station in the target area is determined according to the first reward value, the second reward value, the third reward value and the weight corresponding to each reward value, including: determining a first weight corresponding to the first reward value, a second weight corresponding to the second reward value, and a third weight corresponding to the third reward value; and calculating the reward feedback of the i-th signal base station in the target area by the following formula:
[0062] r i =a1r i 1 +a2r i 2 +a3r i 3 (1)
[0063] Among them, r i is the reward feedback of the i-th signal base station in the target area, a1 is the first weight, r i 1is the first reward value of the i-th signal base station in the target area, a2 is the second weight, r i 2 The second reward value of the i-th signal base station in the target area, a3 is the third weight, r i 3 The third reward value of the i-th signal base station in the target area.
[0064] In one embodiment of the present disclosure, different reward values of the signal base station can be calculated by setting multiple reward functions, such as setting a first reward function to calculate a first reward value, a second reward function to calculate a second reward value, and a third reward function to calculate a third reward value. Considering the size of the range covered by each signal base station itself, the signal constraints, and the connectivity restrictions between signal base stations. According to the above requirements, the reward function is designed into the following three parts, and the expression of the first reward function is shown in the following formula (2):
[0065]
[0066] The expression of the second reward function is shown in the following formula (3):
[0067]
[0068] The expression of the third reward function is shown in the following formula (4):
[0069]
[0070] Among them, r i 1 Indicates the reward value of the area actually covered by the signal base station, that is, the first reward value; when the coverage areas of two different signal base stations overlap, represents the actual coverage of signal base station i, and φ(q) describes the importance of points in the target area.
[0071] represents the signal attenuation caused by the signal propagation of the signal base station, where k1 is a coefficient about signal attenuation, that is, the preset signal attenuation coefficient. Since the output value of the base station action learning network of the designed algorithm is a two-dimensional vector, representing the direction in which the current signal base station should propagate next, and the propagation step length Δx is fixed, the signal attenuation of each step is also fixed.
[0072] In the simulation, we designed the reward to be when the overall coverage does not reach 75% of the target area. When the overall coverage reaches our expected value, By designing the reward function in this way, all signal base stations can cooperate to cover the target area as widely and as much as possible.
[0073] Represents the constraint of communication connectivity of the signal base station group. When the signal base station i and all other signal base stations are out of the communication range, it means that the signal base station and the signal base station group are disconnected from each other, and the signal base station will get a negative reward value. By reasonably adjusting the size of reward C, the signal base station group can maintain communication connectivity during the collaborative coverage process. The total reward function of a single signal base station is expressed as the weighted sum of the three reward functions. When the adjustment coefficient a1 is large, it means that it is necessary to obtain as much information as possible about the area, and the signal base station group should achieve as much coverage of the area as possible. When a2 is large, it means that the signal base station group is sensitive to signal attenuation. When a3 is large, it means that the signal base station group is expected to maintain communication connectivity. By continuously adjusting the three coefficients in the simulation, we can achieve the signal coverage effect we expect.
[0074] In one embodiment of the present disclosure, based on H historical samples The first loss function and the second loss function update the network parameters of the base station learning network and the base station action learning network, including:
[0075] Based on H historical samples And the first loss function, update the first network parameter θ of the base station learning network Q ;
[0076] Based on H historical samples and the second loss function to update the second network parameters of the base station action learning network
[0077] According to the first network parameter θ Q and the second network parameters Update the TARGET network parameters corresponding to the base station learning network and the base station action learning network.
[0078] It should be noted that we can first use H historical samples Set the target value y of the base station learning network target :
[0079]
[0080] in,
[0081] Based on H historical samples And the first loss function, update the first network parameter θ of the base station learning network Q , the first network parameter θ of the base station learning network can be updated according to the following first loss functionQ :
[0082]
[0083] Based on H historical samples and the second loss function to update the second network parameters of the base station action learning network The second network parameter of the base station action learning can be updated according to the following second loss function:
[0084]
[0085] Finally, according to the first network parameter θ Q and the second network parameters Update the TARGET network parameters corresponding to the base station action learning network and the base station learning network:
[0086]
[0087] The TARGET network is updated using a soft update method. The parameter τ represents the percentage of the distance that the target network moves toward the evaluation network each time. This method ensures the stability of the training.
[0088] In one embodiment of the present disclosure, each signal base station in the target area maintains a base station learning network and a base station action learning network, and the base station learning network is used to guide the signal base station to train the base station action learning network.
[0089] Signal base stations are not only built on horizontal concrete ground, but signal base station groups often need to be built on complex surface conditions and achieve coverage of target areas. This paper proposes a signal base station signal coverage control algorithm based on multi-agent reinforcement learning. Compared with traditional signal base station signal coverage control algorithms, it has advantages in considering communication connectivity and signal attenuation constraints, and all signal base stations can execute strategies in a distributed manner.
[0090] The present disclosure considers the coverage problem of base stations on a 2D area under multiple constraints. The base station formation constitutes a set Each signal base station in the set can perform the coverage task, and the coverage range of each signal base station is an isotropic circle with a radius of .
[0091] The main goal of coverage control is to make the target area fully covered by the signal while minimizing the number of signal base stations. The purpose of this disclosure is to find suitable locations by planning signal base stations, cover all target areas, and minimize the number of signal base stations. The base station formation must simultaneously meet the requirements of full coverage of the target area and minimization of the number of signal base stations. The specific implementation method is as follows:
[0092] Parameter sharing mechanism: see Figure 3 The schematic diagram of a base station planning method shown in the figure guides the signal base station to train by maintaining a base station learning network shared by all intelligent agents, that is, Q1=Q2=…=QN=QG. Among them, Qi (i=1, 2,…, N) represents the base station learning network of the signal base station, and QG uses a base station learning network represented by a graph neural network. In the base station automatic addressing algorithm, each signal base station maintains a base station action learning network, and each signal base station also needs to maintain an additional base station learning network. The base station learning network guides the signal base station to train the base station action learning network. Among them, n i represents the i-th signal base station, o represents the “observation” of the signal base station, and a represents the “action” of the signal base station.
[0093] See also Figure 4 As shown in the schematic diagram of another base station planning method, the network parameters of the base station automatic addressing algorithm will increase linearly with the increase in the number of intelligent agents. The space complexity of the base station learning network parameters is O(N), while the network parameter learning complexity of the base station using the sharing mechanism is O(1), which reduces the number of training parameters and improves the training speed.
[0094] Base station learning network hidden layer design: see Figure 5 The diagram of another base station planning method shown in FIG. uses a graph neural network as the hidden layer of the base station learning network. For signal base stations with the same signal propagation model and the same signal coverage, at different times, when the global state of the signal base station group is the same, but the order of input to the global Q network is different, for the base station learning network using the fully connected layer as the hidden layer, the two cases will be treated as different inputs, resulting in different value functions.
[0095] Figure 5 The different colors of the four agents represent different observation values. For homogeneous agents, the global states obtained by base station learning in the two cases should be consistent, but the neural network outputs different value functions. Using graph neural networks as hidden layers will not be affected by the arrangement of inputs. Figure 6 As shown in the schematic diagram of another base station planning method, the signal base station observation values input to the neural network are arranged differently, but after being processed by the graph network, the same output value is obtained.
[0096] The base station learning network using graph neural network has a forward propagation method of
[0097]
[0098] Among them, f GCN represents the graph convolutional layer, f v is a fully connected layer, fmax represents maximum pooling. t =[o t a t ] represents the concatenation of the observation vectors and action vectors of all agents. The input is propagated from right to left to the output. Represents a network connection.
[0099] Based on the same inventive concept, the present disclosure also provides a base station planning device, such as the following embodiment. Since the principle of solving the problem in the device embodiment is similar to that in the above method embodiment, the implementation of the device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.
[0100] Figure 7 A schematic diagram of a base station planning device in an embodiment of the present disclosure is shown. Figure 7 As shown, the device comprises:
[0101] The observation value acquisition module 710 is used to obtain the first environmental observation value of each signal base station in the target area at time t Determine the execution action of each signal base station based on the first environment observation value and the base station action learning network
[0102] Execution module 720, used to execute actions according to Update the current status S of all signal base stations t Updated to S t+1 , judge S t+1 Whether the termination state has been reached and set The value of , to obtain the reward feedback of each signal base station Determine the first state tuple And the first state tuple Stored in experience replay pool B, where reward feedback is related to the signal coverage of the signal base station, signal attenuation, and communication connection between signal base stations;
[0103] The parameter updating module 730 is used to update the t+1 When the termination state is reached, the current training phase is exited, and the functions of the observation acquisition module and the execution module are repeatedly executed. When the data collection end condition is met, H historical samples are taken from the experience replay pool B. Based on H historical samples The first loss function and the second loss function update the network parameters of the base station learning network and the base station action learning network.
[0104] In one embodiment of the present disclosure, the above-mentioned device also includes an initialization module, which is used to initialize the network parameters of the base station learning network and the base station action network; initialize the size of the experience replay pool B; initialize the initial coordinates of the target area and all signal base stations in the target area.
[0105] In one embodiment of the present disclosure, the above-mentioned execution module 720 is also used to obtain reward feedback of each signal base station through the following steps, including: obtaining the signal coverage range, propagation step length, and communication connection information between signal base stations of each signal base station in the target area, wherein the communication connection information is the communication connection status between the signal base stations; determining the first reward value of each signal base station in the target area according to the signal coverage range; determining the second reward value of each signal base station in the target area according to the propagation step length and the preset signal attenuation coefficient; determining the third reward value of each signal base station in the target area according to the communication connection information between the signals; determining the reward feedback of each signal base station in the target area according to the first reward value, the second reward value, the third reward value and the weight corresponding to each reward value.
[0106] In one embodiment of the present disclosure, the above-mentioned execution module 720 is also used to determine a reward C, where C is a positive number; when it is determined according to the communication connection information that the target signal base station in the target area has no communication connection with all other signal base stations in the target area, the third reward value of the target base station is determined to be -C; when it is determined according to the communication connection information that the target signal base station in the target area has a communication connection with other signal base stations in the target area, the third reward value of the target base station is determined to be C.
[0107] In one embodiment of the present disclosure, the execution module 720 is further used to determine a first weight corresponding to the first reward value, a second weight corresponding to the second reward value, and a third weight corresponding to the third reward value; and calculate the reward feedback of the i-th signal base station in the target area by the following formula: i =a1r i 1 +a2r i 2 +a3r i 3 ; Among them, r i is the reward feedback of the i-th signal base station in the target area, a1 is the first weight, r i 1 is the first reward value of the i-th signal base station in the target area, a2 is the second weight, r i 2 The second reward value of the i-th signal base station in the target area, a3 is the third weight, r i 3 The third reward value of the i-th signal base station in the target area.
[0108] In one embodiment of the present disclosure, the parameter updating module 730 is further configured to update the parameters according to the H historical samples. And the first loss function, update the first network parameter θ of the base station learning network Q ; Based on H historical samples and the second loss function to update the second network parameters of the base station action learning network According to the first network parameter θ Q and the second network parameters Update the TARGET network parameters corresponding to the base station learning network and the base station action learning network.
[0109] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".
[0110] Refer to the following Figure 8 The electronic device 800 according to this embodiment of the present disclosure is described. Figure 8 The electronic device 800 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0111] like Figure 8 As shown, the electronic device 800 is in the form of a general computing device. The components of the electronic device 800 may include but are not limited to: at least one processing unit 810, at least one storage unit 820, and a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810).
[0112] The storage unit stores program codes, which can be executed by the processing unit 810, so that the processing unit 810 executes the steps of various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 810 can execute the following steps of the above method embodiment: Step S210: Obtain the first environmental observation value of each signal base station in the target area at time t Determine the execution action of each signal base station based on the first environment observation value and the base station action learning network Step S220: Execute the action Update the current status S of all signal base stations t Updated to S t+1 , judge S t+1 Whether the termination state has been reached and set The value of , to obtain the reward feedback of each signal base station Determine the first state tuple And the first state tuple The reward feedback is related to the signal coverage of the signal base station, signal attenuation, and the communication connection between the signal base stations; Step S230: When S t+1 When the termination state is reached, the current training phase is exited and steps S210 to S220 are executed again. When the data collection end condition is met, H historical samples are taken from the experience replay pool B. Based on H historical samples The first loss function and the second loss function update the network parameters of the base station learning network and the base station action learning network.
[0113] The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 8201 and / or a cache memory unit 8202 , and may further include a read-only memory unit (ROM) 8203 .
[0114] The storage unit 820 may also include a program / utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0115] Bus 830 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0116] The electronic device 800 may also communicate with one or more external devices 840 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 800, and / or communicate with any device that enables the electronic device 800 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 850. Furthermore, the electronic device 800 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 860. As shown, the network adapter 860 communicates with other modules of the electronic device 800 via a bus 830. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0117] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0118] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, which may be a readable signal medium or a readable storage medium. A program product capable of implementing the above method of the present disclosure is stored thereon. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above “Exemplary Method” section of this specification.
[0119] More specific examples of computer-readable storage media in the present disclosure may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0120] In the present disclosure, a computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0121] Alternatively, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0122] In a specific implementation, the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).
[0123] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0124] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0125] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0126] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.
Claims
1. A base station planning method, characterized in that: include: Step S210: Obtain the first environmental observation value of each signal base station in the target area at time t Determine the execution action of each signal base station according to the first environmental observation value and the base station action learning network Step S220: Execute the action according to the Update the current status S of all signal base stations t Updated to S t+1 , judge S t+1 Whether the termination state has been reached and set The value of , to obtain the reward feedback of each signal base station Determine the first state tuple And the first state tuple Stored in experience replay pool B, where the reward feedback is related to the signal coverage of the signal base station, signal attenuation, and the communication connection between the signal base stations; Step S230: When S t+1 When the termination state is reached, the current training phase is exited and steps S210 to S220 are executed again. When the data collection end condition is met, H historical samples are taken from the experience replay pool B. Based on H historical samples The first loss function and the second loss function are used to update the network parameters of the base station learning network and the base station action learning network; Wherein, the method further includes: obtaining reward feedback of each signal base station in the target area through the following steps: obtaining the signal coverage range, propagation step length, and communication connection information between signal base stations of each signal base station in the target area, wherein the communication connection information is the communication connection status between signal base stations; determining a first reward value of each signal base station in the target area according to the signal coverage range; determining a second reward value of each signal base station in the target area according to the propagation step length and a preset signal attenuation coefficient; determining a third reward value of each signal base station in the target area according to the communication connection information between the signals; determining reward feedback of each signal base station in the target area according to the first reward value, the second reward value, the third reward value, and the weight corresponding to each reward value; Among them, according to the communication connection information between the signals, the third reward value of each signal base station in the target area is determined, including: determining a reward C, where C is a positive number; when it is determined according to the communication connection information that the target signal base station in the target area has no communication connection with all other signal base stations in the target area, the third reward value of the target signal base station is determined to be -C; when it is determined according to the communication connection information that the target signal base station in the target area has a communication connection with other signal base stations in the target area, the third reward value of the target signal base station is determined to be C.
2. The base station planning method according to claim 1, characterized in that: Before step S210, the method further includes: Initializing network parameters of the base station learning network and the base station action network; Initialize the size of the experience replay pool B; Initialize the target area and the initial coordinates of all signal base stations in the target area.
3. The base station planning method according to claim 1, characterized in that: Determining reward feedback of each signal base station in the target area according to the first reward value, the second reward value, the third reward value, and the weight corresponding to each reward value includes: Determine a first weight corresponding to the first reward value, a second weight corresponding to the second reward value, and a third weight corresponding to the third reward value; The reward feedback of the i-th signal base station in the target area is calculated by the following formula: r i =a1r i 1 +a2r i 2 +a3r i 3 ; Among them, r i is the reward feedback of the i-th signal base station in the target area, a1 is the first weight, r i 1 is the first reward value of the i-th signal base station in the target area, a2 is the second weight, r i 2 The second reward value of the i-th signal base station in the target area, a3 is the third weight, r i 3 A third reward value of the i-th signal base station in the target area.
4. The base station planning method according to claim 1, characterized in that: Based on H historical samples The first loss function and the second loss function update the network parameters of the base station learning network and the base station action learning network, including: Based on H historical samples and the first loss function, updating the first network parameter θ of the base station learning network Q ; Based on H historical samples and a second loss function, updating a second network parameter θ of the base station action learning network i u ; According to the first network parameter θ Q and the second network parameter θ i u , update the TARGET network parameters corresponding to the base station learning network and the base station action learning network.
5. The base station planning method according to claim 1, characterized in that: Each signal base station in the target area maintains a base station learning network and a base station action learning network, and the base station learning network is used to guide the signal base station to train the base station action learning network.
6. A base station planning device, characterized in that: include: The observation value acquisition module is used to obtain the first environmental observation value of each signal base station in the target area at time t Determine the execution action of each signal base station according to the first environmental observation value and the base station action learning network An execution module is used to execute actions according to the Update the current status S of all signal base stations t Updated to S t+1 , judge S t+1 Whether the termination state has been reached and set The value of , to obtain the reward feedback of each signal base station Determine the first state tuple And the first state tuple Stored in experience replay pool B, where the reward feedback is related to the signal coverage of the signal base station, signal attenuation, and the communication connection between the signal base stations; Parameter update module, used when S t+1 When the termination state is reached, the current training phase is exited, and the functions of the observation acquisition module and the execution module are repeatedly executed. When the data collection end condition is met, H historical samples are taken from the experience replay pool B. Based on H historical samples The first loss function and the second loss function are used to update the network parameters of the base station learning network and the base station action learning network; Wherein, the execution module is also used to obtain reward feedback of each signal base station in the target area through the following steps: obtain the signal coverage range, propagation step length, and communication connection information between signal base stations in the target area, wherein the communication connection information is the communication connection status between signal base stations; determine the first reward value of each signal base station in the target area according to the signal coverage range; determine the second reward value of each signal base station in the target area according to the propagation step length and the preset signal attenuation coefficient; determine the third reward value of each signal base station in the target area according to the communication connection information between the signals; determine the reward feedback of each signal base station in the target area according to the first reward value, the second reward value, the third reward value and the weight corresponding to each reward value; Among them, according to the communication connection information between the signals, the third reward value of each signal base station in the target area is determined, including: determining a reward C, where C is a positive number; when it is determined according to the communication connection information that the target signal base station in the target area has no communication connection with all other signal base stations in the target area, the third reward value of the target signal base station is determined to be -C; when it is determined according to the communication connection information that the target signal base station in the target area has a communication connection with other signal base stations in the target area, the third reward value of the target signal base station is determined to be C.
7. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the base station planning method according to any one of claims 1 to 5 by executing the executable instructions.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the base station planning method described in any one of claims 1 to 5 is implemented.
