CN113598652B - Robot control method, robot control device, cleaning robot and storage medium - Google Patents

Robot control method, robot control device, cleaning robot and storage medium Download PDF

Info

Publication number
CN113598652B
CN113598652B CN202110666362.4A CN202110666362A CN113598652B CN 113598652 B CN113598652 B CN 113598652B CN 202110666362 A CN202110666362 A CN 202110666362A CN 113598652 B CN113598652 B CN 113598652B
Authority
CN
China
Prior art keywords
cleaning
cleaning robot
base station
value
dirty
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110666362.4A
Other languages
Chinese (zh)
Other versions
CN113598652A (en
Inventor
郑权
钟智渊
张文凯
陈爱雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zbeetle Intelligent Co Ltd
Original Assignee
Shenzhen Zbeetle Intelligent Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zbeetle Intelligent Co Ltd filed Critical Shenzhen Zbeetle Intelligent Co Ltd
Priority to CN202110666362.4A priority Critical patent/CN113598652B/en
Publication of CN113598652A publication Critical patent/CN113598652A/en
Application granted granted Critical
Publication of CN113598652B publication Critical patent/CN113598652B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/24Floor-sweeping machines, motor-driven
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/28Floor-scrubbing machines, motor-driven
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/4002Installations of electric equipment
    • A47L11/4008Arrangements of switches, indicators or the like
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/4091Storing or parking devices, arrangements therefor; Means allowing transport of the machine when it is not being used
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/4094Accessories to be used in combination with conventional vacuum-cleaning devices
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/97Determining parameters from multiple pictures
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L2201/00Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
    • A47L2201/02Docking stations; Docking operations
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L2201/00Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
    • A47L2201/02Docking stations; Docking operations
    • A47L2201/024Emptying dust or waste liquid containers
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L2201/00Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
    • A47L2201/02Docking stations; Docking operations
    • A47L2201/026Refilling cleaning liquid containers
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L2201/00Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
    • A47L2201/02Docking stations; Docking operations
    • A47L2201/028Refurbishing floor engaging tools, e.g. cleaning of beating brushes
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30164Workpiece; Machine component

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Electric Vacuum Cleaner (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

The application discloses a robot control method and device, a cleaning robot and a storage medium, and relates to the technical field of intelligent cleaning robots. The method comprises the following steps: detecting an equipment state of the cleaning robot in a cleaning process of the cleaning robot; when the equipment state meets a preset state condition, moving to a base station, wherein the preset state condition is a state condition when the cleaning robot cannot continuously clean; sending a cleaning instruction to the base station to instruct the base station to clean the cleaning robot. Therefore, the cleaning part of the cleaning robot is cleaned by the cleaning robot base station, the user does not need to manually control the operation, and the use experience of the user is improved; compared with manual cleaning, the cleaning effect is better.

Description

机器人控制方法、装置、清洁机器人及存储介质Robot control method, device, cleaning robot and storage medium

技术领域technical field

本申请涉及智能清洁机器人领域,更具体地,涉及一种机器人控制方法、装置、清洁机器人及存储介质。The present application relates to the field of intelligent cleaning robots, and more specifically, to a robot control method and device, a cleaning robot and a storage medium.

背景技术Background technique

在相关技术中,清洁机器人中一般装配有拖布和水箱等,可以实现拖地功能,其中,水箱中的水可以用于湿润拖布,拖布紧贴地面,当清洁机器人移动时,会带着拖布一起移动,从而实现自动拖地功能。但是,在机器人拖了一定地面范围后,机器人的拖布等清洁部件会变脏,可能会导致对后续地面的清洁不彻底等问题。In the related art, the cleaning robot is generally equipped with a mop and a water tank, which can realize the function of mopping the floor. Among them, the water in the water tank can be used to wet the mop, and the mop is close to the ground. When the cleaning robot moves, it will carry the mop together. Move, so as to realize the automatic mopping function. However, after the robot has dragged a certain area of the ground, cleaning parts such as the mop of the robot will become dirty, which may lead to problems such as incomplete cleaning of the subsequent ground.

发明内容Contents of the invention

有鉴于此,本申请提出了一种机器人控制方法、装置、清洁机器人及存储介质。In view of this, the present application proposes a robot control method and device, a cleaning robot and a storage medium.

第一方面,本申请实施例提供了一种机器人控制方法,应用于清洁机器人,所述方法包括:在所述清洁机器人进行清洁的过程中,检测所述清洁机器人的设备状态;当所述设备状态满足预设状态条件时,移动至基站,所述预设状态条件为所述清洁机器人无法继续进行清洁时的状态条件;向所述基站发送清洗指令,以指示所述基站对所述清洁机器人的清洁部件进行清洗。In the first aspect, the embodiment of the present application provides a robot control method, which is applied to a cleaning robot, and the method includes: during the cleaning process of the cleaning robot, detecting the equipment status of the cleaning robot; when the equipment When the state meets the preset state condition, move to the base station, the preset state condition is the state condition when the cleaning robot cannot continue to clean; send a cleaning instruction to the base station to instruct the base station to clean the cleaning robot cleaning parts for cleaning.

第二方面,本申请实施例提供了一种机器人控制装置,应用于清洁机器人,所述装置包括:状态检测模块、控制模块以及指令发送模块。状态检测模块,用于在所述清洁机器人进行清洁的过程中,检测所述清洁机器人的设备状态;控制模块,用于当所述设备状态满足预设状态条件时,移动至基站,所述预设状态条件为所述清洁机器人无法继续进行清洁时的状态条件;指令发送模块,用于向所述基站发送清洗指令,以指示所述基站对所述清洁机器人的清洁部件进行清洗。In a second aspect, the embodiment of the present application provides a robot control device, which is applied to a cleaning robot, and the device includes: a state detection module, a control module, and an instruction sending module. The state detection module is used to detect the equipment status of the cleaning robot during the cleaning process of the cleaning robot; the control module is used to move to the base station when the equipment status meets the preset status conditions, and the preset Let the state condition be the state condition when the cleaning robot cannot continue to clean; the instruction sending module is used to send a cleaning instruction to the base station to instruct the base station to clean the cleaning parts of the cleaning robot.

第三方面,本申请实施例提供了一种清洁机器人,包括:一个或多个处理器;存储器;一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行第一方面提供的机器人控制方法。In a third aspect, the embodiment of the present application provides a cleaning robot, including: one or more processors; memory; one or more programs, wherein the one or more programs are stored in the memory and configured To be executed by the one or more processors, the one or more programs are configured to execute the robot control method provided in the first aspect.

第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有程序代码,所述程序代码可被处理器调用执行第一方面提供的机器人控制方法。In a fourth aspect, the embodiment of the present application provides a computer-readable storage medium, where program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the robot control method provided in the first aspect.

本申请提供的方案中,通过检测清洁机器人的设备状态,在设备状态满足清洁机器人无法继续进行清洁时的状态条件时,移动至清洁机器人基站,由清洁机器人基站对其进行清洗操作。如此,清洁机器人可以根据自身实时的设备状态,确定出无法继续进行清洁时,自动移动至清洁机器人基站,并进行清洗操作,不用用户手动去控制操作,提高了用户使用体验感;并且,由清洁机器人基站对清洁机器人的清洁部件进行清洗,相较于人工清洗,清洗效果更佳,因此,也可以提高后续清洁地面的清洁效果。In the solution provided by this application, by detecting the equipment status of the cleaning robot, when the equipment status meets the status conditions when the cleaning robot cannot continue cleaning, it moves to the cleaning robot base station, and the cleaning robot base station performs cleaning operations on it. In this way, the cleaning robot can automatically move to the base station of the cleaning robot and perform cleaning operations when it determines that cleaning cannot continue according to its real-time equipment status, without requiring the user to manually control the operation, which improves the user experience; and, by cleaning The robot base station cleans the cleaning parts of the cleaning robot. Compared with manual cleaning, the cleaning effect is better. Therefore, it can also improve the cleaning effect of subsequent cleaning floors.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1示出了本申请一实施例提供的机器人控制系统的架构示意图。Fig. 1 shows a schematic diagram of the architecture of a robot control system provided by an embodiment of the present application.

图2示出了本申请一实施例提供的机器人控制方法的流程示意图。Fig. 2 shows a schematic flowchart of a robot control method provided by an embodiment of the present application.

图3示出了本申请另一实施例提供的机器人控制方法的流程示意图。Fig. 3 shows a schematic flowchart of a robot control method provided by another embodiment of the present application.

图4示出了图3所示步骤S340在一种实施方式中的子步骤流程示意图。FIG. 4 shows a schematic flowchart of sub-steps of step S340 shown in FIG. 3 in an implementation manner.

图5示出了本申请再一实施例提供的机器人控制方法的流程示意图。Fig. 5 shows a schematic flowchart of a robot control method provided in yet another embodiment of the present application.

图6示出了本申请再一实施例提供的机器人控制方法的流程示意图。Fig. 6 shows a schematic flowchart of a robot control method provided in yet another embodiment of the present application.

图7示出了本申请再一实施例提供的机器人控制方法的流程示意图。Fig. 7 shows a schematic flowchart of a robot control method provided in yet another embodiment of the present application.

图8示出了本申请再一实施例提供的机器人控制方法的流程示意图。Fig. 8 shows a schematic flowchart of a robot control method provided in yet another embodiment of the present application.

图9示出了本申请再一实施例提供的机器人控制方法的流程示意图。Fig. 9 shows a schematic flow chart of a robot control method provided in yet another embodiment of the present application.

图10是根据本申请一实施例提供的一种机器人控制装置的框图。Fig. 10 is a block diagram of a robot control device provided according to an embodiment of the present application.

图11是本申请实施例的用于执行根据本申请实施例的机器人控制方法的清洁机器人的框图。FIG. 11 is a block diagram of a cleaning robot for performing a robot control method according to an embodiment of the present application according to an embodiment of the present application.

图12是本申请实施例的用于保存或者携带实现根据本申请实施例的机器人控制方法的程序代码的存储单元。Fig. 12 is a storage unit for saving or carrying program codes for realizing the robot control method according to the embodiment of the present application according to the embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

在相关技术中,智能清洁机器人在对地面进行了一段时间的清洁后,自身装配的拖布会变脏,导致对后续地面的清洁不彻底;用户可以将拖布拆卸下来进行清洗,或者,换上干净的拖布,对用户来说操作较为繁琐,使用体验感较差。In related technologies, after the intelligent cleaning robot has cleaned the ground for a period of time, the mop assembled by itself will become dirty, resulting in incomplete cleaning of the subsequent ground; the user can disassemble the mop for cleaning, or replace it with a clean The mop is more cumbersome for the user, and the user experience is poor.

针对上述问题,发明人提出一种机器人控制方法、装置、清洁机器人及存储介质,可以在清洁机器人进行清洁的过程中,检测清洁机器人的设备状态;当设备状态满足预设状态条件时,移动至清洁机器人基站,并向清洁机器人基站发送清洗指令,以指示清洁机器人基站对清洁机器人进行清洗。下面对该内容进行详细描述。In view of the above problems, the inventor proposes a robot control method, device, cleaning robot and storage medium, which can detect the equipment status of the cleaning robot during the cleaning process of the cleaning robot; when the equipment status meets the preset status conditions, move to Clean the robot base station, and send a cleaning instruction to the cleaning robot base station to instruct the cleaning robot base station to clean the cleaning robot. The content is described in detail below.

请参照图1,图1为本申请实施例提供的一种机器人控制系统10的架构示意图。其中,机器人控制系统10包括清洁机器人基站100以及清洁机器人200。Please refer to FIG. 1 , which is a schematic structural diagram of a robot control system 10 provided in an embodiment of the present application. Wherein, the robot control system 10 includes a cleaning robot base station 100 and a cleaning robot 200 .

其中,清洁机器人基站100可以包括停靠室101,当清洁机器人200需要进行补给或者闲置时,清洁机器人200可以停放于清洁机器人基站100中的停靠室101。清洁机器人基站100还可以清洁组件(图1中未示出)。清洁机器人200可以包括第一清水箱、第一污水箱以及清洁部件。其中,清洁机器人200可以使用清洁部件对地面进行清洁,通过第一清水箱中的清水对清洁部件进行清洗,并将清洗后的污水存储至第一污水箱中。第一清水箱设有进水口,用于注入清水;第一污水箱设有排水口,用于排出存储的污水。Wherein, the cleaning robot base station 100 may include a docking room 101 , and when the cleaning robot 200 needs to be replenished or is idle, the cleaning robot 200 may be parked in the docking room 101 in the cleaning robot base station 100 . The cleaning robot base station 100 may also clean components (not shown in FIG. 1 ). The cleaning robot 200 may include a first clean water tank, a first dirty water tank, and cleaning components. Wherein, the cleaning robot 200 may use cleaning components to clean the ground, clean the cleaning components with clean water in the first fresh water tank, and store the cleaned sewage in the first dirty water tank. The first clean water tank is provided with a water inlet for injecting clean water; the first sewage tank is provided with a discharge port for discharging stored sewage.

清洁机器人基站100中的清洁组件包括刮擦组件、第二清水箱、第一水泵和第一连接管路,刮擦组件安装于停靠室101内,并适于与处于停靠室101内的清洁部件接触,对清洁部件进行刮擦清洗;第二清水箱安装于停靠室101内,所述第一水泵连接于所述第二清水箱,并且与所述第一连接管路连通,在清洁机器人200停放于停靠室101时,第一连接管路与第一清水箱的进水口连通,可以将第二清水箱中的清水传输至第一清水箱中。清洁组件还包括第二污水箱、第二水泵和第二连接管路,所述第二污水箱安装于停靠室101内,所述第二水泵连接于所述第二污水箱,并且与所述第二连接管路连通,在清洁机器人200停放于停靠室101时,第二连接管路与第二污水箱的出水口连通,可以将第二污水箱中的污水排放至第二污水箱中。The cleaning assembly in the cleaning robot base station 100 includes a scraping assembly, a second clean water tank, a first water pump and a first connecting pipeline, and the scraping assembly is installed in the docking chamber 101 and is suitable for cleaning components in the docking chamber 101 Contact, scrape and clean the cleaning parts; the second clean water tank is installed in the docking chamber 101, the first water pump is connected to the second clean water tank, and communicates with the first connecting pipeline, and the cleaning robot 200 When parked in the docking room 101, the first connecting pipeline communicates with the water inlet of the first clean water tank, and can transfer the clean water in the second clean water tank to the first clean water tank. The cleaning assembly also includes a second sewage tank, a second water pump and a second connection pipeline, the second sewage tank is installed in the docking chamber 101, the second water pump is connected to the second sewage tank, and is connected to the The second connection pipeline communicates. When the cleaning robot 200 is parked in the docking room 101, the second connection pipeline communicates with the water outlet of the second sewage tank, and the sewage in the second sewage tank can be discharged into the second sewage tank.

另外,机器人基站100还可以包括充电输出端口,清洁机器人200还可以包括充电输入端口。当清洁机器人200停放于停靠室101时,机器人基站100还可以通过充电输出端口向清洁机器人200的充电输入端口提供充电电流,实现为清洁机器人200进行充电。In addition, the robot base station 100 may also include a charging output port, and the cleaning robot 200 may also include a charging input port. When the cleaning robot 200 is parked in the docking room 101 , the robot base station 100 can also provide charging current to the charging input port of the cleaning robot 200 through the charging output port, so as to realize charging for the cleaning robot 200 .

请参照图2,图2为本申请一实施例提供的一种机器人控制方法的流程示意图。下面将结合图2对本申请实施例提供的机器人控制方法进行详细阐述。该机器人控制方法应用于清洁机器人,可以包括以下步骤:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of a robot control method provided by an embodiment of the present application. The robot control method provided by the embodiment of the present application will be described in detail below with reference to FIG. 2 . The robot control method is applied to a cleaning robot and may include the following steps:

步骤S210:在所述清洁机器人进行清洁的过程中,检测所述清洁机器人的设备状态。Step S210: During the cleaning process of the cleaning robot, detect the device status of the cleaning robot.

在本实施例中,清洁机器人可以通过自身装配的清洁部件对地面进行清洁,其中,清洁部件可以是拖布、边扫、滚刷、吸尘盒等,本实施例对此不作限制。以清洁部件是拖布为例,当清洁机器人移动时,可以携带紧贴地面的拖布一起移动,也可以是拖布机构在机器人底盘上自动旋转,并随机器人一起移动拖地,实现自动拖地功能;清洁机器人也可以通过位于其底部的滚刷,将清洁机器人底部地面的灰尘以及部分粘在地面的脏物吸入吸尘盒;清洁机器人还可以通过位于其两侧的边扫装置,将清洁机器人无法抵近的墙边或角落等位置的灰尘及脏物清扫出来。如此,通过多种不同类型的清洁部件对地面进行清洁,可以极大地提高了对地面的清扫效果。In this embodiment, the cleaning robot can clean the ground through self-assembled cleaning components, wherein the cleaning components can be mops, side sweepers, rolling brushes, dust collection boxes, etc., which are not limited in this embodiment. Taking the cleaning part as a mop as an example, when the cleaning robot moves, it can move with the mop that is close to the ground, or the mop mechanism can automatically rotate on the robot chassis and move with the robot to mop the floor to realize the automatic mopping function; The cleaning robot can also suck the dust on the ground at the bottom of the cleaning robot and some of the dirt stuck to the ground into the vacuum box through the roller brush at the bottom; Clean out the dust and dirt near the wall or corner. In this way, the cleaning effect on the ground can be greatly improved by using a plurality of different types of cleaning components to clean the ground.

在一些实施方式中,清洁机器人的设备状态可以包括清洁机器人的清水仓水量、污水仓水量以及剩余电量等设备信息,本实施例对此不作限制。清洁机器人的设备状态可以影响到清洁地面的清洁效果,例如,当清水仓水量不足或者污水仓水量较多时,可能会导致无法对清洁机器人的清洁部件进行及时地清洗,进而造成对后续地面的清洁不彻底的问题;又或者,当剩余电量过低时,也可能会导致清洁机器人的工作效率较低,例如,剩余电量较低可能导致清洁机器人的拖布在地面上来回摩擦的频率较低,使其工作摩擦频率无法达到预设频率,因此,会导致工作效率较低,进而造成对后续地面的清洁不彻底的问题。基于此,可以在清洁机器人进行清洁的过程中,可以检测清洁机器人的设备状态,以便及时的调整清洁机器人的设备状态,保证清洁机器人的清洁效率。In some implementations, the equipment status of the cleaning robot may include equipment information such as the water volume of the clean water tank, the water volume of the sewage tank, and the remaining power of the cleaning robot, which is not limited in this embodiment. The equipment status of the cleaning robot can affect the cleaning effect of the cleaning floor. For example, when the water volume of the clean water tank is insufficient or the water volume of the sewage tank is large, it may not be possible to clean the cleaning parts of the cleaning robot in a timely manner, resulting in subsequent cleaning of the ground. Incomplete problems; or, when the remaining power is too low, it may also lead to low working efficiency of the cleaning robot, for example, the low remaining power may cause the mop of the cleaning robot to rub back and forth on the ground less frequently Its working friction frequency cannot reach the preset frequency, therefore, it will lead to low working efficiency, and then cause the problem of incomplete cleaning of the subsequent ground. Based on this, during the cleaning process of the cleaning robot, the equipment status of the cleaning robot can be detected, so as to adjust the equipment status of the cleaning robot in time to ensure the cleaning efficiency of the cleaning robot.

在一些实施方式中,清洁机器人在进行清洁的过程中,检测其设备状态,可以是实时检测该清洁机器人的设备状态;也可以是,每隔预设时长检测一次清洁机器人的设备状态,其中,预设时长的具体数值可以不做限定,例如,预设时长可以为10秒,30秒,50秒等。In some embodiments, the cleaning robot detects its equipment status during the cleaning process, which may be to detect the equipment status of the cleaning robot in real time; it may also be to detect the equipment status of the cleaning robot every preset time length, wherein, The specific value of the preset duration may not be limited, for example, the preset duration may be 10 seconds, 30 seconds, 50 seconds and so on.

步骤S220:当所述设备状态满足预设状态条件时,移动至清洁机器人基站,所述预设状态条件为所述清洁机器人无法继续进行清洁时的状态条件。Step S220: When the state of the device satisfies a preset state condition, move to the base station of the cleaning robot. The preset state condition is a state condition when the cleaning robot cannot continue cleaning.

其中,预设状态条件可以是清水仓水量小于第一水量阈值、污水仓水量大于第二水量阈值以及剩余电量小于预设电量中的任意一种条件或者多种,本实施例对此不限制。例如,当清洁机器人中的清水仓水量小于第一水量阈值时,判定此时清洁机器人的设备状态满足预设状态条件;当清洁机器人中的污水仓水量大于第二水量阈值时,判定此时清洁机器人的设备状态满足预设状态条件;当清洁机器人中的剩余电量小于预设电量时,判定此时清洁机器人的设备状态满足预设状态条件;或者,当清洁机器人中的清水仓水量小于第一水量阈值、污水仓水量大于第二水量阈值且剩余电量小于预设电量时,判定此时清洁机器人的设备状态满足预设状态条件。在检测到清洁机器人的设备状态后,可以判断设备状态是否满足预设状态条件,当设备状态满足预设状态条件时,表示清洁机器人的设备状态无法满足继续进行清洁,因此清洁机器人移动至清洁机器人基站,由清洁机器人基站对清洁机器人执行相应的目标操作,以调整清洁机器人的设备状态,保证其进行后续清洁工作时的清洁能力。其中,目标操作可以是向清水仓注入清水、排放污水仓的污水或者充电等,本实施例对此不作限制。当设备状态不满足预设状态条件时,表示清洁机器人的设备状态可以保证继续进行清洁,因此清洁机器人可以继续执行对地面的清洁工作。Wherein, the preset state condition may be any one or more conditions in which the water volume of the clean water tank is less than the first water volume threshold, the water volume of the sewage tank is greater than the second water volume threshold, and the remaining power is less than the preset power, which is not limited in this embodiment. For example, when the water volume of the clean water tank in the cleaning robot is less than the first water volume threshold, it is determined that the equipment status of the cleaning robot meets the preset state conditions at this time; The equipment state of the robot meets the preset state conditions; when the remaining power in the cleaning robot is less than the preset power, it is determined that the equipment state of the cleaning robot meets the preset state conditions at this time; or, when the water volume of the clean water tank in the cleaning robot is less than the first When the water volume threshold and the water volume of the sewage tank are greater than the second water volume threshold and the remaining power is less than the preset power, it is determined that the equipment state of the cleaning robot meets the preset state conditions at this time. After detecting the equipment status of the cleaning robot, it can be judged whether the equipment status meets the preset status conditions. When the equipment status meets the preset status conditions, it means that the equipment status of the cleaning robot cannot be satisfied to continue cleaning, so the cleaning robot moves to the cleaning robot Base station, the cleaning robot base station performs corresponding target operations on the cleaning robot to adjust the equipment status of the cleaning robot and ensure its cleaning ability when performing subsequent cleaning work. Wherein, the target operation may be injecting clean water into the clean water tank, discharging sewage from the sewage tank, charging, etc., which is not limited in this embodiment. When the equipment state does not meet the preset state conditions, it means that the equipment state of the cleaning robot can guarantee to continue cleaning, so the cleaning robot can continue to perform the cleaning work on the ground.

作为一种方式,预设状态条件可以是清水仓水量小于所述第一水量阈值、污水仓水量大于第二水量阈值以及剩余电量小于预设电量中的至少一个条件被满足,也就是说,只要检测到的设备状态满足其中任意一个情况即可以确定出设备状态满足预设状态条件。As a way, the preset state condition can be that at least one of the conditions of the water volume of the clean water tank being less than the first water volume threshold, the water volume of the sewage tank being greater than the second water volume threshold, and the remaining power less than the preset power is met, that is to say, as long as If the detected device status satisfies any one of the conditions, it can be determined that the device status satisfies the preset status condition.

步骤S230:向所述清洁机器人基站发送清洗指令,以指示所述清洁机器人基站对所述清洁机器人的清洁部件进行清洗。Step S230: Send a cleaning instruction to the cleaning robot base station to instruct the cleaning robot base station to clean the cleaning parts of the cleaning robot.

在清洁机器人移动至清洁机器人基站后,通常是由清洁机器人基站进行相应的操作,对清洁机器人的清水仓水量、污水仓水量或者电量等进行调整,以改变清洁机器人的设备状态。在本实施例中,在清洁机器人移动至清洁机器人基站,以调整设备状态的同时,可以向清洁机器人基站发送清洗指令,对应地,清洁机器人基站在接收到该清洗指令后,对清洁机器人的清洁部件进行清洗,以提高清洁机器人在后续清洁过程的清洁能力。其中,清洁机器人与清洁机器人可以通过WiFi、蓝牙、紫蜂(ZigBee)网络等通信方式进行数据交互(如传输指令)。After the cleaning robot moves to the cleaning robot base station, the cleaning robot base station usually performs corresponding operations to adjust the water volume of the clean water tank, the sewage tank water volume or the power of the cleaning robot to change the equipment status of the cleaning robot. In this embodiment, when the cleaning robot moves to the cleaning robot base station to adjust the equipment status, it can send a cleaning instruction to the cleaning robot base station. Correspondingly, after receiving the cleaning instruction, the cleaning robot base station will clean the cleaning robot. Parts are cleaned to improve the cleaning ability of the cleaning robot in the subsequent cleaning process. Among them, the cleaning robot and the cleaning robot can perform data interaction (such as transmission instructions) through communication methods such as WiFi, Bluetooth, and ZigBee (ZigBee) network.

上述实施例中,通过检测清洁机器人的设备状态,在设备状态满足预设状态条件时,移动至清洁机器人基站,由清洁机器人基站对其进行清洗操作。如此,清洁机器人可以根据自身实时的设备状态,自动移动至清洁机器人基站,进行清洗操作,不用用户手动去控制操作,提高了用户使用体验感;并且,由清洁机器人基站对清洁机器人的清洁部件进行清洗,相较于人工清洗,清洗效果更佳,因此,也可以提高后续清洁地面的清洁效果。In the above embodiment, by detecting the equipment status of the cleaning robot, when the equipment status meets the preset status conditions, it moves to the cleaning robot base station, and the cleaning robot base station performs cleaning operations on it. In this way, the cleaning robot can automatically move to the cleaning robot base station for cleaning operations according to its own real-time equipment status, without the need for the user to manually control the operation, which improves the user experience; moreover, the cleaning robot base station cleans the cleaning parts of the cleaning robot. Cleaning, compared with manual cleaning, has a better cleaning effect, so it can also improve the cleaning effect of the subsequent cleaning of the floor.

请参照图3,图3为本申请另一实施例提供的一种机器人控制方法的流程示意图。下面将结合图3对本申请实施例提供的机器人控制方法进行详细阐述。该机器人控制方法应用于清洁机器人,可以包括以下步骤:Please refer to FIG. 3 , which is a schematic flowchart of a robot control method provided in another embodiment of the present application. The robot control method provided by the embodiment of the present application will be described in detail below with reference to FIG. 3 . The robot control method is applied to a cleaning robot and may include the following steps:

步骤S310:在所述清洁机器人进行清洁的过程中,检测所述清洁机器人的设备状态。Step S310: During the cleaning process of the cleaning robot, detect the equipment status of the cleaning robot.

步骤S320:当所述设备状态满足预设状态条件时,移动至清洁机器人基站,所述预设状态条件为所述清洁机器人无法继续进行清洁时的状态条件。Step S320: When the state of the device satisfies a preset state condition, move to the cleaning robot base station, where the preset state condition is a state condition when the cleaning robot cannot continue cleaning.

在本申请实施例中,步骤S310-步骤S320可以参阅前述实施例中的内容,在此不再赘述。In the embodiment of the present application, for steps S310 to S320, reference may be made to the content in the foregoing embodiments, and details are not repeated here.

步骤S330:获取清洁机器人的清洁部件的肮脏程度值。Step S330: Obtain the value of the degree of dirtiness of the cleaning parts of the cleaning robot.

在本实施例中,在设备状态满足清洁机器人无法继续时的状态条件时,代表清洁机器人的当前的设备状态不支撑其自身继续进行清洁,但是清洁机器人的清洁部件可能并不是很脏,因此,还可以进一步根据清洁部件的肮脏程度来确定是否需要对清洁机器人基站发送清洗指令。清洁部件可以包括拖布、扫帚、吸尘盒等,本实施例对此不作限制。清洁部件的肮脏程度可以被检测,并且可以将清洁部件的肮脏程度量化为一个具体的肮脏程度值(如0.3),肮脏程度值越大,代表清洁部件越脏。In this embodiment, when the device state meets the state condition when the cleaning robot cannot continue, it means that the current device state of the cleaning robot does not support itself to continue cleaning, but the cleaning parts of the cleaning robot may not be very dirty. Therefore, It can also be further determined according to the degree of dirtiness of the cleaning components whether it is necessary to send a cleaning instruction to the cleaning robot base station. The cleaning components may include a mop, a broom, a dust collection box, etc., which are not limited in this embodiment. The degree of dirtiness of the cleaning part can be detected, and the degree of dirtiness of the cleaning part can be quantified as a specific value of the degree of dirtiness (such as 0.3). The larger the value of the degree of dirtiness, the dirtier the cleaning part is.

在一些实施方式中,清洁机器人可以通过内置的图像采集装置对清洁部件进行图像采集,其中,图像采集装置可以是普通摄像头或深度摄像头等,本实施例对此不作限制。以图像采集装置为深度摄像头为例,其采集得到的图像为深度图像,通过深度摄像头获取当前清洁部件的深度图像作为第一深度图像,提取第一深度图像中的像素点,并对每个像素点的颜色进行分析统计,得到第一深度图像所有像素点的颜色特征集合,作为第一特征集合;在开始清洁之前,可以提前获取干净的清洁部件的深度图像作为第二深度图像,提取第二深度图像中的像素点,并对每个像素点的颜色进行分析统计,得到第二深度图像所有像素点的颜色特征集合,作为第二特征集合。将第一特征集合与第二特征集合进行相似度比对,得到相似度值;并基于该相似度值,确定肮脏程度值,具体地,可以将相似度值的倒数作为肮脏程度值。可以理解地,相似度值越大,代表此时清洁部件与最初干净的清洁部件的图像颜色相似度越高,也就是说,此时的清洁部件的肮脏程度相对较低,对应地,肮脏程度值也越小。In some implementations, the cleaning robot can collect images of the cleaning components through a built-in image collection device, where the image collection device can be a common camera or a depth camera, which is not limited in this embodiment. Taking the image acquisition device as a depth camera as an example, the captured image is a depth image, and the depth image of the current cleaning component is obtained through the depth camera as the first depth image, and the pixels in the first depth image are extracted, and each pixel is The color of the point is analyzed and counted, and the color feature set of all pixels in the first depth image is obtained as the first feature set; before cleaning, the depth image of the clean cleaning part can be obtained in advance as the second depth image, and the second depth image is extracted. pixels in the depth image, and analyze and count the color of each pixel to obtain a color feature set of all pixels in the second depth image as the second feature set. Comparing the similarity between the first feature set and the second feature set to obtain a similarity value; and based on the similarity value, determining the degree of dirtiness, specifically, the reciprocal of the similarity value can be used as the value of the degree of dirtiness. It can be understood that the larger the similarity value, the higher the image color similarity between the cleaning component and the clean cleaning component at this time is, that is to say, the degree of dirtiness of the cleaning component at this time is relatively low, and correspondingly, the dirty The dirtiness value is also smaller.

在另一些实施方式中,清洁机器人可以通过图像采集装置获取当前清洁部件的区域的图像,作为目标图像;对目标图像进行图像识别,获取所述目标图像中包含非清洁部件的其他物品的占比,得到一个占比值,该占比值越高,代表附着于清洁部件上的脏物越多,对应地,肮脏程度值越大。具体地,可以将占比值作为肮脏程度值;也可以将占比值与固定系数的乘积作为肮脏程度值,本实施例对此不作限制。In other embodiments, the cleaning robot can acquire the image of the area of the current cleaning component through the image acquisition device as the target image; perform image recognition on the target image, and obtain the proportion of other items containing non-cleaning components in the target image , to obtain a proportion value, the higher the proportion value, the more dirt attached to the cleaning part, and correspondingly, the greater the degree of dirtiness. Specifically, the proportion value may be used as the degree of dirtiness; the product of the proportion value and a fixed coefficient may also be used as the degree of dirtiness value, which is not limited in this embodiment.

在再一些实施方式中,清洁机器人可以通过图像采集装置获取清洁部件的目标图像,并根据目标图像确定第一目标肮脏程度值;再通过传感器对清洁机器人中的污水仓中的污水进行成分分析,确定该污水的第二目标肮脏程度值;基于第一目标肮脏程度值与第二目标肮脏程度值,确定清洁部件的肮脏程度值。具体地,可以获取第一目标肮脏程度值与第二目标肮脏程度值的均值作为清洁部件的肮脏程度值;也可以将第一目标肮脏程度值与第二目标肮脏程度值中数值最大的作为清洁部件的肮脏程度值,本实施例对此不作限制。In some other implementations, the cleaning robot can acquire the target image of the cleaning component through the image acquisition device, and determine the first target dirty degree value according to the target image; then use the sensor to analyze the composition of the sewage in the sewage bin in the cleaning robot , determine the second target degree of dirtiness value of the sewage; determine the value of the degree of dirtiness of the cleaning component based on the first target degree of dirtiness value and the second target degree of dirtiness value. Specifically, the average value of the first target degree of dirtiness and the second target degree of dirtiness can be obtained as the value of the degree of dirtiness of the cleaning component; The largest numerical value is used as the dirty degree value of the cleaning component, which is not limited in this embodiment.

步骤S340:若所述肮脏程度值大于第一程度值,向所述清洁机器人基站发送清洁指令,以指示所述清洁机器人基站对所述清洁部件进行清洗。Step S340: If the dirty degree value is greater than the first degree value, send a cleaning instruction to the cleaning robot base station to instruct the cleaning robot base station to clean the cleaning component.

基于此,在获取到清洁部件的肮脏程度值后,可以判断肮脏程度值是否大于第一程度值,若肮脏程度值大于第一程度值,则代表此时清洁部件比较脏,因此,可以向清洁机器人基站发送清洁指令,指示清洁机器人基站对清洁部件进行清洗。其中,第一程度值可以是根据历史数据统计得到,也可以是预先设置的默认值,本实施例对此不作限制。第一程度值可以是清洁机器人能够实现较好的清洁效果的清洁部件的最大肮脏程度值,也就是说,若清洁部件的肮脏程度值达到第一程度值时,还继续使用清洁部件对地面进行清洁,则会导致对地面的清洁不彻底,清洁效果较差;当然,若肮脏程度值不大于第一程度值时,则不向清洁机器人基站发送清洁指令。Based on this, after obtaining the dirty degree value of the cleaning part, it can be judged whether the dirty degree value is greater than the first degree value. If the dirty degree value is greater than the first degree value, it means that the cleaning part is dirty at this time. Therefore, A cleaning instruction can be sent to the cleaning robot base station to instruct the cleaning robot base station to clean the cleaning parts. Wherein, the first degree value may be obtained according to historical data statistics, or may be a preset default value, which is not limited in this embodiment. The first degree value can be the maximum dirty degree value of the cleaning part that the cleaning robot can achieve a better cleaning effect, that is to say, if the dirty degree value of the cleaning part reaches the first degree value, continue to use the cleaning part to Cleaning the ground will result in incomplete cleaning of the ground and poor cleaning effect; of course, if the dirty degree value is not greater than the first degree value, no cleaning instruction will be sent to the cleaning robot base station.

在一些实施方式中,请参阅图4,步骤S340可以包括:In some implementation manners, referring to FIG. 4, step S340 may include:

步骤S341:若所述肮脏程度值大于第一程度值,基于所述肮脏程度值以及清水仓水量,确定所述清洁机器人当前可清洁的肮脏程度值,作为第二程度值。Step S341: If the dirty level value is greater than the first level value, based on the dirty level value and the water volume of the clean water tank, determine the current cleanable dirty level value of the cleaning robot as the second level value.

在本实施例中,仅通过图像采集装置获取清洁部件的肮脏程度值可能不准确,为了提高对清洁部件可清洁的肮脏程度判断的准确性,可以结合清水仓水量来确定清洁机器人当前可清洁的肮脏程度值。具体地,当肮脏程度值大于第一程度值时,获取清水仓水量,根据提前存储的清水仓水量与其对应的可以清洁的肮脏程度值的对应关系,确定清洁机器人在该清水仓水量的情况下,当前可以清洁的肮脏程度值,并将当前可以清洁的肮脏程度值作为第二程度值。其中,上述对应关系可以是通过大量的实际数据统计分析得来。例如,清水仓水量包含三个水量区间的水量,0升-1升,1升-2升,2升-4升,上述三个水量区间的水量可以清洁的肮脏程度值的最大值分别为0.3,0.7,1。若获取到的清水仓水量为1.5升,则可以确定该清洁机器人当前可清洁的肮脏程度值为0.7。In this embodiment, it may be inaccurate to obtain the dirty degree value of the cleaning parts only through the image acquisition device. The dirtiness value for cleaning. Specifically, when the dirty degree value is greater than the first degree value, the water volume of the clean water tank is obtained, and according to the corresponding relationship between the stored clean water tank water volume and the corresponding cleanable dirty degree value, the cleaning robot can determine the water volume of the clean water tank. In this case, the current dirtiness value that can be cleaned is used as the second dirtiness value. Wherein, the above corresponding relationship may be obtained through statistical analysis of a large amount of actual data. For example, the water volume of the clean water tank includes the water volume of three water volume ranges, 0L-1L, 1L-2L, 2L-4L, and the maximum value of the dirtiness value of the water volume in the above three water volume ranges is respectively 0.3, 0.7, 1. If the obtained water volume of the clean water tank is 1.5 liters, it can be determined that the current cleanable dirtiness value of the cleaning robot is 0.7.

步骤S342:获取未清洁区域的肮脏程度值,作为第三程度值。Step S342: Obtain the dirty degree value of the uncleaned area as the third degree value.

基于此,在获取到第二程度值后,可以获取未清洁区域的肮脏程度值。Based on this, after obtaining the value of the second degree, the value of the degree of dirtiness of the uncleaned area can be obtained.

在一些实施方式中,可以通过图像采集装置对还未清洁区域进行图像采集,得到未清洁图像,再对未清洁图像进行分析,确定未清洁区域对应的肮脏程度值。具体地,可以将未清洁区域与该区域干净时的图像进行分析,得到对应的肮脏程度值,可以参阅前述实施例中的内容,在此不再赘述。In some embodiments, an image acquisition device may be used to collect images of uncleaned areas to obtain uncleaned images, and then analyze the uncleaned images to determine the degree of dirtiness corresponding to the uncleaned areas. Specifically, the uncleaned area can be analyzed with the image of the area when the area is clean, to obtain the corresponding value of the degree of dirtiness, and reference can be made to the content in the foregoing embodiments, which will not be repeated here.

在另一些实施方式中,清洁机器人可以在还未开始清洁之前,获取全部待清洁区域的全部图像,并且通过同步定位与地图构建技术对清洁机器人进行实时定位以及地图构建;清洁机器人可以根据构建好的地图以及自身的实时定位,确定已清洁的区域和未清洁的区域,并且从提前获取到的清洁区域的全部图像中,获取未清洁区域对应的未清洁图像,再对未清洁图像进行分析,确定未清洁区域对应的肮脏程度值。具体地,可以将未清洁区域与该区域干净时的图像进行分析,得到对应的肮脏程度值,可以参阅前述实施例中的内容,在此不再赘述In other embodiments, the cleaning robot can obtain all images of all areas to be cleaned before cleaning, and perform real-time positioning and map construction of the cleaning robot through synchronous positioning and map construction technology; map and its own real-time positioning, determine the cleaned area and the uncleaned area, and obtain the uncleaned image corresponding to the uncleaned area from all the images of the cleaned area acquired in advance, and then analyze the uncleaned image, Determines the dirtiness value corresponding to the uncleaned area. Specifically, the uncleaned area can be analyzed with the image of the area when the area is clean to obtain the corresponding dirty degree value, which can be referred to the content in the foregoing embodiments, and will not be repeated here.

步骤S343:当所述第二程度值小于所述第三程度值时,向所述清洁机器人基站发送所述清洗指令。Step S343: When the second degree value is smaller than the third degree value, send the cleaning instruction to the cleaning robot base station.

在获取到第二程度值和第三程度值之后,判断两个程度值的大小关系,若第二程度值小于第三程度值,可以确定清洁机器人当前可清洁的能力,无法完成对未清洁区域的清洁,或者说,及时清洁机器人继续对未清洁区域进行清洁,也无法实现彻底的清洁,清洁效果不佳。因此,可以向清洁机器人基站发送清洗指令,在清洁机器人基站对其进行清洗后,再去对未清洁区域进行后续清洁。After obtaining the second degree value and the third degree value, judge the size relationship between the two degree values. If the second degree value is smaller than the third degree value, it can be determined that the cleaning robot is currently able to clean, and it cannot complete cleaning of the uncleaned area. In other words, the timely cleaning robot continues to clean the uncleaned area, and it cannot achieve thorough cleaning, and the cleaning effect is not good. Therefore, a cleaning instruction can be sent to the cleaning robot base station, and after the cleaning robot base station cleans it, follow-up cleaning is performed on the uncleaned area.

在本实施例中,清洁机器人可以在当前可清洁的肮脏程度值小于未清洁区域的肮脏程度值时,向清洁机器人基站发送清洁指令,指示清洁机器人基站自动对清洁机器人的清洁部件进行清洗。如此,结合清洁部件的清洁能力以及未清洁区域的肮脏程度,判断是否需要向清洁机器人基站发送清洗指令,提高了清洗指令发送的准确性,减少清洗指令误发的几率;以及不用用户手动拆卸清洁机器人上的清洁部件,再对拆卸下来的清洁部件进行清洗,操作简单,提高了用户使用体验感;并且,由清洁机器人基站对清洁机器人的清洁部件进行清洗,相较于人工清洗,清洗效果更佳,因此,也可以提高后续清洁地面的清洁效果。In this embodiment, the cleaning robot can send a cleaning instruction to the cleaning robot base station to instruct the cleaning robot base station to automatically clean the cleaning parts of the cleaning robot when the current cleanable dirt level value is less than the dirty level value of the uncleaned area . In this way, combined with the cleaning ability of the cleaning parts and the degree of dirtiness of the uncleaned area, it is judged whether it is necessary to send cleaning instructions to the base station of the cleaning robot, which improves the accuracy of sending cleaning instructions and reduces the chance of sending cleaning instructions by mistake; and does not require manual disassembly by the user Clean the cleaning parts on the robot, and then clean the disassembled cleaning parts, which is easy to operate and improves the user experience; moreover, the cleaning parts of the cleaning robot are cleaned by the cleaning robot base station. Compared with manual cleaning, the cleaning effect is better. Better, therefore, also improves the cleaning effect of the subsequent cleaning of the floor.

请参照图5,图5为本申请再一实施例提供的一种机器人控制方法的流程示意图。下面将结合图5对本申请实施例提供的机器人控制方法进行详细阐述。该机器人控制方法应用于清洁机器人,可以包括以下步骤:Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of a robot control method provided in yet another embodiment of the present application. The robot control method provided by the embodiment of the present application will be described in detail below with reference to FIG. 5 . The robot control method is applied to a cleaning robot and may include the following steps:

步骤S410:在所述清洁机器人进行清洁的过程中,检测所述清洁机器人的设备状态。Step S410: During the cleaning process of the cleaning robot, detect the device status of the cleaning robot.

步骤S420:当所述设备状态满足预设状态条件时,移动至清洁机器人基站,所述预设状态条件为所述清洁机器人无法继续进行清洁时的状态条件。Step S420: When the state of the device satisfies a preset state condition, move to the cleaning robot base station, where the preset state condition is a state condition when the cleaning robot cannot continue cleaning.

步骤S430:获取清洁机器人的清洁部件的肮脏程度值。Step S430: Obtain the value of the degree of dirtiness of the cleaning parts of the cleaning robot.

在本申请实施例中,步骤S410-步骤S430可以参阅前述实施例中的内容,在此不再赘述。In the embodiment of the present application, for steps S410 to S430, reference may be made to the content in the foregoing embodiments, and details are not repeated here.

步骤S440:若所述肮脏程度值小于或等于第一程度值,获取当前已进行清洁的区域的面积,以及所述区域的肮脏程度作为第四程度值。Step S440: If the dirty level value is less than or equal to the first level value, obtain the area of the currently cleaned area and the dirty level of the area as a fourth level value.

在本实施例中,仅根据清洁部件的肮脏程度值就直接判断是否想清洁机器人基站发送清洗指令,可能不准确。基于此,可以结合已清洁区域的面积、该区域的肮脏程度和预设面积,来进一步判断是否需要发送清洗指令至清洁机器人基站。具体地,当肮脏程度值小于或等于第一程度值时,可以进一步获取已进行清洁的区域的面积及其肮脏程度值,来判断是否需要向清洁机器人基站发送清洗指令。In this embodiment, it may not be accurate to directly judge whether to send a cleaning instruction to the base station of the cleaning robot based only on the value of the degree of dirtiness of the cleaning component. Based on this, it can be further judged whether it is necessary to send a cleaning instruction to the cleaning robot base station in combination with the area of the cleaned area, the degree of dirtiness of the area, and the preset area. Specifically, when the dirty degree value is less than or equal to the first degree value, the area of the cleaned area and its dirty degree value may be further acquired to determine whether to send a cleaning instruction to the cleaning robot base station.

在一些实施方式中,获取已进行清洁的区域的面积可以是通过图像采集装置对还已清洁区域进行图像采集,得到已清洁图像,再对已清洁图像的面积进行分析计算,得到已进行清洁的区域的面积。In some embodiments, obtaining the area of the cleaned area may be performed by an image acquisition device to collect images of the cleaned area to obtain a cleaned image, and then analyze and calculate the area of the cleaned image to obtain the cleaned area. The area of the region.

在另一些实施方式中,清洁机器人可以在还未开始清洁之前,获取全部待清洁区域的全部图像,并且通过同步定位与地图构建技术对清洁机器人进行实时定位以及地图构建;清洁机器人可以根据构建好的地图以及自身的实时定位,确定已清洁的区域,并且从提前获取到的清洁区域的全部图像中,获取已清洁区域对应的已清洁图像,再对已清洁图像的面积进行分析计算,得到已进行清洁的区域的面积。In other embodiments, the cleaning robot can obtain all images of all areas to be cleaned before cleaning, and perform real-time positioning and map construction of the cleaning robot through synchronous positioning and map construction technology; map and its own real-time positioning, determine the cleaned area, and obtain the cleaned image corresponding to the cleaned area from all the images of the cleaned area obtained in advance, and then analyze and calculate the area of the cleaned image to obtain the cleaned area. The area of the area to be cleaned.

其中,获取已清洁的区域的肮脏程度值与上述实施例中获取未清洁区域的相似,可以参阅前述实施例中的内容,在此不再赘述。Wherein, obtaining the dirtiness value of the cleaned area is similar to obtaining the uncleaned area in the above embodiment, and reference may be made to the content in the above embodiment, and details are not repeated here.

步骤S450:若所述面积大于预设面积,向所述清洁机器人基站发送所述清洗指令,所述预设面积为预先设置的所述清洁机器人对所述第四程度值的区域进行清洁时,所述清洁部件的肮脏程度值达到所述第一程度值时的清洁面积。Step S450: If the area is greater than a preset area, send the cleaning instruction to the base station of the cleaning robot, the preset area is when the cleaning robot cleans the area of the fourth degree value set in advance, The cleaning area when the dirty degree value of the cleaning component reaches the first degree value.

在本实施例中,清洁机器人可以根据待清洁区域的肮脏程度值,结合自身的清洁能力,确定其能够清洁的面积。清洁机器人可以根据在自身清水仓水量、污水仓水量及剩余电量,预估其对待清洁区域进行清洁时,其清洁部件的肮脏程度值达到第一程度值时的清洁面积,并将该清洁面积作为预设面积。再将已进行清洁的区域的面积与预设面积进行比较,当已进行清洁的区域的面积大于预设面积时,代表此时清洁机器人清洁的面积已经超过其清洁能力范围内可以清洁干净的面积,若继续进行清洁,则会导致清洁效果不佳,无法彻底清洁地面。因此,当已进行清洁的区域的面积大于预设面积时,为保证清洁效果,可以向清洁机器人基站发送清洗指令,使清洁机器人基站及时对清洁部件进行清洗。In this embodiment, the cleaning robot can determine the area that it can clean according to the dirtiness value of the area to be cleaned, combined with its own cleaning ability. The cleaning robot can estimate the cleaning area when the dirty degree value of its cleaning parts reaches the first degree value when it cleans the area to be cleaned according to the water volume of its own clean water tank, the water volume of the sewage tank and the remaining power, and calculate the cleaning area as the default area. Then compare the area of the area that has been cleaned with the preset area. When the area of the cleaned area is larger than the preset area, it means that the area cleaned by the cleaning robot has exceeded the area that can be cleaned within its cleaning capacity. , if you continue to clean, the cleaning effect will be poor and the floor cannot be cleaned thoroughly. Therefore, when the area of the cleaned area is larger than the preset area, in order to ensure the cleaning effect, a cleaning instruction can be sent to the cleaning robot base station, so that the cleaning robot base station can clean the cleaning parts in time.

在一些实施方式中,作为上述实施方式的可替换方式,若所述肮脏程度值小于或等于第一程度值,也可以获取当前已进行清洁的区域的清洁时长,以及所述区域的肮脏程度作为第五程度值;若所述清洁时长大于预设清洁时长,向所述清洁机器人基站发送所述清洗指令,所述预设清洁时长为预先设置的所述清洁机器人对所述第五程度值的区域进行清洁时,所述清洁部件的肮脏程度值达到所述第一程度值时的清洁时长。In some implementations, as an alternative to the above-mentioned implementation, if the value of the degree of dirtiness is less than or equal to the first degree value, the cleaning duration of the currently cleaned area and the dirtyness of the area can also be obtained. degree as the fifth degree value; if the cleaning duration is longer than the preset cleaning duration, the cleaning instruction is sent to the cleaning robot base station, and the preset cleaning duration is the preset cleaning robot for the fifth degree value, the cleaning duration when the dirty degree value of the cleaning component reaches the first degree value.

其中,清洁机器人可以根据待清洁区域的肮脏程度值,结合自身的清洁能力,确定其能够清洁的时长。清洁机器人可以根据在自身清水仓水量、污水仓水量及剩余电量,预估其对待清洁区域进行清洁时,其清洁部件的肮脏程度值达到第一程度值时的清洁时长,并将该清洁面积作为预设清洁时长。再将已进行清洁的区域的清洁时长与预设清洁时长进行比较,当已进行清洁的区域的清洁时长大于预设清洁时长时,代表此时清洁机器人清洁的时长已经超过其清洁能力范围内可以清洁工作的预设清洁时长,若继续进行清洁,则会导致清洁效果不佳,无法彻底清洁地面。因此,当已进行清洁的区域的清洁时长大于预设清洁时长时,为保证清洁效果,可以向清洁机器人基站发送清洗指令,使清洁机器人基站及时对清洁部件进行清洗。Among them, the cleaning robot can determine the length of time it can clean according to the dirtiness value of the area to be cleaned, combined with its own cleaning ability. The cleaning robot can estimate the cleaning time when the dirty degree value of the cleaning parts reaches the first degree value when it cleans the area to be cleaned according to the water volume of its own clean water tank, the water volume of the sewage tank and the remaining power, and divide the cleaning area as the preset cleaning duration. Then compare the cleaning time of the cleaned area with the preset cleaning time. When the cleaning time of the cleaned area is longer than the preset cleaning time, it means that the cleaning time of the cleaning robot has exceeded its cleaning capacity. The preset cleaning time of the cleaning work, if the cleaning is continued, the cleaning effect will be poor and the floor cannot be cleaned thoroughly. Therefore, when the cleaning time of the cleaned area is longer than the preset cleaning time, in order to ensure the cleaning effect, a cleaning instruction can be sent to the cleaning robot base station, so that the cleaning robot base station can clean the cleaning parts in time.

在本实施例中,清洁机器人可以在已进行清洁的区域的面积大于预设面积时,向清洁机器人基站发送清洗指令。如此,可以更准确判断清洁机器人的清洁部件是否有能力完成后续的清洁,并且在其无法完成后续清洁工作时,及时由清洁机器人对清洁部件的清洗,防止因清洁部件较脏,导致无法对后续地面进行彻底清洁等问题;并且,由清洁机器人基站对清洁机器人的清洁部件进行清洗,相较于人工清洗,清洗效果更佳,因此,也可以提高后续清洁地面的清洁效果。In this embodiment, the cleaning robot may send a cleaning instruction to the cleaning robot base station when the area of the cleaned area is greater than a preset area. In this way, it can be more accurately judged whether the cleaning parts of the cleaning robot are capable of completing the subsequent cleaning, and when it is unable to complete the subsequent cleaning work, the cleaning parts will be cleaned by the cleaning robot in time to prevent the cleaning parts from being dirty, resulting in inability to clean the subsequent parts. Thorough cleaning of the ground and other issues; moreover, the cleaning parts of the cleaning robot are cleaned by the cleaning robot base station. Compared with manual cleaning, the cleaning effect is better, so it can also improve the cleaning effect of the subsequent cleaning of the ground.

请参照图6,图6为本申请再一实施例提供的一种机器人控制方法的流程示意图。下面将结合图6对本申请实施例提供的机器人控制方法进行详细阐述。该机器人控制方法应用于清洁机器人,可以包括以下步骤:Please refer to FIG. 6 . FIG. 6 is a schematic flowchart of a robot control method provided in yet another embodiment of the present application. The robot control method provided by the embodiment of the present application will be described in detail below with reference to FIG. 6 . The robot control method is applied to a cleaning robot and may include the following steps:

步骤S510:在所述清洁机器人进行清洁的过程中,检测所述清洁机器人的设备状态。Step S510: During the cleaning process of the cleaning robot, detect the device status of the cleaning robot.

步骤S520:当所述设备状态满足预设状态条件时,移动至清洁机器人基站,所述预设状态条件为所述清洁机器人无法继续进行清洁时的状态条件。Step S520: When the state of the device satisfies a preset state condition, move to the cleaning robot base station, where the preset state condition is a state condition when the cleaning robot cannot continue cleaning.

步骤S530:获取所述清洁部件的肮脏程度值。Step S530: Obtain the value of the degree of dirtiness of the cleaning component.

在本申请实施例中,步骤S510-步骤S530可以参阅前述实施例中的内容,在此不再赘述。In the embodiment of the present application, for steps S510 to S530, reference may be made to the content in the foregoing embodiments, and details are not repeated here.

步骤S540:根据所述肮脏程度值,确定所述清洁机器人基站对所述清洁部件进行清洁的目标清洗模式。Step S540: Determine a target cleaning mode for the cleaning robot base station to clean the cleaning component according to the dirty degree value.

在本实施例中,目标清洗模式可以包括第一清洗模式及第二清洗模式。其中第一清洗模式可以包括:低强度清洗、中强度清洗、高强度清洗;第二清洗模式可以包括旋转式清洗、双滚筒式清洗、拍打式清洗、刮动式清洗等,本实施例对此不作限制。In this embodiment, the target cleaning mode may include a first cleaning mode and a second cleaning mode. The first cleaning mode may include: low-intensity cleaning, medium-intensity cleaning, and high-intensity cleaning; the second cleaning mode may include rotary cleaning, double-drum cleaning, beating cleaning, scraping cleaning, etc. No limit.

在一些实施方式中,不同清洗模式对应不同的肮脏程度值区间,如第一区间、第二区间及第三区间,第一区间对应低强度清洗,第二区间对应中强度清洗,第三区间对应高强度清洗,将肮脏程度值小于第一阈值的区间作为第一区间;将肮脏程度值大于或等于第一阈值,且小于第二阈值的区间作为第二区间;将肮脏程度值大于第三阈值的区间作为第三区间。在获取到清洁部件的肮脏程度值后,可以将该肮脏程度值分别与第一阈值、第二阈值或第三阈值进行比较,确定清洁机器人基站对所述清洁部件进行清洁的目标清洗模式中的第一清洗模式。其中,低强度清洗可以是在清洗时的冲水速度较小的模式,中强度清洗可以是在清洗时冲水速度较大的模式,高强度清洗可以是在冲洗时冲水速度最大且冲洗时间最长的模式。也就是说,在清洁部件较脏时,采用清洗能力较强的模式进行冲洗,在清洁部件仅有一点脏时,采用清洗能力较弱的模式进行冲洗,如此,可以在保证清洗效果的前提下,节约用水。In some embodiments, different cleaning modes correspond to different intervals of the degree of dirtiness, such as the first interval, the second interval and the third interval, the first interval corresponds to low-intensity cleaning, the second interval corresponds to medium-intensity cleaning, and the third interval Corresponding to high-intensity cleaning, the interval whose dirty degree value is less than the first threshold is regarded as the first interval; the interval whose dirty degree value is greater than or equal to the first threshold and less than the second threshold is regarded as the second interval; the dirty degree value The interval greater than the third threshold is used as the third interval. After obtaining the dirty degree value of the cleaning component, the dirty level value can be compared with the first threshold, the second threshold or the third threshold respectively, to determine the target cleaning mode for the cleaning robot base station to clean the cleaning component in the first cleaning mode. Among them, the low-intensity cleaning can be a mode with a small flushing speed during cleaning, the medium-intensity cleaning can be a mode with a relatively high flushing speed during cleaning, and the high-intensity cleaning can be a mode with the largest flushing speed and a long flushing time during flushing. longest pattern. That is to say, when the cleaning parts are dirty, use the mode with stronger cleaning ability to rinse, and when the cleaning parts are only a little dirty, use the mode with weaker cleaning ability to rinse. In this way, the cleaning effect can be guaranteed. ,conserve water.

在另一些实施方式中,还可以根据清洁部件上附着的脏物进行图像识别,确定附着在清洁部件上的脏物的类型,根据脏物的类型,确定目标清洗模式,如此,可以更有效地清洗掉附着在清洁部件上的脏物。示例性地,当脏物类型为丝状物品,如棉线、头发等脏物,可以将刮动式清洗模式或者双滚筒模式作为目标清洗模式中的第二清洗模式;当脏物类型为块状物品,可以将旋转式清洗或拍打式清洗作为目标清洗模式的第二清洗模式。In some other embodiments, it is also possible to carry out image recognition according to the dirt attached to the cleaning component, determine the type of dirt attached to the cleaning component, and determine the target cleaning mode according to the type of dirt. In this way, it can be more effectively Wash away the dirt attached to the cleaning parts. Exemplarily, when the type of dirt is filamentary items, such as dirt such as cotton thread and hair, the scraping cleaning mode or the double-drum mode can be used as the second cleaning mode in the target cleaning mode; Items, the rotating cleaning or the flapping cleaning can be used as the second cleaning mode of the target cleaning mode.

在再一些实施方式中,可以同时根据肮脏程度值以及附着在清洁部件的脏物类型,确定目标清洗模式,也就是说,根据肮脏程度值确定第一清洗模式,同时根据脏物类型确定第二清洗模式。In some other implementations, the target cleaning mode can be determined according to the degree of dirtiness and the type of dirt attached to the cleaning component at the same time, that is to say, the first cleaning mode is determined according to the value of the degree of dirtiness, and the cleaning mode is determined according to the type of dirt at the same time. Second cleaning mode.

步骤S50:基于所述目标清洗模式,生成所述清洗指令。Step S50: Generate the cleaning instruction based on the target cleaning mode.

基于此,在获取到目标清洁模式后,可以将该目标清洁模式的标记添加至清洗指令中,以便清洁机器人基站在收到清洗指令后,可以根据清洗指令中携带的目标清洁模式的标记,对清洁部件执行对应模式的清洗操作。Based on this, after the target cleaning mode is obtained, the mark of the target cleaning mode can be added to the cleaning instruction, so that after the cleaning robot base station receives the cleaning command, it can use the mark of the target cleaning mode carried in the cleaning command to The cleaning part performs a cleaning operation in a corresponding mode.

步骤S560:向所述清洁机器人基站发送清洗指令,以指示所述清洁机器人基站对所述清洁机器人进行清洗。Step S560: Send a cleaning instruction to the cleaning robot base station to instruct the cleaning robot base station to clean the cleaning robot.

在本申请实施例中,步骤S560可以参阅前述实施例中的内容,在此不再赘述。In the embodiment of the present application, reference may be made to the content in the foregoing embodiments for step S560, and details are not repeated here.

在本实施例中,可以根据清洁部件的肮脏程度值,确定不同的清洗模式,如此,可以在保证清洗效果的前提下,节约用水,减少水资源的浪费;并且还可以根据脏物的类型,确定不同的清洗模式,如此,可以更高效更快速的对清洁部件进行清洗,去除掉附着在清洁部件上的脏物,同时也达到了很好的清洗效果。In this embodiment, different cleaning modes can be determined according to the degree of dirtiness of the cleaning components. In this way, water can be saved and waste of water resources can be reduced while ensuring the cleaning effect; , to determine different cleaning modes, so that the cleaning parts can be cleaned more efficiently and quickly, the dirt attached to the cleaning parts can be removed, and a good cleaning effect can also be achieved.

请参照图7,图7为本申请再一实施例提供的一种机器人控制方法的流程示意图。下面将结合图7对本申请实施例提供的机器人控制方法进行详细阐述。该机器人控制方法应用于清洁机器人,可以包括以下步骤:Please refer to FIG. 7 . FIG. 7 is a schematic flowchart of a robot control method provided in yet another embodiment of the present application. The robot control method provided by the embodiment of the present application will be described in detail below with reference to FIG. 7 . The robot control method is applied to a cleaning robot and may include the following steps:

步骤S610:在所述清洁机器人进行清洁的过程中,检测所述清洁机器人的设备状态。Step S610: During the cleaning process of the cleaning robot, detect the device status of the cleaning robot.

步骤S620:当所述设备状态满足预设状态条件时,移动至清洁机器人基站,所述预设状态条件为所述清洁机器人无法继续进行清洁时的状态条件。Step S620: When the state of the device satisfies a preset state condition, move to the cleaning robot base station, where the preset state condition is a state condition when the cleaning robot cannot continue cleaning.

步骤S630:向所述清洁机器人基站发送清洗指令,以指示所述清洁机器人基站对所述清洁机器人的清洁部件进行清洗。Step S630: Send a cleaning instruction to the cleaning robot base station to instruct the cleaning robot base station to clean the cleaning parts of the cleaning robot.

在本申请实施例中,步骤S610-步骤S630可以参阅前述实施例中的内容,在此不再赘述。In the embodiment of the present application, reference may be made to the content in the foregoing embodiments for step S610 to step S630, and details are not repeated here.

步骤S640:若所述清水仓水量小于所述第一水量阈值,向所述清洁机器人基站发送加水指令,以指示所述清洁机器人基站为所述清洁机器人加注清水。Step S640: If the water volume of the clean water tank is less than the first water volume threshold, send a water filling command to the cleaning robot base station to instruct the cleaning robot base station to fill the cleaning robot with clean water.

在本实施例中,预设状态条件可以是清水仓水量小于所述第一水量阈值,其中,第一水量阈值可以是预先设置的,也可以根据不同的清洁模式对第一水量阈值进行调整,本实施例对此不作限制。当清洁机器人中清水仓的水量小于第一水量阈值时,判定设备状态满足预设状态条件,代表此时清水仓的水量过低,可能不足以湿润拖布,没有完全浸湿的拖布对地面的清洁能力较差,无法对地面实现彻底地清洁,也就是说,此时,清洁机器人无法继续进行清洁;又或者,由于清水仓的水量较低,无法对已拖了一定地面范围的拖布进行清洗,若清洁机器人仍继续进行清洁工作,也会导致无法对地面实现彻底清洁的问题。In this embodiment, the preset state condition may be that the water volume of the clean water tank is less than the first water volume threshold, wherein the first water volume threshold may be preset, or the first water volume threshold may be adjusted according to different cleaning modes, This embodiment does not limit this. When the water volume of the clean water tank in the cleaning robot is less than the first water volume threshold, it is determined that the device status meets the preset state conditions, which means that the water volume in the clean water tank is too low at this time, which may not be enough to wet the mop, and the mop that is not completely wet can clean the ground The ability is poor, and it is impossible to clean the ground thoroughly. That is to say, at this time, the cleaning robot cannot continue to clean; If the cleaning robot continues to perform the cleaning work, it will also cause the problem that the ground cannot be cleaned thoroughly.

上述实施例可以在清洁机器人中清水仓水量小于第一水量阈值时,清洁机器人移动至清洁机器人基站,并指示清洁机器人基站向清洁机器人的清水仓中注入清水,以为后续清洁过程提供足够的清水,进而保证清洁机器人后续的清洁能力。In the above embodiment, when the water volume of the clean water tank in the cleaning robot is less than the first water volume threshold, the cleaning robot moves to the base station of the cleaning robot, and instructs the base station of the cleaning robot to inject clean water into the clean water tank of the cleaning robot, so as to provide enough clean water for the subsequent cleaning process, In order to ensure the subsequent cleaning ability of the cleaning robot.

请参照图8,图8为本申请再一实施例提供的一种机器人控制方法的流程示意图。下面将结合图8对本申请实施例提供的机器人控制方法进行详细阐述。该机器人控制方法应用于清洁机器人,可以包括以下步骤:Please refer to FIG. 8 . FIG. 8 is a schematic flowchart of a robot control method provided in yet another embodiment of the present application. The robot control method provided by the embodiment of the present application will be described in detail below with reference to FIG. 8 . The robot control method is applied to a cleaning robot and may include the following steps:

步骤S710:在所述清洁机器人进行清洁的过程中,检测所述清洁机器人的设备状态。Step S710: During the cleaning process of the cleaning robot, detect the device status of the cleaning robot.

步骤S720:当所述设备状态满足预设状态条件时,移动至清洁机器人基站,所述预设状态条件为所述清洁机器人无法继续进行清洁时的状态条件。Step S720: When the state of the device satisfies a preset state condition, move to the cleaning robot base station, where the preset state condition is a state condition when the cleaning robot cannot continue cleaning.

步骤S730:向所述清洁机器人基站发送清洗指令,以指示所述清洁机器人基站对所述清洁机器人的清洁部件进行清洗。Step S730: Send a cleaning instruction to the cleaning robot base station to instruct the cleaning robot base station to clean the cleaning parts of the cleaning robot.

在本申请实施例中,步骤S710-步骤S730可以参阅前述实施例中的内容,在此不再赘述。In the embodiment of the present application, for steps S710 to S730, reference may be made to the content in the foregoing embodiments, and details are not repeated here.

步骤S740:若所述污水仓水量大于所述第二水量阈值,向所述清洁机器人基站发送排水指令,以指示所述清洁机器人基站为所述清洁机器人排放污水。Step S740: If the water volume of the sewage tank is greater than the second water volume threshold, send a drainage command to the cleaning robot base station to instruct the cleaning robot base station to discharge sewage for the cleaning robot.

预设状态条件可以是污水仓水量大于第二水量阈值,其中,第二水量阈值可以是预先设置的,也可以根据不同的清洁模式对第二水量阈值进行调整,本实施例对此不作限制。当清洁机器人中污水仓水量大于第二水量阈值时,判定设备状态满足预设状态条件,代表使用了较多清水对清洁机器人的拖布进行清洗,因此,此时清洁机器人中的污水量较多。此时,若使用清水对清洁机器人的拖布进行再次清洗,由于污水仓水量大于第二水量阈值,污水仓中剩余空间较少,即,无法容纳下再次清洗产生的污水,可能会导致污水溢出,对地面造成二次污染;或者,清洁机器人不对拖布进行再次清洗,直接继续使用该拖布对地面进行清洁,则会导致无法对地面进行彻底清洁的问题。The preset state condition can be that the water volume of the sewage tank is greater than the second water volume threshold, wherein the second water volume threshold can be preset, or can be adjusted according to different cleaning modes, which is not limited in this embodiment. When the water volume of the sewage tank in the cleaning robot is greater than the second water volume threshold, it is determined that the equipment status meets the preset state conditions, which means that more water is used to clean the mop of the cleaning robot. Therefore, the amount of sewage in the cleaning robot is large at this time. At this time, if clean water is used to clean the mop of the cleaning robot again, since the water volume of the sewage tank is greater than the second water volume threshold, the remaining space in the sewage tank is less, that is, the sewage generated after cleaning cannot be accommodated, and the sewage may overflow. Cause secondary pollution to the ground; or, the cleaning robot does not clean the mop again, and directly continues to use the mop to clean the ground, which will lead to the problem that the ground cannot be cleaned thoroughly.

上述实施例可以在清洁机器人中污水仓水量大于第二水量阈值时,清洁机器人移动至清洁机器人基站,并指示清洁机器人基站排放清洁机器人的污水仓中的污水,以防止因污水量过多,导致清洁机器人后续的清洁能力较差等问题的发生。In the above embodiment, when the water volume of the sewage tank in the cleaning robot is greater than the second water volume threshold, the cleaning robot moves to the base station of the cleaning robot, and instructs the base station of the cleaning robot to discharge the sewage in the sewage tank of the cleaning robot, so as to prevent excessive sewage volume from causing The following problems such as poor cleaning ability of the cleaning robot occur.

请参照图9,图9为本申请再一实施例提供的一种机器人控制方法的流程示意图。下面将结合图9对本申请实施例提供的机器人控制方法进行详细阐述。该机器人控制方法应用于清洁机器人,可以包括以下步骤:Please refer to FIG. 9 . FIG. 9 is a schematic flowchart of a robot control method provided in yet another embodiment of the present application. The robot control method provided by the embodiment of the present application will be described in detail below with reference to FIG. 9 . The robot control method is applied to a cleaning robot and may include the following steps:

步骤S810:在所述清洁机器人进行清洁的过程中,检测所述清洁机器人的设备状态。Step S810: During the cleaning process of the cleaning robot, detect the device status of the cleaning robot.

步骤S820:当所述设备状态满足预设状态条件时,移动至清洁机器人基站,所述预设状态条件为所述清洁机器人无法继续进行清洁时的状态条件。Step S820: When the state of the device satisfies a preset state condition, move to the cleaning robot base station, where the preset state condition is a state condition when the cleaning robot cannot continue cleaning.

步骤S830:向所述清洁机器人基站发送清洗指令,以指示所述清洁机器人基站对所述清洁机器人的清洁部件进行清洗。Step S830: Send a cleaning instruction to the cleaning robot base station to instruct the cleaning robot base station to clean the cleaning parts of the cleaning robot.

在本申请实施例中,步骤S810-步骤S830可以参阅前述实施例中的内容,在此不再赘述。In the embodiment of the present application, for steps S810 to S830, reference may be made to the content in the foregoing embodiments, and details are not repeated here.

步骤S840:若所述剩余电量小于预设电量,向所述清洁机器人基站发送充电指令,以指示所述清洁机器人基站为所述清洁机器人充电。Step S840: If the remaining power is less than the preset power, send a charging instruction to the cleaning robot base station to instruct the cleaning robot base station to charge the cleaning robot.

预设状态条件可以是剩余电量小于预设电量,其中,预设电量可以是预先设置的,也可以根据不同的清洁模式对预设电量进行调整,本实施例对此不作限制。当清洁机器人的剩余电量小于预设电量时,判定设备状态满足预设状态条件。此时,由于清洁机器人的剩余电量较低,可能影响清洁机器人的拖布在地面上的摩擦工作频率,使其摩擦工作频率低于预设工作频率,进而导致对地面的清洁达不到预设效果,即,对地面清洁不彻底;或者,清洁机器人在清洗拖布后进行甩干,由于剩余电量较低,可能会导致甩干的转速较低,无法将拖布甩干至预设湿润程度,进而导致在后续拖地时,地面较湿,影响了清洁效果,若用户路过较湿的地面可能会打滑,导致用户摔跤等问题,降低用户体验感。The preset state condition may be that the remaining power is less than the preset power, wherein the preset power may be preset, or the preset power may be adjusted according to different cleaning modes, which is not limited in this embodiment. When the remaining power of the cleaning robot is less than the preset power, it is determined that the state of the device satisfies the preset state condition. At this time, due to the low remaining power of the cleaning robot, it may affect the friction frequency of the mop of the cleaning robot on the ground, making its friction frequency lower than the preset working frequency, resulting in the cleaning of the ground failing to achieve the preset effect , that is, the ground is not cleaned thoroughly; or, the cleaning robot spins the mop after cleaning it. Due to the low remaining power, the spin speed may be low, and the mop cannot be dried to the preset wetness level, resulting in During the follow-up mopping, the ground is wet, which affects the cleaning effect. If the user passes by the wet ground, it may slip, causing the user to wrestle and other problems, and reducing the user experience.

需要说明的是,以上三个实施例中的实施方式可以结合。具体地,在设备状态满足预设状态条件的情况下,可以根据具体的设备状态,在清水仓水量小于第一水量阈值时,向清洁机器人基站发送加水指令,也可以在污水仓水量大于第二水量阈值时,向清洁机器人基站发送排水指令,也可以在剩余电量小于预设电量时,向清洁机器人基站发送充电指令。也就是说,只要满足这三种条件中的任意一种条件,就会执行所满足的条件对应的处理(即发送加水指令、排水指令、充电指令),当然,若满足这三种条件中的多种条件,可以同时执行多种条件对应的处理。It should be noted that the implementation manners in the above three embodiments may be combined. Specifically, when the equipment state satisfies the preset state conditions, according to the specific equipment state, when the water volume of the clean water tank is less than the first water volume threshold, a water addition command can be sent to the cleaning robot base station, or when the water volume of the sewage tank is greater than the second water volume threshold. When the water volume threshold is reached, a drainage command is sent to the cleaning robot base station, and a charging command can also be sent to the cleaning robot base station when the remaining power is less than the preset power. That is to say, as long as any one of these three conditions is satisfied, the processing corresponding to the satisfied condition will be executed (that is, sending a water filling command, a draining command, and a charging command). Of course, if any of the three conditions is met Various conditions, the processing corresponding to multiple conditions can be executed at the same time.

在一些实施方式中,清洁机器人的设备状态满足上述三个实施例中的任一预设状态条件,也就是说在清水仓水量小于第一水量阈值、污水仓水量大于第二水量阈值或者剩余电量小于预设电量时,均向清洁机器人基站同时发送加水指令、排水指令以及充电指令,清洁机器人基站可以根据加水指令对清洁机器人进行加清水,根据排水指令对清洁机器人排放污水,以及根据充电指令对清洁机器人进行充电。如此,可以实现及时对清洁机器人进行加清水、排污水及充电的操作,保证清洁机器人的清洁能力。In some implementations, the equipment state of the cleaning robot meets any of the preset state conditions in the above three embodiments, that is to say, when the water volume of the clean water tank is less than the first water volume threshold, the water volume of the sewage tank is greater than the second water volume threshold or the remaining power When the power is less than the preset power level, the cleaning robot base station will send water addition instructions, drainage instructions and charging instructions at the same time. The cleaning robot base station can add water to the cleaning robot according to the water addition instruction, discharge sewage to the cleaning robot according to the drainage instruction, and according to the charging instruction. The cleaning robot is charging. In this way, the operations of adding clean water, draining sewage, and charging the cleaning robot can be realized in a timely manner to ensure the cleaning ability of the cleaning robot.

上述实施例可以在清洁机器人的剩余电量小于预设电量时,清洁机器人移动至清洁机器人基站,并指示清洁机器人基站可以对清洁机器人进行充电,以为后续清洁过程中提供足够的电量,进而保证清洁机器人的清洁能力。In the above embodiment, when the remaining power of the cleaning robot is less than the preset power, the cleaning robot moves to the cleaning robot base station, and instructs the cleaning robot base station to charge the cleaning robot, so as to provide sufficient power for the subsequent cleaning process, thereby ensuring that the cleaning robot cleaning ability.

请参照图10,其中示出了本申请一实施例提供的一种机器人控制装置900的结构框图。该装置900可以包括:状态检测模块910、控制模块920和指令发送模块930。Please refer to FIG. 10 , which shows a structural block diagram of a robot control device 900 provided by an embodiment of the present application. The apparatus 900 may include: a state detection module 910 , a control module 920 and an instruction sending module 930 .

状态检测模块910用于在所述清洁机器人进行清洁的过程中,检测所述清洁机器人的设备状态。The status detection module 910 is configured to detect the equipment status of the cleaning robot during the cleaning process of the cleaning robot.

控制模块920用于当所述设备状态满足预设状态条件时,移动至清洁机器人基站,所述预设状态条件为所述清洁机器人无法继续进行清洁时的状态条件。The control module 920 is configured to move to the base station of the cleaning robot when the state of the device meets a preset state condition, and the preset state condition is a state condition when the cleaning robot cannot continue cleaning.

指令发送模块930用于向所述清洁机器人基站发送清洗指令,以指示所述清洁机器人基站对所述清洁机器人的清洁部件进行清洗。The instruction sending module 930 is configured to send a cleaning instruction to the cleaning robot base station to instruct the cleaning robot base station to clean the cleaning parts of the cleaning robot.

在一些实施方式中,所述清洁机器人包括清洁部件,在所述向所述清洁机器人基站发送清洗指令,以指示所述清洁机器人基站对所述清洁机器人进行清洗之前,机器人控制装置900还可以包括:肮脏值获取模块。其中,肮脏值获取模块可以用于获取所述清洁部件的肮脏程度值。指令发送模块930可以用于若所述肮脏程度值大于第一程度值,向所述清洁机器人基站发送清洁指令,以指示所述清洁机器人基站对所述清洁部件进行清洗。In some implementations, the cleaning robot includes a cleaning component, and before the cleaning instruction is sent to the cleaning robot base station to instruct the cleaning robot base station to clean the cleaning robot, the robot control device 900 may further include :dirty value fetching module. Wherein, the dirty value obtaining module can be used to obtain the dirty degree value of the cleaning component. The instruction sending module 930 may be configured to send a cleaning instruction to the cleaning robot base station to instruct the cleaning robot base station to clean the cleaning component if the dirty degree value is greater than the first degree value.

在该方式下,指令发送模块930可以包括:第一肮脏值获取单元、第二肮脏值获取单元以及指令发送单元。其中,第一肮脏值获取单元可以用于若所述肮脏程度值大于第一程度值,基于所述肮脏程度值以及清水仓水量,确定所述清洁机器人当前可清洁的肮脏程度值,作为第二程度值。第二肮脏值获取单元可以用于获取未清洁区域的肮脏程度值,作为第三程度值。指令发送单元可以用于当所述第二程度值小于所述第三程度值时,向所述清洁机器人基站发送所述清洗指令。In this manner, the instruction sending module 930 may include: a first dirty value acquisition unit, a second dirty value acquisition unit, and an instruction sending unit. Wherein, the first dirty value acquisition unit can be used to determine the current cleanable dirty value of the cleaning robot based on the dirty level value and the water volume of the clean water tank if the dirty level value is greater than the first level value , as the second degree value. The second dirtiness value acquiring unit can be used to acquire the dirtiness level value of the uncleaned area as the third level value. The instruction sending unit may be configured to send the cleaning instruction to the cleaning robot base station when the second degree value is smaller than the third degree value.

在一些实施方式中,指令发送模块930还可以包括:第三肮脏值获取单元以及指令发送单元。其中,第三肮脏值获取单元可以用于若所述肮脏程度值小于或等于第一程度值,获取当前已进行清洁的区域的面积,以及所述区域的肮脏程度作为第四程度值。指令发送单元可以具体用于若所述面积大于预设面积,向所述清洁机器人基站发送所述清洗指令,所述预设面积为预先设置的所述清洁机器人对所述第四程度值的区域进行清洁时,所述清洁部件的肮脏程度值达到所述第一程度值时的清洁面积。In some implementations, the instruction sending module 930 may further include: a third dirty value acquisition unit and an instruction sending unit. Wherein, the third dirty value acquisition unit can be used to obtain the area of the area currently cleaned and the dirty level of the area as the fourth level value if the dirty level value is less than or equal to the first level value . The instruction sending unit may be specifically configured to send the cleaning instruction to the cleaning robot base station if the area is greater than a preset area, and the preset area is the preset area of the cleaning robot for the fourth degree value During cleaning, the cleaning area when the dirty degree value of the cleaning component reaches the first degree value.

在一些实施方式中,在所述向所述清洁机器人基站发送清洗指令之前,机器人控制装置900可以包括:清洗模式确定模块以及指令生成模块。其中,清洗模式确定模块可以用于根据所述肮脏程度值,确定所述清洁机器人基站对所述清洁部件进行清洁的目标清洗模式。指令生成模块可以用于基于所述目标清洗模式,生成所述清洗指令。In some implementations, before sending the cleaning instruction to the cleaning robot base station, the robot control device 900 may include: a cleaning mode determination module and an instruction generation module. Wherein, the cleaning mode determining module may be used to determine a target cleaning mode for the cleaning robot base station to clean the cleaning component according to the dirty degree value. The instruction generation module may be used to generate the cleaning instruction based on the target cleaning mode.

在一些实施方式中,所述设备状态包括所述清洁机器人的清水仓水量、污水仓水量以及剩余电量,所述设备状态满足预设状态条件,包括以下情况中的任意一种:所述清水仓水量小于所述第一水量阈值;所述污水仓水量大于第二水量阈值;所述剩余电量小于预设电量。机器人控制装置900可以包括:加水指令发送模块、排水指令发送模块以及充电指令发送模块。其中,加水指令发送模块可以用于若所述清水仓水量小于所述第一水量阈值,向所述清洁机器人基站发送加水指令,以指示所述清洁机器人基站为所述清洁机器人加注清水。排水指令发送模块可以用于若所述污水仓水量大于所述第二水量阈值,向所述清洁机器人基站发送排水指令,以指示所述清洁机器人基站为所述清洁机器人排放污水。充电指令发送模块可以用于若所述剩余电量小于预设电量,向所述清洁机器人基站发送充电指令,以指示所述清洁机器人基站为所述清洁机器人充电。In some embodiments, the device state includes the water volume of the cleaning robot's clean water tank, the water volume of the sewage tank, and the remaining power, and the device state meets the preset state conditions, including any one of the following situations: the clean water tank The water volume is less than the first water volume threshold; the water volume of the sewage tank is greater than the second water volume threshold; and the remaining power is less than the preset power. The robot control device 900 may include: a water adding command sending module, a draining command sending module and a charging command sending module. Wherein, the water adding command sending module can be used to send a water adding command to the cleaning robot base station to instruct the cleaning robot base station to fill the cleaning robot with clean water if the water volume of the clean water tank is less than the first water volume threshold. The drainage instruction sending module may be used to send a drainage instruction to the cleaning robot base station to instruct the cleaning robot base station to discharge sewage for the cleaning robot if the water volume of the sewage tank is greater than the second water volume threshold. The charging command sending module may be used to send a charging command to the cleaning robot base station to instruct the cleaning robot base station to charge the cleaning robot if the remaining power is less than the preset power.

在另一些实施方式中,当所述清水仓水量小于所述第一水量阈值、所述污水仓水量大于所述第二水量阈值或所述剩余电量小于预设电量时,指令发送模块930可以具体用于向所述清洁机器人基站发送加水指令、排水指令以及充电指令,以指示所述清洁机器人基站为所述清洁机器人加注清水、排放污水以及充电。In some other implementations, when the water volume of the clean water tank is less than the first water volume threshold, the water volume of the sewage tank is greater than the second water volume threshold, or the remaining power is less than the preset power, the instruction sending module 930 may specifically It is used to send a water adding command, a draining command and a charging command to the cleaning robot base station, so as to instruct the cleaning robot base station to add clean water, discharge sewage and charge the cleaning robot.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the devices and modules described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other forms of coupling.

另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.

下面将结合图对本申请提供的一种清洁机器人进行说明。A cleaning robot provided by the present application will be described below with reference to the figures.

参照图11,图11示出了本申请实施例提供的一种清洁机器人1000的结构框图,本申请实施例提供的机器人控制方法可以由该清洁机器人1000执行。Referring to FIG. 11 , FIG. 11 shows a structural block diagram of a cleaning robot 1000 provided in the embodiment of the present application, and the robot control method provided in the embodiment of the present application can be executed by the cleaning robot 1000 .

本申请实施例中的清洁机器人1000可以包括一个或多个如下部件:处理器1001、存储器1002、以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器1002中并被配置为由一个或多个处理器1001执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。The cleaning robot 1000 in the embodiment of the present application may include one or more of the following components: a processor 1001, a memory 1002, and one or more application programs, wherein one or more application programs may be stored in the memory 1002 and configured To be executed by one or more processors 1001, one or more programs are configured to execute the methods described in the foregoing method embodiments.

处理器1001可以包括一个或者多个处理核。处理器1001利用各种接口和线路连接整个清洁机器人1000内的各个部分,通过运行或执行存储在存储器1002内的指令、程序、代码集或指令集,以及调用存储在存储器1002内的数据,执行清洁机器人1000的各种功能和处理数据。可选地,处理器1001可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1001可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以集成到处理器1001中,单独通过一块通信芯片进行实现。Processor 1001 may include one or more processing cores. The processor 1001 uses various interfaces and lines to connect various parts of the entire cleaning robot 1000, and executes or executes instructions, programs, code sets or instruction sets stored in the memory 1002, and calls data stored in the memory 1002 to execute Various functions and processing data of the cleaning robot 1000. Optionally, the processor 1001 may use at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). implemented in the form of hardware. The processor 1001 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used to render and draw the displayed content; the modem is used to handle wireless communication. It can be understood that the above modem can also be integrated into the processor 1001, and be realized by a single communication chip.

存储器1002可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器1002可用于存储指令、程序、代码、代码集或指令集。存储器1002可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储清洁机器人1000在使用中所创建的数据(比如上述的各种对应关系)等。The memory 1002 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory). The memory 1002 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 1002 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like. The data storage area can also store data created by the cleaning robot 1000 during use (such as the above-mentioned various correspondences) and the like.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the devices and modules described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,所显示或讨论的模块相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In several embodiments provided in this application, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be electrical, mechanical or otherwise.

