Real-time monitoring scheduling method and system based on edge cloud collaboration

By performing simulation verification in a digital twin in the cloud, and combining QoE metric constraints and closed-loop feedback optimization, the real-time performance and stability of the scheduling scheme are ensured, thus solving the scheduling problems existing in the prior art.

CN121126449AActive Publication Date: 2025-12-12BEIJING RUIHE TECHNOLOGY CO LTD

Patent Information

Application Number
CN202511256520.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-04
Publication Date
2025-12-12
Estimated Expiration
2045-09-04

AI Technical Summary

Technical Problem

In existing edge cloud collaborative real-time monitoring and scheduling systems, scheduling decisions lack a pre-verification mechanism. Resource competition and network fluctuations lead to task response timeouts or QoE failures. Service quality requirements are not fully expressed, and task feedback data is disconnected from scheduling model updates, making it difficult to adapt to dynamic environmental changes.

Method used

By acquiring real-time monitoring tasks, candidate scheduling schemes are generated and simulated and verified in a cloud-based digital twin. Combined with QoE metric constraints and closed-loop feedback optimization, the scheduling schemes are ensured to meet the requirements of processing latency, resource conflicts, and service quality, realizing a safe scheduling mode of "verification first, decision later". The global scheduling model is updated through task execution feedback data.

Benefits of technology

It significantly improves the reliability and service assurance capabilities of scheduling, enhances the system's adaptability and resource utilization efficiency, ensures the real-time performance and stability of monitoring tasks, and realizes the predictability, assessability and controllability of the scheduling process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121126449A_ABST
    Figure CN121126449A_ABST
Patent Text Reader

Abstract

The invention discloses a real-time monitoring scheduling method and system based on edge cloud collaboration, and belongs to the technical field of edge computing, and the method comprises the steps: obtaining a real-time monitoring task; inputting the real-time monitoring task into a global scheduling model to generate a candidate scheduling scheme; simulating the candidate scheduling scheme in a cloud digital twin to generate a scheduling simulation result; according to the scheduling simulation result, determining a target scheduling scheme meeting the processing delay requirement, a preset resource conflict threshold and the QoE index constraint; the target scheduling scheme is issued to a corresponding edge node, and the edge node starts a containerization service based on the resource reservation parameters and accesses a real-time monitoring data flow to execute a task; and collecting task execution feedback data of the edge node, and uploading the task execution feedback data to a cloud end for updating the global scheduling model. The real-time performance, the stability and the intelligent level of the monitoring system are obviously enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of edge computing, and in particular to a real-time monitoring and scheduling method and system based on edge cloud collaboration. BACKGROUND

[0002] Edge computing and cloud computing collaborative architecture has become a core technology path to support real-time monitoring and intelligent scheduling in key scenarios such as industrial Internet, smart city, and Internet of Vehicles. In recent years, with the maturity of 5G communication, AI inference sinking, and containerized edge runtime, edge cloud collaborative systems have made significant progress in task offloading, resource scheduling, and low-latency response. Industry generally adopts scheduling strategies based on rules or lightweight models, combining edge-side data preprocessing and cloud-side global decision-making to achieve efficient allocation and execution of monitoring tasks. Some advanced systems introduce technologies such as digital twin and federated learning, and have initially realized simulation verification and model self-optimization capabilities, improving the intelligence level of scheduling.

[0003] However, the existing technology still has the following outstanding problems, which restrict the reliability and service quality guarantee capability of the real-time monitoring and scheduling system: the scheduling decision lacks a prior verification mechanism, and the candidate scheme is directly issued for execution, which is easy to cause task response timeout or QoE not meeting the standard due to resource competition or network fluctuation; the expression of service quality demand is not complete, the traditional scheduling only focuses on latency or throughput, and the QoE index constraint is not included in the decision-making process as a quantifiable and judgeable comprehensive score threshold, making it difficult to guarantee user experience consistency; the task feedback data is disconnected with the scheduling model update, and there is no closed-loop mechanism from the execution result to the model optimization, so that the scheduling strategy cannot adapt to the dynamic environment change. The above problems lead to resource mismatch, service degradation and response delay in the system under high load and multi-task concurrent scenarios, which cannot meet the scheduling needs of "predictable, assessable and evolvable" for key monitoring businesses. SUMMARY

[0004] In view of the above problems, the present application is proposed.

[0005] To solve the above technical problems, the present application provides the following technical solutions: a real-time monitoring and scheduling method based on edge cloud collaboration, comprising: obtaining a real-time monitoring task, the real-time monitoring task including task type, data source location, processing delay requirement and QoE index constraint;

[0006] inputting the real-time monitoring task into a global scheduling model to generate a candidate scheduling scheme, the candidate scheduling scheme including target execution node, transmission path and resource reservation parameter;

[0007] simulating the candidate scheduling scheme in a cloud digital twin to generate a scheduling simulation result, the scheduling simulation result including simulation response delay, resource conflict state and simulation QoE value;

[0008] According to the simulation results of the scheduling, a target scheduling scheme satisfying the processing delay requirement, a preset resource conflict threshold and the QoE index constraint is determined;

[0009] The target scheduling scheme is issued to a corresponding edge node, and the edge node starts a containerized service based on the resource reservation parameter and accesses a real-time monitoring data stream to perform a task;

[0010] Task execution feedback data of the edge node is collected, and the task execution feedback data is uploaded to a cloud end for updating the global scheduling model, wherein the task execution feedback data includes a task completion time, a resource occupancy rate and an actual QoE value.

[0011] As a preferred scheme of the real-time monitoring scheduling method based on edge cloud collaboration, the obtaining of the real-time monitoring task includes:

[0012] A data acquisition device of each monitoring area is listened to, and a monitoring event signal triggered by a camera, a sensor or an industrial terminal is received;

