Container Task Execution Using Whitelisted Secure Images

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing container management platforms like Kubernetes (K8s) lack effective mechanisms to block malicious tasks and enhance security during task execution, potentially compromising privacy data in service party devices.

Innovation Solution

A container-based task execution method that involves creating a container group using a whitelist of secure image files, ensuring only verified executable file information from the image file is used, and rejecting tasks lacking this information to prevent malicious execution.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a container management platform allows flexible task execution, then task adaptability is improved, but security deteriorates due to potential malicious tasks

Engineering Contradiction:
Improvetask execution flexibilityVSAvoidmalicious task execution
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The patent applies preliminary action by establishing a whitelist of secure image files before task execution. The system pre-verify image security and stores approved images in the whitelist, so that when tasks are submitted, only pre-approved images can be executed. This prevents malicious tasks from executing while maintaining flexibility for legitimate task types.

Inventive Principle:
Principle #10Preliminary action

2Object-affected harmful factors

If the system implements strict security verification, then security is improved, but task execution efficiency deteriorates due to verification overhead

Engineering Contradiction:
Improvesecurity protectionVSAvoidtask execution efficiency
Core Design Contradiction:
Object-affected harmful factorsVSProductivity

Solution Approach 1:

Image security verification is performed in advance during image storage, and approved images are added to the whitelist. During task execution, the system only needs to check whether the image identifier exists in the whitelist, which is a fast operation. This separates the heavy verification work from the task execution path, maintaining both security and efficiency.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system uses image identifiers (names or digests) as references instead of storing and verifying complete image contents during task execution. This copying approach allows the system to maintain security through identifier-based verification while avoiding the computational overhead of re-verifying entire images during task submission.

Inventive Principle:
Principle #26Copying

3Ease of operation

If the system uses image identifiers for task execution, then ease of operation is improved, but security deteriorates due to potential unauthorized image execution

Engineering Contradiction:
Improvetask submission simplicityVSAvoidunauthorized image execution
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The whitelist acts as an intermediary between the user's task submission and the actual image execution. Users can simply submit task descriptions with image identifiers without needing to understand security mechanisms. The whitelist intermediary automatically verifies whether the specified image is authorized, providing both ease of operation and security protection simultaneously.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12505203B2Container-based task execution method and apparatus
Publication Date: 2025.12.23 ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
  • US12505203B2 patent drawing
  • US12505203B2 patent drawing
  • US12505203B2 patent drawing

AI summary

Embodiments of this specification provide a container-based task execution method and apparatus. The method can be performed by a container management platform. When receiving a task description file that is for a to-be-executed task and that is submitted by a user, the container management platform can determine whether a first identifier of a first image file carried in the description file is in a whitelist, where the first identifier can be added to the whitelist when it is determined that specified executable file information included in the first image file is secure; and if the first identifier is in the whitelist, considers that the to-be-executed task is secure, and can execute the to-be-executed task based on a container group created by using the task description file and the specified executable file information included in the first image file.