O-RAN-oriented multilevel heterogeneous resource scheduling method

By using the DRQN ​​algorithm for resource scheduling in multi-level heterogeneous networks and selecting appropriate transmission paths and model migration locations, the problem of randomness and complexity of resource scheduling is solved, the balance between energy consumption and calculation transmission time is achieved, and the efficiency is improved System performance.

CN118535304AInactive Publication Date: 2024-08-23HENAN NORMAL UNIV
View PDF 0 Cites 6 Cited by

Patent Information

Application Number
CN202410686035.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure CN118535304A
    Figure CN118535304A
Patent Text Reader

Abstract

The invention provides an O-RAN-oriented multilevel heterogeneous resource scheduling method and device, and belongs to the technical field of resource scheduling. An O-RAN near-real-time RAN intelligent controller Near-RT RIC is placed in a distributed edge server DES located in a mobile edge computing architecture MEC, and a task resource scheduling decision is quickly made through a near-real-time control loop; the problem of data resource scheduling in the O-RAN and MEC fused multi-level heterogeneous network is solved; according to a DRQN-based multilevel heterogeneous data transmission algorithm, an appropriate transmission path is selected for a task according to the load condition of a real-time network system and the resource load condition of an edge server, and a data transmission strategy is optimized; according to the DRQN-based multi-level heterogeneous model migration algorithm, a task processing model is migrated to a proper edge server according to a network task resource distribution condition and a system load state, so that the data transmission time delay of a whole system task is reduced, computing resource allocation and task scheduling are optimized, and the whole system performance is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of resource scheduling, and in particular to a multi-level heterogeneous resource scheduling method and method for O-RAN. Background Art

[0002] With the rapid development of 5G technology and the increasing maturity of edge computing concepts, multi-level heterogeneous networks have received widespread attention and application, and their flexibility and efficiency have gradually highlighted their advantages. In this context, a multi-level heterogeneous network structure that integrates the Open Radio Access Network (O-RAN) and Mobile Edge Computing (MEC) has become a good solution. The development of this architecture has brought higher network flexibility and efficiency, and can better support the deployment and data processing requirements of edge services. However, with the widespread application of multi-level heterogeneous networks, a series of problems have gradually emerged. First, due to the randomness of personnel flow and the complexity of the resource environment, the distribution of network data resources presents a random state, which leads to challenges in resource scheduling. In addition, there is a complex relationship between data transmission consumption and resource deployment in multi-level heterogeneous networks. It is necessary to comprehensively consider the data transmission consumption and resource deployment between different networks to achieve reasonable resource allocation and deployment. Summary of the invention

[0003] In view of this, the purpose of the present application is to provide a multi-level heterogeneous resource scheduling method, device, electronic device and storage medium for O-RAN, which can select a suitable data transmission path and determine the appropriate model migration location in a multi-level heterogeneous network to achieve a balance between energy consumption and computing transmission time.

[0004] In a first aspect, an embodiment of the present application provides a multi-level heterogeneous resource scheduling method for O-RAN, the method comprising:

[0005] Place the O-RAN near real-time RAN intelligent controller Near-RT RIC in the distributed edge server DES located in the mobile edge computing architecture MEC;

[0006] The O-RAN near real-time RAN intelligent controller Near-RT RIC is used to schedule task resources through a near real-time control loop and an established network transmission model for data model mutual transmission; wherein the task resource scheduling includes selecting a transmission path for the task based on a DRQN-based multi-level heterogeneous data transmission algorithm, and selecting a migration location for the task processing model based on a DRQN-based multi-level heterogeneous model migration algorithm.

[0007] In one possible implementation, the set state space, action space and reward function are input into the network transmission model for data model mutual transmission, and the optimal transmission path is selected for the task through iterative calculation using a multi-level heterogeneous data transmission algorithm based on DRQN, and the optimal migration location is selected for the task processing model through iterative calculation using a multi-level heterogeneous model migration algorithm based on DRQN; wherein, the state space includes task calculation delay, system energy consumption, system resource load, migration trigger conditions and model migration target server selection; the action space includes task model migration, edge server selection and transmission path adjustment; and the reward function is constructed based on task calculation delay, system energy consumption and system resource load.

[0008] In a possible implementation, the task computing delay represents the total time required for a task to be uploaded by a user to an edge server that can process the task and then transmitted back to the user, and is calculated as follows:

[0009]

[0010] in, Represents task r k In the edge server e i Execute on, Represents task r k Need to be uploaded to other edge servers for collaborative processing; Represents task r k transmission delay; Represents task r k The queuing delay; Represents task r k The calculation time of It represents the time required for the edge server to offload the computation results to the user; Represents task r k From the edge server i Transfer to e j The transmission time; Represents task r k From the edge server i Transfer to e j , edge server j For task r k processing time.

[0011] In a possible implementation manner, the system energy consumption is calculated by the following formula:

[0012]

[0013]

[0014] in, Denote task r k The total energy consumption from uploading to the edge server for processing to the calculation result being offloaded to the user; Denote task r k The transmission power from the user to the edge server.

[0015] In a possible implementation manner, the load balancing index LBI based on weighted comprehensive evaluation represents the system resource load and is calculated by the following formula:

[0016]

[0017]

[0018]

[0019] Wherein, represents the average resource utilization rate of all edge servers in the current system, and VUR represents the variance of the computing resource utilization rate of the edge servers in the system; Denote the edge server e i 's resource utilization rate, Denote the edge server e i 's load condition, Denote the network bandwidth, Denote the response time of the node, n represents the number of edge services, and ω i represents the weight of the corresponding node;

[0020] And when ε LBI ≥LBI, there is no need to migrate the task model; when ε LBI <LBI, it is necessary to migrate the task model to the edge server with the highest task resource requirement; wherein, ε LBI represents the set load balancing threshold.

[0021] In a possible implementation manner, after first combining the allocated resource score of the task model and the actual load score of the task model to obtain the final score of the task model, then according to the final score of the task model, in ascending order, select the target edge server for the task model and perform a simulated migration; and after the migration, if the load balancing index LBI of the source edge server of the task model is higher than the upper threshold of the load balancing threshold ε LBI 's threshold, select the next task model for simulated migration;

[0022] Wherein, the allocated resource score, the actual load score and the final score of the task model are calculated by the following formula:

[0023]

[0024]

[0025] VM score(j) =VM usage_score(j) +VM alloc_score(j)

