Sweeping machine area setting method, device, equipment and computer storage medium

By generating target cleaning maps and cleaning plans on the sweeper terminal, the problem of low efficiency and damage of existing sweepers when cleaning non-smooth areas is solved, and efficient cleaning of non-smooth areas is achieved.

CN112634402BActive Publication Date: 2024-09-17SUZHOU 360 ROBOTIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011642764.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2024-09-17
Estimated Expiration
2040-12-30

AI Technical Summary

Technical Problem

Existing sweepers cannot effectively distinguish and clean non-smooth areas such as carpets and rugs during cleaning, resulting in low cleaning efficiency and possible damage to these areas.

Method used

By receiving the non-smooth area drawing instructions sent by the sweeper at the preset terminal, the non-smooth material information is analyzed, a target cleaning map is generated, and a cleaning plan is generated based on the map and sent to the sweeper for cleaning to ensure that the non-smooth area is cleaned. Not damaged.

Benefits of technology

Improves the sweeping efficiency and accuracy of the sweeper, ensuring that non-smooth areas are cleaned to avoid damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112634402B
    Figure CN112634402B
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and computer storage medium for setting the area of ​​a sweeping machine. When a non-smooth area drawing instruction sent by the sweeping machine is received, the non-smooth material information in the non-smooth area drawing instruction is parsed; a non-smooth area is drawn in a preset cleaning map according to the non-smooth material information to form a target cleaning map; a cleaning plan is generated according to the target cleaning map, and the cleaning plan is sent to the sweeping machine when a cleaning plan selection instruction is received, so that the sweeping machine can clean according to the cleaning plan. The present invention draws a non-smooth area in a preset cleaning map according to the non-smooth material information sent by the sweeping machine to obtain a target cleaning map, and then generates a cleaning plan from the target cleaning map, so that the sweeping machine cleans the non-smooth area when executing the cleaning plan, and cleans the non-smooth area while avoiding damage to the non-smooth area, thereby improving the cleaning efficiency of the sweeping machine.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method, device, equipment and computer storage medium for setting areas for a sweeping machine. Background Art

[0002] With the rapid development of robot technology, various types of robots have begun to be widely used in people's daily lives. For example, sweepers on the market usually have functions such as sweeping, vacuuming, and mopping, which brings great convenience to people's daily cleaning work.

[0003] However, although the current sweeping machines have realized the room division function, they are unable to distinguish non-smooth areas such as carpets and rugs that require special cleaning on the APP / client page. Therefore, when the sweeping machine cleans the area to be cleaned that includes non-smooth areas such as carpets and smooth areas such as floors, the smooth area and the non-smooth area are cleaned in the same way, so that the non-smooth area cannot be cleaned cleanly or is damaged during cleaning, resulting in low cleaning efficiency of the sweeping machine. Summary of the invention

[0004] The main purpose of the present invention is to provide a method, device, equipment and computer storage medium for setting the area of ​​a sweeping machine, aiming to solve the technical problem of low cleaning efficiency of current sweeping machines.

[0005] To achieve the above object, an embodiment of the present invention provides a method for setting a region of a sweeping machine, which is applied to a preset terminal, the preset terminal is communicatively connected with the sweeping machine, and the method for setting a region of the sweeping machine includes:

[0006] When receiving a non-smooth area drawing instruction sent by the sweeping machine, parsing the non-smooth material information in the non-smooth area drawing instruction;

[0007] Drawing a non-smooth area in a preset cleaning map according to the non-smooth material information to form a target cleaning map;

[0008] A cleaning plan is generated according to the target cleaning map, and the cleaning plan is sent to the sweeper when a cleaning plan selection instruction is received, so that the sweeper can clean according to the cleaning plan.

[0009] Optionally, after the step of generating a cleaning plan according to the target cleaning map, the method further includes:

[0010] If a cleaning plan editing instruction is received, it is determined to enter the cleaning plan editing mode;

[0011] Identifying editing information in the cleaning plan editing instruction;

[0012] The cleaning plan is adjusted according to the editing information to generate an updated cleaning plan.

[0013] Optionally, the step of drawing a non-smooth area in a preset cleaning map according to the non-smooth material information to form a target cleaning map includes:

[0014] Obtaining a preset cleaning map, and extracting material information and edge recognition information from the non-smooth material information;

[0015] Drawing a non-smooth area in the preset cleaning map according to the material information and the edge recognition information;

[0016] The preset cleaning map after drawing the non-smooth area is determined as the target cleaning map.

[0017] Optionally, the step of drawing a non-smooth area in the preset cleaning map according to the material information and the edge recognition information includes:

[0018] Obtaining a non-smooth area identifier corresponding to the material information;

[0019] Determine a target drawing color for the non-smooth area marker from a preset color table;

[0020] A non-smooth area is drawn in the preset cleaning map with the target drawing color according to the edge identification information.

[0021] Optionally, the step of determining the target drawing color of the non-smooth area mark from a preset color table includes:

[0022] Detecting whether there is any drawing color matching the non-smooth area identifier among a plurality of drawing colors in a preset color table;

[0023] If there is any drawing color matching the non-smooth area identifier, the drawing color matching the non-smooth area identifier is determined as the target drawing color.

[0024] Optionally, the step of drawing a non-smooth area in the preset cleaning map with the target drawing color according to the edge recognition information includes:

[0025] Determine boundary information of a non-smooth area according to the edge recognition information;

[0026] The non-smooth area is drawn with the target drawing color according to the boundary information.

[0027] Optionally, the step of drawing the non-smooth area with the target drawing color according to the boundary information includes:

[0028] Determining a drawing shape of the non-smooth area according to the boundary information;

[0029] The non-smooth area is drawn with the target drawing color according to the drawing shape.

[0030] Optionally, the step of generating a cleaning plan according to the target cleaning map includes:

[0031] Identifying a target drawing color in the target sweep map;

[0032] determining a cleaning suction force and / or a cleaning frequency of the non-smooth area according to the target drawing color;

[0033] A cleaning plan is generated according to the cleaning suction force and / or the cleaning times.

[0034] Optionally, when receiving the non-smooth area drawing instruction sent by the sweeping machine, before parsing the non-smooth material information in the non-smooth area drawing instruction, the method further includes:

[0035] A communication connection is established with the sweeping machine based on a preset wireless communication method to receive a non-smooth area drawing instruction containing non-smooth material information sent by the sweeping machine when the sweeping machine detects a non-smooth material.

[0036] Optionally, the preset wireless communication mode is one of Bluetooth, Wi-Fi, ZigBee, NFC, and UWB.

[0037] To achieve the above object, the present invention further provides a sweeping machine area setting device, the sweeping machine area setting device comprising:

[0038] A parsing module, configured to parse non-smooth material information in a non-smooth area drawing instruction when receiving the non-smooth area drawing instruction sent by the sweeping machine;

[0039] A drawing module, used for drawing a non-smooth area in a preset cleaning map according to the non-smooth material information to form a target cleaning map;

[0040] The sending module is used to generate a cleaning plan according to the target cleaning map, and send the cleaning plan to the sweeping machine when receiving a cleaning plan selection instruction, so that the sweeping machine can clean according to the cleaning plan.

[0041] Optionally, the parsing module includes:

[0042] The connection unit is used to establish a communication connection with the sweeping machine based on a preset wireless communication method to receive a non-smooth area drawing instruction containing non-smooth material information sent by the sweeping machine when the sweeping machine detects a non-smooth material.

[0043] Optionally, the drawing module includes:

[0044] An extraction unit, used to obtain a preset cleaning map, and extract material information and edge recognition information from the non-smooth material information;

[0045] A first drawing unit, configured to draw a non-smooth area in the preset cleaning map according to the material information and the edge recognition information;

[0046] The first determining unit is used to determine a preset cleaning map after drawing the non-smooth area as a target cleaning map.

[0047] Optionally, the drawing module further includes:

[0048] An acquisition unit, used for acquiring a non-smooth area identifier corresponding to the material information;

[0049] A second determining unit, configured to determine a target drawing color for the non-smooth area marker from a preset color table;

[0050] The second drawing unit is used to draw a non-smooth area in the preset cleaning map with the target drawing color according to the edge recognition information.

[0051] Optionally, the drawing module further includes:

[0052] a detection unit, configured to detect whether there is any drawing color matching the non-smooth area identifier among a plurality of drawing colors in a preset color table;

[0053] The third determining unit is configured to determine the drawing color matching the non-smooth area identifier as the target drawing color if there is any drawing color matching the non-smooth area identifier.

[0054] Optionally, the drawing module further includes:

[0055] A fourth determining unit, configured to determine boundary information of a non-smooth area according to the edge recognition information;

[0056] The third drawing unit is used to draw the non-smooth area with the target drawing color according to the boundary information.

[0057] Optionally, the drawing module further includes:

[0058] a fifth determining unit, configured to determine a drawing shape of the non-smooth area according to the boundary information;

[0059] The fourth drawing unit is used to draw a non-smooth area with the target drawing color according to the drawing shape.

[0060] Optionally, the sending module includes:

[0061] an identification unit, used to identify the target drawing color in the target cleaning map;

[0062] a sixth determining unit, configured to determine a cleaning suction force and / or a cleaning frequency of the non-smooth area according to the target drawing color;

[0063] A plan generating unit is used to generate a cleaning plan according to the cleaning suction force and / or the number of cleaning times.

[0064] Furthermore, to achieve the above-mentioned purpose, the present invention also provides a sweeping machine area setting device, which includes a memory, a processor, and a sweeping machine area setting program stored in the memory and executable on the processor, and the sweeping machine area setting program implements the steps of the above-mentioned sweeping machine area setting method when executed by the processor.

[0065] Furthermore, to achieve the above-mentioned purpose, the present invention also provides a computer storage medium, on which a sweeping machine area setting program is stored, and when the sweeping machine area setting program is executed by a processor, the steps of the above-mentioned sweeping machine area setting method are implemented.

[0066] The embodiment of the present invention provides a method, device, equipment and computer storage medium for setting the area of ​​a sweeping machine. When a non-smooth area drawing instruction sent by the sweeping machine is received, the non-smooth material information in the non-smooth area drawing instruction is parsed; a non-smooth area is drawn in a preset cleaning map according to the non-smooth material information to form a target cleaning map; a cleaning plan is generated according to the target cleaning map, and the cleaning plan is sent to the sweeping machine when a cleaning plan selection instruction is received, so that the sweeping machine can clean according to the cleaning plan. The present invention draws a non-smooth area in a preset cleaning map according to the non-smooth material information sent by the sweeping machine to obtain a target cleaning map, and then generates a cleaning plan from the target cleaning map, so that the sweeping machine cleans the non-smooth area when executing the cleaning plan, and cleans the non-smooth area while avoiding damage to the non-smooth area, thereby improving the cleaning efficiency of the sweeping machine. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 It is a structural diagram of the hardware operating environment involved in the embodiment of the method for setting the area of ​​a sweeping machine of the present invention;

[0068] Figure 2 It is a schematic diagram of the flow chart of the first embodiment of the method for setting the area of ​​a sweeping machine of the present invention;

[0069] Figure 3 It is a flow chart of the second embodiment of the method for setting the area of ​​a sweeping machine of the present invention;

[0070] Figure 4It is a flow chart of a third embodiment of the method for setting the area of ​​a sweeping machine of the present invention;

[0071] Figure 5 It is a flowchart of a fourth embodiment of the method for setting the area of ​​a sweeping machine of the present invention;

[0072] Figure 6 It is a flowchart of a fifth embodiment of the method for setting the area of ​​a sweeping machine of the present invention;

[0073] Figure 7 It is a flowchart of a sixth embodiment of the method for setting the area of ​​a sweeping machine of the present invention;

[0074] Figure 8 It is a schematic diagram of the functional modules of a preferred embodiment of the area setting device for a sweeping machine of the present invention.

[0075] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0076] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0077] The embodiment of the present invention provides a method, device, equipment and computer storage medium for setting the area of ​​a sweeping machine. When a non-smooth area drawing instruction sent by the sweeping machine is received, the non-smooth material information in the non-smooth area drawing instruction is parsed; a non-smooth area is drawn in a preset cleaning map according to the non-smooth material information to form a target cleaning map; a cleaning plan is generated according to the target cleaning map, and the cleaning plan is sent to the sweeping machine when a cleaning plan selection instruction is received, so that the sweeping machine can clean according to the cleaning plan. The present invention draws a non-smooth area in a preset cleaning map according to the non-smooth material information sent by the sweeping machine to obtain a target cleaning map, and then generates a cleaning plan from the target cleaning map, so that the sweeping machine cleans the non-smooth area when executing the cleaning plan, and cleans the non-smooth area while avoiding damage to the non-smooth area, thereby improving the cleaning efficiency of the sweeping machine.

