Robot multitasking processing method and device, robot

By obtaining the total task map of the cleaning robot task map and merging the tasks, the problems of low task merging efficiency and low fault tolerance rate in the existing technology are solved, and more efficient multi-tasking and higher fault tolerance rate are achieved.

CN118095809BActive Publication Date: 2024-09-20JUXING TECH SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410518982.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-28
Publication Date
2024-09-20
Estimated Expiration
2044-04-28

AI Technical Summary

Technical Problem

When existing cleaning robots perform multi-tasking, they need to build a very large map at one time, resulting in low efficiency of task merging, error-prone, and poor user experience.

Method used

By determining the maps of the two tasks, the overall task map is obtained, and the tasks are merged according to the overall task map to avoid creating a large map at one time, and only rebuild the map when the task map changes.

Benefits of technology

It improves the efficiency and error tolerance of multi-tasking and reduces the complexity and error rate of user operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118095809B
    Figure CN118095809B
Patent Text Reader

Abstract

The present application discloses a robot multi-task processing method, device, and robot, and belongs to the field of robot technology. The robot multi-task processing method includes: determining the task map of the first task to be merged and the task map of the second task to be merged; the first task to be merged and the second task to be merged are tasks to be merged that are to be connected by any two task paths; obtaining the total task map according to the positioning mark corresponding to the task map of the first task to be merged and the positioning mark corresponding to the task map of the second task to be merged; the total task map includes the task map of the first task to be merged and the task map of the second task to be merged; merging the first task to be merged and the second task to be merged to obtain the target task; controlling the robot to perform the target task according to the total task map. The robot multi-task processing method, device, and robot provided in the present application are more efficient in merging and processing multiple tasks, and have a higher overall fault tolerance rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of robotics technology, and in particular, relates to a robot multi-tasking processing method and device, and a robot. Background Art

[0002] When cleaning robots and other intelligent agents are performing multiple tasks continuously, they often need to switch maps manually, which makes the operation more complicated and provides a poor user experience.

[0003] In order to improve the user experience, currently all target areas and all positioning points in each target area are loaded onto a map at one time, and multiple paths are set on the map, each path corresponds to a task, so as to complete the task merging. The above method is to reuse a map, establish the task paths multiple times, and then merge the tasks after all the task paths are established on the same map.

[0004] The above method requires a very large map covering all target areas, and all tasks must be successfully mapped at one time, which is prone to errors and leads to low efficiency in merging multiple tasks. Summary of the invention

[0005] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a robot multi-task processing method and device, and a robot, which can improve the efficiency of the robot multi-task processing.

[0006] In a first aspect, the present application provides a robot multi-tasking method, the method comprising:

[0007] Determine a task map of a first task to be merged and a task map of a second task to be merged; the first task to be merged and the second task to be merged are any two tasks to be merged to be connected by task paths;

[0008] Acquire a total task map according to the positioning mark corresponding to the task map of the first task to be merged and the positioning mark corresponding to the task map of the second task to be merged; the total task map includes the task map of the first task to be merged and the task map of the second task to be merged;

[0009] Merging the first task to be merged and the second task to be merged to obtain a target task;

[0010] Control the robot to perform the target task according to the overall task map.

[0011] According to the robot multi-task processing method of the present application, by obtaining the total task map including the task maps of the above two tasks according to the positioning marks corresponding to the task maps of the two tasks, the above two tasks are merged based on the total task map. In the scenario where multiple tasks need to be merged, there is no need to establish a large task map for all tasks at one time, but a smaller task map can be established for each task respectively, and then all the smaller task maps are merged. Moreover, in the case of changes or errors in any task map, there is no need to rebuild the map for all tasks, only any one of the above task maps needs to be re-mapped, and the overall fault tolerance rate is higher. In summary, the efficiency of multi-task merging and processing according to the robot multi-task processing method provided in the embodiment of the present application is higher, and the overall fault tolerance rate is higher.

[0012] According to an embodiment of the present application, acquiring the total task map according to the positioning mark corresponding to the task map of the first task to be merged and the positioning mark corresponding to the task map of the second task to be merged includes:

[0013] When the task map of the first task to be merged and the task map of the second task to be merged correspond to at least one identical positioning mark, the task map of the first task to be merged and the task map of the second task to be merged are spliced ​​together according to the identical positioning mark to obtain the total task map.

[0014] According to the robot multi-tasking processing method of the present application, when the task map of the first task to be merged corresponds to at least one identical positioning mark with the task map of the second task to be merged, the task map of the first task to be merged and the task map of the second task to be merged are directly spliced ​​into a total task map based on the same positioning mark. This can realize splicing the task maps of the two tasks to be merged based on the same positioning marks corresponding to the task maps of the two tasks to be merged, and then can realize splicing multiple smaller task maps into a larger task map based on this, which can improve the efficiency of multi-task merging and processing and the overall fault tolerance rate.

[0015] According to an embodiment of the present application, acquiring the total task map according to the positioning mark corresponding to the task map of the first task to be merged and the positioning mark corresponding to the task map of the second task to be merged includes:

[0016] In a case where the task map of the first task to be merged and the task map of the second task to be merged do not correspond to the same positioning mark, controlling the robot to establish a first map; the first map and the task map of the first task to be merged and the task map of the second task to be merged respectively correspond to at least one same positioning mark;

[0017] According to the same positioning marks corresponding to the first map and the task map of the first task to be merged, and the same positioning marks corresponding to the first map and the task map of the second task to be merged, the task map of the first task to be merged, the task map of the second task to be merged and the first map are spliced ​​to obtain the total task map.

[0018] According to the robot multi-task processing method of the present application, when the task map of the first task to be merged and the task map of the second task to be merged do not correspond to the same positioning mark, the robot is controlled to establish a first map that corresponds to at least one same positioning mark with the task map of the first task to be merged and the task map of the second task to be merged, respectively, and then according to the same positioning marks corresponding to the first map and the task map of the first task to be merged, and the same positioning marks corresponding to the first map and the task map of the second task to be merged, the task map of the first task to be merged, the task map of the second task to be merged and the first map are spliced ​​into a total task map; when the task maps of the two tasks to be merged do not correspond to the same positioning marks, a first map is established so that the task map of each task to be merged corresponds to at least one same positioning mark with the first map, so that the task maps of the two tasks to be merged can be merged into a large task map with the first map as the intermediary, and then multiple smaller task maps can be spliced ​​into a larger task map based on this, which can improve the efficiency of multi-task merging and processing and the overall fault tolerance rate.

[0019] According to an embodiment of the present application, determining the task map of the first task to be merged and the task map of the second task to be merged includes:

[0020] In the process of the robot moving from the starting point of the task path of the second task to be merged to the end point of the task path of the second task to be merged according to the task path of the second task to be merged, controlling the robot to establish a task map of the second task to be merged;

[0021] The starting point of the task path of the second task to be merged and the end point of the task path of the first task to be merged correspond to the same positioning mark.

[0022] According to an embodiment of the present application, the end point of the task path of the first task to be merged and the starting point of the task path of the second task to be merged correspond to the same positioning mark;

[0023] The merging the first task to be merged and the second task to be merged to obtain a target task includes:

[0024] According to the same positioning mark, the task path of the first task to be merged is connected with the task path of the second task to be merged to generate the task path of the target task.

[0025] According to one embodiment of the present application, controlling the robot to establish a first map includes:

[0026] Using the positioning mark corresponding to the end point of the task path of the first task to be merged as the positioning mark corresponding to the starting point of the first path, and using the positioning mark corresponding to the starting point of the task path of the second task to be merged as the positioning mark corresponding to the end point of the first path;

[0027] Mapping is performed during the process of the robot moving from an end point of a task path of the first task to be merged to a starting point of a task path of the second task to be merged, and the robot is controlled to generate the first map.

[0028] According to an embodiment of the present application, the merging the first task to be merged and the second task to be merged to obtain a target task includes:

[0029] According to the same positioning mark, the task path of the first task to be merged and the task path of the second task to be merged are connected through the first path to generate the task path of the target task; the starting point of the first path is the end point of the task path of the first task to be merged; the end point of the first path is the starting point of the task path of the second task to be merged.

