IP Library Granted Patent US 10,725,796
Granted Patent B2
US 10,725,796 · App. 16/223,138 · Granted Jul 28, 2020

Robot task management method, robot using the same and non-transitory computer readable storage medium

Inventors: Youjun Xiong (Shenzhen, CN); Ruiqiang Huang (Shenzhen, CN)
Assignee: UBTECH ROBOTICS CORP
G06F9/4498G06F9/45512G06F16/90335G05B2219/40089G05B2219/40391
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,725,796
App. No.
16/223,138
Granted
Jul 28, 2020
Kind
B2
Abstract

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.

Claims (45)

1. A computer-implemented task management method for a robot executing a task according to a task list, comprising executing on a processor the steps of:

obtaining a current task of the robot, in response to receiving a request for executing a new task of the robot;

determining whether to, add the new task to the task list according to a preset state table;

adding the new task to the task list in response to determining to add the new task;

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.

2. The method of claim 1 , further comprising:

controlling the robot to perform the current task and the new task in parallel, in response to determining not to switch.

3. The method of claim 1 , wherein the step of switching the robot from the current task to the new task comprises:

interrupting the current task and executing the new task.

4. A robot executing a task according to a task list, comprising:

a processor configured to execute a state machine;

a memory configured to store a preset state table; and

one or more computer programs stored in the memory and executable on the processor, wherein the one or more computer programs comprise:

instructions for obtaining a current task of the robot, in response to receiving a request for executing a new task of the robot;

instructions for determining whether to add the new task to the task list according to the preset state table;

instructions for adding the new task to the task list in response to determining to add the new task;

instructions for 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

instructions for transiting a state of the state machine and switching the robot from the current task to the new task, in response to determining to switch.

5. The robot of claim 4 , wherein, the one or more computer programs further comprise:

instructions for activating a state of the state machine corresponding to the new task, and controlling the robot to perform the current task and the new task in parallel, in response to determining not to switch.

6. The robot of claim 4 , wherein the instructions for switching the robot from the current task to the new task comprise:

instructions for interrupting the current task and executing the new task.

7. The robot of claim 4 , wherein the one or more, computer programs further comprise:

instructions for executing an operating system layer and an interface layer;

instructions for controlling the state machine to report the status of the state machine to the interface layer;

instructions for controlling the operating system layer to receive the request through the interface layer and generate a reporting result according to the request;

instructions for controlling the interface layer to generate a distribution instruction according to the reporting result and the state of the state machine; and

instructions for switching the robot from the current task to the new task according to the distribution instruction.

8. A non-transitory computer readable storage medium storing one or more computer programs, wherein the one or more computer programs comprise:

instructions for obtaining a current task of the robot, in response to receiving a request for executing a new task of the robot:

instructions for determining whether to add the new task to the task list according to the preset state table;

instructions for adding the new task to the task list in response to determining to add the new task;

instructions for 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

instructions for transiting a state of the state machine and switching the robot from the current task to the new task, in response to determining to switch.

9. The medium of claim 8 , wherein, the one or more computer programs further comprise:

instructions for activating a state of the state machine corresponding to the new task, and controlling the robot to perform the current task and the new task in parallel, in response to determining not to switch.

10. The medium of claim 8 , wherein the instructions for switching the robot from the current task to the new task comprise:

instructions for interrupting the current task and executing the new task.

11. The medium of claim 8 , wherein the one or more computer programs further comprise:

instructions for executing an operating system layer and an interface layer;

instructions for controlling the state machine to report the status of the state machine to the interface layer;

instructions for controlling the operating system layer to receive the request through the interface layer and generate a reporting result according to the request;

instructions for controlling the interface layer to generate a distribution instruction according to the reporting result and the state of the state machine; and

instructions for switching the robot from the current task to the new task according to the distribution instruction.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 27, 2024
From: UBTECH ROBOTICS CORP
To: FUTRONICS (NA) CORPORATION
Reel/Frame 068402/0791 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 18, 2018
From: XIONG, YOUJUN; HUANG, RUIQIANG
To: UBTECH ROBOTICS CORP
Reel/Frame 047948/0177 →
Priority Claims (1)
CN 2017 1 1471799 · Dec 28, 2017 · national
Continuity (1)
Related Publication 20190205145A1 · Jul 4, 2019