Base station computing power load balancing method, device and storage medium
By acquiring and distributing computing power tasks to base station nodes that meet the conditions, the problem of heavy load on edge computing nodes of the base station and long processing time of computing power tasks is solved, the computing power load balancing of the base station is achieved, and processing efficiency and user experience are improved.
Patent Information
- Application Number
- CN202210542733.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-18
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-05-18
AI Technical Summary
The edge computing nodes of existing base stations are heavily loaded and take a long time to process computing tasks, especially computing-intensive tasks, making it difficult to meet development needs.
By obtaining idle base station nodes and idle base station transmission links, computing tasks are distributed and parameter information is obtained. Task forwarding routes are determined based on the computing load capacity to ensure that tasks are processed on base station nodes that meet the conditions.
It achieves base station computing power load balancing, avoids the accumulation of computing tasks, improves computing power task processing efficiency, and improves users' experience of application services.
Smart Images

Figure CN114867065B
Abstract
Description
Technical Field
[0001] The present application relates to communication technology, and in particular to a method, device and storage medium for balancing computing power of a base station. Background Art
[0002] Mobile edge computing (MEC) effectively integrates mobile network and Internet technologies, adds computing, storage, data processing and other functions on the mobile network side, and builds an open platform for embedded applications. The mobile network and business are deeply integrated, and traditional wireless base stations are upgraded to intelligent base stations; MEC deployment strategies can effectively achieve low latency, high bandwidth, etc.; MEC can also provide more accurate location services by obtaining mobile network information and more accurate location information in real time.
[0003] Existing technologies involve the computing power of base stations themselves and the computing power of edge computing deployed in 5G construction. The service tasks and data of user terminals cannot be obtained directly from base stations, but from the virtual hosts of data centers and servers.
[0004] With the emergence of terminal services such as VR (virtual reality), Internet of Vehicles, and autonomous driving that require huge computing resources and network transmission resources, the existing general base stations have insufficient computing power and are unable to meet development needs. Single edge computing nodes are limited in resources and are unable to effectively and quickly process computing tasks, especially for some computing-intensive tasks, which may lead to heavy loads on edge computing nodes and long processing times for computing tasks. Summary of the invention
[0005] The present application provides a base station computing power load balancing method, device and storage medium to solve the problems of heavy load on edge computing nodes of existing base stations and long computing power task processing time.
[0006] In a first aspect, the present application provides a base station computing power load balancing method, comprising:
[0007] When the computing task of the terminal is obtained through the preset base station node, the base station node in the idle state and the base station transmission link in the idle state are obtained;
[0008] Distribute the computing task to the base station node in the idle state, and obtain parameter information of the base station node in the idle state;
[0009] Determining the computing load capacity of the base station node in the idle state according to the parameter information of the base station node in the idle state;
[0010] When the computing load capacity does not meet the conditions, the base station node in the idle state is controlled to forward the computing power task to other base station nodes in the idle state whose computing load capacity meets the conditions based on the routing table, wherein the routing table is determined according to the transmission link of the base station in the idle state.
[0011] In one possible design, acquiring a base station node in an idle state and a base station transmission link in an idle state includes:
[0012] The time period to which the current time belongs is obtained, and based on the time period and the predicted idle time period of each base station node, and the predicted idle time period of each base station transmission link, the base station nodes in the idle state and the base station transmission links in the idle state are determined.
[0013] In a possible design, before acquiring the base station node in an idle state and the base station transmission link in an idle state, the method further includes:
[0014] Acquire historical operation data of the communication network in each time period according to a preset cycle, wherein the historical operation data includes the computing power distribution of base station nodes in the communication network, the computing power capacity of each base station node, the service flow, and the network load of the base station transmission link;
[0015] The historical operation data of each time period is input into the communication prediction model to obtain the predicted idle time period of each base station node and the idle time period of the base station transmission link.
[0016] In a possible design, the communication prediction model is trained in the following manner:
[0017] Acquire multiple sets of training data, and distribute the multiple sets of training data to multiple base station nodes, each set of training data includes operation data of the communication network and label data corresponding to the operation data, and the label data is used to indicate the busy or idle state of each base station node and the busy or idle state of each base station transmission link;
[0018] The communication prediction model is predicted through distributed machine learning to obtain a trained communication prediction model, wherein the learning node of the distributed machine learning is a base station node in the communication network.
[0019] In a possible design, determining the computing load capacity of the base station node in the idle state according to the parameter information of the base station node in the idle state includes:
[0020] Acquire parameter information of the base station node in the idle state, the parameter information including CPU usage, number of current sessions and computing delay;
[0021] The CPU usage rate, the number of current sessions and the computing delay are weighted to obtain the computing load capacity of the base station node in the idle state.
[0022] In one possible design, the preset base station node is any base station node among the target base station nodes to which the application service corresponding to the computing task belongs, wherein each application service corresponds to at least one target base station node, and the base station node in the idle state is a base station node among the at least one target base station node.
[0023] In one possible design, the method further includes:
[0024] Obtaining a calculation request of the terminal device through the preset base station node, where the calculation request is used to indicate a flow viscosity requirement of the terminal device;
[0025] The computing tasks from the same computing request are controlled to be processed by the base station nodes that meet the same computing load capacity conditions and are in an idle state.
[0026] In a second aspect, the present application provides a base station computing power load balancing device, including:
[0027] A first acquisition module is used to acquire a base station node in an idle state and a base station transmission link in an idle state when acquiring a computing task of a terminal through a preset base station node;
[0028] A second acquisition module is used to distribute the computing task to the base station node in the idle state, and obtain parameter information of the base station node in the idle state;
[0029] A processing module, configured to determine the computing load capacity of the base station node in the idle state according to the parameter information of the base station node in the idle state;
[0030] A sending module is used to control the base station node in the idle state to forward the computing power task to other base station nodes in the idle state whose computing load capacity meets the conditions based on a routing table when the computing load capacity does not meet the conditions, wherein the routing table is determined according to the transmission link of the base station in the idle state.
[0031] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0032] The memory stores computer-executable instructions;
[0033] The processor executes the computer-executable instructions stored in the memory to implement a base station computing power load balancing method.
[0034] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed by a processor, they are used to implement a base station computing power load balancing method.
[0035] The base station computing power load balancing method, device and storage medium provided in the present application obtain the base station node in the idle state and the base station transmission link in the idle state when the preset base station node obtains the computing power task of the terminal; distributes the computing power task to the base station node in the idle state, and obtains the parameter information of the base station node in the idle state; determines the computing load capacity of the base station node in the idle state according to the parameter information of the base station node in the idle state; when the computing load capacity does not meet the conditions, controls the base station node in the idle state to forward the computing power task to other base station nodes in the idle state whose computing load capacity meets the conditions based on the routing table, wherein the routing table is a means determined according to the base station transmission link in the idle state, so as to realize the effective allocation of computing power tasks, balance the computing tasks of many edge base station nodes, avoid the accumulation of computing tasks, and achieve the effect of improving the processing efficiency of computing power tasks. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 A schematic diagram of an application scenario of the base station computing power load balancing method provided in this application;
[0038] Figure 2 Schematic diagram of the base station computing power load balancing method provided in this application Figure 1 ;
[0039] Figure 3 Schematic diagram of the base station computing power load balancing method provided in this application Figure 2 ;
[0040] Figure 4 Schematic diagram of the base station computing power load balancing method provided in this application Figure 3 ;
[0041] Figure 5 Schematic diagram of the base station computing power load balancing method provided in this application Figure 4 ;
[0042] Figure 6A schematic diagram of the structure of the base station computing power load balancing device provided for this application;
[0043] Figure 7 This is a schematic diagram of the electronic device structure provided in this application. DETAILED DESCRIPTION
[0044] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation methods described in the following exemplary embodiments do not represent all implementation methods consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims, rather than all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0045] First, the relevant concepts or nouns involved in this application are explained:
[0046] Computing power communication network: includes computing nodes for providing computing power resources, computing power routing nodes for notifying and transmitting computing power resource information in the computing power communication network, and network management nodes for deploying computing nodes, locations and other parameters.
[0047] Base station node: also known as computing node or computing power node, specifically refers to a base station device with computing capabilities, used for computing task processing or computing task forwarding.
[0048] Computing task: mainly refers to the computing task generated after the base station receives the computing request sent by the terminal device.
[0049] Base station transmission link: refers to the base station transmission path through which computing tasks pass from terminal devices to target base stations.
[0050] The specific application scenarios of this application are as follows:
[0051] Figure 1 This is a schematic diagram of the application scenario of the base station computing power load balancing method provided in this application. Figure 1 As shown, the server 101 is provided with an edge platform management module for managing multiple base stations 102. Each base station serves as an edge node. The computing request sent by the terminal device 103 to the base station 102 can jump between multiple base stations 102 to seek a suitable computing node.
[0052] The base station computing power load balancing method provided in the present application obtains the parameter information of all edge nodes through the edge platform management module, and parses the obtained parameter information to obtain the base station nodes in the idle state and the base station transmission links in the idle state, and then obtains the routing table of the shortest forwarding path based on the idle base station nodes and the idle base station transmission links. When a base station node obtains a computing power task, if the current base station node meets the computing requirements, the base station is responsible for processing it. If the current base station node does not meet the computing requirements, the computing power task is forwarded in the shortest path according to the routing table until a base station node that meets the computing requirements is found, which aims to solve the above technical problems of the prior art.
[0053] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0054] Figure 2 Schematic diagram of the base station computing power load balancing method provided in this application Figure 1 .like Figure 2 As shown, a base station computing power load balancing method includes:
[0055] S201, obtaining a computing task of a terminal device through a preset base station node, where the computing task includes a computing request sent by the terminal device to the base station node;
[0056] Specifically, terminal devices usually send computing requests to preset base station nodes according to the principle of proximity to ensure the stability of network signals during communication. However, the computing resources of each edge computing node are limited. At the same time, the computing load of the edge computing node changes dynamically. Therefore, when the base station generates a computing task based on the computing request, on the one hand, when multiple computing nodes can complete a computing task, the issue of which computing node to select to process the computing task is involved; on the other hand, computing tasks with large computational load may need to be assigned to multiple edge nodes or edge nodes with sufficient computing resources for processing. The specific selection of which one or which base stations to process the computing task will become a key point affecting computing efficiency. For example, distributing computing tasks to nodes with too high computing load will affect the effect of real-time computing, and thus affect the user's experience of application services.
[0057] Furthermore, the preset base station node is any base station node among the target base station nodes to which the application service corresponding to the computing task belongs, wherein each application service corresponds to at least one target base station node, and the base station node in the idle state is a base station node among the at least one target base station node.
[0058] Specifically, each application service is pre-divided into at least one pre-set target base station node for processing, and each computing task may correspond to the same application service or different application services. This requires marking and distinguishing the application services, and setting a unique service identification code, namely SID (service ID), for each application service to identify a specific application service provided by multiple edge computing service nodes, where SID is an anycast address. At the same time, the terminal device also uses SID to start access identification to the application service. The terminal device cannot predict which target base station node provides the service. For a request for a certain SID, different target base station nodes corresponding to the application service identifier can respond. When receiving the computing task, the computing task is assigned to any base station node in the target base station node corresponding to the SID according to the SID, that is, the preset base station node in this application for processing. Since the application service corresponding to the terminal device needs to be served at the pre-set target base station node, the idle base station node selected in this application gives priority to the pre-set target base station node, so that the target base station node that meets the conditions can handle the computing task at any time.
[0059] S202, acquiring a base station node in an idle state and a base station transmission link in an idle state;
[0060] Specifically, obtain the time period to which the current time belongs, compare the current time with the predicted idle time period obtained based on historical records, and determine whether the current time is within the many predicted idle time periods, that is, compare the current time period with the predicted idle time period of each base station node and the predicted idle time period of each base station transmission link to determine the base station nodes in the idle state and the base station transmission links in the idle state.
[0061] S203, distributing the computing task to the base station node in the idle state, and obtaining parameter information of the base station node in the idle state;
[0062] Specifically, after receiving the computing task, it is necessary to distribute the task in the shortest possible time so that the calculation can start quickly. The primary distribution target is the base station node that is in an idle state.
[0063] S204, judging whether the computing load capacity of the base station node in the idle state meets the condition according to the parameter information of the base station node in the idle state, if not, executing S205, if yes, executing S206;
[0064] Specifically, after a base station node in an idle state receives the above-mentioned distributed computing power task and meets the idle conditions, it still needs to determine whether its own conditions can meet the computing requirements of the computing power task. Therefore, it is necessary to obtain the parameter information of the idle state base station, and then determine whether the base station node receiving the computing power task has the load capacity based on the parameter information.
[0065] S205, controlling the idle base station node to forward the computing task to other base station nodes in the idle state whose computing load capacity meets the conditions based on the routing table, wherein the routing table is determined according to the idle base station transmission link;
[0066] Specifically, the routing table includes the computing task type of the computing task, the corresponding relationship between other edge computing nodes and computing resource performance, wherein the computing task type includes service ID, flow viscosity requirement attributes, etc. The entry node and exit node of the edge computing are determined according to the service ID, and the network cost between the current edge node and other nodes and the computing load capacity of other nodes are obtained according to the computing resource performance. According to the entry node and exit node of the edge computing as well as the network cost and computing load capacity, the network cost and computing load capacity are weightedly calculated to obtain the optimal jump path of the computing task. The computing task is forwarded to the target base station node according to the optimal jump path, wherein the specific weighted weights of the network cost and computing load capacity are statistically calculated by historical data, and the specific weight ratio is gradually adjusted according to actual needs.
[0067] S206. Control the computing tasks from the same computing request to be processed by a base station node that meets the same computing load capacity conditions and is in an idle state, wherein the computing request is used to indicate the flow viscosity requirement of the terminal device.
[0068] Specifically, when any communication service is connected to the base station, that is, when the session information is connected to the corresponding base station computing node, each session information forms a computing request carrying the relevant service type signaling. The same computing request carries the same service type signaling. The relevant service type signaling is compared with the preset service type comparison table, and the size of the flow stickiness requirement is determined according to the relevant service type signaling. The computing request with a flow stickiness requirement greater than the preset threshold is not distributed, thereby realizing the signaling transmission of the control plane and the data transmission of the user plane. Among them, the preset service type comparison table contains the corresponding relationship between the relevant service type signaling and the flow stickiness requirement. The relevant service type is to process the computing task only at the current node without distribution processing.
[0069] In another preferred embodiment, each base station is provided with an edge computing adapter, and the preset service type comparison table is stored in the edge computing adapter, which carries the comparison processing task, thereby saving the memory space and computing power resources inside the edge computing node. The edge computing adapter can be part of the base station edge node (internal mode), or can be implemented in a separate device (external mode).
[0070] The method provided in this embodiment obtains the computing power task of the terminal device, as well as the base station node in the idle state and the base station transmission link in the idle state, distributes the computing power task to the base station node in the idle state, and obtains the parameter information of the base station node in the idle state. According to the parameter information of the base station node in the idle state, it is determined whether the computing load capacity of the base station node in the idle state meets the conditions. If not, the base station node in the idle state is controlled to forward the computing power task to other base station nodes in the idle state whose computing load capacity meets the conditions based on the routing table. If so, the computing power tasks from the same computing request are controlled to be processed by the base station nodes in the idle state whose computing load capacity meets the conditions, so as to achieve the effect of base station computing power load balancing, avoid the accumulation of computing power tasks in a certain base station, affect the effect of real-time computing, and further affect the user experience of application services.
[0071] The base station computing power load balancing method of the present application is described in detail below with reference to a specific embodiment.
[0072] Figure 3 Schematic diagram of the base station computing power load balancing method provided in this application Figure 2 .like Figure 3 As shown, based on the above embodiment, this embodiment describes in detail the implementation method of obtaining the base station node in the idle state and the base station transmission link in the idle state.
[0073] S301, acquiring historical operation data of the communication network in each time period according to a preset cycle, wherein the historical operation data includes the computing power distribution of base station nodes in the communication network, the computing power capacity of each base station node, the service flow, and the network load of the base station transmission link;
[0074] Specifically, historical operation data is obtained periodically to record the operation status of the communication network, so as to summarize the prediction model that can predict each cycle based on the historical operation status, so as to provide a selection basis for the path combination of the base station transmission link. The historical operation data is determined by obtaining the base station network load status information at a certain time granularity and the total communication service flow of the base station node. When obtaining the base station computing power capacity, the base station latitude and longitude coordinates are obtained through the base station engineering parameters, and the base station computing power distribution is obtained corresponding to the relative computing power.
[0075] S302, inputting the historical operation data of each time period into the communication prediction model to obtain the predicted idle time period of each base station node and the idle time period of the base station transmission link;
[0076] Specifically, according to the historical operation data of the base station nodes, a node idle and busy prediction model based on time series is established. The idle time period of the communication line is predicted by the prediction model, and then according to the idle time period of the communication line, multiple base station nodes corresponding to the idle time period and the base station transmission link composed of the multiple base station nodes are obtained.
[0077] S303. Obtain the time period to which the current time belongs, and determine the base station nodes and idle base station transmission links in an idle state based on the time period and the predicted idle time period of each base station node and the predicted idle time period of each base station transmission link.
[0078] Based on the predicted idle time period, the current time is obtained, and the current time is compared with the predicted idle time period to determine whether the current time is within the many predicted idle time periods. If so, the base station node and base station transmission link corresponding to the idle time period are obtained based on the idle time period corresponding to the current time period.
[0079] Figure 4 Schematic diagram of the base station computing power load balancing method provided in this application Figure 3 .like Figure 4 As shown, based on the above embodiment, this embodiment describes in detail the training method of the communication prediction model.
[0080] S401, obtaining multiple sets of training data, and distributing the multiple sets of training data to multiple base station nodes, each set of training data includes operation data of the communication network and label data corresponding to the operation data, and the label data is used to indicate the busy and idle state of each base station node and the busy and idle state of each base station transmission link;
[0081] Specifically, multiple groups of training data are distributed to multiple base station nodes for training. Distributed machine learning can improve training efficiency based on the utilization of multiple base station resources, synchronize operating data with corresponding label data as training data, and distinguish the busy and idle states of operating data through label data. After training, the simulated trend between operating data and label data is obtained, which facilitates the construction of a prediction model based on the simulated trend.
[0082] S402. Predict the communication prediction model through distributed machine learning to obtain a trained communication prediction model, wherein the learning node of the distributed machine learning is a base station node in the communication network.
[0083] Specifically, each learning node of distributed machine learning is set as a base station node in the communication network. Each base station performs data training with a certain time granularity. The data training results of each base station are not interoperable, but are encrypted and uploaded to the server management node for sharing through the method of federated learning. A communication prediction model is constructed based on the shared data training results. Since the larger the amount of data, the more accurate the communication prediction model constructed is, compared with the data prediction model obtained by training a certain base station, this communication prediction model can better reflect the busy and idle status of the base station node and the base station transmission link during actual operation. Since this prediction method is not based on the data obtained by the current base station for real-time calculation, it is not affected by the real-time changes of the current base station data, and provides a distribution basis for the pre-distribution operation of the computing power task. Among them, the manager node is responsible for maintaining the consistency of the metadata of each base station node on the server, managing the service life cycle and resource allocation records of each server node.
[0084] Figure 5 Schematic diagram of the base station computing power load balancing method provided in this application Figure 4 .like Figure 5 As shown, based on the above embodiment, this embodiment describes in detail the specific implementation method of calculating load capacity.
[0085] S501, obtaining parameter information of the base station node in the idle state, wherein the parameter information includes CPU usage, number of current sessions and calculation delay;
[0086] Specifically, CPU usage includes main frequency, CPU bit number, CPU cache instruction set, CPU core number, concurrency number, and query rate per second. The concurrency number refers to the number of terminal connection requests that the base station can handle at the same time, reflecting the load capacity of the base station. This parameter is a fixed parameter that matches the base station model. The query rate per second (QPS) refers to the number of queries that a server can respond to per second, reflecting the update rate of the number of terminals connected to the base station. It is also obtained from the base station background and updated in real time.
[0087] A session refers to a context between two communicating parties from the beginning of the communication to the end of the communication. This context is a memory located on the server side. The current number of sessions, that is, the number of sessions currently being served, can be obtained from the base station background and updated in real time.
[0088] Computational delay refers to the processing delay in the computer network on the base station side. Different from the transmission delay and propagation delay in the network, this processing delay can show the time it takes for the base station CPU to process certain data, as well as the waiting time after the data enters the base station server. This delay is statistically calculated based on historical data. The average computational delay of each node is calculated by obtaining the time required for all nodes in the area to process a certain amount of computing services within a certain period of time.
[0089] S502: Perform weighted processing on the CPU usage rate, the number of current sessions, and the computing delay to obtain the computing load capacity of the base station node in the idle state.
[0090] Specifically, the updated CPU usage, current number of sessions and computing latency are periodically weighted to obtain the current computing load capacity of the idle computing node that obtains the parameter information. The specific weighted calculation method is not unique, and the weighted object can be selected according to actual needs. This application does not provide a further description of the selection criteria.
[0091] The embodiment of the present invention obtains parameter information of the base station node in the idle state, wherein the parameter information includes CPU usage, the current number of sessions and the calculation delay; weighted processing is performed on the CPU usage, the current number of sessions and the calculation delay to obtain the calculation load capacity of the base station node in the idle state, thereby realizing the calculation of the load capacity of the base station node in the idle state. The method is simple and effective, and provides a basis for the selection of the base station transmission link.
[0092] In another preferred embodiment, the cycle for calculating the load capacity in the above embodiment is when any of the indicators of CPU usage, current session number and calculation delay changes, or when the routing information is updated, setting the calculation cycle to the change time is beneficial to saving computing resources, avoiding frequent calculations that bring additional burdens to the base station node, and at the same time ensuring the accuracy of the load capacity information. After the router is configured with a dynamic routing protocol, the update timer continuously sends out routing update messages from each interface that starts the RIP protocol every 30 seconds on average.
[0093] The embodiment of the present invention can divide the electronic device or the main control device into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0094] Figure 6 This is a schematic diagram of the structure of the base station computing power load balancing device provided by the present invention. Figure 6 As shown, the device 60 comprises:
[0095] The first acquisition module 601 is used to acquire a base station node in an idle state and a base station transmission link in an idle state when acquiring a computing task of a terminal through a preset base station node;
[0096] The second acquisition module 602 is used to distribute the computing task to the base station node in the idle state, and obtain parameter information of the base station node in the idle state;
[0097] The processing module 603 is used to determine the computing load capacity of the base station node in the idle state according to the parameter information of the base station node in the idle state;
[0098] The sending module 604 is used to control the idle base station node to forward the computing task to other base station nodes that meet the computing load capacity and are in the idle state based on the routing table when the computing load capacity does not meet the condition, wherein the routing table is determined according to the idle base station transmission link.
[0099] Specifically, the first acquisition module is specifically used to: obtain the time period to which the current time belongs, and determine the base station nodes and idle base station transmission links in the idle state based on the time period and the predicted idle time period of each base station node, and the predicted idle time period of each base station transmission link.
[0100] Furthermore, the first acquisition module is specifically used to: acquire historical operation data of the communication network in each time period according to a preset period, wherein the historical operation data includes the computing power distribution of base station nodes in the communication network, the computing power capacity of each base station node, the service flow, and the network load of the base station transmission link;
[0101] The historical operation data of each time period is input into the communication prediction model to obtain the predicted idle time period of each base station node and the idle time period of the base station transmission link.
[0102] Furthermore, the communication prediction model is trained in the following manner:
[0103] Acquire multiple sets of training data, and distribute the multiple sets of training data to multiple base station nodes, each set of training data includes operation data of the communication network and label data corresponding to the operation data, and the label data is used to indicate the busy or idle state of each base station node and the busy or idle state of each base station transmission link;
[0104] The communication prediction model is predicted through distributed machine learning to obtain a trained communication prediction model, wherein the learning node of the distributed machine learning is a base station node in the communication network.
[0105] Specifically, the second acquisition module is specifically used to: acquire parameter information of the base station node in the idle state, and the parameter information includes CPU usage, current session number and calculation delay.
[0106] Specifically, the processing module is specifically used to: perform weighted processing on the CPU usage rate, the current number of sessions and the calculation delay to obtain the calculation load capacity of the base station node in the idle state.
[0107] Specifically, the sending module is specifically used for:
[0108] The base station computing power load balancing device provided in this embodiment can execute the base station computing power load balancing method of the above embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0109] In the specific implementation of the aforementioned base station computing power load balancing device, each module can be implemented as a processor, and the processor can execute computer execution instructions stored in the memory, so that the processor executes the above-mentioned base station computing power load balancing method.
[0110] Figure 7 This is a schematic diagram of the structure of the electronic device provided in this application. Figure 7 As shown, the electronic device 70 includes: at least one processor 701 and a memory 702. The electronic device 70 also includes a communication component 703. The processor 701, the memory 702 and the communication component 703 are connected via a bus 704.
[0111] In the specific implementation process, at least one processor 701 executes the computer execution instructions stored in the memory 702, so that at least one processor 701 executes the base station computing power load balancing method executed by the electronic device side as above.
[0112] The specific implementation process of the processor 701 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0113] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0114] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.
[0115] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0116] The above-mentioned functions implemented by the electronic device and the main control device introduce the scheme provided by the embodiment of the present invention. It can be understood that in order to implement the above-mentioned functions, the electronic device or the main control device includes a hardware structure and / or software module corresponding to the execution of each function. In combination with the units and algorithm steps of each example described in the embodiment disclosed in the embodiment of the present invention, the embodiment of the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present invention.
[0117] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above-mentioned base station computing power load balancing method is implemented.
[0118] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0119] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in an electronic device or a main control device.
[0120] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for balancing base station computing power load, characterized in that: include: When the computing task of the terminal is obtained through the preset base station node, the base station node in the idle state and the base station transmission link in the idle state are obtained; Distribute the computing task to the base station node in the idle state, and obtain parameter information of the base station node in the idle state; Determining the computing load capacity of the base station node in the idle state according to the parameter information of the base station node in the idle state; When the computing load capacity does not meet the condition, control the idle base station node to forward the computing task to other base station nodes that meet the computing load capacity and are in an idle state based on a routing table, wherein the routing table is determined according to the idle base station transmission link; Before acquiring the base station node in the idle state and the base station transmission link in the idle state, the method further includes: Acquire historical operation data of the communication network in each time period according to a preset cycle, wherein the historical operation data includes the computing power distribution of base station nodes in the communication network, the computing power capacity of each base station node, the service flow, and the network load of the base station transmission link; Input the historical operation data of each time period into the communication prediction model to obtain the predicted idle time period of each base station node and the idle time period of the base station transmission link; The communication prediction model is trained in the following way: Acquire multiple sets of training data, and distribute the multiple sets of training data to multiple base station nodes, each set of training data includes operation data of the communication network and label data corresponding to the operation data, and the label data is used to indicate the busy or idle state of each base station node and the busy or idle state of each base station transmission link; The communication prediction model is predicted through distributed machine learning to obtain a trained communication prediction model, wherein the learning node of the distributed machine learning is a base station node in the communication network.
2. The method according to claim 1, characterized in that: The acquiring of the base station node in the idle state and the base station transmission link in the idle state comprises: The time period to which the current time belongs is obtained, and based on the time period and the predicted idle time period of each base station node, and the predicted idle time period of each base station transmission link, the base station nodes in the idle state and the base station transmission links in the idle state are determined.
3. The method according to claim 1, characterized in that The determining, according to the parameter information of the base station node in the idle state, the computing load capacity of the base station node in the idle state comprises: Acquire parameter information of the base station node in the idle state, the parameter information including CPU usage, number of current sessions and computing delay; The CPU usage rate, the number of current sessions and the computing delay are weighted to obtain the computing load capacity of the base station node in the idle state.
4. The method according to claim 1, characterized in that: The preset base station node is any base station node among the target base station nodes to which the application service corresponding to the computing task belongs, wherein each application service corresponds to at least one target base station node, and the base station node in the idle state is a base station node among the at least one target base station node.
5. The method according to claim 1, characterized in that The method further comprises: Obtaining a calculation request of a terminal device through the preset base station node, wherein the calculation request is used to indicate a flow viscosity requirement of the terminal device; The computing tasks from the same computing request are controlled to be processed by the base station nodes that meet the same computing load capacity conditions and are in an idle state.
6. A base station computing power load balancing device, characterized in that: include: A first acquisition module is used to acquire a base station node in an idle state and a base station transmission link in an idle state when acquiring a computing task of a terminal through a preset base station node; A second acquisition module is used to distribute the computing task to the base station node in the idle state, and obtain parameter information of the base station node in the idle state; A processing module, configured to determine the computing load capacity of the base station node in the idle state according to the parameter information of the base station node in the idle state; A sending module, configured to control the idle base station node to forward the computing task to other idle base station nodes whose computing load capacity meets the condition based on a routing table when the computing load capacity does not meet the condition, wherein the routing table is determined according to the idle base station transmission link; The first acquisition module is further specifically used to: acquire historical operation data of the communication network in each time period according to a preset period, the historical operation data including the computing power distribution of base station nodes in the communication network, the computing power capacity of each base station node, the service flow, and the network load of the base station transmission link; Input the historical operation data of each time period into the communication prediction model to obtain the predicted idle time period of each base station node and the idle time period of the base station transmission link; The communication prediction model is trained in the following way: Acquire multiple sets of training data, and distribute the multiple sets of training data to multiple base station nodes, each set of training data includes operation data of the communication network and label data corresponding to the operation data, and the label data is used to indicate the busy or idle state of each base station node and the busy or idle state of each base station transmission link; The communication prediction model is predicted through distributed machine learning to obtain a trained communication prediction model, wherein the learning node of the distributed machine learning is a base station node in the communication network.
7. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 5 when executed by a processor.