[0078] like Figure 1 As shown, Figure 1 It is a schematic diagram of the structure of the sweeper area setting device in the hardware operating environment involved in the embodiment of the present invention.

[0079] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0080] The area setting device of the sweeping machine in the embodiment of the present invention may be a PC, or a portable terminal device such as a tablet computer or a portable computer.

[0081] like Figure 1 As shown, the sweeping machine area setting device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or it may be a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.

[0082] Those skilled in the art will understand that Figure 1 The structure of the sweeping machine area setting device shown in the figure does not constitute a limitation on the sweeping machine area setting device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0083] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a sweeper area setting program.

[0084] exist Figure 1 In the device shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the sweeper area setting program stored in the memory 1005 and perform the following operations:

[0085] When receiving a non-smooth area drawing instruction sent by the sweeping machine, parsing the non-smooth material information in the non-smooth area drawing instruction;

[0086] Drawing a non-smooth area in a preset cleaning map according to the non-smooth material information to form a target cleaning map;

[0087] A cleaning plan is generated according to the target cleaning map, and the cleaning plan is sent to the sweeper when a cleaning plan selection instruction is received, so that the sweeper can clean according to the cleaning plan.

[0088] Further, after the step of generating a cleaning plan according to the target cleaning map, the processor 1001 may be used to call the sweeper area setting program stored in the memory 1005 and perform the following operations:

[0089] If a cleaning plan editing instruction is received, it is determined to enter the cleaning plan editing mode;

[0090] Identifying editing information in the cleaning plan editing instruction;

[0091] The cleaning plan is adjusted according to the editing information to generate an updated cleaning plan.

[0092] Furthermore, the step of drawing a non-smooth area in a preset cleaning map according to the non-smooth material information to form a target cleaning map includes:

[0093] Obtaining a preset cleaning map, and extracting material information and edge recognition information from the non-smooth material information;

[0094] Drawing a non-smooth area in the preset cleaning map according to the material information and the edge recognition information;

[0095] The preset cleaning map after drawing the non-smooth area is determined as the target cleaning map.

[0096] Furthermore, the step of drawing a non-smooth area in the preset cleaning map according to the material information and the edge recognition information includes:

[0097] Obtaining a non-smooth area identifier corresponding to the material information;

[0098] Determine a target drawing color for the non-smooth area marker from a preset color table;

[0099] A non-smooth area is drawn in the preset cleaning map with the target drawing color according to the edge identification information.

[0100] Furthermore, the step of determining the target drawing color of the non-smooth area mark from a preset color table includes:

[0101] Detecting whether there is any drawing color matching the non-smooth area identifier among a plurality of drawing colors in a preset color table;

[0102] If there is any drawing color matching the non-smooth area identifier, the drawing color matching the non-smooth area identifier is determined as the target drawing color.

[0103] Furthermore, the step of drawing the non-smooth area in the preset cleaning map with the target drawing color according to the edge recognition information includes:

[0104] Determine boundary information of a non-smooth area according to the edge recognition information;

[0105] The non-smooth area is drawn with the target drawing color according to the boundary information.

[0106] Furthermore, the step of drawing the non-smooth area with the target drawing color according to the boundary information includes:

[0107] Determining a drawing shape of the non-smooth area according to the boundary information;

[0108] The non-smooth area is drawn with the target drawing color according to the drawing shape.

[0109] Furthermore, the step of generating a cleaning plan according to the target cleaning map includes:

[0110] Identifying a target drawing color in the target sweep map;

[0111] determining a cleaning suction force and / or a cleaning frequency of the non-smooth area according to the target drawing color;

[0112] A cleaning plan is generated according to the cleaning suction force and / or the cleaning times.

[0113] Further, when receiving the non-smooth area drawing instruction sent by the sweeping machine, before parsing the non-smooth material information in the non-smooth area drawing instruction, the processor 1001 can be used to call the sweeping machine area setting program stored in the memory 1005, and perform the following operations:

[0114] A communication connection is established with the sweeping machine based on a preset wireless communication method to receive a non-smooth area drawing instruction containing non-smooth material information sent by the sweeping machine when the sweeping machine detects a non-smooth material.

[0115] Furthermore, the preset wireless communication mode is one of Bluetooth, Wi-Fi, ZigBee, NFC, and UWB.

[0116] In order to better understand the above technical solution, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0117] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0118] Reference Figure 2 , a first embodiment of the present invention provides a flow chart of a method for setting a region for a sweeping machine. In this embodiment, the method for setting a region for a sweeping machine includes the following steps:

[0119] Step S10, when receiving a non-smooth area drawing instruction sent by the sweeping machine, parsing the non-smooth material information in the non-smooth area drawing instruction;

[0120] In this embodiment, the area setting method for the sweeping machine is applied to a preset terminal, and the preset terminal is communicatively connected with the sweeping machine. In this embodiment, the preset terminal can be a smart phone, a tablet computer, a PC or other terminals, and an application for controlling and managing the sweeping machine can be installed in the preset terminal; the sweeping machine can be used to clean the designated area, and the cleaning methods of the sweeping machine can include cleaning by a vacuum device and cleaning by a mop.

