[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111562777A - A cleaning path planning method and device for a sweeping robot - Google Patents

A cleaning path planning method and device for a sweeping robot Download PDF

Info

Publication number
CN111562777A
CN111562777A CN201910085706.5A CN201910085706A CN111562777A CN 111562777 A CN111562777 A CN 111562777A CN 201910085706 A CN201910085706 A CN 201910085706A CN 111562777 A CN111562777 A CN 111562777A
Authority
CN
China
Prior art keywords
cleaned
target area
area
cleaning
block
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.)
Granted
Application number
CN201910085706.5A
Other languages
Chinese (zh)
Other versions
CN111562777B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201910085706.5A priority Critical patent/CN111562777B/en
Publication of CN111562777A publication Critical patent/CN111562777A/en
Application granted granted Critical
Publication of CN111562777B publication Critical patent/CN111562777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

本发明公开了一种扫地机器人的清扫路径规划方法、装置、电子设备和计算机可读存储介质。该方法包括:获取目标区域的地图;根据获取的目标区域的地图,确定一个或多个待清扫区块;根据确定的一个或多个待清扫区块,规划扫地机器人对目标区域的清扫路径。可见,本技术方案中,根据目标区域的地图确定待清扫区块,然后以确定的待清扫区块划扫地机器人对目标区域的清扫路径,并非是以固定的区块作为扫地机器人的清扫路径进行清扫,规划的路径更加适用于目标区域,提高清扫效率,增强用户使用体验。

Figure 201910085706

The invention discloses a cleaning path planning method, device, electronic device and computer-readable storage medium of a cleaning robot. The method includes: acquiring a map of the target area; determining one or more blocks to be cleaned according to the acquired map of the target area; planning a cleaning path of the cleaning robot to the target area according to the determined one or more blocks to be cleaned. It can be seen that in this technical solution, the block to be cleaned is determined according to the map of the target area, and then the determined block to be cleaned is used to define the cleaning path of the cleaning robot to the target area, instead of using a fixed block as the cleaning path of the cleaning robot. Cleaning, the planned path is more suitable for the target area, which improves the cleaning efficiency and enhances the user experience.

Figure 201910085706

Description

一种扫地机器人的清扫路径规划方法和装置A cleaning path planning method and device for a sweeping robot

技术领域technical field

本发明涉及机器人技术领域,具体涉及一种扫地机器人的清扫路径规划方法、装置、电子设备和计算机可读存储介质。The present invention relates to the field of robot technology, and in particular to a cleaning path planning method, device, electronic device and computer-readable storage medium of a sweeping robot.

背景技术Background technique

现如今,各种各样的机器人已经被应用在各行各业,而且也进入到人们的日常生活中,例如扫地机器人,给人们的生活带来很大的便捷。用户通常会使用扫地机器人完成指定区域的清扫工作,例如家里。现有技术中,扫地机器人通常是以固定大小的区块为单位进行清扫,例如长宽2米的正方形,这样不管指定区域的面积多大,扫地机器人均是进行一个单位的一个单位的清扫,这样规划的清扫路径致使清扫效率较低。Nowadays, all kinds of robots have been used in all walks of life, and they have also entered people's daily life, such as sweeping robots, which bring great convenience to people's lives. Users usually use robot vacuum cleaners to clean designated areas, such as homes. In the prior art, the sweeping robot usually cleans in units of fixed size blocks, such as a square with a length and width of 2 meters, so no matter how large the area of the designated area is, the sweeping robot cleans one unit by one, so that The planned cleaning path results in lower cleaning efficiency.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的扫地机器人的清扫路径规划方法、装置、电子设备和计算机可读存储介质。In view of the above problems, the present invention is proposed to provide a cleaning path planning method, apparatus, electronic device and computer-readable storage medium for a cleaning robot that overcomes the above problems or at least partially solves the above problems.

根据本发明的一个方面,提供了一种扫地机器人的清扫路径规划方法,其中,该方法包括:According to an aspect of the present invention, there is provided a cleaning path planning method for a cleaning robot, wherein the method includes:

获取目标区域的地图;Get a map of the target area;

根据获取的目标区域的地图,确定一个或多个待清扫区块;Determine one or more blocks to be cleaned according to the acquired map of the target area;

根据确定的一个或多个待清扫区块,规划扫地机器人对所述目标区域的清扫路径。According to the determined one or more blocks to be cleaned, the cleaning path of the cleaning robot to the target area is planned.

可选地,所述获取目标区域的地图包括:Optionally, the obtaining the map of the target area includes:

接收智能终端发送的探测目标区域的控制指令;Receive the control command sent by the intelligent terminal to detect the target area;

根据所述控制指令,对所述目标区域进行探测,得到所述目标区域的探测信息;According to the control instruction, the target area is detected to obtain detection information of the target area;

根据得到的探测信息,确定所述目标区域的地图。According to the obtained detection information, a map of the target area is determined.

可选地,所述对所述目标区域进行探测,得到所述目标区域的探测信息包括:Optionally, the detecting the target area to obtain the detection information of the target area includes:

根据发射的探测信号和接收到的反射信号,生成所述目标区域的探测信息。The detection information of the target area is generated according to the transmitted detection signal and the received reflected signal.

可选地,所述根据获取的目标区域的地图,确定一个或多个待清扫区块包括:Optionally, determining one or more blocks to be cleaned according to the acquired map of the target area includes:

根据获取的目标区域的地图,确定所述目标区域中的一个或多个连通区域,并获取各连通区域的面积;According to the obtained map of the target area, determine one or more connected areas in the target area, and obtain the area of each connected area;

判断各连通区域的面积是否大于第一预设阈值;judging whether the area of each connected region is greater than a first preset threshold;

若判断为是,则将该连通区域连接的各子区域作为一个待清扫区块;若判断为否,则将该连通区域连接的各子区域分别作为一个待清扫区块。If the judgment is yes, each sub-region connected by the connected area is regarded as a block to be cleaned; if the judgment is NO, each sub-area connected by the connected area is regarded as a block to be cleaned respectively.

可选地,所述根据获取的目标区域的地图,确定一个或多个待清扫区块包括:Optionally, determining one or more blocks to be cleaned according to the acquired map of the target area includes:

根据获取的目标区域的地图,确定所述目标区域中的一个或多个闭合口,并分别获取各闭合口的长度;According to the obtained map of the target area, determine one or more closed openings in the target area, and obtain the length of each closed opening respectively;

判断各闭合口的长度是否大于第二预设阈值;judging whether the length of each closed port is greater than a second preset threshold;

若判断为是,则将该闭合口连接的各子区域作为一个待清扫区块,若判断为否,则将该闭合口连接的各子区域分别作为一个待清扫区块。If the judgment is yes, each sub-area connected by the closed port is regarded as a block to be cleaned; if the judgment is no, each sub-area connected by the closed port is regarded as a block to be cleaned respectively.

可选地,所述根据确定的一个或多个待清扫区块,规划扫地机器人对所述目标区域的清扫路径包括:Optionally, according to the determined one or more blocks to be cleaned, planning the cleaning path of the cleaning robot to the target area includes:

根据确定的一个或多个待清扫区块,分别规划扫地机器人对各待清扫区块的清扫路径;以及,确定扫地机器人对待清扫区域的清扫顺序。According to the determined one or more blocks to be cleaned, plan the cleaning path of the cleaning robot for each block to be cleaned respectively; and determine the cleaning sequence of the area to be cleaned by the cleaning robot.

可选地,所述确定扫地机器人对待清扫区域的清扫顺序包括:Optionally, the determining the cleaning sequence of the area to be cleaned by the cleaning robot includes:

接收智能终端发送的扫地机器人对待清扫区域的清扫顺序。Receive the cleaning sequence of the area to be cleaned by the cleaning robot sent by the smart terminal.

可选地,该方法还包括:Optionally, the method further includes:

控制所述扫地机器人按照规划的清扫路径完成一个待清扫区块的清扫后,按照所述清扫顺序,进行下一个待清扫区块的清扫。After the cleaning robot is controlled to complete the cleaning of one block to be cleaned according to the planned cleaning path, the next block to be cleaned is cleaned according to the cleaning sequence.

根据本发明的另一方面,提供了一种扫地机器人的清扫路径规划装置,其中,该装置包括:According to another aspect of the present invention, a cleaning path planning device for a cleaning robot is provided, wherein the device includes:

获取单元,适于获取目标区域的地图;an acquisition unit, adapted to acquire a map of the target area;

确定单元,适于根据获取的目标区域的地图,确定一个或多个待清扫区块;a determining unit, adapted to determine one or more blocks to be cleaned according to the acquired map of the target area;

规划单元,适于根据确定的一个或多个待清扫区块,规划扫地机器人对所述目标区域的清扫路径。The planning unit is adapted to plan the cleaning path of the cleaning robot to the target area according to the determined one or more blocks to be cleaned.

可选地,Optionally,

所述获取单元,适于接收智能终端发送的探测目标区域的控制指令;根据所述控制指令,对所述目标区域进行探测,得到所述目标区域的探测信息;根据得到的探测信息,确定所述目标区域的地图。The acquisition unit is adapted to receive a control instruction for detecting a target area sent by an intelligent terminal; according to the control instruction, detect the target area to obtain detection information of the target area; and determine the target area according to the acquired detection information. A map describing the target area.

可选地,Optionally,

所述获取单元,适于根据发射的探测信号和接收到的反射信号,生成所述目标区域的探测信息。The acquisition unit is adapted to generate the detection information of the target area according to the transmitted detection signal and the received reflected signal.

可选地,Optionally,

所述确定单元,适于根据获取的目标区域的地图,确定所述目标区域中的一个或多个连通区域,并获取各连通区域的面积;判断各连通区域的面积是否大于第一预设阈值;若判断为是,则将该连通区域连接的各子区域作为一个待清扫区块;若判断为否,则将该连通区域连接的各子区域分别作为一个待清扫区块。The determining unit is adapted to determine one or more connected areas in the target area according to the obtained map of the target area, and obtain the area of each connected area; and determine whether the area of each connected area is greater than a first preset threshold ; If it is judged as yes, then each sub-region connected by the connected region is regarded as a block to be cleaned; if it is judged as no, then each sub-region connected by the connected region is regarded as a block to be cleaned respectively.

