Robot task management method, electronic equipment and storage medium

By introducing task management methods into cleaning robots, creating tasks including cleaning areas and cleaning modes, and scheduling robots to perform operations according to tasks, the problem of single and poor flexibility of cleaning robots in the existing technology is solved, and more flexible and efficient cleaning task execution is achieved, improving user experience.

CN120038788APending Publication Date: 2025-05-27YOUDI ROBOT (WUXI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411943003.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

In the prior art, when cleaning robots perform automatic large-area cleaning work in large shopping malls or parking lots, the task is single, the time is fixed, and the flexibility is poor, which cannot meet the user's changing needs, resulting in poor user experience.

Method used

Provide a robot task management method, which creates cleaning tasks including cleaning areas and cleaning modes by responding to task creation instructions, and schedules the robot to perform corresponding operations in the cleaning areas according to the task. The cleaning mode can include cleaning time, cleaning times, power inspection, hardware inspection, mode switching, interrupt cleaning conditions and docking operations, etc.

Benefits of technology

By creating flexible and changeable cleaning tasks, the robot can flexibly perform cleaning work according to the needs of the actual cleaning area, meet the diverse needs of users and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120038788A_ABST
    Figure CN120038788A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of robots, in particular to a robot task management method, electronic equipment and a storage medium, and the method comprises the steps that a cleaning task of a robot is created in response to a received task creation instruction, and the cleaning task comprises a cleaning area and a cleaning mode; and scheduling the robot to execute operation corresponding to the cleaning mode in the cleaning area according to the cleaning task. According to the embodiment of the invention, the flexible and changeable cleaning task is created, and the robot is scheduled to execute the cleaning task according to the cleaning task, so that the robot can flexibly execute the cleaning work according to the actual cleaning area, diversified requirements of users are met, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of robots, and in particular, to a robot task management method, an electronic device, and a storage medium. Background Art

[0002] A robot is a machine device that can automatically execute tasks and can run pre-programmed programs to complete various different types of tasks. With the development of mobile Internet and artificial intelligence technologies, robots are widely used in various service places to provide services such as guiding navigation, item delivery, greeting and consulting, cleaning operations, and selling goods for customers.

[0003] In the prior art, when a cleaning robot performs automatic large-area cleaning work in places such as large shopping malls or parking lots, the tasks of the cleaning robot are single, the time is fixed, and the flexibility is poor, which cannot meet the changing needs of users, resulting in a poor user experience. Summary of the Invention

[0004] In view of this, an object of an embodiment of the present invention is to provide a robot task management method, an electronic device, and a storage medium, aiming to solve the technical problems of single cleaning tasks and poor flexibility of robots in the prior art.

[0005] To solve the above technical problems, the embodiments of the present invention provide the following technical solutions:

[0006] In a first aspect, an embodiment of the present invention provides a robot task management method, including:

[0007] Responding to a received task creation instruction, creating a cleaning task for the robot, where the cleaning task includes a cleaning area and a cleaning mode;

[0008] Scheduling the robot to perform an operation corresponding to the cleaning mode in the cleaning area according to the cleaning task.

[0009] In some embodiments, the cleaning mode further includes at least one of a cleaning time and a cleaning number of times.

[0010] In some embodiments, the cleaning mode includes a power check operation;

[0011] The scheduling the robot to perform an operation corresponding to the cleaning mode in the cleaning area according to the cleaning task includes:

[0012] Determining a power consumption range required to perform the cleaning mode in the cleaning area according to the size of the cleaning area;

[0013] Determining whether the robot has sufficient power to perform all actions in the cleaning mode according to the current power of the robot and the power consumption range.

[0014] When it is determined that the robot does not have sufficient power to perform all actions in the cleaning mode, after performing partial actions according to the location of the charging pile, control the robot to go to the charging pile for charging.

[0015] In some embodiments, the cleaning mode includes a hardware inspection operation;

[0016] Scheduling the robot according to the cleaning task to perform operations corresponding to the cleaning mode in the cleaning area includes:

[0017] Based on the cleaning mode, determine the hardware devices required to perform all actions in the cleaning mode;

[0018] When the hardware device is faulty or missing, control the robot to go to a designated repair location for device maintenance so that the robot can perform all actions in the cleaning mode.

[0019] In some embodiments, scheduling the robot according to the cleaning task to perform operations corresponding to the cleaning mode in the cleaning area includes:

[0020] Based on the cleaning area, determine multiple cleaning maps corresponding to the cleaning area;

[0021] Plan a cleaning path according to the multiple cleaning maps;

[0022] In controlling the robot to perform operations corresponding to the cleaning mode, splice and load the multiple cleaning maps in sequence according to the cleaning path.

[0023] In some embodiments, the cleaning mode includes a mode switching operation;

[0024] Scheduling the robot according to the cleaning task to perform operations corresponding to the cleaning mode in the cleaning area includes:

[0025] Based on the cleaning mode, determine a mode switching identifier corresponding to the cleaning mode;

[0026] When a trigger signal corresponding to the mode switching identifier is obtained, perform the mode switching operation corresponding to the trigger signal.

[0027] In some embodiments, the cleaning mode includes an interrupted cleaning condition;

[0028] Scheduling the robot according to the cleaning task to perform operations corresponding to the cleaning mode in the cleaning area includes:

[0029] When the interrupted cleaning condition is met, control the robot to interrupt the current cleaning task;

[0030] If the robot stores garbage, control the robot to go to a designated garbage collection place to unload the garbage;

[0031] If the robot does not store garbage, control the robot to dock at a preset docking position.

[0032] In some embodiments, the cleaning mode includes a docking operation, and the docking operation is used for the robot to dock after completing the cleaning task;

[0033] Scheduling the robot to perform the operations corresponding to the cleaning mode in the cleaning area according to the cleaning task includes:

[0034] Based on the status data of the robot after performing the cleaning task, determine the docking position of the robot, where the status data includes power and cleaning resources;

[0035] According to the docking position, control the robot to perform the docking content corresponding to the docking operation, and the docking content includes one or more of charging, replenishing cleaning resources, and waiting in place.

[0036] In a second aspect, an embodiment of the present invention provides an electronic device, including:

[0037] A processor and a memory communicatively connected to the processor;

[0038] The memory stores computer program instructions executable by the processor, and when the computer program instructions are called by the processor, the processor is caused to execute any one of the robot task management methods in the first aspect.

[0039] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, on which computer program instructions executable by a processor are stored, and when the computer program instructions are called by the processor, the processor is caused to execute any one of the robot task management methods in the first aspect.

[0040] The embodiments of the present invention have the following beneficial effects: Different from the prior art, the robot task management method provided by the embodiments of the present invention includes: in response to a received task creation instruction, creating a cleaning task for the robot, where the cleaning task includes a cleaning area and a cleaning mode, and scheduling the robot to perform the operations corresponding to the cleaning mode in the cleaning area according to the cleaning task.

[0041] In the embodiments of the present invention, by creating flexible cleaning tasks and scheduling the robot to execute the cleaning tasks according to the cleaning tasks, the robot can flexibly execute the cleaning work according to the actual cleaning area, meet the diverse needs of users, and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the prior art or embodiments. Obviously, the drawings described below only show some embodiments of the present invention and should not be regarded as limiting the protection scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.

[0043] Figure 1 FIG. is a schematic diagram of an application scenario of a robot task management method provided by some embodiments of the present invention;

[0044] Figure 2 FIG. is a schematic diagram of the structure of an electronic device provided by some embodiments of the present invention;

[0045] Figure 3 FIG. is a schematic flowchart of a robot task management method provided by some embodiments of the present invention;

[0046] Figure 4 is Figure 3 a sub - flowchart of step S200 in the robot task management method shown in the embodiment;

[0047] Figure 5 is Figure 3 another sub - flowchart of step S200 in the robot task management method shown in the embodiment;

[0048] Figure 6 FIG. is a schematic diagram of the structure of a robot task management device provided by some embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0049] To make the objectives and advantages of the embodiments of the present invention more understandable, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, rather than all, embodiments of the present invention. The detailed description of the embodiments of the present invention in the following drawings does not limit the scope of the present invention claimed, but only represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.

