A task rapid scheduling and resource management method in a cloud edge terminal cooperation system
By enabling rapid task scheduling and resource management in the cloud-edge-device collaboration system, the problem of task waiting delays in edge computing systems has been solved, achieving efficient task unloading and resource allocation, thereby improving system performance and user experience.
Patent Information
- Application Number
- CN202211419566.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-14
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-11-14
AI Technical Summary
Existing technologies have failed to effectively solve the problem of task waiting delays in edge computing systems, and have not comprehensively considered factors such as task unloading, resource allocation, edge-to-edge collaboration, and edge-to-cloud collaboration, resulting in limited improvement in task processing efficiency and system performance.
This paper proposes a fast task scheduling and resource management method in a cloud-edge-device collaborative system. By sensing task and environmental information through terminal devices, calculating local processing and unloading latency, and combining edge server and cloud server resources, it performs fast scheduling and resource allocation to optimize task unloading decisions.
Reduce user waiting time, improve task execution efficiency, enhance user experience, make full use of edge server and cloud server resources, and improve system resource utilization and load balancing capabilities.
Smart Images

Figure CN115955479B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of edge computing technology and communication technology, specifically to a method for rapid task scheduling and resource management in a cloud-edge-device collaborative system. Background Technology
[0002] In recent years, with the rapid development of 5G technology, more and more mobile devices have connected to the Internet of Things (IoT), giving rise to many emerging IoT applications such as facial recognition and virtual reality. Processing the numerous tasks generated by these IoT applications requires significant computing resources. However, mobile devices are typically resource-constrained. Due to their small physical size, their computing resources and battery life are limited. Cloud computing can offload some tasks from the terminal to cloud servers, utilizing the powerful computing resources of the cloud servers to process these tasks, thus solving the problem of limited device resources. However, because the devices and cloud servers are often far apart, offloading tasks to the cloud servers results in high transmission latency, which cannot meet the requirements of the large number of latency-sensitive tasks in the IoT.
[0003] Mobile edge computing is a novel paradigm proposed to address the challenge of insufficient device resources and meet the latency requirements of applications. By deploying computing and storage resources at the edge of mobile networks, device-generated tasks can be offloaded and processed on edge servers, rather than being transferred to cloud servers at the cost of higher latency. Devices can achieve faster response times and lower energy consumption. In edge computing, computing and communication resources are extremely valuable. Effective offloading schemes can improve resource utilization and enhance the user experience.
[0004] When tasks are offloaded from a device to an edge server, they can be further offloaded to another base station or the cloud, a process known as edge-to-edge collaboration and edge-to-cloud collaboration. This is an effective way to improve system performance and resource utilization. High-load edge servers can offload their tasks to low-load edge servers or the cloud to balance system load and further improve task processing performance. Once collaboration is enabled, tasks can be offloaded from one base station to another, or from one base station to the cloud, via a corresponding wired connection.
[0005] Existing technical solutions neglect the crucial issue of task waiting. Tasks cannot be processed immediately upon generation; they can only be processed during centralized scheduling, leading to task waiting delays. Considering task waiting delays is essential, primarily because: 1) if tasks are processed immediately on the device upon generation, there is no need to wait for centralized scheduling; 2) the local processing latency of a task may be less than the offloading latency. Furthermore, existing technical solutions do not comprehensively consider factors such as task offloading, resource allocation, edge-to-edge collaboration, and edge-to-cloud collaboration. These shortcomings significantly limit the improvement of task processing efficiency and system performance. Summary of the Invention
[0006] (a) Technical problems to be solved
[0007] To overcome the shortcomings of existing technologies, this invention addresses the multi-user, multi-task scenarios in edge computing systems. It fully considers task waiting issues and, by combining the computing and transmission resources of terminal devices, edge servers, and cloud servers, proposes a rapid task scheduling and resource allocation scheme. Rapid scheduling means that upon task generation, the terminal immediately executes the corresponding scheduling strategy to determine whether the task should be processed locally or unloaded immediately. Compared to existing technologies, this scheme reduces user waiting time, improves task execution efficiency, and enhances the user experience.
[0008] (II) Technical Solution
[0009] To address the aforementioned technical problems, this invention proposes a method for rapid task scheduling and resource management in a cloud-edge-device collaborative system, comprising the following steps:
[0010] S1: In the current time slot, the terminal device senses task information and its own status information, obtains relevant information about the wireless environment in the current time slot, and obtains relevant status information of the edge and cloud as well as relevant information about historical task unloading.
[0011] S2: The terminal device calculates the task transmission delay and determines whether the task information can be uploaded to the edge server within the current time slot if the task is unloaded. Based on this, the waiting delay of the task is calculated.
[0012] S3: The terminal device calculates the local processing latency and estimates the unloading latency;
[0013] S4: The terminal device makes an unloading decision based on the calculated local processing latency and the estimated unloading latency;
[0014] S5: The edge server obtains the task information uploaded by the device, and senses the available computing resources and transmission rate, etc. During the unified scheduling, it centrally processes the unloaded tasks, makes further unloading decisions, allocates computing resources and transmission rate, and returns the results to the terminal device.
[0015] Furthermore, step S1 specifically includes:
[0016] (1) Device-sensing task information and the device's own status information. The edge computing system consists of... individual terminal devices It consists of one base station and one cloud server. Each device establishes a connection with a base station via a cellular network, each base station connects to an edge server, base stations communicate with each other via wired connections, and base stations and the cloud server are connected via a wired backbone network. The device set is represented as... ,equipment The set of base stations (also referring to the set of edge servers) is represented as Base station / edge server The system runtime timeline is divided into multiple runtime slots, each slot having a length of [length missing]. In the time slot ,equipment Available computing resources are represented as ,equipment The maximum energy consumption is expressed as When the device Generate a task (represented as a task) in the current time slot. When this happens, the device automatically obtains relevant task information. , This represents the total computational load of the task. This represents the total amount of data for the task. Indicates the time of task generation in this time slot ( ).
[0017] (2) The device acquires information related to the current time slot wireless environment. It acquires the channel bandwidth. Channel gain Channel noise power spectral density Average inter-channel interference wait.
[0018] (3) The device acquires relevant status information from the edge and cloud, as well as information related to historical task uninstallation. It acquires information from the edge server. Available computing resources Cloud server computing resources Base station and Available transmission rate between Base station Available transfer rate between cloud servers ; Retrieve information related to uninstalling historical tasks.
[0019] Furthermore, step S2 specifically includes:
[0020] (1) Calculate the task transmission delay. (Device) Calculate the transmission delay from task offloading from the device to the edge server based on task information and channel-related information. .
[0021] (2) Calculate task waiting latency. Based on the calculated task transmission latency, determine whether the task information can be uploaded to the edge server within the current time slot if the task is unloaded. The generation time of this time slot is The difference between the time slot end time and the time slot end time is 1. The task waiting delay can be obtained by simply comparing the task transmission delay with the difference mentioned above. :
[0022]
[0023] Furthermore, step S3 specifically includes:
[0024] (1) Calculate local processing latency. (Device) The local processing latency is calculated based on information such as task computation load, maximum device power consumption constraints, and available terminal computing resources. .
[0025] (2) Calculate the estimated unloading latency. The terminal device calculates the estimated unloading latency based on information such as the task computation volume, the available computing resources and transmission rate of the edge server and cloud server, historical unloading information, and task waiting latency. .
[0026] Furthermore, step S4 specifically includes:
[0027] (1) Equipment Based on the calculated local processing latency And estimated uninstallation latency Make an unload decision. If the local processing latency is less than the estimated unload latency, then the task... Process immediately on the device; otherwise, the task... The device is offloaded to an edge server and awaits unified scheduling and processing. The uninstallation decision information is uploaded to the edge server. The variable representing the task offloading decision for the device. Indicates task Process locally. Indicates task To uninstall, It can be represented as:
[0028]
[0029] Furthermore, step S5 specifically includes:
[0030] (1) The edge server obtains task information uploaded by the device and perceives information such as available computing resources and transmission rate. The set of tasks unloaded to the edge server is represented as follows: Edge server Perceive available computing resources Base station and Available transmission rate between Base station Available transfer rate between cloud servers Cloud server computing resources .
[0031] (2) At the end of the unified scheduling time, the edge server centrally processes the unloaded tasks. By executing the edge task unloading and resource allocation algorithm, it makes further unloading decisions, namely whether the task is unloaded to other edge servers or cloud servers for processing, and allocates computing resources and transmission rate information, processes the tasks and returns the results to the terminal device.
[0032] (III) Beneficial Effects
[0033] Compared with the prior art, the present invention, employing the above technical solution, has the following beneficial effects:
[0034] 1. This invention considers the multi-user, multi-task scenario based on cloud-edge-device collaboration in edge computing networks, and fully models and analyzes the task waiting problem. By comparing the local processing latency and the estimated offloading latency, it performs fast task scheduling, which greatly reduces the task processing latency and is more practical.
[0035] 2. This invention employs collaboration between base stations and between base stations and the cloud, making full use of the computing resources of edge servers and cloud servers, greatly improving system resource utilization, enhancing system load balancing capabilities, and making it more practical.
[0036] 3. This invention combines constraints such as the computing resources of local devices, edge servers, and cloud servers, the transmission rates between base stations and between base stations and cloud servers, and the energy consumption of devices. Through real-time decision-making algorithms and edge task offloading and resource allocation algorithms, it jointly optimizes task offloading and resource allocation with extremely low time complexity, thereby improving system execution efficiency and enhancing user experience. Attached Figure Description
[0037] Figure 1 This is a schematic diagram of the system model in this invention;
[0038] Figure 2 This is a diagram of the execution architecture for task offloading based on terminal-edge-cloud in this invention;
[0039] Figure 3 This is a flowchart of the task offloading based on terminal-edge-cloud in this invention;
[0040] Figure 4 This is a schematic diagram illustrating the waiting situation where the task is unloaded and processed at the end of the current time slot in this invention;
[0041] Figure 5This is a schematic diagram illustrating the waiting situation where the task is unloaded and processed at the end of the next time slot in this invention;
[0042] Figure 6 This is a graph showing the relationship between the total processing latency of all tasks in this invention and the number of devices;
[0043] Figure 7 This is a graph showing the relationship between the total processing latency of all tasks in this invention and the computing resources of the edge server.
[0044] Figure 8 This is a graph showing the relationship between the total processing latency of all tasks in this invention and the degree of system load balancing.
[0045] Figure 9 This is a flowchart of the method for rapid task scheduling and resource management in the cloud-edge-device collaboration system of the present invention. Detailed Implementation
[0046] The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and examples. The following examples are for illustrative purposes only and are not intended to limit the scope of the invention.
[0047] This invention proposes a method for fast task scheduling and resource management in a cloud-edge-device collaborative system. The embodiments include the following steps:
[0048] Step 1: In the current time slot, the terminal device senses the task information and its own status information, obtains relevant information about the wireless environment in the current time slot, and obtains relevant status information from the edge and cloud, as well as relevant information about historical task unloading.
[0049] Step 2: The terminal device calculates the transmission delay of the task from the device to the edge server based on the task information and channel-related information, and determines whether the task information can be uploaded to the edge server within the current time slot if the task is unloaded, and calculates the waiting delay of the task accordingly.
[0050] Step 3: The terminal device calculates the local processing latency based on information such as task computation volume, device maximum energy consumption constraints, and available terminal computing resources; the terminal device calculates the estimated unloading latency based on information such as task computation volume, available computing resources and transmission rates of edge servers and cloud servers, historical task unloading information, and task waiting latency.
[0051] Step 4: The terminal device makes an unloading decision based on the calculated local processing latency and the estimated unloading latency: if the local processing latency is less than the estimated unloading latency, the task is processed locally immediately; otherwise, the task is unloaded to the edge server and awaits unified scheduling. The terminal device uploads the unloading decision information to the edge server.
[0052] Step 5: The edge server obtains the task information uploaded by the device, and senses information such as available computing resources and transmission rate. During the unified scheduling, it centrally processes the unloaded tasks, makes further unloading decisions, allocates computing resources and transmission rate, and returns the results to the terminal device.
[0053] Furthermore, step one includes:
[0054] (1) Equipment sensing task information and the equipment's own status information. For example... Figure 1 As shown, the edge computing system consists of individual terminal devices It consists of one base station and one cloud server. Each device establishes a connection with a base station via a cellular network, each base station connects to an edge server, base stations communicate with each other via wired connections, and base stations and the cloud server are connected via a wired backbone network. The device set is represented as... ,equipment The set of base stations (also referring to the set of edge servers) is represented as Base station / edge server The system runtime timeline is divided into multiple runtime slots, each slot having a length of [length missing]. In the time slot ,equipment Available computing resources are represented as ,equipment The maximum energy consumption is expressed as ,equipment The transmit power is expressed as When the device Generate a task (represented as a task) in the current time slot. When this happens, the device automatically obtains relevant task information. , This represents the total computational load of the task. This represents the total amount of data for the task. Indicates the time of task generation in this time slot ( ).
[0055] (2) The device acquires information related to the current time slot wireless environment. It acquires the channel bandwidth. Channel gain Channel noise power spectral density Average inter-channel interference wait.
[0056] (3) The device acquires relevant status information from the edge and cloud, as well as information related to historical task uninstallation. It acquires information from the edge server. Available computing resources Cloud server computing resources Base station and Available transmission rate between Base station Available transfer rate between cloud servers Get the task unloading ratio of the previous time slot. .
[0057] Furthermore, step two includes:
[0058] (1) Calculate the task transmission delay. (Device) Calculate the transmission delay from task offloading from the device to the edge server based on task information and channel-related information. :
[0059]
[0060]
[0061] If the task Offloading the data to a base station or cloud server for processing will result in transmission energy consumption, which can be expressed as:
[0062]
[0063] When the transmission power consumption equals the device's maximum power consumption constraint, the maximum transmission power that the device can allocate can be calculated. Therefore, the minimum transmission delay is:
[0064]
[0065] (2) Calculate task waiting latency. Based on the calculated task transmission latency, determine whether the task information can be uploaded to the edge server within the current time slot if the task is unloaded. The generation time of this time slot is The difference between the time slot end time and the time slot end time is 1. The task waiting delay can be obtained by simply comparing the task transmission delay with the difference mentioned above. :
[0066]
[0067] Task waiting status reference Figure 4 and Figure 5 .
[0068] Furthermore, step three includes:
[0069] (1) Calculate local processing latency. (Device) The local processing latency is calculated based on information such as task computation load, maximum device power consumption constraints, and available terminal computing resources. .
[0070] If the task When processing is performed on a local device, the device will incur computational power consumption, which can be expressed as:
[0071]
[0072] in, It is related to the CPU chip structure of the device.
[0073] Local processing latency is minimized when the calculated energy consumption equals the device's maximum energy consumption constraint. At this point, the device's energy consumption can be calculated. Assigned to task computing resources
[0074]
[0075] Therefore, the local processing latency of the device can be calculated.
[0076]
[0077] (2) Calculate the estimated unloading latency. The terminal device calculates the estimated unloading latency based on information such as the task computation volume, the available computing resources and transmission rate of the edge server and cloud server, historical unloading information, and task waiting latency. .
[0078] Task unloading latency includes task waiting latency. The transmission latency of tasks between base stations or between base stations and cloud servers, and the computation latency of tasks on edge servers or cloud servers.
[0079] The transmission latency of tasks between base stations or between base stations and cloud servers needs to be estimated. The task offloading ratio in the previous time slot was... Base station The number of devices covered is Base station The maximum transmission rate can be expressed as
[0080]
[0081] base station The minimum transmission rate can be expressed as
[0082]
[0083] Then base station Assigned to task The transmission rate can be estimated as
[0084]
[0085] in, is a coefficient between 0 and 1. In this case, the transmission delay of the task can be expressed as...
[0086]
[0087] The computation latency of the task on the edge server or cloud server also needs to be estimated. The edge server is assigned to the task. The computing resources can be estimated as
[0088]
[0089] Therefore, the computation delay of the task can be expressed as:
[0090]
[0091] The estimated unloading delay of the task can be expressed as
[0092]
[0093] Furthermore, step four includes:
[0094] (1) Equipment Based on the calculated local processing latency And estimated uninstallation latency Make an unload decision. If the local processing latency is less than the estimated unload latency, then the task... Process immediately on the device; otherwise, the task... The device is offloaded to an edge server and awaits unified scheduling and processing. The uninstallation decision information is uploaded to the edge server. The variable representing the task offloading decision for the device. Indicates task Process locally. Indicates task To uninstall, It can be represented as:
[0095]
[0096] Refer to the task uninstallation status Figure 2 and Figure 3 .
[0097] Furthermore, step five includes:
[0098] (1) The edge server obtains task information uploaded by the device and perceives information such as available computing resources and transmission rate. The set of tasks unloaded to the edge server is represented as follows: Edge server Perceive available computing resources Base station and Available transmission rate between Base station Available transfer rate between cloud servers Cloud server computing resources .
[0099] (2) At the end of the unified scheduling time slot, the edge server centrally processes the unloaded tasks. By executing the edge task unloading and resource allocation algorithm, it makes further unloading decisions, namely whether the task should be unloaded to other edge servers or cloud servers for processing, and allocates computing resources and transmission rates, etc., processes the tasks, and returns the results to the terminal device. The specific steps are as follows:
[0100] Step 1: Build an edge server processing latency model.
[0101] In the time slot If the task When processing is offloaded to an edge server, the processing latency includes task waiting latency, task transmission latency between base stations, and task computation latency at the base station.
[0102] Assuming a task First, it is uploaded to the base station. If it is further offloaded to another base station The transmission delay can then be expressed as:
[0103]
[0104] in, Indicates assignment to task The transmission rate.
[0105] Task At the base station The computational delay on the above can be expressed as:
[0106]
[0107] in, Indicates assignment to task Computing resources.
[0108] Regarding edge processing latency, there are two scenarios: if the task Uploaded to base station On and at the base station If the above is processed, the processing delay can be expressed as:
[0109]
[0110] in, This represents the unloading of the index from the edge server. Indicates task Offload to base station Process it.
[0111] If the task Uploaded to base station And further unloaded to the base station If the above is processed, the processing delay can be expressed as:
[0112]
[0113] Therefore, the edge processing latency can be expressed as
[0114]
[0115] Step 2: Build a cloud server processing latency model.
[0116] In the time slot If the task If the task is offloaded to a cloud server for processing, the processing latency includes the task waiting latency, the transmission latency between the base station and the cloud server, and the computation latency of the task on the cloud server. The task waiting latency is represented in the same way as above.
[0117] The transmission latency of a task between a base station and a cloud server can be expressed as:
[0118]
[0119] in, Indicates assignment to task The transmission rate.
[0120] Task The computation latency on a cloud server can be expressed as:
[0121]
[0122] in, Indicates assignment to task Computing resources.
[0123] Therefore, the processing latency of a cloud server can be expressed as
[0124]
[0125] in, This represents the unloading of the index from the cloud server. Indicates task Uninstall it to a cloud server for processing.
[0126] Step 3: Optimize task unloading and resource allocation for edge servers and cloud servers.
[0127] gather Used to represent all task unloading variables, a set Used to represent all computing resource allocation variables, set Used to represent all transmission rate allocation variables.
[0128] The objective function is
[0129]
[0130] in, This represents the set of tasks to be uninstalled. The optimization problem can be represented as...
[0131]
[0132]
[0133]
[0134]
[0135]
[0136]
[0137]
[0138]
[0139]
[0140]
[0141] Step 4: Solve the optimization problem P1 to obtain the optimal task unloading and resource allocation strategy.
[0142] 1) Since the optimization problem P1 is a mixed integer nonlinear programming problem, it is impossible to find its optimal solution in polynomial time. An iterative heuristic algorithm can be used to solve it by decoupling the optimization variables of the original problem and splitting them into multiple subproblems, and then iteratively solving these subproblems.
[0143] When a fixed set When unloading the values of variables, the original problem can be broken down into two sub-problems: one is the computational resource allocation sub-problem, and the other is the transmission rate allocation sub-problem; when the fixed set When calculating resource allocation variables and transmission rate allocation variables in the computation, the optimization variables in the original problem are only... This is the task unloading sub-problem.
[0144] 2) Decompose the original problem into sub-problems of computing resource allocation on edge servers and cloud servers. The computing resource allocation sub-problem can be represented as follows:
[0145]
[0146]
[0147]
[0148] This problem can be further broken down into subproblems of computing resource allocation for different edge servers and cloud servers, and solved using KKT conditions.
[0149] 3) Decompose the original problem into sub-problems of transmission rate allocation between base stations and between base stations and cloud servers. The transmission rate allocation sub-problem can be represented as:
[0150]
[0151]
[0152]
[0153] This problem can be further broken down into subproblems of transmission rate allocation between different base stations and between base stations and cloud servers, and solved using KKT conditions.
[0154] 4) Extract the task unloading subproblem from the original problem. The task unloading subproblem can be represented as:
[0155]
[0156]
[0157]
[0158] This problem can be further broken down into task unloading subproblems under different tasks, and solved using the optimal algorithm.
[0159] 5) Combining the above three sub-problems, a heuristic algorithm is used to explore task offloading decisions, while simultaneously solving the computational resource allocation sub-problem and the transmission resource allocation sub-problem to update the system state. The method for exploring task offloading decisions is as follows: select tasks on the original base station for further offloading; if this improves the optimization objective to a certain extent, then update the system state; select tasks on other base stations to be rolled back to the original base station for processing; if this improves the optimization objective to a certain extent, then update the system state. The above two operations are executed iteratively until they no longer have any effect on system optimization.
[0160] Figure 6 , Figure 7 and Figure 8 Simulation comparisons of the total processing latency of all tasks in the disclosed solution and other existing solutions are presented under different numbers of devices, different computing resources of edge servers, and different load balancing conditions. Experimental results show that the processing latency of all tasks in the disclosed solution is significantly lower than that of all tasks in other existing solutions under various conditions, and it has good environmental adaptability and load balancing adjustment capabilities.
[0161] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the implementation of the invention. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively describe all embodiments here. Therefore, the present invention is not limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the claims of the present invention.
Claims
1. A method for rapid task scheduling and resource management in a cloud-edge-device collaborative system, characterized in that, Includes the following steps: S1: In the current time slot, the terminal device senses task information and its own status information, obtains relevant information about the wireless environment in the current time slot, and obtains relevant status information of the edge and cloud as well as relevant information about historical task unloading. S2: The terminal device calculates the task transmission delay and determines whether the task information can be uploaded to the edge server within the current time slot when unloading the task, and calculates the task waiting delay accordingly. S3: The terminal device calculates the local processing latency and estimates the offload latency, wherein the local processing latency is calculated in the following manner: when the task... When processing occurs on the local device, the device incurs computational power consumption. Local processing latency is minimized when this computational power consumption equals the device's maximum power consumption constraint. Based on task computation volume Maximum energy consumption constraints of equipment and available computing resources on the terminal Calculate the equipment Assigned to task computing resources in, The coefficients are related to the CPU chip architecture of the device, and thus, the task The local processing latency is The estimated unloading latency is calculated as follows: Task The estimated unloading latency includes tasks Waiting delay, task Estimated transmission latency and tasks between base stations or between base stations and cloud servers. Estimated computation latency on edge servers or cloud servers, i.e., task latency. The estimated unloading delay is the sum of the above three parts: Wherein, the estimated transmission delay is the task Total data volume With the estimated transmission rate The ratio, the estimated transmission rate is in, A coefficient between 0 and 1 For base stations The maximum of the available transmission rates between the base station and the cloud server. For base stations The minimum of the available transmission rates between the base station and other base stations and the cloud server, divided by the base station Number of devices covered Task offloading ratio compared to the previous time slot The transmission rate obtained by the product, the estimated calculation delay is the task Total computational load Assignment of the estimated task The ratio of computing resources, estimated to be allocated to tasks The computing resources are in, This is the identifier for the base station or edge server. For edge servers Available computing resources For cloud server computing resources, This represents the total number of terminal devices. The percentage of tasks unloaded in the previous time slot; S4: The terminal device makes an unloading decision based on the calculated local processing latency and the estimated unloading latency; S5: The edge server obtains task information uploaded by the device, and senses the available computing resources and transmission rate. During the unified scheduling, it centrally processes the unloaded tasks, makes further unloading decisions, allocates computing resources and transmission rate, and returns the results to the terminal device.
2. The method for rapid task scheduling and resource management in a cloud-edge-device collaborative system according to claim 1, characterized in that, Step S1 includes: (1) Device-sensing task information and device-specific status information; the edge computing system consists of individual terminal devices The system consists of one base station and one cloud server; each device establishes a connection with a base station via a cellular network, each base station connects to an edge server, and the base stations communicate with each other via wired connections. The base stations and the cloud server are connected via a wired backbone network. The device set is represented as follows: ,equipment The set of base stations and its set of edge servers are represented as follows: Base station and its corresponding edge servers , The system runtime timeline is divided into multiple runtime slots, each slot having a length of [length missing]. In the time slot ,equipment Available computing resources are represented as ,equipment The maximum energy consumption is expressed as When the equipment When generating a task in the current time slot, this task is denoted as The device automatically acquires relevant information about the task, including ,in, This represents the total computational load of the task. This represents the total amount of data for the task. This indicates the time when the task was generated in this time slot, where... ; (2) The device obtains relevant information about the current time slot wireless environment and obtains the channel bandwidth. Channel gain Channel noise power spectral density Average inter-channel interference ; (3) The device obtains relevant status information from the edge and cloud, as well as information related to historical task unloading, and obtains information from the edge server. Available computing resources Cloud server computing resources Base station and Available transmission rates between Base station Available transfer rate between cloud servers ; Retrieve information related to uninstalling historical tasks.
3. The method for rapid task scheduling and resource management in a cloud-edge-device collaborative system according to claim 1, characterized in that, Step S2 includes: (1) Calculate the task transmission delay, device Calculate the transmission delay from task offloading from the device to the edge server based on task information and channel-related information. ; (2) Calculate the task waiting delay. Based on the calculated task transmission delay, determine whether the task information can be uploaded to the edge server within the current time slot when the task is unloaded. The generation time of this time slot is The difference between the time slot end time and the time slot end time is 1. The task waiting time can be obtained by comparing the task transmission delay with the difference mentioned above. : 。 4. The method for rapid task scheduling and resource management in a cloud-edge-device collaborative system according to claim 1, characterized in that, Step S4 includes: (1) Equipment Based on the calculated local processing latency And estimated uninstallation latency Make an unloading decision; if the local processing latency is less than the estimated unloading latency, then the task... Process immediately on the device; otherwise, the task... The device is offloaded to an edge server and awaits unified scheduling and processing. The uninstallation decision information is uploaded to the edge server. The variable representing the task offloading decision for the device. Indicates task Process locally. Indicates task To uninstall, It can be represented as: 。 5. The method for rapid task scheduling and resource management in a cloud-edge-device collaborative system according to claim 1, characterized in that, Step S5 includes: (1) The edge server obtains the task information uploaded by the device, and perceives the available computing resources and transmission rate. The set of tasks offloaded to the edge server is represented as follows: Edge server Perceive available computing resources Base station and Available transmission rates between Base station Available transfer rate between cloud servers Cloud server computing resources ; (2) At the end of the unified scheduling time, the edge server centrally processes the unloaded tasks. By executing the edge task unloading and resource allocation algorithm, it makes further unloading decisions, namely whether the task is unloaded to other edge servers or cloud servers for processing, and allocates computing resources and transmission rates to process the tasks and return the results to the terminal device.
Citation Information
Patent Citations
Method and system for joint resource allocation and computing unloading in software defined vehicle-mounted edge network
CN110035410A
Calculation task unloading method and device with optimized time delay under cloud edge cooperation
CN112996056A