[0121] It is understandable that when users place non-smooth materials such as blankets and carpets in some areas of their homes or companies, when using a sweeper to clean the area, since non-smooth materials such as blankets and carpets may be adsorbed or stuck with debris, if the non-smooth area is cleaned in the same way as a smooth area, it is easy to have the problem of unclean cleaning. In addition, non-smooth materials such as blankets and carpets may not be able to get wet and may be damaged after getting wet. Therefore, when a sweeping robot is cleaning with a mop, it can only clean smooth areas such as floors, but cannot clean non-smooth areas such as blankets and carpets, so as to avoid damaging the non-smooth areas. On this basis, the user can trigger the non-smooth area detection instruction by selecting the area setting button of the application in the preset terminal, and control the sweeper to identify non-smooth materials through the non-smooth area detection instruction, and send a non-smooth area drawing instruction containing non-smooth material information to the preset terminal when the non-smooth material is detected, so that the preset terminal can draw a non-smooth area in the preset cleaning map according to the non-smooth material information in the non-smooth area drawing instruction, and form a target cleaning map, wherein a plurality of control buttons are set in the application, such as an area setting button, a cleaning scheme selection button, a cleaning scheme editing button, etc., which can be used to trigger different control functions by selecting different control buttons; the preset cleaning map is a map generated according to the area layout information and area division information obtained by the sweeper. Further, the preset terminal detects whether there is a non-smooth area drawing instruction sent by the sweeper when it identifies a non-smooth material. If a non-smooth area drawing instruction is detected, the non-smooth area drawing instruction is received, and the received non-smooth area drawing instruction is parsed to obtain the non-smooth material information contained in the non-smooth area drawing instruction.

[0122] Step S20, drawing a non-smooth area in a preset cleaning map according to the non-smooth material information to form a target cleaning map;

[0123] Furthermore, the preset terminal extracts material information and edge identification information from the non-smooth material information, first obtains the non-smooth area identifier corresponding to the material information, and then determines the target drawing color corresponding to the non-smooth area identifier, wherein the material information includes smooth material information and non-smooth material information. When drawing the non-smooth area in the preset cleaning map, a non-smooth area identifier for characterizing the non-smooth area is preset, and the color of the non-smooth area identifier is different from the color of the smooth area on the preset cleaning map. The edge identification information is identification information obtained by identifying the boundary in the non-smooth material; at the same time, the boundary information of the non-smooth area where the non-smooth material is located is determined according to the edge identification information, and the non-smooth area is drawn in the preset cleaning map with the target drawing color according to the boundary information. After completing the drawing of the non-smooth area, the target cleaning map is obtained, so as to generate a cleaning plan according to the target cleaning map, so that the sweeper can clean according to the cleaning plan, while avoiding damage to the non-smooth area, thereby improving the cleaning efficiency of the sweeper.

[0124] Step S30, generating a cleaning plan according to the target cleaning map, and sending the cleaning plan to the sweeper when receiving a cleaning plan selection instruction, so that the sweeper can perform cleaning according to the cleaning plan.

[0125] Furthermore, after drawing the target cleaning map, the preset terminal determines the cleaning suction and / or cleaning times for cleaning the non-smooth area according to the target drawing color of the non-smooth area in the target cleaning map, and then generates a cleaning plan according to the cleaning suction and / or cleaning times, and sends the cleaning plan to the sweeper when receiving the cleaning plan selection instruction, so that the sweeper can clean according to the cleaning plan. Specifically, the preset terminal detects whether the cleaning plan selection instruction triggered by the user selecting a cleaning plan selection button is received. If the cleaning plan selection instruction is received, the generated cleaning plan is sent to the sweeper based on the communication connection relationship with the sweeper, so that after receiving the cleaning plan, the sweeper can perform one-click cleaning on the area to be cleaned including the non-smooth area according to the cleaning plan, thereby cleaning the non-smooth area while avoiding damage to the non-smooth area, thereby improving the cleaning efficiency of the sweeper.

[0126] It can be understood that in addition to drawing the non-smooth area in the preset cleaning map through the preset terminal to form a target cleaning map, the user can also manually set the non-smooth area identification in the preset cleaning map. Specifically, the shape and size of the non-smooth area can be customized in the preset cleaning map, and then the non-smooth area can be drawn in the preset cleaning map according to the determined shape and size, and the non-smooth area can be filled according to the drawing color of the non-smooth area identification to obtain a target cleaning map containing smooth areas and non-smooth areas, and the preset terminal generates a cleaning plan according to the target cleaning map, so that after receiving the cleaning plan, the sweeper can perform one-click cleaning of the area to be cleaned containing the non-smooth area according to the cleaning plan, while cleaning the non-smooth area, avoiding damage to the non-smooth area, thereby improving the cleaning efficiency of the sweeper.

[0127] The present embodiment provides a method, device, equipment and computer storage medium for setting the area of ​​a sweeping machine. When a non-smooth area drawing instruction sent by a sweeping machine is received, the non-smooth material information in the non-smooth area drawing instruction is parsed; a non-smooth area is drawn in a preset cleaning map according to the non-smooth material information to form a target cleaning map; a cleaning plan is generated according to the target cleaning map, and the cleaning plan is sent to the sweeping machine when a cleaning plan selection instruction is received, so that the sweeping machine can clean according to the cleaning plan. The present invention draws a non-smooth area in a preset cleaning map according to the non-smooth material information sent by the sweeping machine to obtain a target cleaning map, and then generates a cleaning plan from the target cleaning map, so that the sweeping machine cleans the non-smooth area when executing the cleaning plan, and cleans the non-smooth area while avoiding damage to the non-smooth area, thereby improving the cleaning efficiency of the sweeping machine.

[0128] Further, refer to Figure 3 Based on the first embodiment of the method for setting the area of ​​a sweeping machine of the present invention, a second embodiment of the method for setting the area of ​​a sweeping machine of the present invention is proposed. In the second embodiment, after the step of generating a cleaning plan according to the target cleaning map, the method further includes:

[0129] Step S40, if a cleaning plan editing instruction is received, it is determined to enter a cleaning plan editing mode;

[0130] Step S50, identifying the editing information in the cleaning plan editing instruction;

[0131] Step S60, adjusting the cleaning plan according to the editing information to generate an updated cleaning plan.

[0132] Furthermore, the user can also edit the cleaning scheme generated by the preset terminal through the cleaning scheme editing instruction to meet the user's cleaning needs. Specifically, the user can select the cleaning scheme editing button in the application of the preset terminal, input the editing information for instructing the preset terminal how to adjust the cleaning scheme, and trigger the cleaning scheme editing instruction by selecting the cleaning scheme editing button. When the preset terminal receives the cleaning scheme editing instruction triggered by the user based on the cleaning scheme editing button, it means that the user needs to edit the cleaning scheme generated by the preset terminal, and then it is determined to enter the cleaning scheme editing mode, so as to adjust the cleaning scheme according to the user's editing information. The cleaning scheme editing mode is used for the user to adjust the cleaning scheme. Further, after entering the cleaning scheme editing mode, the preset terminal parses the cleaning scheme editing instruction, identifies the editing information contained in the cleaning scheme editing instruction, and obtains the user's modification requirements for the cleaning scheme. Further, the preset terminal adjusts the cleaning scheme according to the editing information to form an updated cleaning scheme that meets the user's cleaning needs.