[0050] It should be noted that if there is no conflict, the various technical features involved in the embodiments of the present invention described below can be combined with each other, and all are within the protection scope of the present invention. In addition, although functional module division is carried out in the device or structure schematic diagram, and the logical sequence is shown in the flowchart, in some cases, the steps shown or described can be executed in a different module division from that in the device or a different order from that in the flowchart. In addition, the "first", "second", "third" and other similar expressions used in this article do not limit the data and the execution order, but are only for the purpose of easy explanation and to distinguish the same items or similar items with basically the same functions and effects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features.

[0051] Unless otherwise defined, the technical terms and scientific terms used in this specification have the same meanings as those generally understood by those of ordinary skill in the technical field to which the present invention belongs. The terms used in this specification are only for the purpose of describing specific embodiments, and are not used to limit the present invention. It should be understood that the term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0052] Please refer to Figure 1 , Figure 1 which shows a schematic diagram of an application scenario of the robot task management method provided by some embodiments of the present invention.

[0053] As Figure 1 shown, this application scenario includes an electronic device 100 and a robot 150, and the electronic device 100 and the robot 150 are communicatively connected through a network. It should be understood that examples of the network can be the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0054] Specifically, after receiving a task creation instruction, the electronic device 100 responds to the task creation instruction, parses the task creation instruction, and creates a cleaning task for the robot to execute. Among them, the cleaning task includes a cleaning area and a cleaning mode. The cleaning area refers to the area where the robot needs to perform cleaning operations, and the cleaning mode refers to various parameter settings for the robot to perform cleaning operations, such as cleaning actions, cleaning time, and cleaning times, etc.

[0055] It should be understood that the task creation instruction can be generated and sent to the electronic device 100 by a cloud device or device such as a server or the cloud, and the task creation instruction can also be generated and sent to the electronic device 100 by a user operating a mobile terminal such as a smart phone or a tablet computer. Of course, the task creation instruction can also be automatically generated by a terminal device such as a desktop computer, a notebook computer, or a single-chip microcomputer.

[0056] Optionally, the electronic device 100 may be a host computer installed on the robot 150 for human-machine interaction. The user can manipulate the robot 150 through the electronic device 100 to perform various types of tasks.

[0057] After creating the cleaning task of the robot, the electronic device 100 generates a scheduling instruction and transmits the scheduling instruction to the robot 150 through the network, scheduling the robot 150 to perform the cleaning task, that is, controlling the robot 150 to perform the cleaning operation corresponding to the cleaning mode in the cleaning area. For example, mopping operation, floor washing operation, etc.

[0058] In the embodiments of the present invention, the robot 150 may be a mobile cleaning robot based on a SLAM system, such as any suitable type of cleaning robot such as a sweeping robot, a dust-pushing robot, a vacuuming robot, a mopping robot, a floor washing robot, and an air purification robot.

[0059] It should be understood that in Figure 1 the application scenario shown, the electronic device 100 is a desktop computer, but it does not impose any limitations on the structure, type, and quantity of the electronic device in other application scenarios or embodiments. For example, in some other application scenarios or embodiments, the electronic device may also be a single-chip microcomputer, a microcontroller, a laptop computer, a server, a computing device, an edge gateway, a tablet computer, or any other suitable type of device or apparatus. In addition, the electronic device in some other application scenarios or embodiments may also have more or fewer components than Figure 1 the desktop computer shown, or have a different configuration from Figure 1 the desktop computer shown.

[0060] To facilitate the understanding of the robot task management method provided by the embodiments of the present invention, the electronic device provided by the embodiments of the present invention will be introduced in detail first.

[0061] Please refer to Figure 2 , Figure 2 which schematically shows the structural diagram of the electronic device provided by some embodiments of the present invention.

[0062] As Figure 2 shown, the electronic device 100 includes at least one processor 110 and a memory 120 that are communicatively connected, Figure 2 taking one processor connected by the bus system 130 as an example. Among them, the various components in the electronic device 100 are coupled together through the bus system 130, and the bus system 130 is used to realize the connection and communication between the various components. It is easy to understand that in addition to the data bus, the bus system 130 may also include a power bus, a control bus, a status signal bus, etc. But for the sake of clear description and concise space, in Figure 2Various buses are labeled as bus system 130. Understandably, Figure 2 The structure shown in the embodiment is only illustrative and does not impose any limitation on the structure of the above-mentioned electronic device. For example, the above-mentioned electronic device may further include more or fewer components than Figure 2 the structure shown, or have a configuration different from Figure 2 the structure shown.

