Cloud Code Execution Environments for Client Task Offloading
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional edge cloud systems burden client terminals with data computation and execution tasks, leading to performance issues that edge cloud technology alone cannot adequately address.
Innovation Solution
Implement a code execution environment in both client terminals and cloud devices, enabling direct interaction and task scheduling between them using WebAssembly standard-based environments to offload computation-intensive tasks to the cloud.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Power
If edge cloud technology is used to provide computing infrastructure services, then cloud computing capabilities are improved, but client terminal task burden is not sufficiently reduced
Solution Approach 1:
The patent extracts computation-intensive tasks from the client terminal and places them in a separate code execution environment that runs independently. This is achieved by detecting trigger codes during program execution and scheduling tasks to be executed in an external code execution environment, thereby separating the heavy computational workload from the client terminal while maintaining cloud-based infrastructure services.
Solution Approach 2:
The patent introduces a code execution environment as an intermediary layer between the client terminal and the cloud infrastructure. This intermediary environment receives task scheduling requests from the client, executes computation-intensive tasks, and returns results, thereby reducing the direct burden on the client terminal while utilizing cloud computing resources effectively.
2Device complexity
If client terminal executes all tasks locally, then system complexity is reduced, but execution speed and performance are insufficient
Solution Approach 1:
The patent segments the execution process into two distinct parts: simple task scheduling and management remain on the client terminal, while computation-intensive task execution is moved to the code execution environment. This segmentation allows the client terminal to maintain architectural simplicity while achieving faster execution speeds for computationally demanding tasks through the specialized execution environment.
Data Source
AI summary
Embodiments of the present application provide a task execution method and system, an electronic device, and a computer storage medium. A task execution method comprises: during the process of executing a program code by means of a code execution environment, detecting an execution trigger code for a preset task; according to the execution trigger code, performing scheduling strategy querying by means of the code execution environment to obtain a scheduling strategy for the preset task; and scheduling, via an environment communication interface of the code execution environment, the preset task to be executed in a code execution environment of a cloud target device indicated by the obtained scheduling strategy. By means of embodiments of the present application, the execution speed and efficiency of the preset task are improved, and the running speed of the client terminal is also improved, thereby optimizing the performance of the client terminal.