[0026] Among them, VM alloc-score(j) represents the resource allocation score of the task model, VM flavor represents the basic attribute value assigned according to the task model type, vms represents the number of task models assigned to the edge server; max(VM flavor ) represents the maximum attribute value of the corresponding attribute in the vms task model, min(VM flavor ) represents the minimum attribute value of the corresponding attribute in the vms task model; wf lavor Indicates the weight value corresponding to the basic attribute of the task model type;

[0027] VM usage-xcore(j) represents the actual load score of the task model, VM metric(j) Indicates the actual resource usage value of the task model, max(VM metric ) represents the maximum value of the actual usage of the corresponding resource in the vms task model, min(VM metric ) represents the minimum value of the actual usage value of the corresponding resource in the vms task model; k metric Indicates the weight value of the corresponding monitoring indicator;

[0028] VM xcore(j) Represents the final score of the task model.

[0029] In a possible implementation, the load value of the selected target edge server is lower than a lower threshold limit of a set load threshold, and after the task model is migrated to the target edge server, its load value does not exceed an upper threshold limit of the set load threshold.

[0030] In a second aspect, an embodiment of the present application further provides a multi-level heterogeneous resource scheduling device for O-RAN, the device comprising:

[0031] A deployment module for placing the O-RAN near real-time RAN intelligent controller Near-RT RIC in the distributed edge server DES located in the mobile edge computing architecture MEC;

[0032] A scheduling module is used to perform task resource scheduling by using the O-RAN near real-time RAN intelligent controller Near-RT RIC through a near real-time control loop and an established network transmission model for data model mutual transmission; wherein the task resource scheduling includes selecting a transmission path for the task based on a DRQN-based multi-level heterogeneous data transmission algorithm, and selecting a migration location for the task processing model based on a DRQN-based multi-level heterogeneous model migration algorithm.

[0033] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the multi-level heterogeneous resource scheduling method for O-RAN as described in any one of the first aspects.

[0034] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the multi-level heterogeneous resource scheduling method for O-RAN as described in any one of the first aspects are performed.

[0035] The embodiments of the present application provide a multi-level heterogeneous resource scheduling method, device, electronic device and storage medium for O-RAN. First, the O-RAN near real-time RAN intelligent controller Near-RT RIC is placed in the distributed edge server DES located in the mobile edge computing architecture MEC. Through the near real-time control loop, the task resource scheduling decision is quickly made within milliseconds, thereby solving the data resource scheduling problem in the multi-level heterogeneous network where O-RAN and MEC are integrated; then, a multi-level heterogeneous data transmission algorithm based on DRQN ​​is proposed, which selects a suitable transmission path for the task and optimizes the data transmission strategy according to the load of the real-time network system and the resource load of the edge server; finally, a multi-level heterogeneous model migration algorithm based on DRQN ​​is proposed, which migrates the task processing model to a suitable edge server according to the network task resource distribution status and the system load status, thereby reducing the data transmission delay of the entire system task, optimizing the computing resource allocation and task scheduling, and improving the overall system performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 A flowchart of a multi-level heterogeneous resource scheduling method for O-RAN according to an embodiment of the present application is shown;

[0038] Figure 2 A schematic diagram showing three resource scheduling cycles in a multi-level heterogeneous network according to an embodiment of the present application is shown;

[0039] Figure 3 A schematic diagram showing the remaining capacity of the system server under different transmission modes in an embodiment of the present application;

[0040] Figure 4 A schematic diagram showing the system task transmission time under different data amounts in an embodiment of the present application;

[0041] Figure 5 A schematic diagram showing the total time to complete a system task under different data amounts according to an embodiment of the present application;

[0042] Figure 6 A schematic diagram showing the number of server overloads under different data volumes in an embodiment of the present application;

[0043] Figure 7 A schematic diagram showing the variance of server resource usage under different data volumes in an embodiment of the present application;

[0044] Figure 8 A schematic diagram showing system performance under different data amounts according to an embodiment of the present application;

[0045] Fig. 9 It is a structural diagram of a multi-level heterogeneous resource scheduling device for O-RAN according to an embodiment of the present application;

[0046] Fig.10 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0047] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0048] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0049] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0050] Resource scheduling in multi-level heterogeneous networks is a complex and crucial task, among which data transmission is one of the most critical links. Data transmission refers to the transmission of information from one node to another. In heterogeneous networks, this involves different types of devices, communication protocols, and network topologies. Multi-level heterogeneous networks include multiple types of devices such as edge computing, cloud services, and sensor networks. They have different computing and storage capabilities, and data transmission in heterogeneous networks also needs to consider different communication protocols and transmission media. In the complex resource environment of multi-level heterogeneous networks, the existing transmission models have the following limitations: (1) Due to the increase in the number of layers in multi-level heterogeneous networks and the complexity of links, the transmission delay and cost overhead increase. During the data transmission process, when the task is transmitted to the server where the processing model is located, passing through multiple network nodes will increase the delay, which will have a negative impact on data processing and response time. Moreover, when there are many network layers, it is easy to encounter network congestion and bandwidth limitations, which will slow down the transmission speed and even cause data loss. In addition, there may be potential data leakage and security risks when transmitting data to the server, especially when transmitting across network boundaries. (2) In a multi-level heterogeneous network, model migration faces problems such as compatibility of different devices and platforms and resource management, which makes the cost of model management and maintenance too high. When migrating the task processing model to the vicinity of the data, the limited computing and storage resources of the edge device may not be sufficient to meet the deployment and operation requirements of the complex model, resulting in performance degradation. At the same time, since the data is distributed on different edge devices, data consistency and synchronization issues need to be considered when migrating to the vicinity of the data.

[0051] To address these issues, the present application provides a multi-level heterogeneous resource scheduling method and device for O-RAN, which can select a suitable data transmission path and determine the appropriate model migration location in a multi-level heterogeneous network, thereby achieving a balance between energy consumption and computing transmission time.

[0052] See the instruction manual Figure 1The present application provides a multi-level heterogeneous resource scheduling method for O-RAN, comprising the following steps:

[0053] S1. Place the O-RAN near real-time RAN intelligent controller Near-RT RIC in the distributed edge server DES located in the mobile edge computing architecture MEC;

[0054] S2. Utilize the O-RAN near real-time RAN intelligent controller Near-RT RIC to perform task resource scheduling through a near real-time control loop and an established network transmission model for data model mutual transmission; wherein, the task resource scheduling includes selecting a transmission path for the task based on a DRQN-based multi-level heterogeneous data transmission algorithm, and selecting a migration location for the task processing model based on a DRQN-based multi-level heterogeneous model migration algorithm.