[0063] Specifically, the processor 110 is used to provide computing and control capabilities to control the electronic device 100 to execute corresponding tasks. For example, it controls the above-mentioned electronic device 100 to execute any one of the robot task management methods provided by the embodiments of the present invention, or to execute the steps in any possible implementation manner of any one of the robot task management methods provided by the embodiments of the present invention. Those skilled in the art can understand that the processor 110 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0064] The memory 120, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, instructions, and modules. For example, the programs, instructions, and modules corresponding to the robot task management method in the embodiments of the present invention. In some embodiments, the memory 120 may include a program storage area and a data storage area. The program storage area can store an operating system and application programs required for at least one function. The data storage area can store data created according to the use of the processor 110, etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the non-transitory software programs, instructions, and modules stored in the memory 120, so as to implement any one of the robot task management methods provided by the embodiments of the present invention, or execute the steps in any possible implementation manner of any one of the robot task management methods provided by the embodiments of the present invention. In some embodiments, the memory 120 may include a high-speed random access memory and may also include a non-transitory memory. For example, at least one disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory 120 may further include a memory remotely set relative to the processor 110, and these remotely set memories can be connected to the processor 110 through a communication network. It can be understood that examples of the above communication network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0065] As can be understood from the above, the execution subject of any one of the robot task management methods provided by the embodiments of the present invention can be any suitable type of electronic device with certain computing and control capabilities. For example, it can be implemented and executed by the above-mentioned electronic device 100. In some feasible implementation manners, any one of the robot task management methods provided by the embodiments of the present invention can be implemented by the processor calling the computer program instructions stored in the memory.

[0066] Next, the robot task management method provided by the embodiments of the present invention will be described in detail in combination with the exemplary applications and implementations of the electronic device provided by the embodiments of the present invention.

[0067] Please refer to Figure 3 , Figure 3 which shows a schematic flowchart of the robot task management method provided by some embodiments of the present invention.

[0068] Those skilled in the art can understand that the robot task management method provided by the embodiments of the present invention can be applied to the above-mentioned electronic device (for example, the electronic device 100). Specifically, the execution subject of the robot task management method is one or at least two processors of the electronic device.

[0069] As Figure 3 shown, the robot task management method includes but is not limited to the following steps S100 - S200:

[0070] S100: Create a cleaning task for the robot in response to the received task creation instruction, where the cleaning task includes a cleaning area and a cleaning mode.

[0071] Specifically, when the task creation instruction is received, respond to the task creation instruction, parse the task creation instruction, and extract the key information related to the cleaning requirements in the task creation instruction, such as the area and location of the cleaning area, the cleaning time, and the number of cleaning times, etc. The electronic device creates a cleaning task for the robot to execute according to the extracted key information. Among them, the cleaning task includes a cleaning area and a cleaning mode. The cleaning area refers to the area where the cleaning operation needs to be performed, and the cleaning mode refers to various parameter settings for the robot to perform the cleaning operation. For example, the cleaning time, the number of cleaning times, and the cleaning actions, etc. Different cleaning modes involve different operation steps, tool selections, cleaning intensities, etc. In some embodiments, the cleaning actions include, for example, the cleaning component inspection action before performing the cleaning operation, the actions during the cleaning operation, and the docking action after the cleaning operation, etc.

[0072] It should be understood that the task creation instruction can be generated and sent to the electronic device by cloud devices or devices such as servers and clouds, or the task creation instruction can also be automatically generated locally by electronic devices such as desktop computers and laptop computers, or the task creation instruction can also be generated and sent to the electronic device by the user operating mobile terminals such as smart phones and tablet computers. Of course, the task creation instruction can also be generated in any other suitable way and transmitted to the electronic device by any suitable way or method. The embodiments of the present invention do not make any restrictions on this.

[0073] S200: Schedule the robot to perform the operations corresponding to the cleaning mode in the cleaning area according to the cleaning task.

[0074] In some embodiments, after creating the cleaning task of the robot, the electronic device extracts key information (such as the cleaning area and the cleaning mode, etc.) from the cleaning task to schedule the robot to execute the cleaning task by using the key information. The electronic device obtains the current positions and current battery levels of several robots, and schedules the robot that is closest to the cleaning area and has sufficient battery power to complete the cleaning task to go to the cleaning area according to the position information and area size of the cleaning area, and controls the robot to perform the operations corresponding to the cleaning mode in the cleaning area. For example, perform a mopping operation on the cleaning area for 20 minutes at 8:15, and perform 2 floor washing operations on the cleaning area at 8:40, etc.

[0075] Exemplarily, in some embodiments, the cleaning mode further includes at least one of cleaning time and cleaning times. The cleaning time may refer to a specific cleaning time point, such as 10 minutes past 9 o'clock. The cleaning time may also refer to the duration of the cleaning operation, such as 15 minutes, 20 minutes, etc. The cleaning time may also refer to the periodic time (date) for performing the cleaning operation on the cleaning area, such as every day, the first day of each month, the last day of each month, or the last day of each week, etc. It is easy to understand that the cleaning time may also be any one or more of the above cleaning time points, cleaning durations, and cleaning periodic times. For example, the cleaning time may be to perform a cleaning operation with a duration of 30 minutes on the cleaning area at 10 minutes past 8 o'clock on the first day of each week. The cleaning times refer to the number of repetitions of the cleaning operation performed on the cleaning area, such as 2 times, 3 times, or other appropriate numbers, etc.

[0076] Exemplarily, in some embodiments, the cleaning mode includes a power check operation. Before the scheduling robot performs the cleaning task, the electronic device needs to perform a power check operation to check and determine whether the robot has sufficient power to complete the cleaning task and ensure that the robot can successfully complete the cleaning task.

[0077] Please refer to Figure 4 , please refer to Figure 4 which shows a sub - flow schematic diagram of step S200 in the robot task management method provided by some embodiments of the present invention.