另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.

请参考图12,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质1100中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 12 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program codes are stored in the computer-readable medium 1100, and the program codes can be invoked by a processor to execute the methods described in the foregoing method embodiments.

计算机可读存储介质1100可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质1100包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质1100具有执行上述方法中的任何方法步骤的程序代码1110的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码1110可以例如以适当形式进行压缩。The computer readable storage medium 1100 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 1100 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium). The computer-readable storage medium 1100 has a storage space for program code 1110 for executing any method steps in the above methods. These program codes can be read from or written into one or more computer program products. Program code 1110 may, for example, be compressed in a suitable form.

最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not drive the essence of the corresponding technical solutions away from the spirit and scope of the technical solutions of the various embodiments of the present application.

Claims (12)

1. A robot control method, applied to a cleaning robot, the method comprising:
detecting the equipment state of the cleaning robot in the cleaning process of the cleaning robot;
when the equipment state meets a preset state condition, moving to a cleaning robot base station, wherein the preset state condition is a state condition when the cleaning robot cannot continuously clean;
acquiring a target image of a cleaning component through an image acquisition device, and determining a first target dirty degree value according to the target image;
performing a compositional analysis on the sewage in a sewage bin in the cleaning robot via a sensor to determine a second target dirty degree value for the sewage;
obtaining a mean of the first target dirty extent value and the second target dirty extent value, or obtaining a maximum of the first target dirty extent value and the second target dirty extent value as the dirty extent value of the cleaning component;
if the dirty degree value is larger than the first degree value, sending a cleaning instruction to the cleaning robot base station to instruct the cleaning robot base station to clean the cleaning part of the cleaning robot.
2. The method of claim 1, wherein sending a cleaning instruction to the cleaning robot base station if the dirty level value is greater than a first level value comprises:
if the dirty degree value is larger than the first degree value, determining the dirty degree value which can be cleaned by the cleaning robot at present as a second degree value based on the dirty degree value and the clean water bin water amount;
acquiring a dirty degree value of an uncleaned area as a third degree value;
and when the second degree value is smaller than the third degree value, sending the washing instruction to the cleaning robot base station.
3. The method of claim 1, wherein after the obtaining the dirty extent value of the cleaning component, the method comprises:
if the dirty degree value is less than or equal to the first degree value, acquiring the area of the area which is cleaned currently and the dirty degree of the area as a fourth degree value;
and if the area is larger than a preset area, sending the cleaning instruction to the cleaning robot base station, wherein the preset area is the cleaning area when the cleaning robot cleans the area with the fourth range value, and the dirty range value of the cleaning part reaches the first range value.
4. The method of claim 1, wherein prior to said sending a rinse command to said cleaning robot base station, said method further comprises:
determining a target cleaning mode for the cleaning robot base station to clean the cleaning component according to the dirty degree value;
generating the cleaning instruction based on the target cleaning mode.
5. The method according to any one of claims 1 to 4, wherein the equipment status comprises a fresh water bin water volume, a sewage bin water volume and a residual power of the cleaning robot, and the equipment status satisfies a preset status condition, including any one of:
the water quantity of the clean water bin is smaller than a first water quantity threshold value;
the water volume of the sewage bin is greater than a second water volume threshold value;
the residual electric quantity is less than the preset electric quantity.
6. The method of claim 5, wherein after moving to a cleaning robot base station when the device status satisfies a preset status condition, the method further comprises:
and if the water quantity of the clean water bin is smaller than the first water quantity threshold value, sending a water adding instruction to the cleaning robot base station to instruct the cleaning robot base station to add clean water to the cleaning robot.
7. The method of claim 5, wherein after moving to a cleaning robot base station when the equipment status satisfies a preset status condition, the method further comprises:
and if the water quantity of the sewage bin is greater than the second water quantity threshold value, sending a drainage instruction to the cleaning robot base station to instruct the cleaning robot base station to discharge sewage for the cleaning robot.
8. The method of claim 5, wherein after moving to a cleaning robot base station when the device status satisfies a preset status condition, the method further comprises:
and if the residual electric quantity is less than the preset electric quantity, sending a charging instruction to the cleaning robot base station to indicate the cleaning robot base station to charge the cleaning robot.
9. The method of claim 5, wherein after moving to a cleaning robot base station when the device status satisfies a preset status condition, the method further comprises:
if the clear water amount is smaller than the first water amount threshold value, the sewage water amount is larger than the second water amount threshold value or the residual electric quantity is smaller than the preset electric quantity, a water adding instruction, a water draining instruction and a charging instruction are sent to the cleaning robot base station to instruct the cleaning robot base station to add clear water, discharge sewage and charge for the cleaning robot.
10. A robot control apparatus applied to a cleaning robot, the apparatus comprising:
the state detection module is used for detecting the equipment state of the cleaning robot in the cleaning process of the cleaning robot;
the control module is used for moving the cleaning robot to a cleaning robot base station when the equipment state meets a preset state condition, wherein the preset state condition is a state condition when the cleaning robot cannot continuously clean;
a dirty value acquisition module for acquiring a target image of the cleaning component through an image acquisition device and determining a first target dirty value according to the target image; performing a composition analysis on sewage in a sewage tank in the cleaning robot through a sensor, determining a second target dirty degree value of the sewage; obtaining a mean of the first target dirty extent value and the second target dirty extent value, or obtaining a maximum of the first target dirty extent value and the second target dirty extent value as the dirty extent value of the cleaning component;
and the instruction sending module is used for sending a cleaning instruction to the cleaning robot base station to instruct the cleaning robot base station to clean the cleaning part of the cleaning robot if the dirty degree value is greater than a first degree value.
11. A cleaning robot, characterized in that the cleaning robot comprises:
a memory;
one or more processors coupled with the memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the robot control method of any of claims 1-9.
12. A computer-readable storage medium, in which a program code is stored, the program code being invokable by a processor to execute the robot control method according to any one of claims 1 to 9.
CN202110666362.4A 2021-06-16 2021-06-16 Robot control method, robot control device, cleaning robot and storage medium Active CN113598652B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110666362.4A CN113598652B (en) 2021-06-16 2021-06-16 Robot control method, robot control device, cleaning robot and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110666362.4A CN113598652B (en) 2021-06-16 2021-06-16 Robot control method, robot control device, cleaning robot and storage medium