[0133] In the second embodiment of the present application, if the user believes that the current non-smooth area is relatively dirty, if the cleaning suction and / or the number of cleaning times in the current cleaning plan are used for cleaning, it may not be enough to completely clean the non-smooth area. Therefore, it is necessary to appropriately increase the cleaning suction and / or the number of cleaning times. Then, the new cleaning suction and / or the new number of cleaning times are input as editing information through the application of the preset terminal, and the cleaning plan editing button is used to form a cleaning plan editing instruction, so that the preset terminal forms an updated cleaning plan according to the new cleaning suction and / or the new number of cleaning times. After receiving the cleaning plan editing instruction, the preset terminal parses the editing information formed by the new cleaning suction and / or the new number of cleaning times in the cleaning plan, and adjusts the cleaning plan according to the new cleaning suction and / or the new number of cleaning times in the editing information to form an updated cleaning plan, so that the sweeper can clean according to the updated cleaning plan and clean the non-smooth area.

[0134] In this embodiment, after the cleaning plan is generated, the cleaning plan can be adjusted to an updated cleaning plan according to the editing information in the cleaning plan editing instruction, so that the sweeper can clean the non-smooth area when executing the updated cleaning plan, and avoid damage to the non-smooth area while cleaning the non-smooth area, thereby improving the cleaning efficiency of the sweeper.

[0135] Further, refer to Figure 4 Based on the first embodiment of the method for setting the area of ​​a sweeping machine of the present invention, a third embodiment of the method for setting the area of ​​a sweeping machine of the present invention is proposed. In the third embodiment, the step of drawing a non-smooth area in a preset cleaning map according to the non-smooth material information to form a target cleaning map includes:

[0136] Step S21, obtaining a preset cleaning map, and extracting material information and edge recognition information from the non-smooth material information;

[0137] Step S22, drawing a non-smooth area in the preset cleaning map according to the material information and the edge recognition information;

[0138] Step S23, determining the preset cleaning map after drawing the non-smooth area as the target cleaning map.

[0139] Furthermore, the preset terminal generates a preset cleaning map based on the regional layout information and regional division information obtained by the sweeper, and identifies the non-smooth material information at the same time, and extracts the material information and edge recognition information in the non-smooth material information. After obtaining the preset cleaning map, material information and edge recognition information, the preset terminal first determines the target drawing color based on the material information of the non-smooth material, and determines the boundary information of the non-smooth area based on the edge recognition information, and then draws the non-smooth area in the preset cleaning map according to the target drawing color based on the determined boundary information, and after the non-smooth area is drawn, the preset cleaning map containing the non-smooth area is determined as the target cleaning map, so that the cleaning plan is determined according to the target cleaning map in the subsequent process, so that the sweeper cleans the non-smooth area when executing the cleaning plan, and cleans the non-smooth area while avoiding damage to the non-smooth area, thereby improving the cleaning efficiency of the sweeper.

[0140] Furthermore, the step of drawing a non-smooth area in the preset cleaning map according to the material information and the edge recognition information includes:

[0141] Step S221, obtaining a non-smooth area identifier corresponding to the material information;

[0142] Step S222, determining a target drawing color for the non-smooth area marker from a preset color table;

[0143] Step S223, drawing a non-smooth area in the preset cleaning map with the target drawing color according to the edge recognition information.

[0144] Further, the preset terminal obtains a non-smooth area identifier that matches the material information from the internal memory. Specifically, the preset terminal can use the material information as a search formula to search in the internal memory to determine whether there is a non-smooth area identifier that matches the material information. If there is a non-smooth area identifier that matches the material information, the non-smooth area identifier that matches the material information is read. Further, the preset terminal obtains a preset color table containing multiple drawing colors set in the internal memory, and determines whether there is a drawing color corresponding to the non-smooth area identifier in the preset color table. If there is a drawing color corresponding to the non-smooth area identifier, the drawing color corresponding to the non-smooth area identifier is used as the target drawing color. After determining the target drawing color, the preset terminal determines the boundary information of the non-smooth area according to the edge recognition information, and then draws the non-smooth area in the preset cleaning map with the target drawing color according to the determined boundary information to form a target cleaning map.

[0145] Furthermore, the step of determining the target drawing color of the non-smooth area mark from a preset color table:

[0146] Step S2221, detecting whether there is any drawing color matching the non-smooth area identifier among a plurality of drawing colors in a preset color table;

[0147] Step S2222: If there is any drawing color matching the non-smooth area identifier, the drawing color matching the non-smooth area identifier is determined as the target drawing color.

[0148] Furthermore, the preset terminal uses the non-smooth area identifier as a search formula, searches the preset color table through the search formula, and determines whether there is any drawing color among the multiple drawing colors in the preset color table that matches the non-smooth area identifier; if it is determined through the search that there is a drawing color matching the non-smooth area identifier in the preset color table, the drawing color matching the non-smooth area identifier is determined as the target drawing color for the user to draw the non-smooth area, so that the non-smooth area is drawn with the target drawing color according to the edge recognition information.

[0149] This embodiment draws a non-smooth area in a preset cleaning map according to the non-smooth material information to form a target cleaning map. Since the target drawing color and boundary information of the non-smooth material in the preset cleaning map are determined respectively according to the material information and edge recognition information in the non-smooth material information, the non-smooth area can be accurately drawn in the preset cleaning map, so that the sweeper can accurately clean the non-smooth area when executing the cleaning plan generated by the target cleaning map after drawing the non-smooth area, thereby improving the cleaning accuracy of the sweeper.

[0150] Further, refer to Figure 5Based on the third embodiment of the method for setting the area of ​​a sweeping machine of the present invention, a fourth embodiment of the method for setting the area of ​​a sweeping machine of the present invention is proposed. In the fourth embodiment, the step of drawing the non-smooth area in the preset cleaning map with the target drawing color according to the edge recognition information includes:

[0151] Step S2231, determining boundary information of a non-smooth area according to the edge recognition information;