[0055] It should be noted that the present application is mainly used in data transmission scenarios in multi-level heterogeneous networks where O-RAN and MEC are integrated. In this scenario, the task types and task quantities of each area are randomly distributed, and the edge servers in each area can handle a limited number of task types. Each task transmits a task calculation request to the nearest O-RU (Open Radio Unit). The O-RU transmits the received calculation request to the DES (distributed edge server) or CES (centralized edge server) located in the O-DU (Open Distributed Unit) and O-CU (Open Central Unit) that can handle the task, where the computing power of CES is stronger than that of DES. In this network, tasks prioritize finding the nearest server that can handle the task, but when the task distribution in the system changes, or the remaining processing capacity of the edge server that can handle the task is insufficient, or there are a large number of tasks of one type in a certain area, and there is no edge server that can handle this type of task in this area, how to choose the transmission path of the data task and how to choose the migration location of the task processing model seriously affect the performance of the entire system.

[0056] Therefore, the present application designs a network transmission model for data model mutual transmission in the four-layer network architecture combining O-RAN and MEC, and proposes a multi-level heterogeneous data transmission algorithm based on DRQN ​​(Deep Recurrent Q-Network) and a multi-level heterogeneous model migration algorithm based on DRQN. The intelligent body located in the O-RAN near-real-time RAN Intelligent Controller (Near-RT RIC) will select a suitable transmission path for the task according to the load of the real-time network system and the resource load of the edge server, and migrate the task processing model to the appropriate edge server according to the network task resource distribution and system load status.

[0057] Specifically, the multi-level heterogeneous resource scheduling introduces two types of RIC defined in the O-RAN architecture to control and optimize the task transmission in the system. One is the Non-RT RIC, which handles tasks and operations with large time scales (more than 1s). The other is the O-RAN near-real-time RAN Intelligent Controller (Near-RT RIC) Near-RT RIC, which handles tasks and operations with small time scales (near real-time tasks: 10ms-1s). When data is transmitted from the O-RU to the O-DU, it is classified by the task classifier located in the Near-RT RIC. The three control loops will pass the tasks to the DES deployed in the O-DU and the CES deployed in the O-CU for separate processing according to the task calculation time requirements. Among them, the schematic diagram of the three resource scheduling loops in the multi-level heterogeneous network can be found in the attached manual. Figure 2 .

[0058] The multi-level heterogeneous network, like the O-RAN architecture, supports three types of control loops: non-real-time control loop (Non-RT RIC control loop), near-real-time control loop (Near-RT RIC control loop), and real-time control loop (RT RTC control loop). Non-RT RIC runs a non-real-time control loop with a typical execution time of more than 1s. Near-RT RIC runs a Near-RT control loop with a typical execution time of less than 1s and greater than 10ms. The E2 node (O-RAN node that terminates the E2 interface) runs the RT control loop with a typical execution time of less than 10ms. Multiple control loops can run simultaneously and interact with each other based on use case requirements. RIC uses various data collected from O-RAN (e.g., number of tasks, task data, and server resource usage) to create a network view and uses AI and ML algorithms and training models through closed-loop control to automate RAN operations such as RAN slicing, switching, scheduling strategies, and managing conflicts.

[0059] In the multi-level heterogeneous network where O-RAN and MEC are integrated, data transmission involves different types of devices, resources and networks, and the data transmission algorithm needs to be optimized in these heterogeneous environments. The DRQN ​​algorithm is suitable for sequential decision problems, and is very suitable for problems such as task scheduling and migration that require consideration of timing information. And because the state in the multi-level heterogeneous network includes complex information such as real-time network load, server processing capacity, and task distribution, the DRQN ​​algorithm can effectively process such a high-dimensional state space. At the same time, the DRQN ​​algorithm is suitable for problems with continuous action space and can flexibly choose among multiple possible task models and edge servers. The DRQN ​​algorithm has better considerations for the delay of rewards and is suitable for scenarios where task processing time and energy consumption can only be reflected in the future. Therefore, this application uses an improved DRQN ​​algorithm in the data transmission algorithm in the multi-level heterogeneous network to solve the problem of adaptive learning and support dynamic decision-making in a complex network environment, thereby optimizing the performance of the entire network.

[0060] In the DRQN ​​(Deep Recurrent Q-Network) algorithm, the state of each decision point can be regarded as the current network environment and task distribution, including the task type and number distribution of each area and the load status of the edge server. The agent needs to make decisions in this dynamically changing environment to optimize the energy consumption and time of task processing. The decision-making process of the entire system can be modeled as a typical Markov decision process (MDP), which includes the state space (S), action space (A), reward function (R(·)) and state transition probability (T(·)). The agent takes action A at the tth decision moment. t ∈A, according to the state transition probability T(·), the environment state changes from S t Transformed to S t+1 , and receives a reward related to the state and the action performed by the system environment. The reward can be calculated by the reward function R(·). The reward function R(·) and the state transition probability T(·) can be considered as the function R(s t ,a t ,s t+1 ) and T(s t ,a t ,s t+1 ). Considering the characteristics of data resource scheduling and transmission problems in multi-level heterogeneous networks, the definitions of state space S, action space A, reward function R(·) and state transition probability T(·) are given below.

[0061] State space S: In a multi-level heterogeneous network, the state space S is composed of factors such as the current task request, the load of the edge server, the task type and quantity distribution, etc. Taking time t as an example, the state S t is defined as {S t0 ,S t1 ,S t2 ,...,S tc}, where S ti The characteristic vector representing the system state at time t. The system state characteristic vector S ti Including task calculation delay System energy consumption System resource load Migration trigger condition ε LBI And the model migration target server selects PM score(i) Specifically, the system state eigenvector S ti It can be expressed as:

[0062]

[0063] Action space A: The actions that the agent can perform at each decision point involve task model migration, edge server selection, and transmission path adjustment. Model migration is only taken when an edge server in the network system is overloaded or the task computing delay can be optimized. Therefore, the action space A is defined as A = {0, 1, 2, ..., C}. At the tth decision moment, there is only one action a t In the action space, a is selected for execution. t =0 means no model migration or path adjustment, while a t =j,j∈{1,2,...,C} means executing the corresponding task model migration or path adjustment.

[0064] Reward function R(·): At each decision moment, the agent performs action a t After that, a reward should be obtained to evaluate the effect of the decision. t It consists of two parts, the reward term H(·) and the penalty term P(·). Then:

[0065] r t =R(s t ,a t ,s t+1 )=H(s t ,a t ,s t+1 )+P(s t ,a t ,s t+1 )