[0030] According to an embodiment of the present application, the step of splicing the task map of the first task to be merged with the task map of the second task to be merged according to the same positioning mark to obtain the total task map includes:

[0031] After aligning the same positioning marks corresponding to the task map of the first task to be merged and the task map of the second task to be merged, the task map of the first task to be merged and the task map of the second task to be merged are spliced ​​to obtain the total task map.

[0032] According to an embodiment of the present application, according to the same positioning mark corresponding to the first map and the task map of the first task to be merged, and the same positioning mark corresponding to the first map and the task map of the second task to be merged, the task map of the first task to be merged, the task map of the second task to be merged, and the first map are spliced ​​to obtain the total task map, including:

[0033] After aligning the same positioning mark corresponding to the first map and the task map of the first task to be merged, and aligning the same positioning mark corresponding to the first map and the task map of the second task to be merged, splice the task map of the first task to be merged, the task map of the second task to be merged and the first map to obtain the total task map.

[0034] In a second aspect, the present application provides a robot multi-task processing device, the device comprising:

[0035] A determination module, used to determine a task map of a first task to be merged and a second task to be merged; the first task to be merged and the second task to be merged are any two tasks to be merged to be connected by task paths;

[0036] An acquisition module, configured to acquire a total task map based on a positioning mark corresponding to the task map of the first task to be merged and a positioning mark corresponding to the task map of the second task to be merged; the total task map includes the task map of the first task to be merged and the task map of the second task to be merged;

[0037] A merging module, used for merging the first task to be merged and the second task to be merged to obtain a target task;

[0038] A control module is used to control the robot to perform the target task according to the overall task map.

[0039] According to the robot multi-task processing device of the present application, by obtaining the total task map including the task maps of the above two tasks according to the positioning marks corresponding to the task maps of the two tasks, the above two tasks are merged based on the total task map. In the scenario where multiple tasks need to be merged, there is no need to establish a large task map for all tasks at one time, but a smaller task map can be established for each task respectively, and then all the smaller task maps are merged. Moreover, in the case of changes or errors in any task map, there is no need to rebuild the map for all tasks, only any one of the above task maps needs to be re-mapped, and the overall fault tolerance rate is higher. In summary, the efficiency of multi-task merging and processing according to the robot multi-task processing method provided in the embodiment of the present application is higher, and the overall fault tolerance rate is higher.

[0040] In a third aspect, the present application provides a robot comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the robot multitasking method as described in the first aspect above is implemented.

[0041] In a fourth aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the robot multitasking method as described in the first aspect above is implemented.

[0042] In a fifth aspect, the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the robot multitasking method as described in the first aspect.

[0043] In a sixth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the robot multitasking method as described in the first aspect above.

[0044] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0046] Figure 1 This is one of the flowcharts of the robot multi-tasking method provided in the embodiment of the present application;

[0047] Figure 2 It is one of the schematic diagrams of the implementation scenario of the robot multi-tasking method provided in the embodiment of the present application;

[0048] Figure 3 This is the second schematic diagram of the implementation scenario of the robot multi-tasking method provided in the embodiment of the present application;

[0049] Figure 4 is a schematic diagram of the structure of a robot multi-tasking processing device provided in an embodiment of the present application;

[0050] Figure 5 It is a schematic diagram of the structure of the robot provided in the embodiment of the present application. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0052] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0053] The robot multitasking processing method, robot multitasking processing device, robot and readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0054] The robot multitasking method may be applied to a terminal, and may be specifically executed by hardware or software in the terminal.

[0055] The terminal includes, but is not limited to, a portable communication device such as a mobile phone or a tablet computer having a touch-sensitive surface (e.g., a touch screen display and / or a touch pad). It should also be understood that in some embodiments, the terminal may not be a portable communication device, but a desktop computer having a touch-sensitive surface (e.g., a touch screen display and / or a touch pad).

[0056] In the following various embodiments, a terminal including a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, a mouse and a joystick.

[0057] The robot multi-tasking method provided in the embodiment of the present application can be executed by an electronic device or a functional module or functional entity in the electronic device that can implement the robot multi-tasking method. The electronic devices mentioned in the embodiment of the present application include but are not limited to mobile phones, tablet computers, computers, cameras and wearable devices. The robot multi-tasking method provided in the embodiment of the present application is described below using the electronic device as an example of the execution subject.

[0058] like Figure 1 As shown, the robot multi-tasking method includes: step 110, step 120, step 130 and step 140.

[0059] Step 110: determine a task map of the first task to be merged and a task map of the second task to be merged; the first task to be merged and the second task to be merged are any two tasks to be merged to be connected by task paths;

[0060] In actual execution, the first task to be merged and the second task to be merged are two tasks that need to be merged. The types of the above tasks may include cleaning, sweeping, transporting items or patrolling, but are not limited to the above types.

[0061] For example, the first task to be merged may be a task of cleaning the master bedroom in a house, and the second task to be merged may be a task of cleaning the second bedroom in the house. For another example, the first task to be merged may be a task of transporting quilts from the front desk of a hotel to a guest room on the 8th floor, and the second task to be merged may be a task of transporting tableware from another guest room on the 8th floor or from a guest room on the 7th floor to a restaurant on the 2nd floor.

[0062] Each task can be any task that can be performed by the robot based on the task map and according to the task path. The task map is a map used to perform tasks. Each task map can correspond to a task. The task path can be a path in the task map. A task map package can generally include a task path, but is not limited to only including one task path.

[0063] The purpose of merging the first task to be merged and the second task to be merged is to obtain a new path that includes the first task path and the second task path, so that the first task path and the second task path can be connected, and the task map of the first task to be merged and the task map of the second task to be merged are spliced, and the robot can move between different task maps. The robot performs the task according to the above new path, so that both the first task to be merged and the second task to be merged can be executed. The first task path is the task path of the first task to be merged. The second task path is the task path of the second task to be merged.

[0064] It can be understood that in order to realize that the task paths of two tasks can be directly connected and the task maps of the two tasks can be directly merged, it is required that the task maps of the two tasks include the same place or location.

[0065] In some embodiments, the first task to be merged and the second task to be merged may be determined based on user input. The first task to be merged or the second task to be merged may be a newly created task based on user input, or may be a task selected or determined from a list of established historical tasks based on user input.

[0066] It can be understood that determining the first task to be merged or the second task to be merged by means of new creation includes determining the task path of the task, while the task path of the historical task is already determined.

[0067] After determining the first task to be merged, the task map of the first task to be merged can be determined. In the case where the first task to be merged is a historical task, the task map of the first task to be merged can be obtained from the stored task map. In the case where the first task to be merged is a newly created task, the robot can be controlled to establish the task map of the first task to be merged according to the task path of the first task to be merged.

[0068] It is understandable that the control robot establishes the task map of the first task to be merged according to the task path of the first task to be merged, and any mapping method for controlling the robot to establish the task map according to the task path in the related art can be used. The specific mapping method used is not limited in the embodiments of the present application.

[0069] It can be understood that the method of determining the task map of the second task to be merged is similar to the above-mentioned method of determining the task map of the first task to be merged, and will not be repeated here.

[0070] It should be noted that the task map of each task can correspond to M positioning marks. Wherein, M is an integer greater than or equal to 0. The positioning mark corresponding to the task map includes the positioning mark corresponding to each point in the task map. The positioning mark is a mark set in real space for positioning. The specific form of the mark is not limited in the embodiment of the present application. For example, the mark can be a QR code or an electronic tag.

[0071] The positioning mark may carry the location information of a certain positioning point. The positioning point may be the point where the positioning mark is set, or it may be another point different from the point where the positioning mark is set. When the robot is located at the other points mentioned above, the robot can correctly interact with the positioning mark to obtain the location information of the positioning point. The way in which the robot interacts with the positioning mark corresponds to the specific form of the positioning mark. For example, when the mark is a QR code, the way in which the robot interacts with the positioning mark may be that the robot scans the positioning mark through a camera set on its own body; when the mark is an electronic tag, the way in which the robot interacts with the positioning mark may be that the robot communicates with the positioning mark by radio frequency. It should be noted that the positioning points and points in the various embodiments of the present application refer to a place or position in real space.