可选地,Optionally,

所述确定单元,适于根据获取的目标区域的地图,确定所述目标区域中的一个或多个闭合口,并分别获取各闭合口的长度;判断各闭合口的长度是否大于第二预设阈值;若判断为是,则将该闭合口连接的各子区域作为一个待清扫区块,若判断为否,则将该闭合口连接的各子区域分别作为一个待清扫区块。The determining unit is adapted to determine one or more closed openings in the target area according to the acquired map of the target area, and obtain the length of each closed opening respectively; and determine whether the length of each closed opening is greater than a second preset Threshold; if the judgment is yes, each sub-area connected by the closed port is regarded as a block to be cleaned; if the judgment is no, each sub-area connected by the closed port is regarded as a block to be cleaned respectively.

可选地,所述规划单元,适于根据确定的一个或多个待清扫区块,分别规划扫地机器人对各待清扫区块的清扫路径;以及,确定扫地机器人对待清扫区域的清扫顺序。Optionally, the planning unit is adapted to separately plan the cleaning path of the cleaning robot for each area to be cleaned according to the determined one or more blocks to be cleaned; and determine the cleaning sequence of the area to be cleaned by the cleaning robot.

可选地,所述规划单元,适于接收智能终端发送的扫地机器人对待清扫区域的清扫顺序。Optionally, the planning unit is adapted to receive the cleaning sequence of the area to be cleaned by the cleaning robot sent by the intelligent terminal.

可选地,该装置还包括:Optionally, the device also includes:

控制单元,适于控制所述扫地机器人按照规划的清扫路径完成一个待清扫区块的清扫后,按照所述清扫顺序,进行下一个待清扫区块的清扫。The control unit is adapted to control the cleaning robot to clean a block to be cleaned according to the planned cleaning path, and then to clean the next block to be cleaned according to the cleaning sequence.

根据本发明的又一方面,提供了一种电子设备,其中,该电子设备包括:According to yet another aspect of the present invention, an electronic device is provided, wherein the electronic device includes:

处理器;以及,processor; and,

被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行根据前述的方法。A memory arranged to store computer-executable instructions which, when executed, cause the processor to perform a method according to the foregoing.

根据本发明的再一方面,提供了一种计算机可读存储介质,其中,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被处理器执行时,实现前述的方法。According to yet another aspect of the present invention, there is provided a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs that, when executed by a processor, implement the foregoing Methods.

根据本发明的技术方案,获取目标区域的地图;根据获取的目标区域的地图,确定一个或多个待清扫区块;根据确定的一个或多个待清扫区块,规划扫地机器人对目标区域的清扫路径。可见,本技术方案中,根据目标区域的地图确定待清扫区块,然后以确定的待清扫区块划扫地机器人对目标区域的清扫路径,并非是以固定的区块作为扫地机器人的清扫路径进行清扫,规划的路径更加适用于目标区域,提高清扫效率,增强用户使用体验。According to the technical solution of the present invention, a map of the target area is obtained; according to the obtained map of the target area, one or more blocks to be cleaned are determined; Clean the path. It can be seen that in this technical solution, the block to be cleaned is determined according to the map of the target area, and then the determined block to be cleaned is used to define the cleaning path of the cleaning robot to the target area, instead of using a fixed block as the cleaning path of the cleaning robot. Cleaning, the planned path is more suitable for the target area, which improves the cleaning efficiency and enhances the user experience.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:

图1示出了根据本发明一个实施例的扫地机器人的清扫路径规划方法的流程示意图;FIG. 1 shows a schematic flowchart of a cleaning path planning method for a cleaning robot according to an embodiment of the present invention;

图2示出了根据本发明一个实施例的目标区域的地图示意图;FIG. 2 shows a schematic map of a target area according to an embodiment of the present invention;

图3示出了根据本发明一个实施例的扫地机器人的清扫路径规划装置的结构示意图;3 shows a schematic structural diagram of a cleaning path planning device for a cleaning robot according to an embodiment of the present invention;

图4示出了根据本发明一个实施例的电子设备的结构示意图;FIG. 4 shows a schematic structural diagram of an electronic device according to an embodiment of the present invention;

图5示出了根据本发明一个实施例的计算机可读存储介质的结构示意图。FIG. 5 shows a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

图1示出了根据本发明一个实施例的扫地机器人的清扫路径规划方法的流程示意图。如图1所示,该方法包括:FIG. 1 shows a schematic flowchart of a cleaning path planning method for a cleaning robot according to an embodiment of the present invention. As shown in Figure 1, the method includes:

步骤S110,获取目标区域的地图。Step S110, acquiring a map of the target area.

步骤S120,根据获取的目标区域的地图,确定一个或多个待清扫区块。Step S120, according to the acquired map of the target area, determine one or more blocks to be cleaned.

步骤S130,根据确定的一个或多个待清扫区块,规划扫地机器人对目标区域的清扫路径。Step S130: Plan a cleaning path of the cleaning robot to the target area according to the determined one or more blocks to be cleaned.

现有技术中,扫地机器人以固定大小的区块为单位确定清扫路径,扫地机器人在进行清扫时,反复的进行固定区块大小的移动,致使清扫效率较低。In the prior art, the sweeping robot determines a cleaning path in units of blocks of a fixed size. When the sweeping robot cleans, it repeatedly moves the fixed block size, resulting in low cleaning efficiency.

本实施例中,以确定的待清扫区块为单位规划扫地机器人的清扫路径,并非是以固定的区块作为扫地机器人的清扫路径进行清扫,提高清扫效率,增强用户使用体验。因为待清扫区块是根据目标区域的地图确定的,使得确定的清扫路径更加适用于目标区域。例如,确定的待清扫区块的大小是4*4,则确定扫地机器人的清扫路径,可以是先沿墙清扫一圈后,以4米为单位反复进行清扫,直至完成该区块的清扫,如果采用现有技术中的2*2的方式进行,因为该待清扫区块包括4个2*2的小区快,那么扫地机器人需要进行4次的以2米为单位的反复清扫,相比较本技术方案来说,清扫效率交底。In this embodiment, the cleaning path of the cleaning robot is planned in units of the determined blocks to be cleaned, instead of using a fixed block as the cleaning path of the cleaning robot for cleaning, which improves cleaning efficiency and enhances user experience. Because the block to be cleaned is determined according to the map of the target area, the determined cleaning path is more suitable for the target area. For example, if the size of the block to be cleaned is determined to be 4*4, then the cleaning path of the sweeping robot can be determined. After cleaning around the wall, the cleaning is repeated in units of 4 meters until the cleaning of the block is completed. If the 2*2 method in the prior art is used, because the block to be cleaned includes four 2*2 cells, the sweeping robot needs to perform 4 repeated cleanings in units of 2 meters. In terms of technical solutions, the cleaning efficiency is revealed.

可见,本技术方案中,根据目标区域的地图确定待清扫区块,然后以确定的待清扫区块划扫地机器人对目标区域的清扫路径,并非是以固定的区块作为扫地机器人的清扫路径进行清扫,规划的路径更加适用于目标区域,提高清扫效率,增强用户使用体验。It can be seen that in this technical solution, the block to be cleaned is determined according to the map of the target area, and then the determined block to be cleaned is used to define the cleaning path of the cleaning robot to the target area, instead of using a fixed block as the cleaning path of the cleaning robot. Cleaning, the planned path is more suitable for the target area, which improves the cleaning efficiency and enhances the user experience.

在本发明的一个实施例中,图1所示的方法的步骤S110中的获取目标区域的地图包括:接收智能终端发送的探测目标区域的控制指令;根据控制指令,对目标区域进行探测,得到目标区域的探测信息;根据得到的探测信息,确定目标区域的地图。In an embodiment of the present invention, acquiring the map of the target area in step S110 of the method shown in FIG. 1 includes: receiving a control instruction for detecting the target area sent by the intelligent terminal; detecting the target area according to the control instruction, and obtaining Detection information of the target area; according to the obtained detection information, determine the map of the target area.

在本实施例中,为了获取到目标区域的地图,用户在开始使用扫地机器人之前,需要通过智能终端控制机器人在目标区域内进行探测,以便扫地机器人可以根据探测信息确定目标区域的地图。In this embodiment, in order to obtain the map of the target area, the user needs to control the robot to detect in the target area through the intelligent terminal before starting to use the cleaning robot, so that the cleaning robot can determine the map of the target area according to the detection information.

具体地,上述的对目标区域进行探测,得到目标区域的探测信息包括:根据发射的探测信号和接收到的反射信号,生成目标区域的探测信息。Specifically, the above-mentioned detecting the target area to obtain the detection information of the target area includes: generating the detection information of the target area according to the transmitted detection signal and the received reflected signal.

在扫地机器人上设置有探测感应模块,在进行探测时可以发出探测信号,并接收返回的反射信号,可以生成目标区域的探测信息,例如,哪里有墙,哪里有障碍物,哪里可以行进等。A detection and induction module is set on the sweeping robot, which can send out detection signals and receive the returned reflected signals during detection, and can generate detection information of the target area, such as where there are walls, where there are obstacles, and where to travel.

在本发明的一个实施例中,图1所示的方法的步骤S120中的根据获取的目标区域的地图,确定一个或多个待清扫区块包括:根据获取的目标区域的地图,确定目标区域中的一个或多个连通区域,并获取各连通区域的面积;判断各连通区域的面积是否大于第一预设阈值;若判断为是,则将该连通区域连接的各子区域作为一个待清扫区块;若判断为否,则将该连通区域连接的各子区域分别作为一个待清扫区块。In an embodiment of the present invention, in step S120 of the method shown in FIG. 1 , determining one or more blocks to be cleaned according to the acquired map of the target area includes: determining the target area according to the acquired map of the target area one or more connected areas in the connected area, and obtain the area of each connected area; determine whether the area of each connected area is greater than the first preset threshold; if it is determined to be yes, then each sub-area connected by the connected area is regarded as a to-be-cleaned block; if the judgment is negative, each sub-area connected by the connected area is regarded as a block to be cleaned.