[0013] In response to the monitoring event signal, event metadata is extracted, and an initial monitoring task request is generated, wherein the event metadata includes a device identifier, geographic location information and an event occurrence timestamp;

[0014] According to a preset task classification rule library, a corresponding task type is determined based on an event type, and the task type includes a video stream analysis task, a real-time alarm detection task or a batch data processing task;

[0015] A processing delay requirement and a QoE index constraint are allocated to the initial monitoring task in combination with a quality of service configuration strategy of a monitoring system, wherein the processing delay requirement sets a maximum allowed response time according to the task type, and the QoE index constraint is a comprehensive quality of service score threshold corresponding to the task, and the value of the comprehensive quality of service score threshold is configured according to the task type;

[0016] The task type, the data source location, the processing delay requirement and the QoE index constraint are packaged as a structured real-time monitoring task, and are uploaded to a cloud end scheduling center through a secure communication channel.

[0017] As a preferred scheme of the real-time monitoring scheduling method based on edge cloud collaboration, the generating of the candidate scheduling scheme includes:

[0018] The structured real-time monitoring task from the edge side is received, and the task type, the data source location, the processing delay requirement and the QoE index constraint in the structured real-time monitoring task are analyzed;

[0019] According to the task type, a corresponding task scheduling strategy sub-model is called from a global scheduling model, and the global scheduling model is a deep neural network model generated based on federated learning aggregation;

[0020] The feature vector of the real-time monitoring task is input into the policy sub-model, and a plurality of candidate resource allocation combinations are generated by combining the resource state information of the current edge node and the cloud;

[0021] For each candidate resource allocation combination, path planning and bandwidth estimation are performed to determine the corresponding transmission path and the required reserved computing resources, storage capacity and network bandwidth, forming a candidate scheduling scheme;

[0022] At least one candidate scheduling scheme is output, and the candidate scheduling scheme includes a target execution node, a transmission path and a resource reservation parameter.

[0023] As a preferred scheme of the real-time monitoring scheduling method based on edge cloud collaboration provided by the application, the generation of the scheduling simulation result comprises:

[0024] According to the physical resource configuration and running state of the edge node, a corresponding digital twin is constructed in the cloud, and the digital twin includes a computing resource model, a network connection model and a task processing queue model;

[0025] The candidate scheduling scheme is received, and the target execution node, the transmission path and the resource reservation parameter in the candidate scheduling scheme are parsed;

[0026] The candidate scheduling scheme is injected into the digital twin corresponding to the target execution node to simulate the whole process of task scheduling and execution;

[0027] During the simulation process, the time span of the task from data access to result output is recorded to generate a simulation response delay, the resource competition situation in the same node is detected to generate a resource conflict state, and the simulation QoE value is calculated according to the task processing quality index;

[0028] The simulation response delay, the resource conflict state and the simulation QoE value are summarized as a scheduling simulation result.

[0029] As a preferred scheme of the real-time monitoring scheduling method based on edge cloud collaboration provided by the application, the determination of the target scheduling scheme satisfying the processing delay requirement, the preset resource conflict threshold and the QoE index constraint comprises:

[0030] The scheduling simulation result is received, and the scheduling simulation result includes a simulation response delay, a resource conflict state and a simulation QoE value;

[0031] The processing delay requirement, the preset resource conflict threshold and the QoE index constraint corresponding to the real-time monitoring task are obtained;

[0032] If all the above conditions are met, the candidate scheduling scheme is determined as the target scheduling scheme.

[0033] As a preferred scheme of the real-time monitoring scheduling method based on edge cloud collaboration, the method comprises the following steps:

[0034] The target scheduling scheme is encapsulated as a scheduling instruction, which comprises a target execution node identifier, transmission path configuration information and resource reservation parameters.

[0035] The scheduling instruction is sent to the edge node corresponding to the target execution node identifier through an encrypted communication link.

[0036] The edge node analyzes the resource reservation parameters and calls a local container runtime to create a micro-service container instance with corresponding resource quotas.

[0037] The edge node establishes a real-time data stream connection according to the data source location and inputs the received real-time monitoring data stream into the micro-service container instance for task processing.

[0038] As a preferred scheme of the real-time monitoring scheduling method based on edge cloud collaboration, the method comprises the following steps:

[0039] During the execution of the target scheduling scheme, the running state of the micro-service container instance is monitored, and the task completion time, resource occupancy rate and actual QoE value are collected.

[0040] The task completion time, resource occupancy rate and actual QoE value are combined as task execution feedback data.

[0041] The task execution feedback data is uploaded to the cloud scheduling center through an encrypted communication link.

[0042] The application provides a real-time monitoring scheduling system based on edge cloud collaboration.

[0043] To solve the above technical problems, the application further provides the following technical scheme: a real-time monitoring scheduling system based on edge cloud collaboration, comprising: an edge-side monitoring agent module, configured to obtain a real-time monitoring task, wherein the real-time monitoring task comprises a task type, a data source location, a processing time delay requirement and a QoE index constraint.

[0044] a candidate scheduling scheme module configured to input the real-time monitoring task into a global scheduling model to generate a candidate scheduling scheme, the candidate scheduling scheme including a target execution node, a transmission path, and resource reservation parameters;

[0045] a scheduling simulation processing module configured to simulate the candidate scheduling scheme in a cloud digital twin to generate a scheduling simulation result, the scheduling simulation result including a simulation response delay, a resource conflict state, and a simulation QoE value;

[0046] a target scheduling processing module configured to determine a target scheduling scheme that meets the processing time delay requirement, a preset resource conflict threshold, and the QoE index constraint according to the scheduling simulation result;

[0047] a target scheduling execution module configured to issue the target scheduling scheme to a corresponding edge node, and start a containerized service based on the resource reservation parameters and access real-time monitoring data streams to execute tasks by the edge node;