[0072] It is understandable that the task map of each task may carry the information of the positioning mark corresponding to the task map. The information of the positioning mark may include the ID (such as the number, etc.) of the positioning mark and the position information of the positioning point carried by the positioning mark.

[0073] Step 120: Obtain a total task map according to the positioning mark corresponding to the task map of the first task to be merged and the positioning mark corresponding to the task map of the second task to be merged; the total task map includes the task map of the first task to be merged and the task map of the second task to be merged.

[0074] In actual implementation, the robot multi-task processing method provided in the embodiment of the present application merges the first task to be merged and the second task to be merged, based on the positioning mark corresponding to the task map of the first task to be merged and the positioning mark corresponding to the task map of the second task to be merged, and uses the specific positioning mark in the positioning mark corresponding to the task map of the first task to be merged and the positioning mark corresponding to the task map of the second task to be merged as an intermediary to connect the task map of the first task to be merged with the task map of the second task to be merged and to connect the first task path and the second task path. Therefore, the task map of the first task to be merged and the task map of the second task to be merged can both correspond to at least one positioning mark.

[0075] The task map of the first task to be merged and the task map of the second task to be merged can be adjusted to the same scale, and then at least one of the task maps of the first task to be merged and the second task to be merged can be moved according to the above-mentioned specific positioning mark, so that the position of the task map of the first task to be merged and the position of the task map of the second task to be merged meet a suitable relative position relationship. After the above-mentioned moving process is completed, the map splicing step can be performed to splice at least two smaller maps into a larger map as the total task map.

[0076] It should be noted that the at least two maps mentioned above refer to objects for executing the map splicing step, which at least include the task map of the first task to be merged and the task map of the second task to be merged, and may or may not include task maps of other tasks. Therefore, the total task map at least includes the task map of the first task to be merged and the task map of the second task to be merged, and may or may not include task maps of other tasks.

[0077] Step 130: Merge the first task to be merged and the second task to be merged to obtain a target task.

[0078] In actual execution, the first task to be merged and the second task to be merged can be merged by connecting the first task path and the second task path in the overall task map. The new task obtained by merging the first task to be merged and the second task to be merged is the target task. The task path of the target task includes the first task path and the second task path.

[0079] In some embodiments, when the first task path and the second task path contain the same point, the first task path and the second task path can be directly connected to merge the first task to be merged with the second task to be merged to obtain the target task. Alternatively, when the first task path and the second task path do not contain the same point, the first task path and the second task path can be connected through the task path of other tasks, and the first task to be merged, the second task to be merged and other tasks can be merged to obtain the target task. It can be understood that the target task includes at least two subtasks: the first task to be merged and the second task to be merged.

[0080] Step 140: Control the robot to perform the target task according to the overall task map.

[0081] In actual execution, after obtaining the overall task map and the target task, instructions can be issued to the robot to control the robot to move according to the overall task map and the task path of the target task to execute the target task.

[0082] It should be noted that according to the embodiment of the present application, for the task maps of any two tasks, it is possible to determine whether the two task maps correspond to the same positioning mark to determine whether the two task maps can be directly merged. In the case where the two task maps correspond to the same positioning mark, the task paths of the two tasks can be connected and the two task maps can be spliced ​​based on the same positioning mark corresponding to the two task maps to achieve the merging of the two tasks.

[0083] The merged task can be regarded as a new task. By merging two tasks each time, multiple tasks can be merged, and multiple smaller task maps can be spliced ​​into a larger task map. In theory, by setting the positioning mark at a reasonable position in the target area (such as a house, floor, entire building or park, etc.), any number of tasks can be merged. Moreover, if the number of positioning marks is large enough, the tasks can be expanded infinitely, supporting an infinite total task map.

[0084] In some embodiments, when multiple tasks are selected or determined from a list of established historical tasks based on user input, the algorithm level can automatically screen out task maps that can be directly spliced ​​with each other or determine whether multiple task maps can be spliced ​​together, etc., based on the positioning mark corresponding to the task map of each task, and can prompt the user by displaying on a display screen or sending information to the client used by the user, so as to ensure the effectiveness of the multi-task merging.

[0085] In the related art, when the target area to be executed is large, a large task map is created at one time. If an error occurs during the mapping process or a part changes, the entire map needs to be re-built to create a larger task map, which is a lot of work.

[0086] According to the embodiment of the present application, the target area can be divided into multiple sub-areas, each of which can contain a section of the task path that needs to perform the task (which can be called a "sub-path"), thereby dividing a larger task map into N smaller maps, and the task is correspondingly divided into N sub-tasks, each sub-task corresponding to a sub-area and a sub-path in the sub-area. For each sub-task, a smaller sub-task map is established. After all sub-task maps have been established, all sub-task maps can be merged into a larger task map through the robot multi-task processing method provided in the embodiment of the present application. Wherein, N is an integer greater than or equal to 2.

[0087] If an error occurs during the mapping process or a certain part changes, you can rebuild the map only for the sub-region where the error or change occurs, and then re-stitch it, without having to rebuild and modify the entire target area.

[0088] Therefore, the robot multi-tasking method provided in the embodiment of the present application has a small amount of tasks for single mapping and a high overall fault tolerance rate.

[0089] According to the robot multi-task processing method provided in the embodiment of the present application, by obtaining the total task map including the task maps of the above two tasks according to the positioning marks corresponding to the task maps of the two tasks, the above two tasks are merged based on the total task map. In the scenario where multiple tasks need to be merged and executed, there is no need to establish a large task map for all tasks at one time, but a smaller task map can be established for each task respectively, and then all the smaller task maps are merged. Moreover, in the case of changes or errors in any task map, there is no need to rebuild the map for all tasks, only any one of the above task maps needs to be re-mapped, and the overall fault tolerance rate is higher. In summary, the efficiency of multi-task merging and processing according to the robot multi-task processing method provided in the embodiment of the present application is higher, and the overall fault tolerance rate is higher.

[0090] In some embodiments, a total task map is obtained based on the positioning mark corresponding to the task map of the first task to be merged and the positioning mark corresponding to the task map of the second task to be merged, including: when the task map of the first task to be merged and the task map of the second task to be merged correspond to at least one identical positioning mark, the task map of the first task to be merged and the task map of the second task to be merged are spliced ​​together based on the same positioning mark to obtain the total task map.

[0091] In actual execution, after determining the task map of the first task to be merged and the task map of the second task to be merged, it can be determined whether the task map of the first task to be merged and the task map of the second task to be merged correspond to the same positioning mark.

[0092] In some embodiments, the information of each positioning mark corresponding to the task map of the first task to be merged can be matched with the information of each positioning mark corresponding to the task map of the second task to be merged, so as to determine whether the task map of the first task to be merged and the task map of the second task to be merged correspond to the same positioning mark. If the information of the two positioning marks is the same, then the two positioning marks are the same positioning marks.

[0093] It should be noted that the same positioning mark may be a positioning mark corresponding to any point on the task path. The embodiment of the present application does not limit which point on the task path the same positioning mark is.

[0094] If the task map of the first task to be merged and the task map of the second task to be merged have at least one identical positioning mark, at least one of the at least one identical positioning mark can be determined as the aforementioned specific positioning mark as an intermediary for splicing the task map of the first task to be merged and the task map of the second task to be merged.

[0095] After adjusting the task map of the first task to be merged and the task map of the second task to be merged to the same scale, at least one of the task map of the first task to be merged and the task map of the second task to be merged can be moved according to the above-mentioned specific positioning mark, so that the position of the task map of the first task to be merged and the position of the task map of the second task to be merged meet the appropriate relative position relationship. After the above-mentioned moving process is completed, the two smaller maps such as the task map of the first task to be merged and the task map of the second task to be merged can be spliced ​​into a larger map as the overall task map.

