Robot Task Management via State Table Validation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current robot systems, composed of Android and ROS interfaces, face instability and reduced efficiency due to unmanaged cross-process and cross-system task execution, leading to state disorders during tasks like navigation and dancing.
Innovation Solution
A task management method utilizing a processor and memory to query a preset state table for determining whether to switch between tasks, allowing orderly management of task transitions through state machine control, ensuring stable and efficient task execution by interrupting or parallel execution based on predefined execution relationships.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If cross-process and cross-system task execution is allowed in robot systems, then task diversity and functionality are improved, but system stability and task execution efficiency deteriorate due to unmanaged state disorders
Solution Approach 1:
The patent introduces a state machine as an intermediary component between multiple tasks and the robot system. This state machine manages task transitions by querying a preset state table to determine valid state transitions, thereby mediating between diverse task requirements and system stability requirements. The state machine acts as a controller that ensures only valid task switches occur, preventing state disorders while allowing cross-process and cross-system task execution.
2Adaptability or versatility
If multiple tasks are executed simultaneously without unified management, then task versatility is improved, but task execution efficiency and system reliability deteriorate due to state disorders
Solution Approach 1:
The patent implements a feedback mechanism where the state machine continuously queries the preset state table to determine whether task transitions are valid. This feedback loop ensures that task execution efficiency is maintained by preventing invalid task switches that would cause state disorders. The state machine receives task execution status information, compares it against predefined valid transitions in the state table, and only allows transitions that maintain system stability, thereby ensuring efficient task execution.
3Adaptability or versatility
If task transitions are allowed without validation, then task adaptability is improved, but system reliability deteriorates due to state disorders such as performing navigation during dancing
Solution Approach 1:
The patent applies preliminary action by pre-defining all valid task transition relationships in a preset state table before the robot system operates. The state machine queries this pre-prepared state table to validate whether a task transition is allowed before actually switching tasks. This preliminary validation prevents invalid task combinations (such as performing navigation during dancing) from occurring, thereby maintaining system reliability while still allowing flexible task transitions according to the predefined valid relationships.
Data Source
AI summary
The present disclosure provides a task management method for a robot, a robot using the same, and a computer readable storage medium. The method includes: obtaining a current task of the robot, in response to receiving a request for executing a new task of the robot; querying the preset state table according to the new task and the current task to determine whether to switch the robot from the current task to the new task: and switching the robot from the current task to the new task, in response to determining to switch. In this way, the stability of the operation of the robot can be improved, and the efficiency of the robot to execute tasks can be improved.


