Cleaning robot, control method and device thereof and readable storage medium
By receiving user input on the operation page of the cleaning robot and automatically determining the movement direction and speed, complex operation problems in the existing technology are solved, more convenient cleaning robot control is achieved, and user operation flow is simplified.
Patent Information
- Application Number
- CN202411376804.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-21
- Publication Date
- 2024-11-22
AI Technical Summary
The operation mode of existing cleaning robots is complicated. Users need to rotate first and then move forward or backward, which can easily lead to excessive or inadequate rotation, which increases the cumbersomeness and inconvenience of operation.
By receiving user input on the operation page, determining the touch position, and automatically determining the movement direction and speed of the cleaning robot, the movement can be completed with a single touch, avoiding manual adjustment of the rotation angle, and simplifying user operations.
It improves the convenience and flexibility of users' control over cleaning robots, reduces operational complexity, avoids the problems of excessive or inadequate rotation, and simplifies user operation process.
Smart Images

Figure CN118986192A_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese patent application with the application date of April 21, 2022, application number "202210420690.0", and invention name "Cleaning robot and its control method and device, readable storage medium". Technical Field
[0002] The present invention belongs to the technical field of intelligent cleaning equipment, and in particular, relates to a control method of a cleaning robot, a control device of a cleaning robot, a cleaning robot and a readable storage medium. Background Art
[0003] At present, the operation page of the cleaning robot is usually provided with four buttons: forward, backward, left rotation and right rotation. When there is an angle between the forward direction of the cleaning robot and the current direction of the cleaning robot, the user needs to rotate the cleaning robot first and then control the cleaning robot to move forward or backward.
[0004] When the user controls the cleaning robot to rotate, over-rotation or under-rotation may occur, so the user needs to adjust the rotation angle of the cleaning robot multiple times, which makes the user's control operation of the cleaning robot cumbersome and brings great inconvenience to the user. Summary of the invention
[0005] The present invention aims to solve one of the technical problems existing in the prior art or related technology.
[0006] In view of this, in a first aspect, the present invention proposes a control method for a cleaning robot, comprising: receiving a first input on an operation page; determining a touch position of the first input on the operation page based on the first input; determining a moving direction of the cleaning robot based on the touch position; and controlling the movement of the cleaning robot based on the moving direction.
[0007] The control method of the cleaning robot provided by the present invention, when receiving the first input executed by the user on the operation page, determines the touch position of the user when executing the first input on the operation page based on the first input. After obtaining the touch position executed by the user on the operation page, the moving direction of the cleaning robot is determined based on the touch position. Based on the determined moving direction, the cleaning robot is controlled to move along the moving direction.
[0008] In a possible application, the operation page is an interface for executing control functions on the cleaning robot on the terminal. The operation page can also be an interface for executing control functions on a controller used in conjunction with the cleaning robot.
[0009] The first input may be a control input, and exemplarily, the first input is one of a click input, a slide input, and a long press input. The user controls the movement of the cleaning robot through the first input on the operation interface.
[0010] When the cleaning robot needs to be controlled to move, the user can perform a first input on the operation page. The position of the first input is the direction of the front of the cleaning robot. Therefore, after obtaining the touch position of the first input, the cleaning robot automatically moves toward the touch position of the first input.
[0011] When controlling the movement of the cleaning robot, the user only needs to select a touch position on the touch interface, and the cleaning robot can be controlled to move by touching the touch position. Compared with the method in the related art where the user first controls the cleaning robot to rotate and then controls the cleaning robot to move forward, the control of the cleaning robot in the present invention only requires a single touch, which simplifies the user's operation.
[0012] Moreover, after the user executes the first input on the operation page, if the current front direction of the cleaning robot deviates from the touch position, the cleaning robot will first rotate and then move forward. However, in the present invention, after selecting to execute the first input, the cleaning robot automatically moves forward according to the touch position or rotates first and then moves forward. The user does not need to manually adjust the rotation angle of the cleaning robot, thereby effectively avoiding the problem of performing multiple operations due to excessive rotation or inadequate rotation of the cleaning robot, further simplifying the user's operation, and helping to improve the user's convenience in controlling the cleaning robot.
[0013] In addition, the control method of the cleaning robot in the above technical solution provided by the present invention may also have the following additional technical features:
[0014] In the above technical solution, the moving direction of the cleaning robot is determined according to the touch position, including: determining the moving direction of the cleaning robot according to a line connecting the geometric center of the operation page and the touch position.
[0015] In this technical solution, after the user touches the operation page, the touch point on the operation page can be obtained, and the touch point and the geometric center of the operation page are connected, with the geometric center on the operation page as the starting point and the touch point as the end point. Therefore, the line points from the geometric center on the operation page to the touch point, and the direction of the line is the moving direction of the cleaning robot. After determining the moving direction of the cleaning robot, the cleaning robot can automatically complete the turning and moving forward, without the user operating the cleaning robot to turn, which is conducive to improving the user's convenience in using the cleaning robot.
[0016] The user's first input may be a click input or a slide input. When the first input is a click input, the touch point can be directly determined. When the first input is a slide input, as the user's finger moves on the operation page, the touch point also changes at any time. Therefore, it can be understood that the slide input generates multiple touch points over time, so the moving direction of the cleaning robot may change at any time. As the user slides on the operation page, the cleaning robot automatically turns and moves forward, thereby improving the user's flexibility in using the cleaning robot.
[0017] Exemplarily, a wheel is provided on the operation page. As the user touches the operation page, the button icons on the wheel will move toward the user's touch position. The direction of the button icons is the moving direction of the cleaning robot. As can be seen from the figure, the buttons can move in any direction along the wheel, so the cleaning robot can achieve omnidirectional movement.
[0018] In any of the above technical solutions, determining the moving direction of the cleaning robot according to the touch position includes: determining the moving direction of the cleaning robot according to a line connecting the display icon of the cleaning robot and the touch position in the operation page.
[0019] In this technical solution, a display image of the cleaning robot is displayed on the operation page, and the display image may be a proportionally reduced graphic of the cleaning robot.
[0020] When the user touches the operation page, the touch point on the operation page can be obtained, and the touch point and the display icon of the cleaning robot are connected, with the display icon as the starting point and the touch point as the end point. Therefore, the connection line points from the display icon on the operation page to the touch point, and the direction of the connection line is the moving direction of the cleaning robot. After determining the moving direction of the cleaning robot, the cleaning robot can automatically complete the turning and moving forward, without the user operating the cleaning robot to turn, which is conducive to improving the user's convenience in using the cleaning robot.
[0021] The user's first input may be a click input or a slide input. When the first input is a click input, the touch point can be directly determined. When the first input is a slide input, as the user's finger moves on the operation page, the touch point also changes at any time. Therefore, it can be understood that the slide input generates multiple touch points over time, so the moving direction of the cleaning robot may change at any time. As the user slides on the operation page, the cleaning robot automatically turns and moves forward, thereby improving the user's flexibility in using the cleaning robot.
[0022] In any of the above technical solutions, after determining the touch position of the first input on the operation page, the method further includes: determining the moving speed of the cleaning robot according to the touch position.
[0023] In this technical solution, the user's touch position on the operation page can indicate not only the moving direction of the cleaning robot, but also the moving speed of the cleaning robot.
[0024] The moving speed of the cleaning robot may be different depending on the user's touch position on the operation page. Therefore, the user can adjust the moving direction of the cleaning robot by adjusting the touch position. When controlling the movement of the cleaning robot, the user only needs to select the touch position on the touch interface, and the moving speed of the cleaning robot can be controlled by touching the touch position. Compared with the method of manually adjusting the moving speed of the cleaning robot in the related art, the control of the cleaning robot in the present invention only requires a single touch, which further simplifies the user's operation.
[0025] For example, the case where the line connecting the geometric center of the operation page and the touch point is the direction of the cleaning robot is used as an example. After the line connecting the geometric center and the touch point is determined, the moving direction of the cleaning robot is determined. On the basis of not changing the moving direction of the cleaning robot, the user's finger can slide on the line, that is, at this time, even if the touch position is changed, the moving direction of the cleaning robot is not changed, but the moving speed of the cleaning robot can be changed in this way.
[0026] In any of the above technical solutions, the moving speed of the robot is determined according to the touch position, including: determining the moving speed of the cleaning robot according to the distance between the geometric center of the operation page and the touch position.
[0027] In this technical solution, when the user touches the operation page, the touch point on the operation page can be obtained. When the distance between the geometric center and the touch point on the operation page is determined, the moving speed of the cleaning robot can be controlled according to the distance between the geometric center and the touch point.
[0028] Exemplarily, the distance between the geometric center and the touch point is proportional to the moving speed. The greater the distance between the touch point on the operation page and the geometric center of the operation page, the faster the cleaning robot moves. The smaller the distance, the slower the moving speed.
[0029] After the user clicks a certain position on the touch page, the cleaning robot starts moving. If the user feels that the cleaning robot moves too slowly or too quickly, the user can slide the finger away from or close to the geometric center of the operation page to quickly adjust the moving speed of the cleaning robot.
[0030] For example, a wheel is provided on the operation page, and the distance from the touch point of the user on the operation page to the center of the wheel determines the moving speed of the cleaning robot. The user can control the moving direction and moving speed at the same time through sliding operation.
[0031] In any of the above technical solutions, determining the moving speed of the robot according to the touch position includes: determining the moving speed of the cleaning robot according to the distance between the display icon of the cleaning robot in the operation page and the touch position.
[0032] In this technical solution, a display image of the cleaning robot is displayed on the operation page, and the display image may be a proportionally reduced graphic of the cleaning robot.
[0033] When the user touches the operation page, the touch point on the operation page can be obtained. When the distance between the display icon on the operation page and the touch point is determined, the moving speed of the cleaning robot can be controlled according to the distance between the display icon and the touch point.
[0034] Exemplarily, the distance between the display icon and the touch point is proportional to the moving speed. When the distance between the touch point of the user on the operation page and the display icon is greater, the moving speed of the cleaning robot is faster. The smaller the distance, the slower the moving speed.
[0035] After the user clicks a certain position on the touch page, the cleaning robot starts to move. If the user feels that the cleaning robot moves too slowly or too quickly, the user can slide the finger away from or towards the displayed icon to quickly adjust the moving speed of the cleaning robot.
[0036] In any of the above technical solutions, the movement of the cleaning robot is controlled according to the moving direction, including: controlling the cleaning robot to rotate and move according to the angle between the moving direction and the center line of the field of view of the cleaning robot.
[0037] In this technical solution, the angle area of the field of view is the range in which the cleaning robot can obtain images. The center line of the field of view is the direction of the head of the current cleaning robot. If the moving direction coincides with the center line of the field of view, it means that the cleaning robot does not need to turn at this time and can move forward or backward directly. If there is an angle between the moving direction and the center line of the field of view, it means that the cleaning robot needs to rotate and move.
[0038] The angle between the moving direction and the center line of the field of view angle can reflect the angle at which the cleaning robot needs to rotate. After obtaining the angle at which the cleaning robot needs to rotate, the moving mode of the cleaning robot is controlled so that the cleaning robot can move stably.
[0039] In any of the above technical solutions, the cleaning robot is controlled to rotate and move according to the angle between the moving direction and the center line of the cleaning robot's field of view angle, including: when the angle between the moving direction and the center line of the cleaning robot's field of view angle is greater than a preset angle, the cleaning robot is controlled to rotate first and then move; when the angle between the moving direction and the center line of the cleaning robot's field of view angle is less than or equal to the preset angle, the cleaning robot is controlled to rotate and move simultaneously.
[0040] In this technical solution, when the angle between the moving direction and the center line of the field of view angle is larger than the preset angle, it means that the cleaning robot needs to rotate a larger angle. At this time, it is necessary to control the cleaning robot to rotate to the position where the center line of the field of view angle coincides with the moving direction, and then control the cleaning robot to move forward, so as to ensure that the cleaning robot can accurately move to the target position. When the angle between the moving direction and the center line of the field of view angle is less than or equal to the preset angle, it means that the cleaning robot needs to rotate a smaller angle to move to the target position. At this time, the cleaning robot can be controlled to adjust the angle while moving. Since the angle required to rotate is small, the angle adjustment can be easily completed, which is conducive to increasing the speed at which the cleaning robot moves to the target position.
[0041] It should be noted that no matter the cleaning robot rotates first and then moves, or rotates and moves at the same time, no user operation is required. The user only needs to select the touch position according to the moving direction and moving speed.
[0042] Exemplarily, the preset angle may be the angle between a center line of the field of view and a boundary of the field of view.
[0043] In the second aspect, the present invention proposes a control device for a cleaning robot, comprising: a receiving module, receiving a first input on an operation page; a first determination module, determining a touch position of the first input on the operation page according to the first input; a second determination module, determining a moving direction of the cleaning robot according to the touch position; and a control module, controlling the movement of the cleaning robot according to the moving direction.
[0044] When receiving a first input executed by a user on an operation page, based on the first input, a touch position when the user executes the first input on the operation page is determined. After obtaining the touch position executed by the user on the operation page, a moving direction of the cleaning robot is determined based on the touch position. Based on the determined moving direction, the cleaning robot is controlled to move along the moving direction.
[0045] In a possible application, the operation page is an interface for executing control functions on the cleaning robot on the terminal. The operation page can also be an interface for executing control functions on a controller used in conjunction with the cleaning robot.
[0046] The first input may be a control input, and exemplarily, the first input is one of a click input, a slide input, and a long press input. The user controls the movement of the cleaning robot through the first input on the operation interface.
[0047] When the cleaning robot needs to be controlled to move, the user can perform a first input on the operation page. The position of the first input is the direction of the front of the cleaning robot. Therefore, after obtaining the touch position of the first input, the cleaning robot automatically moves toward the touch position of the first input.
[0048] When controlling the movement of the cleaning robot, the user only needs to select a touch position on the touch interface, and the cleaning robot can be controlled to move by touching the touch position. Compared with the method in the related art where the user first controls the cleaning robot to rotate and then controls the cleaning robot to move forward, the control of the cleaning robot in the present invention only requires a single touch, which simplifies the user's operation.
[0049] Moreover, after the user executes the first input on the operation page, if the current front direction of the cleaning robot deviates from the touch position, the cleaning robot will first rotate and then move forward. However, in the present invention, after selecting to execute the first input, the cleaning robot automatically moves forward according to the touch position or rotates first and then moves forward. The user does not need to manually adjust the rotation angle of the cleaning robot, thereby effectively avoiding the problem of performing multiple operations due to excessive rotation or inadequate rotation of the cleaning robot, further simplifying the user's operation, and helping to improve the user's convenience in controlling the cleaning robot.
[0050] In the above technical solution, the second determination module is specifically used to determine the moving direction of the cleaning robot according to a line connecting the geometric center of the operation page and the touch position.
[0051] In this technical solution, after the user touches the operation page, the touch point on the operation page can be obtained, and the touch point and the geometric center of the operation page are connected, with the geometric center on the operation page as the starting point and the touch point as the end point. Therefore, the line points from the geometric center on the operation page to the touch point, and the direction of the line is the moving direction of the cleaning robot. After determining the moving direction of the cleaning robot, the cleaning robot can automatically complete the turning and moving forward, without the user operating the cleaning robot to turn, which is conducive to improving the user's convenience in using the cleaning robot.
[0052] The user's first input may be a click input or a slide input. When the first input is a click input, the touch point can be directly determined. When the first input is a slide input, as the user's finger moves on the operation page, the touch point also changes at any time. Therefore, it can be understood that the slide input generates multiple touch points over time, so the moving direction of the cleaning robot may change at any time. As the user slides on the operation page, the cleaning robot automatically turns and moves forward, thereby improving the user's flexibility in using the cleaning robot.
[0053] Exemplarily, a wheel is provided on the operation page. As the user touches the operation page, the button icons on the wheel will move toward the user's touch position. The direction of the button icons is the moving direction of the cleaning robot. As can be seen from the figure, the buttons can move in any direction along the wheel, so the cleaning robot can achieve omnidirectional movement.
[0054] In any of the above technical solutions, the second determination module is specifically used to determine the moving direction of the cleaning robot according to a line connecting the display icon of the cleaning robot and the touch position in the operation page.
[0055] In this technical solution, a display image of the cleaning robot is displayed on the operation page, and the display image may be a proportionally reduced graphic of the cleaning robot.
[0056] When the user touches the operation page, the touch point on the operation page can be obtained, and the touch point and the display icon of the cleaning robot are connected, with the display icon as the starting point and the touch point as the end point. Therefore, the connection line points from the display icon on the operation page to the touch point, and the direction of the connection line is the moving direction of the cleaning robot. After determining the moving direction of the cleaning robot, the cleaning robot can automatically complete the turning and moving forward, without the user operating the cleaning robot to turn, which is conducive to improving the user's convenience in using the cleaning robot.
[0057] The user's first input may be a click input or a slide input. When the first input is a click input, the touch point can be directly determined. When the first input is a slide input, as the user's finger moves on the operation page, the touch point also changes at any time. Therefore, it can be understood that the slide input generates multiple touch points over time, so the moving direction of the cleaning robot may change at any time. As the user slides on the operation page, the cleaning robot automatically turns and moves forward, thereby improving the user's flexibility in using the cleaning robot.
[0058] In any of the above technical solutions, after determining the touch position of the first input on the operation page, the second determination module is further used to: determine the movement speed of the robot according to the touch position.
[0059] In this technical solution, the user's touch position on the operation page can indicate not only the moving direction of the cleaning robot, but also the moving speed of the cleaning robot.
[0060] The moving speed of the cleaning robot may be different depending on the user's touch position on the operation page. Therefore, the user can adjust the moving direction of the cleaning robot by adjusting the touch position. When controlling the movement of the cleaning robot, the user only needs to select the touch position on the touch interface, and the moving speed of the cleaning robot can be controlled by touching the touch position. Compared with the method of manually adjusting the moving speed of the cleaning robot in the related art, the control of the cleaning robot in the present invention only requires a single touch, which further simplifies the user's operation.
[0061] For example, the case where the line connecting the geometric center of the operation page and the touch point is the direction of the cleaning robot is used as an example. After the line connecting the geometric center and the touch point is determined, the moving direction of the cleaning robot is determined. On the basis of not changing the moving direction of the cleaning robot, the user's finger can slide on the line, that is, at this time, even if the touch position is changed, the moving direction of the cleaning robot is not changed, but the moving speed of the cleaning robot can be changed in this way.
[0062] In any of the above technical solutions, the second determination module is specifically used to determine the moving speed of the cleaning robot according to the distance between the geometric center of the operation page and the touch position.
[0063] In this technical solution, when the user touches the operation page, the touch point on the operation page can be obtained. When the distance between the geometric center and the touch point on the operation page is determined, the moving speed of the cleaning robot can be controlled according to the distance between the geometric center and the touch point.
[0064] Exemplarily, the distance between the geometric center and the touch point is proportional to the moving speed. The greater the distance between the touch point on the operation page and the geometric center of the operation page, the faster the cleaning robot moves. The smaller the distance, the slower the moving speed.
[0065] After the user clicks a certain position on the touch page, the cleaning robot starts moving. If the user feels that the cleaning robot moves too slowly or too quickly, the user can slide the finger away from or close to the geometric center of the operation page to quickly adjust the moving speed of the cleaning robot.
[0066] For example, a wheel is provided on the operation page, and the distance from the touch point of the user on the operation page to the center of the wheel determines the moving speed of the cleaning robot. The user can control the moving direction and moving speed at the same time through sliding operation.
[0067] In any of the above technical solutions, the second determination module is specifically used to determine the moving speed of the cleaning robot according to the distance between the display icon of the cleaning robot and the touch position in the operation page.
[0068] In this technical solution, a display image of the cleaning robot is displayed on the operation page, and the display image may be a proportionally reduced graphic of the cleaning robot.
[0069] When the user touches the operation page, the touch point on the operation page can be obtained. When the distance between the display icon on the operation page and the touch point is determined, the moving speed of the cleaning robot can be controlled according to the distance between the display icon and the touch point.
[0070] Exemplarily, the distance between the display icon and the touch point is proportional to the moving speed. When the distance between the touch point of the user on the operation page and the display icon is greater, the moving speed of the cleaning robot is faster. The smaller the distance, the slower the moving speed.
[0071] After the user clicks a certain position on the touch page, the cleaning robot starts to move. If the user feels that the cleaning robot moves too slowly or too quickly, the user can slide the finger away from or towards the displayed icon to quickly adjust the moving speed of the cleaning robot.
[0072] In any of the above technical solutions, the second determination module is specifically used to control the rotation and movement of the cleaning robot according to the angle between the moving direction and the center line of the field of view of the cleaning robot.
[0073] In this technical solution, the angle area of the field of view is the range in which the cleaning robot can obtain images. The center line of the field of view is the direction of the head of the current cleaning robot. If the moving direction coincides with the center line of the field of view, it means that the cleaning robot does not need to turn at this time and can move forward or backward directly. If there is an angle between the moving direction and the center line of the field of view, it means that the cleaning robot needs to rotate and move.
[0074] The angle between the moving direction and the center line of the field of view angle can reflect the angle at which the cleaning robot needs to rotate. After obtaining the angle at which the cleaning robot needs to rotate, the moving mode of the cleaning robot is controlled so that the cleaning robot can move stably.
[0075] In any of the above technical solutions, the second determination module is specifically used to: when the angle between the moving direction and the center line of the cleaning robot's field of view angle is greater than a preset angle, control the cleaning robot to rotate first and then move; when the angle between the moving direction and the center line of the cleaning robot's field of view angle is less than or equal to a preset angle, control the cleaning robot to rotate and move simultaneously.
[0076] In this technical solution, when the angle between the moving direction and the center line of the field of view angle is larger than the preset angle, it means that the cleaning robot needs to rotate a larger angle. At this time, it is necessary to control the cleaning robot to rotate to the position where the center line of the field of view angle coincides with the moving direction, and then control the cleaning robot to move forward, so as to ensure that the cleaning robot can accurately move to the target position. When the angle between the moving direction and the center line of the field of view angle is less than or equal to the preset angle, it means that the cleaning robot needs to rotate a smaller angle to move to the target position. At this time, the cleaning robot can be controlled to adjust the angle while moving. Since the angle required to rotate is small, the angle adjustment can be easily completed, which is conducive to increasing the speed at which the cleaning robot moves to the target position.
[0077] It should be noted that no matter the cleaning robot rotates first and then moves, or rotates and moves at the same time, no user operation is required. The user only needs to select the touch position according to the moving direction and moving speed.
[0078] Exemplarily, the preset angle may be the angle between a center line of the field of view and a boundary of the field of view.
[0079] In a third aspect, the present invention provides a control device for a cleaning robot, comprising: a controller and a memory, wherein the memory stores a program or instruction, and the controller implements the steps of the method in any of the above technical solutions when executing the program or instruction in the memory. The same technical effect can be achieved, which will not be described in detail here.
[0080] In a fourth aspect, the present invention provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method in any of the above technical solutions are implemented. The same technical effects can be achieved, which will not be repeated here.
[0081] In a fifth aspect, the present invention provides a cleaning robot, comprising: a control device as in the above technical solution; and / or a readable storage medium as in the above technical solution. The same technical effects can be achieved, which will not be described in detail here.
[0082] Additional aspects and advantages of the present invention will become apparent from the following description or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0083] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0084] Figure 1 A flow chart showing a method for controlling a cleaning robot in an embodiment of the present invention is shown;
[0085] Figure 2A schematic diagram showing that a button icon in an operation page in an embodiment of the present invention is not operated;
[0086] Figure 3 A schematic diagram showing a button icon in an operation page after being operated in an embodiment of the present invention is shown;
[0087] Figure 4 One of the schematic block diagrams of the control device of the cleaning robot in an embodiment of the present invention is shown;
[0088] Figure 5 The second schematic block diagram of the control device of the cleaning robot in the embodiment of the present invention is shown.
[0089] in, Figure 2 and Figure 3 The corresponding relationship between the reference numerals and the component names is as follows:
[0090] 200 roulette wheel, 300 button icons. DETAILED DESCRIPTION
[0091] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0092] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0093] Refer to the following Figures 1 to 5 A control method for a cleaning robot, a control device for a cleaning robot, a cleaning robot, and a readable storage medium provided according to some embodiments of the present invention are described.
[0094] like Figure 1 As shown, in an embodiment of the present invention, a control method for a cleaning robot is proposed, comprising:
[0095] Step 102, obtaining the first input on the operation page;
[0096] Step 104, based on the first input, obtaining a touch position of the first input on the operation page;
[0097] Step 106, obtaining the moving direction of the cleaning robot based on the touch position;
[0098] Step 108, based on the moving direction, control the movement of the cleaning robot.
[0099] The control method of the cleaning robot provided in this embodiment, when receiving the first input executed by the user on the operation page, determines the touch position when the user executes the first input on the operation page based on the first input. After obtaining the touch position executed by the user on the operation page, the moving direction of the cleaning robot is determined based on the touch position. Based on the determined moving direction, the cleaning robot is controlled to move along the moving direction.
[0100] In a possible application, the operation page is an interface for executing control functions on the cleaning robot on the terminal. The operation page can also be an interface for executing control functions on a controller used in conjunction with the cleaning robot.
[0101] The first input may be a control input, and exemplarily, the first input is one of a click input, a slide input, and a long press input. The user controls the movement of the cleaning robot through the first input on the operation interface.
[0102] When the cleaning robot needs to be controlled to move, the user can perform a first input on the operation page. The position of the first input is the direction of the front of the cleaning robot. Therefore, after obtaining the touch position of the first input, the cleaning robot automatically moves toward the touch position of the first input.
[0103] When controlling the movement of the cleaning robot, the user only needs to select a touch position on the touch interface, and the cleaning robot can be controlled to move by touching the touch position. Compared with the method in the related art where the user first controls the cleaning robot to rotate and then controls the cleaning robot to move forward, the control of the cleaning robot in the present invention only requires a single touch, which simplifies the user's operation.
[0104] Moreover, after the user executes the first input on the operation page, if the current front direction of the cleaning robot deviates from the touch position, the cleaning robot will first rotate and then move forward. However, in the present invention, after selecting to execute the first input, the cleaning robot automatically moves forward according to the touch position or rotates first and then moves forward. The user does not need to manually adjust the rotation angle of the cleaning robot, thereby effectively avoiding the problem of performing multiple operations due to excessive rotation or inadequate rotation of the cleaning robot, further simplifying the user's operation, and helping to improve the user's convenience in controlling the cleaning robot.
[0105] The control efficiency of the remote-controlled cleaning robot has been improved through innovations in the cunning interface and the cleaning robot's response to control commands.
[0106] In the above embodiment, the step of obtaining the moving direction of the cleaning robot based on the touch position includes: obtaining the moving direction of the cleaning robot based on a line connecting the touch position and the geometric center of the operation page.
[0107] In this embodiment, after the user touches the operation page, the touch point on the operation page can be obtained, and the touch point and the geometric center of the operation page are connected, with the geometric center on the operation page as the starting point and the touch point as the end point. Therefore, the line points from the geometric center on the operation page to the touch point, and the direction of the line is the moving direction of the cleaning robot. After determining the moving direction of the cleaning robot, the cleaning robot can automatically turn and move forward without the user operating the cleaning robot to turn, which is conducive to improving the user's convenience in using the cleaning robot.
[0108] The user's first input may be a click input or a slide input. When the first input is a click input, the touch point can be directly determined. When the first input is a slide input, as the user's finger moves on the operation page, the touch point also changes at any time. Therefore, it can be understood that the slide input generates multiple touch points over time, so the moving direction of the cleaning robot may change at any time. As the user slides on the operation page, the cleaning robot automatically turns and moves forward, thereby improving the user's flexibility in using the cleaning robot.
[0109] For example, in combination Figure 2 and Figure 3 As shown, the operation page is a virtual joystick graphic with a wheel 200 arranged on it. As the user touches the operation page, the button icon 300 on the wheel 200 moves toward the user's touch position. The user can press and hold the button icon 300 with a finger and move it in any direction. The direction of the button icon 300 is the moving direction of the cleaning robot. As can be seen from the figure, the button can move in any direction along the wheel 200, so the cleaning robot can achieve omnidirectional movement. Figure 3 The circular area where the middle arrow is located is the pressing position of the user's finger. When the user stops releasing the finger, the button icon 300 will automatically return to the center of the wheel 200, stop issuing operation instructions, and the cleaning robot stops moving.
[0110] In any of the above embodiments, the step of obtaining the moving direction of the cleaning robot based on the touch position includes: obtaining the moving direction of the cleaning robot based on a line connecting the touch position and a display icon of the cleaning robot in the operation page.
[0111] In this embodiment, a display image of the cleaning robot is displayed on the operation page, and the display image may be a scaled-down graphic of the cleaning robot.
[0112] When the user touches the operation page, the touch point on the operation page can be obtained, and the touch point and the display icon of the cleaning robot are connected, with the display icon as the starting point and the touch point as the end point. Therefore, the connection line points from the display icon on the operation page to the touch point, and the direction of the connection line is the moving direction of the cleaning robot. After determining the moving direction of the cleaning robot, the cleaning robot can automatically complete the turning and moving forward, without the user operating the cleaning robot to turn, which is conducive to improving the user's convenience in using the cleaning robot.
[0113] The user's first input may be a click input or a slide input. When the first input is a click input, the touch point can be directly determined. When the first input is a slide input, as the user's finger moves on the operation page, the touch point also changes at any time. Therefore, it can be understood that the slide input generates multiple touch points over time, so the moving direction of the cleaning robot may change at any time. As the user slides on the operation page, the cleaning robot automatically turns and moves forward, thereby improving the user's flexibility in using the cleaning robot.
[0114] In any of the above embodiments, after the step of obtaining the touch position of the first input on the operation page, the step further includes: obtaining the moving speed of the cleaning robot based on the touch position.
[0115] In this embodiment, the user's touch position on the operation page can indicate not only the moving direction of the cleaning robot, but also the moving speed of the cleaning robot.
[0116] The moving speed of the cleaning robot may be different depending on the user's touch position on the operation page. Therefore, the user can adjust the moving direction of the cleaning robot by adjusting the touch position. When controlling the movement of the cleaning robot, the user only needs to select the touch position on the touch interface, and the moving speed of the cleaning robot can be controlled by touching the touch position. Compared with the method of manually adjusting the moving speed of the cleaning robot in the related art, the control of the cleaning robot in the present invention only requires a single touch, which further simplifies the user's operation.
[0117] For example, the case where the line connecting the geometric center of the operation page and the touch point is the direction of the cleaning robot is used as an example. After the line connecting the geometric center and the touch point is determined, the moving direction of the cleaning robot is determined. On the basis of not changing the moving direction of the cleaning robot, the user's finger can slide on the line, that is, at this time, even if the touch position is changed, the moving direction of the cleaning robot is not changed, but the moving speed of the cleaning robot can be changed in this way.
[0118] The instructions for the moving speed and moving direction mentioned in the above embodiments are sent to the cleaning robot via a network / Bluetooth or other protocol.
[0119] In any of the above embodiments, the step of obtaining the moving speed of the cleaning robot based on the touch position includes: obtaining the moving speed of the cleaning robot based on the distance between the touch position and the geometric center of the operation page.
[0120] In this embodiment, after the user touches the operation page, the touch point on the operation page can be obtained. When the distance between the geometric center and the touch point on the operation page is determined, the moving speed of the cleaning robot can be controlled according to the distance between the geometric center and the touch point.
[0121] Exemplarily, the distance between the geometric center and the touch point is proportional to the moving speed. The greater the distance between the touch point on the operation page and the geometric center of the operation page, the faster the cleaning robot moves. The smaller the distance, the slower the moving speed.
[0122] After the user clicks a certain position on the touch page, the cleaning robot starts moving. If the user feels that the cleaning robot moves too slowly or too quickly, the user can slide the finger away from or close to the geometric center of the operation page to quickly adjust the moving speed of the cleaning robot.
[0123] For example, a wheel is provided on the operation page, and the distance from the touch point of the user on the operation page to the center of the wheel determines the moving speed of the cleaning robot. The user can control the moving direction and moving speed at the same time through sliding operation.
[0124] In any of the above embodiments, the step of obtaining the moving speed of the cleaning robot based on the touch position includes: obtaining the moving speed of the cleaning robot based on the distance between the touch position and a display icon of the cleaning robot in the operation page.
[0125] In this embodiment, a display image of the cleaning robot is displayed on the operation page, and the display image may be a scaled-down graphic of the cleaning robot.
[0126] When the user touches the operation page, the touch point on the operation page can be obtained. When the distance between the display icon on the operation page and the touch point is determined, the moving speed of the cleaning robot can be controlled according to the distance between the display icon and the touch point.
[0127] Exemplarily, the distance between the display icon and the touch point is proportional to the moving speed. When the distance between the touch point of the user on the operation page and the display icon is greater, the moving speed of the cleaning robot is faster. The smaller the distance, the slower the moving speed.
[0128] After the user clicks a certain position on the touch page, the cleaning robot starts to move. If the user feels that the cleaning robot moves too slowly or too quickly, the user can slide the finger away from or towards the displayed icon to quickly adjust the moving speed of the cleaning robot.
[0129] In any of the above embodiments, the step of controlling the movement of the cleaning robot based on the moving direction includes: controlling the cleaning robot to rotate and move based on the angle between the center line of the field of view of the cleaning robot and the moving direction.
[0130] In this embodiment, the angle area of the field of view is the range in which the cleaning robot can obtain images. The center line of the field of view is the direction of the head of the current cleaning robot. If the moving direction coincides with the center line of the field of view, it means that the cleaning robot does not need to turn at this time and can move forward or backward directly. If there is an angle between the moving direction and the center line of the field of view, it means that the cleaning robot needs to rotate and move.
[0131] The angle between the moving direction and the center line of the field of view angle can reflect the angle at which the cleaning robot needs to rotate. After obtaining the angle at which the cleaning robot needs to rotate, the moving mode of the cleaning robot is controlled so that the cleaning robot can move stably.
[0132] In any of the above embodiments, the step of controlling the rotation and movement of the cleaning robot based on the angle between the center line of the cleaning robot's field of view angle and the moving direction includes: when the angle between the moving direction and the center line of the cleaning robot's field of view angle is greater than a preset angle, controlling the cleaning robot to rotate first and then move; when the angle between the moving direction and the center line of the cleaning robot's field of view angle is less than or equal to a preset angle, controlling the cleaning robot to move and rotate simultaneously.
[0133] In this embodiment, when the angle between the moving direction and the center line of the field of view angle is larger than the preset angle, it means that the cleaning robot needs to rotate to a larger angle. At this time, it is necessary to control the cleaning robot to rotate to the position where the center line of the field of view angle coincides with the moving direction, and then control the cleaning robot to move forward, so as to ensure that the cleaning robot can accurately move to the target position. When the angle between the moving direction and the center line of the field of view angle is less than or equal to the preset angle, it means that the cleaning robot needs to rotate a smaller angle to move to the target position. At this time, the cleaning robot can be controlled to adjust the angle while moving. Since the angle required to rotate is small, the angle adjustment can be easily completed, which is conducive to increasing the speed at which the cleaning robot moves to the target position.
[0134] It should be noted that no matter the cleaning robot rotates first and then moves, or rotates and moves at the same time, no user operation is required. The user only needs to select the touch position according to the moving direction and moving speed.
[0135] Exemplarily, the preset angle may be the angle between a center line of the field of view and a boundary of the field of view.
[0136] When the cleaning robot receives a manual control command, if the current direction of the cleaning robot's head deviates from the received target direction, it will quickly rotate in place, rotate the robot to the target direction through the angle closed-loop control system inside the cleaning robot, and then move forward according to the received speed command. If the current direction of the cleaning robot's head deviates slightly from the received target direction, it will directly move forward according to the received speed command. When the deviation is not large, the response strategy can be to rotate while moving straight.
[0137] like Figure 4 As shown, in an embodiment of the present invention, a control device 400 of a cleaning robot is proposed, comprising:
[0138] A receiving module 410 obtains a first input on the operation page;
[0139] A first determination module 420 obtains a touch position of the first input on the operation page based on the first input;
[0140] A second determination module 430 obtains a moving direction of the cleaning robot based on the touch position;
[0141] The control module 440 controls the movement of the cleaning robot based on the moving direction.
[0142] When receiving a first input executed by a user on an operation page, based on the first input, a touch position when the user executes the first input on the operation page is determined. After obtaining the touch position executed by the user on the operation page, a moving direction of the cleaning robot is determined based on the touch position. Based on the determined moving direction, the cleaning robot is controlled to move along the moving direction.
[0143] In a possible application, the operation page is an interface for executing control functions on the cleaning robot on the terminal. The operation page can also be an interface for executing control functions on a controller used in conjunction with the cleaning robot.
[0144] The first input may be a control input, and exemplarily, the first input is one of a click input, a slide input, and a long press input. The user controls the movement of the cleaning robot through the first input on the operation interface.
[0145] When the cleaning robot needs to be controlled to move, the user can perform a first input on the operation page. The position of the first input is the direction of the front of the cleaning robot. Therefore, after obtaining the touch position of the first input, the cleaning robot automatically moves toward the touch position of the first input.
[0146] When controlling the movement of the cleaning robot, the user only needs to select a touch position on the touch interface, and the cleaning robot can be controlled to move by touching the touch position. Compared with the method in the related art where the user first controls the cleaning robot to rotate and then controls the cleaning robot to move forward, the control of the cleaning robot in the present invention only requires a single touch, which simplifies the user's operation.
[0147] Moreover, after the user executes the first input on the operation page, if the current front direction of the cleaning robot deviates from the touch position, the cleaning robot will first rotate and then move forward. However, in the present invention, after selecting to execute the first input, the cleaning robot automatically moves forward according to the touch position or rotates first and then moves forward. The user does not need to manually adjust the rotation angle of the cleaning robot, thereby effectively avoiding the problem of performing multiple operations due to excessive rotation or inadequate rotation of the cleaning robot, further simplifying the user's operation, and helping to improve the user's convenience in controlling the cleaning robot.
[0148] In the above embodiment, the second determination module is specifically used to obtain the moving direction of the cleaning robot based on the line connecting the touch position and the geometric center of the operation page.
[0149] In this embodiment, after the user touches the operation page, the touch point on the operation page can be obtained, and the touch point and the geometric center of the operation page are connected, with the geometric center on the operation page as the starting point and the touch point as the end point. Therefore, the line points from the geometric center on the operation page to the touch point, and the direction of the line is the moving direction of the cleaning robot. After determining the moving direction of the cleaning robot, the cleaning robot can automatically turn and move forward without the user operating the cleaning robot to turn, which is conducive to improving the user's convenience in using the cleaning robot.
[0150] The user's first input may be a click input or a slide input. When the first input is a click input, the touch point can be directly determined. When the first input is a slide input, as the user's finger moves on the operation page, the touch point also changes at any time. Therefore, it can be understood that the slide input generates multiple touch points over time, so the moving direction of the cleaning robot may change at any time. As the user slides on the operation page, the cleaning robot automatically turns and moves forward, thereby improving the user's flexibility in using the cleaning robot.
[0151] For example, a wheel is provided on the operation page. As the user touches the operation page, the button icon on the wheel moves toward the user's touch position. The direction of the button icon is the moving direction of the cleaning robot. Figure 3 As can be seen in the figure, the button can be moved in any direction along the wheel, so the cleaning robot can achieve omnidirectional movement.
[0152] In any of the above embodiments, the second determination module is specifically used to obtain the moving direction of the cleaning robot based on a line connecting the touch position and a display icon of the cleaning robot in the operation page.
[0153] In this embodiment, a display image of the cleaning robot is displayed on the operation page, and the display image may be a scaled-down graphic of the cleaning robot.
[0154] When the user touches the operation page, the touch point on the operation page can be obtained, and the touch point and the display icon of the cleaning robot are connected, with the display icon as the starting point and the touch point as the end point. Therefore, the connection line points from the display icon on the operation page to the touch point, and the direction of the connection line is the moving direction of the cleaning robot. After determining the moving direction of the cleaning robot, the cleaning robot can automatically complete the turning and moving forward, without the user operating the cleaning robot to turn, which is conducive to improving the user's convenience in using the cleaning robot.
[0155] The user's first input may be a click input or a slide input. When the first input is a click input, the touch point can be directly determined. When the first input is a slide input, as the user's finger moves on the operation page, the touch point also changes at any time. Therefore, it can be understood that the slide input generates multiple touch points over time, so the moving direction of the cleaning robot may change at any time. As the user slides on the operation page, the cleaning robot automatically turns and moves forward, thereby improving the user's flexibility in using the cleaning robot.
[0156] In any of the above embodiments, after obtaining the touch position of the first input on the operation page, the second determination module is further used to: obtain the moving speed of the cleaning robot based on the touch position.
[0157] In this embodiment, the user's touch position on the operation page can indicate not only the moving direction of the cleaning robot, but also the moving speed of the cleaning robot.
[0158] The moving speed of the cleaning robot may be different depending on the user's touch position on the operation page. Therefore, the user can adjust the moving direction of the cleaning robot by adjusting the touch position. When controlling the movement of the cleaning robot, the user only needs to select the touch position on the touch interface, and the moving speed of the cleaning robot can be controlled by touching the touch position. Compared with the method of manually adjusting the moving speed of the cleaning robot in the related art, the control of the cleaning robot in the present invention only requires a single touch, which further simplifies the user's operation.
[0159] For example, the case where the line connecting the geometric center of the operation page and the touch point is the direction of the cleaning robot is used as an example. After the line connecting the geometric center and the touch point is determined, the moving direction of the cleaning robot is determined. On the basis of not changing the moving direction of the cleaning robot, the user's finger can slide on the line, that is, at this time, even if the touch position is changed, the moving direction of the cleaning robot is not changed, but the moving speed of the cleaning robot can be changed in this way.
[0160] In any of the above embodiments, the second determination module is specifically used to obtain the moving speed of the cleaning robot based on the distance between the touch position and the geometric center of the operation page.
[0161] In this embodiment, after the user touches the operation page, the touch point on the operation page can be obtained. When the distance between the geometric center and the touch point on the operation page is determined, the moving speed of the cleaning robot can be controlled according to the distance between the geometric center and the touch point.
[0162] Exemplarily, the distance between the geometric center and the touch point is proportional to the moving speed. The greater the distance between the touch point on the operation page and the geometric center of the operation page, the faster the cleaning robot moves. The smaller the distance, the slower the moving speed.
[0163] After the user clicks a certain position on the touch page, the cleaning robot starts moving. If the user feels that the cleaning robot moves too slowly or too quickly, the user can slide the finger away from or close to the geometric center of the operation page to quickly adjust the moving speed of the cleaning robot.
[0164] For example, a wheel is provided on the operation page, and the distance from the touch point of the user on the operation page to the center of the wheel determines the moving speed of the cleaning robot. The user can control the moving direction and moving speed at the same time through sliding operation.
[0165] In any of the above embodiments, the second determination module is specifically used to obtain the moving speed of the cleaning robot based on the distance between the touch position and the display icon of the cleaning robot in the operation page.
[0166] In this embodiment, a display image of the cleaning robot is displayed on the operation page, and the display image may be a scaled-down graphic of the cleaning robot.
[0167] When the user touches the operation page, the touch point on the operation page can be obtained. When the distance between the display icon on the operation page and the touch point is determined, the moving speed of the cleaning robot can be controlled according to the distance between the display icon and the touch point.
[0168] Exemplarily, the distance between the display icon and the touch point is proportional to the moving speed. When the distance between the touch point of the user on the operation page and the display icon is greater, the moving speed of the cleaning robot is faster. The smaller the distance, the slower the moving speed.
[0169] After the user clicks a certain position on the touch page, the cleaning robot starts to move. If the user feels that the cleaning robot moves too slowly or too quickly, the user can slide the finger away from or towards the displayed icon to quickly adjust the moving speed of the cleaning robot.
[0170] In any of the above embodiments, the second determination module is specifically used to control the rotation and movement of the cleaning robot based on the angle between the center line of the field of view of the cleaning robot and the moving direction.
[0171] In this embodiment, the angle area of the field of view is the range in which the cleaning robot can obtain images. The center line of the field of view is the direction of the head of the current cleaning robot. If the moving direction coincides with the center line of the field of view, it means that the cleaning robot does not need to turn at this time and can move forward or backward directly. If there is an angle between the moving direction and the center line of the field of view, it means that the cleaning robot needs to rotate and move.
[0172] The angle between the moving direction and the center line of the field of view angle can reflect the angle at which the cleaning robot needs to rotate. After obtaining the angle at which the cleaning robot needs to rotate, the moving mode of the cleaning robot is controlled so that the cleaning robot can move stably.
[0173] In any of the above embodiments, the second determination module is specifically used to: when the angle between the moving direction and the center line of the cleaning robot's field of view angle is greater than a preset angle, control the cleaning robot to rotate first and then move; when the angle between the moving direction and the center line of the cleaning robot's field of view angle is less than or equal to a preset angle, control the cleaning robot to move and rotate simultaneously.
[0174] In this embodiment, when the angle between the moving direction and the center line of the field of view angle is larger than the preset angle, it means that the cleaning robot needs to rotate to a larger angle. At this time, it is necessary to control the cleaning robot to rotate to the position where the center line of the field of view angle coincides with the moving direction, and then control the cleaning robot to move forward, so as to ensure that the cleaning robot can accurately move to the target position. When the angle between the moving direction and the center line of the field of view angle is less than or equal to the preset angle, it means that the cleaning robot needs to rotate a smaller angle to move to the target position. At this time, the cleaning robot can be controlled to adjust the angle while moving. Since the angle required to rotate is small, the angle adjustment can be easily completed, which is conducive to increasing the speed at which the cleaning robot moves to the target position.
[0175] It should be noted that no matter the cleaning robot rotates first and then moves, or rotates and moves at the same time, no user operation is required. The user only needs to select the touch position according to the moving direction and moving speed.
[0176] Exemplarily, the preset angle may be the angle between a center line of the field of view and a boundary of the field of view.
[0177] like Figure 5 As shown, in an embodiment of the present invention, a control device 500 of a cleaning robot is provided, comprising: a controller 510 and a memory 520, wherein the memory 520 stores a program or instruction, and the controller 510 implements the steps of the method of any of the above embodiments when executing the program or instruction in the memory 520. And the same technical effect can be achieved, which will not be repeated here.
[0178] In an embodiment of the present invention, a readable storage medium is provided, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method in any of the above embodiments are implemented, and the same technical effects can be achieved, which will not be described in detail here.
[0179] In an embodiment of the present invention, a cleaning robot is provided, comprising: a control device as in the above embodiment; and / or a readable storage medium as in the above embodiment. The same technical effects can be achieved, which will not be described in detail here.
[0180] In the present invention, the term "plurality" refers to two or more than two, unless otherwise clearly defined. The terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; "connected" can be a direct connection or an indirect connection through an intermediate medium. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0181] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0182] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A control method for a cleaning robot, characterized in that: include: Receiving a first input on an operation page, wherein the operation page is a virtual joystick graphic, and a wheel is provided on the virtual joystick graphic; According to the first input, a touch position of the first input on the operation page is determined, and the button icon on the wheel moves toward the touch position; Determining a moving direction of the cleaning robot according to the touch position; The cleaning robot is controlled to move according to the moving direction.
2. The control method according to claim 1, characterized in that: Determining the moving direction of the cleaning robot according to the touch position includes: The moving direction of the cleaning robot is determined according to a line connecting the center of the wheel and the touch position.
3. The control method according to claim 1, characterized in that: After determining the touch position of the first input on the operation page, the method further includes: The moving speed of the robot is determined according to the touch position.
4. The control method according to any one of claims 1 to 3, characterized in that: The step of controlling the movement of the cleaning robot according to the moving direction comprises: The cleaning robot is controlled to rotate and move according to the angle between the moving direction and the center line of the field of view of the cleaning robot.
5. The control method according to claim 4, characterized in that: The controlling the cleaning robot to rotate and move according to the angle between the moving direction and the center line of the field of view of the cleaning robot comprises: When the angle between the moving direction and the center line of the field of view of the cleaning robot is greater than a preset angle, controlling the cleaning robot to rotate first and then move; When the angle between the moving direction and the center line of the field of view of the cleaning robot is less than or equal to a preset angle, the cleaning robot is controlled to rotate and move simultaneously.
6. The control method according to any one of claims 1 to 3, characterized in that: The button icon can move in any direction along the wheel, and the direction of the button icon is the moving direction of the cleaning robot.
7. The control method according to any one of claims 1 to 3, characterized in that: After the first input, the button icon returns to the center position of the wheel and the cleaning robot stops moving.
8. The control method according to any one of claims 1 to 3, characterized in that: The distance from the touch position to the center of the wheel disc determines the moving speed of the cleaning robot.
9. The control method according to any one of claims 1 to 3, characterized in that: The first input includes a sliding operation, and the sliding operation realizes the control of the moving direction and moving speed of the cleaning robot.
10. A control device for a cleaning robot, characterized in that: include: A receiving module receives a first input on an operation page, wherein the operation page is a virtual joystick graphic, and a wheel is provided on the virtual joystick graphic; A first determination module, which determines, according to the first input, a touch position of the first input on the operation page, and the button icon on the wheel moves toward the touch position; A second determination module determines a moving direction of the cleaning robot according to the touch position; The control module controls the movement of the cleaning robot according to the moving direction.
11. A control device for a cleaning robot, characterized in that: include: A controller and a memory, wherein the memory stores a program or instruction, and the controller implements the steps of the method according to any one of claims 1 to 9 when executing the program or instruction in the memory.
12. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
13. A cleaning robot, characterized in that: include: A control device as claimed in claim 10 or 11; and / or The readable storage medium as claimed in claim 12.