[0066] Reward item H(s t ,a t ,s t+1 ) Consider task processing time Energy consumption etc., so the reward item is defined as:

[0067]

[0068] Among them, ω1 and ω2 are reward coefficients. ω1>0, ω2>0. If So otherwise if So otherwise Penalty term P(s t ,a t ,s t+1 ) is defined as:

[0069]

[0070] in, is the penalty coefficient, Indicates the changes in system resource load during the time period [t, t+1].

[0071] State transition probability T(·): According to the state transition probability T(s t ,a t ,s t+1 ), the agent takes action a at the tth decision moment t After that, the state s t Will change from the current state to s t+1 The state transition probability considers the impact of task model migration and transmission path adjustment on the system state, and the migration trigger condition ε in the multi-level heterogeneous digital-analog inter-transmission network LBI The changes that seriously affect the system state, so the state transition probability is defined as:

[0072] T(s t ,a t ,s t+1 )=ε LBI

[0073] Specifically, in the present application, m user equipments in the system network are represented as a set U = {u1, u2, u3, ..., u m}, the computing task is represented by a set R = {r1, r2, r3, ..., r q}, where the computing task uploaded by the kth user device is r k , whose size is recorded as bit, the task type to which this task belongs is rl k The n edge servers are represented as a set E = {e1, e2, e3, ..., e n}, task r processed by edge service k The size of the result is

[0074] The uplink transmission rate of the user device uploading the task to the edge server is denoted as S up , the downlink transmission rate at which the edge server transmits the computing task results to the user is recorded as S down ,The task transmission rate between edge servers is denoted as S ee .

[0075] Task delay:

[0076] When the computing task is transferred from the user device u i Upload to edge server i When the transmission rate between devices is S up Shannon's theorem is often used to calculate the transmission rate S up It is expressed as:

[0077]

[0078] Where B is the channel bandwidth, is the user device u during the transmission task i Channel gain with edge server, in represents the path loss, η≥2 represents the path loss exponent, represents the Euclidean distance between the user and the edge server, is the Rayleigh fading channel coefficient, is u i With edge server i The transmission power between them, σ is the noise. k The data size is expressed as Task k The transmission delay is:

[0079]

[0080] is the queuing time of the current task waiting for the edge server to process other tasks, which is related to the size of the processed data and the processing speed of the server. The queuing delay of task k is related to the number of tasks being processed (or queued) on the current server. Assuming that there are s tasks being processed or queued before the current task, then task r k The queuing delay is expressed as:

[0081]

[0082] When making a task computing offloading decision, if the task is on the edge server e in the range i Execute on, use Otherwise, the task needs to be uploaded to other edge servers for collaborative processing. express.

[0083] When the task is in the edge server e i When computing, the edge server e i The clock frequency is The CPU cycles required for the task are The calculation time is expressed as:

[0084]

[0085] When the task is in the edge server e i If the task cannot be processed, it needs to be transferred to the edge server that can process the task. jProcessing, Edge Server j Processing computing tasks k The number of clock cycles required is e j The CPU frequency is expressed as Then the task r k The processing time is:

[0086]

[0087] Task k From the edge server i Transfer to e j The transmission rate is S ee , then the transmission time of the task between servers is:

[0088]

[0089] The time required for the edge server to offload the calculation results to the user is:

[0090]

[0091] Based on the above formula, the task r is calculated k The total time required from the user uploading to the edge server that can process it and then transmitting it back to the user:

[0092]

[0093] System energy consumption:

[0094] There is a certain relationship between the energy consumption of edge servers and their load and resource utilization. In general, it can be considered that the CPU power consumption of the server is approximately linearly related to the energy consumption of the server. This is because the energy consumption of the server is mainly determined by the power consumption of the CPU, and the power consumption of the CPU is related to its utilization rate. The higher the utilization rate, the greater the power consumption of the CPU, and the energy consumption of the server will also increase accordingly. That is, the energy consumption of the server can be approximately regarded as a linear function of the CPU power consumption. Definition is the total energy consumption of the edge server ei, It is the edge server i CPU power, the edge server of this application i The total energy consumption can be indirectly expressed by the CPU power consumption as follows:

[0095]

[0096] Among them, the power of the server can be expressed as:

[0097]

[0098] It is the edge server i The power in idle state, It is the edge server i The power consumption of the CPU under maximum load, It is the edge server i The maximum workload is the maximum number of task requests that the edge server can handle per unit time.

[0099] Task k The transmission power from the user device to the edge server is The transmission is energy consumption It is expressed as:

[0100]

[0101] Then the calculation task r k The total energy consumption from uploading to edge server for processing to offloading the calculation results to users

[0102]

[0103] The total energy consumption EE of all servers in the model system is:

[0104]

[0105] System resource load:

[0106] In the multi-level heterogeneous edge service network that integrates O-RAN and MEC, various parameter indicators have different impacts on the system network. In order to measure the performance of the entire system, this application uses load balancing as a standard for measuring system performance. Because load balancing can effectively distribute requests to different edge service nodes, prevent some nodes from being overloaded, thereby improving the system's response speed, availability, and resource utilization. Among them, the most important factors affecting the network system load balancing indicators are: edge server e i Load conditions Network bandwidth And the response time of the node

[0107] The server load can be replaced by the mean or variance of the resource utilization rate, because the mean of the resource utilization rate can reflect the average load level of the server. When the mean is high, it may indicate that the overall load of the server is large, and the load balancer can consider distributing requests to servers with lighter loads to improve system performance. The variance of the resource utilization rate reflects the degree of fluctuation in the utilization of server resources. A larger variance may indicate that the load among servers is not balanced enough, and the load of some servers fluctuates greatly. By reducing the variance, a more stable load balancing state can be achieved.

[0108] Set the edge server e i The resource utilization rate of Then the average resource utilization rate of all edge servers in the current system environment Is:

[0109]

[0110] The variance VUR of the computing resource utilization rate of the edge servers in the system is:

[0111]

[0112] Therefore, by comprehensively considering these factors, this application proposes a load balancing index LBI based on weighted comprehensive evaluation. The calculation formula of this index is:

[0113]

[0114] Among them, n represents the number of edge services, and ω i Represents the weight of the corresponding node.

[0115] Migration trigger condition:

[0116] During multi-level heterogeneous network data transmission, the upload of tasks and the migration of computing models are determined according to the network load status of the entire system. The transmission and offloading of tasks and models are decided based on the task calculation transmission delay of the entire system, the memory occupancy of edge servers, and the load balancing index of the system collected by near-real-time RIC. Set the load balancing threshold ε of the entire system LBI , Through the relationship between the load balancing index LBI and this threshold, the load balancing state of the entire edge service network can be more comprehensively understood, and corresponding optimization measures can be taken accordingly. When ε LBI ≥LBI, there is no need to migrate the task model; when ε LBI <LBI, it is necessary to migrate the task model to the edge server with the most intensive task resource requirements.

[0117] Model migration target server selection:

[0118] There are many types of tasks in a multi-level heterogeneous network system, and the distribution and demand level of each task type in the system are different. At the same time, some tasks may be more urgent or more important than other tasks. When migrating the task calculation model from the source edge server to other edge servers, it is necessary to consider the energy consumption required for model migration and the task resource requirements at that location. Therefore, this application uses the task resource demand RX to measure the demand for different types of tasks at different edge server locations to determine the migration location of the task model. The task demand reflects the relative importance of different task types and the distribution of different task types at various locations. The calculation formula for task demand is as follows:

[0119]

[0120] in It is the edge server j Within the scope of coverage, the task type is rl k The demand for the task. Is the task type rl k The weight reflects the relative importance of the task type. Is the location edge server j The weight reflects the model r k The degree to which the migration to this location reduces the overall computational completion time of tasks of this type within the entire system. Is the location edge server j The task type is rl k The number of tasks.

[0121] To ensure comparability under different scales and weight settings, the calculated task demands are normalized to the maximum and minimum values:

[0122]

[0123] The task model is migrated to reduce the load of the source edge server and make the load value of the source edge server within the load threshold: mainly by combining the task model type and the actual load value of the task model, and calculating the final score of each task model. Select one or more of the task models with the lowest cost during migration from the task model list for migration. After the migration is completed, the load value of the source edge server is within the load threshold. Therefore, the selection of the migration task model mainly considers the following factors.

[0124] (1) According to the type of the jth task model on the source edge server, the attribute value of the basic attribute item assigned to it is normalized and multiplied by the weight value wf of the corresponding attribute lavor, and then sum them up to calculate the resource allocation score of the task model. For example, the K of the selected task model is 3, which are CPU, memory and block storage respectively, and its basic attribute values ​​are the allocation values ​​of CPU, memory and block storage.

[0125]

[0126] Among them, VM flavor represents the basic attribute value (CPU, memory, block storage, etc.) allocated according to the task model type, and vms represents the number of task models allocated on the edge server. max(VM flavor ) is the maximum attribute value of the corresponding attribute in the vms task model, min(VM flavor ) is the minimum attribute value of the corresponding attribute in the vms task models; wf lavor Indicates the weight value corresponding to the basic attribute of the task model type. The value is set according to the requirements of different factors such as CPU, memory, block storage, etc. in the actual usage scenario. The weight range is 0 to 1, increasing the proportion of the corresponding attribute resources affecting the overall priority.

[0127] (2) According to the actual load value of the jth task model, the basic indicator value of the task model monitoring is normalized and multiplied by its corresponding weight k metric , and then sum them up to calculate the actual load score of the task model.

[0128]

[0129] Among them, VM metric(j) Indicates the actual resource usage of the task model, such as the CPU usage, memory usage, and hard disk usage of the task model. max(VM metric ) is the maximum value of the actual usage of the corresponding resource in the vms task model, min(VM metric ) is the minimum value of the actual usage value of the corresponding resource in the vms task model; k metric Indicates the weight value of the corresponding monitoring indicator. You can set the corresponding weight value for different factors such as CPU, memory, storage, etc. according to the actual usage scenario. The weight range is 0 to 1, increasing the proportion of the impact of resources with corresponding attributes on the overall priority.

[0130] The allocated resource score of task model j is added to its actual load score to calculate the final score of the task model:

[0131] VM score(j) =VM usage_score(j) +VM alloc_score(j)

[0132] According to the final score, the task models are selected in order from small to large, and a suitable target edge server is selected for the task model and simulated migration is performed. After the migration, if the load value of the source edge server where the task model is located is still higher than the upper threshold limit of the load threshold, the next task model is selected for simulated migration.

[0133]

[0134] The restrictions are:

[0135]

[0136] Among them, formula C1 means that all tasks correspond to only one offloading node and will not be divided into multiple nodes. Formula C2 means that each computing task can only be offloaded by one server.

[0137] In addition, the target edge server selection:

[0138] The selection of the target edge server is related to the effect of system load balancing. If the selected target edge server is not ideal and causes unnecessary migration, it may cause secondary migration or even chain migration, increasing the workload of other edge servers. The edge server whose load value is lower than the lower threshold of the load threshold and whose load value does not exceed the upper threshold of the load threshold after the task model is migrated to the edge server is selected as the target edge server for task model migration. Under the premise of not affecting the resource allocation and operation of the data center using the static scheduling algorithm, many factors need to be considered when selecting the target edge server.

[0139] (1) Filter based on the task model type to select the target edge servers that meet the task model type to be migrated.

[0140]

[0141] Among them, PM flavor(i) Indicates the actual physical resources of the target edge server. Flavor indicates the attributes such as CPU, memory, and block storage. PM flavor_ratio Indicates the over-provisioning ratio of the corresponding attribute of the target edge server, PM avail_flavor(i) Indicates the remaining available resources of the target edge server. If PM avail_flavor(i) If all the attribute values ​​of are greater than the corresponding attribute values ​​of the task model to be migrated, the target edge server meets the task model migration condition and is included in the target edge server list.

[0142] (2) After the task model is migrated to the target edge server, the load of the target edge server may exceed the upper limit of the load threshold. Therefore, after filtering out the target edge server that meets the task model resource allocation by task model type, it is necessary to filter out the final suitable target edge server based on the load value of the virtual machine to be migrated. After a task model is migrated to a target edge server, the calculation formula for the target edge server resource usage is as follows:

[0143] PM' metric (i) = PM metric(i) +VM metric(j)

[0144] (3) After the task model is migrated to the target edge server, if the resource load value of the target edge server is less than the upper limit of the load threshold, PM' metric (i) <PM metric_avg (1+ω), then the edge server meets the migration condition of the task model, and it is added to the target edge server list, and then the next target edge server is found; otherwise, the next target edge server is directly found; until there is no suitable target edge server.

[0145] According to the calculation formula of the target edge server resource usage, the target edge server is normalized and the score of each edge server is calculated. The edge server with the highest score is selected as the final target edge server, as follows:

[0146]