[0096] According to the robot multi-tasking method provided in the embodiment of the present application, when the task map of the first task to be merged corresponds to at least one identical positioning mark with the task map of the second task to be merged, the task map of the first task to be merged and the task map of the second task to be merged are directly spliced ​​into a total task map based on the same positioning mark. This can realize splicing the task maps of the two tasks to be merged according to the same positioning marks corresponding to the task maps of the two tasks to be merged, and then can realize splicing multiple smaller task maps into a larger task map based on this, which can improve the efficiency of multi-task merging and processing and the overall fault tolerance rate.

[0097] In some embodiments, a total task map is obtained based on the positioning marks corresponding to the task map of the first task to be merged and the positioning marks corresponding to the task map of the second task to be merged, including: when the task map of the first task to be merged and the task map of the second task to be merged do not correspond to the same positioning marks, controlling the robot to establish a first map; the first map and the task map of the first task to be merged and the task map of the second task to be merged respectively correspond to at least one same positioning mark.

[0098] In actual execution, the task map of the first task to be merged and the task map of the second task to be merged do not have corresponding identical positioning marks, and do not meet the conditions for directly splicing the task map of the first task to be merged and the task map of the second task to be merged. The robot can be controlled to establish the first map so that the first map can serve as a "bridge" for splicing the task map of the first task to be merged and the task map of the second task to be merged.

[0099] The first map needs to satisfy the requirement that it corresponds to at least one identical positioning mark with the task map of the first task to be merged, and corresponds to at least one identical positioning mark with the task map of the second task to be merged. Therefore, the first map can be directly spliced ​​with the task map of the first task to be merged, and the first map can be directly spliced ​​with the task map of the second task to be merged.

[0100] According to the same positioning marks corresponding to the first map and the task map of the first task to be merged, and the same positioning marks corresponding to the first map and the task map of the second task to be merged, the task map of the first task to be merged, the task map of the second task to be merged and the first map are spliced ​​to obtain the total task map.

[0101] In actual execution, at least one of the identical positioning marks corresponding to the first map and the task map of the first task to be merged can be determined as the aforementioned specific positioning mark as an intermediary for splicing the first map and the task map of the first task to be merged, and at least one of the identical positioning marks corresponding to the first map and the task map of the second task to be merged can be determined as the aforementioned specific positioning mark as an intermediary for splicing the first map and the task map of the second task to be merged.

[0102] After the first map, the task map of the first task to be merged, and the task map of the second task to be merged are adjusted to the same scale, at least one of the first map, the task map of the first task to be merged, and the task map of the second task to be merged can be moved according to the above-mentioned specific positioning mark, so that the positions of the first map, the task map of the first task to be merged, and the task map of the second task to be merged meet a suitable relative position relationship. After the above-mentioned moving process is completed, the three smaller maps of the first map, the task map of the first task to be merged, and the task map of the second task to be merged can be spliced ​​into a larger map, and spliced ​​into a larger map as the total task map.

[0103] In some embodiments, when the task map of the first task to be merged does not correspond to the same positioning mark as the task map of the second task to be merged, a map that meets the target condition can be obtained from the stored task maps as the first map. The target condition can be that the task map of the first task to be merged and the task map of the second task to be merged correspond to at least one same positioning mark respectively.

[0104] According to the robot multi-task processing method provided by the embodiment of the present application, when the task map of the first task to be merged and the task map of the second task to be merged do not correspond to the same positioning mark, the robot is controlled to establish a first map that corresponds to at least one same positioning mark with the task map of the first task to be merged and the task map of the second task to be merged, respectively, and then according to the same positioning marks corresponding to the first map and the task map of the first task to be merged, and the same positioning marks corresponding to the first map and the task map of the second task to be merged, the task map of the first task to be merged, the task map of the second task to be merged and the first map are spliced ​​into a total task map; when the task maps of the two tasks to be merged do not correspond to the same positioning marks, a first map is established so that the task map of each task to be merged corresponds to at least one same positioning mark with the first map, so that the task maps of the two tasks to be merged can be merged into a large task map with the first map as the intermediary, and then multiple smaller task maps can be spliced ​​into a larger task map based on this, which can improve the efficiency and overall fault tolerance of multi-task merging and processing.

[0105] In some embodiments, determining a task map of a first task to be merged and a task map of a second task to be merged includes: controlling the robot to establish a task map of the second task to be merged in the process of the robot moving from a starting point of the task path of the second task to be merged to an end point of the task path of the second task to be merged along the task path of the second task to be merged; wherein the starting point of the task path of the second task to be merged and the end point of the task path of the first task to be merged correspond to the same positioning mark.

[0106] In actual execution, for the scenario where the task map of the first task to be merged has been determined and the task map of the second task to be merged has not yet been established, a path whose starting point and the end point of the task path of the first task to be merged correspond to the same positioning mark can be determined as the task path of the second task to be merged.

[0107] Normally, if the end point of the task path of the first task to be merged and the starting point of the task path of the second task to be merged are the same point, then the starting point of the task path of the second task to be merged and the end point of the task path of the first task to be merged correspond to the same positioning mark; conversely, if the starting point of the task path of the second task to be merged and the end point of the task path of the first task to be merged correspond to the same positioning mark, the starting point of the task path of the second task to be merged and the end point of the task path of the first task to be merged can be regarded as the same point.

[0108] After determining the task path of the second task to be merged, the robot can be controlled to move from the starting point of the task path of the second task to be merged to the end point of the task path of the second task to be merged according to the task path of the second task to be merged. During the above movement of the robot, the robot can be controlled to establish a task map of the second task to be merged according to the task path of the second task to be merged.

[0109] It is understandable that the control robot establishes the task map of the second task to be merged according to the task path of the second task to be merged, and any mapping method for controlling the robot to establish the task map according to the task path in the related art can be used. The specific mapping method used is not limited in the embodiments of the present application.

[0110] It can be understood that the task map of the second task to be merged determined by the above process corresponds to at least one identical positioning mark as the task map of the first task to be merged (referring to the positioning mark corresponding to the starting point of the task path of the second task to be merged, which is also the positioning mark corresponding to the end point of the task path of the first task to be merged).

[0111] It should be noted that the task path can be bidirectional, so when the execution order of the first task to be merged and the second task to be merged is not limited and the task path is bidirectional, the end point of the task path of the first task to be merged can be any one of the two endpoints of the task path of the first task to be merged, and is not limited to a specific one. Similarly, when the execution order of the first task to be merged and the second task to be merged is not limited and the task path is bidirectional, the starting point of the task path of the second task to be merged can be any one of the two endpoints of the task path of the second task to be merged, and is not limited to a specific one.

[0112] It is understandable that, when the execution order of the first task to be merged and the second task to be merged is not limited and the task path is unidirectional, the end point of the task path of the second task to be merged and the starting point of the task path of the first task to be merged may correspond to the same positioning mark.

[0113] According to the robot multi-tasking processing method provided in the embodiment of the present application, by determining the task path of the second task to be merged, the starting point of the task path of the second task to be merged and the end point of the task path of the first task to be merged correspond to the same positioning mark, the robot is controlled to move from the starting point of the task path of the second task to be merged to the end point of the task path of the second task to be merged according to the task path of the second task to be merged, and a task map of the second task to be merged is established based on the above-mentioned movement process, so that the task map of the second task to be merged and the task map of the first task to be merged correspond to the same positioning mark, so that the task maps of the two tasks to be merged can be spliced ​​according to the same positioning marks corresponding to the task maps of the two tasks to be merged, and then on this basis, multiple smaller task maps can be spliced ​​into a larger task map, which can improve the efficiency of multi-task merging and processing and the overall fault tolerance rate.

[0114] In some embodiments, the end point of the task path of the first task to be merged and the start point of the task path of the second task to be merged correspond to the same positioning mark.

[0115] In actual execution, the task map of the first task to be merged and the task map of the second task to be merged correspond to at least one identical positioning mark, which may be that the end point of the task path of the first task to be merged and the starting point of the task path of the second task to be merged correspond to the same positioning mark.

[0116] Merging the first task to be merged with the second task to be merged to obtain the target task, including: connecting the task path of the first task to be merged with the task path of the second task to be merged according to the same positioning mark to generate the task path of the target task.

