A dynamic scheduling method for edge-cloud multi-level spatiotemporal analysis tasks

Through the edge-cloud dynamic scheduling method, through data division, task clustering and optimized scheduling strategies, the problems of high delay and low resource utilization of the traditional cloud computing scheduling model are solved, and load balancing and spatio-temporal analysis tasks of the edge-cloud collaborative system are realized. Real-time requirements.

CN118484287BActive Publication Date: 2024-10-22CHINA SHIPBUILDING LINGJIU HIGH TECH (WUHAN) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410946341.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-10-22
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

The static task scheduling strategy of traditional centralized cloud computing results in low resource utilization, long execution time, and low parallel execution efficiency, which cannot meet the real-time requirements of spatiotemporal analysis tasks, especially when data is frequently updated and analysis tasks are complex.

Method used

The edge cloud dynamic scheduling method for multi-level spatiotemporal analysis tasks is adopted, through data division and coding, task clustering algorithm based on spatiotemporal correlation, priority scheduling method of task clustering, simple weighting method (SAW) and multi-criteria decision-making method (MCDM) jointly optimizes scheduling, optimizes task allocation and resource scheduling, and achieves load balancing of the edge-cloud collaborative system.

Benefits of technology

Effectively utilize the distributed computing capabilities of edge devices and cloud servers to reduce delays, improve spatiotemporal analysis performance, ensure that tasks are completed within the specified time, and improve decision-making efficiency and resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118484287B_ABST
    Figure CN118484287B_ABST
Patent Text Reader

Abstract

The present invention provides an edge-cloud dynamic scheduling method for multi-level spatiotemporal analysis tasks, which belongs to the field of cloud-edge computing and is based on data partitioning and coding, a task clustering algorithm based on spatiotemporal correlation, a priority scheduling method based on task clustering, and joint optimization scheduling using a simple weighted method SAW and a multi-criteria decision MCDM. Data partitioning and coding completes the partitioning and coding of spatiotemporal detection data on edge computing nodes around sensors, a task clustering algorithm based on spatiotemporal correlation assigns tasks with spatiotemporal dependencies to the same computing node for processing to reduce communication delays, multi-level task scheduling based on task clustering calculates the scheduling priorities of all task clusters, and assigns task clusters to nodes that meet time constraints, and joint optimization scheduling based on SAW and MCDM accurately measures the weights of multiple indicators from different angles, analyzes the differences between different options, and improves decision-making efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of edge cloud computing, and more specifically, to an edge cloud dynamic scheduling method for multi-level spatiotemporal analysis tasks. Background Art

[0002] In the era of big data, with the rapid development of sensor technology and the widespread application of wireless networks, the scale of spatiotemporal detection data is growing rapidly. Carrying out real-time spatiotemporal analysis based on spatiotemporal detection data and correctly judging and expressing the calculation results are important means of spatiotemporal data analysis and application, and task scheduling is one of the key steps in real-time spatiotemporal analysis.

[0003] The static task scheduling strategy of traditional centralized cloud computing is usually to aggregate the detection data from different geographical areas, upload them to the centralized cloud computing environment for analysis, and formulate corresponding task scheduling algorithms. However, this scheduling mode has problems such as low resource utilization, long execution time and low parallel execution efficiency. It can no longer meet the real-time requirements of spatiotemporal analysis with the characteristics of frequent data updates and complex analysis tasks.

[0004] To solve these problems, dynamic task scheduling based on edge-cloud collaboration can effectively utilize the distributed computing power of edge devices and cloud servers, thereby reducing the delay associated with traditional cloud computing task scheduling mode. At the same time, the load balancing of edge-cloud collaboration system also has an important impact on improving the performance of spatiotemporal analysis. Since the computing resources and data transmission capabilities of edge cloud computing nodes are usually heterogeneous, how to effectively utilize the resources of edge cloud computing nodes, reasonably perform task allocation and resource scheduling, and achieve load balancing of edge-cloud collaboration system is a key issue in real-time spatiotemporal analysis task scheduling. Summary of the invention

[0005] In view of the technical problems existing in the prior art, the present invention provides an edge-cloud dynamic scheduling method for multi-level spatiotemporal analysis tasks, comprising:

[0006] Step 1: divide and encode the original spatiotemporal detection data to form data blocks to be allocated, where each data block to be allocated corresponds to a subtask;

[0007] Step 2: based on spatial correlation, cluster all data blocks to be allocated to form multiple independent task clusters with spatial correlation, each task cluster includes multiple continuous subtasks with spatial correlation;