[0147] Where m is the number of target edge servers.

[0148] (4) After the task model is migrated to the target edge server, if the resource load of the target edge server is lower than the upper threshold of the load threshold, the task model is added to the migration list, otherwise the next target edge server is selected for simulated migration until the load of all physical nodes is relatively balanced.

[0149] To measure the pros and cons of resource scheduling systems in multi-level heterogeneous networks, it is necessary to comprehensively consider aspects such as system latency, system energy consumption, and system resource load conditions. Therefore, in order to incorporate the trade-offs between system latency, system energy consumption, and system resource load conditions into the optimization model, this application introduces a set of weight factors to balance this goal. The proposed optimization model SP can be expressed as follows:

[0150] SP=max(αST+βSE+ηSL)

[0151] st

[0152] ST=minTtotal

[0153] SE=minEE

[0154] SL=minLBI

[0155] Where α, β and η represent the relative importance of system delay ST, system energy consumption SE and system resource load status SL, and α+β+η = 1. ST means minimizing the total system time, SE means minimizing the total system energy consumption, and SL means minimizing the system resource load.

[0156] In one embodiment, the implementation process of the DRQN-based multi-stage heterogeneous data transmission algorithm is as follows:

[0157] First, the network parameters are initialized using random parameters Q θ Initialize the evaluation network and the target network, then initialize the network state pool EU, set the data batch size for training to N and the sequence transfer matrix length to L. The maximum number of training times is e max The total training time is e max times. Task r k Transmitted from the user end to the O-RU near the user, the O-RU receives the task r k Then the task is uploaded to the nearest DES for processing. DES receives the task r k Then it determines whether the task can be processed. If it can be processed, it transmits the information of its own changes to the network status pool EU, allowing it to update its network status, and then transmits the result back to the user after the task is calculated and processed. Otherwise, the task r k The information is transmitted to the agent located in the Near-RT RIC, and the multi-level heterogeneous data transmission model in the agent obtains the network state S from the network state pool EU ti-1 , and then the evaluation network selects the best action The agent performs action a t , the task r k Transmit to the nearest edge server that can handle the task and observe Then the transfer matrix (s t-1 ,a t-1 ,r t-1 ,s t ) is stored in the network state pool EU. Finally, N / L sequence transfer matrices of length L are extracted from the network state pool EU by random sequence sampling for learning replay, and the parameters of the evaluation network are updated by minimizing the loss function. After the parameters of the evaluation network change, the parameters of the target network are completely synchronized and copied. t After being executed, the system state feature vector S is updated tiThe pseudo code of the DRQN-based multi-level heterogeneous data transmission algorithm is as follows:

[0158]

[0159]

[0160]

[0161] The implementation of the multi-level heterogeneous model migration algorithm based on DRQN ​​is as follows:

[0162] When system resource load The migration trigger condition ε is met LBI When the system network model migration is triggered, the agent reads the network state pool EU, sets the data batch size for training to N and the sequence transfer matrix length to L. The maximum number of training times is e max The total training time is e max First, the agent uses various network task resources r l Perform clustering and find the maximum cluster center point C l ,observe Then observe With ε LBI state, if Find the next level of cluster center and loop until The agent then performs action a t Migrate the task calculation model to the cluster center C l At, update the network state pool EU, and also transfer the transfer matrix (s t-1 ,a t-1 ,r t-1 ,s t ) is stored in the network state pool EU. Finally, N / L sequence transfer matrices of length L are extracted from the network state pool EU by random sequence sampling for learning replay, and the parameters of the evaluation network are updated by minimizing the loss function.

[0163] The pseudo code of the DRQN-based multi-level heterogeneous model migration algorithm is as follows:

[0164]

[0165]

[0166] Furthermore, the present application also simulates in PyCharm the changes in the total task completion time, server overload rate, and system server resource utilization variance of a system using different data resource scheduling algorithms under the condition of a changing data task volume in a multi-level heterogeneous network, as shown below.

[0167] Among them, the computer configuration of the system simulation experiment is as follows: the operating system is Windows 10, the CPU is Intel (R) Core (TM) i7-3770 CPU @ 3.40GHz 3.40GHz, the memory is 8.00GB, the programming tool is PyCharm Community Edition 2022.3.2, the programming language is Python 3.11, and the programming environment is: Porch-1.10.0. To ensure the validity of the experimental results, this application generates 20 data set samples through random functions for experiments. Two heterogeneous edge servers are deployed in the system, namely CES (memory capacity is 32G) and DES (memory capacity is 8G). The parameter settings of the edge server are shown in Table 1, including the latitude and longitude, memory capacity, used memory capacity, server labels of the 17 deployed edge servers, and the types of task models deployed. Among them, task type A represents image classification tasks; task type B represents target detection tasks; task type C represents natural language processing tasks; task type D represents speech recognition tasks; task type F represents recommendation system tasks.

[0168] longitude latitude capacity Used capacity Server Tags Task Type 1 Task Type 2 31.36210235 121.4470352 8388608 4760 1 H E 30.79219668 121.3237307 8388608 9354 2 A D 31.16918226 121.5508239 8388608 9931 3 B E 31.14899033 121.3293349 8388608 2005 4 B F 30.98338635 121.6071934 8388608 3551 5 H E 31.40204291 121.2802203 8388608 3148 6 F G 31.25111182 121.3857102 33554432 7494 7 D C 30.90954183 121.1159782 8388608 5385 8 H C 31.2297058 121.4662797 8388608 1198 9 E A 31.01953836 121.2475831 33554432 6217 10 G E 31.00072022 121.7798094 8388608 3017 11 A B 31.13952233 121.1225245 8388608 3120 12 C B 31.28773934 121.5481324 8388608 5327 13 F G 31.27896972 121.2025768 8388608 4185 14 D A 31.09589111 121.4212645 8388608 5997 15 H E 30.91531327 121.464763 33554432 7133 16 B G 31.20489655 121.7020127 8388608 1007 17 C D

[0169] Table 1

[0170] In order to verify the effectiveness of the resource scheduling method proposed in this application, this application will compare the data transmission algorithm, data transmission improvement algorithm, model migration algorithm, DQN-based model migration algorithm and the algorithm proposed in this application. In a multi-level heterogeneous network environment where O-RAN and MEC are integrated, the remaining capacity of different edge servers under a specific data volume of the above five resource scheduling algorithms is analyzed, as well as the system task transmission time under different data transmission volumes, the total time for system task completion, the server overload rate, the variance of the utilization rate of system server resources and the pros and cons of the overall performance of the system.