Publications (2)

Publication Number Publication Date
CN113598652A CN113598652A (en) 2021-11-05
CN113598652B true CN113598652B (en) 2022-11-22

Family

ID=78336510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110666362.4A Active CN113598652B (en) 2021-06-16 2021-06-16 Robot control method, robot control device, cleaning robot and storage medium

Country Status (1)

Country Link
CN (1) CN113598652B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116172451A (en) * 2021-11-29 2023-05-30 尚科宁家(中国)科技有限公司 Method for determining backwash timing of cleaning robot and cleaning robot
CN114343504A (en) * 2022-01-26 2022-04-15 深圳市优必选科技股份有限公司 Sweeping strategy generation method, device, equipment and storage medium of sweeping robot
CN115024667B (en) * 2022-07-06 2024-05-28 北京顺造科技有限公司 Base station, control method and control device of base station
CN116098533A (en) * 2022-09-09 2023-05-12 添可智能科技有限公司 Self-cleaning method for cleaning equipment, base station, cleaning equipment and cleaning system
CN119302574B (en) * 2024-12-17 2025-03-25 深圳市杰深科技有限公司 Intelligent control method and system for cleaning roller

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105286732A (en) * 2014-07-01 2016-02-03 张周新 Water-washing cleaning device
CN112043217A (en) * 2020-09-29 2020-12-08 珠海市一微半导体有限公司 Full-automatic cleaning robot system and control method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108720744A (en) * 2017-04-18 2018-11-02 苏州宝时得电动工具有限公司 A kind of clean robot base station and cleaning robot system
CN111201166B (en) * 2017-10-10 2023-10-20 株式会社电装 Vehicle cleaning system
DE102017129521A1 (en) * 2017-12-12 2019-06-13 Miele & Cie. Kg Method for controlling a suction robot and suction robot for carrying out such a method
CN110236455B (en) * 2019-01-08 2021-04-16 云鲸智能科技(东莞)有限公司 Control method, device, equipment and storage medium for mopping robot
CN112826383B (en) * 2021-02-25 2022-05-03 深圳市银星智能科技股份有限公司 Cleaning robot cleaning control method and device, base station and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105286732A (en) * 2014-07-01 2016-02-03 张周新 Water-washing cleaning device
CN112043217A (en) * 2020-09-29 2020-12-08 珠海市一微半导体有限公司 Full-automatic cleaning robot system and control method