[0008] Step 3, determine the scheduling priority of each task cluster based on the total completion time of each task cluster, and obtain the task cluster priority queue P;

[0009] Step 4, scheduling the unassigned task clusters in descending order of task cluster scheduling priority based on the execution constraints to form a scheduling strategy set;

[0010] Step 5: Select the optimal scheduling strategy from the generated scheduling strategy set through simple weighting method and multi-criteria decision-making method.

[0011] The present invention provides an edge-cloud dynamic scheduling method for multi-level spatiotemporal analysis tasks, which is based on data partitioning and coding, a task clustering algorithm based on spatiotemporal correlation, a priority scheduling method based on task clustering, and joint optimization scheduling using simple additive weighted method SAW (Simple Additive Weighted) and multiple criteria decision making MCDM (Multiple Criteria Decision Making). Data partitioning and coding completes the partitioning and coding of spatiotemporal detection data on edge computing nodes around sensors. The task clustering algorithm based on spatiotemporal correlation assigns tasks with spatiotemporal dependencies to the same computing node for processing to reduce communication delays. Multi-level task scheduling based on task clustering calculates the scheduling priorities of all task clusters and assigns task clusters to nodes that meet time constraints. Joint optimization scheduling based on SAW and MCDM accurately measures the weights of multiple indicators from different angles, analyzes the differences between different options, and improves decision-making efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A flow chart of an edge-cloud dynamic scheduling method for multi-level spatiotemporal analysis tasks provided by the present invention;

[0013] Figure 2 A schematic diagram of the overall data flow of an edge-cloud dynamic scheduling method for multi-level spatiotemporal analysis tasks provided by the present invention;

[0014] Figure 3 This is a schematic diagram of the division and encoding of spatiotemporal detection data;

[0015] Figure 4 This is a schematic diagram of the task dependency model;

[0016] Figure 5 Schematic diagram of task clustering. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. In addition, the technical features in the various embodiments or single embodiments provided by the present invention can be arbitrarily combined with each other to form a feasible technical solution. This combination is not subject to the constraints of the sequence of steps and / or the structural composition mode, but must be based on the ability of ordinary technicians in this field to achieve. When the combination of technical solutions is contradictory or cannot be achieved, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0018] The present invention is an edge cloud dynamic scheduling strategy for multi-level spatiotemporal analysis tasks. The specific flow chart is as follows: Figure 1 and Figure 2 As shown in the figure, it is assumed that the edge cloud collaborative network model (Cloud-edge Collaborative Network Model, CCNM) in which the spatiotemporal analysis is performed is in the period A set of spatiotemporal analysis tasks needs to be completed within , the attributes of each computing task can be a tuple In which Indicates the latest completion time of the task; Represents the network transmission resources required for computing tasks; Indicates the size of the task Indicates the spatial location of the computing task, which can be expressed by longitude and latitude as ; Indicates the computing task type. In order to clearly represent the dependencies between different computing tasks, a directed acyclic graph (DAG) is used to represent the task dependency model composed of multiple edge cloud computing nodes, such as Figure 4 The task dependency model is shown in the figure. Assume that in the cycle A space-time analysis application within It can be expressed as ,in, Represents a set of spatiotemporal analysis tasks; represents the set of dependencies between computing tasks, where .when When It's a task The direct predecessor dependent task is yes Before starting task scheduling, the original detection data needs to be divided and encoded to form unit data blocks to be allocated. Then, based on the data block division results and the task dependency model, a group of continuous subtasks with spatiotemporal associations are clustered to form independent task clusters. Finally, the scheduling priority of the clustered task cluster is determined and scheduled according to the scheduling priority. Then, the optimal scheduling strategy is selected from the task scheduling strategy generated by the simple weighting method and the multi-criteria decision-making method.

[0019] See also Figure 1 and Figure 2 The present invention provides an edge-cloud dynamic scheduling method for multi-level spatiotemporal analysis tasks, which mainly includes the following steps:

[0020] Step 1: divide and encode the original spatiotemporal detection data to form data blocks to be allocated, wherein each data block to be allocated corresponds to a subtask.

[0021] Among them, the step 1 divides and encodes the original space-time detection data to form unit data blocks to be allocated, including: dividing the original space-time detection data into space-time detection data of each dimension according to the spatial dimension of the original space-time detection data, and dividing the space-time detection data of each dimension into multiple unit data blocks, and all the unit data blocks constitute the data blocks to be allocated.