[0048] a task execution feedback module configured to collect task execution feedback data of the edge node, and upload the task execution feedback data to the cloud for updating the global scheduling model, wherein the task execution feedback data includes a task completion time, a resource occupancy rate, and an actual QoE value.

[0049] The application provides a computer device including a memory and a processor, and the memory stores a computer program.

[0050] The application provides a computer readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the steps of the real-time monitoring scheduling method based on edge cloud collaboration.

[0051] The application has the beneficial effects that: the application constructs an edge cloud collaborative scheduling mechanism of fusion digital twin simulation verification, QoE index constraint judgment and closed-loop feedback optimization, and significantly improves the reliability, service guarantee capability and system adaptability of real-time monitoring task scheduling. The candidate scheduling scheme is simulated and verified in the cloud digital twin, the simulation response delay, resource conflict state and simulation QoE value are predicted in advance, and only when the processing delay requirement, the preset resource conflict threshold and the QoE index constraint are met, the scheduling is executed, realizing the safe scheduling mode of "verification first and decision-making later"; the QoE index constraint is defined as a comprehensive service quality score threshold based on the task type, and the multi-dimensional indexes such as frame rate, resolution and response delay are combined for weighted calculation, so that the scheduling decision takes into account the system performance and user experience; the task completion time, resource occupation rate and actual QoE value are collected and fed back to the cloud to update the global scheduling model, forming a closed-loop mechanism of "execution-feedback-optimization", and improving the adaptability of the scheduling strategy to the dynamic environment; at the same time, the differentiated scheduling and accurate resource allocation of multiple types of tasks are supported, the resource mismatch risk is effectively reduced, the edge resource utilization efficiency is improved, and the predictability, assessability and evolution of the scheduling process are realized as a whole, and the real-time performance, stability and intelligent level of the monitoring system are significantly enhanced. BRIEF DESCRIPTION OF DRAWINGS

[0052] In order to more clearly illustrate the technical solutions of the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.

[0053] Figure 1 The overall flowchart of the real-time monitoring scheduling method based on edge cloud collaboration provided by an embodiment of the application is shown in the figure.

[0054] Figure 2 The computer device diagram of the real-time monitoring scheduling method based on edge cloud collaboration provided by an embodiment of the application is shown in the figure. DETAILED DESCRIPTION

[0055] In order to make the above-mentioned purposes, features and advantages of the application more obvious and easy to understand, the specific embodiments of the application will be described in detail below with reference to the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the application, rather than all the embodiments. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor should be within the protection scope of the application.

[0056] Embodiment 1, refer to Figure 1This is the first embodiment of the present invention, which provides a real-time monitoring and scheduling method based on edge cloud collaboration, including:

[0057] S1: Obtain real-time monitoring tasks. Real-time monitoring tasks include task type, data source location, processing latency requirements, and QoE metric constraints.

[0058] S2: Input the real-time monitoring task into the global scheduling model to generate candidate scheduling schemes. The candidate scheduling schemes include target execution nodes, transmission paths and resource reservation parameters.

[0059] S3: Simulate candidate scheduling schemes in a cloud-based digital twin and generate scheduling simulation results, including simulation response delay, resource conflict status, and simulation QoE value;

[0060] S4: Based on the scheduling simulation results, determine the target scheduling scheme that meets the processing latency requirements, preset resource conflict thresholds, and QoE index constraints;

[0061] S5: Distribute the target scheduling plan to the corresponding edge nodes, and the edge nodes start the containerized service based on the resource reservation parameters and connect to the real-time monitoring data stream to execute the task;

[0062] S6: Collect task execution feedback data from edge nodes and upload the task execution feedback data to the cloud for updating the global scheduling model. The task execution feedback data includes task completion time, resource utilization, and actual QoE value.

[0063] It should be noted that edge monitoring tasks are characterized by high real-time requirements, limited resources, and large network fluctuations. During their operation, the task type, data source location, processing latency requirements, and Quality of Service (QoE) requirements change dynamically, leading to problems such as uncertain execution node selection, uneven resource allocation, and fluctuating response latency in task scheduling. At the same time, edge nodes have limited computing power, making it difficult to independently complete global optimization decisions for complex tasks. Relying entirely on cloud scheduling introduces additional latency due to network transmission, compromising real-time requirements. Furthermore, existing scheduling methods mostly use static rules or empirical strategies, lacking a pre-verification mechanism for scheduling results, which can easily lead to resource conflicts or substandard service quality. Moreover, performance feedback data during task execution is scattered across various edge nodes, lacking an effective collaborative learning mechanism to achieve continuous optimization of the scheduling model.

[0064] Therefore, to address the aforementioned issues such as delayed scheduling decisions, high risk of resource conflicts, uncontrollable service quality, and difficulties in model updates, steps S1-S6 are employed. A global scheduling model is used to generate candidate scheduling schemes, which are then simulated and verified using digital twins of edge nodes built in the cloud. Based on the simulation results, a target scheduling scheme that meets the original task constraints is selected, achieving pre-emptive security and compliance verification of scheduling decisions. By uploading task execution feedback data to the cloud to update the global scheduling model, a closed-loop learning mechanism of "decision-execution-feedback-optimization" is formed, enhancing the adaptive capability of the scheduling strategy. Simultaneously, QoE constraints are used as one of the core judgment conditions to ensure the service quality of high-priority monitoring tasks. Ultimately, this achieves an overall improvement in the real-time performance, reliability, and intelligence level of monitoring task scheduling in an edge-cloud collaborative environment.

[0065] Example 2, referring to Figure 1, is the second embodiment of the present invention, which provides a real-time monitoring and scheduling method based on edge cloud collaboration.

[0066] S1: Obtain real-time monitoring tasks. Real-time monitoring tasks include task type, data source location, processing latency requirements, and QoE metric constraints.

