Processor Task Orchestration for On-Time Deterministic Execution
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing task orchestration methods in hardware systems fail to ensure timely execution of deterministic tasks due to the lack of consideration for execution time in the orchestration sequence, leading to potential delays and inefficiencies.
Innovation Solution
A method and apparatus that determine hardware parameters and task description information to set an orchestration period, orchestrating tasks based on these factors to generate a task execution sequence that ensures each task is executed on time, thereby ensuring real-time execution and improving efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If tasks are orchestrated using a scheduler without considering execution time, then task orchestration flexibility is improved, but timely execution of deterministic tasks cannot be ensured
Solution Approach 1:
The patent applies preliminary action by pre-calculating the orchestration period based on task period information before task execution begins. The scheduler determines the orchestration period in advance (orchestration period ≤ task period) to ensure that deterministic tasks will be executed on time, rather than adjusting timing during execution. This advance planning ensures reliability while maintaining orchestration flexibility.
2Device complexity
If execution time is not considered in task orchestration, then scheduling simplicity is maintained, but real-time execution of deterministic tasks is not ensured
Solution Approach 1:
The patent applies parameter changes by introducing the orchestration period as a new scheduling parameter that is derived from the task period. Instead of directly managing complex execution times for each task, the system changes the parameter to an orchestration period that is a function of the task period (orchestration period ≤ task period). This simplifies the scheduling logic while ensuring that tasks complete within their required time frames, preventing execution delays.
3Reliability
If deterministic tasks are executed with strict timing requirements, then execution reliability is improved, but task orchestration flexibility is reduced
Solution Approach 1:
The system resolves this contradiction by performing preliminary calculation of the orchestration period based on task period information before task scheduling begins. By determining the orchestration period in advance (ensuring it is less than or equal to the task period), the system guarantees that deterministic tasks will meet their timing requirements while still allowing flexible orchestration of multiple tasks within that period framework.
4Device complexity
If task execution sequence does not include execution time, then orchestration simplicity is maintained, but real-time execution cannot be ensured
Solution Approach 1:
The patent applies parameter changes by transforming the scheduling approach from managing individual task execution times to managing an orchestration period that encompasses all tasks. The orchestration period is derived from task period information and serves as a unified time parameter for scheduling. This changes the parameter from detailed execution time management to period-based coordination, maintaining simplicity while ensuring real-time execution and improving overall productivity.
Data Source
AI summary
Disclosed are a method for controlling a processor to execute tasks, a computer readable storage medium and an electronic device. The method includes: determining a hardware parameter of the processor and task description information of at least one task group; determining an orchestration period of the processor based on a task period corresponding to the at least one task group; orchestrating, based on the hardware parameter of the processor and the task description information, each task in the at least one task group according to an orchestration rule during the orchestration period, to obtain a task execution sequence; and executing all the tasks in the at least one task group based on the task execution sequence. Thus during task orchestration, execution time of each task is limited through the orchestration period, thereby enabling to execute each task on time, resolving a problem about real-time execution of a deterministic task.