[0152] Step S2232: drawing a non-smooth area with the target drawing color according to the boundary information.

[0153] Further, the preset terminal first extracts multiple boundary points from the edge recognition information of the non-smooth material information, and connects the multiple boundary points to generate the boundary of the non-smooth area. After generating multiple boundaries of the non-smooth area, the boundary information of the non-smooth area is composed of the multiple boundaries. After determining the boundary information of the non-smooth area, the preset terminal can first determine the drawing shape of the non-smooth area according to the boundary information, draw the boundary according to the determined drawing shape, and then use the target drawing color as the filling color to fill in the formed closed area, and complete the drawing of the non-smooth area after completing the filling, so as to determine the preset cleaning map after drawing the non-smooth area as the target cleaning map.

[0154] Furthermore, the step of drawing the non-smooth area with the target drawing color according to the boundary information includes:

[0155] Step S22311, determining a drawing shape of the non-smooth area according to the boundary information;

[0156] Step S22312: drawing a non-smooth area with the target drawing color according to the drawing shape.

[0157] Furthermore, the preset terminal first identifies the endpoints of multiple boundaries in the boundary information, and connects the multiple boundaries into a closed area according to the multiple endpoints, and uses the closed area as the drawing shape of the non-smooth area. Specifically, two boundaries with the same endpoint can be connected with the same endpoint as the connection point, and the step of "connecting two boundaries with the same endpoint with the same endpoint as the connection point" is executed repeatedly until multiple boundaries are connected and a closed area is formed. After determining the drawing shape of the non-smooth area, the preset terminal first draws the closed outline of the non-smooth area in the preset cleaning map according to the determined drawing shape, and finally fills the drawn closed area with the target drawing color. After completing the color filling, the drawing of the non-smooth area is completed to obtain the target cleaning map.

[0158] This embodiment draws the non-smooth area in the preset cleaning map with the target drawing color according to the edge recognition information, and accurately draws the non-smooth area in the preset cleaning map through the edge recognition information and the target drawing color, so that the sweeper can accurately clean the non-smooth area when executing the cleaning plan generated by the target cleaning map after drawing the non-smooth area, thereby improving the cleaning accuracy of the sweeper.

[0159] Further, refer to Figure 6 Based on the first embodiment of the method for setting the area of ​​a sweeping machine of the present invention, a fifth embodiment of the method for setting the area of ​​a sweeping machine of the present invention is proposed. In the fifth embodiment, the step of generating a cleaning plan according to the target cleaning map includes:

[0160] Step S31, identifying the target drawing color in the target cleaning map;

[0161] Step S32, determining the cleaning suction force and / or cleaning times of the non-smooth area according to the target drawing color;

[0162] Step S33, generating a cleaning plan according to the cleaning suction force and / or the cleaning times.

[0163] Further, after generating the target cleaning map, the preset terminal detects the target cleaning map through the color detection device and identifies the target drawing color in the target cleaning map. It can be understood that in this embodiment, the target cleaning map can be formed by the user drawing a non-smooth area in the preset cleaning map, or it can be formed by the preset terminal drawing a non-smooth area according to the non-smooth material information sent by the sweeper. Further, after the preset terminal identifies the target drawing color, it determines the cleaning suction and / or cleaning times required for cleaning the non-smooth area according to the target drawing color, and then generates a cleaning plan according to the cleaning suction and / or cleaning times. Specifically, the preset terminal can generate a cleaning plan according to the cleaning suction required for cleaning the non-smooth area; it can also generate a cleaning plan according to the cleaning times required for cleaning the non-smooth area; it can also generate a cleaning plan according to the cleaning suction and cleaning times required for cleaning the non-smooth area. It can be understood that in addition to having different cleaning suctions and cleaning times, different drawing colors can also have different cleaning times and other factors that can affect the generation of cleaning plans, which will not be repeated in this embodiment.

[0164] This embodiment determines the cleaning suction force and / or cleaning times according to the target cleaning map, and generates a cleaning plan according to the cleaning suction force and / or cleaning times, so that the sweeper can clean non-smooth areas when executing the cleaning plan, thereby improving the cleaning efficiency of the sweeper.

[0165] Further, refer to Figure 7Based on the first embodiment of the method for setting a region for a sweeping machine of the present invention, a sixth embodiment of the method for setting a region for a sweeping machine of the present invention is proposed. In the sixth embodiment, when a non-smooth region drawing instruction sent by the sweeping machine is received, before the step of parsing the non-smooth material information in the non-smooth region drawing instruction, the step further includes:

[0166] Step S11, establishing a communication connection with the sweeping machine based on a preset wireless communication method to receive a non-smooth area drawing instruction containing non-smooth material information sent by the sweeping machine when the sweeping machine detects a non-smooth material.

[0167] Furthermore, before receiving the non-smooth area drawing instruction sent by the sweeping machine, the preset terminal also needs to establish a communication connection with the sweeping machine to receive the instruction sent by the sweeping machine in time. Specifically, the preset terminal establishes a communication connection with the sweeping machine through one of a plurality of preset wireless communication methods such as Bluetooth, Wi-Fi (wireless Internet access), ZigBee, NFC (Near Field Communication), UWB (UltraWide Band), etc., wherein Bluetooth is an open global specification for wireless data and voice communications. It is a special short-range wireless technology connection based on low-cost short-range wireless connection to establish a communication environment for fixed and mobile devices. In this embodiment, Bluetooth can connect to the Internet without a cable, and can communicate with the preset terminal and the sweeping machine; Wi-Fi is a wireless communication technology created by IEEE The wireless LAN technology of the 802.11 standard can be used in this embodiment to establish a communication connection between the preset terminal and the sweeping machine; ZigBee is a low-speed, short-distance transmission wireless network protocol, which can be used in this embodiment to establish a communication connection between the preset terminal and the sweeping machine; NFC is a preset wireless communication method developed on the basis of contactless radio frequency identification (RFID) technology and combined with wireless interconnection technology, which can be used in this embodiment to establish a communication connection between the preset terminal and the sweeping machine; UWB technology is a wireless carrier communication technology, which can be used in this embodiment to establish a communication connection between the preset terminal and the sweeping machine. After establishing a communication connection with the sweeping machine, the preset terminal can receive a non-smooth area drawing instruction containing non-smooth material information sent by the sweeping machine when a non-smooth material is detected based on the communication connection relationship with the sweeping machine, so as to draw a non-smooth area on the preset cleaning map according to the non-smooth material information.