[0067] It should be noted that edge-side monitoring tasks are characterized by diverse types, latency sensitivity, and varying service quality requirements. Incomplete task information or a lack of structured modeling can lead to unfounded scheduling decisions, resulting in resource mismatches or response timeouts. Furthermore, traditional task reporting methods do not explicitly include QoE (Quality of Service) constraints, making it difficult to guarantee the service quality of critical business operations. Therefore, it is necessary to clearly define the task type, data source location, processing latency requirements, and QoE constraints during the task generation phase to create structured monitoring tasks. This provides a complete input basis for subsequent intelligent scheduling, ensuring that scheduling decisions align with business needs.

[0068] S101: Monitors data acquisition devices in each monitored area and receives monitoring event signals triggered by cameras, sensors, or industrial terminals;

[0069] S102: In response to a monitoring event signal, extract event metadata and generate an initial monitoring task request. The event metadata includes device identifier, geographic location information and event timestamp.

[0070] S103: Based on the preset task classification rule library, determine the corresponding task type based on the event type. The task type includes video stream analysis task, real-time alarm detection task, or batch data processing task.

[0071] S104: Combining the service quality configuration strategy of the monitoring system, assign processing latency requirements and QoE index constraints to the initial monitoring task. The processing latency requirement sets the maximum allowable response time according to the task type, and the QoE index constraint is the comprehensive service quality score threshold corresponding to the task, the value of which is configured according to the task type.

[0072] S105: Encapsulate the task type, data source location, processing latency requirements, and QoE metric constraints into a structured real-time monitoring task, and upload it to the cloud scheduling center through a secure communication channel.

[0073] Specifically, acquiring real-time monitoring tasks is the initial triggering step in the scheduling process. The generation of real-time monitoring tasks depends on the perception and structured encapsulation of monitoring events. In this embodiment, monitoring events are generated by data acquisition devices such as cameras, temperature and humidity sensors, and vibration detectors deployed in industrial plants, traffic intersections, or urban public areas. When the devices detect an abnormal state or reach a preset trigger condition, they generate a monitoring event signal and send it to the edge-side monitoring agent module.

[0074] Furthermore, the edge-side monitoring agent module runs on the edge gateway or local server and has event listening and task preprocessing capabilities. In this embodiment, the edge-side monitoring agent module subscribes to the topic channels of each data acquisition device via the MQTT protocol to receive monitoring event signals in real time; upon receiving an event, it parses the JSON format message reported by the device, extracts the device identifier, geographical location information, and event timestamp to form event metadata, and uses this as the basis to generate an initial monitoring task request.

[0075] Furthermore, the task type is determined by matching according to a preset task classification rule base. In this embodiment, the task classification rule base is stored in edge local non-volatile memory and contains multiple sets of "event feature-task type" mapping relationships: if the event originates from a fixed camera and the content is moving target detection, it is classified as a video stream analysis task; if the event originates from a smoke detector and the status is alarm, it is classified as a real-time alarm detection task; if the event is a batch upload of periodically collected environmental data, it is classified as a batch data processing task; the task type serves as one of the core bases for subsequent scheduling strategy selection.

[0076] Furthermore, the processing latency requirement and QoE metric constraints are dynamically loaded from the Quality of Service (QoS) policy table based on the task type. In this embodiment, the QoS policy table is pre-configured in the edge-side monitoring agent module: for real-time alarm detection tasks, the processing latency requirement is set to no more than 200ms, which serves as a hard condition for judging the feasibility of the scheduling scheme; the QoE metric constraint is 75 points, and its corresponding underlying QoS requirements include whether the alarm response latency is less than 300ms, whether the recognition accuracy is not less than 95%, and whether the user interaction feedback is timely, etc., where each metric serves as the input dimension of the QoE scoring model, and a comprehensive score is generated after weighted calculation. For video stream analysis tasks, the processing latency requirement is 300ms, and the QoE metric constraint is 80 points. Its QoE scoring model includes multiple dimensions such as video frame rate, resolution, decoding continuity, and response latency, with the response latency item having a weight of 20%. The processing latency requirement is used for the feasibility screening of scheduling simulation results, and the QoE metric constraint is used for judging the compliance of QoS standards; the two functions are separated and their hierarchical structure is clear. All parameters are consistent with the "processing latency requirements" and "QoE metric constraints", and are ultimately encapsulated into a structured real-time monitoring task, which is then uploaded to the cloud scheduling center via a TLS encrypted channel.

[0077] S2: Input the real-time monitoring task into the global scheduling model to generate candidate scheduling schemes. The candidate scheduling schemes include target execution nodes, transmission paths and resource reservation parameters.

[0078] It should be noted that the scheduling scheme for monitoring tasks needs to balance response speed, resource utilization, and service quality; traditional rule-based scheduling is difficult to adapt to dynamic environments. While global scheduling models possess intelligent decision-making capabilities, they are prone to generating infeasible solutions if they are not finely modeled in conjunction with task characteristics and system status. Therefore, structured real-time monitoring tasks need to be input into a global scheduling model updated based on federated learning. This model, combined with multi-dimensional features, generates candidate scheduling schemes to ensure the technical feasibility and optimization of the schemes in terms of target execution nodes, transmission paths, and resource reservation parameters, providing high-quality input for subsequent simulation verification.

[0079] S201: Receive structured real-time monitoring tasks from the edge side, and parse the task type, data source location, processing latency requirements, and QoE metric constraints.

[0080] S202: Based on the task type, call the corresponding task scheduling strategy sub-model from the global scheduling model. The global scheduling model is a deep neural network model generated based on federated learning aggregation.

[0081] S203: Input the feature vector of the real-time monitoring task into the strategy sub-model, and combine it with the current resource status information of each edge node and the cloud to generate multiple candidate resource allocation combinations;