[0078] As Figure 4 shown, in some embodiments, scheduling the robot to perform the operations corresponding to the cleaning mode in the cleaning area specifically includes, but is not limited to, the following steps S201 - S203:

[0079] S201: Determine the power consumption range required to perform the cleaning mode in the cleaning area according to the size of the cleaning area.

[0080] Specifically, obtain the area size of the cleaning area in the task creation instruction (the unit is represented in square meters), and multiply the area size of the cleaning area by the unit power consumption to obtain the power consumption range required for the robot to perform the cleaning mode in the cleaning area. Among them, the unit power consumption refers to the amount of power consumed by the robot to perform the cleaning operation on each square meter of the cleaning area.

[0081] It can be understood that the unit power consumption of different robots may be the same or different. After the electronic device determines the corresponding type of robot for different types of cleaning tasks, it can obtain the corresponding unit power consumption according to the determined robot type, and multiply the unit power consumption by the area size of the cleaning area to obtain the power consumption range required for this type of robot to perform the cleaning mode in the cleaning area.

[0082] In some embodiments, performing actions in the cleaning mode in the cleaning area may include multiple actions, and each action may require a different amount of power. Based on the unit power consumption of different actions and the number of executions of each action, the power consumption required to perform all actions is calculated, and the power consumption required to perform all actions is added to the previously determined power consumption range based on the size of the cleaning area to obtain the final power consumption range required for the robot to perform the cleaning mode in the cleaning area.

[0083] S202: Determine whether the robot has sufficient power to perform all actions in the cleaning mode based on the current power of the robot and the power consumption range.

[0084] S203: When it is determined that the robot does not have sufficient power to perform all actions in the cleaning mode, after performing some actions based on the location of the charging pile, control the robot to go to the charging pile for charging.

[0085] Specifically, the current remaining power of each robot battery is obtained through the robot control system. The current remaining power can be expressed in units of power percentage (e.g., 30%), ampere-hour (Ah), or watt-hour (Wh). Compare the current remaining power of the robot with the previously determined power consumption range. If the current remaining power is greater than the maximum value of the power consumption range, it means the robot has sufficient power to perform all actions in the cleaning mode, and the electronic device schedules the robot to perform the cleaning task, that is, to perform all actions in the cleaning mode in the cleaning area to complete the cleaning of the cleaning area.

[0086] In some embodiments, if the current remaining power is greater than or equal to the minimum value of the power consumption range and less than the maximum value of the power consumption range, it means the robot does not have sufficient power to perform all actions in the cleaning mode, and it is determined that the robot cannot perform all actions in the cleaning mode.

[0087] In some embodiments, the electronic device controls the robot to first perform the most important or most urgent partial area of the cleaning task according to the cleaning task. For example, the dirtiest or most in-need-of-cleaning area. After the robot performs the partial actions corresponding to the partial area of the cleaning, the electronic device obtains the location information of the charging pile through map information or positioning system, etc., and locates and obtains the current location of the robot through the robot control system. According to the current location of the robot and the location of the charging pile, a driving path from the current location of the robot to the location of the charging pile is planned, and the robot is controlled to drive along the driving path to the location of the charging pile. After the robot drives to the location of the charging pile, the robot is controlled to connect with the charging pile, so as to charge the robot using the charging pile.

[0088] In some embodiments, if the current remaining power is less than the minimum value of the power consumption range, it indicates that the robot has insufficient power and cannot perform the cleaning task, that is, it cannot perform any actions in the cleaning mode. It is necessary to control the robot to drive to the location where the charging pile is located and use the charging pile to charge the robot.

[0089] Exemplarily, in some embodiments, the cleaning mode includes a hardware inspection operation. Before scheduling the robot to perform the cleaning task, the electronic device needs to perform a hardware inspection operation to check and determine whether there are any faults or deficiencies in the cleaning hardware device of the robot, ensuring that the robot can successfully complete the cleaning task.

[0090] Please refer to Figure 5 Please refer to Figure 5 which shows another sub - process schematic diagram of step S200 in the robot task management method provided by some embodiments of the present invention.

[0091] As Figure 5 shown, in some embodiments, scheduling the robot to perform the operations corresponding to the cleaning mode in the cleaning area according to the cleaning task specifically includes, but is not limited to, the following steps S204 - S205:

[0092] S204: Based on the cleaning mode, determine the hardware devices required to perform all actions in the cleaning mode.

[0093] It can be understood that different cleaning modes may require the same or different hardware devices. For example, in the vacuuming mode, a vacuum cleaner, a filter, a suction module, and a dust box, etc. are required. In the mopping mode, a mopping brush head, a water tank, and a spray system, etc. are required. In the water absorption mode, a rotating brush head, a water tank, and a water absorption motor, etc. are required. The electronic device extracts the cleaning mode of the cleaning task and searches in the database for the hardware devices corresponding to the cleaning mode, thereby determining several hardware devices required to perform all actions in the cleaning mode.

[0094] Of course, other methods can also be used to determine the hardware devices required to perform all actions in the cleaning mode. For example, send the cleaning mode to devices such as a server or the cloud. The server or the cloud filters out the required hardware devices corresponding to the cleaning mode according to the cleaning mode, and then sends the information of the required hardware devices to the electronic device, thereby determining the hardware devices required to perform all actions in the cleaning mode.

[0095] S205: When there are faults or deficiencies in the hardware devices, control the robot to go to the designated repair location for device maintenance so that the robot can perform all actions in the cleaning mode.

[0096] Specifically, after determining the hardware devices required to perform all actions in the cleaning mode, the electronic device controls the robot to check whether its cleaning hardware devices are available, that is, whether there are faults or shortages. The electronic device sends a hardware device inspection instruction to the robot. After receiving the hardware device inspection instruction, the robot starts to work and checks whether there are faults or shortages in the corresponding cleaning hardware device according to the hardware device inspection instruction. If it is determined through the inspection that there are faults or shortages in the hardware device, the robot generates a hardware device fault instruction and sends the hardware device fault instruction to the electronic device. After receiving the hardware device fault instruction, the electronic device determines that there are faults or shortages in the robot's hardware device, generates a device maintenance instruction, and sends the device maintenance instruction to the robot. After receiving the device maintenance instruction, the robot parses the device maintenance instruction, extracts the specified repair location information, plans a driving path from the current location to the specified repair location, and drives to the specified repair location according to the driving path, so as to maintain the cleaning hardware device with faults or shortages, realizing controlling the robot to go to the specified repair location for device maintenance, so that the robot can perform all actions in the cleaning mode.