[0117] In actual execution, when the end point of the task path of the first task to be merged and the starting point of the task path of the second task to be merged correspond to the same positioning mark, the end point of the task path of the first task to be merged and the starting point of the task path of the second task to be merged are the same point, and this point can be used as the connection point connecting the task path of the first task to be merged with the task path of the second task to be merged. The task path of the first task to be merged and the task path of the second task to be merged are connected through this point, and a new path with the starting point of the task path of the first task to be merged as the starting point and the end point of the task path of the second task to be merged as the task path of the target task is obtained.

[0118] It can be understood that the task path of the target task may include two sub-paths, namely the task path of the first task to be merged and the task path of the second task to be merged.

[0119] According to the robot multi-task processing method provided in the embodiment of the present application, when the end point of the task path of the first task to be merged and the starting point of the task path of the second task to be merged correspond to the same positioning mark, the end point of the task path of the first task to be merged (that is, the starting point of the task path of the second task to be merged) is used as the connection point connecting the task path of the first task to be merged and the task path of the second task to be merged, and the task path of the first task to be merged is connected with the task path of the second task to be merged to generate the task path of the target task. When there is a point corresponding to the same positioning mark in the task paths of the two tasks to be merged, the task paths of the two tasks to be merged can be connected into a new task path according to the positioning mark, so as to merge the two tasks to be merged, thereby improving the efficiency and overall fault tolerance of multi-task merging and processing.

[0120] In some embodiments, controlling the robot to establish a first map includes: using the positioning mark corresponding to the end point of the task path of the first task to be merged as the positioning mark corresponding to the starting point of the first path, and using the positioning mark corresponding to the starting point of the task path of the second task to be merged as the positioning mark corresponding to the end point of the first path.

[0121] In actual execution, the positioning mark corresponding to the end point of the task path of the first task to be merged can be used as the positioning mark corresponding to the starting point of the first path. The end point of the task path of the first task to be merged and the starting point of the first path correspond to the same positioning mark, so the end point of the task path of the first task to be merged is the starting point of the first path.

[0122] In addition, the positioning mark corresponding to the starting point of the task path of the second task to be merged can be used as the positioning mark corresponding to the end point of the first path. The starting point of the task path of the second task to be merged and the end point of the first path correspond to the same positioning mark, so the starting point of the task path of the second task to be merged is the end point of the first path.

[0123] Through the above process, the starting point of the first path and the end point of the first path can be determined, and by determining the starting point of the first path and the end point of the first path, a path connecting the starting point of the first path and the end point of the first path can be determined as the first path. In addition to the starting point of the first path and the end point of the first path, which points the first path passes through is not specifically limited in the embodiments of the present application. In some embodiments, the first path can be a straight line connecting the starting point of the first path and the end point of the first path, so as to reduce the time taken for the robot to move from the end point of the task path of the first task to be merged to the starting point of the task path of the second task to be merged during the execution of the target task, so as to avoid adding too much extra time in addition to executing the first task to be merged and the second task to be merged.

[0124] Mapping is performed in the process of the robot moving from an end point of a task path of a first task to be merged to a starting point of a task path of a second task to be merged, and the robot is controlled to generate a first map.

[0125] In actual execution, after determining the first path, the robot can be controlled to move from the starting point of the first path to the end point of the first path along the first path. During the above movement of the robot, the robot can be controlled to establish a first map along the first path.

[0126] To establish the first map, any mapping method in the related art for controlling the robot to establish a task map according to the task path may be used. The specific mapping method used is not limited in the embodiments of the present application.

[0127] According to the robot multi-task processing method provided in the embodiment of the present application, by using the positioning mark corresponding to the end point of the task path of the first task to be merged as the positioning mark corresponding to the starting point of the first path, and using the positioning mark corresponding to the starting point of the task path of the second task to be merged as the positioning mark corresponding to the end point of the first path, a path with the end point of the first task path as the starting point and the starting point of the second task path as the first path is determined as the first path. In the process of the robot moving from the starting point of the first path to the end point of the first path along the first path, the robot is controlled to establish a first map, and a first map can be obtained that corresponds to at least one identical positioning mark with the task map of the first task to be merged and the task map of the second task to be merged, respectively. Then, the task maps of the two tasks to be merged can be merged into a large task map with the first map as the intermediary, which can improve the efficiency and overall fault tolerance of multi-task merging and processing.

[0128] In some embodiments, merging a first task to be merged and a second task to be merged to obtain a target task includes: connecting the task path of the first task to be merged and the task path of the second task to be merged through a first path according to the same positioning mark to generate a task path of the target task; the starting point of the first path is the end point of the task path of the first task to be merged; and the end point of the first path is the starting point of the task path of the second task to be merged.

[0129] In actual execution, the positioning mark corresponding to the end point of the task path of the first task to be merged is the same as the positioning mark corresponding to the starting point of the first path. The end point of the task path of the first task to be merged and the starting point of the first path are the same point, so the task path of the first task to be merged and the first path can be connected through this point.

[0130] The positioning mark corresponding to the starting point of the task path of the second task to be merged is the same as the positioning mark corresponding to the end point of the first path. The starting point of the task path of the second task to be merged and the end point of the first path are the same point, so the task path of the second task to be merged and the first path can be connected through this point.

[0131] After connecting the task path of the first task to be merged with the first path, and connecting the task path of the second task to be merged with the first path, the task path of the first task to be merged and the task path of the second task to be merged can be connected through the first path to obtain a new path with the starting point of the task path of the first task to be merged as the starting point and the end point of the task path of the second task to be merged as the end point, as the task path of the target task.

[0132] It can be understood that the task path of the target task may include three sub-paths, namely the task path of the first task to be merged, the first path, and the task path of the second task to be merged.

[0133] According to the robot multi-tasking method provided in the embodiment of the present application, the task path of the first task to be merged and the task path of the second task to be merged are connected by a first path with the end point of the task path of the first task to be merged as the starting point and the starting point of the task path of the second task to be merged as the end point, to generate a task path for the target task. In the case that there is no point corresponding to the same positioning mark in the task paths of the two tasks to be merged, the task paths of the two tasks to be merged can be connected into a new task path through another task path with the same positioning mark corresponding to the task paths of the two tasks to be merged as an intermediary, so as to merge the two tasks to be merged, thereby improving the efficiency and overall fault tolerance of multi-task merging and processing.

[0134] In some embodiments, according to the same positioning mark, the task map of the first task to be merged is spliced ​​with the task map of the second task to be merged to obtain a total task map, including: aligning the same positioning marks corresponding to the task map of the first task to be merged and the task map of the second task to be merged, and then splicing the task map of the first task to be merged with the task map of the second task to be merged to obtain a total task map.

[0135] In actual execution, the task map of each task may carry information of a positioning mark corresponding to the task map, and the positioning mark may correspond to a point in the task map. The position of the task map of the first task to be merged and the position of the task map of the second task to be merged satisfy a suitable relative position relationship, which may be a positional relationship formed by the position of the task map of the first task to be merged and the position of the task map of the second task to be merged when the aforementioned specific positioning mark as an intermediary connecting the task map of the first task to be merged and the task map of the second task to be merged are aligned in the task map of the first task to be merged and the task map of the second task to be merged.

[0136] The aforementioned specific positioning mark serving as an intermediary connecting the task map of the first task to be merged with the task map of the second task to be merged can be aligned by moving at least one of the task map of the first task to be merged and the task map of the second task to be merged.

[0137] In some embodiments, when the end point of the task path of the first task to be merged corresponds to the same positioning mark as the starting point of the task path of the second task to be merged, the positioning mark corresponding to the end point of the task path of the first task to be merged in the task map of the first task to be merged can be aligned with the positioning mark corresponding to the starting point of the task path of the second task to be merged in the task map of the second task to be merged by moving at least one of the task map of the first task to be merged and the task map of the second task to be merged, thereby aligning the end point of the task path of the first task to be merged in the task map of the first task to be merged with the starting point of the task path of the second task to be merged in the task map of the second task to be merged.

[0138] After aligning the same positioning marks corresponding to the task map of the first task to be merged and the task map of the second task to be merged, the task map of the first task to be merged and the task map of the second task to be merged can be spliced ​​together based on the position of the task map of the first task to be merged and the position of the task map of the second task to be merged at this time to obtain the total task map.