[0082] S204: Perform path planning and bandwidth estimation for each candidate resource allocation combination, determine the corresponding transmission path and the required reserved computing resources, storage capacity and network bandwidth, and form a candidate scheduling scheme;

[0083] S205: Output at least one candidate scheduling scheme, which includes the target execution node, transmission path and resource reservation parameters.

[0084] Specifically, inputting real-time monitoring tasks into the global scheduling model and generating candidate scheduling schemes is the core step in achieving intelligent resource allocation. In this embodiment, the global scheduling model is deployed in a cloud-based scheduling center and adopts a graph neural network architecture based on federated learning training. This model can model the topological relationships and resource dependencies between edge nodes and support multi-objective optimization solutions for complex monitoring tasks.

[0085] Furthermore, the global scheduling model includes multiple scheduling strategy sub-models corresponding to different task types. Each sub-model shares the underlying feature extraction layer and makes independent decisions at the output layer. In this embodiment, upon receiving a real-time monitoring task, the system loads the corresponding sub-model from the model library based on the "task type" determined in S1: if the task type is a real-time alarm detection task, the low-latency optimization sub-model is invoked; if the task type is a video stream analysis task, the high-throughput sub-model is invoked; if the task type is a batch data processing task, the energy efficiency priority sub-model is invoked, ensuring that the scheduling strategy accurately matches the business requirements.

[0086] Furthermore, the real-time monitoring task is transformed into a feature vector input to the strategy sub-model. In this embodiment, the feature vector includes task-dimensional features (task type, data source location, processing latency requirements, QoE metric constraints) and system-dimensional features (current CPU utilization, memory availability, and uplink bandwidth status of candidate execution nodes). The system-dimensional features are periodically reported by edge nodes and cached in the cloud resource status database. The strategy sub-model processes the feature vector through a multi-layer fully connected network, outputting multiple feasible resource allocation combinations. Each combination includes a recommended target execution node and its preliminary resource configuration suggestions.

[0087] Furthermore, transmission path planning and refined calculation of resource parameters are performed for each resource allocation combination. In this embodiment, when the target execution node is an edge node, the transmission path adopts a local routing method of "data source → local edge gateway → target edge node", and the resource reservation parameters include reserving 2 CPU cores, 4GB memory, and 100Mbps bandwidth; when the target execution node is in the cloud, the transmission path passes through the operator's backbone network, and the system selects the access point with the lowest latency based on historical RTT data and reserves virtual machine instance resources; all candidate scheduling schemes are encapsulated in JSON format, explicitly including the target execution node, transmission path, and resource reservation parameters.

[0088] S3: Simulate candidate scheduling schemes in a cloud-based digital twin and generate scheduling simulation results, including simulation response delay, resource conflict status, and simulation QoE value;

[0089] It should be noted that the execution performance of candidate scheduling schemes is affected by the dynamic nature of edge node resources, network fluctuations, and task coupling, making it difficult for traditional scheduling to accurately predict the actual operating status. Direct execution may result in unsatisfactory QoE due to resource contention or model bias. Therefore, it is necessary to simulate and verify candidate schemes using a cloud-based digital twin to simulate the task execution process and generate reliable simulation response latency, resource conflict states, and simulation QoE values, ensuring the pre-assessmentability and engineering feasibility of scheduling decisions.

[0090] S301: Based on the physical resource configuration and operating status of the edge nodes, construct the corresponding digital twin in the cloud. The digital twin includes a computing resource model, a network connection model, and a task processing queue model.

[0091] S302: Receive candidate scheduling schemes and parse the target execution node, transmission path and resource reservation parameters in them;

[0092] S303: Inject candidate scheduling schemes into the digital twin corresponding to the target execution node to simulate the entire process of task scheduling and execution;

[0093] S304: During the simulation, record the time span from data input to result output of the task, and generate the simulation response delay; detect resource contention within the same node and generate resource conflict status; calculate the simulation QoE value in reverse based on the task processing quality index;

[0094] S305: Summarize the simulation response delay, resource conflict status, and simulation QoE value into scheduling simulation results.

[0095] Specifically, the physical configuration information of the edge node includes the number of CPU cores, memory capacity, storage space, and network interface bandwidth. A virtual runtime environment is established in the cloud with a one-to-one mapping relationship. This environment replicates the resource limitations and task processing behavior of the actual device. In this embodiment, the virtual runtime environment is implemented through lightweight virtual machine or container technology, and is configured with the same operating system kernel and service dependencies as the actual edge node.

[0096] Furthermore, upon receiving a candidate scheduling scheme, the target execution node is parsed, the corresponding virtual runtime environment is located, the transmission path is converted into a routing strategy in the virtual network, and resource reservation parameters are used to set the maximum computing and network resources that the task can occupy.

[0097] Furthermore, tasks are injected into a virtual runtime environment to drive the simulation of data flow access, resource allocation, and processing. The total time taken from arrival to completion of a task is recorded in time sequence to generate a simulation response delay. The competition for the same resource when multiple tasks run concurrently is detected. When the actual usage exceeds the reserved parameter setting value, it is marked as a resource conflict state.

[0098] Furthermore, the simulation QoE value is calculated according to the evaluation criteria corresponding to the task type. Video tasks are scored based on whether the decoding frame rate and resolution meet the standards, while alarm tasks are judged based on whether the response latency exceeds the processing latency requirements. Finally, the simulation response latency, resource conflict status, and simulation QoE value are packaged into a scheduling simulation result and output to the next processing stage.

[0099] S4: Based on the scheduling simulation results, determine the target scheduling scheme that meets the processing latency requirements, preset resource conflict thresholds, and QoE index constraints;

