Cloud Code Execution Environments for Client Task Offloading

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improvecloud computing capabilitiesVSAvoidclient terminal execution efficiency
Core Design Contradiction:
PowerVSProductivity

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.

Inventive Principle:
Principle #2Taking out (Extraction)

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.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Device complexity

If client terminal executes all tasks locally, then system complexity is reduced, but execution speed and performance are insufficient

Engineering Contradiction:
Improvesystem architecture simplicityVSAvoidtask execution speed
Core Design Contradiction:
Device complexityVSSpeed

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.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250321784A1Task execution method and system, electronic device, and computer storage medium
Publication Date: 2025.10.16 ALIBABA (CHINA) CO LTD
  • US20250321784A1 patent drawing
  • US20250321784A1 patent drawing
  • US20250321784A1 patent drawing

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.