[0097] In some embodiments, if it is determined through the inspection that there are no faults or shortages in the hardware device, the robot generates a hardware device available instruction and sends the hardware device available instruction to the electronic device. After receiving the hardware device available instruction, the electronic device determines that there are no faults or shortages in the robot's hardware device and controls the robot to perform a cleaning task and perform a cleaning operation in the cleaning area.

[0098] In some embodiments, to improve the cleaning efficiency, before the robot performs the cleaning task, the electronic device needs to splice the respective cleaning maps corresponding to the cleaning area so that the robot can successfully complete the cleaning task according to the cleaning map.

[0099] In some embodiments, scheduling the robot to perform the operations corresponding to the cleaning mode in the cleaning area specifically includes, but is not limited to, the following steps S206 - S208:

[0100] S206: Based on the cleaning area, determine multiple cleaning maps corresponding to the cleaning area.

[0101] Specifically, according to the area, shape, and complexity of the cleaning area, etc., the cleaning area is divided into multiple sub - cleaning areas, and the cleaning map corresponding to each sub - cleaning area is obtained. Among them, each sub - cleaning area corresponds to an independent cleaning map, and each cleaning map describes information such as the layout, obstacles, furniture, and ground conditions of the sub - cleaning area.

[0102] In some embodiments, the robot detects environmental data through sensors (such as cameras, lidars, infrared sensors, etc.) equipped on itself, constructs a cleaning map of the cleaning area based on the environmental data, and after dividing the cleaning area into multiple sub-cleaning areas, the robot transmits the cleaning maps of the respective sub-cleaning areas to the electronic device.

[0103] In some embodiments, the cleaning map can also be stored in a server or the cloud, etc. After dividing the cleaning area into multiple sub-cleaning areas, the server or the cloud transmits the cleaning maps of the respective sub-cleaning areas to the electronic device, or the electronic device obtains the cleaning map corresponding to each sub-cleaning area from the server or the cloud through a suitable communication method (such as Wi-Fi, Bluetooth, etc.).

[0104] S207: Plan a cleaning path according to multiple cleaning maps.

[0105] Specifically, according to the requirements of the cleaning task, integrate the cleaning maps of the respective sub-cleaning areas to plan a coherent cleaning path for the entire cleaning area. The electronic device determines the cleaning order of the respective sub-cleaning areas according to the layout, shape, and cleaning requirements of the respective sub-cleaning areas, and uses a path planning algorithm (such as the A* algorithm, Dijkstra algorithm, etc.) to connect the respective sub-cleaning areas to plan a cleaning path.

[0106] S208: In controlling the robot to perform the operations corresponding to the cleaning mode, sequentially splice and load multiple cleaning maps according to the cleaning path.

[0107] Exemplarily, in the process of controlling the robot to perform the cleaning operations corresponding to the cleaning mode, the electronic device splices multiple cleaning maps corresponding to the respective sub-cleaning areas in sequence according to the cleaning path to obtain a complete cleaning map, and loads the spliced complete cleaning map, so as to schedule the robot to perform the cleaning task according to the complete cleaning map and control the robot to perform the operations corresponding to the cleaning mode.

[0108] Exemplarily, in some embodiments, the cleaning mode includes a mode switching operation. When scheduling the robot to perform the cleaning task, the electronic device needs to perform the mode switching operation to check and determine whether the robot is in the corresponding working mode to ensure that the robot performs the cleaning task in the corresponding working mode.

[0109] In some embodiments, scheduling the robot to perform the operations corresponding to the cleaning mode in the cleaning area according to the cleaning task specifically includes, but is not limited to, the following steps S209 - S210:

[0110] S209: Based on the cleaning mode, determine the mode switching identifier corresponding to the cleaning mode.

[0111] Understandably, the cleaning mode includes the working modes of the robot. Different working modes have different mode switching identifiers. One working mode corresponds to one mode switching identifier. The mode switching identifier is used to indicate that the robot needs to switch to the working mode corresponding to the mode switching identifier. For example, when the working mode is the vacuuming mode, the corresponding mode switching identifier is the vacuuming mode switching identifier, which is used to indicate that the robot needs to switch to the vacuuming mode. Another example is that when the working mode is the mopping mode, the corresponding mode switching identifier is the mopping mode switching identifier, which is used to indicate that the robot needs to switch to the mopping mode.

[0112] Specifically, the electronic device extracts the working mode of the cleaning mode in the cleaning task and determines the mode switching identifier corresponding to the working mode according to the working mode. In some embodiments, the electronic device can search in the database for the mode switching identifier corresponding to the working mode, so as to determine the mode switching identifier corresponding to the cleaning mode.

[0113] In some embodiments, the electronic device can also send the working mode to devices such as the server or the cloud. The server or the cloud filters out the mode switching identifier corresponding to the working mode according to the working mode, and then sends the mode switching identifier to the electronic device, so as to determine the mode switching identifier corresponding to the cleaning mode.

[0114] S210: When the trigger signal corresponding to the mode switching identifier is obtained, perform the mode switching operation corresponding to the trigger signal.

[0115] In some embodiments, the trigger signal corresponding to the mode switching identifier can be triggered by means such as the update of the cleaning task status or user manual input. For example, after the robot finishes cleaning a sub-cleaning area, the current working mode of the robot is not suitable for performing the next sub-cleaning area, and it needs to switch to the working mode corresponding to the next sub-cleaning area. Then the robot generates a trigger signal for the corresponding mode switching identifier according to the working mode of the next sub-cleaning area and transmits the trigger signal to the electronic device. The electronic device obtains the trigger signal corresponding to the mode switching identifier and performs the mode switching operation corresponding to the trigger signal, that is, generates a mode switching instruction according to the working mode of the next sub-cleaning area and transmits the mode switching instruction to the robot, so that after receiving the mode switching instruction, the robot switches the working mode to the working mode corresponding to the mode switching identifier.