[0100] It should be noted that the performance data generated by candidate scheduling schemes in the simulation environment needs to be compared with the original task requirements for compliance. Making decisions directly based on experience or a single metric can easily lead to substandard service quality or resource overload. Since the simulation results reflect virtual execution performance, they must be mapped to executable decisions through quantitative criteria. Therefore, the simulation response latency must be compared with the processing latency requirements, the resource conflict status with the preset resource conflict threshold, and the simulation QoE value with the QoE constraint. Only when all three criteria are met simultaneously is the scheme confirmed to be feasible for practical deployment, thereby ensuring the accuracy and security of scheduling decisions.

[0101] S401: Receive scheduling simulation results, which include simulation response delay, resource conflict status, and simulation QoE value;

[0102] S402: Obtain the processing latency requirements, preset resource conflict thresholds, and QoE constraints corresponding to the real-time monitoring task;

[0103] S403: Determine whether the simulation response delay is not greater than the processing delay requirement, whether the resource conflict status is lower than the preset resource conflict threshold, and whether the simulation QoE value is not lower than the QoE index constraint; if all are satisfied, then determine the candidate scheduling scheme as the target scheduling scheme.

[0104] Specifically, determining the target scheduling scheme relies on multi-dimensional constraints to assess the performance of candidate scheduling schemes in the simulation environment. In this embodiment, the scheduling simulation results include simulation response latency, resource conflict status, and simulation QoE value. The system compares these three indicators with the processing latency requirements, preset resource conflict thresholds, and QoE constraints defined by the real-time monitoring task. Only when all three are satisfied is the scheme confirmed as executable.

[0105] Furthermore, the simulation response latency is the total simulation time from task access to data source to result output. In this embodiment, the processing latency requirement for the real-time alarm detection task is no more than 200ms. If the simulation response latency is 190ms, it is determined that the processing latency requirement is met; if it is 210ms, it is determined that the requirement is not met, and the corresponding candidate solution is excluded.

[0106] Furthermore, the resource conflict status is defined as the maximum utilization rate of critical resources of the target execution node during the simulation process, including CPU, memory, and network bandwidth. In this embodiment, the preset resource conflict threshold is set to 95%. If the simulation results show that the peak CPU utilization is 90% and the memory utilization is 88%, both of which are below the threshold, it is determined that there is no resource conflict.

[0107] Furthermore, the simulated QoE value is obtained by weighting key service quality indicators according to the task type. In this embodiment, the evaluation dimensions of the video stream analysis task include frame rate, resolution, decoding frame drop rate, and response latency. After each indicator is calculated according to preset weights, a simulated QoE value of 84 points is generated. When this value is not lower than the QoE indicator constraint of 80 points, it is determined that the service quality requirements are met. When all three conditions are met, the candidate scheduling scheme is determined as the target scheduling scheme.

[0108] S5: Distribute the target scheduling plan to the corresponding edge nodes, and the edge nodes start the containerized service based on the resource reservation parameters and connect to the real-time monitoring data stream to execute the task;

[0109] It should be noted that after the target scheduling plan is decided in the cloud, it must be accurately and reliably sent to the edge nodes and translated into actual execution actions. Unreliable instruction transmission or inconsistent resource configuration will lead to task startup delays, service instances occupying resources out of bounds, or data stream access failures. Furthermore, the edge environment is highly heterogeneous; if containerized services are not precisely configured according to resource reservation parameters, resource contention or performance failures are likely to occur. Therefore, a structured instruction issuance mechanism is needed to ensure lossless transmission of scheduling intentions, and service instances should be dynamically created on the edge side based on resource reservation parameters to accurately access the data stream, ensuring the timeliness and stability of task execution.

[0110] S501: Encapsulate the target scheduling scheme into a scheduling instruction, which includes the target execution node identifier, transmission path configuration information, and resource reservation parameters;

[0111] S502: Send scheduling instructions to the edge node corresponding to the target execution node identifier via an encrypted communication link;

[0112] S503: The edge node parses the resource reservation parameters and calls the local container runtime to create a microservice container instance with the corresponding resource quota;

[0113] S504: Edge nodes establish real-time data stream connections based on the data source location and input the received real-time monitoring data streams into the microservice container instance for task processing.

[0114] Specifically, the target scheduling scheme needs to be converted into executable instructions and transmitted to edge nodes to initiate actual task processing. In this embodiment, the scheduling instructions are encapsulated in a lightweight message format, including the target execution node identifier, transmission path configuration information, and resource reservation parameters. They are sent via the MQTTS protocol based on TLS 1.3 encryption to ensure the security and timeliness of instruction transmission.

[0115] Furthermore, upon receiving the scheduling instruction, the edge node verifies its digital signature to confirm its trustworthiness. It then parses the resource reservation parameters and invokes the local container runtime (such as Docker or containerd) to create a microservice container instance. In this embodiment, the system uses the Linux kernel's cgroups and namespaces mechanisms to isolate container resources, precisely limiting its CPU usage to a maximum of 2 cores and its maximum memory usage to 4GB, preventing it from interfering with other tasks.

[0116] Furthermore, the microservice container instance loads a pre-built monitoring and processing service image, which includes task logic such as video decoding, object detection, or anomaly recognition. In this embodiment, the task type is a video stream analysis task, and the service image is based on the ONNX Runtime and integrates a lightweight YOLOv5s model, supporting efficient real-time inference execution on edge devices.

[0117] Furthermore, the edge nodes establish data access connections based on the data source location information in the scheduling instructions.

[0118] S6: Collect task execution feedback data from edge nodes and upload the task execution feedback data to the cloud for updating the global scheduling model. The task execution feedback data includes task completion time, resource utilization, and actual QoE value.