本技术方案旨在提高清扫效率,在确定待清扫区块时,需要将便于同时处理的区域作为一个待清扫区块,不便于同时处理的区域分别作为一个待清扫区块。本实施例中,可以通过连通区域的面积进行确定,如果连通区域的面积大于第一预设阈值,说明该连通区域连接的各子区域作为一个区块时,扫地机器人可以轻松的反复通过,清扫效率不会受到影响,那么将该连通区域连接的各子区域作为一个待清扫区块;如果连通区域的面积不大于第一预设阈值,说明该连通区域连接的各子区域如果作为一个区块进行清扫,不易于扫地机器人移动,反而会使得清扫效率降低,例如因通道较窄,扫地机器人的行动会收到影响,如果扫地机器人反复通过会降低效率,那么就将该连通区域连接的各子区域分别作为一个待清扫区块。The technical solution aims to improve the cleaning efficiency. When determining the blocks to be cleaned, it is necessary to regard the areas that are convenient for simultaneous processing as a block to be cleaned, and the areas that are not convenient for simultaneous processing as a block to be cleaned respectively. In this embodiment, it can be determined by the area of the connected area. If the area of the connected area is larger than the first preset threshold, it means that when each sub-area connected by the connected area is regarded as a block, the sweeping robot can easily pass through repeatedly and clean Efficiency will not be affected, then each sub-area connected by the connected area is regarded as a block to be cleaned; if the area of the connected area is not greater than the first preset threshold, it means that each sub-area connected by the connected area is regarded as a block. For cleaning, it is not easy for the sweeping robot to move, but it will reduce the cleaning efficiency. For example, due to the narrow passage, the action of the sweeping robot will be affected. The area is regarded as a block to be cleaned.

在本发明的一个实施例中,图1所示的方法的步骤S120中的根据获取的目标区域的地图,确定一个或多个待清扫区块包括:根据获取的目标区域的地图,确定目标区域中的一个或多个闭合口,并分别获取各闭合口的长度;判断各闭合口的长度是否大于第二预设阈值;若判断为是,则将该闭合口连接的各子区域作为一个待清扫区块,若判断为否,则将该闭合口连接的各子区域分别作为一个待清扫区块。In an embodiment of the present invention, in step S120 of the method shown in FIG. 1 , determining one or more blocks to be cleaned according to the acquired map of the target area includes: determining the target area according to the acquired map of the target area One or more closed ports in the closed port, and obtain the length of each closed port respectively; judge whether the length of each closed port is greater than the second preset threshold; The cleaning block, if the judgment is negative, the sub-regions connected by the closed port are respectively regarded as a block to be cleaned.

在实际应用中,目标区域中的子区域是通过闭合口连接的,该闭合口即各子区域中外围连线的缺口。例如,子区域是一个屋子,与另一个屋子是通过门连接,该屋子外围是四面墙,其中的一个或多个墙上设置有一个门,则这个门就是一个闭合口,闭合口的长度就是门的宽度。In practical applications, the sub-regions in the target region are connected through a closed opening, which is the gap of the peripheral connection line in each sub-region. For example, if a sub-area is a room, which is connected to another room through a door, the room is surrounded by four walls, and one or more walls are provided with a door, then the door is a closed opening, and the length of the closed opening is the width of the door.

在本实施例中,通过设置第二预设阈值的方式确定闭合口连接的各子区域是作为一个待清扫区域,还是分别作为一个待清扫区域。例如,第二预设阈值设置为1.2米。如果连接子区域1与子区域2的闭合口的长度是否大于1.2米,若大于1.2米,则子区域1与子区域2作为待清扫区块1,即作为一个待清扫区块;若不大于1.2米,则子区域1作为待清扫区块1,子区域2作为待清扫区块2,即作为两个待清扫区块。In this embodiment, it is determined by setting a second preset threshold whether each sub-area connected by the closed port is used as a to-be-cleaned area or as a to-be-cleaned area respectively. For example, the second preset threshold is set to 1.2 meters. If the length of the closed opening connecting sub-area 1 and sub-area 2 is greater than 1.2 meters, if it is greater than 1.2 meters, then sub-area 1 and sub-area 2 are regarded as block 1 to be cleaned, that is, a block to be cleaned; 1.2 meters, then sub-area 1 is used as block 1 to be cleaned, and sub-area 2 is used as block 2 to be cleaned, that is, as two blocks to be cleaned.

图2示出了根据本发明一个实施例的目标区域的地图示意图。结合上述两个实施例中的确定待清扫区块的方案,则可以对图2所示的目标区域进行区块的划分。如图2所示,根据该地图确定该目标区域的连通区域包括连通区域1、闭合口2和闭合口3;首先,获取连通区域1的面积,判断连通区域1的面积大于第一预设阈值,则将该连通区域1连接的子区域一和子区域二作为一个待清扫区块。然后分别获取闭合口2的长度和闭合口3的长度,分别判断闭合口2的长度和闭合口3的长度是否大于第二预设阈值;结果判断闭合口2的长度和闭合口3的长度均小于第二预设阈值,那么,将闭合口2连接的子区域三作为一个待清扫区块,将闭合口2连接的子区域四作为一个待清扫区块;将闭合口3连接的子区域一作为一个待清扫区块,将闭合口3连接的子区域三作为一个待清扫区块。那么,针对该目标区域,确定的待清扫区块为区块1(子区域一和子区域二)、区块2(子区域三)、区块3(子区域四)三个。FIG. 2 shows a schematic map of a target area according to an embodiment of the present invention. Combined with the solutions for determining the block to be cleaned in the above two embodiments, the target area shown in FIG. 2 can be divided into blocks. As shown in FIG. 2 , the connected area of the target area is determined according to the map, including a connected area 1, a closed port 2 and a closed port 3; first, the area of the connected area 1 is obtained, and it is determined that the area of the connected area 1 is greater than the first preset threshold , the sub-region 1 and sub-region 2 connected by the connected region 1 are regarded as a block to be cleaned. Then obtain the length of the closed mouth 2 and the length of the closed mouth 3 respectively, and judge whether the length of the closed mouth 2 and the length of the closed mouth 3 are greater than the second preset threshold value; Less than the second preset threshold, then, the sub-region three connected by the closed port 2 is regarded as a block to be cleaned, and the sub-region four connected by the closed port 2 is used as a block to be cleaned; the sub-region one connected by the closed port 3 As a block to be cleaned, the sub-region 3 connected to the closed port 3 is used as a block to be cleaned. Then, for the target area, the determined blocks to be cleaned are block 1 (sub-area 1 and sub-area 2), block 2 (sub-area 3), and block 3 (sub-area 4).

在本发明的一个实施例中,图1所示的方法的步骤S130中的根据确定的一个或多个待清扫区块,规划扫地机器人对目标区域的清扫路径包括:根据确定的一个或多个待清扫区块,分别规划扫地机器人对各待清扫区块的清扫路径;以及,确定扫地机器人对待清扫区域的清扫顺序。In an embodiment of the present invention, in step S130 of the method shown in FIG. 1 , according to the determined one or more blocks to be cleaned, planning the cleaning path of the cleaning robot to the target area includes: according to the determined one or more For the blocks to be cleaned, plan the cleaning paths of the cleaning robots for the blocks to be cleaned respectively; and determine the cleaning sequence of the areas to be cleaned by the cleaning robots.

本实施例中,因为确定待清扫区块可以作为一个单位进行清扫,那么在确定各待清扫区块的清扫路径时,就可以待清扫区块作为一个整体进行规划,例如,对于一个待清扫区块,先沿边界清扫一圈后,以该区块的长度或宽度为单方向一次移动的距离,进行往返的清扫,直至完成该区块的清扫。如图2所示的子区域四(区块3),则规划路径为:先沿墙清扫一圈后,从上至下进行往返清扫,直至完成该子区域四的清扫。In this embodiment, since it is determined that the block to be cleaned can be cleaned as a unit, when the cleaning path of each block to be cleaned is determined, the block to be cleaned can be planned as a whole. For example, for an area to be cleaned For the block, first sweep along the boundary for a circle, take the length or width of the block as the distance of one movement in one direction, and perform a round-trip cleaning until the cleaning of the block is completed. As shown in Figure 2 for sub-area 4 (block 3), the planned path is: first sweep along the wall for a circle, and then perform back-and-forth cleaning from top to bottom until the sub-area 4 is cleaned.

因为确定待清扫区块的个数可以是多个,在进行清扫路径规划时,还需要确定待清扫区块的清扫顺序,如图2所示,清扫顺序可以是区块3(子区域四)—>区块2(子区域三)—>区块1(子区域一和子区域二),这样将各待清扫区块的清扫路径和清扫区块的清扫顺序,作为整个目标区域的清扫路径,即完成了整个目标区域的清扫路径的规划。Because it is determined that the number of blocks to be cleaned can be multiple, when planning the cleaning path, it is also necessary to determine the cleaning sequence of the blocks to be cleaned. As shown in Figure 2, the cleaning sequence can be block 3 (sub-area 4) -> block 2 (sub-area 3) -> block 1 (sub-area 1 and sub-area 2), so that the cleaning path of each block to be cleaned and the cleaning sequence of the cleaning block are used as the cleaning path of the entire target area, That is, the planning of the cleaning path of the entire target area is completed.

具体地,上述的确定扫地机器人对待清扫区域的清扫顺序包括:接收智能终端发送的扫地机器人对待清扫区域的清扫顺序。Specifically, the above-mentioned determining the cleaning sequence of the area to be cleaned by the cleaning robot includes: receiving the cleaning sequence of the area to be cleaned by the cleaning robot sent by the intelligent terminal.

在本实施例中,在确定的待清扫区块后,用户可以根据需要自行设定个待清扫区块的清扫顺序。具体地,用户可以在智能终端中输入清扫顺序,以便智能终端将用户输入的清扫顺序输出给扫地机器人的清扫路径规划装置。In this embodiment, after the block to be cleaned is determined, the user can set the cleaning sequence of the block to be cleaned according to needs. Specifically, the user can input the cleaning sequence in the smart terminal, so that the smart terminal outputs the cleaning sequence input by the user to the cleaning path planning device of the cleaning robot.