[0171] In the multi-level heterogeneous network architecture that integrates O-RAN and MEC, two different types of edge servers are deployed: centralized edge server CES (memory capacity is 32G) and distributed edge server DES (memory capacity is 8G). In the multi-level heterogeneous network data transmission process of O-RAN integrated MEC, the tasks uploaded by the user are passed through O-RU to the edge servers located at O-DU and O-CU for processing. At the same time, under the same task volume, the remaining capacity of the edge server can reflect the effect of resource scheduling of different algorithm systems. For a more comprehensive understanding of system performance, see the attached manual. Figure 3, provides a visual presentation of the capacity utilization of different edge server types, from which it can be clearly seen that the server remaining capacity of the algorithm proposed in this application in DES and CES is greater than that of other algorithms, so the algorithm proposed in this application is superior to other algorithms in balancing system server resources.

[0172] Parameter manual attached Figure 4 , showing the system task transmission time under different data volumes. This application selects the task information of the same group of users under different data volumes in 20 different time periods, and uses the above five resource scheduling algorithms to perform data transmission simulation verification. With the increase in the amount of tasks, there is a certain increase, but the total system task transmission time of the task transmission algorithm and the DQN-based data transmission algorithm surges when the data volume is 28862720KB. Compared with other algorithms, the algorithm proposed in this application has the shortest data transmission time, and compared with other algorithms, it is at least reduced by 2.09%.

[0173] Parameter manual attached Figure 5 , showing the total completion time of system tasks under different data volumes. The mode of pure data upload easily causes a large amount of data to be scheduled in the network system, and the energy consumption cost and time cost of system migration are also relatively high. The data and model resource scheduling algorithm Ranger proposed in this application combines the advantages of both, reducing the data transmission time and the number of model scheduling, thereby greatly reducing the total completion time of the system. The results show that the algorithm proposed in this application has the lowest total completion time of system tasks under different task volumes and data calculation completion times.

[0174] Parameter manual attached Figure 6 , showing the number of overloads of edge servers under different resource scheduling modes and different data volumes. It can be clearly seen that as the amount of tasks in the system and the time it takes to complete task calculations increase, the number of overloads of servers in the system increases. The algorithm proposed in this application has the least overall system server overload, and can effectively adjust the data resource distribution in the system compared to other algorithms.

[0175] Parameter manual attached Figure 7, showing the variance of system server resource utilization under different data volumes for different resource scheduling algorithms. Overall, with the increase in the amount of tasks in the system, the variance of resource utilization between servers tends to increase. This is because the distribution of task resources in the system is random, resulting in a sharp increase in the amount of tasks on some servers, which increases the gap in resource utilization between different servers. When the amount of tasks is small, the model migration algorithm and its improved algorithm are better than the algorithm and data transmission algorithm proposed in this application. However, with the increase in the amount of tasks in the system, most of the models are migrated to the same edge server, which increases the gap in server resource usage of the entire system. The algorithm proposed in this application re-migrates and deploys the task model when the resource usage of the entire system exceeds the threshold. The resource usage of the entire system is monitored across countries, so it is better than other algorithms overall.

[0176] Parameter manual attached Figure 8 , showing the system performance under different data volumes. Due to the increase in data volume and the limited computing resources of the edge servers in the system, the overall performance of the system tends to decrease. As can be seen from the figure, the algorithm proposed in this application has the best performance compared to other algorithms, and the average system performance has increased by at least 3.18%.

[0177] It can be seen that the multi-level heterogeneous resource scheduling method for O-RAN provided in this application designs a network transmission model for data model mutual transmission, places the Near-RT RIC in the DES located in the D-MEC, and makes task resource scheduling decisions through a near real-time control loop; in order to reduce the data transmission delay of the entire system task, optimize the computing resource allocation and task scheduling, and improve the overall system performance, this application proposes a multi-level heterogeneous data transmission algorithm based on DRQN, which selects a suitable transmission path for the task and optimizes the data transmission strategy according to the load of the real-time network system and the resource load of the edge server; then, in order to solve the problem of excessive system load caused by uneven distribution of network resources, a multi-level heterogeneous model migration algorithm based on DRQN ​​is proposed, which migrates the task processing model to a suitable edge server according to the network task resource distribution status and system load status. Compared with other algorithms, it can effectively reduce the system task transmission time, reduce system energy consumption, and optimize the system load status.

[0178] Based on the same inventive concept, an embodiment of the present application also provides a multi-level heterogeneous resource scheduling device for O-RAN. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned multi-level heterogeneous resource scheduling method for O-RAN in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0179] As the instruction manual Fig. 9As shown, the embodiment of the present application also provides a multi-level heterogeneous resource scheduling device for O-RAN, the device comprising:

[0180] A deployment module 901 is used to place the O-RAN near real-time RAN intelligent controller Near-RT RIC in a distributed edge server DES located in a mobile edge computing architecture MEC;

[0181] The scheduling module 902 is used to perform task resource scheduling by using the O-RAN near real-time RAN intelligent controller Near-RT RIC through a near real-time control loop and an established network transmission model for data model mutual transmission; wherein the task resource scheduling includes selecting a transmission path for the task based on a DRQN-based multi-level heterogeneous data transmission algorithm, and selecting a migration location for the task processing model based on a DRQN-based multi-level heterogeneous model migration algorithm.

[0182] Based on the same concept of the present invention, the specification is attached Fig.10 As shown, the structure of an electronic device 1000 provided in an embodiment of the present application includes: at least one processor 1001, at least one network interface 1004 or other user interface 1003, a memory 1005, and at least one communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The electronic device 1000 optionally includes a user interface 1003, including a display (for example, a touch screen, LCD, CRT, holographic imaging (Holographic) or projection (Projector), etc.), a keyboard or a pointing device (for example, a mouse, a trackball (trackball), a touch pad or a touch screen, etc.).

[0183] The memory 1005 may include a read-only memory and a random access memory, and provides instructions and data to the processor 1001. A portion of the memory 1005 may also include a non-volatile random access memory (NVRAM).

[0184] In some implementations, the memory 1005 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof:

[0185] Operating system 10051, including various system programs, used to implement various basic services and process hardware-based tasks;

[0186] The application module 10052 includes various application programs, such as a launcher, a media player, a browser, etc., which are used to implement various application services.

[0187] In an embodiment of the present application, by calling the program or instructions stored in the memory 1005, the processor 501 is used to execute steps in a multi-level heterogeneous resource scheduling method for O-RAN, which can select a suitable data transmission path in a multi-level heterogeneous network and determine an appropriate model migration location to achieve a balance between energy consumption and computing transmission time.