[0022] It is understandable that if Figure 3 As shown in the figure, the user inputs an n'-dimensional spatial data, which is divided multiple times according to its data space dimension, that is, the spatiotemporal detection data of each dimension is divided, and then the spatiotemporal detection data of each dimension is divided into w data blocks. The spatiotemporal detection data of each dimension can be expressed as , It is represented as e-dimensional spatiotemporal detection data, where w can be determined according to the actual data density of each dimension, and w=2 is usually selected g (g is an integer, and g≥0). Then, these data blocks are encoded in sequence as , get the sum of the encodings of the current dimension Finally, perform the same operation on each dimension to get the final data encoding .

[0023] ;

[0024] ;

[0025] n' is the dimension of the original spatiotemporal detection data, assuming that the number of edge cloud computing nodes is , then create A thread reads data from the beginning of the data block and The data blocks in the system are arranged and outputted in sequence to generate data blocks to be allocated, and are transmitted to edge cloud computing nodes for corresponding processing and analysis. In the process of allocating data blocks, the allocation of one data block corresponds to one subtask.

[0026] Step 2: Based on spatial correlation, all data blocks to be allocated are clustered to form multiple independent task clusters with spatial correlation, and each task cluster includes multiple continuous subtasks with spatial correlation.

[0027] Among them, based on the data block division results and task dependency model, a group of continuous subtasks with spatiotemporal correlation are clustered to form independent task clusters. Specifically, the spatial position and task type between the calculation tasks are used to determine the spatiotemporal correlation, the spatiotemporal analysis task set is divided into several independent task sets with spatiotemporal dependence, and then all continuous subtasks with spatiotemporal dependence are defined as independent task clusters based on the multi-level spatiotemporal analysis task dependency model.

[0028] It is understandable that after the data blocks are divided and encoded, a complete set of spatiotemporal analysis tasks that need to be processed by the Cloud-edge Collaborative Network Model (CCNM) where spatiotemporal analysis is located is obtained. ,definition Indicates the calculation Tasks and Tasks The calculation formula of spatiotemporal correlation is as follows:

[0029] ;

[0030] in, , Respectively represent tasks and tasks spatial location, Represents the horizontal and vertical coordinates, Indicates the research area of ​​the current analysis task application scenario, and Respectively and Types of tasks;

[0031] like , it indicates that the task With the task With time and space correlation, that is and directly or indirectly depend on the same parent task. The value of can be used to combine the spatiotemporal analysis task set Specifically, it is divided into several independent task clusters with spatiotemporal dependencies.

[0032] Among them, for computing subtasks in different spatiotemporal task dependency sets (i.e., different task clusters), they can be scheduled in parallel. For computing subtasks in the same spatiotemporal task dependency set, their execution priority order can be specifically determined according to the task dependency model.

[0033] After calculating the independent task set, all continuous subtasks with spatiotemporal dependencies are defined as a task cluster based on the established multi-level spatiotemporal analysis task dependency model. The schematic diagram of the task dependency model can be found in Figure 4 .like Figure 5 As shown, the initial task cluster is defined to consist of all the computing subtasks under the task cluster, and the number of the task cluster is determined by the latest completed subtask in the cluster, for example , Etc. Definition for A subcluster of yes The direct successor subtask of . Among them, , .definition is a set of unscheduled task clusters, where the task set Each task cluster in can be scheduled independently. There may be multiple task clusters in the system, and each task cluster has different computing characteristics. To ensure that all computing tasks can be completed within the specified time, it is necessary to determine the scheduling order of all task clusters.

[0034] Step 3: Determine the scheduling priority of each task cluster based on the total completion time of each task cluster to obtain the task cluster priority queue P.

[0035] Among them, the task cluster The total completion time is the computation time generated when the task cluster is executed on the corresponding node. , transmission time and waiting time The delay determines the calculation time , Transmission time and waiting time It can be calculated according to the following formula:

[0036] ;

[0037] Where n is the number of task clusters, Represents a task cluster The total completion time required to offload the computing subtasks to the edge computing nodes for processing; express The total completion time generated when the computing subtasks in are offloaded to the cloud computing nodes for execution; express Whether to offload to the edge computing node for execution, when When , it means that the current task is offloaded to the edge computing node for execution, and only the corresponding edge computing time needs to be calculated; when When , it means that the current task is offloaded to the cloud computing node for execution, and only the corresponding cloud computing time needs to be calculated.

[0038] ;