在本发明的一个实施例中,图1所示的方法还包括:控制扫地机器人按照规划的清扫路径完成一个待清扫区块的清扫后,按照清扫顺序,进行下一个待清扫区块的清扫。In an embodiment of the present invention, the method shown in FIG. 1 further includes: after controlling the sweeping robot to complete the cleaning of one block to be cleaned according to the planned cleaning path, clean the next block to be cleaned according to the cleaning sequence.

在完成扫地机器人的清扫路径规划后,可以根据规划好的清扫路径控制扫地机器人进行清扫工作。例如,如图2所示,清扫顺序可以区块3(子区域四)—>区块2(子区域三)—>区块1(子区域一和子区域二),这样就完成了整个目标区域的清扫路径的规划。根据区块3的清扫路径先沿墙清扫一圈后,从上至下进行往返清扫,控制扫地机器人完成区块3的清扫,根据清扫顺序,根据区块2的清扫路径完成区块2的清扫,然后再根据区块1的清扫路径完成区块1的清扫。After completing the cleaning path planning of the sweeping robot, the sweeping robot can be controlled to perform cleaning work according to the planned cleaning path. For example, as shown in Figure 2, the cleaning sequence can be block 3 (sub-area 4) -> block 2 (sub-area 3) -> block 1 (sub-area 1 and sub-area 2), thus completing the entire target area planning of cleaning paths. According to the cleaning path of block 3, first sweep along the wall for a circle, then perform round-trip cleaning from top to bottom, control the sweeping robot to complete the cleaning of block 3, and complete the cleaning of block 2 according to the cleaning sequence of block 2 according to the cleaning path of block 2 , and then complete the cleaning of block 1 according to the cleaning path of block 1.

图3示出了根据本发明一个实施例的扫地机器人的清扫路径规划装置的结构示意图。如图3所示,该扫地机器人的清扫路径规划装置300包括:FIG. 3 shows a schematic structural diagram of a cleaning path planning device for a cleaning robot according to an embodiment of the present invention. As shown in FIG. 3 , the cleaning path planning device 300 of the cleaning robot includes:

获取单元310,适于获取目标区域的地图。The obtaining unit 310 is adapted to obtain a map of the target area.

确定单元320,适于根据获取的目标区域的地图,确定一个或多个待清扫区块。The determining unit 320 is adapted to determine one or more blocks to be cleaned according to the acquired map of the target area.

规划单元330,适于根据确定的一个或多个待清扫区块,规划扫地机器人对目标区域的清扫路径。The planning unit 330 is adapted to plan the cleaning path of the cleaning robot to the target area according to the determined one or more blocks to be cleaned.

现有技术中,扫地机器人以固定大小的区块为单位确定清扫路径,扫地机器人在进行清扫时,反复的进行固定区块大小的移动,致使清扫效率较低。In the prior art, the sweeping robot determines a cleaning path in units of blocks of a fixed size. When the sweeping robot cleans, it repeatedly moves the fixed block size, resulting in low cleaning efficiency.

本实施例中,以确定的待清扫区块为单位规划扫地机器人的清扫路径,并非是以固定的区块作为扫地机器人的清扫路径进行清扫,提高清扫效率,增强用户使用体验。因为待清扫区块是根据目标区域的地图确定的,使得确定的清扫路径更加适用于目标区域。例如,确定的待清扫区块的大小是4*4,则确定扫地机器人的清扫路径,可以是先沿墙清扫一圈后,以4米为单位反复进行清扫,直至完成该区块的清扫,如果采用现有技术中的2*2的方式进行,因为该待清扫区块包括4个2*2的小区快,那么扫地机器人需要进行4次的以2米为单位的反复清扫,相比较本技术方案来说,清扫效率交底。In this embodiment, the cleaning path of the cleaning robot is planned in units of the determined blocks to be cleaned, instead of using a fixed block as the cleaning path of the cleaning robot for cleaning, which improves cleaning efficiency and enhances user experience. Because the block to be cleaned is determined according to the map of the target area, the determined cleaning path is more suitable for the target area. For example, if the size of the block to be cleaned is determined to be 4*4, then the cleaning path of the sweeping robot can be determined. After cleaning around the wall, the cleaning is repeated in units of 4 meters until the cleaning of the block is completed. If the 2*2 method in the prior art is used, because the block to be cleaned includes four 2*2 cells, the sweeping robot needs to perform 4 repeated cleanings in units of 2 meters. In terms of technical solutions, the cleaning efficiency is revealed.

可见,本技术方案中,根据目标区域的地图确定待清扫区块,然后以确定的待清扫区块划扫地机器人对目标区域的清扫路径,并非是以固定的区块作为扫地机器人的清扫路径进行清扫,规划的路径更加适用于目标区域,提高清扫效率,增强用户使用体验。It can be seen that in this technical solution, the block to be cleaned is determined according to the map of the target area, and then the determined block to be cleaned is used to define the cleaning path of the cleaning robot to the target area, instead of using a fixed block as the cleaning path of the cleaning robot. Cleaning, the planned path is more suitable for the target area, which improves the cleaning efficiency and enhances the user experience.

在本发明的一个实施例中,图3所示的获取单元310,适于接收智能终端发送的探测目标区域的控制指令;根据控制指令,对目标区域进行探测,得到目标区域的探测信息;根据得到的探测信息,确定目标区域的地图。In an embodiment of the present invention, the acquiring unit 310 shown in FIG. 3 is adapted to receive a control instruction for detecting the target area sent by the intelligent terminal; according to the control instruction, the target area is detected to obtain the detection information of the target area; The obtained detection information determines a map of the target area.

在本实施例中,为了获取到目标区域的地图,用户在开始使用扫地机器人之前,需要通过智能终端控制机器人在目标区域内进行探测,以便扫地机器人可以根据探测信息确定目标区域的地图。In this embodiment, in order to obtain the map of the target area, the user needs to control the robot to detect in the target area through the intelligent terminal before starting to use the cleaning robot, so that the cleaning robot can determine the map of the target area according to the detection information.

具体地,上述的获取单元310,适于根据发射的探测信号和接收到的反射信号,生成目标区域的探测信息。Specifically, the above-mentioned obtaining unit 310 is adapted to generate the detection information of the target area according to the transmitted detection signal and the received reflected signal.

在扫地机器人上设置有探测感应模块,在进行探测时可以发出探测信号,并接收返回的反射信号,可以生成目标区域的探测信息,例如,哪里有墙,哪里有障碍物,哪里可以行进等。A detection and induction module is set on the sweeping robot, which can send out detection signals and receive the returned reflected signals during detection, and can generate detection information of the target area, such as where there are walls, where there are obstacles, and where to travel.

在本发明的一个实施例中,图3所示的确定单元320,适于根据获取的目标区域的地图,确定目标区域中的一个或多个连通区域,并获取各连通区域的面积;判断各连通区域的面积是否大于第一预设阈值;若判断为是,则将该连通区域连接的各子区域作为一个待清扫区块;若判断为否,则将该连通区域连接的各子区域分别作为一个待清扫区块。In an embodiment of the present invention, the determining unit 320 shown in FIG. 3 is adapted to determine one or more connected areas in the target area according to the obtained map of the target area, and obtain the area of each connected area; Whether the area of the connected region is greater than the first preset threshold; if it is determined to be yes, then each sub-region connected by the connected region is regarded as a block to be cleaned; if it is determined to be no, then each sub-region connected to the connected region is as a block to be cleaned.

本技术方案旨在提高清扫效率,在确定待清扫区块时,需要将便于同时处理的区域作为一个待清扫区块,不便于同时处理的区域分别作为一个待清扫区块。本实施例中,可以通过连通区域的面积进行确定,如果连通区域的面积大于第一预设阈值,说明该连通区域连接的各子区域作为一个区块时,扫地机器人可以轻松的反复通过,清扫效率不会受到影响,那么将该连通区域连接的各子区域作为一个待清扫区块;如果连通区域的面积不大于第一预设阈值,说明该连通区域连接的各子区域如果作为一个区块进行清扫,不易于扫地机器人移动,反而会使得清扫效率降低,例如因通道较窄,扫地机器人的行动会收到影响,如果扫地机器人反复通过会降低效率,那么就将该连通区域连接的各子区域分别作为一个待清扫区块。The technical solution aims to improve the cleaning efficiency. When determining the blocks to be cleaned, it is necessary to regard the areas that are convenient for simultaneous processing as a block to be cleaned, and the areas that are not convenient for simultaneous processing as a block to be cleaned respectively. In this embodiment, it can be determined by the area of the connected area. If the area of the connected area is larger than the first preset threshold, it means that when each sub-area connected by the connected area is regarded as a block, the sweeping robot can easily pass through repeatedly and clean Efficiency will not be affected, then each sub-area connected by the connected area is regarded as a block to be cleaned; if the area of the connected area is not greater than the first preset threshold, it means that each sub-area connected by the connected area is regarded as a block. For cleaning, it is not easy for the sweeping robot to move, but it will reduce the cleaning efficiency. For example, due to the narrow passage, the action of the sweeping robot will be affected. The area is regarded as a block to be cleaned.

在本发明的一个实施例中,图3所示的确定单元320,适于根据获取的目标区域的地图,确定所述目标区域中的一个或多个闭合口,并分别获取各闭合口的长度;判断各闭合口的长度是否大于第二预设阈值;若判断为是,则将该闭合口连接的各子区域作为一个待清扫区块,若判断为否,则将该闭合口连接的各子区域分别作为一个待清扫区块。In an embodiment of the present invention, the determining unit 320 shown in FIG. 3 is adapted to determine one or more closed openings in the target area according to the acquired map of the target area, and obtain the length of each closed opening respectively ; Judge whether the length of each closed mouth is greater than the second preset threshold; If judged to be yes, then each sub-area connected by this closed mouth is used as a block to be cleaned, if judged as no, then each of the closed mouths connected The sub-areas are respectively regarded as a block to be cleaned.