[0116] In some embodiments, the trigger signal can also be generated and sent to the electronic device by the user manually inputting a command through an APP, a voice assistant, a touch screen, etc. For example, the user can select to switch from the "vacuuming mode" to the "mopping mode" in the APP. At this time, the mode switching identifier is the mopping mode switching identifier, and the trigger signal corresponding to the mopping mode switching identifier is generated and sent to the electronic device. The electronic device obtains the trigger signal corresponding to the mode switching identifier and performs the mode switching operation corresponding to the trigger signal, that is, controls the robot to switch the working mode to the mopping mode corresponding to the mopping mode switching identifier.

[0117] Exemplarily, in some embodiments, the cleaning mode includes an interruption cleaning condition. During the process of dispatching the robot to perform a cleaning task, the electronic device needs to check and determine whether the robot meets the interruption cleaning condition when performing the cleaning task to ensure that it can handle emergencies or execute temporary tasks, etc.

[0118] In some embodiments, scheduling the robot to perform the operations corresponding to the cleaning mode in the cleaning area specifically includes, but is not limited to, the following steps S211 - S213:

[0119] S211: When the interruption cleaning condition is met, control the robot to interrupt the current cleaning task.

[0120] Specifically, the interruption cleaning condition can be any one or more of the robot having insufficient power, a cleaning hardware device failure, a task interruption request, etc. When the interruption cleaning condition is met, for example, when it is detected that the robot has insufficient power, when it is detected that the cleaning hardware device of the robot fails or is missing, or when a task interruption request is received, the electronic device generates an interruption task instruction and transmits the interruption task instruction to the robot. After receiving the interruption task instruction, the robot interrupts the current cleaning task, that is, pauses the execution of the cleaning task and stops the ongoing actions.

[0121] Of course, the interruption cleaning condition can also include any other suitable conditions. For example, the interruption cleaning condition can also include an obstacle block, insufficient cleaning resources, etc. When it is detected that the robot is blocked by an obstacle and cannot continue to perform the cleaning task, control the robot to interrupt the current cleaning task. When it is detected that the cleaning resources of the robot are insufficient, control the robot to interrupt the current cleaning task and control the robot to go to the supply base to replenish the cleaning resources.

[0122] S212: If the robot stores garbage, control the robot to go to the designated garbage collection place to unload the garbage.

[0123] S213: If the robot does not store garbage, control the robot to dock at the preset docking position.

[0124] Specifically, during the cleaning operation, the robot may have accumulated garbage. After controlling the robot to interrupt the current cleaning task, the robot uses sensors equipped on the garbage container (such as infrared sensors, ultrasonic sensors, etc.) to detect whether there is garbage stored in the garbage container. When it is detected and determined that there is garbage stored in the garbage container, the robot generates a garbage collection instruction and transmits the garbage collection instruction to the electronic device. After receiving the garbage collection instruction, the electronic device obtains the location information of the specified garbage collection location, and based on the location of the specified garbage collection location and the current location of the robot, uses a path planning algorithm to plan a garbage collection path and sends the garbage collection path to the robot. After receiving the garbage collection path, the robot travels to the specified garbage collection location according to the garbage collection path and unloads the garbage in the garbage container to the specified garbage collection location.

[0125] It can be understood that the electronic device can be directly communicatively connected to the sensors equipped on the garbage container, and can determine whether there is garbage stored in the garbage container through the sensors, without the robot generating a garbage collection instruction and transmitting the garbage collection instruction to the electronic device. In this way, the garbage collection efficiency of the robot can be improved.

[0126] In some embodiments, when it is detected and determined that there is no garbage stored in the garbage container, that is, when there is no garbage stored in the robot, the electronic device obtains the location information of the preset docking position, and based on the location of the preset docking position and the current location of the robot, uses a path planning algorithm to plan a docking navigation path and sends the docking navigation path to the robot. After receiving the docking navigation path, the robot travels to the preset docking position according to the docking navigation path and docks at the preset docking position.

[0127] In some embodiments, the cleaning mode includes a docking operation, where the docking operation is used for the robot to dock after completing the cleaning task for charging, replenishing cleaning resources, or waiting in place. After scheduling the robot to execute the cleaning task, the electronic device needs to execute the docking operation to instruct the robot to correctly perform subsequent operations after completing the cleaning task.

[0128] In some embodiments, scheduling the robot to perform the operations corresponding to the cleaning mode in the cleaning area specifically includes, but is not limited to, the following steps S214 - S215:

[0129] S214: Based on the status data of the robot after executing the cleaning task, determine the docking position of the robot, where the status data includes battery power and cleaning resources.

[0130] Among them, the docking operation is used to control the robot to dock at a suitable position for charging, replenishing cleaning resources, or waiting in place.

[0131] Specifically, after the robot finishes executing the cleaning task, it obtains status data through various sensors equipped on itself and transmits the status data to the electronic device. Understandably, the status data includes power and cleaning resources. For example, in some embodiments, the robot obtains the battery power data through the battery management system and transmits the power data to the electronic device. Also, for example, in some embodiments, the robot detects the capacity data of the cleaning resources in the cleaning resource container through a capacity sensor set in the cleaning resource container and transmits the capacity data of the cleaning resources to the electronic device.

[0132] In some embodiments, after receiving the status data of the robot after executing the cleaning task, the electronic device determines whether the power and cleaning resources of the robot are sufficient based on the status data to determine whether it is necessary to charge the robot or replenish the cleaning resources. If the power of the robot is less than or equal to the preset power threshold and / or the cleaning resources of the robot are less than or equal to the preset quantity threshold, indicating that it is necessary to charge the robot and / or replenish the cleaning resources, then the docking position of the robot is determined to be the preset charging position near the charging pile and / or the preset replenishment position near the replenishment base station. If the power of the robot is greater than the preset power threshold and the cleaning resources of the robot are greater than the preset quantity threshold, indicating that it is not necessary to charge the robot and replenish the cleaning resources, then the docking position of the robot is determined to be to dock in place and wait.