[0119] It should be noted that continuous optimization of scheduling decisions relies on closed-loop feedback from task execution results. Without real-world operational data, the global scheduling model will be unable to adapt to environmental changes, causing subsequent scheduling schemes to deviate from actual needs. Task completion time reflects scheduling responsiveness, resource utilization rate reflects resource efficiency, and the actual QoE value characterizes user experience achievement; these three together constitute the key samples for model training. Therefore, it is necessary to accurately collect the aforementioned feedback data at the edge and reliably report it to the cloud for updating the global scheduling model, enabling dynamic evolution of scheduling strategies and performance improvements.

[0120] S601: During the execution of the target scheduling scheme, monitor the running status of the microservice container instance and collect task completion time, resource utilization and actual QoE value;

[0121] S602: Combine task completion time, resource utilization, and actual QoE value into task execution feedback data;

[0122] S603: Uploads task execution feedback data to the cloud scheduling center via an encrypted communication link.

[0123] Specifically, the collection of task execution feedback data is carried out throughout the entire task execution process. In this embodiment, the edge node periodically collects the operation metrics of the microservice container instance through the container monitoring agent, including the time span from task startup to output result as the task completion time, the average of CPU utilization, memory usage, and network throughput as the resource utilization rate, and the actual QoE value calculated based on video frame rate maintenance rate, recognition accuracy, and user response latency.

[0124] Furthermore, the task completion time is the time difference from receiving the first frame of data to outputting the final processing result. In this embodiment, it is achieved through a timestamp marking mechanism: the start time is recorded when the container starts and the end time is recorded when the task is completed. The difference between the two is the task completion time, with an accuracy of milliseconds.

[0125] Furthermore, the actual QoE value is calculated using the same scoring model as in the simulation phase, based on the task type. In this embodiment, the video stream analysis task is scored based on whether the decoding frame rate is stable above 25fps, whether the resolution is maintained at 1080P, whether the number of consecutive frame drops is less than 3 frames, and whether the response latency exceeds 400ms; the real-time alarm detection task is scored based on whether the alarm response latency exceeds 300ms, and a weighted average of the false alarm rate and the missed alarm rate, to obtain the actual QoE value. This scoring model remains consistent in both the simulation verification and actual execution phases, and the response latency item is only one of the scoring dimensions and does not affect the judgment of processing latency requirements based on task completion time.

[0126] Furthermore, the edge nodes package the collected task completion time, resource utilization, and actual QoE value into structured feedback data, attach a unique task identifier and timestamp, and upload it to the cloud scheduling center via HTTPS protocol. This feedback data is used to update the training sample set of the global scheduling model, enabling the model to learn the task execution patterns in real-world environments and improve the accuracy and adaptability of subsequent scheduling schemes.

[0127] Example 3 is the third embodiment of the present invention. This embodiment provides a real-time monitoring and scheduling system based on edge cloud collaboration, including:

[0128] The edge-side monitoring agent module is used to obtain real-time monitoring tasks, which include task type, data source location, processing latency requirements, and QoE metric constraints.

[0129] The candidate scheduling scheme module is used to input the real-time monitoring task into the global scheduling model and generate a candidate scheduling scheme, which includes the target execution node, transmission path and resource reservation parameters.

[0130] The scheduling simulation processing module is used to simulate the candidate scheduling scheme in a cloud-based digital twin and generate scheduling simulation results, which include simulation response latency, resource conflict status, and simulation QoE value.

[0131] The target scheduling processing module is used to determine a target scheduling scheme that meets the processing latency requirements, the preset resource conflict threshold, and the QoE index constraints based on the scheduling simulation results.

[0132] The target scheduling and execution module is used to distribute the target scheduling scheme to the corresponding edge nodes, and the edge nodes start the containerized service and access the real-time monitoring data stream to execute the task based on the resource reservation parameters;

[0133] The task execution feedback module is used to collect task execution feedback data from the edge nodes and upload the task execution feedback data to the cloud to update the global scheduling model. The task execution feedback data includes task completion time, resource utilization rate, and actual QoE value.

[0134] Example 4, refer to Figure 2 This is the fourth embodiment of the present invention, which differs from the previous three embodiments in that: if the function is implemented as a software functional 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 invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.

[0135] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0136] More specific examples of computer-readable media (a non-exhaustive list) include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0137] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0138] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A real-time monitoring and scheduling method based on edge cloud collaboration, characterized in that: include, Obtain real-time monitoring tasks, which include task type, data source location, processing latency requirements, and QoE metric constraints. The real-time monitoring task is input into the global scheduling model to generate candidate scheduling schemes, which include target execution nodes, transmission paths and resource reservation parameters. The candidate scheduling scheme is simulated in a cloud-based digital twin to generate scheduling simulation results, which include simulation response latency, resource conflict status, and simulation QoE value. Based on the scheduling simulation results, a target scheduling scheme that meets the processing latency requirements, the preset resource conflict threshold, and the QoE index constraints is determined. The target scheduling scheme is distributed to the corresponding edge nodes, and the edge nodes start containerized services and connect to the real-time monitoring data stream to execute tasks based on the resource reservation parameters. The task execution feedback data of the edge nodes is collected and uploaded to the cloud to update the global scheduling model. The task execution feedback data includes task completion time, resource utilization rate and actual QoE value.

2. The real-time monitoring and scheduling method based on edge cloud collaboration as described in claim 1, characterized in that: The task of acquiring real-time monitoring includes: Monitor the data acquisition devices in each monitored area and receive monitoring event signals triggered by cameras, sensors, or industrial terminals; In response to the monitoring event signal, the event metadata is extracted and an initial monitoring task request is generated. The event metadata includes device identifier, geographic location information and event timestamp. Based on a preset task classification rule base, the corresponding task type is determined based on the event type. The task type includes video stream analysis task, real-time alarm detection task, or batch data processing task. Based on the service quality configuration strategy of the monitoring system, processing latency requirements and QoE indicator constraints are assigned to the initial monitoring tasks. The processing latency requirements are set to the maximum allowable response time according to the task type, and the QoE indicator constraints are the comprehensive service quality score thresholds corresponding to the tasks, the values ​​of which are configured according to the task type. The task type, data source location, processing latency requirements, and QoE metric constraints are encapsulated into a structured real-time monitoring task and uploaded to the cloud scheduling center through a secure communication channel.