[0139] According to the robot multi-task processing method provided by the embodiment of the present application, after aligning the same positioning mark corresponding to the task map of the first task to be merged and the task map of the second task to be merged, the task map of the first task to be merged and the task map of the second task to be merged are spliced ​​to obtain a total task map, which can realize merging the task maps of the two tasks to be merged into a larger total task map according to the same positioning marks corresponding to the task maps of the two tasks to be merged.

[0140] In some embodiments, based on the same positioning marks corresponding to the first map and the task map of the first task to be merged, and the same positioning marks corresponding to the first map and the task map of the second task to be merged, the task map of the first task to be merged, the task map of the second task to be merged and the first map are spliced ​​to obtain a total task map, including: aligning the same positioning marks corresponding to the first map and the task map of the first task to be merged, and aligning the same positioning marks corresponding to the first map and the task map of the second task to be merged, and then splicing the task map of the first task to be merged, the task map of the second task to be merged and the first map to obtain a total task map.

[0141] In actual execution, the positions of the first map and the task map of the first task to be merged and the positions of the task map of the second task to be merged satisfy a suitable relative position relationship, and can be a position relationship formed by the positions of the first map and the task map of the first task to be merged and the positions of the task map of the second task to be merged when the task map of the first task to be merged and the aforementioned specific positioning mark in the first map, which serves as an intermediary connecting the task map of the first task to be merged and the first map, are aligned, and when the task map of the second task to be merged and the aforementioned specific positioning mark in the first map, which serves as an intermediary connecting the task map of the second task to be merged and the first map, are aligned.

[0142] By moving the first map, the task map of the first task to be merged, and at least one of the task maps of the second task to be merged, the aforementioned specific positioning mark serving as an intermediary connecting the task map of the first task to be merged and the first map and the aforementioned specific positioning mark serving as an intermediary connecting the task map of the second task to be merged and the first map are aligned.

[0143] In some embodiments, when the end point of the task path of the first task to be merged corresponds to the same positioning mark as the starting point of the first path, the positioning mark corresponding to the end point of the task path of the first task to be merged in the task map of the first task to be merged can be aligned with the positioning mark corresponding to the starting point of the first path in the first map by moving at least one of the task map of the first task to be merged and the first map, thereby aligning the end point of the task path of the first task to be merged in the task map of the first task to be merged with the starting point of the first path in the first map.

[0144] In some embodiments, when the starting point of the task path of the second task to be merged corresponds to the same positioning mark as the end point of the first path, the positioning mark corresponding to the starting point of the task path of the second task to be merged in the task map of the second task to be merged can be aligned with the positioning mark corresponding to the end point of the first path in the first map by moving at least one of the task map of the second task to be merged and the first map, thereby aligning the starting point of the task path of the second task to be merged in the task map of the second task to be merged with the end point of the second path in the first map.

[0145] After aligning the task map of the first task to be merged with the same positioning mark corresponding to the first map and aligning the task map of the second task to be merged with the same positioning mark corresponding to the first map, the first map, the task map of the first task to be merged and the task map of the second task to be merged can be spliced ​​together to obtain the total task map based on the position of the first map, the position of the task map of the first task to be merged and the position of the task map of the second task to be merged at this time.

[0146] According to the robot multi-tasking method provided by the embodiment of the present application, after aligning the first map with the same positioning mark corresponding to the task map of the first task to be merged and aligning the first map with the same positioning mark corresponding to the task map of the second task to be merged, the task map of the first task to be merged, the task map of the second task to be merged and the first map are spliced ​​to obtain a total task map. In the case where the task maps of the two tasks to be merged do not correspond to the same positioning mark, the task maps and other maps of the two tasks to be merged can be merged into a larger total task map according to the same positioning marks corresponding to the task maps of the two tasks to be merged and the same other map respectively.

[0147] In order to facilitate the understanding of the above embodiments of the present application, Figure 2 and Figure 3 , the implementation process of the robot multi-tasking method is explained.

[0148] One application scenario of the robot multitasking method provided by the above embodiments of the present application is to first determine the task maps of multiple tasks to be merged, then splice the task maps of the multiple tasks to be merged, and then merge the multiple tasks to be merged and execute them.

[0149] For example, Figure 2 and Figure 3 The process of merging three task maps and three tasks to be merged is shown, but those skilled in the art can understand that the above-mentioned multi-task merging process can be extended to N task maps and N tasks to be merged, where N is an integer greater than or equal to 2.

[0150] The process of processing the three tasks to be merged may include the following steps.

[0151] Step 1: Determine three task paths.

[0152] Each task path corresponds to a task. By determining three task paths, three cleaning tasks can be determined. Figure 2 , as shown above, the three task paths can be P1, P2, and P3 respectively. Correspondingly, P1, P2, and P3 are the task paths of tasks T1, T2, and T3 respectively. Among them, the starting point of P1 is S1 and the end point is E1; the starting point of P2 is S2 and the end point is E2; the starting point of P3 is S3 and the end point is E3. Among them, E1 of P1 and S2 of P2 are the same point, and E2 of P2 and S3 of P3 are the same point.

[0153] For example, point S1 and point E1 of P1 can be the bedside table and the door of the master bedroom in the house respectively; point S2 and point E2 of P2 can be the door of the master bedroom and the door of the study of the house respectively; point S3 and point E3 of P3 can be the door of the study and the window of the study facing the outside of the house respectively.

[0154] For another example, point S1 and point E1 of P1 may be a house on the first floor and an elevator hall on the first floor, respectively; point S2 and point E2 of P2 may be the elevator hall on the first floor and an elevator hall on the third floor of the building, respectively; point S3 and point E3 of P3 may be the elevator hall on the third floor of the building and a house on the third floor, respectively.

[0155] Step 2: Set three positioning marks.

[0156] The above three positioning marks can be three QR codes, which are respectively recorded as Tag1, Tag2, and Tag3. Among them, Tag1 can be set at point S1 of P1, Tag2 can be set at point E1 of P1 (the same point as S2 of P2, and the state of the robot interacting with Tag2 at point E1 of P1 and point S2 of P2 is exactly the same), and point E2 of P2 (the same point as S3 of P3, and the state of the robot interacting with Tag3 at point E2 of P2 and point S3 of P3 is exactly the same). The completely identical state includes the same position and posture of the robot. Tag1, Tag2, and Tag3 can respectively carry the position information of point S1 of P1 and the number of Tag1, the position information of point E1 of P1 and the number of Tag2, and the position information of point E2 of P2 and the number of Tag3.

[0157] Step 3: Create a task map for task T1.

[0158] Place the robot at point S1 of P1 and start the first mapping task. The robot can first scan Tag1 to obtain the information carried by Tag1. Then the robot moves. The task path of the intermediate process can be defined according to any user's needs, but it is necessary to ensure that the end point E1 of P1 is ultimately a location where Tag2 can be scanned. After the robot moves to the end point E1 of P1, it scans Tag2 to obtain the information carried by Tag2. Based on the information obtained by the robot moving along P1 and the information obtained by scanning Tag1 and Tag2, a map package 1 for the task path P1 can be generated and saved.

[0159] Map package 1 is the task map of task T1. The positioning marks corresponding to map package 1 include positioning mark Tag1 corresponding to point S1 and positioning mark Tag2 corresponding to point E1.

[0160] Step 4: Create a task map for task T2.

[0161] Since the robot has stopped at the end point E1 of P1, which is the starting point S2 of P2, the second mapping task can be started without moving the robot to the starting point S2 of P2. Then the robot moves, and the task path of the intermediate process can be defined according to any user's needs, but it is necessary to ensure that the end point E2 of P2 is finally a position where Tag3 can be scanned. After the robot moves to the end point E2 of P2, it scans Tag3 to obtain the information carried by Tag3. Based on the information obtained by the robot moving according to P2 and the information obtained by scanning Tag2 and Tag3, map package 2 for task path P2 can be generated and saved.

[0162] Map package 2 is the task map of task T2. The positioning marks corresponding to map package 2 include positioning mark Tag2 corresponding to point S2 and positioning mark Tag3 corresponding to point E2.

