Parallel Code Execution via Grid Computing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing code execution methods are inefficient when processing codes with complex operations, as they rely on serial processing, leading to high time consumption and low processing efficiency.

Innovation Solution

A method that identifies parallel processing identifiers in code statements and distributes tasks to a grid computing system for multi-thread parallel processing, utilizing multiple compute nodes to execute tasks in parallel, thereby improving processing efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If serial processing method is used for code execution, then the code execution follows a simple sequential order, but the processing efficiency is low and time consumption is high when handling complex operations

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidcode execution time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent segments the code execution process by introducing parallel processing identifiers that divide complex operations into independent task units. These segmented tasks can be distributed to multiple compute nodes for simultaneous execution, transforming a single sequential execution flow into multiple parallel execution streams, thereby improving processing efficiency and reducing execution time

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transitions from one-dimensional sequential execution to multi-dimensional parallel execution by utilizing the grid computing system's multiple compute nodes. Tasks are distributed across spatial dimensions (different nodes) and temporal dimensions (concurrent execution), creating a multi-dimensional processing architecture that significantly accelerates code execution for complex operations

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Productivity

If parallel processing is implemented in the grid computing system, then processing efficiency is improved, but the system complexity increases due to task distribution and node management

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces a task distribution mechanism that acts as an intermediary between the code execution system and the grid computing nodes. This intermediary automatically manages task segmentation, distribution, and coordination across multiple compute nodes, shielding users from the complexity of parallel system management while enabling efficient parallel processing through the grid infrastructure

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11372633B2Method, device and terminal apparatus for code execution and computer readable storage medium
Publication Date: 2022.06.28 SHENZHEN TINYSOFT CO LTD
  • US11372633B2 patent drawing
  • US11372633B2 patent drawing
  • US11372633B2 patent drawing

AI summary

The present application relates to the technical field of computer, and provides a method, a device and a terminal apparatus for code execution and a computer readable storage medium. The present application provide an identifier for parallel processing, and the user can use the parallel processing identifier to identify code statements that need to be processed in parallel in advance. During the execution of the code, when the parallel processing identifier is found in the current code statement to be executed, the task to be processed indicated by the current code statement to be executed is distributed to a preset grid computing system Perform multi-thread parallel processing. During the execution of this code statement, the user can continue to execute the next code statement.