Task execution method and device, moveable object and computer readable storage medium
First Claim
Patent Images
1. A task execution method, applied to a moveable object, and comprising:
- obtaining a task list, wherein the task list comprises at least two to-be-executed tasks;
determining a task mode, wherein the task mode comprises a task set mode and a task flow mode, the task set mode refers to that the moveable object executes the at least two to-be-executed tasks according to an optimal path, and the task flow mode refers to that the moveable object executes the at least two to-be-executed tasks according to a user-specified sequence; and
executing the at least two to-be-executed tasks according to the determined task mode, wherein the executing the at least two to-be-executed tasks according to the determined task mode comprises;
determining, when one of the at least two to-be-executed tasks is completed, whether remaining energy of the moveable object is capable of supporting the moveable object in completing a task that has not been completed in the at least two to-be-executed tasks and returning; and
if the remaining energy of the moveable object is not capable of supporting the moveable object in completing the task that has not been completed in the at least two to-be-executed tasks and returning, sending a prompt warning of insufficient energy to a control terminal, determining whether a number of times of sending the prompt warning of insufficient energy to the control terminal exceeds a preset threshold and if the number of times or a duration of sending the prompt warning of insufficient energy to the control terminal exceeds the preset threshold, control the moveable object to cancel execution of the task that has not been completed and return the movable object automatically;
after the determination of whether the number of times of sending the prompt warning of insufficient energy to the control terminal exceeds the preset threshold, determine a task that has not been completed in the task list and if the remaining energy of the movable object is capable of completing the task that has not been completed, perform a next task in the task list by the movable object according to the determined task mode.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a task execution method and device. The task execution method includes: obtaining a task list, where the task list includes at least two to-be-executed tasks; determining a task mode, where the task mode includes a task set mode and a task flow mode; and executing the at least two to-be-executed tasks according to the determined task mode.
8 Citations
24 Claims
-
1. A task execution method, applied to a moveable object, and comprising:
- obtaining a task list, wherein the task list comprises at least two to-be-executed tasks;
determining a task mode, wherein the task mode comprises a task set mode and a task flow mode, the task set mode refers to that the moveable object executes the at least two to-be-executed tasks according to an optimal path, and the task flow mode refers to that the moveable object executes the at least two to-be-executed tasks according to a user-specified sequence; and
executing the at least two to-be-executed tasks according to the determined task mode, wherein the executing the at least two to-be-executed tasks according to the determined task mode comprises;
determining, when one of the at least two to-be-executed tasks is completed, whether remaining energy of the moveable object is capable of supporting the moveable object in completing a task that has not been completed in the at least two to-be-executed tasks and returning; and
if the remaining energy of the moveable object is not capable of supporting the moveable object in completing the task that has not been completed in the at least two to-be-executed tasks and returning, sending a prompt warning of insufficient energy to a control terminal, determining whether a number of times of sending the prompt warning of insufficient energy to the control terminal exceeds a preset threshold and if the number of times or a duration of sending the prompt warning of insufficient energy to the control terminal exceeds the preset threshold, control the moveable object to cancel execution of the task that has not been completed and return the movable object automatically;
after the determination of whether the number of times of sending the prompt warning of insufficient energy to the control terminal exceeds the preset threshold, determine a task that has not been completed in the task list and if the remaining energy of the movable object is capable of completing the task that has not been completed, perform a next task in the task list by the movable object according to the determined task mode. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
- obtaining a task list, wherein the task list comprises at least two to-be-executed tasks;
-
13. A moveable object, comprising:
- a body; and
a processor, which is disposed in the body, wherein the processor is configured to;
obtain a task list, wherein the task list comprises at least two to-be-executed tasks;
determine a task mode, wherein the task mode comprises a task set mode and a task flow mode, the task set mode refers to that the moveable object executes the at least two to-be-executed tasks according to an optimal path, and the task flow mode refers to that the moveable object executes the at least two to-be-executed tasks according to a user-specified sequence; and
control, according to the determined task mode, the moveable object to execute the at least two to-be-executed tasks, wherein the processor is specifically configured to;
determine, when one of the at least two to-be-executed tasks is completed whether remaining energy of the moveable object is capable of supporting the moveable object in completing a task that has not been completed in the at least two to-be-executed tasks and returning; and
if the remaining energy of the moveable object is not capable of supporting the moveable object in completing the task that has not been completed in the at least two to-be-executed tasks and returning, send a prompt warning of insufficient energy to a control terminal wherein the processor is further configured to determine whether a number of times of sending the prompt warning of insufficient energy to the control terminal exceeds a preset threshold; and
if the number of times or a duration of sending the prompt warning of insufficient energy to the control terminal exceeds the preset threshold, control the moveable object to cancel execution of the task that has not been completed and return the movable object automatically;
after the determination of whether the number of times of sending the prompt warning of insufficient energy to the control terminal exceeds the preset threshold, determine a task that has not been completed in the task list and if the remaining energy of the movable object is capable of completing the task that has not been completed, perform a next task in the task list by the movable object according to the determined task mode. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
- a body; and
Specification