[0039] in, Represents a task cluster The input data size is Represents a task cluster The output data size of , is an edge computing node, When you choose to offload the task cluster to the edge computing node Since the input data of the initial task cluster all comes from the first computing node, Represents a task cluster From the first compute node Transmit to edge computing nodes The time required for data transmission. Represents an edge computing node and The data transmission time between yes The direct successor node of Represents a task cluster The data transmission time required to upload the edge computing results to the cloud computing center. hour, Represents a task cluster From the first compute node Offload directly to cloud computing nodes The time required for data transmission.

[0040] Define compute nodes Initial queue time , assigned to The queuing time of the next computing task is dynamically calculated by calculating the total completion time of the task cluster assigned to each computing node. The calculation formula for the queuing time is:

[0041] .

[0042] Computational Task Cluster Scheduling priority :

[0043] ;

[0044] in, Represents a task cluster The total completion time required to offload the computing subtasks to the edge computing nodes for processing; express The total completion time generated when the computing subtasks in are offloaded to the cloud computing nodes for execution; the total completion time is the sum of the computing time, the transmission time and the queuing time;

[0045] Represents a task cluster Whether to offload to the edge computing node for execution, when When , it means that the current task is offloaded to the edge computing node for execution, and only the corresponding edge computing time needs to be calculated; when When , it means that the current task is offloaded to the cloud computing node for execution, and only the corresponding cloud computing time needs to be calculated;

[0046] According to this method, the scheduling priorities of all task clusters are calculated and sorted according to the priority size to obtain the task cluster priority queue under the cycle. ,After getting the priority of the task cluster, it is necessary to schedule the ,task cluster according to the priority.

[0047] Step 4: Schedule the unassigned task clusters in descending order of task cluster scheduling priorities based on the execution constraints to form a scheduling strategy set.

[0048] It is understandable that when scheduling each task cluster, in order to ensure that the task cluster can be completed within the specified time, the task cluster The computing time incurred when executing on the corresponding computing node , Transmission time and waiting time The sum of the delays cannot exceed the completion time constraint of the initial task cluster .

[0049] The completion time constraint of the initial task cluster is as follows:

[0050] ;

[0051] in, Represents a set of spatiotemporal analysis tasks The total completion time constraint is Indicates the task completion time in the first computing node.

[0052] Among them, before scheduling the task clusters, the task clusters are calculated separately Offloading to compute nodes Execution time constraints Task Cluster Offloading to compute nodes hour, Resource utilization , respectively calculated by the following formulas:

[0053] ;

[0054] ;

[0055] in, Indicates the total computing resources of the current computing node. Represents the computing resources that the current computing node has used. Represents a task cluster The required computing resources. Therefore, when the task cluster Offloading to compute nodes The computing resource constraints that need to be met It is expressed by the following formula:

[0056] .

[0057] The above calculations show the execution time constraints required for each task cluster. and computing resource constraints , and then schedule the task cluster according to the priority queue. Specifically, from the priority queue The task cluster with the highest medium priority First, find all the and computing resource constraints The edge cloud computing node set , so that the task cluster Assign to one of the computing nodes. If all edge computing nodes cannot meet The execution constraints of the task cluster are prioritized. The latest completed subtask , and find the computing nodes , so that the subtask Offloading to compute nodes The total completion time generated when executed is minimal. Total completion time It is expressed by the following formula:

[0058] .

[0059] When subtask Offloading to compute nodes When the task cluster The remaining subtasks in will form a new task cluster , , The time constraint and the number of idle virtual machines on each edge cloud computing node Update according to the following formula:

[0060] ;

[0061] ;

[0062] in, For new task clusters The execution time constraints, Represents a task cluster Execution time constraints.

[0063] In the task cluster After the time constraints are updated, the task cluster set to be assigned With priority queue Update to form a new task priority queue and the set of task clusters to be assigned Then for the new task cluster Continue to reschedule the priorities according to the above method until all unscheduled task clusters are assigned. When all task clusters are scheduled, the scheduling strategy set of the spatiotemporal analysis task is obtained. , m' is the number of scheduling strategies.

[0064] Step 5: Select the optimal scheduling strategy from the generated scheduling strategy set through simple weighting method and multi-criteria decision-making method.

[0065] It is understandable that after obtaining the scheduling strategy set in step 4, the m'th scheduling strategy in the task scheduling strategy set is calculated. The total completion time utility value and scheduling strategies The load balancing variance utility value ,in:

[0066] ;

[0067] ;