[0163] Step 5: Create a task map for task T3.

[0164] Based on a process similar to establishing a task map for task T2, a map package 3 for task path P3 can be generated and saved. Map package 3 is a task map for task T3. The positioning mark corresponding to map package 3 includes a positioning mark Tag3 corresponding to point S3.

[0165] Step 6: Merge the three tasks.

[0166] like Figure 3 As shown, by moving map package 1 and / or map package 2, map mark Tag2 corresponding to map package 1 is aligned with map mark Tag2 corresponding to map package 2, and by moving map package 2 and / or map package 3, map mark Tag3 corresponding to map package 2 is aligned with map mark Tag3 corresponding to map package 3. After completing the above alignment, map package 1, map package 2 and map package 3 can be used to align the map mark Tag3 corresponding to map package 2. Figure 3 , place map pack 1, map pack 2, and map Figure 3 Merged into the total task map, P1, P2 and P3 are connected into a task path (i.e. the task path of the target task), and T1, T2 and T3 are merged into one task (i.e. the target task).

[0167] Step 7: Execute the target task.

[0168] After merging T1, T2 and T3, the robot can be controlled to perform a complete cleaning in the order of P1-P2-P3. After completing the cleaning, the robot can stay at any position.

[0169] In some embodiments, after the robot completes task T3, a motion instruction is sent to the robot to control the robot to return to S3 of P3, that is, the location of Tag3. After completing T3 in reverse, it continues to perform a complete cleaning in the order of P3-P2-P1, thereby realizing the function of cyclic cleaning.

[0170] Since Tag3 is the same positioning marker corresponding to the task map (map package 2) of task T2 and the task map (map package 3) of task T3, the robot can successfully load task T2 at position S3, and after task T2 is completed, the robot navigates to the location where Tag2 is set. Similarly, since Tag2 is the same positioning marker corresponding to the task map (map package 2) of task T2 and the task map (map package 1) of task T1, the robot can successfully load task T1 at position S2, and after task T1 is completed, the robot navigates to the location where Tag1 is set. After the above processes are completed, a complete cleaning is completed in the order of P3-P2-P1. Step 7 can be executed again afterwards.

[0171] In some embodiments, the two tasks to be merged may be tasks TA1 and TA2. The task map of task TA1 has been established. Figure 2 In the map package 1 shown, the task path of task TA1 is Figure 2 The map package P1 shown in FIG. 1 may be pre-established, or may be obtained by executing step 3.

[0172] If the task map of task TA2 has been established, if the task map of task TA2 is Figure 2 As shown in the map package 2, since map package 1 and map package 2 correspond to the same positioning tag Tag2, tasks TA1 and TA2 can be directly merged, and map package 1 and map package 2 can be spliced ​​into the total task map, P1 and P2 are connected, and the target task is obtained.

[0173] If the task map of task TA2 has been established, if the task map of task TA2 is Figure 2 In the map package 3 shown, since map package 1 and map package 3 do not correspond to the same positioning tags (map package 1 corresponds to Tag1 and Tag2, map package 3 corresponds to Tag3), tasks TA1 and TA2 cannot be directly merged. You can create a first map (i.e. Figure 2 In the map package 2 shown in FIG. 1 , the first map is the task map of the first task, and the first task in this scenario is recorded as TA3). Both map package 2 and map package 1 correspond to Tag2, and both map package 2 and map package 3 correspond to Tag3. Therefore, the map Figure 2 As the "bridge" connecting map package 1 and map package 3, P2 is used as the "link" connecting P1 and P3, so as to merge tasks TA1, TA2 and TA3, and map package 1, map package 2 and map package 3 are spliced ​​into the total task map. P1 and P3 are connected through P2 to obtain the target task.

[0174] If the mission map of mission TA2 is not established, you can Figure 2 The positioning mark Tag2 corresponding to the end point E1 of P1 is used as the positioning mark Tag2 corresponding to the starting point S2 of the task path TA2, that is, the end point E1 of P1 is the same as the starting point S2 of the task path TA2. There is no restriction on other points that the task path P2 passes through, and the following can be obtained: Figure 2 After determining the task path P2 of TA2, step 4 can be executed to obtain the task map of TA2, that is, Figure 2 Map package 2 in . Since map package 1 and map package 2 correspond to the same positioning tag Tag2, tasks TA1 and TA2 can be merged, map package 1 and map package 2 can be spliced ​​into the total task map, P1 and P2 are connected, and the target task is obtained.

[0175] The robot multitasking processing method provided in the embodiment of the present application can be executed by a robot multitasking processing device. In the embodiment of the present application, the robot multitasking processing device executing the robot multitasking processing method is taken as an example to illustrate the robot multitasking processing device provided in the embodiment of the present application.

[0176] The embodiment of the present application also provides a robot multi-tasking processing device.

[0177] like Figure 4 As shown, the robot multi-task processing device includes: a determination module 410 , an acquisition module 420 , a merging module 430 and a control module 440 .

[0178] The determination module 410 is used to determine the task maps of the first task to be merged and the second task to be merged; the first task to be merged and the second task to be merged are any two tasks to be merged to be connected by task paths;

[0179] An acquisition module 420 is used to acquire a total task map based on a positioning mark corresponding to the task map of the first task to be merged and a positioning mark corresponding to the task map of the second task to be merged; the total task map includes the task map of the first task to be merged and the task map of the second task to be merged;

[0180] A merging module 430 is used to merge the first task to be merged and the second task to be merged to obtain a target task;

[0181] The control module 440 is used to control the robot to perform the target task according to the overall task map.

[0182] According to the robot multi-task processing device provided in the embodiment of the present application, by obtaining the total task map including the task maps of the above two tasks according to the positioning marks corresponding to the task maps of the two tasks, the above two tasks are merged based on the total task map. In the scenario where multiple tasks need to be merged, there is no need to establish a large task map for all tasks at one time, but a smaller task map can be established for each task respectively, and then all the smaller task maps are merged. Moreover, in the case of changes or errors in any task map, there is no need to rebuild the map for all tasks, only any one of the above task maps needs to be re-mapped, and the overall fault tolerance rate is higher. In summary, the efficiency of multi-task merging and processing according to the robot multi-task processing method provided in the embodiment of the present application is higher, and the overall fault tolerance rate is higher.

[0183] In some embodiments, the acquisition module 420 can be specifically used to splice the task map of the first task to be merged with the task map of the second task to be merged according to the same positioning mark to obtain the total task map when the task map of the first task to be merged corresponds to at least one identical positioning mark with the task map of the second task to be merged.

[0184] In some embodiments, the acquisition module 420 may include:

[0185] A map building unit, used for controlling the robot to build a first map when the task map of the first task to be merged and the task map of the second task to be merged do not correspond to the same positioning mark; the first map and the task map of the first task to be merged and the task map of the second task to be merged respectively correspond to at least one same positioning mark;

[0186] A splicing unit is used to splice the task map of the first task to be merged, the task map of the second task to be merged and the first map according to the same positioning marks corresponding to the first map and the task map of the first task to be merged, and the same positioning marks corresponding to the first map and the task map of the second task to be merged, so as to obtain a total task map.

[0187] In some embodiments, the determination module 410 may be specifically configured to control the robot to establish a task map of the second task to be merged in a process in which the robot moves from a starting point of the task path of the second task to be merged to an end point of the task path of the second task to be merged according to the task path of the second task to be merged;

[0188] The starting point of the task path of the second task to be merged and the end point of the task path of the first task to be merged correspond to the same positioning mark.

[0189] In some embodiments, the end point of the task path of the first task to be merged and the start point of the task path of the second task to be merged correspond to the same positioning mark;

[0190] The merging module 430 may be specifically configured to connect the task path of the first task to be merged with the task path of the second task to be merged according to the same positioning mark, so as to generate the task path of the target task.

[0191] In some embodiments, the mapping unit may be specifically used to:

[0192] The positioning mark corresponding to the end point of the task path of the first task to be merged is used as the positioning mark corresponding to the starting point of the first path, and the positioning mark corresponding to the starting point of the task path of the second task to be merged is used as the positioning mark corresponding to the end point of the first path;