3. The real-time monitoring and scheduling method based on edge cloud collaboration as described in claim 2, characterized in that: The generated candidate scheduling schemes include: Receive structured real-time monitoring tasks from the edge, and parse the task type, data source location, processing latency requirements, and QoE metric constraints. Based on the task type, the corresponding task scheduling strategy sub-model is called from the global scheduling model, wherein the global scheduling model is a deep neural network model generated based on federated learning aggregation; The feature vector of the real-time monitoring task is input into the strategy sub-model, and multiple candidate resource allocation combinations are generated by combining the current resource status information of each edge node and the cloud. For each candidate resource allocation combination, path planning and bandwidth estimation are performed to determine the corresponding transmission path and the required reserved computing resources, storage capacity and network bandwidth, thus forming a candidate scheduling scheme; Output at least one candidate scheduling scheme, which includes the target execution node, transmission path and resource reservation parameters.

4. The real-time monitoring and scheduling method based on edge cloud collaboration as described in claim 3, characterized in that: The generated scheduling simulation results include: Based on the physical resource configuration and operating status of the edge nodes, a corresponding digital twin is constructed in the cloud. The digital twin includes a computing resource model, a network connection model, and a task processing queue model. Receive the candidate scheduling scheme and parse the target execution node, transmission path, and resource reservation parameters therein; The candidate scheduling scheme is injected into the digital twin corresponding to the target execution node to simulate the entire process of task scheduling and execution; During the simulation, the time span from data input to result output is recorded to generate simulation response latency; resource contention within the same node is detected to generate resource conflict status; and the simulation QoE value is calculated in reverse based on the task processing quality index. The simulation response delay, resource conflict status, and simulation QoE value are summarized into the scheduling simulation results.

5. The real-time monitoring and scheduling method based on edge cloud collaboration as described in claim 4, characterized in that: The determination of the target scheduling scheme that satisfies the processing latency requirement, the preset resource conflict threshold, and the QoE metric constraint includes: Receive scheduling simulation results, which include simulation response delay, resource conflict status, and simulation QoE value; Obtain the processing latency requirements, preset resource conflict thresholds, and QoE constraints corresponding to real-time monitoring tasks; Determine whether the simulation response delay is not greater than the processing delay requirement, whether the resource conflict status is lower than the preset resource conflict threshold, and whether the simulation QoE value is not lower than the QoE index constraint; if all are satisfied, then the candidate scheduling scheme is determined as the target scheduling scheme.

6. The real-time monitoring and scheduling method based on edge cloud collaboration as described in claim 5, characterized in that: The step of starting the containerized service and connecting to the real-time monitoring data stream to execute the task includes: The target scheduling scheme is encapsulated into a scheduling instruction, which includes the target execution node identifier, transmission path configuration information, and resource reservation parameters. The scheduling instruction is sent to the edge node corresponding to the target execution node identifier via an encrypted communication link; The edge node parses the resource reservation parameters and calls the local container runtime to create a microservice container instance with the corresponding resource quota; The edge node establishes a real-time data stream connection based on the data source location, and inputs the received real-time monitoring data stream into the microservice container instance to perform task processing.

7. The real-time monitoring and scheduling method based on edge cloud collaboration as described in claim 6, characterized in that: Uploading the task execution feedback data to the cloud includes: During the execution of the target scheduling scheme, monitor the running status of microservice container instances and collect task completion time, resource utilization, and actual QoE value; The task completion time, the resource utilization rate, and the actual QoE value are combined to form task execution feedback data; The task execution feedback data is uploaded to the cloud scheduling center via an encrypted communication link.

8. A real-time monitoring and scheduling system based on edge cloud collaboration, employing the real-time monitoring and scheduling method based on edge cloud collaboration as described in any one of claims 1 to 7, characterized in that, include: The edge-side monitoring agent module is used to obtain real-time monitoring tasks, which include task type, data source location, processing latency requirements, and QoE metric constraints. The candidate scheduling scheme module is used to input the real-time monitoring task into the global scheduling model and generate a candidate scheduling scheme, which includes the target execution node, transmission path and resource reservation parameters. The scheduling simulation processing module is used to simulate the candidate scheduling scheme in a cloud-based digital twin and generate scheduling simulation results, which include simulation response latency, resource conflict status, and simulation QoE value. The target scheduling processing module is used to determine a target scheduling scheme that meets the processing latency requirements, the preset resource conflict threshold, and the QoE index constraints based on the scheduling simulation results. The target scheduling and execution module is used to distribute the target scheduling scheme to the corresponding edge nodes, and the edge nodes start the containerized service and access the real-time monitoring data stream to execute the task based on the resource reservation parameters; The task execution feedback module is used to collect task execution feedback data from the edge nodes and upload the task execution feedback data to the cloud to update the global scheduling model. The task execution feedback data includes task completion time, resource utilization rate, and actual QoE value.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the real-time monitoring and scheduling method based on edge cloud collaboration as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the real-time monitoring and scheduling method based on edge cloud collaboration as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Edge computing task scheduling method based on QoE perception

    CN110198339A

  • Intelligent energy management and control system and method based on cloud-edge-end closed-loop architecture

    CN112950001A

  • Comprehensive energy cooperative control method and system

    CN114897447A

  • Cloud edge cooperative control method

    CN119561945A

  • Digital twinborn distributed data storage and calculation platform for logistics transfer field

    CN120067219A

Cited By

  • Edge cloud cooperative control method, system and device in automobile general assembly workshop scene and storage medium

    CN122064055A