[0188] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the multi-level heterogeneous resource scheduling method for O-RAN are executed.

[0189] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, the above-mentioned multi-level heterogeneous resource scheduling method for O-RAN can be executed.

[0190] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0191] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0192] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0193] If the function is implemented in the form of a business function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0194] Finally, it should be noted that the above embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the aforementioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the aforementioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A multi-level heterogeneous resource scheduling method for O-RAN, characterized in that: The method comprises the following steps: Place the O-RAN near real-time RAN intelligent controller Near-RT RIC in the distributed edge server DES located in the mobile edge computing architecture MEC; The O-RAN near real-time RAN intelligent controller Near-RT RIC is used to schedule task resources through a near real-time control loop and an established network transmission model for data model mutual transmission; wherein the task resource scheduling includes selecting a transmission path for the task based on a DRQN-based multi-level heterogeneous data transmission algorithm, and selecting a migration location for the task processing model based on a DRQN-based multi-level heterogeneous model migration algorithm.

2. According to claim 1, a multi-level heterogeneous resource scheduling method for O-RAN is characterized in that: in, The set state space, action space and reward function are input into the network transmission model for data model mutual transmission, and the optimal transmission path is selected for the task through iterative calculation using a multi-level heterogeneous data transmission algorithm based on DRQN, and the optimal migration position is selected for the task processing model through iterative calculation using a multi-level heterogeneous model migration algorithm based on DRQN; wherein, the state space includes task calculation delay, system energy consumption, system resource load, migration trigger conditions and model migration target server selection; the action space includes task model migration, edge server selection and transmission path adjustment; the reward function is constructed based on task calculation delay, system energy consumption and system resource load.

3. According to claim 2, a multi-level heterogeneous resource scheduling method for O-RAN is characterized in that: in, The task computing latency represents the total time required for a task to be uploaded by a user to an edge server that can process it and then transmitted back to the user, and is calculated as follows: in, Represents task r k In the edge server of the scope i Execute on, Represents task r k Need to be uploaded to other edge servers for collaborative processing; Represents task r k transmission delay; Represents task r k The queuing delay; Represents task r k The calculation time of It represents the time required for the edge server to offload the computation results to the user; Represents task r k From the edge server i The transmission time of transmission to ej; Indicates that task rk is from edge server e i Transmitted to ej, edge server ej for task r k processing time.

4. According to claim 3, a multi-level heterogeneous resource scheduling method for O-RAN is characterized in that: in, The system energy consumption is calculated by the following formula: in, Represents task r k Total energy consumption from uploading to edge server for processing to offloading of computation results to users; Represents task r k The transmission power sent from the user to the edge server.

5. According to claim 4, a multi-level heterogeneous resource scheduling method for O-RAN is characterized in that: in, The load balancing index LBI based on weighted comprehensive evaluation represents the system resource load and is calculated by the following formula: in, It represents the average resource utilization of all edge servers in the current system, and VUR represents the variance of computing resource utilization of edge servers in the system; Indicates edge server e i Resource utilization, Indicates edge server e i The load condition, Indicates the network bandwidth. represents the response time of the node, n represents the number of edge services, ω i Represents the weight of the corresponding node; Moreover, when ε LBI ≥ LBI, there is no need to migrate the task model; when ε LBI < LBI, it is necessary to migrate the task model to the edge server with the highest task resource demand; where ε LBI represents the set load balancing threshold.

6. The multi-level heterogeneous resource scheduling method for O-RAN according to claim 5, characterized in that: in, First, the final score of the task model is obtained by combining the allocated resource score of the task model and the actual load score of the task model. Then, according to the final score of the task model, the target edge server is selected for the task model in ascending order and simulated migration is performed. After the migration, if the load balancing index LBI of the source edge server of the task model is higher than the load balancing threshold ε LBI The upper threshold of the task model is selected to simulate the migration. The resource allocation score, actual load score, and final score of the task model are calculated using the following formula: VM score(j) =VM usage_score(j) +VM alloc_score(j) Among them, VM alloc-score(j) represents the resource allocation score of the task model, VM flavor represents the basic attribute value assigned according to the task model type, vms represents the number of task models assigned to the edge server; max(VM flavor ) represents the maximum attribute value of the corresponding attribute in the vms task model, min(VM flavor ) represents the minimum attribute value of the corresponding attribute in the vms task model; wf lavor Indicates the weight value corresponding to the basic attribute of the task model type; VM usage-xcore(j) represents the actual load score of the task model, VM metric (j) represents the actual resource usage value of the task model, max(VM metric ) represents the maximum value of the actual usage of the corresponding resource in the vms task model, min(VM metric ) represents the minimum value of the actual usage value of the corresponding resource in the vms task model; k metric Indicates the weight value of the corresponding monitoring indicator; VM xcore(j) Represents the final score of the task model.

7. The multi-level heterogeneous resource scheduling method for O-RAN according to claim 6, characterized in that: in, The load value of the selected target edge server is lower than the lower threshold limit of the set load threshold, and after the task model is migrated to the target edge server, its load value does not exceed the upper threshold limit of the set load threshold.

8. A multi-level heterogeneous resource scheduling device for O-RAN, characterized in that: The device comprises: A deployment module for placing the O-RAN near real-time RAN intelligent controller Near-RT RIC in the distributed edge server DES located in the mobile edge computing architecture MEC; A scheduling module is used to perform task resource scheduling by using the O-RAN near real-time RAN intelligent controller Near-RT RIC through a near real-time control loop and an established network transmission model for data model mutual transmission; wherein the task resource scheduling includes selecting a transmission path for the task based on a DRQN-based multi-level heterogeneous data transmission algorithm, and selecting a migration location for the task processing model based on a DRQN-based multi-level heterogeneous model migration algorithm.

9. An electronic device, characterized in that: include: A processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the multi-level heterogeneous resource scheduling method for O-RAN are performed as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the multi-level heterogeneous resource scheduling method for O-RAN as described in any one of claims 1 to 7.

Citation Information

Cited By

  • Computing power scheduling method and system of AI server cluster

    CN118626224A

  • Computing power scheduling method and system for AI server cluster

    CN118626224B

  • Network resource hierarchical coordination method and system based on multiple agents

    CN120091245A

  • Multi-Agent Based Network Resource Hierarchical Coordination Method and System

    CN120091245B

  • Method, system and related device for controlling relay channel migration based on RIC application program

    CN121218198A