Robot control method, electronic equipment and readable storage medium
By providing the robot with the function of configuration interface and historical task information list, users can automatically determine the working parameters, solving the problems of complex operation and low flexibility in the prior art, and improving the robot's working efficiency and fault handling capabilities.
Patent Information
- Application Number
- CN202411754388.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-02-11
AI Technical Summary
In the prior art, the relevant parameters need to be reconfigured every time a cleaning task is created for a robot, and the operation is complex and lacks flexibility.
A robot control method is provided. By displaying a configuration interface, users can select target task information based on the historical task information list, automatically determine work parameters, and obtain and process fault information during the work process to decide whether to continue to perform tasks.
Simplifies user operations, reduces robot waiting time, improves work efficiency, and improves robot task completion rate by reasonably handling faults.
Smart Images

Figure CN119405211A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of robotics technology, and in particular, relates to a robot control method, an electronic device, and a readable storage medium. Background Art
[0002] With the continuous development of science and technology, the application fields of robots have become increasingly extensive. Among them, using robots for cleaning is a relatively common phenomenon.
[0003] When a robot is needed to complete a cleaning task, it is usually necessary to first create a cleaning task for the robot, and then the robot performs the cleaning task. When creating a cleaning task, it is necessary to configure the relevant parameters corresponding to the cleaning task. However, in the related art, each time a cleaning task is created for the robot, it is usually necessary to reconfigure the relevant parameters corresponding to the cleaning task, which is complicated and lacks flexibility. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a robot control method, an electronic device and a readable storage medium to solve the problem in the related art that each time a cleaning task is created for the robot, the relevant parameters need to be reconfigured, the operation is complex and the flexibility is low.
[0005] A first aspect of an embodiment of the present application provides a robot control method, the method comprising:
[0006] In response to the user selecting the robot's working mode as the automatic cleaning mode, displaying a first configuration interface, the first configuration interface including a task information list;
[0007] In response to the user selecting N target task information in the task information list, determining the working parameters of the robot according to the task parameters corresponding to each target task information, wherein N is an integer greater than 0, and the task information in the task information list is information about the task performed by the robot at a historical moment;
[0008] Control the robot to work according to working parameters;
[0009] Alternatively, in response to the user selecting the robot's operating mode as the hand-push cleaning mode, a second configuration interface is displayed, the second configuration interface including configuration items for a plurality of cleaning modes;
[0010] In response to a user selecting any cleaning mode as a target cleaning mode and a target cleaning mode value selected by the user, the target cleaning mode value is selected as a working parameter of the robot;
[0011] Control the robot to work according to the working parameters.
[0012] In some embodiments, the task parameters include: cleaning method, cleaning area and cleaning times. The working parameters of the robot are determined according to the task parameters corresponding to each target task information, including:
[0013] When the cleaning areas corresponding to the target task information are different, the task parameters corresponding to the target task information are combined according to the preset combination rules to obtain the working parameters of the robot.
[0014] In some embodiments, determining the working parameters of the robot according to the task parameters corresponding to each target task information includes:
[0015] In the case where the cleaning areas corresponding to the M target task information are the same, the regional working parameters of the robot in the overlapping area are determined according to the task parameters in the M target task information, and the overlapping area is the cleaning area commonly corresponding to the M target task information, where M is an integer greater than 1 and less than N+1;
[0016] The regional working parameters of the robot in the overlapping area are combined with the regional working parameters of the non-overlapping area to obtain the working parameters of the robot, and the non-overlapping area is a cleaning area corresponding to only one target task information.
[0017] In some embodiments, determining the regional working parameters of the robot in the overlapping area according to the task parameters in the M target task information includes:
[0018] Determine any one of the M cleaning modes corresponding to the M target task information as the cleaning mode value of the robot in the overlapping area; determine the average value of the M cleaning times corresponding to the M target task information as the cleaning times of the robot in the overlapping area;
[0019] The cleaning method of the robot in the overlapped area, the number of cleaning times of the robot in the overlapped area and the overlapped area are combined to obtain the regional working parameters of the robot in the overlapped area.
[0020] In some embodiments, the method further comprises: obtaining fault information of each target component in the robot during the operation of the robot, the target component comprising at least one of the following: a negative pressure sensor, a dust box, a dust bag, a side brush, and a roller brush;
[0021] According to the fault information of each target component, the fault level of the robot is determined, and the fault levels include the first level, the second level and the third level. The fault level corresponding to the first level is higher than the fault level corresponding to the second level, and the fault level corresponding to the second level is higher than the fault level corresponding to the third level.
[0022] Determine whether to control the robot to continue executing the current task based on the fault level.
[0023] In some embodiments, determining whether to control the robot to continue to perform the current task according to the fault level includes:
[0024] When the fault level is the first level, the robot is controlled to stop executing the current task and display a first prompt interface, which includes information for prompting an emergency stop; when the fault level is the second level or the third level, the robot is controlled to continue executing the current task.
[0025] In some embodiments, before controlling the robot to continue to perform the current task, the method further includes:
[0026] When the fault level is the second level, a second prompt interface is displayed, the second prompt interface includes operation prompt information, and the operation prompt information is used to prompt the operation process of clearing the fault;
[0027] When the fault level is the third level, restart the robot.
[0028] In some embodiments, the first configuration interface further includes a first cleaning control; before controlling the robot to work with the working parameters, the method further includes:
[0029] In response to the user clicking the first cleaning control, displaying an area division map matching the current floor environment on the first configuration interface;
[0030] In response to a region selection operation by a user in a map, determining the region selected by the region selection operation as a target cleaning region, and displaying a parameter configuration interface;
[0031] In response to the values of each parameter input by the user in the parameter configuration interface, the input parameter values are determined as target parameters, target cleaning areas and target parameters, and are determined as target working parameters of the robot;
[0032] And controlling the robot to work with working parameters, including: controlling the robot to work with target working parameters.
[0033] In some embodiments, each task information in the task information list corresponds to an editing control; the method further includes:
[0034] In response to the user clicking the editing control corresponding to the first task information, displaying a parameter modification interface;
[0035] In response to a user modifying a task parameter corresponding to the first task information in the parameter modification interface, the modified task parameter is determined as the task parameter corresponding to the first task information, where the first task information is any task information in the task information list.
[0036] In some embodiments, the method further comprises:
[0037] In response to the robot's working mode being the hand-push cleaning mode and detecting the user's closing operation of the hand-push cleaning mode, a prompt message that the hand-push cleaning mode is being closed is displayed, the sweeping device is controlled to be closed, and the suction device is kept turned on, the sweeping device including a side brush and a roller brush;
[0038] In response to satisfying a preset stop condition, the suction device is controlled to shut down, and the preset stop condition includes at least one of the following: the maintenance duration of the suction device is greater than the first duration, or the dragging length of the robot is greater than the first length, wherein the maintenance duration is the duration from the moment the hand-push cleaning mode is turned off to the current moment, and the dragging length is the trajectory length between the position of the robot when the hand-push cleaning mode is turned off and the current position.
[0039] In some embodiments, the method further comprises:
[0040] In response to the robot's working mode switching from hand-push cleaning mode to automatic cleaning mode, and detecting that the robot's armrest is not installed to the preset position, a third prompt interface is displayed, and the third prompt interface includes guidance information for prompting the operation process of installing the armrest to the preset position.
[0041] In response to detecting that the armrest is installed in the preset position, the display of the third prompt interface ends.
[0042] The beneficial effect of the embodiment of the present application compared with the prior art is: in this embodiment, the user can select the target task information from the task information list according to his own needs, wherein the task information in the task information list is the information of the task performed by the robot at a historical moment. In this way, the robot can determine the working parameters according to the task parameters corresponding to each target task information. In the present application, since the robot can determine the current working parameters based on the task parameters of the historical tasks selected by the user, compared with the user needing to configure each working parameter of the robot in the related art, the robot control method provided by the present application is simple to operate and helps to improve the user experience. On the other hand, the robot does not need to wait for the user to reconfigure the task parameters before each work, which reduces the waiting time of the robot, so that the working efficiency of the robot can be improved.
[0043] A second aspect of an embodiment of the present application provides an electronic device, which includes a memory and a processor. The memory stores a computer program that can be run on the processor. When the processor executes the computer program, the electronic device implements the steps of any robot control method in the first aspect above.
[0044] A third aspect of an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is run, any robot control method in the first aspect is executed.
[0045] The fourth aspect of the embodiments of the present application provides a computer-readable storage medium, comprising: a computer program stored therein, which, when executed by a processor, enables an electronic device to implement the steps of any robot control method in the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0047] Figure 1 It is a flowchart of a robot control method provided by an embodiment of the present application;
[0048] Figure 2 is a schematic diagram of a robot homepage interface provided by an embodiment of the present application;
[0049] Figure 3 is a schematic diagram of a first configuration interface provided by an embodiment of the present application;
[0050] Figure 4 is a schematic diagram of another first configuration interface provided by an embodiment of the present application;
[0051] Figure 5 is a schematic diagram of another first configuration interface provided by an embodiment of the present application;
[0052] Figure 6 is a schematic diagram of a second configuration interface provided by an embodiment of the present application;
[0053] Figure 7 This is a schematic diagram of a process of handling a robot fault provided by an embodiment of the present application;
[0054] Figure 8 is a schematic diagram of a second prompt interface provided by an embodiment of the present application;
[0055] Fig. 9 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0056] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0057] The following is an explanation of several possible working modes of the robot in the embodiments of the present application:
[0058] Automatic cleaning mode: In the embodiment of the present application, in the automatic cleaning mode, the robot can move autonomously and complete the corresponding work. The automatic cleaning mode can include an instant cleaning mode and a scheduled cleaning mode. In the instant cleaning mode, the robot will start working immediately. In the scheduled cleaning mode, the robot will start working at the time preset by the user.
[0059] Hand-push cleaning mode: In hand-push cleaning mode, the movement of the robot needs to be achieved by manual pushing by the user.
[0060] Cleaning method: Cleaning methods can include dust pushing, sweeping and vacuuming. Among them, dust pushing means that the robot pushes tools such as mops on the ground to achieve the effect of cleaning the ground. Sweeping means that the robot uses brooms or rotating brushes (for example, side brushes and roller brushes) and other components to clean the ground. Vacuuming means that the robot collects garbage into a dust bag or dust box through suction. In both automatic cleaning mode and hand-push cleaning mode, the task parameter of cleaning method can be included. That is, in both automatic cleaning mode and hand-push cleaning mode, the three cleaning methods of dust pushing, sweeping and vacuuming can be included.
[0061] With the rapid development of science and technology, robotics technology has penetrated into all aspects of our lives, especially in the field of cleaning. Robots are changing traditional cleaning habits with their high efficiency, precision and intelligence. When a robot is needed to complete cleaning work, it is usually necessary to create a cleaning task for the robot first, and then the robot will perform the cleaning task. When creating a cleaning task for the robot, it is often necessary to configure the relevant parameters corresponding to the cleaning task. However, in the related technology, each time a cleaning task is created for the robot, the relevant parameters corresponding to the cleaning task are usually reconfigured, which is complicated and lacks flexibility.
[0062] In order to solve the above-mentioned technical problems existing in the related art, in the present application, the user can select the target task information from the task information list according to his own needs, wherein the task information in the task information list is the information of the task performed by the robot at the historical moment. In this way, the robot can determine the working parameters according to the task parameters corresponding to each target task information. In the present application, since the robot can determine the current working parameters based on the task parameters of the historical tasks selected by the user, compared with the related art in which the user needs to configure each working parameter of the robot, the robot control method provided by the present application is simple to operate and helps to improve the user experience. On the other hand, the robot does not need to wait for the user to reconfigure the task parameters before each work, which reduces the waiting time of the robot, thereby improving the working efficiency of the robot.
[0063] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.
[0064] The embodiment of the present application provides a robot control method, and the execution subject of the robot control method is usually a robot, and specifically can be a controller in the robot. In some application scenarios, the above-mentioned execution subject can also be other devices used to control the robot, such as a tablet, a personal computer, a server, etc. The robot control method provided by the embodiment of the present application is described below by taking the execution subject as a robot as an example.
[0065] Figure 1 A schematic diagram of a robot control method provided in an embodiment of the present application. Figure 1 As shown, the robot control method may include the following steps 101 to 106.
[0066] It should be understood that the robot control method may include all steps from step 101 to step 106, or may only include some of the steps. It is understandable that the steps in the robot control method may be arbitrarily combined without conflict. As an optional embodiment of the present application, the robot control method may be a scheme that only includes steps 101 to step 103. As another optional embodiment of the present application, the robot control method may also be a scheme that only includes steps 104 to step 106.
[0067] Step 101 : In response to the user selecting the robot's working mode as an automatic cleaning mode, the robot displays a first configuration interface.
[0068] The first configuration interface is usually a pre-set interface. The first configuration interface may include a task information list. The task information list may include multiple task information. Each task information corresponds to multiple task parameters. It can be understood that the task information in the task information list is the information of the task performed by the robot at the historical moment.
[0069] The working mode of the robot is used to indicate the mode in which the robot cleans. In practice, the robot may have a plurality of modes to choose from. For example, the robot may have two modes, an automatic cleaning mode and a hand-push cleaning mode, for the user to choose from. The user may perform a first operation of selecting the working mode of the robot to select a desired working mode from the plurality of available modes of the robot. The first operation is an operation of selecting the working mode of the robot. Then, the robot may determine the working mode of the robot selected by the user in response to the first operation of the user.
[0070] In practice, the robot usually includes an electronic screen that can perform human-computer interaction, and the user can perform various operations on the electronic screen, such as the first operation. Exemplarily, the first operation can be an operation of a control corresponding to a click mode, and the first operation can also be an operation of a control corresponding to a long press mode. In this application, the first operation will be specifically implemented as an operation of a control corresponding to a click mode for relevant description. The robot can respond to the user's first operation and determine the working mode of the robot selected by the user. Among them, the robot can detect the first operation through a sensor on the electronic screen.
[0071] When the working mode of the robot selected by the user is the automatic cleaning mode, the robot can display the first configuration interface. When the working mode of the robot selected by the user is the push cleaning mode, the process can jump to step 104, and the robot can display the second configuration interface in response to the working mode of the robot selected by the user being the automatic cleaning mode.
[0072] In a possible embodiment, the robot can display a home page, and the user can select the working mode of the robot on the home page interface. The automatic cleaning mode control and the hand-push cleaning mode control can be displayed on the home page interface.
[0073] Optionally, the automatic cleaning mode may include: instant cleaning mode. In the instant cleaning mode, the robot will start working immediately. When the user requires the robot to start working at a specific time, the robot's working mode can be selected as the scheduled cleaning mode. Optionally, in the instant cleaning mode, the robot's task parameters may include but are not limited to: cleaning method, cleaning times and cleaning area.
[0074] Optionally, the automatic cleaning mode may include a scheduled cleaning mode in addition to the instant cleaning mode. When the user requires the robot to start working immediately, the robot can be selected as the instant cleaning mode. In the scheduled cleaning mode, the robot can start working at the time preset by the user. Optionally, in the scheduled cleaning mode, the robot's task parameters may include but are not limited to: cleaning method, number of cleanings, cleaning area, and cleaning time. In this case, you can refer to Figure 2 , Figure 2 This is a schematic diagram of a robot homepage interface provided by this application. Figure 2 As shown, the robot home page interface may include: an instant cleaning mode control, a scheduled cleaning mode control, and a hand-push cleaning mode control. The instant cleaning mode control is used to trigger the robot to enter the instant cleaning mode; the scheduled cleaning mode control is used to trigger the robot to enter the scheduled cleaning mode; the hand-push cleaning mode control is used to trigger the robot to enter the hand-push cleaning mode. The user can click on a control on the home page interface as needed to select the mode corresponding to the control as the robot's working mode. It can be understood that in this case, when the user clicks on the instant cleaning mode control or clicks on the scheduled cleaning mode control, it can be considered that the working mode of the robot selected by the user is the automatic cleaning mode.
[0075] It should be noted that in this application, the robot control method provided in the embodiment of the present application will be explained by taking the automatic cleaning mode including only the instant cleaning mode as an example.
[0076] In step 101, in response to the user selecting the robot's working mode as the automatic cleaning mode, the robot displays a first configuration interface.
[0077] The first configuration interface is usually a pre-set interface. The first configuration interface may include a task information list. The task information list may include multiple task information. Each task information corresponds to multiple task parameters. It can be understood that the task information in the task information list is the information of the task performed by the robot at the historical moment.
[0078] In some embodiments, each task information in the task information list may correspond to an editing control. The editing control is used to edit the task parameters corresponding to the task information. Optionally, the task parameters may include: cleaning mode, cleaning times and cleaning area. The task parameters may also include: task name. Among them, the cleaning mode includes multiple optional modes, such as the cleaning mode may include but is not limited to at least one of the following: dust pushing, sweeping and vacuuming.
[0079] Optionally, the first configuration interface may include a task list control. The task list control is used to trigger the robot to display a task information list. Exemplarily, when the user clicks the task list control, the robot displays the task list information in response to the user clicking the task list control.
[0080] Optionally, the first configuration interface may further include a first cleaning control. The first cleaning control is used to configure various task parameters.
[0081] Optionally, the first configuration interface may further include a new task control. The new task control is used to create a new task for the robot.
[0082] Optionally, the first configuration interface may further include a start control. The start control is used to trigger the robot to start working.
[0083] Optionally, the first configuration interface may further include a return control, which is used to trigger the robot to display the previous interface of the current interface.
[0084] See also Figure 3 , Figure 3 is a schematic diagram of a first configuration interface provided by an embodiment of the present application. Figure 3 As shown, the first configuration interface may include: a task list control, a task information list, a first cleaning control, a new task control, and a start control. The task information list includes multiple task information, each task information corresponds to multiple task parameters, and each task information also corresponds to an editing control. The user can select the target task information from the task information list according to the needs.
[0085] In a possible embodiment, the above-mentioned robot control method may also include: the robot displays a parameter modification interface in response to the user clicking on the editing control corresponding to the first task information; the robot responds to the user's modification operation on the task parameters corresponding to the first task information in the parameter modification interface, and determines the modified task parameters as the task parameters corresponding to the first task information.
[0086] Here, the first task information may be any task information in the task information list. The parameter modification interface is usually a pre-set interface. The user may modify the task parameters corresponding to the first task information on the parameter modification interface.
[0087] The modification operation is usually a pre-set operation for modifying the value of a task parameter. For example, the value of the task parameter of the number of cleanings corresponding to the first task information is modified from 1 to 2, and the value of the task parameter of the cleaning area corresponding to the first task information is modified from area 1 to area 6.
[0088] In this embodiment, the user can modify the task parameters corresponding to any task information in the task list according to actual needs, and the robot can determine the modified task parameters as the task parameters corresponding to the task information. When the user selects the task information later, the robot can use the modified task parameters as working parameters, so as to better meet the needs of the user.
[0089] In another possible embodiment, the above-mentioned robot control method may also include: in response to the user clicking on the first cleaning control, the robot displays an area division map matching the current floor environment on the first configuration interface; in response to the user's area selection operation in the map, the robot determines the area selected by the area selection operation as the target cleaning area, and displays the parameter configuration interface; in response to the user inputting the values of each parameter in the parameter configuration interface, the robot determines the input values of each parameter as the target parameters; the target cleaning area and target parameters are determined as the robot's target working parameters; the robot works with the target working parameters.
[0090] The area division map is usually a pre-set map that divides the robot's working environment into different areas. In practical applications, a building usually has multiple floors, and the environment of each floor may be different.
[0091] The region selection operation is usually a pre-set region selection operation. As an example, the region selection operation may be an operation of clicking on a region in a region division map, for example, the user may click on "region 3". It is understandable that the specific implementation of the region selection operation is not limited in the embodiments of the present application.
[0092] Among them, the parameter configuration interface is usually a pre-set interface. A plurality of parameter configuration controls are displayed on the parameter configuration interface, and each parameter configuration control can configure a task parameter. For example, the parameter configuration interface can display a parameter configuration control for configuring the cleaning method and a parameter configuration control for configuring the number of cleanings. It is understandable that on the parameter configuration interface, the user can configure other task parameters in the task parameters except the cleaning area.
[0093] In this embodiment, after the user sets the target cleaning area and target parameters according to their own needs, the robot determines the target cleaning area and target parameters as the robot's target working parameters and works with the target working parameters. The robot can display a regional division map that matches the current floor environment for the user to select the target cleaning area, which is more intuitive and simple to operate, and helps to improve the user experience.
[0094] See also Figure 4 , Figure 4 is a schematic diagram of another first configuration interface provided by an embodiment of the present application. Figure 4 As shown, when the user clicks the first cleaning control, the first configuration interface may include: the first cleaning control, the task list control, the area division map matching the current floor environment, the start control, the return control, and the select all control. Among them, the select all control is used to select all areas on the area division map matching the current floor environment. The user can select an area in the area division map matching the current floor environment according to needs.
[0095] Continue reading Figure 5 , Figure 5 is a schematic diagram of another first configuration interface provided by an embodiment of the present application. Figure 5 As shown, when the user selects an area in the area division map matching the current floor environment, the robot displays a parameter configuration interface on the first configuration interface. The displayed parameter configuration interface includes a parameter configuration control for configuring the cleaning method and a parameter configuration control for configuring the number of cleaning times.
[0096] Step 102 : In response to the user selecting N pieces of target task information in the task information list, the robot determines the working parameters of the robot according to the task parameters corresponding to each piece of target task information.
[0097] Wherein, N is an integer greater than 0, and the task information in the task information list is the information of the tasks performed by the robot at the historical moment.
[0098] Among them, the above-mentioned target task information is the task information selected by the user according to needs.
[0099] Here, when the user selects N target task information, there may be more than two target task information corresponding to the same task parameter of the cleaning area, but their other corresponding task parameters, such as the cleaning method and the number of cleaning times, are different. This will result in that, for the same cleaning area, it may not be possible to determine what specific cleaning method and cleaning frequency the robot should use in this cleaning area. At this time, it can be considered that there is a conflict between the selected N target task information. When the user selects N target task information, the cleaning areas corresponding to these N target task information may also be different. At this time, it can be considered that there is no conflict between the selected N target task information.
[0100] In some embodiments, when the cleaning areas corresponding to the target task information are different, the above-mentioned step 102 determines the working parameters of the robot according to the task parameters corresponding to the target task information. This can be achieved through the following steps: the robot combines the task parameters corresponding to the target task information according to the preset combination rules to obtain the working parameters of the robot.
[0101] The preset combination rule is a pre-set rule for combining the task parameters corresponding to each target task information. Exemplarily, when the cleaning areas corresponding to each target task information are different, the preset combination rule may be: combining the task parameters corresponding to each target task information according to the distance between the current position of the robot and the cleaning area corresponding to each target task information. For example, according to the distance between the current position of the robot and the cleaning area corresponding to each target task information, the task parameters corresponding to each target task information are combined from far to near.
[0102] In other embodiments, when there are M target task information corresponding to the same cleaning area, the above step 102 determines the working parameters of the robot according to the task parameters corresponding to each target task information, which can be achieved by the following steps 1 and 2:
[0103] Step 1: The robot determines the regional working parameters in the overlapping area according to the task parameters in the M target task information.
[0104] The above-mentioned overlapping area is a cleaning area commonly corresponding to M target task information, wherein M is an integer greater than 1 and less than N+1.
[0105] The regional working parameters in the overlapped area are used to indicate the working parameters of the robot in the overlapped area.
[0106] Step 2: The robot combines the regional working parameters in the overlapping area with the regional working parameters in the non-overlapping area to obtain the working parameters of the robot.
[0107] The non-overlapping area is a clean area corresponding to only one target task information.
[0108] Here, the regional working parameters in the non-overlapping area are used to indicate the working parameters of the robot in the non-overlapping area. Optionally, the robot can combine the task parameters corresponding to the target task information of each non-overlapping area according to a preset combination rule to obtain the regional working parameters of the robot in the non-overlapping area. Among them, the target task information of the non-overlapping area refers to the target task information of the cleaning area belonging to the non-overlapping area.
[0109] In a possible implementation, in the above step 1, the robot determines the regional working parameters in the overlapping area according to the task parameters in the M target task information, which may include the following steps:
[0110] The robot determines any one of the M cleaning modes corresponding to the M target task information as the cleaning mode value of the robot in the overlapping area; determines the average value of the M cleaning times corresponding to the M target task information as the cleaning times value of the robot in the overlapping area; combines the cleaning mode in the overlapping area, the cleaning times in the overlapping area and the overlapping area to obtain the regional working parameters of the robot in the overlapping area.
[0111] As an example, if there are three target task information corresponding to the cleaning area, all of which are area 1, and the cleaning method corresponding to target task information 1 is dust pushing, and the corresponding cleaning times are 2, the cleaning method corresponding to target task information 2 is sweeping, and the corresponding cleaning times are 3, and the cleaning method corresponding to target task information 3 is dust pushing, and the corresponding cleaning times are 7, then either dust pushing or sweeping can be determined as the cleaning method value of the robot in area 1; the average value of the three cleaning times corresponding to the three target task information, 4, is determined as the cleaning times value of the robot in area 1. Then, the cleaning method is dust pushing, the cleaning times are 4, and area 1 are combined to obtain the regional working parameters of the robot in area 1.
[0112] In the above embodiment, when there is a conflict between the N target task information selected by the user, and when there is no conflict between the N target task information selected by the user, the robot has a corresponding way of determining the working parameters, so that clear working parameters can be determined, and the robot can work normally.
[0113] Step 103: The robot operates according to the operating parameters.
[0114] After the working parameters of the robot are determined, the robot works according to the working parameters.
[0115] In this embodiment, the user can select target task information from the task information list according to his own needs, wherein the task information in the task information list is information about tasks performed by the robot at historical moments. In this way, the robot can determine the working parameters according to the task parameters corresponding to each target task information.
[0116] In the embodiment of the present application, the robot can determine the current working parameters based on the task parameters of the historical tasks selected by the user. Compared with the related art where the user needs to configure each working parameter of the robot, the operation is simple and helps to improve the user experience. On the other hand, the robot does not need to wait for the user to reconfigure the task parameters before each work, which reduces the waiting time of the robot, thus improving the working efficiency of the robot.
[0117] Step 104 , in response to the user selecting the robot's working mode as the hand-push cleaning mode, the robot displays a second configuration interface.
[0118] Among them, the second configuration interface includes configuration items of multiple cleaning methods.
[0119] Among them, the above-mentioned second configuration interface is usually a pre-set interface. The second configuration interface may include configuration items for multiple cleaning methods. Optionally, the configuration items of each cleaning method are used to configure the values of the following attributes of the cleaning method: intensity and suction. It can be understood that at this time, intensity and suction are the attributes of each cleaning method. Among them, each attribute may include multiple fields selected by the user to serve as the value of the attribute, such as the attribute of intensity may include the fields of gentle, standard and strong; the attribute of suction may include the fields of weak, normal, strong and super strong.
[0120] Optionally, the second configuration interface may further include a start control. The start control is used to trigger the robot to start working.
[0121] Optionally, the second configuration interface may further include a return control, which is used to trigger the robot to display the previous interface of the current interface.
[0122] See also Figure 6 , Figure 6 is a schematic diagram of a second configuration interface provided by an embodiment of the present application. Figure 6 As shown, the second configuration interface includes configuration items for three cleaning modes: dust pushing, sweeping, and vacuuming, a start control, and a return control. Figure 6 It can be seen that the user selected the dust pusher as the target cleaning method, and selected "gentle" as the value of the strength attribute, and selected "weak" as the value of the suction attribute. In addition, it is understandable that in this case, when the user clicks the return control, the robot displays the home page interface.
[0123] Step 105 , in response to the user selecting any cleaning mode as the target cleaning mode and the target cleaning mode value selected by the user, the robot selects the target cleaning mode value as the robot's working parameter.
[0124] The target cleaning method is the cleaning method that the robot needs to perform when working.
[0125] The target cleaning mode value may include: a target cleaning mode, and a value corresponding to an attribute of the target cleaning mode.
[0126] As an example, if the user selects dust pushing as the target cleaning mode, and selects gentle intensity and small suction as the value of intensity, then in this case, the target cleaning mode values include dust pushing, gentle intensity and small suction.
[0127] Step 106 , the robot operates according to the operating parameters.
[0128] After determining the working parameters of the robot, the robot works with the working parameters. It can be understood that at this time, the robot works with the working parameters in the hand-push cleaning mode.
[0129] In this embodiment, when the automatic cleaning mode cannot meet the user's needs, the user can select the robot's working mode as the manual cleaning mode. In the hand-push cleaning mode, the robot allows the user to directly control the movement of the robot, and the robot's working parameters can also be determined by the user according to needs. It can be seen that the robot control method provided in this embodiment has a certain degree of flexibility and can better meet the needs of users, thereby helping to complete more detailed cleaning.
[0130] In some optional implementations, after the robot starts working with the working parameters, the robot may display an end control on the first configuration interface or the second configuration interface. The end control is used to trigger the robot to close the current working mode and stop working.
[0131] In practice, users usually switch the robot's working mode between hand-push cleaning mode and automatic cleaning mode according to their needs. In the hand-push cleaning mode, the user can pull out the stored push rod or armrest from the robot. With the help of the push rod or armrest, the user can more conveniently control the robot's movement speed or direction, and can carry out targeted cleaning of heavily contaminated locations. When the robot's working mode is switched from the hand-push cleaning mode to the automatic cleaning mode, if the push rod or armrest is not restored to the preset position for storage (for example, retracted into the preset position for storage or rotated to the preset position for storage), the robot may collide with the surrounding environment during operation, causing damage to the robot. Taking this situation into consideration, when the robot's working mode is switched from the hand-push cleaning mode to the automatic cleaning mode, the robot can first detect whether the armrest is installed in the preset position to ensure that in the automatic cleaning mode, the robot's work will not have possible problems due to the armrest not being installed in the preset position.
[0132] Therefore, in some embodiments, the robot control method may further include:
[0133] In response to the robot switching the working mode from the hand-push cleaning mode to the automatic cleaning mode and detecting that the armrest is not installed in the preset position, the third prompt interface is displayed; in response to the robot detecting that the armrest is installed in the preset position, the third prompt interface is stopped.
[0134] Here, the robot can detect whether the armrest is installed at the preset position in different ways. For example, the robot can detect whether the armrest is installed at the preset position by setting a sensor, such as a contact sensor, at the preset position. It is understandable that the embodiment of the present application does not limit the specific implementation method of detecting whether the armrest is installed at the preset position.
[0135] The third prompt interface is usually a pre-set interface. The third prompt interface may include guidance information for prompting the operation process of installing the handrail to the preset position.
[0136] The guidance information may include at least one of the following: video, audio, text, etc. Exemplarily, the guidance information for prompting the operation process of installing the armrest to the preset position may include the following content: Please check whether the armrest is installed in place. 1. Please press the armrest switch and press down the armrest. 2. Check whether the armrest is pressed down in place.
[0137] In some other embodiments, the robot control method may further include the following first step and second step:
[0138] In the first step, the robot responds that the working mode is the hand-push cleaning mode, and detects the user's closing operation on the hand-push cleaning mode, displays a prompt message that the hand-push cleaning mode is being closed, controls the sweeping device to close, and keeps the vacuuming device on.
[0139] In practice, the robot usually uses the vacuum component to suck dust, hair and other garbage on the ground into the dust bag. When the robot is in the push cleaning mode, when the user turns off the push cleaning mode, some garbage may still be accumulated at the suction port of the vacuum device. If the vacuum component is turned off immediately, the garbage cannot be sucked into the dust bag and may fall again during the movement of the robot or be blown to other places by the airflow, which will affect the cleaning effect.
[0140] Based on the above considerations, the robot can respond to the working mode being the hand-push cleaning mode and detect the user's closing operation on the hand-push cleaning mode, display a prompt message that the hand-push cleaning mode is being closed, control the sweeping device to close, and keep the vacuuming device on.
[0141] Among them, the closing operation of the hand-pushing cleaning mode is usually a pre-set operation of closing the hand-pushing cleaning mode. As an example, the closing operation of the hand-pushing cleaning mode can be implemented as an operation of clicking a closing control displayed on the electronic screen of the robot.
[0142] In this embodiment, the robot can detect the closing operation of the hand-push cleaning mode through a sensor, such as a pressure sensor.
[0143] The above-mentioned sweeping device is a component of the robot used to clean the floor. The sweeping device may include a side brush and a roller brush.
[0144] Among them, the above-mentioned dust collection equipment is a device that collects dust, particulate matter, etc. by generating suction.
[0145] In the second step, the robot controls the vacuuming device to turn off in response to meeting the preset stop condition.
[0146] The preset stop condition includes at least one of the following: the maintenance time of the suction device is greater than the first time, or the dragging length of the robot is greater than the first length. The maintenance time is the time from the moment when the hand-push cleaning mode is turned off to the current moment, and the dragging length is the track length between the position of the robot when the hand-push cleaning mode is turned off and the current position.
[0147] The first duration is a preset duration. As an example, the first duration may be 10 seconds. It is understandable that the embodiment of the present application does not specifically limit the value of the first duration.
[0148] The first length is a preset length. As an example, the first length may be 1 meter. It is understandable that the embodiment of the present application does not specifically limit the value of the first length.
[0149] In this embodiment, when the robot's working mode is the hand-push cleaning mode and the user turns off the hand-push cleaning mode, the robot will keep the vacuum device turned on until the preset stop condition is met, which can ensure that all garbage at the suction port of the vacuum device can be sucked into the dust bag. Therefore, based on this embodiment, the cleaning effect of the robot can be improved.
[0150] In practice, robots may fail during operation for various reasons. These failures may originate from the robot's hardware components, such as sensors, dust bags, side brushes, roller brushes, etc., or from the software system that controls the robot, such as the Robot Operating System (ROS). In the related art, if a robot fails during operation, regardless of the cause of the failure, the robot will interrupt the task and stop working. This shows that the related art lacks reasonable handling measures for robot failures, resulting in reduced robot work efficiency.
[0151] In some embodiments, the above robot control method may include the following steps 701 to 703.
[0152] Figure 7 A schematic diagram of a process flow of a robot handling faults provided in an embodiment of the present application.
[0153] Step 701: During the operation of the robot, the robot obtains fault information of each target component.
[0154] The target component refers to a hardware component that helps the robot achieve the current task. The target component may include at least one of the following: a negative pressure sensor, a dust box, a dust bag, a side brush, and a roller brush.
[0155] The fault information of the target component is used to reflect the fault condition of the target component. For example, the fault information of the dust box may be that the dust box is placed incorrectly; the fault information of the negative pressure sensor may be that the negative pressure is too high.
[0156] Here, the robot obtains the fault information of each target component and can
[0157] Here, the robot can obtain the fault information of the target component in different ways. Optionally, the robot can actively obtain the fault information of the target component, or the target component can send the fault information to the robot.
[0158] In practice, the robot usually monitors the status of each component periodically or continuously. As an example, the robot can establish communication with each component through a preset communication protocol, and the robot can obtain fault information of each component periodically or continuously through the communication protocol.
[0159] It can be understood that the above robot obtains the fault information of each target component, which can be considered as the controller of the robot obtaining the fault information of each target component.
[0160] Step 702: The robot determines the fault level of the robot according to the fault information of each target component.
[0161] Among them, the fault levels include the first level, the second level and the third level. The fault degree corresponding to the first level is higher than the fault degree corresponding to the second level, and the fault degree corresponding to the second level is higher than the fault degree corresponding to the third level.
[0162] Here, generally, the first level of faults include serious faults that occur in hardware components and cannot be handled by the user; the second level of faults include faults that occur in hardware components and can be cleared with the help of the user; the third level of faults include faults that can be cleared by the robot itself. For example, the robot's dust box is placed incorrectly, which is a second level of fault; there is no data on the negative pressure sensor, which is a third level of fault.
[0163] In practice, a preset mapping relationship may be pre-stored in the robot, and the preset mapping relationship is used to reflect the mapping relationship between fault information and fault level. In this case, the robot determines the fault level of the robot according to the fault information of each target component, which can be achieved through the following process:
[0164] The robot determines the fault level corresponding to the fault information of each target component according to the fault information of each target component and the preset mapping relationship, and obtains a fault set, which includes the fault information of each target component and its corresponding fault level; the robot determines the fault level of the robot according to the fault set.
[0165] Specifically, the robot determines the fault level of the robot according to the fault set, which may include: if there is at least one target component in the fault set whose fault information belongs to the first level, determining that the fault level of the robot is the first level. If there is no at least one target component in the fault set whose fault information belongs to the first level, but there is at least one target component whose fault information belongs to the second level, determining that the fault level of the robot is the second level. If the fault information of all target components included in the fault set belongs to the third level, determining that the fault level of the robot is the third level.
[0166] Step 703: The robot determines whether to continue to execute the current task according to the fault level of the robot.
[0167] The current task refers to the task that the robot is currently executing.
[0168] Here, when the fault level of the robot is the first level, the robot stops executing the current task; when the fault level of the robot is the second level or the third level, the robot continues executing the current task.
[0169] In this embodiment, if a robot fails during operation, the robot can determine whether to continue to perform the current task according to the fault level of the robot, instead of stopping the current task once a fault occurs. It can be seen that the robot control method provided in this embodiment helps to improve the working efficiency of the robot.
[0170] In some optional implementations of this embodiment, in step 703, the robot determines whether to continue to perform the current task according to the fault level, which may include:
[0171] When the robot's fault level is the first level, the robot stops executing the current task and displays the first prompt interface; when the robot's fault level is the second level or the third level, the robot continues to execute the current task.
[0172] The first prompt interface is usually a pre-set interface. The first prompt interface may include information for prompting an emergency stop. Optionally, the robot may display the information for prompting an emergency stop in the form of a pop-up window, or in the form of a scrolling subtitle.
[0173] In addition, the robot can also use voice prompts to output information for prompting an emergency stop. In this case, the above "When the robot's fault level is the first level, the robot stops executing the current task and displays the first prompt interface, and the first prompt interface includes information for prompting an emergency stop" can be replaced by "When the robot's fault level is the first level, the robot stops executing the current task and voice prompts emergency stop information."
[0174] In a possible embodiment, before the robot continues to perform the current task, the following steps may also be included:
[0175] When the robot's fault level is the second level, the robot displays the second prompt interface; when the robot's fault level is the third level, the robot restarts.
[0176] The second prompt interface is usually a pre-set interface. The second prompt interface may include operation prompt information, and the operation prompt information is used to prompt the operation process of clearing the fault. The operation prompt information may include at least one of the following: video, audio, text, etc.
[0177] In this embodiment, when the robot has different fault levels, the robot takes different corresponding processing measures. Therefore, it can be seen that the robot control method of this embodiment is more flexible and can improve the working efficiency of the robot to a certain extent.
[0178] refer to Figure 8 , Figure 8 is a schematic diagram of a second prompt interface provided in an embodiment of the present application. Figure 8 As shown, the second prompt interface includes the following operation prompt information: The roller brush is entangled, please clean it in time. 1. Please turn off the robot and slowly fall down. 2. Use tools to clean the entanglement. If it cannot be solved, please contact after-sales personnel.
[0179] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0180] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0181] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0182] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0183] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0184] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish descriptions, and cannot be understood as indicating or suggesting relative importance. It should also be understood that although the terms "first", "second", etc. are used to describe various elements in some embodiments of the present application in the text, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, the first table can be named as the second table, and similarly, the second table can be named as the first table without departing from the scope of the various described embodiments. The first table and the second table are both tables, but they are not the same table.
[0185] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0186] The robot control method provided in the embodiments of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, laptop computers, industrial computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), etc. The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
[0187] Fig. 9 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Fig. 9 As shown, the electronic device 900 of this embodiment includes: at least one processor 902 ( Fig. 9 Only one is shown in the figure), a memory 901, in which a computer program 903 that can be run on a processor 902 is stored. When the processor 902 executes the computer program 903, the steps in the above-mentioned robot control method embodiments are implemented, such as Figure 1 Alternatively, when the processor 902 executes the computer program 903, the functions of each module / unit in the above-mentioned device embodiments are implemented.
[0188] The electronic device 900 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device may include, but is not limited to, a memory 901 and a processor 902. Those skilled in the art will appreciate that Fig. 9 It is only an example of the electronic device 900 and does not constitute a limitation of the electronic device 900. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include an input sending device, a network access device, a bus, etc.
[0189] The processor 902 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0190] In some embodiments, the processor 902 may be an internal storage unit of the electronic device 900, such as a hard disk or memory of the electronic device 900. The processor 902 may also be an external storage device of the electronic device 900, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 900. Further, the processor 902 may also include both an internal storage unit of the electronic device 900 and an external storage device. The processor 902 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of a computer program, etc. The processor 902 may also be used to temporarily store data that has been sent or is to be sent.
[0191] In addition, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0192] An embodiment of the present application also provides an electronic device, which includes at least one memory, at least one processor, and a computer program stored in the at least one memory and executable on the at least one processor. When the processor executes the computer program, the electronic device implements the steps of any of the above-mentioned method embodiments.
[0193] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0194] An embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0195] An embodiment of the present application also provides a chip system, which includes a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement the steps in the above-mentioned method embodiments.
[0196] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable storage media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0197] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0198] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0199] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0200] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A robot control method, characterized in that: include: In response to the user selecting the robot's working mode as the automatic cleaning mode, displaying a first configuration interface, wherein the first configuration interface includes a task information list; In response to a user selecting N pieces of target task information in the task information list, determining a working parameter of the robot according to task parameters corresponding to each piece of target task information, wherein N is an integer greater than 0, and the task information in the task information list is information about tasks performed by the robot at a historical moment; Controlling the robot to work according to the working parameters; Alternatively, in response to the user selecting the robot's operating mode as the hand-push cleaning mode, a second configuration interface is displayed, wherein the second configuration interface includes configuration items for a plurality of cleaning modes; In response to a user selecting any cleaning mode as a target cleaning mode and a target cleaning mode value selected by the user, the target cleaning mode value is selected as a working parameter of the robot; The robot is controlled to work according to the working parameters.
2. The robot control method according to claim 1, characterized in that: The task parameters include: cleaning mode, cleaning area and cleaning times. The working parameters of the robot are determined according to the task parameters corresponding to each target task information, including: In the case that the cleaning areas corresponding to the target task information are different, the task parameters corresponding to the target task information are combined according to a preset combination rule to obtain the working parameters of the robot.
3. The robot control method according to claim 1, characterized in that: Determining the working parameters of the robot according to the task parameters corresponding to each of the target task information includes: In the case where the cleaning areas corresponding to the M target task information are the same, determining the regional working parameters of the robot in the overlapping area according to the task parameters in the M target task information, the overlapping area being the cleaning area commonly corresponding to the M target task information, wherein M is an integer greater than 1 and less than N+1; The regional working parameters of the robot in the overlapping area are combined with the regional working parameters of the non-overlapping area to obtain the working parameters of the robot, wherein the non-overlapping area is a cleaning area corresponding to only one target task information.
4. The robot control method according to claim 3, characterized in that: Determining the regional working parameters of the robot in the overlapping area according to the task parameters in the M target task information includes: Determine any one of the M cleaning modes corresponding to the M target task information as the cleaning mode value of the robot in the overlapping area; determine the average value of the M cleaning times corresponding to the M target task information as the cleaning times of the robot in the overlapping area; The cleaning method of the robot in the overlapped area, the number of cleaning times of the robot in the overlapped area and the overlapped area are combined to obtain the regional working parameters of the robot in the overlapped area.
5. The robot control method according to claim 1, characterized in that: The method further includes: obtaining fault information of each target component in the robot during operation of the robot, the target component including at least one of the following: a negative pressure sensor, a dust box, a dust bag, a side brush, and a roller brush; Determine the fault level of the robot according to the fault information of each target component, wherein the fault level includes a first level, a second level and a third level, the fault level corresponding to the first level is higher than the fault level corresponding to the second level, and the fault level corresponding to the second level is higher than the fault level corresponding to the third level; Determine whether to control the robot to continue to perform the current task according to the fault level.
6. The robot control method according to claim 5, characterized in that: The determining, according to the fault level, whether to control the robot to continue to perform the current task comprises: When the fault level is the first level, the robot is controlled to stop executing the current task and a first prompt interface is displayed, wherein the first prompt interface includes information for prompting an emergency stop; when the fault level is the second level or the third level, the robot is controlled to continue executing the current task.
7. The robot control method according to claim 6, characterized in that: Before controlling the robot to continue to perform the current task, the method further includes: When the fault level is the second level, a second prompt interface is displayed, wherein the second prompt interface includes operation prompt information, and the operation prompt information is used to prompt the operation process of clearing the fault; When the fault level is the third level, the robot is restarted.
8. The robot control method according to any one of claims 1 to 7, characterized in that: The first configuration interface further includes a first cleaning control; before controlling the robot to work with the working parameters, the method further includes: In response to the user clicking the first cleaning control, displaying an area division map matching the current floor environment on the first configuration interface; In response to a user's area selection operation in the map, determining the area selected by the area selection operation as a target cleaning area, and displaying a parameter configuration interface; In response to the values of each parameter input by the user in the parameter configuration interface, the input parameter values are determined as target parameters, and the target cleaning area and the target parameters are determined as target working parameters of the robot; And controlling the robot to operate with the operating parameters includes: controlling the robot to operate with the target operating parameters.
9. The robot control method according to claim 1, characterized in that: Each task information in the task information list corresponds to an editing control; the method further includes: In response to the user clicking the editing control corresponding to the first task information, displaying a parameter modification interface; In response to a user modifying a task parameter corresponding to the first task information in the parameter modification interface, determining the modified task parameter as the task parameter corresponding to the first task information, where the first task information is any task information in the task information list; Alternatively, the method further comprises: in response to the working mode of the robot being switched from the hand-push cleaning mode to the automatic cleaning mode, and detecting that the armrest of the robot is not installed at the preset position, displaying a third prompt interface, wherein the third prompt interface includes guidance information for prompting an operation process of installing the armrest at the preset position; In response to detecting that the armrest is installed in the preset position, the display of the third prompt interface ends.
10. The robot control method according to claim 1, characterized in that: The method further comprises: In response to the robot's working mode being the hand-push cleaning mode and detecting the user's closing operation of the hand-push cleaning mode, displaying a prompt message that the hand-push cleaning mode is being closed, controlling the cleaning device to be closed, and keeping the suction device turned on, the cleaning device including a side brush and a roller brush; In response to satisfying a preset stop condition, the suction device is controlled to shut down, and the preset stop condition includes at least one of the following: the maintenance time of the suction device is greater than the first time, or the dragging length of the robot is greater than the first length, wherein the maintenance time is the time from the moment the hand-push cleaning mode is turned off to the current moment, and the dragging length is the trajectory length between the position of the robot when the hand-push cleaning mode is turned off and the current position.
11. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the steps of the method according to any one of claims 1 to 10 when executing the computer program.
12. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.