[0168] The preset terminal in this embodiment establishes a communication connection with the sweeping machine based on a preset wireless communication method, so as to obtain a non-smooth area drawing instruction containing non-smooth material information sent by the sweeping machine after identifying the non-smooth material, and draws the non-smooth area on the preset cleaning map according to the non-smooth material information to form a target cleaning map, so as to facilitate the generation of a cleaning plan according to the target cleaning map, so that the sweeping machine cleans the non-smooth area when executing the cleaning plan, and cleans the non-smooth area while avoiding damage to the non-smooth area, thereby improving the cleaning efficiency of the sweeping machine.

[0169] Furthermore, the present invention also provides a sweeping machine area setting device.

[0170] Reference Figure 8 , Figure 8 This is a schematic diagram of the functional modules of the first embodiment of the area setting device for a sweeping machine of the present invention.

[0171] The sweeper area setting device comprises:

[0172] The parsing module 10 is used to parse the non-smooth material information in the non-smooth area drawing instruction when receiving the non-smooth area drawing instruction sent by the sweeping machine;

[0173] A drawing module 20, used for drawing a non-smooth area in a preset cleaning map according to the non-smooth material information to form a target cleaning map;

[0174] The sending module 30 is used to generate a cleaning plan according to the target cleaning map, and send the cleaning plan to the sweeping machine when receiving a cleaning plan selection instruction, so that the sweeping machine can clean according to the cleaning plan.

[0175] Furthermore, the analysis module 10 includes:

[0176] The connection unit is used to establish a communication connection with the sweeping machine based on a preset wireless communication method to receive a non-smooth area drawing instruction containing non-smooth material information sent by the sweeping machine when the sweeping machine detects a non-smooth material.

[0177] Furthermore, the drawing module 20 includes:

[0178] An extraction unit, used to obtain a preset cleaning map, and extract material information and edge recognition information from the non-smooth material information;

[0179] A first drawing unit, configured to draw a non-smooth area in the preset cleaning map according to the material information and the edge recognition information;

[0180] The first determining unit is used to determine a preset cleaning map after drawing the non-smooth area as a target cleaning map.

[0181] Furthermore, the drawing module 20 also includes:

[0182] An acquisition unit, used for acquiring a non-smooth area identifier corresponding to the material information;

[0183] A second determining unit, configured to determine a target drawing color for the non-smooth area marker from a preset color table;

[0184] The second drawing unit is used to draw a non-smooth area in the preset cleaning map with the target drawing color according to the edge recognition information.

[0185] Furthermore, the drawing module 20 also includes:

[0186] a detection unit, configured to detect whether there is any drawing color matching the non-smooth area identifier among a plurality of drawing colors in a preset color table;

[0187] The third determining unit is configured to determine the drawing color matching the non-smooth area identifier as the target drawing color if there is any drawing color matching the non-smooth area identifier.

[0188] Furthermore, the drawing module 20 also includes:

[0189] A fourth determining unit, configured to determine boundary information of a non-smooth area according to the edge recognition information;

[0190] The third drawing unit is used to draw the non-smooth area with the target drawing color according to the boundary information.

[0191] Furthermore, the drawing module 20 also includes:

[0192] a fifth determining unit, configured to determine a drawing shape of the non-smooth area according to the boundary information;

[0193] The fourth drawing unit is used to draw a non-smooth area with the target drawing color according to the drawing shape.

[0194] Furthermore, the sending module 30 includes:

[0195] A first recognition unit, used to recognize the target drawing color in the target cleaning map;

[0196] a sixth determining unit, configured to determine a cleaning suction force and / or a cleaning frequency of the non-smooth area according to the target drawing color;

[0197] A plan generating unit is used to generate a cleaning plan according to the cleaning suction force and / or the number of cleaning times.

[0198] Furthermore, the sending module 30 further includes:

[0199] A determination unit, configured to determine to enter a cleaning plan editing mode if a cleaning plan editing instruction is received;

[0200] A second identification unit, used to identify the editing information in the cleaning scheme editing instruction;

[0201] An adjustment unit is used to adjust the cleaning plan according to the editing information to generate an updated cleaning plan.

[0202] In addition, the present invention also provides a computer storage medium, which is preferably a computer-readable storage medium, on which a sweeping machine area setting program is stored. When the sweeping machine area setting program is executed by a processor, the steps of each embodiment of the above-mentioned sweeping machine area setting method are implemented.

[0203] In the embodiments of the sweeping machine area setting device and computer-readable medium of the present invention, all technical features of the above-mentioned sweeping machine area setting method embodiments are included, and the descriptions and explanations are basically the same as those of the above-mentioned sweeping machine area setting method embodiments, and will not be repeated here.

[0204] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0205] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0206] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a computer storage medium (such as ROM / RAM, disk, CD), and includes several instructions for enabling a terminal device (which can be a fixed terminal, such as an IoT smart device, including smart air conditioners, smart lights, smart power supplies, smart routers and other smart homes; it can also be a mobile terminal, including smart phones, wearable networked AR / VR devices, smart speakers, self-driving cars and many other networked devices) to execute the methods described in the various embodiments of the present invention.

[0207] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for setting a sweeping machine area, characterized in that: Applied to a preset terminal, the preset terminal is connected to a sweeping machine for communication, and the sweeping machine area setting method includes: When receiving a non-smooth area drawing instruction sent by the sweeping machine, parsing the non-smooth material information in the non-smooth area drawing instruction; Drawing a non-smooth area in a preset cleaning map according to the non-smooth material information to form a target cleaning map; Generate a cleaning plan according to the target cleaning map, and send the cleaning plan to the sweeper when receiving a cleaning plan selection instruction, so that the sweeper can clean according to the cleaning plan; The step of drawing a non-smooth area in a preset cleaning map according to the non-smooth material information to form a target cleaning map includes: Obtaining a preset cleaning map, and extracting material information and edge recognition information from the non-smooth material information; Get the target drawing color corresponding to the material information; Drawing a non-smooth area in the preset cleaning map with the target drawing color according to the edge recognition information, wherein the target drawing color is used to represent the cleaning suction force and / or cleaning times for the non-smooth area in the generated cleaning scheme; The preset cleaning map after drawing the non-smooth area is determined as the target cleaning map.