Also Published As

Publication number Publication date
CN113598652A (en) 2021-11-05

Similar Documents

Publication Publication Date Title
CN113598652B (en) Robot control method, robot control device, cleaning robot and storage medium
CN113854902B (en) Self-cleaning system, self-moving device, workstation and working method thereof
CN114376452B (en) Method and device for determining dirt degree of cleaning mechanism and storage medium
CN111358342A (en) Self-cleaning control method of cleaning equipment, cleaning equipment and storage medium
CN113143123A (en) Cleaning robot system and cleaning control method
CN111000505B (en) A kind of control method and controller for sweeper
CN115399697A (en) Self-cleaning method and device for cleaning equipment, storage medium and electronic device
WO2023082946A1 (en) Control method for cleaning device, and device and storage medium
CN115500750B (en) Self-cleaning and water injection method for sewage bucket, cleaning equipment and base station
CN114847825B (en) Surface cleaning device and self-cleaning method thereof, surface cleaning system, and storage medium
CN115429161A (en) Control method, device, system and storage medium of cleaning robot
CN111743477B (en) Cleaning control method and device for cleaning mechanism and storage medium
WO2023071537A1 (en) Control method and apparatus for cleaning device, and cleaning device
EP4342353B1 (en) Cleaning robot control method and apparatus, cleaning method and system, and storage medium
CN115444327A (en) Processing method, device and system for cleaning image of cleaning equipment and storage medium
CN204862994U (en) Intelligence combination formula cleaning device
CN115104957B (en) Dust box cleaning control method and device of sweeping robot and storage medium
CN115836829A (en) Surface cleaning device water yield control method and system
CN118319190A (en) Cleaning method and device for recycling components, cleaning system and medium
CN104939756A (en) Intelligent combined type cleaning device
WO2025015843A1 (en) Passive cleaning device and cleaning control method therefor, and computer storage medium
CN116942034A (en) Self-cleaning method of cleaning equipment, cleaning equipment and storage medium
CN117179661A (en) Cleaning methods, cleaning devices, cleaning equipment, cleaning systems and storage media
CN212698736U (en) Sweeping and mopping integrated machine
CN115813286A (en) Cleaning control method of cleaning robot and cleaning robot

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20211105

Assignee: HANGZHOU JIUYANG HOUSEHOLD ELECTRICAL APPLIANCES CO.,LTD.

Assignor: Shenzhen beetle intelligence Co.,Ltd.

Contract record no.: X2025980003516

Denomination of invention: Robot control method, device, cleaning robot and storage medium

Granted publication date: 20221122

License type: Common License

Record date: 20250218

EE01 Entry into force of recordation of patent licensing contract