[0133] S215: According to the docking position, control the robot to execute the docking content corresponding to the docking operation, and the docking content includes one or more of charging, replenishing cleaning resources, and waiting in place.

[0134] Specifically, if the docking position is the preset charging position near the charging pile, the electronic device generates a charging instruction and sends the charging instruction to the robot, so that after the robot receives the charging instruction, it travels to the position where the charging pile is located and executes the docking content corresponding to the docking operation, that is, the robot docks at the preset charging position, establishes a connection with the charging pile, and charges using the charging pile.

[0135] In some embodiments, if the docking position is the preset replenishment position near the replenishment base station, the electronic device generates a replenishment instruction and sends the replenishment instruction to the robot, so that after the robot receives the replenishment instruction, it travels to the position where the replenishment base station is located and executes the docking content corresponding to the docking operation, that is, the robot docks at the preset replenishment position, establishes a connection with the replenishment base station, and replenishes the cleaning resources using the replenishment base station.

[0136] In some embodiments, if the docking position is to dock in place and wait, the electronic device generates an in-place waiting instruction and sends the in-place waiting instruction to the robot, so that after the robot receives the in-place waiting instruction, it docks in place and waits.

[0137] In summary, the robot task management method provided by the embodiments of the present invention includes: in response to a received task creation instruction, creating a cleaning task for the robot, where the cleaning task includes a cleaning area and a cleaning mode, and scheduling the robot to perform the operations corresponding to the cleaning mode in the cleaning area according to the cleaning task.

[0138] By creating flexible cleaning tasks and scheduling the robot to execute the cleaning tasks according to the cleaning tasks, the embodiments of the present invention enable the robot to flexibly perform cleaning work according to the actual cleaning area, meet the diverse needs of users, and improve the user experience.

[0139] As another aspect of the embodiments of the present invention, the embodiments of the present invention also provide a corresponding robot task management device. Among them, the robot task management device can be a software module, and the software module includes several instructions. The several instructions are stored in the memory, and the processor can access the memory and call the instructions for execution to complete the robot task management method described in each of the above embodiments.

[0140] In some embodiments, the robot task management device can also be constructed by hardware devices. For example, the robot task management device can be constructed by one or more than two chips, and each chip can work in coordination with each other to implement the robot task management method described in each of the above embodiments. In some embodiments, the robot task management device can also be constructed by various logic devices, such as being constructed by: general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), single-chip microcomputers, field-programmable gate arrays (FPGAs), ARM (Acorn RISC Machine) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or any combination of these devices or components.

[0141] Please refer to Figure 6 , Figure 6 which shows a schematic structural diagram of a robot task management device provided by some embodiments of the present invention. It is easy to understand that the robot task management device can be configured in an electronic device.

[0142] Specifically, as Figure 6 shown, the robot task management device 200 includes a creation module 210 and an execution module 220.

[0143] The creation module 210 is used to create a cleaning task for the robot in response to a received task creation instruction, where the cleaning task includes a cleaning area and a cleaning mode. The execution module 220 is used to schedule the robot to perform the operations corresponding to the cleaning mode in the cleaning area according to the cleaning task.

[0144] In some embodiments, the cleaning mode further includes at least one of cleaning time and cleaning frequency.

[0145] In some embodiments, the cleaning mode includes a power check operation. The execution module 220 is specifically configured to: determine the power consumption range required to execute the cleaning mode in the cleaning area according to the size of the cleaning area, determine whether the robot has sufficient power to execute all actions in the cleaning mode based on the current power of the robot and the power consumption range, and when it is determined that the robot does not have sufficient power to execute all actions in the cleaning mode, control the robot to perform partial actions according to the location of the charging pile and then control the robot to go to the charging pile for charging.

[0146] In some embodiments, the cleaning mode includes a hardware check operation. The execution module 220 is also specifically configured to: determine the hardware devices required to execute all actions in the cleaning mode based on the cleaning mode, and when a hardware device is faulty or missing, control the robot to go to a designated repair location for device maintenance so that the robot can execute all actions in the cleaning mode.

[0147] In some embodiments, the execution module 220 is also specifically configured to: determine multiple cleaning maps corresponding to the cleaning area based on the cleaning area, plan a cleaning path according to the multiple cleaning maps, and sequentially splice and load the multiple cleaning maps according to the cleaning path during the operation of controlling the robot to execute the cleaning mode.

[0148] In some embodiments, the cleaning mode includes a mode switching operation. The execution module 220 is also specifically configured to: determine a mode switching identifier corresponding to the cleaning mode based on the cleaning mode, and when a trigger signal corresponding to the mode switching identifier is obtained, execute the mode switching operation corresponding to the trigger signal.

[0149] In some embodiments, the cleaning mode includes an interruption cleaning condition. The execution module 220 is also specifically configured to: when the interruption cleaning condition is met, control the robot to interrupt the current cleaning task. If the robot stores garbage, control the robot to go to a designated garbage collection location to unload the garbage. If the robot does not store garbage, control the robot to dock at a preset docking position.

[0150] In some embodiments, the cleaning mode includes a docking operation. The docking operation is used for the robot to dock after completing the cleaning task. The execution module 220 is also specifically configured to: determine the docking position of the robot based on the status data after the robot executes the cleaning task, where the status data includes power and cleaning resources, and control the robot to execute the docking content corresponding to the docking operation according to the docking position. The docking content includes one or more of charging, replenishing cleaning resources, and waiting in place.

[0151] It should be noted that, for the sake of simplicity of description and brevity of space, the above robot task management device can perform the corresponding functional modules and beneficial effects of the robot task management method provided by the embodiments of the present invention. For the technical details not described in detail in the embodiments of the robot task management device, reference can be made to the robot task management method provided by the embodiments of the present invention. For the specific working process of the above robot task management device, reference can also be made to the corresponding specific execution process in the robot task management method provided by the foregoing embodiments of the present invention, which will not be elaborated herein one by one.

[0152] Embodiments of the present invention provide a computer-readable storage medium, on which computer program instructions executable by a processor are stored. When the computer program instructions are called by the processor, the processor is caused to execute any one of the robot task management methods provided by the embodiments of the present invention, or execute the steps in any one of the implementation manners of any one of the robot task management methods provided by the embodiments of the present invention.