在实际应用中,目标区域中的子区域是通过闭合口连接的,该闭合口即各子区域中外围连线的缺口。例如,子区域是一个屋子,与另一个屋子是通过门连接,该屋子外围是四面墙,其中的一个或多个墙上设置有一个门,则这个门就是一个闭合口,闭合口的长度就是门的宽度。In practical applications, the sub-regions in the target region are connected through a closed opening, which is the gap of the peripheral connection line in each sub-region. For example, if a sub-area is a room, which is connected to another room through a door, the room is surrounded by four walls, and one or more walls are provided with a door, then the door is a closed opening, and the length of the closed opening is the width of the door.

在本实施例中,通过设置第二预设阈值的方式确定闭合口连接的各子区域是作为一个待清扫区域,还是分别作为一个待清扫区域。例如,第二预设阈值设置为1.2米。如果连接子区域1与子区域2的闭合口的长度是否大于1.2米,若大于1.2米,则子区域1与子区域2作为待清扫区块1,即作为一个待清扫区块;若不大于1.2米,则子区域1作为待清扫区块1,子区域2作为待清扫区块2,即作为两个待清扫区块。In this embodiment, it is determined by setting a second preset threshold whether each sub-area connected by the closed port is used as a to-be-cleaned area or as a to-be-cleaned area respectively. For example, the second preset threshold is set to 1.2 meters. If the length of the closed opening connecting sub-area 1 and sub-area 2 is greater than 1.2 meters, if it is greater than 1.2 meters, then sub-area 1 and sub-area 2 are regarded as block 1 to be cleaned, that is, a block to be cleaned; 1.2 meters, then sub-area 1 is used as block 1 to be cleaned, and sub-area 2 is used as block 2 to be cleaned, that is, as two blocks to be cleaned.

图2示出了根据本发明一个实施例的目标区域的地图示意图。结合上述两个实施例中的确定待清扫区块的方案,则可以对图2所示的目标区域进行区块的划分。如图2所示,根据该地图确定该目标区域的连通区域包括连通区域1、闭合口2和闭合口3;首先,获取连通区域1的面积,判断连通区域1的面积大于第一预设阈值,则将该连通区域1连接的子区域一和子区域二作为一个待清扫区块。然后分别获取闭合口2的长度和闭合口3的长度,分别判断闭合口2的长度和闭合口3的长度是否大于第二预设阈值;结果判断闭合口2的长度和闭合口3的长度均小于第二预设阈值,那么,将闭合口2连接的子区域三作为一个待清扫区块,将闭合口2连接的子区域四作为一个待清扫区块;将闭合口3连接的子区域一作为一个待清扫区块,将闭合口3连接的子区域三作为一个待清扫区块。那么,针对该目标区域,确定的待清扫区块为区块1(子区域一和子区域二)、区块2(子区域三)、区块3(子区域四)三个。FIG. 2 shows a schematic map of a target area according to an embodiment of the present invention. Combined with the solutions for determining the block to be cleaned in the above two embodiments, the target area shown in FIG. 2 can be divided into blocks. As shown in FIG. 2 , the connected area of the target area is determined according to the map, including a connected area 1, a closed port 2 and a closed port 3; first, the area of the connected area 1 is obtained, and it is determined that the area of the connected area 1 is greater than the first preset threshold , the sub-region 1 and sub-region 2 connected by the connected region 1 are regarded as a block to be cleaned. Then obtain the length of the closed mouth 2 and the length of the closed mouth 3 respectively, and judge whether the length of the closed mouth 2 and the length of the closed mouth 3 are greater than the second preset threshold value; Less than the second preset threshold, then, the sub-region three connected by the closed port 2 is regarded as a block to be cleaned, and the sub-region four connected by the closed port 2 is used as a block to be cleaned; the sub-region one connected by the closed port 3 As a block to be cleaned, the sub-region 3 connected to the closed port 3 is used as a block to be cleaned. Then, for the target area, the determined blocks to be cleaned are block 1 (sub-area 1 and sub-area 2), block 2 (sub-area 3), and block 3 (sub-area 4).

在本发明的一个实施例中,图3所示的规划单元330,适于根据确定的一个或多个待清扫区块,分别规划扫地机器人对各待清扫区块的清扫路径;以及,确定扫地机器人对待清扫区域的清扫顺序。In an embodiment of the present invention, the planning unit 330 shown in FIG. 3 is adapted to plan the cleaning path of the cleaning robot for each block to be cleaned according to the determined one or more blocks to be cleaned; The cleaning sequence of the area to be cleaned by the robot.

本实施例中,因为确定待清扫区块可以作为一个单位进行清扫,那么在确定各待清扫区块的清扫路径时,就可以待清扫区块作为一个整体进行规划,例如,对于一个待清扫区块,先沿边界清扫一圈后,以该区块的长度或宽度为单方向一次移动的距离,进行往返的清扫,直至完成该区块的清扫。如图2所示的子区域四(区块3),则规划路径为:先沿墙清扫一圈后,从上至下进行往返清扫,直至完成该子区域四的清扫。In this embodiment, since it is determined that the block to be cleaned can be cleaned as a unit, when the cleaning path of each block to be cleaned is determined, the block to be cleaned can be planned as a whole. For example, for an area to be cleaned For the block, first sweep along the boundary for a circle, take the length or width of the block as the distance of one movement in one direction, and perform a round-trip cleaning until the cleaning of the block is completed. As shown in Figure 2 for sub-area 4 (block 3), the planned path is: first sweep along the wall for a circle, and then perform back-and-forth cleaning from top to bottom until the sub-area 4 is cleaned.

因为确定待清扫区块的个数可以是多个,在进行清扫路径规划时,还需要确定待清扫区块的清扫顺序,如图2所示,清扫顺序可以是区块3(子区域四)—>区块2(子区域三)—>区块1(子区域一和子区域二),这样就完成了整个目标区域的清扫路径的规划。Because it is determined that the number of blocks to be cleaned can be multiple, when planning the cleaning path, it is also necessary to determine the cleaning sequence of the blocks to be cleaned. As shown in Figure 2, the cleaning sequence can be block 3 (sub-area 4) -> block 2 (sub-area 3) -> block 1 (sub-area 1 and sub-area 2), thus completing the planning of the cleaning path of the entire target area.

具体地,上述的规划单元330,适于接收智能终端发送的扫地机器人对待清扫区域的清扫顺序。Specifically, the above-mentioned planning unit 330 is adapted to receive the cleaning sequence of the area to be cleaned by the cleaning robot sent by the intelligent terminal.

在本实施例中,在确定的待清扫区块后,用户可以根据需要自行设定个待清扫区块的清扫顺序。具体地,用户可以在智能终端中输入清扫顺序,以便智能终端将用户输入的清扫顺序输出给扫地机器人的清扫路径规划装置。In this embodiment, after the block to be cleaned is determined, the user can set the cleaning sequence of the block to be cleaned according to needs. Specifically, the user can input the cleaning sequence in the smart terminal, so that the smart terminal outputs the cleaning sequence input by the user to the cleaning path planning device of the cleaning robot.

在本发明的一个实施例中,图3所示的装置还包括:In an embodiment of the present invention, the device shown in FIG. 3 further includes:

控制单元,适于控制扫地机器人按照规划的清扫路径完成一个待清扫区块的清扫后,按照清扫顺序,进行下一个待清扫区块的清扫。The control unit is adapted to control the cleaning robot to clean a block to be cleaned according to the planned cleaning path, and then to clean the next block to be cleaned according to the cleaning sequence.

在完成扫地机器人的清扫路径规划后,可以根据规划好的清扫路径控制扫地机器人进行清扫工作。例如,如图2所示,清扫顺序可以是区块3(子区域四)—>区块2(子区域三)—>区块1(子区域一和子区域二),这样就完成了整个目标区域的清扫路径的规划。根据区块3的清扫路径先沿墙清扫一圈后,从上至下进行往返清扫,控制扫地机器人完成区块3的清扫,根据清扫顺序,根据区块2的清扫路径完成区块2的清扫,然后再根据区块1的清扫路径完成区块1的清扫。After completing the cleaning path planning of the sweeping robot, the sweeping robot can be controlled to perform cleaning work according to the planned cleaning path. For example, as shown in Figure 2, the cleaning sequence can be block 3 (sub-area four) -> block 2 (sub-area three) -> block 1 (sub-area one and sub-area two), thus completing the entire goal Planning of cleaning paths in the area. According to the cleaning path of block 3, first sweep along the wall for a circle, then perform round-trip cleaning from top to bottom, control the sweeping robot to complete the cleaning of block 3, and complete the cleaning of block 2 according to the cleaning sequence of block 2 according to the cleaning path of block 2 , and then complete the cleaning of block 1 according to the cleaning path of block 1.

综上所述,根据本发明的技术方案,获取目标区域的地图;根据获取的目标区域的地图,确定一个或多个待清扫区块;根据确定的一个或多个待清扫区块,规划扫地机器人对目标区域的清扫路径。可见,本技术方案中,根据目标区域的地图确定待清扫区块,然后以确定的待清扫区块划扫地机器人对目标区域的清扫路径,并非是以固定的区块作为扫地机器人的清扫路径进行清扫,规划的路径更加适用于目标区域,提高清扫效率,增强用户使用体验。To sum up, according to the technical solution of the present invention, a map of the target area is obtained; according to the obtained map of the target area, one or more blocks to be cleaned are determined; according to the determined one or more blocks to be cleaned, floor sweeping is planned The cleaning path of the robot to the target area. It can be seen that in this technical solution, the block to be cleaned is determined according to the map of the target area, and then the determined block to be cleaned is used to define the cleaning path of the cleaning robot to the target area, instead of using a fixed block as the cleaning path of the cleaning robot. Cleaning, the planned path is more suitable for the target area, which improves the cleaning efficiency and enhances the user experience.

需要说明的是:It should be noted:

在此提供的算法和显示不与任何特定计算机、虚拟装置或者其它设备固有相关。各种通用装置也可以与基于在此的示教一起。根据上面的描述,构造这类装置所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays provided herein are not inherently related to any particular computer, virtual appliance, or other device. Various general-purpose devices can also be used with the teachings based on this. The structure required to construct such a device is apparent from the above description. Furthermore, the present invention is not directed to any particular programming language. It is to be understood that various programming languages may be used to implement the inventions described herein, and that the descriptions of specific languages above are intended to disclose the best mode for carrying out the invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it is to be understood that in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together into a single embodiment, figure, or its description. This disclosure, however, should not be construed as reflecting an intention that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来。Furthermore, those skilled in the art will appreciate that although some of the embodiments described herein include certain features, but not others, included in other embodiments, that combinations of features of different embodiments are intended to be within the scope of the invention within and form different embodiments. For example, in the following claims, any of the claimed embodiments may be implemented in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的扫地机器人的清扫路径规划装置、电子设备和计算机可读存储介质中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that, in practice, a microprocessor or a digital signal processor (DSP) may implement some of the cleaning path planning apparatus, electronic device, and computer-readable storage medium of the cleaning robot according to the embodiment of the present invention Or some or all of the functionality of all components. The present invention can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.

例如,图4示出了根据本发明一个实施例的电子设备的结构示意图。该电子设备400传统上包括处理器410和被安排成存储计算机可执行指令(程序代码)的存储器420。存储器420可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器420具有存储用于执行图1所示的以及各实施例中的任何方法步骤的程序代码440的存储空间430。例如,用于程序代码的存储空间430可以包括分别用于实现上面的方法中的各种步骤的各个程序代码440。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为例如图5所述的计算机可读存储介质500。该计算机可读存储介质500可以具有与图4的电子设备中的存储器420类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元存储有用于执行根据本发明的方法步骤的程序代码510,即可以由诸如410之类的处理器读取的程序代码,当这些程序代码由电子设备运行时,导致该电子设备执行上面所描述的方法中的各个步骤。For example, FIG. 4 shows a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device 400 conventionally includes a processor 410 and a memory 420 arranged to store computer-executable instructions (program code). The memory 420 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Memory 420 has storage space 430 for storing program code 440 for performing any of the method steps shown in FIG. 1 and in various embodiments. For example, storage space 430 for program code may include various program codes 440 for implementing various steps in the above methods, respectively. These program codes can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such a computer program product is typically, for example, computer readable storage medium 500 as depicted in FIG. 5 . The computer-readable storage medium 500 may have storage segments, storage spaces, etc. arranged similarly to the memory 420 in the electronic device of FIG. 4 . The program code may, for example, be compressed in a suitable form. Typically, the storage unit stores program code 510 for carrying out the method steps according to the invention, ie program code readable by a processor such as 410, which, when run by an electronic device, causes the electronic device to execute the various steps in the method described above.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-described embodiments illustrate rather than limit the invention, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The words first, second, and third, etc. do not indicate any order. These words can be interpreted as names.

本发明公开了A1、一种扫地机器人的清扫路径规划方法,其中,该方法包括:The present invention discloses A1, a cleaning path planning method for a sweeping robot, wherein the method includes:

获取目标区域的地图;Get a map of the target area;

根据获取的目标区域的地图,确定一个或多个待清扫区块;Determine one or more blocks to be cleaned according to the acquired map of the target area;

根据确定的一个或多个待清扫区块,规划扫地机器人对所述目标区域的清扫路径。According to the determined one or more blocks to be cleaned, the cleaning path of the cleaning robot to the target area is planned.

A2、如A1所述的方法,其中,所述获取目标区域的地图包括:A2. The method of A1, wherein the obtaining the map of the target area includes:

接收智能终端发送的探测目标区域的控制指令;Receive the control command sent by the intelligent terminal to detect the target area;

根据所述控制指令,对所述目标区域进行探测,得到所述目标区域的探测信息;According to the control instruction, the target area is detected to obtain detection information of the target area;

根据得到的探测信息,确定所述目标区域的地图。According to the obtained detection information, a map of the target area is determined.

A3、如A2所述的方法,其中,所述对所述目标区域进行探测,得到所述目标区域的探测信息包括:A3. The method according to A2, wherein the detecting the target area to obtain the detection information of the target area includes:

根据发射的探测信号和接收到的反射信号,生成所述目标区域的探测信息。The detection information of the target area is generated according to the transmitted detection signal and the received reflected signal.

A4、如A1所述的方法,其中,所述根据获取的目标区域的地图,确定一个或多个待清扫区块包括:A4. The method according to A1, wherein determining one or more blocks to be cleaned according to the acquired map of the target area includes:

根据获取的目标区域的地图,确定所述目标区域中的一个或多个连通区域,并获取各连通区域的面积;According to the obtained map of the target area, determine one or more connected areas in the target area, and obtain the area of each connected area;

判断各连通区域的面积是否大于第一预设阈值;judging whether the area of each connected region is greater than a first preset threshold;

若判断为是,则将该连通区域连接的各子区域作为一个待清扫区块;若判断为否,则将该连通区域连接的各子区域分别作为一个待清扫区块。If the judgment is yes, each sub-region connected by the connected area is regarded as a block to be cleaned; if the judgment is NO, each sub-area connected by the connected area is regarded as a block to be cleaned respectively.

A5、如A1所述的方法,其中,所述根据获取的目标区域的地图,确定一个或多个待清扫区块包括:A5. The method according to A1, wherein determining one or more blocks to be cleaned according to the acquired map of the target area includes:

根据获取的目标区域的地图,确定所述目标区域中的一个或多个闭合口,并分别获取各闭合口的长度;According to the obtained map of the target area, determine one or more closed openings in the target area, and obtain the length of each closed opening respectively;

判断各闭合口的长度是否大于第二预设阈值;judging whether the length of each closed port is greater than a second preset threshold;

若判断为是,则将该闭合口连接的各子区域作为一个待清扫区块,若判断为否,则将该闭合口连接的各子区域分别作为一个待清扫区块。If the judgment is yes, each sub-area connected by the closed port is regarded as a block to be cleaned; if the judgment is no, each sub-area connected by the closed port is regarded as a block to be cleaned respectively.

A6、如A1所述的方法,其中,所述根据确定的一个或多个待清扫区块,规划扫地机器人对所述目标区域的清扫路径包括:A6. The method according to A1, wherein, according to the determined one or more blocks to be cleaned, planning the cleaning path of the cleaning robot to the target area includes:

根据确定的一个或多个待清扫区块,分别规划扫地机器人对各待清扫区块的清扫路径;以及,确定扫地机器人对待清扫区域的清扫顺序。According to the determined one or more blocks to be cleaned, plan the cleaning path of the cleaning robot for each block to be cleaned respectively; and determine the cleaning sequence of the area to be cleaned by the cleaning robot.

A7、如A6所述的方法,其中,所述确定扫地机器人对待清扫区域的清扫顺序包括:A7. The method according to A6, wherein the determining the cleaning sequence of the area to be cleaned by the cleaning robot includes:

接收智能终端发送的扫地机器人对待清扫区域的清扫顺序。Receive the cleaning sequence of the area to be cleaned by the cleaning robot sent by the smart terminal.

A8、如A6所述的方法,其中,该方法还包括:A8. The method of A6, wherein the method further comprises:

控制所述扫地机器人按照规划的清扫路径完成一个待清扫区块的清扫后,按照所述清扫顺序,进行下一个待清扫区块的清扫。After the cleaning robot is controlled to complete the cleaning of one block to be cleaned according to the planned cleaning path, the next block to be cleaned is cleaned according to the cleaning sequence.

本发明公开了B9、一种扫地机器人的清扫路径规划装置,其中,该装置包括:The present invention discloses B9, a cleaning path planning device for a sweeping robot, wherein the device includes:

获取单元,适于获取目标区域的地图;an acquisition unit, adapted to acquire a map of the target area;

确定单元,适于根据获取的目标区域的地图,确定一个或多个待清扫区块;a determining unit, adapted to determine one or more blocks to be cleaned according to the acquired map of the target area;

规划单元,适于根据确定的一个或多个待清扫区块,规划扫地机器人对所述目标区域的清扫路径。The planning unit is adapted to plan the cleaning path of the cleaning robot to the target area according to the determined one or more blocks to be cleaned.

B10、如B9所述的装置,其中,B10. The device of B9, wherein,

所述获取单元,适于接收智能终端发送的探测目标区域的控制指令;根据所述控制指令,对所述目标区域进行探测,得到所述目标区域的探测信息;根据得到的探测信息,确定所述目标区域的地图。The acquisition unit is adapted to receive a control instruction for detecting a target area sent by an intelligent terminal; according to the control instruction, detect the target area to obtain detection information of the target area; and determine the target area according to the acquired detection information. A map describing the target area.

B11、如B10所述的装置,其中,B11. The device of B10, wherein,

所述获取单元,适于根据发射的探测信号和接收到的反射信号,生成所述目标区域的探测信息。The acquisition unit is adapted to generate the detection information of the target area according to the transmitted detection signal and the received reflected signal.

B12、如B9所述的装置,其中,B12. The device of B9, wherein,

所述确定单元,适于根据获取的目标区域的地图,确定所述目标区域中的一个或多个连通区域,并获取各连通区域的面积;判断各连通区域的面积是否大于第一预设阈值;若判断为是,则将该连通区域连接的各子区域作为一个待清扫区块;若判断为否,则将该连通区域连接的各子区域分别作为一个待清扫区块。The determining unit is adapted to determine one or more connected areas in the target area according to the obtained map of the target area, and obtain the area of each connected area; and determine whether the area of each connected area is greater than a first preset threshold ; If it is judged as yes, then each sub-region connected by the connected region is regarded as a block to be cleaned; if it is judged as no, then each sub-region connected by the connected region is regarded as a block to be cleaned respectively.

B13、如B9所述的装置,其中,B13. The device of B9, wherein,