[0193] Mapping is performed in the process of the robot moving from an end point of a task path of a first task to be merged to a starting point of a task path of a second task to be merged, and the robot is controlled to generate a first map.

[0194] In some embodiments, the merging module 430 can be specifically used to connect the task path of the first task to be merged and the task path of the second task to be merged through a first path according to the same positioning mark, so as to generate a task path of the target task; the starting point of the first path is the end point of the task path of the first task to be merged; and the end point of the first path is the starting point of the task path of the second task to be merged.

[0195] In some embodiments, the acquisition module 420 can be specifically used to align the same positioning marks corresponding to the task map of the first task to be merged and the task map of the second task to be merged, and then splice the task map of the first task to be merged and the task map of the second task to be merged to obtain a total task map.

[0196] In some embodiments, the splicing unit can be specifically used to align the same positioning mark corresponding to the first map with the task map of the first task to be merged and align the same positioning mark corresponding to the first map with the task map of the second task to be merged, and then splice the task map of the first task to be merged, the task map of the second task to be merged and the first map to obtain a total task map.

[0197] The robot multitasking processing device in the embodiment of the present application can be an electronic device, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.

[0198] The robot multitasking processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0199] The robot multi-tasking processing device provided in the embodiment of the present application can achieve Figures 1 to 3 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0200] In some embodiments, Figure 5 As shown, the embodiment of the present application also provides a robot 500, including a processor 501, a memory 502, and a computer program stored in the memory 502 and executable on the processor 501. When the program is executed by the processor 501, each process of the above-mentioned robot multi-tasking method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0201] The embodiment of the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned robot multi-tasking method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0202] The processor is the processor in the robot described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0203] An embodiment of the present application also provides a computer program product, including a computer program, which implements the above-mentioned robot multi-tasking processing method when executed by a processor.

[0204] The processor is the processor in the robot described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0205] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned robot multi-tasking method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0206] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0207] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0208] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0209] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

[0210] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0211] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

Claims

1. A robot multitasking method, It is characterized in that include: Determine a task map of the first task to be merged and a task map of the second task to be merged; The first task to be merged and the second task to be merged are any two tasks to be merged to be connected by task paths; The task path is bidirectional; Acquire a total task map according to the positioning mark corresponding to the task map of the first task to be merged and the positioning mark corresponding to the task map of the second task to be merged; The overall task map includes the task map of the first task to be merged and the task map of the second task to be merged; Merging the first task to be merged and the second task to be merged to obtain a target task; Controlling the robot to perform the target task according to the overall task map; The merging the first task to be merged and the second task to be merged to obtain a target task includes: In the overall task map, connecting the task path of the first task to be merged and the task path of the second task to be merged; The acquiring the total task map according to the positioning mark corresponding to the task map of the first task to be merged and the positioning mark corresponding to the task map of the second task to be merged includes: In a case where the task map of the first task to be merged and the task map of the second task to be merged do not correspond to the same positioning mark, controlling the robot to establish a first map; the first map and the task map of the first task to be merged and the task map of the second task to be merged respectively correspond to at least one same positioning mark; According to the same positioning marks corresponding to the first map and the task map of the first task to be merged, and the same positioning marks corresponding to the first map and the task map of the second task to be merged, the task map of the first task to be merged, the task map of the second task to be merged, and the first map are spliced ​​to obtain the total task map; The controlling the robot to establish a first map includes: Using the positioning mark corresponding to the end point of the task path of the first task to be merged as the positioning mark corresponding to the starting point of the first path, and using the positioning mark corresponding to the starting point of the task path of the second task to be merged as the positioning mark corresponding to the end point of the first path; Mapping is performed during the process of the robot moving from an end point of the task path of the first task to be merged to a starting point of the task path of the second task to be merged, and the robot is controlled to generate the first map.

2. The robot multitasking method according to claim 1, It is characterized in that The acquiring the total task map according to the positioning mark corresponding to the task map of the first task to be merged and the positioning mark corresponding to the task map of the second task to be merged includes: When the task map of the first task to be merged and the task map of the second task to be merged correspond to at least one identical positioning mark, the task map of the first task to be merged and the task map of the second task to be merged are spliced ​​together according to the identical positioning mark to obtain the total task map.

3. The robot multitasking method according to claim 1, It is characterized in that The determining of the task map of the first task to be merged and the task map of the second task to be merged includes: In the process of the robot moving from the starting point of the task path of the second task to be merged to the end point of the task path of the second task to be merged according to the task path of the second task to be merged, controlling the robot to establish a task map of the second task to be merged; The starting point of the task path of the second task to be merged and the end point of the task path of the first task to be merged correspond to the same positioning mark.

4. The robot multitasking method according to claim 2, It is characterized in that The end point of the task path of the first task to be merged and the starting point of the task path of the second task to be merged correspond to the same positioning mark; The merging the first task to be merged and the second task to be merged to obtain a target task includes: According to the same positioning mark, the task path of the first task to be merged is connected with the task path of the second task to be merged to generate the task path of the target task.

5. The robot multitasking method according to claim 1, It is characterized in that The merging the first task to be merged and the second task to be merged to obtain a target task includes: According to the same positioning mark, the task path of the first task to be merged and the task path of the second task to be merged are connected through the first path to generate the task path of the target task; the starting point of the first path is the end point of the task path of the first task to be merged; the end point of the first path is the starting point of the task path of the second task to be merged.

6. The robot multitasking method according to claim 2, It is characterized in that The step of splicing the task map of the first task to be merged with the task map of the second task to be merged according to the same positioning mark to obtain the total task map includes: After aligning the same positioning marks corresponding to the task map of the first task to be merged and the task map of the second task to be merged, the task map of the first task to be merged and the task map of the second task to be merged are spliced ​​to obtain the total task map.

7. The robot multitasking method according to claim 1, It is characterized in that The step of splicing the task map of the first task to be merged, the task map of the second task to be merged, and the first map according to the same positioning marks corresponding to the first map and the task map of the first task to be merged, to obtain the total task map includes: After aligning the same positioning mark corresponding to the first map and the task map of the first task to be merged, and aligning the same positioning mark corresponding to the first map and the task map of the second task to be merged, splice the task map of the first task to be merged, the task map of the second task to be merged and the first map to obtain the total task map.

8. A robot multi-tasking processing device, It is characterized in that include: A determination module, used to determine a task map of a first task to be merged and a second task to be merged; The first task to be merged and the second task to be merged are any two tasks to be merged that are to be connected by task paths; The task path is bidirectional; An acquisition module, configured to acquire a total task map based on a positioning mark corresponding to the task map of the first task to be merged and a positioning mark corresponding to the task map of the second task to be merged; The overall task map includes the task map of the first task to be merged and the task map of the second task to be merged; A merging module, used for merging the first task to be merged and the second task to be merged to obtain a target task; A control module, used to control the robot to perform the target task according to the overall task map; The merging module is specifically used to connect the task path of the first task to be merged and the task path of the second task to be merged in the overall task map; The acquisition module comprises: A map building unit, configured to control the robot to build a first map when the task map of the first task to be merged and the task map of the second task to be merged do not correspond to the same positioning mark; the first map and the task map of the first task to be merged and the task map of the second task to be merged respectively correspond to at least one same positioning mark; a splicing unit, configured to splice the task map of the first task to be merged, the task map of the second task to be merged, and the first map according to the same positioning marks corresponding to the first map and the task map of the first task to be merged, and the same positioning marks corresponding to the first map and the task map of the second task to be merged, so as to obtain the total task map; The mapping unit is specifically used to use the positioning mark corresponding to the end point of the task path of the first task to be merged as the positioning mark corresponding to the starting point of the first path, and use the positioning mark corresponding to the starting point of the task path of the second task to be merged as the positioning mark corresponding to the end point of the first path; map building is performed in the process of the robot moving from the end point of the task path of the first task to be merged to the starting point of the task path of the second task to be merged, and the robot is controlled to generate the first map.

9. A robot comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the robot multi-tasking method according to any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the robot multi-tasking processing method as described in any one of claims 1 to 7 is implemented.