[0153] In some embodiments, the storage medium may be a flash memory, a hard disk, an optical disc, a register, a magnetic surface memory, a removable disk, a CD-ROM, a random access memory (RAM), a read-only memory (ROM), an electrically programmable ROM, and an electrically erasable programmable ROM, etc., or any other form of storage medium known in the technical field of the present invention, or may be various devices including one or any combination of the above storage media.

[0154] In some embodiments, the computer program instructions may be in the form of a program, software, a software module, a script, or code, and may be written in any form of programming language (including a compiled or interpreted language, or a declarative or procedural language), and may be deployed in any form, including being deployed as an independent program or being deployed as a module, a component, a subroutine, or other units suitable for use in a computing environment.

[0155] As an example, the computer program instructions may or may not correspond to files in the file system, and may be stored as a part of a file that stores other programs or data. For example, they may be stored in one or more scripts in a hypertext markup language (HTML) document, stored in a single file dedicated to the program being discussed, or stored in multiple cooperating files (for example, files that store one or more modules, subroutines, or code portions).

[0156] As an example, computer program instructions can be deployed to execute on one computing device (including devices such as smart terminals and servers), or on multiple computing devices located at one location, or on multiple computing devices distributed at multiple locations and interconnected through a communication network. It is easy to understand that all or part of the steps of the methods described in the above embodiments provided by the present invention can be directly implemented using electronic hardware or computer program instructions executable by a processor, or a combination of both.

[0157] Those skilled in the art can understand that the embodiments provided by the present invention are only illustrative. The writing order of each step in the methods of the embodiments does not mean a strict execution order and does not constitute any limitation to the implementation process. It can be adjusted, combined, and deleted according to actual needs. Modules or sub-modules, units or sub-units, etc. in the devices or systems of the embodiments can be combined, divided, and deleted according to actual needs. For example, the division of units is only a logical function division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.

[0158] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Those skilled in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed, it can include the processes of the above method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.

[0159] It should be noted that the above embodiments are for explaining the technical concept and characteristics of the present invention. The purpose is to enable those familiar with this technology to understand the content of the present invention and implement it accordingly. It cannot be used to limit the scope of the patent protection of the present invention. Those of ordinary skill in the art can understand all or part of the processes of implementing the above embodiments, modify them according to the technical solutions recorded in the embodiments of the present invention, or perform equivalent replacements on some of the technical features. It can be understood that these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and should be regarded as equal changes and modifications based on the embodiments of the present invention, and should all fall within the scope covered by the claims of the present invention.

Claims

1. A robot task management method, characterized in that: include: In response to the received task creation instruction, create a cleaning task for the robot, wherein the cleaning task includes a cleaning area and a cleaning mode; The robot is scheduled to perform operations corresponding to the cleaning mode in the cleaning area according to the cleaning task.

2. The method according to claim 1, characterized in that The cleaning mode also includes at least one of a cleaning time and a cleaning number.

3. The method according to claim 1 or 2, characterized in that: The cleaning mode includes a battery check operation; The step of scheduling the robot to perform the operation corresponding to the cleaning mode in the cleaning area according to the cleaning task includes: Determining, according to the size of the cleaning area, a range of power consumption required to execute the cleaning mode in the cleaning area; Determine whether the robot has sufficient power to perform all actions in the cleaning mode according to the current power of the robot and the power usage range; When it is determined that the robot does not have sufficient power to perform all actions in the cleaning mode, after performing some actions according to the location of the charging pile, the robot is controlled to go to the charging pile for charging.

4. The method according to claim 1 or 2, characterized in that: The cleaning mode includes a hardware check operation; The step of scheduling the robot to perform the operation corresponding to the cleaning mode in the cleaning area according to the cleaning task includes: Based on the cleaning mode, determining the hardware devices required to perform all actions in the cleaning mode; When the hardware device fails or is missing, the robot is controlled to go to a designated maintenance location for device maintenance, so that the robot can perform all actions in the cleaning mode.

5. The method according to claim 1 or 2, characterized in that: The step of scheduling the robot to perform the operation corresponding to the cleaning mode in the cleaning area according to the cleaning task includes: Based on the cleaning area, determining a plurality of cleaning maps corresponding to the cleaning area; planning a cleaning path according to the plurality of cleaning maps; In controlling the robot to perform the operation corresponding to the cleaning mode, the multiple cleaning maps are sequentially spliced ​​and loaded according to the cleaning path.

6. The method according to claim 1 or 2, characterized in that: The cleaning mode includes a mode switching operation; The step of scheduling the robot to perform the operation corresponding to the cleaning mode in the cleaning area according to the cleaning task includes: Based on the cleaning mode, determining a mode switching identifier corresponding to the cleaning mode; When a trigger signal corresponding to the mode switching identifier is acquired, a mode switching operation corresponding to the trigger signal is performed.

7. The method according to claim 1 or 2, characterized in that: The cleaning mode includes an interrupted cleaning condition; The step of scheduling the robot to perform the operation corresponding to the cleaning mode in the cleaning area according to the cleaning task includes: When the cleaning interruption condition is met, the robot is controlled to interrupt the current cleaning task; If the robot has garbage stored, the robot is controlled to go to a designated garbage collection site to unload the garbage; If the robot does not store any garbage, the robot is controlled to dock at a preset docking position.

8. The method according to claim 1 or 2, characterized in that: The cleaning mode includes a docking operation, and the docking operation is used for the robot to dock after completing the cleaning task; The step of scheduling the robot to perform the operation corresponding to the cleaning mode in the cleaning area according to the cleaning task includes: Determining a docking position of the robot based on status data after the robot performs the cleaning task, wherein the status data includes power and cleaning resources; According to the docking position, the robot is controlled to execute docking content corresponding to the docking operation, and the docking content includes one or more of charging, replenishing cleaning resources and waiting in place.

9. An electronic device, characterized in that: include: A processor and a memory communicatively connected to the processor; The memory stores computer program instructions executable by the processor, and when the computer program instructions are called by the processor, the processor executes the robot task management method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions executable by a processor, and when the computer program instructions are called by the processor, the processor executes the robot task management method according to any one of claims 1 to 8.