所述确定单元,适于根据获取的目标区域的地图,确定所述目标区域中的一个或多个闭合口,并分别获取各闭合口的长度;判断各闭合口的长度是否大于第二预设阈值;若判断为是,则将该闭合口连接的各子区域作为一个待清扫区块,若判断为否,则将该闭合口连接的各子区域分别作为一个待清扫区块。The determining unit is adapted to determine one or more closed openings in the target area according to the acquired map of the target area, and obtain the length of each closed opening respectively; and determine whether the length of each closed opening is greater than a second preset Threshold; if the judgment is yes, each sub-area connected by the closed port is regarded as a block to be cleaned; if the judgment is no, each sub-area connected by the closed port is regarded as a block to be cleaned respectively.

B14、如B9所述的装置,其中,所述规划单元,适于根据确定的一个或多个待清扫区块,分别规划扫地机器人对各待清扫区块的清扫路径;以及,确定扫地机器人对待清扫区域的清扫顺序。B14. The device according to B9, wherein the planning unit is adapted to plan the cleaning path of the cleaning robot for each block to be cleaned according to the determined one or more blocks to be cleaned; The cleaning sequence of the cleaning area.

B15、如B14所述的装置,其中,所述规划单元,适于接收智能终端发送的扫地机器人对待清扫区域的清扫顺序。B15. The device according to B14, wherein the planning unit is adapted to receive the cleaning sequence of the area to be cleaned by the cleaning robot sent by the intelligent terminal.

B16、如B14所述的装置,其中,该装置还包括:B16. The device according to B14, wherein the device further comprises:

控制单元,适于控制所述扫地机器人按照规划的清扫路径完成一个待清扫区块的清扫后,按照所述清扫顺序,进行下一个待清扫区块的清扫。The control unit is adapted to control the cleaning robot to clean a block to be cleaned according to the planned cleaning path, and then to clean the next block to be cleaned according to the cleaning sequence.

本发明还公开了C17、一种电子设备,其中,该电子设备包括:The present invention also discloses C17, an electronic device, wherein the electronic device includes:

处理器;以及,processor; and,

被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行根据A1~A8中任一项所述的方法。A memory arranged to store computer-executable instructions which, when executed, cause the processor to perform a method according to any of A1-A8.

本发明还公开了D18、一种计算机可读存储介质,其中,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被处理器执行时,实现A1~A8中任一项所述的方法。The present invention also discloses D18, a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs, when executed by the processor, implement the steps in A1 to A8. The method of any one.

Claims (10)

1.一种扫地机器人的清扫路径规划方法,其中,该方法包括:1. A cleaning path planning method for a sweeping robot, wherein the method comprises: 获取目标区域的地图;Get a map of the target area; 根据获取的目标区域的地图,确定一个或多个待清扫区块;Determine one or more blocks to be cleaned according to the acquired map of the target area; 根据确定的一个或多个待清扫区块,规划扫地机器人对所述目标区域的清扫路径。According to the determined one or more blocks to be cleaned, the cleaning path of the cleaning robot to the target area is planned. 2.如权利要求1所述的方法,其中,所述获取目标区域的地图包括:2. The method of claim 1, wherein the obtaining a map of the target area comprises: 接收智能终端发送的探测目标区域的控制指令;Receive the control command sent by the intelligent terminal to detect the target area; 根据所述控制指令,对所述目标区域进行探测,得到所述目标区域的探测信息;According to the control instruction, the target area is detected to obtain detection information of the target area; 根据得到的探测信息,确定所述目标区域的地图。According to the obtained detection information, a map of the target area is determined. 3.如权利要求2所述的方法,其中,所述对所述目标区域进行探测,得到所述目标区域的探测信息包括:3. The method of claim 2, wherein the detecting the target area to obtain the detection information of the target area comprises: 根据发射的探测信号和接收到的反射信号,生成所述目标区域的探测信息。The detection information of the target area is generated according to the transmitted detection signal and the received reflected signal. 4.如权利要求1所述的方法,其中,所述根据获取的目标区域的地图,确定一个或多个待清扫区块包括:4. The method according to claim 1, wherein, according to the obtained map of the target area, determining one or more blocks to be cleaned comprises: 根据获取的目标区域的地图,确定所述目标区域中的一个或多个连通区域,并获取各连通区域的面积;According to the obtained map of the target area, determine one or more connected areas in the target area, and obtain the area of each connected area; 判断各连通区域的面积是否大于第一预设阈值;judging whether the area of each connected region is greater than a first preset threshold; 若判断为是,则将该连通区域连接的各子区域作为一个待清扫区块;若判断为否,则将该连通区域连接的各子区域分别作为一个待清扫区块。If the judgment is yes, each sub-region connected by the connected area is regarded as a block to be cleaned; if the judgment is NO, each sub-area connected by the connected area is regarded as a block to be cleaned respectively. 5.如权利要求1所述的方法,其中,所述根据获取的目标区域的地图,确定一个或多个待清扫区块包括:5. The method according to claim 1, wherein, according to the obtained map of the target area, determining one or more blocks to be cleaned comprises: 根据获取的目标区域的地图,确定所述目标区域中的一个或多个闭合口,并分别获取各闭合口的长度;According to the obtained map of the target area, determine one or more closed openings in the target area, and obtain the length of each closed opening respectively; 判断各闭合口的长度是否大于第二预设阈值;judging whether the length of each closed port is greater than a second preset threshold; 若判断为是,则将该闭合口连接的各子区域作为一个待清扫区块,若判断为否,则将该闭合口连接的各子区域分别作为一个待清扫区块。If the judgment is yes, each sub-area connected by the closed port is regarded as a block to be cleaned; if the judgment is no, each sub-area connected by the closed port is regarded as a block to be cleaned respectively. 6.如权利要求1所述的方法,其中,所述根据确定的一个或多个待清扫区块,规划扫地机器人对所述目标区域的清扫路径包括:6. The method according to claim 1, wherein, according to the determined one or more blocks to be cleaned, planning the cleaning path of the cleaning robot to the target area comprises: 根据确定的一个或多个待清扫区块,分别规划扫地机器人对各待清扫区块的清扫路径;以及,确定扫地机器人对待清扫区域的清扫顺序。According to the determined one or more blocks to be cleaned, plan the cleaning path of the cleaning robot for each block to be cleaned respectively; and determine the cleaning sequence of the area to be cleaned by the cleaning robot. 7.如权利要求6所述的方法,其中,所述确定扫地机器人对待清扫区域的清扫顺序包括:7. The method of claim 6, wherein the determining the cleaning sequence of the area to be cleaned by the cleaning robot comprises: 接收智能终端发送的扫地机器人对待清扫区域的清扫顺序。Receive the cleaning sequence of the area to be cleaned by the cleaning robot sent by the smart terminal. 8.一种扫地机器人的清扫路径规划装置,其中,该装置包括:8. A cleaning path planning device for a cleaning robot, wherein the device comprises: 获取单元,适于获取目标区域的地图;an acquisition unit, adapted to acquire a map of the target area; 确定单元,适于根据获取的目标区域的地图,确定一个或多个待清扫区块;a determining unit, adapted to determine one or more blocks to be cleaned according to the acquired map of the target area; 规划单元,适于根据确定的一个或多个待清扫区块,规划扫地机器人对所述目标区域的清扫路径。The planning unit is adapted to plan the cleaning path of the cleaning robot to the target area according to the determined one or more blocks to be cleaned. 9.一种电子设备,其中,该电子设备包括:9. An electronic device, wherein the electronic device comprises: 处理器;以及,processor; and, 被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行根据权利要求1~7中任一项所述的方法。a memory arranged to store computer-executable instructions which, when executed, cause the processor to perform a method according to any of claims 1-7. 10.一种计算机可读存储介质,其中,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被处理器执行时,实现权利要求1~7中任一项所述的方法。10. A computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs that, when executed by a processor, implement any one of claims 1 to 7 the method described.
CN201910085706.5A 2019-01-29 2019-01-29 Sweeping path planning method and device of sweeping robot Active CN111562777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910085706.5A CN111562777B (en) 2019-01-29 2019-01-29 Sweeping path planning method and device of sweeping robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910085706.5A CN111562777B (en) 2019-01-29 2019-01-29 Sweeping path planning method and device of sweeping robot

Publications (2)

Publication Number Publication Date
CN111562777A true CN111562777A (en) 2020-08-21
CN111562777B CN111562777B (en) 2024-04-19

Family

ID=72071315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910085706.5A Active CN111562777B (en) 2019-01-29 2019-01-29 Sweeping path planning method and device of sweeping robot

Country Status (1)