[0068] in, and They represent the maximum and minimum total completion time of each scheduling strategy in the scheduling strategy set respectively; and They represent the maximum and minimum values ​​of the load balancing variance of the scheduling strategies in the scheduling strategy set, respectively. represents the total completion time of the m'th scheduling strategy, Represents the load balancing variance value of the m'th scheduling strategy.

[0069] According to the total completion time utility value of each scheduling strategy and scheduling strategies The load balancing variance utility value Compute Scheduling Strategy The dispatch utility value :

[0070] ;

[0071] in, and They are and The weight coefficient of .

[0072] The scheduling strategy with the largest scheduling utility value in the scheduling strategy set is taken as the optimal scheduling strategy, and each task cluster is allocated and scheduled based on the optimal scheduling strategy.

[0073] An embodiment of the present invention provides an edge-cloud dynamic scheduling method for multi-level spatiotemporal analysis tasks, including data partitioning and encoding, a task clustering algorithm based on spatiotemporal correlation, a priority scheduling method based on task clustering, and joint optimization scheduling using SAW and MCDM. Data partitioning and encoding complete the partitioning and encoding of spatiotemporal detection data on edge computing nodes around sensors. The task clustering algorithm based on spatiotemporal correlation assigns tasks with spatiotemporal dependencies to the same computing node for processing to reduce communication delays. Multi-level task scheduling based on task clustering calculates the scheduling priorities of all task clusters and assigns task clusters to nodes that meet time constraints. Joint optimization scheduling based on SAW and MCDM accurately measures the weights of multiple indicators from different angles, analyzes the differences between different options, and improves decision-making efficiency.

[0074] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0075] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0076] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for dynamic scheduling of edge-cloud for multi-level spatiotemporal analysis tasks, characterized in that: include: Step 1: divide and encode the original spatiotemporal detection data to form data blocks to be allocated, where each data block to be allocated corresponds to a subtask; Step 2: based on spatial correlation, cluster all data blocks to be allocated to form multiple independent task clusters with spatial correlation, each task cluster includes multiple continuous subtasks with spatial correlation; Step 3, determine the scheduling priority of each task cluster based on the total completion time of each task cluster, and obtain the task cluster priority queue P; Step 4, scheduling the unassigned task clusters in descending order of task cluster scheduling priority based on the execution constraints to form a scheduling strategy set; Step 5: Select the optimal scheduling strategy from the generated scheduling strategy set, and assign the unassigned task clusters to the edge computing nodes and cloud computing nodes based on the optimal scheduling strategy; The step 3, determining the scheduling priority of all task clusters based on the total completion time of each task cluster, includes: Calculate the i-th task cluster c respectively i The computing time incurred when executing on the corresponding computing node Transfer time and the queuing time Q(∪ n ),in: Where n is the number of task clusters, Represents task cluster C i The total completion time required to offload the computing subtasks to the edge computing nodes for processing; Represents C i The total completion time generated when the computing subtasks in are offloaded to the cloud computing nodes for execution; μ e ∈{0,1} represents C y Whether to offload to the edge computing node for execution, when μ e =1, it means that the current task is offloaded to the edge computing node for execution, and only the corresponding edge computing time needs to be calculated; when μ e =0, it means that the current task is offloaded to the cloud computing node for execution, and only the corresponding cloud computing time needs to be calculated; in, Represents task cluster C i The input data size is Represents task cluster C i Output data size; V k , V l is the edge computing node, V m For cloud computing nodes, when choosing to offload the task cluster to the edge computing node V k When , the input data of the initial task cluster all comes from the first computing node, then Represents task cluster C i Transmitted from the first computing node V1 to the edge computing node V k The time required for data transmission; Represents the edge computing node V k With V l Data transmission time between l Yes V k The direct successor node of Represents task cluster C i The data transmission time required to upload the edge computing results to the cloud computing center; when the task cluster is offloaded to the cloud computing node V k hour, Represents task cluster C i Offload directly from the first computing node V1 to the cloud computing node V m The time required for data transmission; Computing task cluster C y The scheduling priority P(C y ): in, Represents task cluster C y The total completion time required to offload the computing subtasks to the edge computing nodes for processing; Represents C y The total completion time generated when the computing subtasks in are offloaded to the cloud computing nodes for execution; the total completion time is the sum of the computing time, the transmission time and the queuing time; μ e ∈{0,1} represents the task cluster C y Whether to offload to the edge computing node for execution, when μ e =1, it means that the current task is offloaded to the edge computing node for execution, and only the corresponding edge computing time needs to be calculated; when μ e =0, it means that the current task is offloaded to the cloud computing node for execution, and only the corresponding cloud computing time needs to be calculated; Calculate the scheduling priorities of all task clusters, and sort all task clusters according to the scheduling priorities to obtain the task cluster priority queue P; The execution constraints include execution time constraints and computing resource constraints, and step 4 further includes: Calculate the task cluster C separately y Offload to compute node V n Execution time constraints With task cluster C y Offload to compute node V n The computing resource constraints in: in, Represents task cluster C y Offload to compute node V n The calculation time is Represents task cluster C y Offload to compute node V n The transmission time, Q(V n ) indicates the queuing time; Among them, S n Represents the total computing resources of the current computing node, Represents the computing resources used by the current computing node; The step 4, scheduling the unassigned task clusters in descending order of the task cluster scheduling priority based on the execution constraint conditions, to form a task scheduling strategy set, includes: Select the task cluster C with the highest priority from the task cluster priority queue P. y First, find all the and computing resource constraints The edge cloud computing node set So that the task cluster C y Assign to one of the computing nodes; if all edge cloud computing nodes cannot satisfy the task cluster C y Execution constraints, then the task cluster C is scheduled first. y The latest completed subtask y, and find the computing node V z , so that subtask y is offloaded to computing node V z The total completion time generated during execution is minimal; When subtask y is offloaded to computing node V z When task cluster C y The remaining subtasks in will form a new task cluster right Update the execution time constraints; In the task cluster After the execution time constraints are updated, the task cluster set C is assigned x Update with the priority queue P to form a new task priority queue P * and the set of task clusters to be assigned For the new task cluster set Continue to reschedule the priorities until all unscheduled task clusters are assigned. When all task clusters are scheduled, the scheduling strategy set Z = {z1, z2, ..., z m′ }, m' is the number of scheduling strategies; The subtask y is offloaded to the computing node V z The total completion time generated during execution The calculation formula is: in, Indicates that subtask y is offloaded to computing node V z The computation time during execution, Indicates that subtask y is offloaded to computing node V z The transmission time during execution, Q(V z ) indicates that subtask y is offloaded to computing node V z Queue time during execution; The pair The execution time constraints are updated: in, For new task clusters The execution time constraints, Represents task cluster C y Execution time constraints.

