Multi-task parallel intelligent beam management method and device, medium and program product
By dividing multiple threads in intelligent beam management and determining their distribution method, the problem of high consumption of deep neural network computing resources is solved, efficient multi-task parallel management is achieved, and the stability and flexibility of the system are ensured.
Patent Information
- Application Number
- CN202410925449.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-10-15
AI Technical Summary
Deep neural networks consume large amounts of computing resources in intelligent beam management, making it difficult to deploy beam tracking algorithms and achieve efficient parallel management on terminal devices.
By dividing the wireless communication system into multiple threads, including data processing threads, beam scheduling threads, beam selection threads and AI training threads, and determining the thread distribution method according to the number of CPU cores, ensuring that each thread is independent or sharing the CPU core, control Threads manage beams according to preset triggering patterns to achieve multi-tasking parallelism.
Effectively isolate anomalies, reduce the impact between threads, maximize the use of CPU computing power, speed up the execution of intelligent beam tracking algorithms, and improve the flexibility of beam management.
Smart Images

Figure CN118779108A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a multi-task parallel intelligent beam management method, device, medium and program product. Background Art
[0002] With the continuous development of communication technology, various new mobile communication services are constantly emerging, and their requirements for system transmission bandwidth are getting higher and higher. Unlike low-frequency bands, high-frequency communication systems need to use beamforming technology to adjust the transmission direction of wireless signals in real time, and point the signal to the user's location for transmission, thereby effectively improving the signal-to-interference-to-noise ratio and ensuring high-speed and stable data transmission. Since the beam width of high-frequency communication systems is very narrow and the number of beams is huge, it is necessary to quickly search for the optimal beam that meets the current communication needs among the numerous beams.
[0003] At present, AI-based intelligent beam management algorithms have made great progress. They use the powerful learning and representation capabilities of neural networks to quickly determine the current user location based on the signals received by the system, thereby efficiently and accurately giving updated beams.
[0004] However, unlike traditional algorithms, the deep neural network in the intelligent beam tracking algorithm consumes a lot of computing resources and requires high-performance computing units to be configured on the terminal device, which also makes the deployment of the beam tracking algorithm difficult. Summary of the invention
[0005] Based on this, it is necessary to provide a multi-task parallel intelligent beam management method, device, medium and program product with extremely high flexibility, which can ensure that exceptions are isolated within one thread and will not affect the normal operation of other threads, in response to the above technical problems.
[0006] In a first aspect, the present application provides a multi-task parallel intelligent beam management method, comprising:
[0007] According to the requirements of different types of tasks in the wireless communication system for time and computing resources, the wireless communication system is divided into multiple threads; wherein the multiple threads include: a data processing thread, a beam scheduling thread, a beam selection thread, and an AI training thread;
[0008] Determining a distribution mode of the multiple threads according to computing resources of the wireless communication system, wherein the computing resources include: the number of CPU cores; the distribution mode includes: each thread occupies an independent CPU core, or an AI training thread occupies an independent CPU core, and two or more threads among a data processing thread, a beam scheduling thread, and a beam selection thread share the same CPU core;
[0009] Control each thread according to the preset trigger form to manage the beams when multiple tasks are running in parallel.
[0010] In one embodiment, determining the distribution mode of the multiple threads according to the computing resources of the wireless communication system includes:
[0011] When the number of CPU cores in the wireless communication system is not less than a first preset value, the data processing thread, the beam scheduling thread, the beam selection thread, and the AI training thread respectively occupy independent CPU cores;
[0012] When the number of CPU cores in the wireless communication system is less than a first preset value, respectively counting the average working time and the average idle time of the data processing thread and the beam scheduling thread within each trigger cycle; if the average idle time of the data processing thread is greater than the average working time of the beam scheduling thread, and the average working time of the data processing thread is less than the trigger cycle of the beam scheduling thread, allowing the data processing thread and the beam scheduling thread to be merged and run on the same CPU core;
[0013] The average working time of the beam selection thread after each triggering is counted; if the average working time of the beam selection thread is less than the average idle time of the data processing thread and the beam scheduling thread at the same time, and the average working time of the beam selection thread is also less than the difference between the average idle time of the data processing thread and the average working time of the beam scheduling thread, then the data processing thread, the beam scheduling thread and the beam selection thread are allowed to be combined and run on the same CPU core.
[0014] In one embodiment, the controlling each thread to manage beams during multi-tasking in parallel according to a preset triggering form includes:
[0015] The control data processing thread is triggered periodically with a time slot, processes the data according to the format specified by the protocol, delivers the transmitted data to the antenna, and delivers the received data to the application.
[0016] In one embodiment, the controlling each thread to manage beams during multi-tasking in parallel according to a preset triggering form includes:
[0017] The control beam scheduling thread uses the time slot as a trigger period, or uses the OFDM symbol length as a trigger period, and configures the beam corresponding to the user terminal for the OFDM symbol according to the user terminal to which the data on each OFDM symbol needs to be delivered.
[0018] In one embodiment, the controlling each thread to manage beams during multi-tasking in parallel according to a preset triggering form includes:
[0019] The control beam selection thread uses a periodic or non-periodic beam update signal as a trigger condition, and updates the beam for each user through a preset algorithm; wherein the periodic beam update signal is triggered by a preset beam selection period, and the non-periodic beam update signal is triggered according to the user's communication quality.
[0020] In one embodiment, the controlling each thread to manage beams during multi-tasking in parallel according to a preset triggering form includes:
[0021] Control the AI training thread to update the weights of the neural network using a periodic or non-periodic training signal as a trigger condition, wherein the weights of the neural network are used to regulate the training process of the AI training thread, wherein the periodic training signal is triggered by a preset training cycle, and the triggering form of the non-periodic training signal includes any one or more of the following methods:
[0022] The user's communication quality has been lower than a first threshold value for a preset period of time;
[0023] The idleness of computing resources in the current wireless communication system is greater than a second threshold;
[0024] The amount of newly added untrained samples is greater than the third threshold;
[0025] The time from the end of the last training is greater than the fourth threshold.
[0026] In one of the embodiments, when the beam scheduling thread is triggered to run, the method further includes:
[0027] If the data on the OFDM symbol is a broadcast or multicast message, configuring a broadcast or multicast beam for the OFDM symbol;
[0028] If the beam scheduling thread configures a beam for an OFDM symbol occupied by a user in a time slot, the beam information corresponding to the user comes from the beam selection thread, and the beam scheduling thread communicates with the beam selection thread in an asynchronous manner.
[0029] In one of the embodiments, when the beam selection thread is triggered to run, the method further includes:
[0030] The beam selection thread allocates a beam to each user according to the neural network parameters provided by the AI training thread, and the beam selection thread communicates with the AI training thread in an asynchronous manner; or,
[0031] When the AI training thread is disabled, the beam selection thread reads the pre-stored neural network parameters from the memory and assigns a beam to each user according to the read neural network parameters.
[0032] In one of the embodiments, when the number of CPU cores in the wireless communication system is greater than a second preset value, the method further includes:
[0033] Dynamically allocate beam selection threads through the configured computation thread pool;
[0034] When the computing thread pool receives a beam update signal from the terminal, an idle thread is allocated from the computing thread pool as a beam selection thread;
[0035] If there is no idle thread in the computing thread pool, the beam update signal of the terminal is stored in the queue and processed after the thread in the computing thread pool is released.
[0036] In one of the embodiments, when the number of CPU cores in the wireless communication system is greater than a second preset value, the method further includes:
[0037] Dynamically allocate AI training threads through the configured computing thread pool;
[0038] When the computing thread pool receives a training signal for the AI training thread, it checks the thread status in the current pool and allocates the number of threads participating in this training to the AI training thread according to the thread status and the sample size of this training; wherein the thread status includes: the number of threads processing the beam update signal and the number of idle threads.
[0039] In a second aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0040] According to the requirements of different types of tasks in the wireless communication system for time and computing resources, the wireless communication system is divided into multiple threads; wherein the multiple threads include: a data processing thread, a beam scheduling thread, a beam selection thread, and an AI training thread;
[0041] Determining a distribution mode of the multiple threads according to computing resources of the wireless communication system, wherein the computing resources include: the number of CPU cores; the distribution mode includes: each thread occupies an independent CPU core, or an AI training thread occupies an independent CPU core, and two or more threads among a data processing thread, a beam scheduling thread, and a beam selection thread share the same CPU core;
[0042] Control each thread according to the preset trigger form to manage the beams when multiple tasks are running in parallel.
[0043] In a third aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0044] According to the requirements of different types of tasks in the wireless communication system for time and computing resources, the wireless communication system is divided into multiple threads; wherein the multiple threads include: a data processing thread, a beam scheduling thread, a beam selection thread, and an AI training thread;
[0045] Determining a distribution mode of the multiple threads according to computing resources of the wireless communication system, wherein the computing resources include: the number of CPU cores; the distribution mode includes: each thread occupies an independent CPU core, or an AI training thread occupies an independent CPU core, and two or more threads among a data processing thread, a beam scheduling thread, and a beam selection thread share the same CPU core;
[0046] Control each thread according to the preset trigger form to manage the beams when multiple tasks are running in parallel.
[0047] In a fourth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0048] According to the requirements of different types of tasks in the wireless communication system for time and computing resources, the wireless communication system is divided into multiple threads; wherein the multiple threads include: a data processing thread, a beam scheduling thread, a beam selection thread, and an AI training thread;
[0049] Determining a distribution mode of the multiple threads according to computing resources of the wireless communication system, wherein the computing resources include: the number of CPU cores; the distribution mode includes: each thread occupies an independent CPU core, or an AI training thread occupies an independent CPU core, and two or more threads among a data processing thread, a beam scheduling thread, and a beam selection thread share the same CPU core;
[0050] Control each thread according to the preset trigger form to manage the beams when multiple tasks are running in parallel.
[0051] The above-mentioned multi-task parallel intelligent beam management method, device, medium and program product divide the wireless communication system into multiple threads according to the requirements of different types of tasks in the wireless communication system for time and computing resources, wherein the multiple threads include: data processing thread, beam scheduling thread, beam selection thread, and AI training thread. Thus, the system can be divided into multiple threads according to function, and reasonable scheduling can be made according to the requirements of each thread for computing resources to reduce the impact on each other. By determining the distribution mode of the multiple threads according to the computing resources of the wireless communication system, wherein the computing resources include: the number of CPU cores; the distribution mode includes: each thread occupies an independent CPU core, or the AI training thread occupies an independent CPU core, and two or more threads of the data processing thread, beam scheduling thread, and beam selection thread share the same CPU core. Thus, it can ensure that beam scheduling, beam selection and beam training operations are carried out in sequence according to a certain timing, and when an exception occurs, it can also ensure that the exception can be isolated in one thread without affecting the normal operation of other threads. By controlling each thread according to the preset trigger form, the beam in multi-task parallel is managed. This can maximize the use of the CPU's computing power, speed up the execution of the intelligent beam tracking algorithm, and provide more flexibility in beam management. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 An application environment diagram of a multi-task parallel intelligent beam management method in one embodiment;
[0054] Figure 2 A schematic diagram of a flow chart of a multi-task parallel intelligent beam management method in one embodiment;
[0055] Figure 3 A schematic diagram of a smart beam management architecture in one embodiment;
[0056] Figure 4 is a flow chart of a multi-task parallel intelligent beam management method in another embodiment;
[0057] Figure 5 A schematic diagram of a smart beam management architecture including a computing thread pool in one embodiment;
[0058] Figure 6is a flowchart of a multi-task parallel intelligent beam management method in another embodiment;
[0059] Figure 7 A schematic diagram of a feasible timing relationship between threads during multi-task parallel intelligent beam management in one embodiment;
[0060] Figure 8 A schematic diagram of the execution flow of a beam selection thread and a beam scheduling thread in one embodiment;
[0061] Fig. 9 A schematic diagram of the execution flow of a beam selection thread and a beam scheduling thread in another embodiment;
[0062] Fig.10 A schematic diagram of the execution flow of a beam selection thread and a beam scheduling thread in yet another embodiment;
[0063] Fig.11 A structural block diagram of a multi-task parallel intelligent beam management device in one embodiment;
[0064] Fig.12 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0066] The multi-task parallel intelligent beam management method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown in FIG. 1 , the terminal 102 communicates with the server 104 via a network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or placed on the cloud or other network servers. Figure 1A common wireless communication architecture scenario is given in , where there are many different types of task interactions between the terminal 102 and the server. Therefore, the wireless communication system can be divided into multiple threads (for example: data processing thread, beam scheduling thread, beam selection thread, and AI training thread) according to the requirements of different types of tasks in the wireless communication system for time and computing resources. According to the computing resources of the wireless communication system, the distribution mode of the multiple threads is determined, wherein the computing resources include: the number of CPU cores; the distribution mode includes: threads occupying independent CPU cores, and / or, two or more threads other than the AI training thread share the same CPU core. Then, each thread is controlled to manage the beams during multi-tasking in parallel according to the preset trigger form to ensure the communication quality. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head mounted device may be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The server 104 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0067] In an exemplary embodiment, Figure 2 As shown, a multi-task parallel intelligent beam management method is provided. This embodiment uses the method applied to a wireless communication system (such as a base station, a dispatch center, a central processing unit, and other devices with computing capabilities) as an example. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0068] Step 201 : dividing the wireless communication system into multiple threads according to the requirements of different types of tasks in the wireless communication system for time and computing resources.
[0069] In this embodiment, considering that different threads have different scheduling requirements for time, the wireless communication system can be divided into multiple threads according to the requirements of different types of tasks in the wireless communication system for time and computing resources. For example, the data processing thread and the beam scheduling thread require a higher scheduling frequency, but require relatively fewer computing resources, while the beam selection thread and the AI (Artificial Intelligence) training thread have relatively low timeliness requirements, but they consume a lot of computing resources.
[0070] Exemplarily, according to the requirements of different types of tasks in the wireless communication system for time and computing resources, it can be divided into: data processing thread, beam scheduling thread, beam selection thread, and AI training thread.
[0071] It should be noted that this implementation does not limit the number of threads to be divided and the tasks performed by each thread. Those skilled in the art can make more detailed divisions of threads according to the actual high-frequency wireless communication system, or add new threads to perform new tasks.
[0072] Step 202: Determine the distribution mode of multiple threads according to the computing resources of the wireless communication system.
[0073] In this embodiment, the computing resources include: the number of CPU cores; the distribution method includes: each thread occupies an independent CPU core, or the AI training thread occupies an independent CPU core, and two or more threads among the data processing thread, the beam scheduling thread, and the beam selection thread share the same CPU core.
[0074] Exemplarily, when the number of CPU cores in the wireless communication system is not less than a first preset value, the data processing thread, beam scheduling thread, beam selection thread, and AI training thread each occupy an independent CPU core. It should be noted that the first preset value is an empirical value set according to the actual communication system, or it may be a test value obtained when the communication system is tested and operated (i.e., determining the minimum number of CPU cores required for the normal operation of the communication system). This embodiment does not limit the specific value of the first preset.
[0075] In this embodiment, in order to effectively prevent the consumption of computing resources by the beam selection thread and the AI training thread from affecting the normal operation of the beam scheduling thread and the data processing thread, different CPU (Central Processing Unit) cores should be allocated to each thread as much as possible, so that the physical resources between the threads are as completely independent as possible. If there are a large number of CPU cores in the system, an independent CPU core can be set for each thread. That is, the data processing thread, beam scheduling thread, beam selection thread, and AI training thread occupy independent CPU cores respectively. In this way, each thread does not occupy each other's computing resources, taking into account the timeliness requirements of the data processing thread and the beam scheduling thread, as well as the computing resource requirements of the beam selection thread and the AI training thread.
[0076] In this embodiment, if the number of CPU cores in the system is small (for example, the number of CPU cores is less than the first preset value), some threads can be merged and run on one CPU core. This can also meet the requirements of the data processing thread and the beam scheduling thread for timeliness, as well as the requirements of the beam selection thread and the AI training thread for computing resources.
[0077] For example, considering that the scheduling periods of the data processing thread and the beam scheduling thread are basically the same, if the CPU core is powerful enough, it can ensure that the sum of the execution time of the data processing thread and the beam scheduling thread is less than one time slot, or the above two threads can be merged into one CPU core and executed sequentially.
[0078] Exemplarily, when the number of CPU cores in the wireless communication system is less than a first preset value, the average working time and the average idle time of the data processing thread and the beam scheduling thread within their respective trigger cycles are respectively counted; if the average idle time of the data processing thread is greater than the average working time of the beam scheduling thread, and the average working time of the data processing thread is less than the trigger cycle of the beam scheduling thread, the data processing thread and the beam scheduling thread are allowed to be merged and run on the same CPU core.
[0079] Exemplarily, when the number of CPU cores in the wireless communication system is less than a first preset value, the average working time of the beam selection thread after each triggering can also be counted. If the average working time of the beam selection thread is less than the average idle time of the data processing thread and the beam scheduling thread at the same time, and the average working time of the beam selection thread is also less than the difference between the average idle time of the data processing thread and the average working time of the beam scheduling thread, then the data processing thread, the beam scheduling thread and the beam selection thread are allowed to be combined and run on the same CPU core.
[0080] Among them, due to the large amount of calculation of the AI training thread, in order to ensure the normal operation of the communication system, the AI training thread must occupy an independent CPU core during setting. Therefore, in theory, it is impossible to merge the AI training thread with other threads and run them on one CPU core.
[0081] Step 203: Control each thread to manage the beams during multi-task parallel execution according to a preset triggering mode.
[0082] In this embodiment, a multi-task parallel processing solution is adopted, which can better handle the scheduling between various threads and reduce mutual influence. Among them, various threads can communicate in an asynchronous manner, and allow two threads communicating with each other to be written in different languages, so that it has great flexibility and can adapt to different language platforms and different architectures of intelligent beam tracking algorithms. Optionally, different trigger forms are set for each thread. When multiple tasks are parallel, when the thread is triggered, it can run independently, so that the computing power of the CPU can be well utilized to improve the execution speed of the intelligent beam tracking algorithm.
[0083] For example, Figure 3 As shown, in Figure 3 The intelligent beam management architecture is presented in the figure, which includes at least: data processing thread, beam scheduling thread, beam selection thread, and AI training thread.
[0084] Exemplarily, the data processing thread may be controlled to be triggered periodically with a time slot, the data may be processed according to the format specified by the protocol, and the transmit data may be delivered to the antenna, and the receive data may be delivered to the upper layer application.
[0085] Exemplarily, the beam scheduling thread can be controlled to use time slots as trigger periods, or use OFDM (Orthogonal Frequency Division Multiplexing) symbol length as trigger periods, and configure the beam corresponding to the user for each OFDM symbol according to the user to whom the data on each OFDM symbol needs to be delivered.
[0086] Exemplarily, the beam selection thread can be controlled to use a periodic or non-periodic beam update signal as a trigger condition, and the beam is updated for each user through a preset algorithm; wherein the periodic beam update signal adopts a preset beam selection period, and the non-periodic beam update signal is triggered according to the user's communication quality.
[0087] Exemplarily, the AI training thread may also be controlled to update the weights of the neural network with a periodic or non-periodic training signal as a trigger condition, and the weights of the neural network are used to regulate the training process of the AI training thread, wherein the periodic training signal adopts a preset training cycle (for example, several milliseconds, in ms, or a suitable cycle may be set according to the average residence time of the beam in the previous period, or may be different from the beam selection cycle), and the triggering form of the non-periodic training signal includes any one or more of the following methods:
[0088] The user's communication quality has been lower than the first threshold value for a preset period of time (for example, the block error rate of the user data is greater than 10% for 10 ms continuously);
[0089] The idleness of computing resources in the current wireless communication system is greater than a second threshold;
[0090] The amount of newly added untrained samples is greater than the third threshold;
[0091] The time from the end of the last training is greater than the fourth threshold.
[0092] It should be noted that the triggering conditions for the AI training thread in this embodiment are not limited to the above forms, and targeted triggering conditions can also be set according to different beam selection threads. In addition, regulating the training process of the AI training thread through the weights of the neural network means: assuming that s training samples are roughly evenly distributed to m' threads, each thread calculates the back propagation gradient of all samples assigned to the thread in the neural network; when the AI training thread performs the training task, assuming that all the weights of the neural network are roughly evenly distributed to m' threads, and then each thread uses the back propagation gradient to update all the neural network weights assigned to the thread, the training task is completed.
[0093] In this embodiment, the data processing thread and the beam scheduling thread require a scheduling frequency of the order of microseconds (us). If the relevant processing cannot be completed within the required time period, it will affect the stability of the entire communication system, resulting in data loss or even complete interruption of communication. The beam selection thread requires a scheduling frequency of the order of ms to s. If the scheduling period is too small, a large amount of computing resources will be consumed. If the scheduling period is too large, it will not be able to track the user's latest location in time. The AI training thread has very low requirements for timeliness and can adapt to the current communication environment on a time scale of minutes to hours, but it consumes a lot of computing resources. If it is not properly handled, it may affect the operation of the data processing thread and the beam scheduling thread, resulting in communication abnormalities. To solve these problems, the following triggering forms are adopted:
[0094] In an optional implementation, when the beam scheduling thread is triggered to run, if the data on the OFDM symbol is a broadcast or multicast message, a broadcast or multicast beam is configured for the OFDM symbol (the broadcast or multicast beam has a wide width and a large coverage range and can cover multiple users at the same time).
[0095] Optionally, when the beam scheduling thread configures a beam for an OFDM symbol occupied by a user in a time slot, the beam information corresponding to the user comes from the beam selection thread, and the beam scheduling thread communicates with the beam selection thread in an asynchronous manner. That is, the execution of the beam scheduling thread does not need to wait for the execution result of the beam selection thread.
[0096] Specifically, the beam scheduling thread can obtain the current communication beam information of each user from the beam selection thread through socket, shared memory, pipe, etc. If the current beam information of the user is not obtained due to the fact that the calculation process of the beam selection thread has not been completed or other reasons, the beam scheduling thread will not wait, but directly use the beam information of the user in the previous time slot for configuration. This operation can prevent the slow execution of the beam selection thread to the greatest extent and affect the normal operation of the beam scheduling thread.
[0097] In another optional implementation, the beam selection thread allocates a beam to each user according to the neural network parameters provided by the AI training thread, and the beam selection thread communicates with the AI training thread in an asynchronous manner; or, when the AI training thread is disabled, the beam selection thread reads pre-stored neural network parameters from the memory, and allocates a beam to each user according to the read neural network parameters.
[0098] Exemplarily, when the beam selection thread allocates a beam to each user, there are several implementation methods:
[0099] The first type: The beam selection thread first determines a small number of detection beams through the AI detection algorithm based on the neural network parameters obtained from the AI training thread. Then the beam scheduling thread measures these detection beams through reference signals. For example, it can measure the power, signal-to-noise ratio, bit error rate, etc. of the beams, and then pass the measurement results to the beam selection thread. Finally, the beam selection thread uses these feedback measurement results and the obtained neural network parameters to determine the user's communication beam through the AI decision algorithm.
[0100] The second type: The beam selection thread first determines a small number of detection beams through the AI detection algorithm based on the neural network parameters obtained from the AI training thread, and then the beam scheduling thread measures these detection beams through reference signals. Finally, the best beam is selected as the user's communication beam based on the measurement results.
[0101] The third method is to pre-assign several sounding beams to the beam scheduling thread, and these sounding beams are fixed. Each time the user updates the beam, the beam scheduling thread measures these fixed sounding beams through the reference signal and delivers the measurement results to the beam selection thread. The beam selection thread then uses the measurement results and a certain AI decision algorithm to determine the user's communication beam.
[0102] In this embodiment, when the beam selection thread allocates a beam to each user, the neural network parameters it relies on come from the AI training thread, and the beam selection thread and the AI training thread should also communicate in an asynchronous manner, that is, the execution of the beam selection thread does not need to wait for the execution result of the AI training thread. Specifically, the beam selection thread can obtain the neural network parameters from the AI training thread through socket, shared memory, pipe, etc. If the calculation process of the AI training thread has not been completed or is not obtained for other reasons, the beam selection thread will not wait, but directly use the neural network parameters of the last inference for calculation.
[0103] It should be noted that the asynchronous communication method has three main functions: 1) It can avoid dependencies between threads as much as possible and prevent the impact of low-timeliness threads on high-timeliness threads to the greatest extent. Even if the low-timeliness thread fails to output results within the specified time range due to some abnormal reasons, it will not affect the operation of the high-timeliness thread; 2) In some systems with extremely tight computing resources, the AI training thread can be disabled, and the pre-trained neural network parameters can be stored in the memory. The beam selection thread reads the neural network parameters from the memory. The entire system can still operate, but due to the lack of real-time training threads, it can only be used in occasions with relatively fixed communication environments; 3) It allows two threads (processes) that communicate with each other to be written in different languages, supporting cross-platform deployment of AI algorithms.
[0104] In this embodiment, the wireless communication system is divided into multiple threads according to the requirements of different types of tasks in the wireless communication system for time and computing resources. This ensures that beam scheduling, beam selection, and beam training operations are performed in a certain sequence, and when an exception occurs, it can also ensure that the exception can be isolated in one thread without affecting the normal operation of other threads. By controlling each thread according to a preset trigger form, the beam is managed when multiple tasks are performed in parallel. This makes it possible to maximize the use of the CPU's computing power, speed up the execution of the intelligent beam tracking algorithm, and be more flexible in the way of beam management.
[0105] In an exemplary embodiment, Figure 4 As shown, another multi-task parallel intelligent beam management method is provided. The method in this embodiment may include the following steps:
[0106] Step 401 : dividing the wireless communication system into multiple threads according to the requirements of different types of tasks in the wireless communication system for time and computing resources.
[0107] Step 402: Determine the distribution mode of multiple threads according to the computing resources of the wireless communication system.
[0108] Steps 401 to 402 in this embodiment are similar to Figure 2 The implementation means and technical effects of steps 201 to 202 in the method shown are similar, see Figure 2 The relevant descriptions in the method shown will not be repeated here.
[0109] Step 403: dynamically allocate beam selection threads through the configured computing thread pool.
[0110] In this embodiment, when the number of CPU cores in the wireless communication system is greater than the second preset value, a computing thread pool can be set. The computing thread pool is used to dynamically allocate threads to beam selection threads. It should be noted that the second preset value is an empirical value set according to the actual communication system, or it can also be determined based on the actual operation effect of the communication system to determine whether the current computing resources are sufficient (if sufficient, a computing thread pool can be set). Theoretically, the second preset value is greater than the first preset in the aforementioned embodiment. This embodiment does not limit the specific value of the second preset.
[0111] For example, Figure 5 As shown, in Figure 5 The intelligent beam management architecture including the computing thread pool is shown in the figure. When the thread pool technology is used, the specific implementation process of the data processing thread and the beam scheduling thread is the same as the above Figure 2 The embodiments in the method shown are the same and unchanged, because both are frequently scheduled and have low demand for computing resources, and are still bound to specific CPU cores, isolated from beam selection and AI training functions. Except for the CPU cores occupied by data processing threads and beam scheduling threads, the remaining CPU cores are each bound to a computing thread, and all computing threads are uniformly organized into a computing thread pool for management.
[0112] Step 404: When the computing thread pool receives a beam update signal from the terminal, an idle thread is allocated from the computing thread pool as a beam selection thread.
[0113] In this embodiment, when the computing thread pool receives a beam update signal from a terminal, an idle thread is allocated from the computing thread pool, the parameters of the neural network are read for calculation, and a detection beam or a communication beam is given.
[0114] Step 405: If there is no idle thread in the computing thread pool, the beam update signal of the terminal is stored in a queue and is processed after waiting for the thread in the computing thread pool to be released.
[0115] In this embodiment, if there is no idle thread at this time, the beam update signal of the terminal can be stored in the queue and processed after the thread in the computing thread pool is released. The computing thread pool needs to count the frequency of the beam update signal. For example, after a period of time, the thread pool can know that it will receive a beam update signal once every k time slots on average, and it takes an average of p time slots from the arrival of the beam update signal to the completion of the processing by the calling thread. Based on the above data, it can be inferred that, on average, there are always about p / k threads in the thread pool for processing the beam update signal of the terminal.
[0116] Step 406, controlling each thread to manage beams during multi-task parallel execution according to a preset triggering mode.
[0117] Step 406 in this embodiment is Figure 2 The implementation means and technical effects of step 203 in the method shown are similar, see Figure 2 The relevant descriptions in the method shown will not be repeated here.
[0118] This embodiment can be applied to platforms with abundant computing resources. By dynamically allocating beam selection threads in the thread pool, the computing power of the CPU can be maximized, the execution speed of the intelligent beam tracking algorithm can be accelerated, and two threads that communicate with each other can be written in different languages. This embodiment has great flexibility and can adapt to intelligent beam tracking algorithms of different language platforms and different architectures.
[0119] In an exemplary embodiment, Figure 6 As shown, another multi-task parallel intelligent beam management method is provided. The method in this embodiment may include the following steps:
[0120] Step 601 : dividing the wireless communication system into multiple threads according to the requirements of different types of tasks in the wireless communication system for time and computing resources.
[0121] Step 602: Determine the distribution mode of multiple threads according to the computing resources of the wireless communication system.
[0122] Steps 601 to 602 in this embodiment are similar to Figure 2 The implementation means and technical effects of steps 201 to 202 in the method shown are similar, see Figure 2 The relevant descriptions in the method shown will not be repeated here.
[0123] Step 603: Dynamically allocate AI training threads through the configured computing thread pool.
[0124] This embodiment can also be seen Figure 5In the architecture shown, the computing thread pool obtains the sounding beam measurement results from the beam scheduling thread, so that it can determine the number of threads allocated to the AI training thread for training after comprehensive consideration according to the number of threads occupied by the beam scheduling thread.
[0125] Step 604, when the computing thread pool receives a training signal for the AI training thread, check the thread status in the current pool.
[0126] In this embodiment, the thread status includes: the number of threads processing the beam update signal and the number of idle threads.
[0127] Step 605, allocate the number of threads participating in this training to the AI training thread according to the thread status and the sample size of this training.
[0128] In this embodiment, after the computing thread pool receives the training signal, it checks the thread status in the current pool. Assume that the number of threads processing the beam update signal is n, the number of idle threads is m, and the sample size of this training is s. n, m, and s are positive integers. Then, the training signal is processed according to the following method:
[0129] 1) Determine whether threads need to be reserved for processing the beam update signal. If n ≥ p / k, it means that the number of threads in the thread pool for processing the beam update signal has reached or exceeded the average level, and no more threads are reserved; if n < p / k, it means that the number of threads in the thread pool for processing the beam update signal has not reached the average level, and reserve
[0130]
[0131] threads, and the remaining number of threads
[0132] 2) Determine the number of threads allocated to this training task. Compare the remaining number of threads m' with the sample size s of the training. If m' ≤ s, allocate all m' threads to this training task; if m' > s, select s threads to be allocated to this training task.
[0133] 3) Roughly evenly distribute s training samples to m' threads. Each thread calculates the backpropagation gradient of all samples allocated to this thread in the neural network and saves the results in the global memory that can be shared by all threads.
[0134] 4) Roughly evenly distribute all the weights of the neural network to m' threads. Each thread updates all the neural network weights allocated to this thread using the above backpropagation gradient, and the training task is completed.
[0135] Step 606 in this embodiment is the same as Figure 2 The implementation means and technical effects of step 203 in the method shown are similar, see Figure 2 The relevant descriptions in the method shown will not be repeated here.
[0136] In this embodiment, by evenly distributing the training tasks to m' threads, that is, taking into account the frequency of the beam update signal, resources are reserved, which does not affect the timely processing of the beam update signal and also makes full use of the remaining computing power to speed up the training speed, which helps the rapid convergence of the neural network, thereby improving the accuracy of beam tracking.
[0137] In an exemplary embodiment, Figure 7 As shown, in Figure 7 A feasible timing relationship between the threads in the multi-task parallel intelligent beam management method is shown in Figure 1. When a time slot interruption occurs, the beam scheduling thread reads the communication beam of the user corresponding to the data transmitted in the time slot and indicates the beam of the RF front end. If it is multicast or broadcast data, the corresponding multicast or broadcast beam is read and the beam of the RF front end is indicated. When the beam update signal arrives, the detection beam of the corresponding user is read and measured, and the measurement result is notified to the beam selection thread. The beam selection thread calls the beam selection algorithm to update the communication beam and the detection beam.
[0138] It should be noted that there are several triggering methods for the beam detection interrupt signal: 1) setting a fixed trigger period and triggering periodically; 2) triggering based on the current communication quality when the communication quality is lower than a preset threshold; 3) triggering when the remaining effective duration of the current communication beam is less than the sum of the beam detection duration and the neural network inference duration.
[0139] Exemplarily, for a high-frequency wireless communication system equipped with a computing thread pool, when a beam update signal arrives, an idle thread is allocated from the thread pool as a beam selection thread, and the timing relationship between the thread and other threads is the same as Figure 7 The same as the beam selection thread in , when the training signal arrives, several idle threads are allocated from the thread pool as beam training threads. The timing relationship between these threads and other threads is Figure 7 The same beam training thread in .
[0140] In an exemplary embodiment, Figure 8As shown, the execution process of the beam selection thread and the beam scheduling thread is shown, including: the beam selection thread is triggered by a periodic or non-periodic trigger condition; the beam selection thread obtains the neural network weights, and adjusts the AI detection algorithm according to the current communication system state to give a detection beam set; the beam scheduling thread uses the reference signal to measure the beams in the detection beam set, and notifies the beam selection thread of the measurement results; the beam selection thread obtains the neural network weights again, and gives the final communication beam according to the measurement results of the detection beam set through the AI decision algorithm; the beam scheduling thread obtains the final communication beam given by the beam selection thread and configures it to the RF front end. In this embodiment, the beam selection thread determines the detection beam set and the final communication beam.
[0141] In this embodiment, when a user's periodic or non-periodic beam update signal arrives, the trigger beam selection thread first determines a small number of detection beams through the AI detection algorithm based on the neural network parameters obtained from the AI training thread, and then the beam scheduling thread schedules the corresponding time-frequency resources, and measures these detection beams through reference signals. For example, the power, signal-to-noise ratio, bit error rate, etc. of the beam can be measured, and the measurement results are passed to the beam selection thread. The beam selection thread uses these measurement results and the obtained neural network parameters to determine the user's communication beam through the AI decision algorithm. After that, in each time slot period, when the user's data needs to be transmitted on a certain OFDM symbol, the beam scheduling thread will configure the user's communication beam for the OFDM symbol until the next beam update.
[0142] In another exemplary embodiment, Fig. 9 As shown, the execution process of the beam selection thread and the beam scheduling thread is shown, including: the beam selection thread is triggered by a periodic or non-periodic trigger condition; the beam selection thread obtains the neural network weight, and adjusts the AI detection algorithm according to the current communication system state to give a detection beam set; the beam scheduling thread uses the reference signal to measure the beams in the detection beam set, and obtains the final communication beam according to the measurement results; the beam scheduling thread configures the final communication beam to the RF front end. In this embodiment, the beam selection thread only determines the detection beam set, and the final communication beam is directly given by comparing the measurement results.
[0143] In this embodiment, when a user's periodic or non-periodic beam update signal arrives, the trigger beam selection thread obtains the neural network parameters from the AI training thread through asynchronous communication, and first determines a small number of detection beams through the AI detection algorithm, and then the beam scheduling thread schedules the corresponding time-frequency resources, measures these detection beams through reference signals, and then selects the best beam according to the measurement results to determine it as the user's communication beam. After that, in each time slot period, when the user's data needs to be transmitted on a certain OFDM symbol, the beam scheduling thread will configure the user's communication beam for the OFDM symbol until the next beam update.
[0144] In yet another exemplary embodiment, Fig.10 As shown, the execution process of the beam selection thread and the beam scheduling thread is shown, including: the beam selection thread is triggered by a periodic or non-periodic trigger condition; the beam scheduling thread uses a reference signal to measure the beams in the detection beam set, and notifies the beam selection thread of the measurement results; the beam selection thread obtains the neural network weights, and calls the AI decision algorithm according to the measurement results of the detection beam set to give the final communication beam; the beam scheduling thread obtains the final communication beam given by the beam selection thread and configures it to the RF front end. In this embodiment, the beam selection thread only determines the final communication beam, and the detection beam set adopts a fixed configuration and will not change.
[0145] In this embodiment, several sounding beams are pre-assigned to the beam scheduling thread, and these sounding beams are fixed. When a user's periodic or non-periodic beam update signal arrives, the beam scheduling thread schedules the corresponding time-frequency resources, measures these fixed sounding beams through reference signals, and notifies the beam selection thread of the measurement results. The beam selection thread then uses the measurement results and obtains the neural network parameters from the AI training thread through asynchronous communication to determine the user's communication beam. After that, in each time slot period, when the user's data needs to be transmitted on a certain OFDM symbol, the beam scheduling thread will configure the user's communication beam for the OFDM symbol until the next beam update.
[0146] It should be noted that different processes are suitable for different AI algorithms, which also reflects that the beam management method given in this embodiment has good universality and is compatible with different algorithm solutions.
[0147] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0148] Based on the same inventive concept, the embodiment of the present application also provides a multi-task parallel intelligent beam management device for implementing the multi-task parallel intelligent beam management method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more multi-task parallel intelligent beam management device embodiments provided below can refer to the limitations of the multi-task parallel intelligent beam management method above, and will not be repeated here.
[0149] In an exemplary embodiment, Fig.11 A multi-task parallel intelligent beam management device is provided, comprising: a thread division module 1110, a thread distribution mode determination module 1120, and a beam management module 1130, wherein:
[0150] The thread division module 1110 is used to divide the wireless communication system into multiple threads according to the requirements of different types of tasks in the wireless communication system for time and computing resources; wherein the multiple threads include: a data processing thread, a beam scheduling thread, a beam selection thread, and an AI training thread.
[0151] The thread distribution mode determination module 1120 is used to determine the distribution mode of the multiple threads according to the computing resources of the wireless communication system, wherein the computing resources include: the number of CPU cores; the distribution mode includes: each thread occupies an independent CPU core, or the AI training thread occupies an independent CPU core, and two or more threads among the data processing thread, the beam scheduling thread, and the beam selection thread share the same CPU core;
[0152] The beam management module 1130 is used to control each thread to manage the beams when multiple tasks are executed in parallel according to a preset triggering mode.
[0153] Exemplarily, the thread distribution mode determination module 1120 is specifically configured to:
[0154] When the number of CPU cores in the wireless communication system is not less than a first preset value, the data processing thread, the beam scheduling thread, the beam selection thread, and the AI training thread respectively occupy independent CPU cores;
[0155] When the number of CPU cores in the wireless communication system is less than a first preset value, respectively counting the average working time and the average idle time of the data processing thread and the beam scheduling thread within each trigger cycle; if the average idle time of the data processing thread is greater than the average working time of the beam scheduling thread, and the average working time of the data processing thread is less than the trigger cycle of the beam scheduling thread, allowing the data processing thread and the beam scheduling thread to be merged and run on the same CPU core;
[0156] The average working time of the beam selection thread after each triggering is counted; if the average working time of the beam selection thread is less than the average idle time of the data processing thread and the beam scheduling thread at the same time, and the average working time of the beam selection thread is also less than the difference between the average idle time of the data processing thread and the average working time of the beam scheduling thread, then the data processing thread, the beam scheduling thread and the beam selection thread are allowed to be combined and run on the same CPU core.
[0157] Exemplarily, the beam management module 1130 is specifically configured to:
[0158] The control data processing thread is triggered periodically with time slots, processes the data according to the format specified by the protocol, and delivers the transmitted data to the antenna and the received data to the upper-layer application.
[0159] Exemplarily, the beam management module 1130 is specifically used to: control the beam scheduling thread to use the time slot as the trigger period, or the OFDM symbol length as the trigger period, and configure the beam corresponding to the user for the OFDM symbol according to the user to whom the data on each OFDM symbol needs to be delivered.
[0160] Exemplarily, the beam management module 1130 is specifically used to: control the beam selection thread to use a periodic or non-periodic beam update signal as a trigger condition, and update the beam for each user through a preset algorithm; wherein the periodic beam update signal adopts a preset beam selection period, and the non-periodic beam update signal is triggered according to the user's communication quality.
[0161] Exemplarily, the beam management module 1130 is specifically used to: control the AI training thread to update the weight of the neural network with a periodic or non-periodic training signal as a trigger condition, and the weight of the neural network is used to regulate the training process of the AI training thread, wherein the periodic training signal adopts a preset training cycle, and the triggering form of the non-periodic training signal includes any one or more of the following methods:
[0162] The user's communication quality has been lower than a first threshold value for a preset period of time;
[0163] The idleness of computing resources in the current wireless communication system is greater than a second threshold;
[0164] The amount of newly added untrained samples is greater than the third threshold;
[0165] The time from the end of the last training is greater than the fourth threshold.
[0166] Exemplarily, the beam management module 1130 is further configured to configure a broadcast or multicast beam for the OFDM symbol if the data on the OFDM symbol is a broadcast or multicast message when the beam scheduling thread is triggered to run;
[0167] If the beam scheduling thread configures a beam for an OFDM symbol occupied by a user in a time slot, the beam information corresponding to the user comes from the beam selection thread, and the beam scheduling thread communicates with the beam selection thread in an asynchronous manner.
[0168] Exemplarily, the beam management module 1130 is further configured to: when the beam selection thread is triggered to run, the beam selection thread allocates a beam to each user according to the neural network parameters provided by the AI training thread, and the beam selection thread communicates with the AI training thread in an asynchronous manner; or,
[0169] When the AI training thread is disabled, the beam selection thread reads the pre-stored neural network parameters from the memory and assigns a beam to each user according to the read neural network parameters.
[0170] Exemplarily, when the number of CPU cores in the wireless communication system is greater than a second preset value, the device further includes: a computing thread pool module 1140, wherein the computing thread pool module 1140 is specifically configured to:
[0171] Dynamically allocate beam selection threads;
[0172] When the computing thread pool receives a beam update signal from the terminal, an idle thread is allocated from the computing thread pool as a beam selection thread;
[0173] If there is no idle thread in the computing thread pool, the beam update signal of the terminal is stored in the queue and processed after the thread in the computing thread pool is released.
[0174] Exemplarily, the computing thread pool module 1140 is further used for:
[0175] Dynamically allocate AI training threads through the configured computing thread pool;
[0176] When the computing thread pool receives a training signal for the AI training thread, it checks the thread status in the current pool and allocates the number of threads participating in this training to the AI training thread according to the thread status and the sample size of this training; wherein the thread status includes: the number of threads processing the beam update signal and the number of idle threads.
[0177] Each module in the above multi-task parallel intelligent beam management device can be implemented in whole or in part by software, hardware and their combination. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0178] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.12 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store communication data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a multi-task parallel intelligent beam management method is implemented.
[0179] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.12As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, a multi-task parallel intelligent beam management method is implemented.
[0180] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0181] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0182] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0183] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0184] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0185] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0186] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A multi-task parallel intelligent beam management method, applicable to high-frequency wireless communication systems, characterized in that: The method comprises: According to the requirements of different types of tasks in the wireless communication system for time and computing resources, the wireless communication system is divided into multiple threads; wherein the multiple threads include: a data processing thread, a beam scheduling thread, a beam selection thread, and an AI training thread; Determining a distribution mode of the multiple threads according to computing resources of the wireless communication system, wherein the computing resources include: the number of CPU cores; the distribution mode includes: each thread occupies an independent CPU core, or an AI training thread occupies an independent CPU core, and two or more threads among a data processing thread, a beam scheduling thread, and a beam selection thread share the same CPU core; Control each thread according to the preset trigger form to manage the beams when multiple tasks are running in parallel.
2. The method according to claim 1, characterized in that The determining, according to the computing resources of the wireless communication system, a distribution mode of the plurality of threads comprises: When the number of CPU cores in the wireless communication system is not less than a first preset value, the data processing thread, the beam scheduling thread, the beam selection thread, and the AI training thread respectively occupy independent CPU cores; When the number of CPU cores in the wireless communication system is less than a first preset value, respectively counting the average working time and the average idle time of the data processing thread and the beam scheduling thread within each trigger cycle; if the average idle time of the data processing thread is greater than the average working time of the beam scheduling thread, and the average working time of the data processing thread is less than the trigger cycle of the beam scheduling thread, allowing the data processing thread and the beam scheduling thread to be merged and run on the same CPU core; The average working time of the beam selection thread after each triggering is counted; if the average working time of the beam selection thread is less than the average idle time of the data processing thread and the beam scheduling thread at the same time, and the average working time of the beam selection thread is also less than the difference between the average idle time of the data processing thread and the average working time of the beam scheduling thread, then the data processing thread, the beam scheduling thread and the beam selection thread are allowed to be combined and run on the same CPU core.
3. The method according to claim 1, characterized in that: The controlling each thread to manage beams during multi-task parallel operation according to a preset triggering form includes: The control data processing thread uses the time slot as the trigger cycle, processes the data according to the format specified by the protocol, delivers the transmitted data to the antenna, and delivers the received data to the application.
4. The method according to claim 1, characterized in that: The controlling each thread to manage beams during multi-task parallel operation according to a preset triggering form includes: The control beam scheduling thread uses the time slot as a trigger period, or uses the OFDM symbol length as a trigger period, and configures the beam corresponding to the user terminal for the OFDM symbol according to the user terminal to which the data on each OFDM symbol needs to be delivered.
5. The method according to claim 1, characterized in that The controlling each thread to manage beams during multi-task parallel operation according to a preset triggering form includes: The control beam selection thread uses a periodic or non-periodic beam update signal as a trigger condition, and updates the beam for each user through a preset algorithm; wherein the periodic beam update signal is triggered by a preset beam selection period, and the non-periodic beam update signal is triggered according to the user's communication quality.
6. The method according to claim 1, characterized in that The controlling each thread to manage beams during multi-task parallel operation according to a preset triggering form includes: Control the AI training thread to update the weights of the neural network using a periodic or non-periodic training signal as a trigger condition, wherein the weights of the neural network are used to regulate the training process of the AI training thread, wherein the periodic training signal is triggered by a preset training cycle, and the triggering form of the non-periodic training signal includes any one or more of the following methods: The user's communication quality has been lower than a first threshold value for a preset period of time; The idleness of computing resources in the current wireless communication system is greater than a second threshold; The amount of newly added untrained samples is greater than the third threshold; The time from the end of the last training is greater than the fourth threshold.
7. The method according to any one of claims 1 to 6, characterized in that When the beam scheduling thread is triggered to run, the method further includes: If the data on the OFDM symbol is a broadcast or multicast message, configuring a broadcast or multicast beam for the OFDM symbol; If the beam scheduling thread configures a beam for an OFDM symbol occupied by a user in a time slot, the beam information corresponding to the user comes from the beam selection thread, and the beam scheduling thread communicates with the beam selection thread in an asynchronous manner.
8. The method according to any one of claims 1 to 6, characterized in that When the beam selection thread is triggered to run, the method further includes: The beam selection thread allocates a beam to each user according to the neural network parameters provided by the AI training thread, and the beam selection thread communicates with the AI training thread in an asynchronous manner; or, When the AI training thread is disabled, the beam selection thread reads the pre-stored neural network parameters from the memory and assigns a beam to each user according to the read neural network parameters.
9. The method according to claim 1, characterized in that: When the number of CPU cores in the wireless communication system is greater than a second preset value, the method further includes: Dynamically allocate beam selection threads through the configured computation thread pool; When the computing thread pool receives a beam update signal from the terminal, an idle thread is allocated from the computing thread pool as a beam selection thread; If there is no idle thread in the computing thread pool, the beam update signal of the terminal is stored in the queue and processed after the thread in the computing thread pool is released.
10. The method according to claim 1, characterized in that When the number of CPU cores in the wireless communication system is greater than a second preset value, the method further includes: Dynamically allocate AI training threads through the configured computing thread pool; When the computing thread pool receives a training signal for the AI training thread, it checks the thread status in the current pool and allocates the number of threads participating in this training to the AI training thread according to the thread status and the sample size of this training; wherein the thread status includes: the number of threads processing the beam update signal and the number of idle threads.
11. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.
13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.
Citation Information
Cited By
On-satellite interference avoidance method and device based on layered dynamic collaboration
CN121603092A