Country Link
CN (1) CN111562777B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333798A (en) * 2020-11-05 2021-02-05 珠海格力电器股份有限公司 Control method and device of intelligent equipment
CN112506178A (en) * 2020-08-25 2021-03-16 深圳市银星智能科技股份有限公司 Robot control method, device, terminal and medium
CN113252026A (en) * 2021-06-03 2021-08-13 炬星科技(深圳)有限公司 Cross-scene navigation method, equipment and storage medium
CN113440055A (en) * 2021-06-30 2021-09-28 北京小狗吸尘器集团股份有限公司 Animal excrement cleaning method and device, computer equipment and computer-readable storage medium
CN113534822A (en) * 2021-09-14 2021-10-22 深圳市元鼎智能创新有限公司 Sweeping robot and path control method and device thereof
CN113892863A (en) * 2021-10-08 2022-01-07 珠海格力电器股份有限公司 Path planning method and device, electronic equipment and storage medium
CN114066917A (en) * 2021-11-11 2022-02-18 深圳市云鼠科技开发有限公司 Cleaning method, cleaning device, electronic equipment and storage medium
CN114190820A (en) * 2020-09-02 2022-03-18 深圳乐动机器人有限公司 Robot area cleaning method and device, robot and storage medium
CN114451816A (en) * 2021-12-23 2022-05-10 杭州华橙软件技术有限公司 Cleaning strategy generation method and device, computer equipment and storage medium
CN114692932A (en) * 2020-12-30 2022-07-01 广东博智林机器人有限公司 Construction path obtaining method and device based on terrace
CN115153350A (en) * 2022-07-14 2022-10-11 深圳拓邦股份有限公司 Supplementary sweeping method and device of sweeping robot, storage medium and sweeping robot
CN115429154A (en) * 2021-06-04 2022-12-06 尚科宁家(中国)科技有限公司 Cleaning control method of cleaning robot and cleaning robot
WO2023273898A1 (en) * 2021-07-02 2023-01-05 追觅创新科技(苏州)有限公司 Method and apparatus for executing voice instruction, storage medium, and electronic apparatus

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920011428A (en) * 1990-12-07 1992-07-24 이헌조 How to automatically clean the cleaner
GB9701857D0 (en) * 1997-01-30 1997-03-19 Notetry Ltd Vacuum cleaner
CN101480795A (en) * 2008-01-11 2009-07-15 三星电子株式会社 Method and apparatus for planning path of mobile robot
DE102011052154A1 (en) * 2011-03-30 2012-10-04 Micro-Star Int'l Co., Ltd. Cleaning path quenching method with dirt scan
CN103099583A (en) * 2011-11-14 2013-05-15 三星电子株式会社 Robot cleaner and control method thereof
CN104460663A (en) * 2013-09-23 2015-03-25 科沃斯机器人科技(苏州)有限公司 Method for controlling cleaning robot through smart phone
CN106793905A (en) * 2014-08-19 2017-05-31 三星电子株式会社 Clean robot and the control device for clean robot, control system and control method
CN106805856A (en) * 2016-12-31 2017-06-09 鸿奇机器人股份有限公司 Method of controlling cleaning robot
CN106863305A (en) * 2017-03-29 2017-06-20 赵博皓 A kind of sweeping robot room map creating method and device
CN107328419A (en) * 2017-06-21 2017-11-07 上海斐讯数据通信技术有限公司 The planing method and sweeping robot in a kind of cleaning path of sweeping robot
CN107728615A (en) * 2017-09-26 2018-02-23 上海思岚科技有限公司 A kind of method and system of adaptive region division
CN107773164A (en) * 2017-11-17 2018-03-09 北京奇虎科技有限公司 Clean method, device and robot for clean robot
CN107837044A (en) * 2017-11-17 2018-03-27 北京奇虎科技有限公司 Subregion clean method, device and the robot of clean robot
CN107898393A (en) * 2017-11-17 2018-04-13 北京奇虎科技有限公司 Block method of adjustment, device and robot for clean robot
CN107928565A (en) * 2017-11-17 2018-04-20 北京奇虎科技有限公司 Clean method, device and the robot of clean robot
CN108143364A (en) * 2017-12-28 2018-06-12 湖南格兰博智能科技有限责任公司 A kind of method for cleaning map area division from mobile clean robot
CN108209741A (en) * 2017-08-30 2018-06-29 深圳乐动机器人有限公司 Clean robot control method and clean robot
CN108451445A (en) * 2018-04-22 2018-08-28 吉首君致知识产权有限责任公司 Sweeping robot and its control method

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920011428A (en) * 1990-12-07 1992-07-24 이헌조 How to automatically clean the cleaner
US5353224A (en) * 1990-12-07 1994-10-04 Goldstar Co., Ltd. Method for automatically controlling a travelling and cleaning operation of vacuum cleaners
GB9701857D0 (en) * 1997-01-30 1997-03-19 Notetry Ltd Vacuum cleaner
CN1251506A (en) * 1997-01-30 2000-04-26 诺特特里有限公司 Vacuum cleaner
CN101480795A (en) * 2008-01-11 2009-07-15 三星电子株式会社 Method and apparatus for planning path of mobile robot
DE102011052154A1 (en) * 2011-03-30 2012-10-04 Micro-Star Int'l Co., Ltd. Cleaning path quenching method with dirt scan
CN102727135A (en) * 2011-03-30 2012-10-17 恩斯迈电子(深圳)有限公司 Cleaning route guiding method combined with dirt detection mechanism
CN103099583A (en) * 2011-11-14 2013-05-15 三星电子株式会社 Robot cleaner and control method thereof
CN104460663A (en) * 2013-09-23 2015-03-25 科沃斯机器人科技(苏州)有限公司 Method for controlling cleaning robot through smart phone
CN106793905A (en) * 2014-08-19 2017-05-31 三星电子株式会社 Clean robot and the control device for clean robot, control system and control method
CN106805856A (en) * 2016-12-31 2017-06-09 鸿奇机器人股份有限公司 Method of controlling cleaning robot
CN106863305A (en) * 2017-03-29 2017-06-20 赵博皓 A kind of sweeping robot room map creating method and device
CN107328419A (en) * 2017-06-21 2017-11-07 上海斐讯数据通信技术有限公司 The planing method and sweeping robot in a kind of cleaning path of sweeping robot
CN108209741A (en) * 2017-08-30 2018-06-29 深圳乐动机器人有限公司 Clean robot control method and clean robot
CN107728615A (en) * 2017-09-26 2018-02-23 上海思岚科技有限公司 A kind of method and system of adaptive region division
CN107773164A (en) * 2017-11-17 2018-03-09 北京奇虎科技有限公司 Clean method, device and robot for clean robot
CN107837044A (en) * 2017-11-17 2018-03-27 北京奇虎科技有限公司 Subregion clean method, device and the robot of clean robot
CN107898393A (en) * 2017-11-17 2018-04-13 北京奇虎科技有限公司 Block method of adjustment, device and robot for clean robot
CN107928565A (en) * 2017-11-17 2018-04-20 北京奇虎科技有限公司 Clean method, device and the robot of clean robot
CN108143364A (en) * 2017-12-28 2018-06-12 湖南格兰博智能科技有限责任公司 A kind of method for cleaning map area division from mobile clean robot
CN108451445A (en) * 2018-04-22 2018-08-28 吉首君致知识产权有限责任公司 Sweeping robot and its control method

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506178A (en) * 2020-08-25 2021-03-16 深圳市银星智能科技股份有限公司 Robot control method, device, terminal and medium
CN112506178B (en) * 2020-08-25 2023-02-28 深圳银星智能集团股份有限公司 Robot control method, device, terminal and medium
CN114190820A (en) * 2020-09-02 2022-03-18 深圳乐动机器人有限公司 Robot area cleaning method and device, robot and storage medium
CN112333798A (en) * 2020-11-05 2021-02-05 珠海格力电器股份有限公司 Control method and device of intelligent equipment
CN114692932A (en) * 2020-12-30 2022-07-01 广东博智林机器人有限公司 Construction path obtaining method and device based on terrace
CN113252026B (en) * 2021-06-03 2021-10-08 炬星科技(深圳)有限公司 Cross-scene navigation method, equipment and storage medium
CN113252026A (en) * 2021-06-03 2021-08-13 炬星科技(深圳)有限公司 Cross-scene navigation method, equipment and storage medium
CN115429154A (en) * 2021-06-04 2022-12-06 尚科宁家(中国)科技有限公司 Cleaning control method of cleaning robot and cleaning robot
CN113440055B (en) * 2021-06-30 2022-06-10 北京小狗吸尘器集团股份有限公司 Animal excrement cleaning method and device, computer equipment and computer-readable storage medium
CN113440055A (en) * 2021-06-30 2021-09-28 北京小狗吸尘器集团股份有限公司 Animal excrement cleaning method and device, computer equipment and computer-readable storage medium
WO2023273898A1 (en) * 2021-07-02 2023-01-05 追觅创新科技(苏州)有限公司 Method and apparatus for executing voice instruction, storage medium, and electronic apparatus
CN113534822A (en) * 2021-09-14 2021-10-22 深圳市元鼎智能创新有限公司 Sweeping robot and path control method and device thereof
CN113892863A (en) * 2021-10-08 2022-01-07 珠海格力电器股份有限公司 Path planning method and device, electronic equipment and storage medium
CN114066917A (en) * 2021-11-11 2022-02-18 深圳市云鼠科技开发有限公司 Cleaning method, cleaning device, electronic equipment and storage medium
CN114451816A (en) * 2021-12-23 2022-05-10 杭州华橙软件技术有限公司 Cleaning strategy generation method and device, computer equipment and storage medium
CN114451816B (en) * 2021-12-23 2024-02-09 杭州华橙软件技术有限公司 Cleaning policy generation method, cleaning policy generation device, computer device and storage medium
CN115153350A (en) * 2022-07-14 2022-10-11 深圳拓邦股份有限公司 Supplementary sweeping method and device of sweeping robot, storage medium and sweeping robot

Also Published As

Publication number Publication date
CN111562777B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
CN111562777A (en) A cleaning path planning method and device for a sweeping robot
CN108445878B (en) Obstacle processing method for sweeping robot and sweeping robot
Anderson et al. On evaluation of embodied navigation agents
CN108829115B (en) A kind of motion control method and its calculating equipment of robot
KR101637906B1 (en) Methods, devices, program and recording medium for clearing garbage
CN103099583B (en) Robot cleaner and its control method
CN108469816A (en) A kind of processing method of getting rid of poverty, device and the robot of robot
CN109508002B (en) Method and device for cleaning ground by robot and robot
CN111766852A (en) A cleaning control method and device for a sweeping robot
CN107518833A (en) A kind of obstacle recognition method of sweeping robot
CN105388900B (en) The control method and device of automatic sweeping machine
JP2023532015A (en) Determination method, device and storage medium for dirt level of cleaning mechanism
CN109077672B (en) Method and device for selecting block by floor sweeping robot
CN108209743B (en) Fixed-point cleaning method and device, computer equipment and storage medium
US20170371341A1 (en) Method and apparatus for controlling a robotic cleaning device for intensive cleaning
CN111487958A (en) A control method and device for a sweeping robot
CN111904335B (en) Cleaning robot and control method thereof
CN114489058A (en) Sweeping robot, path planning method and device thereof and storage medium
CN110442123A (en) Sweeping robot, cleaning method, environment control method and computer storage medium
CN111481116A (en) Sweeping robot fault detection method and device and sweeping robot
CN111419117B (en) Returning control method of visual floor sweeping robot and visual floor sweeping robot
CN111481106B (en) Detection method and device for charging seat of sweeper, computing equipment and storage medium
CN112237400B (en) Method for area division, self-moving robot and computer storage medium
CN111481108A (en) Repositioning method and device of sweeper
CN111513629B (en) Obstruction detection method and device for obstacle sensor and sweeper

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