2. The method for setting the area of ​​a sweeping machine according to claim 1, characterized in that: After the step of generating a cleaning plan according to the target cleaning map, the method further includes: If a cleaning plan editing instruction is received, it is determined to enter the cleaning plan editing mode; Identifying editing information in the cleaning plan editing instruction; The cleaning plan is adjusted according to the editing information to generate an updated cleaning plan.

3. The method for setting the area of ​​a sweeping machine according to claim 1, characterized in that: The step of obtaining the target drawing color corresponding to the material information comprises: Obtaining a non-smooth area identifier corresponding to the material information; A target drawing color for the non-smooth area marker is determined from a preset color table.

4. The method for setting the area of ​​a sweeping machine according to claim 3, characterized in that: The step of determining the target drawing color of the non-smooth area mark from the preset color table includes: Detecting whether there is any drawing color matching the non-smooth area identifier among a plurality of drawing colors in a preset color table; If there is any drawing color matching the non-smooth area identifier, the drawing color matching the non-smooth area identifier is determined as the target drawing color.

5. The method for setting the area of ​​a sweeping machine according to claim 4, characterized in that: The step of drawing the non-smooth area in the preset cleaning map with the target drawing color according to the edge recognition information comprises: Determine boundary information of a non-smooth area according to the edge recognition information; The non-smooth area is drawn with the target drawing color according to the boundary information.

6. The method for setting the area of ​​a sweeping machine according to claim 5, characterized in that: The step of drawing the non-smooth area with the target drawing color according to the boundary information comprises: Determining a drawing shape of the non-smooth area according to the boundary information; The non-smooth area is drawn with the target drawing color according to the drawing shape.

7. The method for setting the area of ​​a sweeping machine according to claim 1, characterized in that: The step of generating a cleaning plan according to the target cleaning map comprises: Identifying a target drawing color in the target sweep map; determining a cleaning suction force and / or a cleaning frequency of the non-smooth area according to the target drawing color; A cleaning plan is generated according to the cleaning suction force and / or the cleaning times.

8. The method for setting the area of ​​a sweeping machine according to claim 1, characterized in that: Before the step of parsing the non-smooth material information in the non-smooth area drawing instruction when receiving the non-smooth area drawing instruction sent by the sweeping machine, the step further includes: A communication connection is established with the sweeping machine based on a preset wireless communication method to receive a non-smooth area drawing instruction containing non-smooth material information sent by the sweeping machine when the sweeping machine detects a non-smooth material.

9. The method for setting the area of ​​a sweeping machine according to claim 8, characterized in that: The preset wireless communication mode is one of Bluetooth, Wi-Fi, ZigBee, NFC, and UWB.

10. A sweeping machine area setting device, characterized in that: The sweeper area setting device comprises: A parsing module, configured to parse non-smooth material information in a non-smooth area drawing instruction when receiving the non-smooth area drawing instruction sent by the sweeping machine; A drawing module, used for drawing a non-smooth area in a preset cleaning map according to the non-smooth material information to form a target cleaning map; A sending module, used for generating a cleaning plan according to the target cleaning map, and sending the cleaning plan to the sweeper when receiving a cleaning plan selection instruction, so that the sweeper can clean according to the cleaning plan; The drawing module further includes: An extraction unit, used to obtain a preset cleaning map, and extract material information and edge recognition information from the non-smooth material information; A first drawing unit, used for obtaining a target drawing color corresponding to the material information; A second drawing unit, configured to draw a non-smooth area in the preset cleaning map with the target drawing color according to the edge recognition information, wherein the target drawing color is used to represent the cleaning suction force and / or cleaning times for the non-smooth area in the generated cleaning scheme; The first determining unit is used to determine a preset cleaning map after drawing the non-smooth area as a target cleaning map.

11. The area setting device for a sweeping machine according to claim 10, characterized in that: The parsing module includes: The connection unit is used to establish a communication connection with the sweeping machine based on a preset wireless communication method to receive a non-smooth area drawing instruction containing non-smooth material information sent by the sweeping machine when the sweeping machine detects a non-smooth material.

12. The area setting device for a sweeping machine according to claim 10, characterized in that: The drawing module also includes: An acquisition unit, used for acquiring a non-smooth area identifier corresponding to the material information; The second determining unit is configured to determine a target drawing color for the non-smooth area marker from a preset color table.

13. The area setting device for a sweeping machine according to claim 12, characterized in that: The drawing module also includes: A detection unit, configured to detect whether there is any drawing color matching the non-smooth area identifier among a plurality of drawing colors in a preset color table; The third determining unit is configured to determine the drawing color matching the non-smooth area identifier as the target drawing color if there is any drawing color matching the non-smooth area identifier.

14. The area setting device for a sweeping machine according to claim 13, characterized in that: The drawing module also includes: A fourth determining unit, configured to determine boundary information of a non-smooth area according to the edge recognition information; The third drawing unit is used to draw the non-smooth area with the target drawing color according to the boundary information.

15. The area setting device for a sweeping machine according to claim 14, characterized in that: The drawing module also includes: a fifth determining unit, configured to determine a drawing shape of the non-smooth area according to the boundary information; The fourth drawing unit is used to draw a non-smooth area with the target drawing color according to the drawing shape.

16. The area setting device for a sweeping machine according to claim 10, characterized in that: The sending module comprises: an identification unit, used to identify the target drawing color in the target cleaning map; a sixth determining unit, configured to determine a cleaning suction force and / or a cleaning frequency of the non-smooth area according to the target drawing color; A plan generating unit is used to generate a cleaning plan according to the cleaning suction force and / or the number of cleaning times.

17. A sweeping machine area setting device, characterized in that: The sweeping machine area setting device includes a memory, a processor, and a sweeping machine area setting program stored in the memory and executable on the processor. When the sweeping machine area setting program is executed by the processor, the steps of the sweeping machine area setting method as described in any one of claims 1 to 9 are implemented.

18. A computer storage medium, characterized in that: The computer storage medium stores a sweeping machine area setting program, and when the sweeping machine area setting program is executed by the processor, the steps of the sweeping machine area setting method according to any one of claims 1 to 9 are implemented.