2. The edge cloud dynamic scheduling method according to claim 1, characterized in that: The step 1, dividing and encoding the original spatiotemporal detection data to form unit data blocks to be allocated, includes: According to the spatial dimension of the original spatiotemporal detection data, the original spatiotemporal detection data is divided into spatiotemporal detection data of each dimension, and the spatiotemporal detection data of each dimension is divided into multiple unit data blocks, and all the unit data blocks constitute the data blocks to be allocated.

3. The edge cloud dynamic scheduling method according to claim 1, characterized in that: The step 2, based on spatial correlation, clusters all the data blocks to be allocated to form multiple independent task clusters with spatial correlation, including: Calculate the kth task Task k and the first task Task l The spatiotemporal correlation of kl : Among them, L k =(x k ,y k ), L l =(x l ,y l ) represent tasks respectively. k and Task l The spatial position of (x k ,y k ) represents the horizontal and vertical coordinates, R represents the research area of ​​the current analysis task application scenario, type k With type l Respectively represent Task k and Task l Types of tasks; If r kl ≠0, it means that the task k Task l Has time and space association, that is, Task k With Task l Directly or indirectly dependent on the same parent task; According to r kl The value of divides all subtasks into several independent task clusters with spatiotemporal dependencies.

4. The edge cloud dynamic scheduling method according to claim 1, characterized in that: The step 5, selecting the optimal scheduling strategy from the generated task scheduling strategy set, includes: Calculate the m'th scheduling strategy z in the task scheduling strategy set m′ The total completion time utility value and scheduling strategy z m′ The load balancing variance utility value in: in, and They represent the maximum and minimum total completion time of each scheduling strategy in the scheduling strategy set respectively; and They represent the maximum and minimum values ​​of the load balancing variance of the scheduling strategies in the scheduling strategy set, respectively. represents the total completion time of the mth scheduling strategy, represents the load balancing variance value of the m'th scheduling strategy; According to the total completion time utility value of each scheduling strategy and scheduling strategy z m, The load balancing variance utility value Calculate the scheduling strategy z m, The dispatch utility value Among them, w t and w u They are and The weight coefficient of The scheduling strategy with the largest scheduling utility value in the scheduling strategy set is taken as the optimal scheduling strategy.