Distributed unit cloud deployment method, device, storage medium and system
By deploying multiple servers and container groups in edge cloud nodes, and using real-time thread pool components and resource control plug-ins to dynamically adjust the CPU core, the real-time and isolation problems in DU cloud deployment are solved, and efficient resource management and Low latency processing.
Patent Information
- Application Number
- CN202111131574.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-26
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-09-26
AI Technical Summary
Existing technology is difficult to effectively implement cloud deployment of distributed units (DU) in 5G wireless access networks, especially when meeting real-time and resource isolation requirements, resulting in performance waste and service interruption.
By deploying multiple servers in edge cloud nodes, setting up multiple container groups and DU instances in each server, using real-time thread pool components and resource control plug-ins to achieve dynamic CPU core scaling, and adjusting CPU core occupancy according to the load of DU instances. , ensuring real-time and isolation.
It achieves millisecond-level elastic scaling of DU instance granularity, improves resource usage efficiency, reduces performance waste, and meets the low-latency and real-time requirements of 5G mobile communication networks.
Smart Images

Figure CN113992688B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a distributed unit cloud deployment method, device, storage medium and system. Background Art
[0002] The Radio Access Network (RAN) is an important part of 5G and consists of several base stations (gNB). The gNB can be functionally divided into three parts: the centralized unit (CU), the distributed unit (DU) and the radio unit (RU). The RU can also be called the active antenna unit (AAU).
[0003] Traditional RANs are deployed and implemented using proprietary hardware. In recent years, the open source RAN (O-RAN) standard has gradually matured, resulting in virtual RAN (vRAN) products based on general servers and open source software and hardware. Using cloud native technology in vRAN deployment can better utilize the flexibility brought by standardized software and hardware and reduce costs. Therefore, more and more developers are exploring cloud deployment solutions for vRAN. Among them, CU is a pure software implementation, and RU is a pure hardware implementation. It can be relatively easy to adapt to the cloud. The difficulty of vRAN cloudification lies in the cloudification of DU. Summary of the invention
[0004] Embodiments of the present invention provide a distributed unit cloud deployment method, apparatus, device, storage medium and system for implementing cloud deployment of DU.
[0005] In a first aspect, an embodiment of the present invention provides a DU cloud deployment method, which is applied to a management service running in a target server, wherein the target server is provided with multiple container groups, and a DU instance is deployed in one container group. The target server is provided with multiple CPU cores, and the target server is any one of the multiple servers included in the edge cloud. The management service includes a service interface and a resource control plug-in; the method includes:
[0006] Receiving, through the service interface, a scaling instruction issued by the target DU instance through an internal real-time thread pool component, wherein the scaling instruction includes an identifier of a target CPU core, and the scaling instruction is determined according to a load condition of the target DU instance, and the target DU instance and the target CPU core are located in the target server;
[0007] Monitoring the service interface through the resource control plug-in to obtain the scaling instruction;
[0008] Based on the scaling instruction, scaling processing is performed on the CPU core bound to the target DU instance through the resource control plug-in.
[0009] In a second aspect, an embodiment of the present invention provides a DU cloud deployment device, corresponding to a management service running in a target server, wherein the target server is provided with multiple container groups, and a DU instance is deployed in one container group, wherein the target server is provided with multiple CPU cores, and the target server is any one of the multiple servers included in the edge cloud, and the management service includes a service interface and a resource control plug-in; the device includes:
[0010] A receiving module, configured to receive, through the service interface, a scaling instruction issued by a target DU instance through an internal real-time thread pool component, wherein the scaling instruction includes an identifier of a target CPU core, and the scaling instruction is determined according to a load condition of the target DU instance, and the target DU instance and the target CPU core are located in the target server;
[0011] A monitoring module, configured to monitor the service interface through the resource control plug-in to obtain the scaling instruction;
[0012] A processing module is used to perform scaling processing on the CPU core bound to the target DU instance through the resource control plug-in based on the scaling instruction.
[0013] In a third aspect, an embodiment of the present invention provides a server, comprising: a memory, a processor, and a communication interface; wherein the memory stores executable code, and when the executable code is executed by the processor, the processor can at least implement the DU cloud deployment method as described in the first aspect.
[0014] In a fourth aspect, an embodiment of the present invention provides a non-temporary machine-readable storage medium, on which executable code is stored. When the executable code is executed by a processor of a server, the processor can at least implement the DU cloud deployment method as described in the first aspect.
[0015] In a fifth aspect, an embodiment of the present invention provides a distributed unit cloud deployment method, which is applied to a management service running in a target server, wherein the target server is provided with multiple container groups, and a distributed unit instance is deployed in one container group. The target server is provided with multiple CPU cores, and the target server is any one of the multiple servers included in the edge cloud. The management service includes a service interface and a resource control plug-in; the method includes:
[0016] Receiving, through the service interface, a scaling instruction issued by a target distribution unit instance through an internal real-time thread pool component, wherein the scaling instruction includes an identifier of a target CPU core, and the scaling instruction is determined by a centralized unit according to a live data load of the target distribution unit instance, wherein the target distribution unit instance and the target CPU core are located in the target server;
[0017] Monitoring the service interface through the resource control plug-in to obtain the scaling instruction;
[0018] Based on the scaling instruction, the CPU core bound to the target distribution unit instance is scaled by the resource control plug-in, so that the target distribution unit instance uses the CPU core after the scaling process to process the received live broadcast data.
[0019] In a sixth aspect, an embodiment of the present invention provides a DU cloud cluster system, including:
[0020] Multiple servers located in the edge cloud, wherein each server is provided with multiple container groups, a DU instance is deployed in a container group, and a real-time thread pool component is run in the DU instance;
[0021] Each server is provided with multiple CPU cores; each server runs a management service, which includes a service interface and a resource control plug-in;
[0022] The target DU instance in the target server is used to receive the scaling instruction through the internal real-time thread pool component and issue the scaling instruction to the service interface in the target server, wherein the scaling instruction includes the identifier of the target CPU core, and the scaling instruction is determined according to the load condition of the target DU instance; wherein the target CPU core is located in the target server, and the target server is any one of the multiple servers;
[0023] The service interface in the target server is used to receive the scaling instruction;
[0024] The resource control plug-in in the target server is used to monitor the service interface in the target server to obtain the scaling instruction; and based on the scaling instruction, perform scaling processing on the CPU core bound to the target DU instance.
[0025] The cloud deployment of vRAN is mainly the cloud deployment of DU. In the solution provided in the embodiment of the present invention, the cloud deployment of DU is performed in the edge cloud node corresponding to each gNB. Specifically, an edge cloud node will include several servers, all or part of which can be selected for deploying DU instances. Assuming that multiple servers are selected for deploying DU instances, specifically, multiple container groups (pods) can be provided in each server, and a DU instance is provided in a container group, so that multiple DU instances can be provided in a server, and the DU instances contained in each of the multiple servers form a cluster. In addition, in order to ensure the normal operation of each DU instance in each server, a management service is also provided in each server for managing multiple DU instances in the server. In addition, each server will also be provided with various resources for use by DU instances, such as CPU cores.
[0026] Taking the target server as an example, multiple pods are deployed in the target server, and each pod contains a DU instance. Since the 5G mobile communication network has a low latency requirement, and the DU instance is mainly used to process data with high real-time requirements, and the processing load of the DU instance may be different at different times, therefore, in order to adapt to the dynamic changes in the DU instance load and ensure the real-time requirements, taking into account the isolation between different DU instances, the following CPU core scheduling scheme is provided in the embodiment of the present invention: First, a real-time thread pool (BBUPoo l) component is run in each DU instance in the target server, which has the ability to increase or decrease real-time threads to calculate and process each piece of data that the DU instance needs to process according to the time sequence. For any DU instance in the target server (referred to as the target DU instance), the upper layer network element (such as CU or other core network element) that manages the DU instance triggers the corresponding scaling instruction to the target DU instance when it finds that the load change of the target DU instance meets the set conditions, so as to instruct the target DU instance to increase or decrease the occupancy of the CPU core. Specifically, the scaling instruction will carry the identifier of the target CPU core, which is located in the target server, that is, the scaling instruction instructs the target DU instance to occupy the target CPU core in order to meet the high-load processing requirements of the target DU instance, or instructs the target DU instance to cancel the occupation of the target CPU core in order to release the target CPU core for use by other DU instances in need. In fact, the real-time thread pool component in the target DU instance receives the scaling instruction and sends the scaling instruction to the management service in the target server, specifically to the service interface included in the management service, that is, the real-time thread pool component calls the service interface to issue the scaling instruction to the management service. The resource control plug-in in the management service (such as cgroup-controller) monitors the service interface to discover the above-mentioned scaling instruction. After monitoring the scaling instruction, the resource control plug-in performs scaling processing on the occupied CPU core for the target DU instance according to the instructions of the scaling instruction.
[0027] In the above scheme, the real-time thread pool component and the resource control component form a low-latency control loop to elastically scale the number of CPU cores occupied by the target DU instance in a timely manner based on the load conditions of the target DU instance. It can be understood that when the CPU cores occupied by the target DU instance change, the CPU cores occupied by the pod corresponding to the target DU instance also change synchronously. Moreover, if a target CPU core in the target server is allocated to a certain DU instance, then other DU instances or other user application (APP) instances in the target server will not use this target CPU core, thereby ensuring the isolation between multiple DU instances. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.
[0029] Figure 1 A schematic diagram of an existing DU cloud deployment solution;
[0030] Figure 2 A schematic diagram of the structure of a DU cloud cluster system provided by an embodiment of the present invention;
[0031] Figure 3 A schematic diagram of the principle of a CPU core scheduling process provided by an embodiment of the present invention;
[0032] Figure 4 A schematic diagram of a process of adding a CPU core to a DU instance provided in an embodiment of the present invention;
[0033] Figure 5 A schematic diagram of a CPU core release process of a DU instance provided in an embodiment of the present invention;
[0034] Figure 6 A schematic diagram of the structure of a server provided in an embodiment of the present invention;
[0035] Figure 7 A schematic diagram of allocating a virtual accelerator card to a DU instance provided by an embodiment of the present invention;
[0036] Figure 8 A schematic diagram of allocating a virtual network card to a DU instance provided by an embodiment of the present invention;
[0037] Fig. 9 A flowchart of a DU cloud deployment method provided by an embodiment of the present invention;
[0038] Fig.10 A flowchart of a data processing method based on a cloud DU provided in an embodiment of the present invention;
[0039] Fig.11 A schematic diagram of an application of a data processing method based on a cloud DU provided by an embodiment of the present invention;
[0040] Fig.12 A flowchart of a data processing method based on a cloud DU provided in an embodiment of the present invention;
[0041] Fig.13 A schematic diagram of an application of a data processing method based on a cloud DU provided by an embodiment of the present invention;
[0042] Fig.14 A schematic diagram of the structure of a DU cloud deployment device provided by an embodiment of the present invention;
[0043] Fig.15 For Fig.14 A schematic diagram of the structure of a server corresponding to the DU cloud deployment device provided in the illustrated embodiment. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the case where there is no conflict between the embodiments, the following embodiments and the features in the embodiments can be combined with each other. In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.
[0046] First, some concepts involved in the embodiments of the present invention are briefly described:
[0047] CU: A centralized unit in 5G RAN responsible for handling non-real-time protocols and services.
[0048] DU: A distributed unit in 5G RAN that handles physical layer protocols and real-time services.
[0049] RU: The unit responsible for radio frequency transmission in 5G RAN.
[0050] O-RAN: The Open Source RAN Alliance initiated by operators and equipment manufacturers has announced the O-RAN standard.
[0051] FlexRAN: An open source O-RAN implementation.
[0052] BBUPoo l component: A real-time thread pool component implemented in FlexRAN. It has the ability to add and reduce threads and re-arrange the existing task list to maintain task timing.
[0053] Kubernetes (K8S): A portable container orchestration management tool, the current mainstream cloud service framework, with portability and scalability, used to manage containerized workloads and services.
[0054] Pod: A container group is the smallest basic unit for deploying applications or services on K8S, and is also the smallest unit for scheduling resources on K8S. A Pod encapsulates multiple application containers (or just one container), storage resources, an independent network IP, and policy options for managing and controlling container operation. Containers are a technology for packaging applications and the environment in which they run.
[0055] Cgroups: A resource isolation mechanism provided by the Linux kernel.
[0056] Cgroups-controller: A K8S resource scaling plug-in based on Cgroups.
[0057] As mentioned above, under the FlexRAN framework, CU is implemented purely by software and RU is implemented purely by hardware, which can be easily adapted to the cloud. The technical difficulty of vRAN cloudification lies in DU cloudification. The challenges faced by DU cloudification are mainly: on the one hand, in the process of cloud deployment of DU under the cloud service architecture based on K8S, it is necessary to meet the native resource isolation requirements of K8S, that is, resource isolation between different pods; on the other hand, the data calculation of DU has strict timing requirements, that is, it has high requirements for real-time performance, so this real-time requirement needs to be met.
[0058] For the sake of distinction, in the embodiment of the present invention, the DU deployed and implemented in the cloud is referred to as a DU instance.
[0059] In actual applications, the resources used by DU instances in the process of data calculation and network transmission include but are not limited to: CPU cores, accelerated computing cards, network cards, etc. Among them, the CPU computing power is limited, and GPUs and graphics cards can be expanded as accelerated computing cards to assist the CPU in completing related data computing tasks to improve data computing efficiency.
[0060] The resource isolation requirement means that a pod can only see and use the resources allocated to it, but cannot see all the resources contained in the server where it is located, nor can it see the resources used by other pods.
[0061] Combine the following Figure 1 This article introduces a traditional DU cloud deployment solution, which is an elastic deployment solution at the DU instance granularity.
[0062] like Figure 1As shown in the figure, the server deployed with CU instance is called CU server, the server deployed with user APP is called application server, and the server deployed with DU instance is called DU server. Among them, DU server, CU server and application server can be located in different cloud environments, for example, DU server is located in edge cloud, and CU server and application server are located in central cloud and public cloud.
[0063] like Figure 1 As shown, the core of the solution is to add switches between the fronthaul (transmission between DU and RU) and midhaul (such as transmission between DU and CU) / backhaul (transmission above CU), such as the fronthaul switch and backhaul / midhaul switch shown in the figure. One RU covers one or several cellular cells, or one cellular cell is covered by one or several RUs, and one DU server can be used to manage one or more RUs. The number of online DU servers is adjusted as the load of the cellular cell changes. Multiple low-load cellular cells can be merged into one DU server and then the corresponding DU servers can be shut down. Figure 1 It is shown in the figure that the DU server can be equipped with heterogeneous accelerator cards to assist the CPU in completing the calculation and processing of related data. In order to ensure the exclusivity of the CPU core and the isolation of the hardware, Figure 1 In the illustrated solution, each DU server deploys only one DU instance.
[0064] Figure 1 The solution shown has the following disadvantages:
[0065] When RU and CU switch DU instance connection, the data of a certain cell processed by the original DU instance needs to be transferred to the new DU instance, which will interrupt the service of the cell for a period of time, usually 1 to 2 minutes, affecting user usage; in addition, a DU server only deploys one DU instance, resulting in performance waste.
[0066] It can be seen that the above solution, from the DU instance granularity, ensures the exclusivity of different DU instances to the CPU core and the resource isolation between different DU instances by deploying only one DU instance in one server, which will lead to a large performance waste problem. In addition, the method of increasing or decreasing DU instances based on the load of DU instances will involve resource reallocation, but when resources are reallocated, the status information of users and cells needs to be migrated across DU instances, which will also lead to minute-level service interruptions, violating the real-time requirements that DU instances need to meet.
[0067] Based on this, a new DU cloud deployment solution is provided in the embodiment of the present invention. In this solution, on the one hand, the corresponding plug-ins are customized and integrated to solve the problems of hardware transparent transmission, hardware virtualization reuse, and resource isolation, and multiple DU instances can be deployed in one server; on the other hand, a millisecond-level pod / DU instance synchronization elastic scaling solution is provided, so that the Pod running the DU instance can increase or decrease the number of CPU cores occupied according to the load of the DU instance. In this way, more refined resource scheduling can be achieved, and resource utilization efficiency can be further improved.
[0068] Figure 2 A schematic diagram of the structure of a DU cloud cluster system provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the system includes multiple servers located in the edge cloud, wherein each server is provided with multiple container groups, a DU instance is deployed in a container group, and a real-time thread pool component runs in the DU instance. The real-time thread pool component is described as a BBU Pool component below. In addition, each server is provided with multiple CPU cores; each server runs a management service, which includes a service interface and a resource control plug-in. Figure 2 In the example, the service interface is represented as API Server and the resource control plug-in is represented as Cgroups-controller plug-in.
[0069] Since RU is deployed close to users, DU instances need to be deployed close to RU. Therefore, the edge cloud mentioned above refers to the edge cloud close to the RU deployment location. It is understandable that several edge clouds will actually be formed, and the coverage ranges corresponding to different edge clouds are different. An edge cloud can contain several servers, such as N servers, N is greater than 1. According to actual needs, all or part of the servers can be selected for deploying DU instances, such as selecting M servers, N>M>1. The above multiple servers refer to the selected M servers.
[0070] In the embodiment of the present invention, multiple DU instances can be deployed in each of the multiple servers. Specifically, multiple pods can be constructed in each server, and then a DU instance can be constructed in each pod. It can be considered that a container is constructed in a pod, and a DU instance is carried in the container.
[0071] In addition, in order to ensure the real-time data processing requirements of the DU instance, the BBUPool component can be run in each DU instance. Simply put, the role of the BBUPool component is as follows: for each task that the DU instance needs to process (such as data packets that need to be sent to the RU or data packets received from the RU), generate and re-arrange the task list in chronological order; increase or decrease real-time threads, and each real-time thread is bound to a CPU core to complete the real-time processing of the corresponding task by using the bound CPU core.
[0072] In addition, each server is configured with various resources, such as computing resources, network communication resources, storage resources, etc. In this embodiment, computing resources are taken as an example. Figure 2 As shown in , the computing resource may be a CPU core. A server may be provided with multiple CPUs, and each CPU may have one or more cores.
[0073] exist Figure 2 In the figure, taking server 2 as an example, it is assumed that two pods are deployed therein, a DU instance is deployed in each pod, a BBU Pool component is running in each DU instance, and the server 2 has CPU cores 1 to 16 as shown in the figure.
[0074] like Figure 2 As shown in , in actual applications, in addition to DU instances, a server may also deploy services such as CU instances and user application (APP) instances. Then all CPU core resources in a server can be allocated to these service instances for use, and different service instances occupy different CPU cores. For example, Figure 2 DU instance 1 is allocated to use CPU cores 1 to 3, DU instance 2 is allocated to use CPU cores 4 to 6, and user APP instances are allocated to use CPU cores 7 to 16. Of course, the CPU cores occupied by each service instance at different times will change dynamically, which will be explained below.
[0075] In addition to the above configuration, in order to manage various service instances deployed in the server, such as DU instances, user APP instances, CU instances, etc. Figure 2 As shown in , each server also runs a management service, which can also be called a management and control platform.
[0076] This embodiment mainly focuses on the resource scheduling management of DU instances, one of which is the scheduling management of CPU cores. In order to implement the scheduling management of the CPU cores occupied by DU instances, two main units included in the management service are required: service interface and resource control plug-in, namely Figure 2The API Server and Cgroups-controller plug-in shown in Figure 2.
[0077] In the embodiment of the present invention, the resource scheduling process in each server is performed independently, that is, for a certain DU instance in a certain server, only the resources used by the DU instance are allocated from the resources provided by the server, and resource scheduling is not performed across servers.
[0078] In this embodiment, the scheduling process for the CPU core is mainly introduced. For the convenience of description, taking any server among the above multiple servers (referred to as the target server) as an example, multiple DU instances may be deployed in the target server, and taking any one of the DU instances (referred to as the target DU instance) as an example, in general, the dynamic adjustment of the CPU core occupied by the target DU instance can be described as follows:
[0079] The target DU instance in the target server is used to receive the scaling instruction through the internal real-time thread pool component and issue the scaling instruction to the service interface in the target server, wherein the scaling instruction includes the identifier of the target CPU core, and the scaling instruction is determined according to the load of the target DU instance; wherein the target CPU core is located in the target server;
[0080] A service interface in the target server, used to receive the scaling instruction;
[0081] The resource control plug-in in the target server is used to monitor the service interface in the target server to obtain the scaling instruction; and to perform scaling processing on the CPU core bound to the target DU instance based on the scaling instruction.
[0082] For ease of understanding, combined Figure 3 An exemplary description is given.
[0083] exist Figure 3 In the example, it is assumed that at a certain moment, DU instance 1 receives a scaling instruction, which includes a target CPU core 7 and a corresponding scaling indicator, and the scaling indicator indicates whether DU instance 1 occupies or releases CPU core 7. That is, if DU instance 1 originally occupies CPU core 7, it is instructed to release the occupation of CPU core 7. Conversely, if DU instance 1 originally did not occupy CPU core 7, it is instructed to occupy CPU core 7.
[0084] In actual applications, the above-mentioned scaling instruction may be triggered by a CU instance or other core network elements to DU instance 1, and is specifically triggered based on the current load condition of DU instance 1.
[0085] For example, if it is found that DU instance 1 currently needs to process a heavy load, in order to ensure the real-time processing of DU instance 1, it is necessary to increase the number of CPU cores it occupies. At this time, the CPU cores that need to be allocated to DU instance 1 can be determined from the CPU cores that are not originally occupied by DU instance 1. Optionally, CPU cores that are not used by DU instances can be allocated first, such as Figure 3 The CPU cores occupied by the user APP instance can be preferentially allocated to DU instance 1. The number of CPU cores that need to be added to DU instance 1 is related to the current load of DU instance 1. The heavier the load, the more CPU cores are added.
[0086] For another example, if it is found that the load that DU instance 1 currently needs to process is relatively light, in order to ensure resource utilization, the CPU core originally occupied by DU instance 1 can be released for use by other service instances (such as other DU instances, user APP instances).
[0087] After DU instance 1 receives the above-mentioned scaling instruction, it is handed over to the internally integrated BBUPool component for processing. The BBUPool component calls the local management service and forwards the scaling instruction to the management service. This is specifically achieved by calling the API-Server provided by the management service. The Cgroups-controller plug-in in the management service continuously monitors the API-Server. After obtaining the scaling instruction uploaded by the BBUPool component, it performs the scaling of the corresponding CPU core according to the instruction of the scaling instruction. In simple terms, if the scaling instruction instructs DU instance 1 to occupy CPU core 7, the Cgroups-controller plug-in binds CPU core 7 to DU instance 1, so that only DU instance 1 can use CPU core 7; if the scaling instruction instructs DU instance 1 to release CPU core 7, the Cgroups-controller plug-in unbinds CPU core 7 from DU instance 1.
[0088] Specifically, a resource management file ( Figure 3 The OSCgroups shown in FIG. 1 records the allocation of CPU cores of each pod in the server. The Cgroups-controller plug-in completes the execution of the above-mentioned scaling instructions by modifying the resource management file. It should be noted that in the embodiment of the present invention, since a pod contains a DU instance, the pod and the DU instance are scaled synchronously, that is, if it is necessary to increase or decrease the occupied CPU cores of a certain DU instance, it is necessary to modify the CPU cores used by the corresponding pod in the resource management file.
[0089] DU instance 1 may query the operating system kernel through system scheduling to determine the execution status of the above-mentioned scaling instruction. If it is determined that the scaling instruction has been executed, corresponding operation processing is performed, which will be explained below.
[0090] As mentioned above, the scaling instruction instructs the DU instance to increase or decrease the CPU core usage. Figure 4 and Figure 5 The specific execution processes of these two situations are respectively described by way of example.
[0091] Assume that the scaling instruction indicates to bind the target CPU core to the target DU instance. Figure 4 In the example, it is assumed that the target DU instance is DU instance 1 and the target CPU core is CPU core 7. After the Cgroups-controller plug-in monitors the scaling instruction, it accesses the resource management file in the operating system kernel to bind DU instance 1 to CPU core 7 in the resource management file and deletes the binding relationship between other instances and CPU core 7.
[0092] exist Figure 4 In the example, assume that server 2 has DU instance 1 deployed in pod 1, DU instance 2 deployed in pod 2, and user APP instance in pod 3, and assume that pod 1, i.e., DU instance 1, has been previously allocated to use CPU cores 1 to 3, pod 2, i.e., DU instance 2, has been allocated to use CPU cores 4 to 6, and pod 3, i.e., user APP instance, has been allocated to use CPU cores 7 to 16. Based on the above scaling instructions, the resource management file is modified as follows: Figure 4 As shown in , CPU core 7 is bound to DU instance 1, so that the CPU core bound to the user APP instance is updated to CPU core 8 to CPU core 16.
[0093] DU instance 1 queries the operating system kernel through the internal BBU Pool component, and after determining that DU instance 1 is bound to CPU core 7, creates a new real-time thread using the CPU core 7, that is, creates a new real-time thread and binds the real-time thread to CPU core 7, which means that the real-time thread will subsequently use CPU core 7 for task processing.
[0094] Assume that the scaling instruction indicates to remove the target CPU core from the CPU cores bound to the target DU instance. Figure 5 In the example, it is assumed that the target DU instance is DU instance 1, the target CPU core is CPU core 7, and the real-time thread that originally uses CPU core 7 in DU instance 1 is thread X. Figure 5As shown in , after receiving the scaling instruction, DU instance 1 needs to migrate thread X originally bound to CPU core 7 to other CPU cores. Then forward the scaling instruction to the API Server. After the Cgroups-controller plug-in listens to the scaling instruction, it accesses the resource management file in the operating system kernel to unbind DU instance 1 from CPU core 7 in the resource management file. It should be noted that thread X needs to be migrated to other CPU cores occupied by DU instance 1 except CPU core 7.
[0095] DU instance 1 queries the operating system kernel through the internal BBU Pool component, and deletes the real-time thread X that originally used CPU core 7 after confirming that DU instance 1 has been unbound from CPU core 7.
[0096] Since DU instances have high real-time requirements, to meet this requirement, real-time threads need to be bound to CPU cores. When the CPU occupied by the DU instance needs to be scaled up or down, this binding relationship will scale up or down along with the DU instance, i.e., the pod.
[0097] In summary, in the embodiment of the present invention, a low-latency control loop is developed based on the BBU Pool component and the Cgroups-Controller plug-in to control the scaling of the CPU cores occupied by the DU instance, i.e., the pod, which not only ensures the elastic scaling capability with acceptable latency, but also ensures the isolation between multiple DU instances, because for different DU instances in the same server, they only see and use the CPU cores allocated to it, and the same CPU core will only be allocated to one DU instance at the same time.
[0098] The above embodiments illustrate the scheduling process of resources such as CPU cores. As mentioned above, in addition to resources such as CPU cores, servers also provide resources such as accelerated computing cards and network cards for accelerated computing.
[0099] For ease of description, combined Figure 6 To illustrate the composition of a server, it can be understood that each server in the same edge cloud can have the same composition.
[0100] Still taking the example of server 2 above, Figure 6As shown in the figure, in addition to deploying multiple pods containing different instances in server 2, management services including service interfaces (API-Server) and resource control plug-ins (Cgroups-Controller plug-in), as well as an operating system and several CPU cores, the management service may also include a container network plug-in (SRIOV-CNI plug-in in the figure). In addition, server 2 may also include multiple physical network cards for forward transmission (i.e., transmission between DU instances and RUs), and multiple physical accelerated computing cards for providing accelerated computing capabilities. These multiple physical accelerated computing cards may be heterogeneous, such as including but not limited to GPUs, FPGAs, graphics cards, and the like.
[0101] In actual applications, a DU instance often needs to communicate with at least one RU. The corresponding relationship between the DU instance and the RU can be pre-set, and a DU instance can correspond to one or more RUs.
[0102] In an embodiment of the present invention, in order to meet the demands for computing resources and network resources of numerous DU instances in the same server, or even other service instances (such as user APP instances, CU instances, etc.), the physical hardware is virtualized through virtualization technology to obtain corresponding virtual resources.
[0103] Specifically in the above server, multiple physical network cards can be virtualized into multiple virtual network cards through virtualization technology. Assuming that the number of physical network cards is K1 and the number of virtual network cards is K2, it can be understood that K2>K1, that is, one physical network card can be virtualized into multiple virtual network cards. Similarly, multiple physical accelerated computing cards can also be virtualized into multiple virtual accelerated computing cards through virtualization technology.
[0104] Multiple virtual accelerated computing cards can be allocated to different DU instances for use. For example, one DU instance is allocated to use virtual accelerated computing card 1, and another DU instance is allocated to use virtual accelerated computing card 2; or, one DU instance is allocated to use 60% of the computing power of virtual accelerated computing card 1, and another DU instance is allocated to use the remaining 40% of the computing power of virtual accelerated computing card 1.
[0105] For multiple virtual network cards, multiple virtual LANs can be constructed based on these multiple virtual network cards for communication with RUs. Since the communication between a DU instance and an RU involves communication between the user plane and the control plane, the multiple virtual LANs constructed will include a virtual LAN corresponding to the control plane and a virtual LAN corresponding to the user plane. It is understandable that the network configurations of the virtual LAN corresponding to the control plane and the virtual LAN corresponding to the user plane will be different.
[0106] In summary, the process of allocating a virtual accelerator computing card to any DU instance (referred to as the target DU instance) in the server through the SRIOV-CNI plug-in can be described as follows:
[0107] The SRIOV-CNI plug-in obtains computing configuration information corresponding to the target DU instance, where the computing configuration information includes an identifier of a target virtual accelerated computing card corresponding to the target DU instance;
[0108] The SRIOV-CNI plug-in transparently transmits the computing configuration information to the target DU instance so that the target DU instance uses the target virtual accelerated computing card to perform data computing processing.
[0109] Combination Figure 7 To illustrate the allocation process of the above virtual accelerated computing card.
[0110] In actual applications, the server 2 may be configured with a corresponding configuration interface, and the operation and maintenance personnel may perform allocation processing of the virtual accelerated computing card and the virtual network card in the configuration interface output by the server 2. Figure 7 In the figure, it is assumed that the multiple virtual acceleration computing cards included in server 2 are composed of virtual acceleration card 0 and virtual acceleration card 1 as shown in the figure, and it is assumed that the operation and maintenance personnel allocate virtual acceleration card 0 to DU instance 1 located in pod 1 in server 2, and allocate virtual acceleration card 1 to DU instance 2 located in pod 2 in server 2. Based on the allocation operation, the SRIOV-CNI plug-in will generate computing configuration information for DU instance 1 and DU instance 2, and the computing allocation information includes the identifier of the virtual acceleration card assigned to the corresponding DU instance. The SRIOV-CNI plug-in directly transparently transmits the computing allocation information corresponding to different DU instances to the corresponding DU instances, so that the corresponding DU instances can know the virtual acceleration cards they can use and use them. It can be seen that for different DU instances, they can only see and use the virtual acceleration cards assigned to them, which meets the resource isolation requirements between different DU instances.
[0111] In summary, the process of allocating a virtual LAN to any DU instance (called the target DU instance) in the server through the SRIOV-CNI plug-in can be described as follows:
[0112] The SRIOV-CNI plug-in obtains network configuration information corresponding to the target DU instance, where the network configuration information includes identifiers of at least two virtual network cards corresponding to the target DU instance and an identifier of the target RU, wherein the at least two virtual local area networks corresponding to the at least two virtual network cards include a virtual local area network corresponding to the control plane and a virtual local area network corresponding to the user plane;
[0113] The SRIOV-CNI plug-in transparently transmits the network configuration information to the target DU instance, so that the target DU instance communicates with the target RU through the at least two virtual local area networks.
[0114] Combination Figure 8 To illustrate the allocation process of the above virtual LAN by way of example.
[0115] In actual applications, the operation and maintenance personnel can configure the number of virtual network cards that need to be virtualized for each physical network card, such as virtualizing two or more. In addition, the corresponding virtual LAN can also be constructed based on each virtual network card according to actual needs. Assuming that a total of M virtual network cards are virtualized, the M virtual LANs constructed include M / 2 virtual LANs corresponding to the user plane and M / 2 virtual LANs corresponding to the control plane. Each physical network card can send registration information to the SRIOV-CNI plug-in based on the above configuration information input by the operation and maintenance personnel. The registration information includes the virtual network card identifiers corresponding to the corresponding physical network card and the identifier and type of the virtual LAN corresponding to each virtual network card identifier. In this way, the SRIOV-CNI plug-in stores the identifiers of multiple virtual network cards virtualized and the identifier and type of the virtual LAN corresponding to each virtual network card. Server 2 can be configured with a configuration interface for allocating virtual LANs to each DU instance, and the operation and maintenance personnel perform virtual LAN allocation processing in the configuration interface. Specifically, the identifiers of multiple virtual network cards stored in the SRIOV-CNI plug-in and the identifier and type of the virtual local area network corresponding to each virtual network card can be displayed on the configuration interface. For the target DU instance, the operation and maintenance personnel determine at least two virtual network card identifiers corresponding to the target DU instance (assuming that it is represented as Y, Y is greater than or equal to 2), and these Y virtual network cards correspond to construct Y virtual local area networks, which include a virtual local area network corresponding to the user plane and a virtual local area network corresponding to the control plane. In addition, the operation and maintenance personnel also input the identifier of the target RU corresponding to the target DU instance on the configuration interface. Based on the above configuration information input by the operation and maintenance personnel in the configuration interface, the SRIOV-CNI plug-in can generate network configuration information corresponding to the target DU instance, and the network configuration information includes the identifiers of the above Y virtual network cards corresponding to the target DU instance and the identifier of the target RU. The SRIOV-CNI plug-in transmits the network configuration information to the target DU instance, and the target DU instance can know which virtual local area networks it can communicate with which RU.
[0116] exist Figure 8 In the example, assume that server 2 contains two physical network cards, network card 1 and network card 2, and assume that network card 1 virtualizes virtual network card 1 and virtual network card 2, and network card 2 virtualizes virtual network card 3 and virtual network card 4. Figure 8In the figure, they are represented as VF1, VF2, VF3, and VF4 respectively. It is assumed that four virtual LANs, VLAN1, VLAN2, VLAN3, and VLAN4, are constructed based on VF1, VF2, VF3, and VF4. It is assumed that VLAN1 and VLAN2 correspond to the user plane and the other one corresponds to the control plane. Similarly, it is assumed that VLAN3 and VLAN4 correspond to the user plane and the other one corresponds to the control plane. Figure 8 It is illustrated in the figure that the operation and maintenance personnel assign VF1 and VF2 to DU instance 1 for use, so that DU instance 1 can communicate with RU1 through the corresponding two virtual LANs, and assign VF3 and VF4 to DU instance 2 for use, so that DU instance 2 can communicate with RU2 through the corresponding two virtual LANs. The network configuration information of each DU instance is transmitted to the corresponding DU instance by the SRIOV-CNI plug-in by the operation and maintenance personnel. The above two DU instances can then know that they have two virtual network cards to use, and know the identifiers of the two virtual network cards and the type of virtual LAN corresponding to each virtual network card. Based on this, the DU instance can perform local configuration to communicate normally with the corresponding RU through the corresponding virtual LAN. It can be seen that for different DU instances, they can only see and use the virtual network cards assigned to them, which meets the resource isolation requirements between different DU instances.
[0117] It should be noted that the load of a DU instance may vary at different times. If a DU instance has a high load during a period of time and the communication volume with the corresponding RU is large, several more virtual network cards can be allocated to the DU instance to meet the large bandwidth requirements.
[0118] In summary, virtualization technology is used to virtualize hardware such as physical network cards and physical accelerated computing cards. The added SRIOV-CNI plug-in is used to implement on-demand allocation of these virtualized resources between different DU instances, and to ensure resource isolation between different DU instances, thereby improving the flexibility of cloud deployment of DU instances.
[0119] Fig. 9 The flowchart of a DU cloud deployment method provided by an embodiment of the present invention can be executed by the management service running in the target server mentioned above, and the management service includes a service interface and a resource control plug-in. The target server is provided with multiple container groups, one DU instance is deployed in one container group, and the target server is provided with multiple CPU cores. Fig. 9 As shown, the following steps may be included:
[0120] 901. Receive a scaling instruction issued by a target DU instance through an internal real-time thread pool component through a service interface. The scaling instruction includes an identifier of a target CPU core. The scaling instruction is determined according to a load condition of the target DU instance.
[0121] 902. Monitor the service interface through the resource control plug-in to obtain the scaling instruction.
[0122] 903. Based on the scaling instruction, scaling is performed on the CPU core bound to the target DU instance through the resource control plug-in.
[0123] As described above, optionally, the scaling instruction indicates that the target CPU core is bound to the target DU instance. At this time, scaling is performed on the CPU core bound to the target DU instance, which can be specifically implemented as follows:
[0124] Access the resource management file in the operating system kernel through the resource control plug-in to bind the target DU instance to the target CPU core in the resource management file, and delete the binding relationship between other instances and the target CPU core, so that the real-time thread pool component creates a new real-time thread using the target CPU core after determining that the target DU instance is bound to the target CPU core, and the other instances include other DU instances and user application instances deployed in the target server.
[0125] Optionally, the scaling instruction indicates to delete the target CPU core from the CPU cores bound to the target DU instance. In this case, scaling is performed on the CPU cores bound to the target DU instance, which can be specifically implemented as follows:
[0126] The resource management file in the operating system kernel is accessed through the resource control plug-in to unbind the target DU instance from the target CPU core in the resource management file, so that the real-time thread pool component deletes the real-time thread using the target CPU core after determining that the target DU instance is unbound from the target CPU core.
[0127] In an optional embodiment, the target server is provided with multiple physical network cards for connecting different RUs, and the multiple physical network cards virtualize multiple virtual network cards through virtualization technology, and multiple virtual LANs are constructed based on the multiple virtual network cards, and the multiple virtual LANs include a virtual LAN corresponding to the control plane and a virtual LAN corresponding to the user plane. The management service includes a container network plug-in. Based on this, the network configuration information corresponding to the target DU instance can also be obtained through the container network plug-in, and the network configuration information includes the identifiers of at least two virtual network cards corresponding to the target DU instance and the identifier of the target RU, wherein the at least two virtual LANs corresponding to the at least two virtual network cards include a virtual LAN corresponding to the control plane and a virtual LAN corresponding to the user plane; the network configuration information is transparently transmitted to the target DU instance through the container network plug-in, so that the target DU instance communicates with the target RU through the at least two virtual LANs.
[0128] In another optional embodiment, the target server is provided with multiple physical accelerated computing cards, and multiple physical accelerated computing cards are virtualized into multiple virtual accelerated computing cards through virtualization technology. Based on this, the computing configuration information corresponding to the target DU instance can also be obtained through the container network plug-in, and the computing configuration information includes the identifier of the target virtual accelerated computing card corresponding to the target DU instance; the computing configuration information is transparently transmitted to the target DU instance through the container network plug-in, so that the target DU instance uses the target virtual accelerated computing card to perform data computing processing.
[0129] The specific execution process of each of the above steps can refer to the relevant descriptions in the aforementioned other embodiments and will not be repeated here.
[0130] With the development of applications such as VR, high-definition live broadcast, and short videos, more and more high-traffic services will enter the 5G mobile communication network, bringing greater data traffic to the existing network. For example, even in normal times, a sudden online hit drama, a sudden social hot news event, etc., will cause a sudden increase or rapid decline in mobile communication network traffic. Some of the data traffic with high real-time requirements will pass through the DU. Therefore, an edge cloud containing multiple DU instances formed based on the DU cloud deployment method provided in an embodiment of the present invention can be used to process these data traffic with high real-time requirements. In actual applications, application scenarios with high real-time requirements include autonomous driving scenarios, etc.
[0131] Fig.10 The flowchart of a data processing method based on cloud DU provided by an embodiment of the present invention can be executed by the management service running in the target server in the edge cloud mentioned above, and the management service includes a service interface and a resource control plug-in. The target server is provided with multiple container groups, one DU instance is deployed in one container group, and the target server is provided with multiple CPU cores. Fig.10 As shown, the following steps may be included:
[0132] 1001. A target DU instance in a target server receives a scaling instruction sent by a CU or a core network element. The scaling instruction includes an identifier of a target CPU core. The scaling instruction is determined according to an amount of driving data that needs to be processed by the target DU instance.
[0133] 1002. Receive the scaling instruction issued by the target DU instance through the internal real-time thread pool component through the service interface of the management service.
[0134] 1003. Monitor the service interface through the resource control plug-in of the management service to obtain the scaling instruction.
[0135] 1004. Based on the scaling instruction, scaling is performed on the CPU core bound to the target DU instance through the resource control plug-in of the management service.
[0136] The driving data mentioned in this embodiment refers to the data generated during the driving of the vehicle that needs to be transmitted through the 5G mobile communication network, such as navigation data, control data for controlling the vehicle to accelerate, decelerate, turn, etc., image or video data collected by the on-board terminal, etc.
[0137] For ease of understanding, the following Fig.11 To illustrate the dynamic adjustment process of the resources occupied by the DU instance based on the change in the amount of driving data in the autonomous driving scenario.
[0138] exist Fig.11 In the example, suppose a large number of autonomous driving vehicles are tested in a certain area. A large amount of driving data will be generated during the test. These driving data may need to be transmitted between vehicles, or between vehicle terminals and remote backend servers. An edge cloud node is deployed near the area, and some of the servers have multiple DU instances deployed. The above driving data needs to be processed by the DU instances deployed in these servers and forwarded to vehicles and backend servers.
[0139] In this embodiment, it is assumed that CU or some core network elements are used to perform load management on each DU instance. When it is found that the load of a DU instance is too high, the occupied CPU cores can be increased. At this time, the above-mentioned scaling instruction is sent to the DU instance. The processing process of the DU instance on the received scaling instruction can refer to the relevant descriptions in the aforementioned other embodiments, which will not be repeated here.
[0140] Fig.12 The flowchart of a data processing method based on cloud DU provided by an embodiment of the present invention can be executed by the management service running in the target server in the edge cloud mentioned above, and the management service includes a service interface and a resource control plug-in. The target server is provided with multiple container groups, one DU instance is deployed in one container group, and the target server is provided with multiple CPU cores. Fig.12 As shown, the following steps may be included:
[0141] 1201. A target DU instance in a target server receives a scaling instruction sent by a CU. The scaling instruction includes an identifier of a target CPU core. The scaling instruction is determined according to a load condition of live data that needs to be processed by the target DU instance.
[0142] 1202. Receive the scaling instruction issued by the target DU instance through the internal real-time thread pool component through the service interface of the management service.
[0143] 1203. Monitor the service interface through the resource control plug-in of the management service to obtain the scaling instruction.
[0144] 1204. Based on the scaling instruction, scaling is performed on the CPU core bound to the target DU instance through the resource control plug-in of the management service.
[0145] Optionally, when the scaling instruction indicates that the target DU instance is bound to a target CPU core, scaling the CPU core bound to the target DU instance may be specifically implemented as follows:
[0146] Access the resource management file in the operating system kernel through the resource control plug-in to bind the target DU instance to the target CPU core in the resource management file, and delete the binding relationship between other instances and the target CPU core, so that the real-time thread pool component creates a new real-time thread using the target CPU core after determining that the target DU instance is bound to the target CPU core, and the other instances include other distributed unit instances and user application instances deployed in the target server.
[0147] Optionally, when the scaling instruction indicates to delete the target CPU core from the CPU cores bound to the target DU instance, scaling the CPU cores bound to the target DU instance may be specifically implemented as follows:
[0148] The resource management file in the operating system kernel is accessed through the resource control plug-in to unbind the target DU instance from the target CPU core in the resource management file, so that the real-time thread pool component deletes the real-time thread using the target CPU core after determining that the target DU instance is unbound from the target CPU core.
[0149] For the relevant descriptions not elaborated in detail in this embodiment and the process of allocating the virtual network card and virtual acceleration card in the target server to the target DU instance, please refer to the relevant descriptions in the aforementioned other embodiments and will not be repeated here.
[0150] For ease of understanding, the following Fig.13 To illustrate the dynamic adjustment process of the resources occupied by the DU instance based on the change of the live data traffic in the live scene.
[0151] exist Fig.13 In the example, suppose there are a large number of anchors in a certain area doing live broadcasts due to a large-scale event or promotion, and a large amount of live broadcast data will be generated during this period and needs to be transmitted. An edge cloud node is deployed near the area, and some of the servers have multiple DU instances deployed. The above execution data needs to be processed by the DU instances deployed in these servers and forwarded to the viewer's terminal or other network devices.
[0152] In this embodiment, it is assumed that the CU is used to perform load management on each DU instance. Since video encoding and decoding may require the use of more computing resources, when it is found that the live data load of a certain DU instance is too high, the CPU cores occupied by it can be increased. At this time, the above-mentioned scaling instruction is sent to the DU instance. The processing process of the DU instance on the received scaling instruction can refer to the relevant descriptions in the aforementioned other embodiments, which will not be repeated here.
[0153] The following will describe in detail the DU cloud deployment device of one or more embodiments of the present invention. Those skilled in the art will appreciate that these devices can be configured using commercially available hardware components through the steps taught in this solution.
[0154] Fig.14 A schematic diagram of the structure of a DU cloud deployment device provided in an embodiment of the present invention, the DU cloud deployment device corresponds to a management service running in a target server, the target server is provided with multiple container groups, one DU instance is deployed in one container group, the target server is provided with multiple CPU cores, the target server is any one of the multiple servers included in the edge cloud, and the management service includes a service interface and a resource control plug-in. Fig.14 As shown, the device includes: an acquisition module 11, a receiving module 12, and a determination module 13.
[0155] The receiving module 11 is used to receive, through the service interface, a scaling instruction issued by the target DU instance through the internal real-time thread pool component, wherein the scaling instruction includes an identifier of a target CPU core, and the scaling instruction is determined based on the load condition of the target DU instance, and the target DU instance and the target CPU core are located in the target server.
[0156] The monitoring module 12 is used to monitor the service interface through the resource control plug-in to obtain the scaling instruction.
[0157] The processing module 13 is used to perform scaling processing on the CPU core bound to the target DU instance through the resource control plug-in based on the scaling instruction.
[0158] Optionally, the scaling instruction indicates that the target DU instance is bound to the target CPU core, and the processing module 13 can be specifically used to: access the resource management file in the operating system kernel through the resource control plug-in to bind the target DU instance to the target CPU core in the resource management file, and delete the binding relationship between other instances and the target CPU core, so that the real-time thread pool component creates a new real-time thread using the target CPU core after determining that the target DU instance is bound to the target CPU core, and the other instances include other DU instances and user application instances deployed in the target server.
[0159] Optionally, the scaling instruction instructs to delete the target CPU core from the CPU core bound to the target DU instance, and the processing module 13 can be specifically used to: access the resource management file in the operating system kernel through the resource control plug-in to unbind the target DU instance from the target CPU core in the resource management file, so that the real-time thread pool component deletes the real-time thread using the target CPU core after determining that the target DU instance is unbound from the target CPU core.
[0160] Optionally, the target server is provided with a plurality of physical network cards for connecting different RUs, the plurality of physical network cards virtualize a plurality of virtual network cards through virtualization technology, and a plurality of virtual LANs are constructed based on the plurality of virtual network cards, the plurality of virtual LANs include a virtual LAN corresponding to the control plane and a virtual LAN corresponding to the user plane; the management service includes a container network plug-in. The processing module 13 can also be used for: obtaining network configuration information corresponding to the target DU instance through the container network plug-in, the network configuration information including the identifiers of at least two virtual network cards corresponding to the target DU instance and the identifier of the target RU, wherein the at least two virtual LANs corresponding to the at least two virtual network cards include a virtual LAN corresponding to the control plane and a virtual LAN corresponding to the user plane; the network configuration information is transparently transmitted to the target DU instance through the container network plug-in, so that the target DU instance communicates with the target RU through the at least two virtual LANs.
[0161] Optionally, the target server is provided with a plurality of physical accelerated computing cards, and the plurality of physical accelerated computing cards virtualize a plurality of virtual accelerated computing cards through virtualization technology; the management service includes a container network plug-in. The processing module 13 can also be used to: obtain computing configuration information corresponding to the target DU instance through the container network plug-in, the computing configuration information including the identifier of the target virtual accelerated computing card corresponding to the target DU instance; and transmit the computing configuration information to the target DU instance through the container network plug-in, so that the target DU instance uses the target virtual accelerated computing card to perform data computing processing.
[0162] Fig.14 The device shown can execute the steps executed by the management service in the aforementioned embodiments. The detailed execution process and technical effects are described in the aforementioned embodiments and will not be repeated here.
[0163] In one possible design, the above Fig.14 The structure of the DU cloud deployment device shown can be implemented as a server. Fig.15 As shown, the server may include: a processor 21, a memory 22, and a communication interface 23. The memory 22 stores executable code, and when the executable code is executed by the processor 21, the processor 21 can at least implement the DU cloud deployment method executed by the management service in the above-mentioned embodiment.
[0164] In addition, an embodiment of the present invention provides a non-temporary machine-readable storage medium, on which executable code is stored. When the executable code is executed by a processor of a server, the processor can at least implement the DU cloud deployment method provided in the aforementioned embodiment.
[0165] The device embodiments described above are merely illustrative, wherein the network elements described as separate components may or may not be physically separated. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0166] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course can also be implemented by combining hardware and software. Based on such an understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a computer product, and the present invention can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0167] 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 make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A distributed unit cloud deployment method, characterized in that: A management service is applied to a target server, wherein the target server is provided with a plurality of container groups, a distribution unit instance is deployed in a container group, the target server is provided with a plurality of CPU cores, the target server is any one of a plurality of servers included in an edge cloud, and the management service includes a service interface and a resource control plug-in; the method includes: Receiving, through the service interface, a scaling instruction issued by a target distributed unit instance through an internal real-time thread pool component, wherein the scaling instruction includes an identifier of a target CPU core, and the scaling instruction is determined according to a load condition of the target distributed unit instance, wherein the target distributed unit instance and the target CPU core are located in the target server; Monitoring the service interface through the resource control plug-in to obtain the scaling instruction; Based on the scaling instruction, scaling the CPU core bound to the target distribution unit instance is performed through the resource control plug-in; The step of performing scaling processing on the CPU core bound to the target distribution unit instance through the resource control plug-in based on the scaling instruction includes: If the scaling instruction indicates that the target CPU core is bound to the target distributed unit instance, the resource management file in the operating system kernel is accessed through the resource control plug-in to bind the target distributed unit instance to the target CPU core in the resource management file, and the binding relationship between other instances and the target CPU core is deleted, and the other instances include other distributed unit instances and user application instances deployed in the target server; if the scaling instruction indicates that the target CPU core is deleted from the CPU core bound to the target distributed unit instance, the resource management file in the operating system kernel is accessed through the resource control plug-in to unbind the target distributed unit instance from the target CPU core in the resource management file.
2. The method according to claim 1, characterized in that The binding relationship between other instances and the target CPU core is deleted, so that the real-time thread pool component creates a new real-time thread using the target CPU core after determining that the target distribution unit instance is bound to the target CPU core.
3. The method according to claim 1, characterized in that: The target distribution unit instance is unbound from the target CPU core, so that the real-time thread pool component deletes the real-time thread using the target CPU core after determining that the target distribution unit instance is unbound from the target CPU core.
4. The method according to claim 1, characterized in that: The target server is provided with a plurality of physical network cards for connecting different RUs, the plurality of physical network cards are virtualized into a plurality of virtual network cards through virtualization technology, and a plurality of virtual local area networks are constructed based on the plurality of virtual network cards, wherein the plurality of virtual local area networks include a virtual local area network corresponding to a control plane and a virtual local area network corresponding to a user plane; The management service includes a container network plug-in; The method further comprises: Acquire network configuration information corresponding to the target distribution unit instance through the container network plug-in, wherein the network configuration information includes identifiers of at least two virtual network cards corresponding to the target distribution unit instance and an identifier of a target RU, wherein at least two virtual local area networks corresponding to the at least two virtual network cards include a virtual local area network corresponding to a control plane and a virtual local area network corresponding to a user plane; The network configuration information is transparently transmitted to the target distribution unit instance through the container network plug-in, so that the target distribution unit instance communicates with the target RU through the at least two virtual local area networks.
5. The method according to claim 4, characterized in that The acquiring, through the container network plug-in, network configuration information corresponding to the target distribution unit instance includes: Receiving, through the container network plug-in, registration information respectively sent by the multiple physical network cards, wherein the registration information of any physical network card includes each virtual network card identifier corresponding to the any physical network card and an identifier and a type of a virtual local area network corresponding to each virtual network card identifier; The container network plug-in generates network configuration information corresponding to the target distribution unit instance based on the registration information respectively sent by the multiple physical network cards and the preset corresponding relationship between the target distribution unit instance and the target RU.
6. The method according to claim 1, characterized in that The target server is provided with a plurality of physical accelerated computing cards, and the plurality of physical accelerated computing cards are virtualized into a plurality of virtual accelerated computing cards through virtualization technology; the management service includes a container network plug-in; The method further comprises: Acquire computing configuration information corresponding to the target distribution unit instance through the container network plug-in, wherein the computing configuration information includes an identifier of a target virtual accelerated computing card corresponding to the target distribution unit instance; The computing configuration information is transparently transmitted to the target distribution unit instance through the container network plug-in, so that the target distribution unit instance uses the target virtual accelerated computing card to perform data computing processing.
7. A distributed unit cloud cluster system, characterized in that: include: Multiple servers located in the edge cloud, wherein each server is provided with multiple container groups, a distribution unit instance is deployed in one container group, and a real-time thread pool component is run in the distribution unit instance; Each server is provided with multiple CPU cores; each server runs a management service, which includes a service interface and a resource control plug-in; The target distribution unit instance in the target server is used to receive the scaling instruction through the internal real-time thread pool component and issue the scaling instruction to the service interface in the target server, wherein the scaling instruction includes the identifier of the target CPU core, and the scaling instruction is determined according to the load condition of the target distribution unit instance; wherein the target CPU core is located in the target server, and the target server is any one of the multiple servers; The service interface in the target server is used to receive the scaling instruction; The resource control plug-in in the target server is used to monitor the service interface in the target server to obtain the scaling instruction; and based on the scaling instruction, perform scaling processing on the CPU core bound to the target distribution unit instance; Among them, the resource control plug-in is specifically used to: if the scaling instruction indicates that the target distributed unit instance is bound to the target CPU core, then the resource management file in the operating system kernel is accessed through the resource control plug-in to bind the target distributed unit instance to the target CPU core in the resource management file, and delete the binding relationship between other instances and the target CPU core, and the other instances include other distributed unit instances and user application instances deployed in the target server; if the scaling instruction indicates to delete the target CPU core from the CPU core bound to the target distributed unit instance, then the resource management file in the operating system kernel is accessed through the resource control plug-in to unbind the target distributed unit instance from the target CPU core in the resource management file.
8. The system according to claim 7, characterized in that The scaling instruction indicates binding the target CPU core to the target distribution unit instance; The resource control plug-in in the target server is used to access the resource management file in the operating system kernel to bind the target distributed unit instance to the target CPU core in the resource management file and delete the binding relationship between other instances and the target CPU core, wherein the other instances include other distributed unit instances and user application instances deployed in the target server; The target distribution unit instance is used to query the operating system kernel through an internal real-time thread pool component to create a new real-time thread after determining that the target distribution unit instance is bound to the target CPU core, so that the new real-time thread uses the target CPU core.
9. The system according to claim 7, characterized in that The scaling instruction instructs to delete the target CPU core from the CPU cores bound to the target distribution unit instance; The resource control plug-in in the target server is used to access the resource management file in the operating system kernel to unbind the target distribution unit instance from the target CPU core in the resource management file; The target distribution unit instance is used to migrate the real-time threads using the target CPU core to other CPU cores in the target server through an internal real-time thread pool component, and to query the operating system kernel to delete the real-time threads using the target CPU core after determining that the target distribution unit instance is unbound from the target CPU core.
10. A distributed unit cloud deployment method, characterized in that: A management service is applied to a target server, wherein the target server is provided with a plurality of container groups, a distribution unit instance is deployed in a container group, the target server is provided with a plurality of CPU cores, the target server is any one of a plurality of servers included in an edge cloud, and the management service includes a service interface and a resource control plug-in; the method includes: Receiving, through the service interface, a scaling instruction issued by a target distribution unit instance through an internal real-time thread pool component, wherein the scaling instruction includes an identifier of a target CPU core, and the scaling instruction is determined by a centralized unit according to a live data load of the target distribution unit instance, wherein the target distribution unit instance and the target CPU core are located in the target server; Monitoring the service interface through the resource control plug-in to obtain the scaling instruction; Based on the scaling instruction, scaling the CPU core bound to the target distribution unit instance is performed through the resource control plug-in, so that the target distribution unit instance uses the CPU core after the scaling process to process the received live broadcast data; Among them, based on the scaling instruction, scaling processing is performed on the CPU core bound to the target distribution unit instance through the resource control plug-in, including: if the scaling instruction indicates that the target distribution unit instance is bound to the target CPU core, accessing the resource management file in the operating system kernel through the resource control plug-in, so as to bind the target distribution unit instance to the target CPU core in the resource management file, and deleting the binding relationship between other instances and the target CPU core, and the other instances include other distribution unit instances and user application instances deployed in the target server; if the scaling instruction indicates to delete the target CPU core from the CPU core bound to the target distribution unit instance, accessing the resource management file in the operating system kernel through the resource control plug-in, so as to unbind the target distribution unit instance from the target CPU core in the resource management file.
11. The method according to claim 10, characterized in that The scaling instruction indicates that the target CPU core is bound to the target distribution unit instance, and the scaling process of the CPU core bound to the target distribution unit instance by the resource control plug-in based on the scaling instruction includes: The resource management file in the operating system kernel is accessed through the resource control plug-in to bind the target distribution unit instance to the target CPU core in the resource management file, and the binding relationship between other instances and the target CPU core is deleted, so that the real-time thread pool component creates a new real-time thread using the target CPU core after determining that the target distribution unit instance is bound to the target CPU core, and the other instances include other distribution unit instances and user application instances deployed in the target server.
12. A server, characterized in that: include: A memory, a processor, and a communication interface; wherein the memory stores executable code, and when the executable code is executed by the processor, the processor executes the distributed unit cloud deployment method as described in any one of claims 1 to 6.
13. A non-transitory machine-readable storage medium, characterized in that: The non-transitory machine-readable storage medium stores executable code, and when the executable code is executed by a processor of a server, the processor executes the distributed unit cloud deployment method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Data transmission method, device, equipment, and base station
CN103535068A
Method and apparatus for controlling a signal path of a radio communication
CN105210409A
NR protocol stack system based on OAI platform and implementation method
CN112261699A
Distributed computing unit, system and respective method
EP2874062A1
Heterogeneous field devices control management system based on industrial internet operating system
IN201724026053A
