Region cleaning method and device based on cleaning equipment, storage medium and electronic device
By using perception sensors on the cleaning equipment to identify the dirty parameters of the area and adjust the cleaning actions, the problem of insufficient cleanliness caused by inconsistent dirt levels in the area is solved, and a more efficient area cleaning effect is achieved.
Patent Information
- Application Number
- CN202310565585.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-18
- Publication Date
- 2024-11-26
AI Technical Summary
During the regional cleaning process of existing cleaning robots, due to inconsistent dirt in the area, the cleanliness is insufficient, especially stubborn stains, and repeated cleanings lead to waste of resources.
By installing a perception sensor on the cleaning device, identify the dirty parameters of the area to be cleaned, and adjust the cleaning actions according to the preset dirty parameter matching relationship, such as increasing pressure or rotation, to perform targeted cleaning for different dirt levels according to the preset dirty parameter matching relationship, such as increasing pressure or rotation, to ensure targeted cleaning of different dirt levels. .
It improves regional cleanliness, avoids incomplete cleaning problems caused by inconsistent dirt levels, reduces resource waste, and enhances the cleaning ability of cleaning equipment.
Smart Images

Figure CN119014744A_ABST
Abstract
Description
[Technical field]
[0001] The present application relates to the field of smart home, and more specifically, to a method and device for cleaning an area based on a cleaning device, a storage medium, and an electronic device. [Background technology]
[0002] At present, cleaning robots can travel along a pre-set path during regional cleaning, and complete the cleaning work of the designated area in this way. When performing regional cleaning, the degree of dirtiness of different areas may vary, especially some areas may have some stubborn stains. If cleaning is only carried out according to the pre-set path, the cleaning of these areas will not be thorough enough.
[0003] It can be seen that the regional cleaning method based on the cleaning equipment in the related art has the problem of insufficient regional cleanliness due to inconsistent regional dirtiness. [Summary of the invention]
[0004] The purpose of the present application is to provide a regional cleaning method and device based on a cleaning device, a storage medium and an electronic device, so as to at least solve the problem of insufficient regional cleanliness due to inconsistent regional dirtiness in the regional cleaning method based on a cleaning device in the related art.
[0005] The purpose of this application is to achieve the following technical solutions:
[0006] According to one aspect of an embodiment of the present application, a regional cleaning method based on a cleaning device is provided, comprising: in response to a received regional cleaning instruction, controlling the cleaning device to start regional cleaning according to a preset cleaning route; identifying an area to be cleaned of the cleaning device by means of a sensing sensor on the cleaning device, and obtaining dirtiness parameters of the area to be cleaned, wherein the area to be cleaned is a ground area located before the cleaning device in the forward direction of the cleaning device; when the dirtiness parameter of the area to be cleaned matches a preset first dirtiness parameter, controlling the cleaning device to perform regional cleaning on the area to be cleaned according to a cleaning action matching the first dirtiness parameter.
[0007] According to another aspect of an embodiment of the present application, there is also provided an area cleaning device based on a cleaning device, including: a first control unit, for controlling the cleaning device to start area cleaning according to a preset cleaning route in response to a received area cleaning instruction; an identification unit, for identifying the area to be cleaned of the cleaning device through a sensing sensor on the cleaning device, and obtaining the dirtiness parameters of the area to be cleaned, wherein the area to be cleaned is a ground area located before the cleaning device in the forward direction of the cleaning device; a second control unit, for controlling the cleaning device to perform area cleaning on the area to be cleaned according to a cleaning action matching the first dirtiness parameter when the dirtiness parameter of the area to be cleaned matches the preset first dirtiness parameter.
[0008] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned area cleaning method based on the cleaning device when running.
[0009] According to another aspect of an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the cleaning device-based area cleaning method through the computer program.
[0010] In an embodiment of the present application, a matching relationship between preset dirtiness parameters and cleaning actions of a cleaning device is adopted, and in response to a received regional cleaning instruction, the cleaning device is controlled to start regional cleaning according to a preset cleaning route; the area to be cleaned of the cleaning device is identified by a sensing sensor on the cleaning device to obtain the dirtiness parameters of the area to be cleaned, wherein the area to be cleaned is a ground area located before the cleaning device in the forward direction of the cleaning device; when the dirtiness parameters of the area to be cleaned match a preset first dirtiness parameter, the cleaning device is controlled to perform regional cleaning on the area to be cleaned according to a cleaning action matching the first dirtiness parameter; due to the matching relationship between the preset dirtiness parameters and the cleaning action, the dirtiness parameters of the area to be cleaned can be detected by a sensing sensor based on the need to configure a cleaning action matching the cleaning difficulty corresponding to the dirtiness parameters, thereby determining a cleaning action matching the dirtiness parameters of the area to be cleaned, which can reduce the effect of inconsistent regional dirtiness on regional cleanliness, thereby achieving the technical effect of improving regional cleanliness, and thus solving the problem of insufficient regional cleanliness due to inconsistent regional dirtiness in the regional cleaning method based on a cleaning device in the related art.
Brief Description of the Drawings
[0011] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0012] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0013] Figure 1 is a schematic diagram of a hardware environment of an optional area cleaning method based on a cleaning device according to an embodiment of the present application;
[0014] Figure 2 is a schematic flow chart of an optional regional cleaning method based on a cleaning device according to an embodiment of the present application;
[0015] Figure 3 is a structural block diagram of an optional area cleaning device based on a cleaning device according to an embodiment of the present application;
[0016] Figure 4 It is a structural block diagram of an optional electronic device according to an embodiment of the present application. [Specific implementation method]
[0017] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0018] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0019] According to one aspect of an embodiment of the present application, a method for cleaning an area based on a cleaning device is provided. Optionally, in this embodiment, the method for cleaning an area based on a cleaning device can be applied to Figure 1 In the hardware environment shown in FIG. 1 , a terminal device 102, a cleaning device 104 and a server 106 are formed. Figure 1As shown, the terminal device 102 can be connected to the cleaning device 104 and / or the server 106 (e.g., an IoT platform or a cloud server) through a network to control the cleaning device 104, for example, to bind with the cleaning device 104 and configure the cleaning function of the cleaning device 104. The cleaning device 104 may include a host and a base station (e.g., a sweeper and a base station, a scrubber and a base), and the host and the base station may be connected through a network to determine the current state of the other end (e.g., power state, working state, location information, etc.).
[0020] The above-mentioned network may include but is not limited to at least one of the following: wired network, wireless network. The above-mentioned wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the above-mentioned wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth, infrared. The network used by the terminal device 102 to communicate with the cleaning device 104 and / or the server 106 and the network used by the cleaning device 104 to communicate with the server 106 may be the same or different. The terminal device 102 may not be limited to a PC, a mobile phone, a tablet computer, etc. The cleaning device 104 may include but is not limited to: a self-cleaning robot, for example, an automatic mop robot, a sweeping robot, etc. The server 106 may be a server of an Internet of Things platform.
[0021] The area cleaning method based on the cleaning device of the embodiment of the present application can be executed by the terminal device 102, the cleaning device 104 or the server 106 alone, or can be executed by at least two of the terminal device 102, the cleaning device 104 and the server 106 together. The terminal device 102 or the cleaning device 104 executing the area cleaning method based on the cleaning device of the embodiment of the present application can also be executed by the client installed thereon.
[0022] Taking the cleaning device 104 as an example, the cleaning device-based area cleaning method in this embodiment is performed. Figure 2 is a flow chart of an optional regional cleaning method based on a cleaning device according to an embodiment of the present application, such as Figure 2 As shown, the process of the method may include the following steps:
[0023] Step S202 , in response to the received area cleaning instruction, controlling the cleaning device to start area cleaning according to a preset cleaning route.
[0024] The area cleaning method based on the cleaning device in this embodiment can be applied to the scene where the cleaning device is used to clean the designated area. The cleaning instruction for cleaning the designated area can be executed by manually controlling the button on the cleaning device, or by controlling the cleaning device through the terminal device, or it can be executed in other scenarios. The cleaning device can be a sweeping robot, a floor washing robot, a robot that integrates washing and drying, and other equipment with cleaning functions. In some examples of this embodiment, the cleaning device is taken as an example of a sweeping robot. Among them, the types of cleaning-related components in the cleaning device are not unique, and can include roller brushes, side brushes, rags and other cleaning parts, and the cleaning-related components are not limited here. The designated area can be a ground area, and there can be many types, which can include but are not limited to at least one of the following: living room floor, kitchen floor, bathroom floor, and the ground area can also be a ground area in other places.
[0025] When it is necessary to use a cleaning device for regional cleaning, a cleaning route can be pre-set to clean the area to be cleaned. The cleaning route can be indicated by a regional cleaning instruction, or it can be obtained by path planning based on the regional cleaning instruction. For example, after receiving the regional cleaning instruction, the cleaning device can perform regional cleaning according to the preset cleaning route corresponding to the regional cleaning instruction, move along the preset cleaning route in the corresponding target area, and clean the ground area on the cleaning route. Here, before the cleaning device cleans the area to be cleaned, the environmental layout map of the area to be cleaned can be obtained in the cleaning device through simultaneous localization and mapping (SLAM), and the corresponding cleaning route is specified according to the environmental layout map.
[0026] Optionally, the regional cleaning instruction may carry the above-mentioned preset cleaning route, which may be sent by the terminal device to the cleaning device, or may be generated by the server based on the instruction of the response terminal device and sent to the cleaning device, or may be generated by the user by triggering a button on the cleaning device, wherein the button of the cleaning device may trigger the cleaning route used by the cleaning device last time, or may perform whole-house cleaning according to the environmental layout map in the cleaning device, or may be other cleaning route generation methods. The triggering method of the regional cleaning instruction and the preset cleaning route in this embodiment is not limited.
[0027] For example, the sweeping robot can travel along a pre-set path during the cleaning process. For example, the pre-set path can be a simple bow shape, a Y shape, etc. Through this travel method, the cleaning work of the cleaning area can be completed.
[0028] Step S204, identifying the area to be cleaned of the cleaning device through the sensing sensor on the cleaning device to obtain dirt parameters of the area to be cleaned, wherein the area to be cleaned is the ground area located in front of the cleaning device in the forward direction of the cleaning device.
[0029] In the related art, cleaning equipment usually travels along a pre-set path during area cleaning, and completes the cleaning of the designated area by this mode of travel. When performing area cleaning, the degree of dirtiness of different areas may usually be different, especially some areas may have some stubborn stains. If cleaning is only performed according to the pre-set path, the cleaning of these areas will not be thorough enough. In order to avoid incomplete cleaning, the designated area can be cleaned repeatedly (for example, when the sweeper identifies an area with a high degree of dirtiness, it will clean the area back and forth multiple times), so that the stains are cleaned repeatedly, but some stubborn stains still cannot be thoroughly cleaned, and repeated cleaning will also lead to waste of resources.
[0030] In order to at least partially solve the above-mentioned problem, in the present embodiment, the cleaning actions performed by the cleaning equipment that match the dirt parameters can be pre-set, so that when the cleaning equipment moves along the cleaning route again, it can identify the dirt parameters of the area to be cleaned and make corresponding cleaning actions (for example, focusing on cleaning the areas with higher dirtiness through a series of specific actions to improve the cleaning effect), so that different dirt can be cleaned accordingly, which can not only avoid the waste of resources due to repeated cleaning, but also ensure the thoroughness of cleaning and improve the cleaning ability of the cleaning equipment.
[0031] Optionally, different cleaning actions are set according to different dirt parameters, that is, the matching relationship between the dirt parameters and the cleaning actions can be pre-set, and the types of dirt parameters can be one or more, for example, the dirt type (for example, oil stains, sewage stains or other types, etc.), the dirt level (which can be represented by a dirt value), at least part of the dirt area, and the types of cleaning actions can also be one or more, for example, at least part of rotation, pressurization, rotation, and friction. Therefore, the matching relationship between the pre-configured dirt parameters and the cleaning actions can be a combination of one or more dirt parameters (for example, combined judgment using the dirt level and dirt size) and a combination of one or more cleaning actions.
[0032] In order to determine the dirt parameters of an area, a perception sensor can be set on the cleaning device. The perception sensor can be a camera or other image acquisition component, or it can be a laser sensor (for example, a line laser). Based on the sensor data detected by the perception sensor, the dirt parameters of the ground area ahead of the cleaning device in the forward direction of the cleaning device (i.e., the area to be cleaned) can be determined. According to the identified dirt parameters, the cleaning device can be controlled to perform corresponding cleaning actions.
[0033] Optionally, AI (Artificial Intelligence) can be used to detect the dirt parameters of the area to be cleaned. A trained dirt recognition model can be pre-configured, and the image to be recognized is captured by a camera and input into the dirt recognition model to obtain a dirt recognition result, which includes the dirt parameters of the area to be cleaned. The dirt parameters of the area to be detected can also be detected by line laser, and a radar image can be scanned by the line laser to obtain the brightness of the area to be detected or other display parameters that can characterize the dirt parameters. For example, a cleaner area can be represented by a dark area, and a dirtier area can be represented by a bright area. The brighter the area, the higher the level of the dirt parameter. Therefore, the dirt parameters of the area to be cleaned can be determined according to the display parameters of the radar image.
[0034] Optionally, when the dirt parameters meet certain conditions, the dirt level of the area to be cleaned can be determined according to the dirt type, degree of dirt and area of dirt or other dirt parameters, and the cleaning action that matches the dirt level of the area to be cleaned can be determined based on the matching relationship between the dirt level and the cleaning action; when the dirt parameters do not meet certain conditions, the cleaning equipment cleans normally and there is no need to adjust the cleaning action.
[0035] Step S206 , when the dirt parameter of the area to be cleaned matches the preset first dirt parameter, the cleaning device is controlled to perform area cleaning on the area to be cleaned according to the cleaning action matching the first dirt parameter.
[0036] After obtaining the dirt parameter of the area to be cleaned, the dirt parameter of the area to be cleaned can be matched with a set of preset dirt parameters to determine whether there is a preset dirt parameter that matches the dirt parameter of the area to be cleaned. Here, the preset dirt parameter can be identified by a discrete value (for example, a dirt type) or represented by a value interval (for example, a value range of the dirt degree, a value range of the dirt area).
[0037] If the dirt parameter of the area to be cleaned matches the preset first dirt parameter, the cleaning device can determine the cleaning action that matches the first dirt parameter, and can perform regional cleaning on the area to be cleaned according to the matched cleaning action. Here, the cleaning action that matches the first dirt parameter can be a combination of one or more cleaning actions, for example, the cleaning action can be to cover the area to be cleaned and then rotate in place for a certain time, to cover the area to be cleaned and then perform repeated cleaning actions along at least two directions, or to cover the area to be cleaned and then pressurize and rotate in place for a certain time, or other actions, which are not limited in this embodiment.
[0038] Optionally, three levels of cleaning actions corresponding to dirt parameters can be set. For example, level one indicates that the dirt cleaning is difficult, and you can set it to apply pressure and rotate in place for a certain time after covering the area to be cleaned; level two, that is, indicating that the dirt cleaning is moderately difficult, you can set it to rotate in place for a certain time after covering the area to be cleaned, or perform repeated cleaning actions along at least two directions after covering the area to be cleaned; level three, that is, indicating that the dirt cleaning is difficult, you can do not adjust the cleaning action of the cleaning equipment, and just do normal cleaning.
[0039] For example, when a sweeping robot is cleaning, it uses AI, line laser, etc. to identify the degree of dirtiness of a certain area in front of it, and uses different cleaning actions for different degrees of dirt. For example, the rag plate rotates in place for a certain period of time, rubs repeatedly back and forth, left and right, or uses other actions to clean.
[0040] Through the above steps S202 to S206, in response to the received area cleaning instruction, the cleaning device is controlled to start regional cleaning according to the preset cleaning route; the area to be cleaned of the cleaning device is identified by the sensing sensor on the cleaning device, and the dirtiness parameters of the area to be cleaned are obtained, wherein the area to be cleaned is the ground area located in front of the cleaning device in the forward direction of the cleaning device, and when the dirtiness parameters of the area to be cleaned match the preset target dirtiness parameters, the cleaning device is controlled to perform regional cleaning on the area to be cleaned according to the cleaning action matching the target dirtiness parameters, thereby solving the problem of insufficient regional cleanliness due to inconsistent regional dirtiness in the regional cleaning method based on the cleaning device in the related art, and improving the regional cleanliness.
[0041] In an exemplary embodiment, the area to be cleaned of the cleaning device is identified by a sensing sensor on the cleaning device to obtain dirt parameters of the area to be cleaned, including at least one of the following:
[0042] S11, identifying the area to be cleaned by the cleaning device through a sensing sensor on the cleaning device to obtain the dirt type of the area to be cleaned;
[0043] S12, identifying the area to be cleaned by the cleaning device through a sensing sensor on the cleaning device to obtain the degree of dirtiness of the area to be cleaned;
[0044] S13, identifying the area to be cleaned of the cleaning device through the sensing sensor on the cleaning device to obtain the dirty area of the area to be cleaned.
[0045] In order to improve the cleaning ability of the cleaning equipment and avoid incomplete cleaning due to stubborn dirt, corresponding cleaning actions can be set for one or more combinations of dirt parameters, so that appropriate cleaning actions can be set for different dirt. Here, the dirt parameter includes at least one of the following: dirt type, dirt degree, and dirt area. Different dirt parameters can be detected using the same perception sensor or different perception sensors. Correspondingly, the area to be cleaned of the cleaning equipment is identified by the perception sensor on the cleaning equipment, and the dirt parameter of the area to be cleaned is obtained, including at least one of the following:
[0046] The area to be cleaned of the cleaning device is identified by the sensing sensor on the cleaning device to obtain the type of dirt in the area to be cleaned, where the dirt type may be the aforementioned oil stains, sewage stains, dust or other types of dirt;
[0047] The to-be-cleaned area of the cleaning device is identified by a sensing sensor on the cleaning device to obtain a dirtiness of the to-be-cleaned area, wherein the dirtiness may be represented by a dirtiness value, wherein the dirtiness and the dirtiness value may be positively correlated, negatively correlated, or other types of correlations;
[0048] The area to be cleaned of the cleaning equipment is identified by the sensing sensor on the cleaning equipment to obtain the dirty area of the area to be cleaned. Here, the larger the dirty area, the greater the difficulty of cleaning. At the same time, the dirty area will also affect whether the area to be cleaned can be directly cleaned by the cleaning piece. Therefore, the corresponding cleaning action can be set based on the dirty area. At the same time, other cleaning parameters can also be set, such as cleaning time, etc.
[0049] Optionally, three levels of dirt parameters can be pre-set in a manner similar to that in the aforementioned embodiment, wherein, if the cleaning difficulty of the area to be cleaned is relatively high, regardless of the size of the dirt area or the degree of dirtiness, a cleaning action of covering the area to be cleaned, applying pressure, and rotating in place for a certain time is adopted; if the cleaning difficulty of the area to be cleaned is moderate, when the degree of dirtiness is relatively large, regardless of whether the dirt area is large or small, a cleaning action of covering the area to be cleaned, applying pressure, and rotating in place for a certain time is adopted; if the dirt area is large and the degree of dirtiness is relatively low, a cleaning action of covering the area to be cleaned, rotating in place for a certain time, or covering the area to be cleaned, performing repeated cleaning actions along at least two directions can be adopted; when the dirt area is small and the degree of dirtiness is relatively low, a cleaning action of covering the area to be cleaned, rotating in place for a certain time, or covering the area to be cleaned, performing repeated cleaning actions along at least two directions is also adopted; if the cleaning difficulty of the area to be cleaned is relatively low, regardless of the size of the dirt area or the degree of dirtiness, the cleaning action of the cleaning equipment is not changed, and normal cleaning is maintained.
[0050] It should be noted that the area to be cleaned can be the perception area of the perception sensor, for example, the acquisition range of the image acquisition component, or it can be a dirty area located in the travel direction of the cleaning equipment. That is, the area to be cleaned is identified by the perception sensor to determine whether there is a dirty area in the area to be cleaned. When there is a dirty area, the target dirtiness parameters that match the dirtiness parameters of the dirty area are determined, and the cleaning equipment is controlled to perform regional cleaning on the dirty area according to the cleaning action that matches the target dirtiness parameters.
[0051] Through this embodiment, by setting corresponding cleaning actions through a combination of one or more dirt parameters, dirty areas of different types, different areas and different dirtiness levels can be cleaned in a targeted manner to ensure the cleanliness of the area after cleaning.
[0052] In an exemplary embodiment, after the area to be cleaned of the cleaning device is identified by a sensing sensor on the cleaning device to obtain dirt parameters of the area to be cleaned, the method further includes:
[0053] S21, matching the dirt parameters of the area to be cleaned with a set of preset dirt parameters respectively to obtain matching results corresponding to the area to be cleaned, wherein different preset dirt parameters in a set of preset dirt parameters correspond to different cleaning actions, and the matching results corresponding to the area to be cleaned are used to indicate the preset dirt parameters in a set of preset dirt parameters that match the dirt parameters of the area to be cleaned.
[0054] In this embodiment, in order to improve the accuracy of device control, a set of preset dirt parameters can be pre-set. Here, the dirt parameters may include dirt parameters with non-discrete values such as dirt degree. For such dirt parameters, the corresponding cleaning actions cannot be set separately by enumeration. Therefore, each pre-configured preset dirt parameter may include a dirt parameter limited by a specified value, or a dirt parameter limited by a value range. Among them, each preset dirt parameter can be configured with a corresponding cleaning action, and different preset dirt parameters can correspond to different cleaning actions (some cleaning actions can overlap).
[0055] After obtaining the dirt parameters of the area to be cleaned, the dirt parameters of the area to be cleaned can be matched with a set of preset dirt parameters respectively to determine whether there are preset dirt parameters that match them, thereby obtaining a matching result corresponding to the area to be cleaned. Here, the preset dirt parameters may also include dirt parameters that match the normal cleaning action, and correspondingly, the corresponding cleaning action may be: continue to move forward along the current direction of travel to perform regional cleaning of the area to be cleaned. Alternatively, the matching dirt parameters may not be configured for the normal cleaning action. In this case, if there are no preset dirt parameters that match the dirt parameters of the area to be cleaned, the cleaning device may continue to move forward along the current direction of travel to perform regional cleaning of the area to be cleaned.
[0056] Through this embodiment, by matching the dirt parameters of the area to be cleaned with a set of preset dirt parameters respectively, corresponding cleaning actions can be flexibly configured for different dirt parameters, thereby improving the flexibility of cleaning action configuration.
[0057] In an exemplary embodiment, the dirt parameters of the area to be cleaned are matched with a set of preset dirt parameters respectively to obtain a matching result corresponding to the area to be cleaned, including:
[0058] S31, matching the dirt parameters of the area to be cleaned with a set of preset dirt parameters corresponding to the area type of the area to be cleaned respectively to obtain a matching result corresponding to the area to be cleaned, wherein the preset set of dirt parameters corresponding to different area types are not completely the same.
[0059] Considering that different areas may have different types of dirt, the cleaning actions required may be different. In order to improve the cleanliness of the area, dirt parameters can be configured for different area types, that is, a corresponding set of preset dirt parameters and cleaning actions corresponding to each preset dirt parameter are configured for each area type. The types of dirt parameters configured for different area types may be different. For example, for areas other than the kitchen, the preset dirt parameters may include: dirt degree and dirt area. The dirt parameters configured for the kitchen area may also include: dirt type.
[0060] For the area to be cleaned, the area type of the area to be cleaned can be determined based on a pre-configured set of area types of room areas. Here, the area type of the area to be cleaned can be the area type of the room area to which the area to be cleaned belongs; the dirtiness parameters of the area to be cleaned and a set of preset dirtiness parameters corresponding to the area type of the area to be cleaned are matched respectively, and a matching result corresponding to the area to be cleaned can be obtained.
[0061] Through this embodiment, by configuring a corresponding set of preset dirt parameters for different area types, the convenience of information configuration can be improved, and at the same time, the rationality of information configuration can also be improved.
[0062] In an exemplary embodiment, the dirt parameters of the area to be cleaned are matched with a set of preset dirt parameters respectively to obtain a matching result corresponding to the area to be cleaned, including:
[0063] S41, matching the dirtiness degree and dirtiness area of the area to be cleaned with the dirtiness degree and dirtiness area included in each preset dirtiness parameter in a set of preset dirtiness parameters to obtain a matching result corresponding to the area to be cleaned.
[0064] In this embodiment, the preset dirtiness parameters may include dirtiness degree and dirtiness area, and correspondingly, corresponding cleaning actions may be configured for different combinations of dirtiness degree and dirtiness area, wherein, in the preset dirtiness parameters, the dirtiness degree may be a dirtiness value interval, and the dirtiness area may also be a dirtiness value interval. For example, the matching relationship between the configured preset dirtiness parameters and the cleaning actions may be as shown in Table 1, wherein the first cleaning action to the ninth cleaning action may be different from each other, or may be partially the same.
[0065] Table 1
[0066] Dirty area interval 1 Dirty area interval 2 Dirty area interval 3 Dirt value range 1 First cleaning action Second cleaning action The third cleaning action Dirt value range 2 Fourth cleaning action Fifth cleaning action Sixth cleaning action Dirt value range 3 Seventh cleaning action Eighth Cleansing Action Ninth cleaning action
[0067] After obtaining the degree of dirtiness and the area of dirtiness in the area to be cleaned, the degree of dirtiness and the area of dirtiness in the area to be cleaned can be matched with the degree of dirtiness and the area of dirtiness contained in each preset dirtiness parameter respectively to determine whether there are preset dirtiness parameters that match both the degree of dirtiness and the area of dirtiness, thereby obtaining a matching result corresponding to the area to be cleaned.
[0068] Through this embodiment, the corresponding cleaning action is configured for the combination of dirtiness degree and dirtiness area, which can be applicable to most cleaning scenes, thereby improving the applicability of configuration information to different scenes.
[0069] In an exemplary embodiment, when the dirt parameter of the area to be cleaned matches the preset first dirt parameter, controlling the cleaning device to perform regional cleaning on the area to be cleaned according to the cleaning action matching the first dirt parameter includes:
[0070] S51, when the dirt parameter of the area to be cleaned matches a preset first dirt parameter, determining a set of target cleaning actions matching the first dirt parameter;
[0071] S52, controlling the cleaning device to perform regional cleaning on the area to be cleaned according to the execution parameters of each target cleaning action in a set of target cleaning actions.
[0072] Taking into account that using one cleaning action may not necessarily clean the dirty area, a corresponding set of cleaning actions can be set for each preset dirt parameter. The number of cleaning actions included in the set of cleaning actions set for each preset dirt parameter can be one or more. The set of cleaning actions set for different preset dirt parameters can be different or the same. The set of cleaning actions set for each preset dirt parameter can be configured based on experience values or based on historical cleaning records. Here, the historical cleaning records are used to indicate the correlation between the dirt parameters of the dirty area and the time taken to clean the dirty area using different cleaning actions and the cleaning effect. The cleaning effect can be represented by the dirt parameters after cleaning.
[0073] In this embodiment, when the dirt parameter of the area to be cleaned matches the preset first dirt parameter, the cleaning device can determine a set of target cleaning actions that match the first dirt parameter. A set of target cleaning actions can include one or more target cleaning actions. When a set of target cleaning actions includes multiple target cleaning actions, the execution order of the multiple target cleaning actions can be preconfigured. After determining a set of target cleaning actions, the cleaning device can perform regional cleaning on the area to be cleaned according to the execution parameters of each target cleaning action in the set of target cleaning actions. Here, the execution parameters of the target cleaning action can include the execution time of the target cleaning action, the position of the cleaning part, and other parameters related to the execution of the target cleaning action. In this embodiment, the execution parameters of the cleaning action are not limited.
[0074] Through this embodiment, by configuring a set of cleaning actions corresponding to the preset dirt parameters, the flexibility of area cleaning can be guaranteed, and at the same time, the cleanliness of the area after cleaning can also be guaranteed.
[0075] In an exemplary embodiment, according to the execution parameters of each target cleaning action in a set of target cleaning actions, controlling the cleaning device to perform regional cleaning on the area to be cleaned includes at least one of the following:
[0076] S61, when the area of the area to be cleaned is less than or equal to the preset area, controlling the cleaning member of the cleaning device to cover the area to be cleaned, and controlling the cleaning member to rotate in situ for a first time length to perform regional cleaning on the area to be cleaned;
[0077] S62, when the area of the area to be cleaned is less than or equal to the preset area, controlling the cleaning member of the cleaning device to cover the area to be cleaned, and controlling the cleaning member to perform cleaning actions along at least two directions around the area to be cleaned, so as to perform regional cleaning on the area to be cleaned;
[0078] S63 , when the area of the region to be cleaned is greater than the area threshold, controlling the cleaning device to rotate around the region to be cleaned so that the cleaning element of the cleaning device performs regional cleaning on the region to be cleaned.
[0079] In this embodiment, a set of candidate cleaning actions may be preset, and one or more preset candidate cleaning actions in the set of preset candidate cleaning actions may be configured for each preset dirtiness parameter to obtain a set of cleaning actions matching each preset dirtiness parameter. Here, the cleaning actions included in the set of preset candidate cleaning actions may include one or more, and may include but are not limited to at least one of the following:
[0080] Cleaning action 1, controlling the cleaning member of the cleaning device to cover the area to be cleaned, and controlling the cleaning member to rotate in situ for a first time period to perform regional cleaning on the area to be cleaned.
[0081] For dirty areas with smaller areas, the cleaning device can be controlled to move to the area to be cleaned (dirty area). Moving to the area to be cleaned means moving to a position where the cleaning member can cover the area to be cleaned, and covering the area to be cleaned with the cleaning member of the cleaning device, and at the same time controlling the cleaning member to rotate in situ (for example, rotating in situ) for a first period of time to perform regional cleaning on the area to be cleaned. Here, the rotation period of the cleaning member can be configured as needed, and the rotation speed of the cleaning member can be fixed or vary with time. For example, after rotating at a first rotation speed for a first sub-period, it rotates at a second rotation speed for a second sub-period. Here, the first rotation speed is greater than the second rotation speed.
[0082] For example, the sweeping robot can drive to a dirty place, and at the position where the rag plate covers the dirt, the rag plate rotates in place for 5 seconds (the rotation time can be adjusted and can be other values besides 5 seconds).
[0083] Cleaning action 2, controlling the cleaning member of the cleaning device to cover the area to be cleaned, and controlling the cleaning member to perform cleaning actions along at least two directions around the area to be cleaned, so as to perform regional cleaning on the area to be cleaned.
[0084] For dirty areas with smaller areas, the cleaning device can be controlled to move to the area to be cleaned. Moving to the area to be cleaned means moving to a position where the cleaning member can cover the area to be cleaned, and covering the area to be cleaned with the cleaning member of the cleaning device, while controlling the cleaning action of the cleaning member along at least two directions to perform regional cleaning on the area to be cleaned. Here, the cleaning direction of the cleaning member may be related to the area shape of the area to be cleaned. For example, if the lateral length of the area to be cleaned is longer, the cleaning member is controlled to perform cleaning actions along the two lateral directions on the area to be cleaned. For another example, if the longitudinal length of the area to be cleaned is longer, the cleaning member is controlled to perform cleaning actions along the two longitudinal directions on the area to be cleaned.
[0085] For example, the sweeping robot can drive to a dirty place and clean the left, right, front and back of the dirty place on the premise that it can completely cover the dirt.
[0086] Cleaning action 3, controlling the cleaning device to perform regional cleaning on the area to be cleaned by the cleaning member of the cleaning device during the process of the cleaning device rotating around the area to be cleaned.
[0087] In order to prevent dirt from spreading, the cleaning parts of the cleaning equipment can be used to perform regional cleaning on the area to be cleaned in order from the outside to the inside, thereby gradually reducing the area of the area to be cleaned until all the areas to be cleaned have been cleaned. Correspondingly, the cleaning equipment can be controlled to move to the area to be cleaned, and moving to the area to be cleaned means moving to a position where the cleaning parts can clean the boundary of the area to be cleaned, and covering the area to be cleaned with the cleaning parts of the cleaning equipment, and at the same time controlling the cleaning equipment to rotate around the area to be cleaned, and the rotation can be performed around the area center of the area to be cleaned or a certain designated position point as the center of the circle, or it can be performed in other ways to ensure that the cleaning parts do not enter the area to be cleaned. In the process of controlling the cleaning equipment to rotate around the area to be cleaned, the cleaning parts can be used to perform regional cleaning on the area to be cleaned, so as to continuously reduce the area of the area to be cleaned by continuously reducing the rotation radius (part of the area has been cleaned), thereby completing the regional cleaning of the area to be cleaned.
[0088] For example, the sweeping robot can drive to a dirty place, and clean the dirt by mopping while rotating around the dirt.
[0089] Correspondingly, according to the execution parameters of each target cleaning action in a set of target cleaning actions, the cleaning equipment is controlled to perform regional cleaning of the area to be cleaned, including at least one of the following: according to the execution parameters corresponding to cleaning action 1, the cleaning equipment is controlled to perform regional cleaning of the area to be cleaned; according to the execution parameters corresponding to cleaning action 2, the cleaning equipment is controlled to perform regional cleaning of the area to be cleaned; according to the execution parameters corresponding to cleaning action 3, the cleaning equipment is controlled to perform regional cleaning of the area to be cleaned, and other regional cleaning methods can also be used.
[0090] Optionally, the above-mentioned cleaning action 1 and cleaning action 2 can be used to perform regional cleaning on dirty areas with smaller area, while cleaning action 3 can be used not only to perform regional cleaning on dirty areas with smaller area, but also to perform regional cleaning on dirty areas with larger area. In this embodiment, when the area of the area to be cleaned is less than or equal to the preset area, the cleaning device can be controlled to perform regional cleaning on the area to be cleaned according to the execution parameters corresponding to cleaning action 1 and / or according to the execution parameters corresponding to cleaning action 2, that is, the cleaning parts of the cleaning device are controlled to cover the area to be cleaned, and the cleaning parts are controlled to rotate in place for a first time length to perform regional cleaning on the area to be cleaned; and / or, the cleaning parts of the cleaning device are controlled to cover the area to be cleaned, and the cleaning parts are controlled to perform cleaning actions along at least two directions around the area to be cleaned to perform regional cleaning on the area to be cleaned. When the area of the area to be cleaned is greater than the area area threshold, the cleaning device can be controlled to perform regional cleaning on the area to be cleaned according to the execution parameters corresponding to cleaning action 3, that is, the cleaning parts of the cleaning device are controlled to perform regional cleaning on the area to be cleaned during the rotation of the cleaning device around the area to be cleaned.
[0091] For example, if the sweeping robot is cleaning the kitchen, the dirty area identified is relatively small, and the degree of dirt is identified as high during the cleaning process, the sweeping robot will drive to the dirty area, and the rag plate will rotate in place for 5 seconds (the rotation time can be adjusted as needed) at the position where the dirt is covered by the rag plate; if the sweeping robot is cleaning the bathroom, the dirty area is relatively small, and the degree of dirt is identified as high, so the robot will clean left, right, front and back around the dirty area, on the premise that the dirt can be completely covered.
[0092] Through this embodiment, the corresponding cleaning action is configured based on the area of the dirty area, which can avoid the spread of dirt caused by improper setting of the cleaning action and improve the reliability of regional cleaning.
[0093] In an exemplary embodiment, according to the execution parameters of each target cleaning action in a set of target cleaning actions, controlling the cleaning device to perform regional cleaning on the area to be cleaned includes:
[0094] S71, when the dirtiness of the area to be cleaned is greater than or equal to the dirtiness threshold and the dirtiness type of the area to be cleaned is at least one of the preset dirtiness types, control the cleaning element of the cleaning equipment to be lowered to a specified position, and control the cleaning element to rotate in situ for a second time period while pressurizing the cleaning element to perform regional cleaning of the area to be cleaned.
[0095] For some dirt that is difficult to clean, if the cleaning device's cleaning parts support lifting, a corresponding cleaning action 4 can be set, that is, the cleaning parts of the cleaning device are controlled to be lowered to a specified position (for example, the center of the dirty area), and the cleaning parts are controlled to rotate in situ for a second time while pressurizing the cleaning parts, so as to perform regional cleaning of the area to be cleaned. Here, the second time length can be the same as the first time length, or it can be different, and it can be configured as needed. In this embodiment, the specific value of the second time length is not limited.
[0096] Optionally, the above-mentioned cleaning action 4 can match the degree of dirtiness or the type of dirtiness of the dirty area. For example, when the degree of dirtiness of the area to be cleaned is greater than or equal to a dirtiness threshold and the type of dirtiness of the area to be cleaned is at least one of the preset dirtiness types, the cleaning equipment can be controlled to perform regional cleaning of the area to be cleaned according to the execution parameters corresponding to the cleaning action 4, that is, the cleaning part of the cleaning equipment is controlled to be lowered to a specified position, and the cleaning part is controlled to rotate in place for a second time period while pressurizing the cleaning part, so as to perform regional cleaning of the area to be cleaned.
[0097] For example, if the rag supports lifting, the cleaning effect can be enhanced by lowering the mop, pressurizing and rotating for 5 seconds. Here, the cleaning action 4 including pressurizing and rotating can be used in combination with other cleaning actions.
[0098] Through this embodiment, by lowering the cleaning member and rotating it while applying pressure, the ability to clean dirt can be improved, thereby improving the reliability of regional cleaning.
[0099] In an exemplary embodiment, according to the execution parameters of each target cleaning action in a set of target cleaning actions, controlling the cleaning device to perform regional cleaning on the area to be cleaned includes:
[0100] S81, when dirt in the area to be cleaned is unevenly distributed, controlling the cleaning device's cleaning parts to alternately rotate in situ and rub repeatedly to perform regional cleaning of the area to be cleaned.
[0101] For unevenly distributed dirt, in order to ensure that all dirt is cleaned, a corresponding cleaning action 5 can be set, that is, the cleaning element of the cleaning device is controlled to alternately perform an in-situ rotation action and a repeated friction action to perform regional cleaning of the area to be cleaned. Here, the duration of each rotation action, the duration of the repeated friction action, and the number of alternating executions can be configured as needed, and this is not limited in this embodiment.
[0102] Optionally, the above-mentioned cleaning action 5 can match the uneven distribution of dirt in the dirty area. For example, when the dirt in the area to be cleaned is unevenly distributed, the cleaning parts of the cleaning equipment can be controlled to alternately rotate in place and rub repeatedly according to the execution parameters corresponding to the cleaning action 5 to perform regional cleaning of the area to be cleaned.
[0103] For example, if the dirty area is unevenly distributed, you can alternate between moving the rag in place and rubbing it repeatedly.
[0104] Through this embodiment, by controlling the cleaning member to alternately perform rotation in place and repeated friction, the ability to clean dirt can be improved, thereby improving the reliability of regional cleaning.
[0105] In an exemplary embodiment, according to a cleaning action matching the first dirtiness parameter, controlling the cleaning device to continue to perform regional cleaning on the area to be cleaned includes:
[0106] S91, controlling the cleaning device to repeatedly perform regional cleaning on the area to be cleaned according to the cleaning action matching the first dirt parameter, until the dirt parameter of the area to be cleaned matches a preset second dirt parameter.
[0107] The dirtiness parameters may include dirtiness parameters with non-discrete values, such as dirtiness degree, and for such dirtiness parameters, corresponding cleaning actions cannot be set separately by enumeration. Therefore, performing regional cleaning on a dirty area (e.g., an area to be cleaned) with a dirtiness degree matching the dirty area according to a preset cleaning action may not necessarily clean the dirty area completely, that is, the area to be cleaned may not be cleaned thoroughly, thereby affecting the cleanliness of the area after cleaning.
[0108] In this embodiment, the cleaning device can be controlled to repeatedly perform regional cleaning on the area to be cleaned according to the cleaning action matching the first dirtiness parameter, and after each regional cleaning operation is completed (i.e., the cleaning action matching the first dirtiness parameter is completed), the area to be cleaned is identified by the above-mentioned sensing sensor to determine the current degree of dirtiness of the area to be cleaned. If the current degree of dirtiness matches the preset second dirtiness parameter, the next round of cleaning action is not performed. Otherwise, the cleaning device can be controlled to repeatedly perform regional cleaning on the area to be cleaned according to the cleaning action matching the first dirtiness parameter. The manner of performing regional cleaning is similar to that in the aforementioned embodiment and will not be described in detail here.
[0109] According to this embodiment, by repeatedly performing cleaning actions that match the degree of dirtiness of the dirty area, the cleanliness of the cleaned area can be improved.
[0110] In an exemplary embodiment, in the process of controlling the cleaning device to continue to perform regional cleaning on the area to be cleaned according to the cleaning action matching the first dirtiness parameter, the method further includes:
[0111] S101, when the duration of regional cleaning of the area to be cleaned reaches a third duration, controlling the cleaning device to suspend regional cleaning of the area to be cleaned, and controlling the cleaning device to return to a base station matched with the cleaning device to clean a cleaning member of the cleaning device;
[0112] S102, after the cleaning of the cleaning member is completed, the cleaning member is controlled to return to the area to be cleaned, and continues to clean the area to be cleaned.
[0113] Since the area to be cleaned is more dirty than other areas, the cleaning element is more likely to be covered with dirt than cleaning other areas, thereby affecting the cleaning effect of the cleaning element. In this regard, the backwashing frequency of the cleaning device can be increased during the regional cleaning of the area to be cleaned. Backwashing can be performed after completing a cleaning action that matches the first dirtiness parameter, or after the cleaning time reaches a preset cleaning time.
[0114] Optionally, in this embodiment, when the duration of regional cleaning of the area to be cleaned reaches a third duration, the cleaning device can be controlled to pause regional cleaning of the area to be cleaned, and the cleaning device can be controlled to backwash, that is, return to the base station matched with the cleaning device to clean the cleaning parts of the cleaning device, and after the cleaning of the cleaning parts is completed, the cleaning parts are controlled to return to the area to be cleaned, and continue to perform regional cleaning of the area to be cleaned.
[0115] Here, during the area cleaning process, it can communicate with the base station through infrared or other means to obtain and save the base station location, and when backwashing is required, plan the moving path of the cleaning equipment to the base station based on the saved base station location, and control the cleaning equipment to return to the base station based on the planned moving path.
[0116] Through this embodiment, the cleaning effect of the cleaning element can be improved by increasing the backwashing frequency of the cleaning device during the regional cleaning of the dirty area.
[0117] In an exemplary embodiment, after controlling the cleaning device to perform regional cleaning on the area to be cleaned according to the cleaning action matching the first dirtiness parameter, the method further includes:
[0118] S111, identifying the area to be cleaned by using a sensing sensor to obtain current dirtiness parameters of the area to be cleaned;
[0119] S112, when the current dirt parameter of the area to be cleaned matches the preset third dirt parameter, the cleaning device is controlled to continue to perform regional cleaning on the area to be cleaned according to the cleaning action matching the third dirt parameter.
[0120] Taking into account that there may be multiple types of dirt in the same dirty area, and the dirt parameters of the dirty area will also change after a regional cleaning action is performed, in order to improve the flexibility of regional cleaning, after controlling the cleaning equipment to perform regional cleaning on the area to be cleaned according to a cleaning action matching the first dirt parameter, the sensing sensor can be used again to identify the area to be cleaned to obtain the current dirt parameters of the area to be cleaned.
[0121] After obtaining the current dirt parameter, the protection 4 similar to the above embodiment can be used to determine the preset dirt parameter matching it. If the current dirt parameter matches the preset third dirt parameter, the cleaning device can be controlled to continue to perform regional cleaning on the area to be cleaned according to the cleaning action matching the third dirt parameter. Here, the method of controlling the cleaning device to continue to perform regional cleaning on the area to be cleaned according to the preset dirt parameter is similar to the above embodiment, and will not be described in detail here.
[0122] Through this embodiment, the cleaning action matching the dirty area is re-determined based on the change of the dirt parameter of the dirty area, and the cleaning device is controlled to continue to perform regional cleaning on the area to be cleaned according to the re-determined dirt parameter, so that the flexibility of regional cleaning can be improved.
[0123] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0124] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM (Read-Only Memory) / RAM (Random Access Memory), a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0125] According to another aspect of an embodiment of the present application, there is also provided an area cleaning device based on a cleaning device for implementing the above-mentioned area cleaning method based on a cleaning device. Figure 3 is a structural block diagram of an optional regional cleaning device based on a cleaning device according to an embodiment of the present application, such as Figure 3 As shown, the device may include:
[0126] The first control unit 302 is used to control the cleaning device to start cleaning the area according to a preset cleaning route in response to the received area cleaning instruction;
[0127] The first identification unit 304 is used to identify the area to be cleaned of the cleaning device through the sensing sensor on the cleaning device to obtain the dirt parameter of the area to be cleaned, wherein the area to be cleaned is the ground area located in front of the cleaning device in the forward direction of the cleaning device;
[0128] The second control unit 306 is used to control the cleaning device to perform regional cleaning on the area to be cleaned according to a cleaning action matching the first dirt parameter when the dirt parameter of the area to be cleaned matches the preset first dirt parameter.
[0129] It should be noted that the first control unit 302 in this embodiment can be used to execute the above step S202, the first identification unit 304 in this embodiment can be used to execute the above step S204, and the second control unit 306 in this embodiment can be used to execute the above step S206.
[0130] Through the above-mentioned module, in response to the received area cleaning instruction, the cleaning device is controlled to start regional cleaning according to the preset cleaning route; the area to be cleaned of the cleaning device is identified by the sensing sensor on the cleaning device, and the dirtiness parameter of the area to be cleaned is obtained, wherein the area to be cleaned is the ground area located in front of the cleaning device in the forward direction of the cleaning device, and when the dirtiness parameter of the area to be cleaned matches the preset target dirtiness parameter, the cleaning device is controlled to perform regional cleaning on the area to be cleaned according to the cleaning action matching the target dirtiness parameter, thereby solving the problem of insufficient regional cleanliness due to inconsistent regional dirtiness in the regional cleaning method based on the cleaning device in the related art and improving the regional cleanliness.
[0131] In an exemplary embodiment, the first identification unit includes at least one of the following:
[0132] The first recognition module is used to identify the area to be cleaned of the cleaning device through the sensing sensor on the cleaning device to obtain the dirt type of the area to be cleaned;
[0133] The second identification module is used to identify the area to be cleaned by the cleaning device through the sensing sensor on the cleaning device to obtain the degree of dirtiness of the area to be cleaned;
[0134] The third identification module is used to identify the to-be-cleaned area of the cleaning device through the sensing sensor on the cleaning device to obtain the dirty area of the to-be-cleaned area.
[0135] In an exemplary embodiment, the apparatus further comprises:
[0136] A matching unit is used to match the dirt parameters of the area to be cleaned with a set of preset dirt parameters respectively to obtain a matching result corresponding to the area to be cleaned, wherein different preset dirt parameters in the set of preset dirt parameters correspond to different cleaning actions, and the matching result corresponding to the area to be cleaned is used to indicate the preset dirt parameters in the set of preset dirt parameters that match the dirt parameters of the area to be cleaned.
[0137] In an exemplary embodiment, the matching unit comprises:
[0138] The first matching module is used to match the dirt parameters of the area to be cleaned with a set of preset dirt parameters corresponding to the area type of the area to be cleaned, respectively, to obtain a matching result corresponding to the area to be cleaned, wherein the preset set of dirt parameters corresponding to different area types are not completely the same.
[0139] In an exemplary embodiment, the matching module includes:
[0140] The matching subunit is used to match the dirtiness degree and dirtiness area of the area to be cleaned with the dirtiness degree and dirtiness area contained in each preset dirtiness parameter in a set of preset dirtiness parameters to obtain a matching result corresponding to the area to be cleaned.
[0141] In an exemplary embodiment, the second control unit comprises:
[0142] A determination module, configured to determine a set of target cleaning actions matching the first dirtiness parameter when the dirtiness parameter of the area to be cleaned matches the preset first dirtiness parameter;
[0143] The first control module is used to control the cleaning device to perform regional cleaning on the area to be cleaned according to the execution parameters of each target cleaning action in a set of target cleaning actions.
[0144] In an exemplary embodiment, the first control module includes at least one of the following:
[0145] The first control subunit is used to control the cleaning member of the cleaning device to cover the area to be cleaned, and control the cleaning member to rotate in situ for a first time length to perform regional cleaning of the area to be cleaned when the area of the area to be cleaned is less than or equal to the preset area;
[0146] A second control subunit is used to control the cleaning member of the cleaning device to cover the area to be cleaned when the area of the area to be cleaned is less than or equal to the preset area, and control the cleaning member to perform cleaning actions along at least two directions around the area to be cleaned, so as to perform regional cleaning of the area to be cleaned;
[0147] The third control subunit is used for controlling the cleaning device to perform regional cleaning on the area to be cleaned by the cleaning member of the cleaning device during the process of the cleaning device rotating around the area to be cleaned when the area of the area to be cleaned is greater than the area threshold.
[0148] In an exemplary embodiment, the first control module includes:
[0149] The first cleaning subunit is used to control the cleaning element of the cleaning equipment to be lowered to a specified position, and control the cleaning element to rotate in place for a second time period while pressurizing the cleaning element, so as to perform regional cleaning of the area to be cleaned, when the degree of dirtiness of the area to be cleaned is greater than or equal to a dirtiness threshold and the dirtiness type of the area to be cleaned is at least one of the preset dirtiness types.
[0150] In an exemplary embodiment, the first control module includes:
[0151] The second cleaning subunit is used for controlling the cleaning element of the cleaning device to alternately rotate on the spot and rub repeatedly to perform regional cleaning of the area to be cleaned when dirt is unevenly distributed in the area to be cleaned.
[0152] In an exemplary embodiment, the second control unit comprises:
[0153] The second matching module is used to control the cleaning device to repeatedly perform regional cleaning on the area to be cleaned according to the cleaning action matching the first dirt parameter, until the dirt parameter of the area to be cleaned matches a preset second dirt parameter.
[0154] In an exemplary embodiment, the second control unit further comprises:
[0155] A second control module is used to control the cleaning device to suspend the regional cleaning of the area to be cleaned when the duration of regional cleaning of the area to be cleaned reaches a third duration, and control the cleaning device to return to the base station matched with the cleaning device to clean the cleaning parts of the cleaning device;
[0156] The third control module is used to control the cleaning element to return to the area to be cleaned after the cleaning of the cleaning element is completed, and continue to clean the area to be cleaned.
[0157] In an exemplary embodiment, the apparatus further comprises:
[0158] The second identification unit is used to identify the area to be cleaned through the sensing sensor to obtain the current dirtiness parameter of the area to be cleaned;
[0159] The cleaning unit is used to control the cleaning device to continue cleaning the area to be cleaned according to the cleaning action matching the third dirt parameter when the current dirt parameter of the area to be cleaned matches the preset second dirt parameter.
[0160] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules as part of the device can be run in Figure 1In the hardware environment shown, it can be implemented by software or by hardware, wherein the hardware environment includes a network environment.
[0161] According to another aspect of the embodiments of the present application, a storage medium is further provided. Optionally, in this embodiment, the storage medium can be used to execute the program code of any of the above-mentioned area cleaning methods based on a cleaning device in the embodiments of the present application.
[0162] Optionally, in this embodiment, the storage medium may be located on at least one network device among a plurality of network devices in the network shown in the above embodiment.
[0163] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps:
[0164] S1, in response to the received area cleaning instruction, controlling the cleaning device to start area cleaning according to a preset cleaning route;
[0165] S2, identifying the area to be cleaned of the cleaning device through the sensing sensor on the cleaning device to obtain the dirtiness parameter of the area to be cleaned, wherein the area to be cleaned is the ground area located in front of the cleaning device in the forward direction of the cleaning device;
[0166] S3, when the dirt parameter of the area to be cleaned matches the preset first dirt parameter, controlling the cleaning device to perform area cleaning on the area to be cleaned according to the cleaning action matching the first dirt parameter.
[0167] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, which will not be described in detail in this embodiment.
[0168] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a ROM, a RAM, a mobile hard disk, a magnetic disk, or an optical disk.
[0169] According to another aspect of an embodiment of the present application, an electronic device for implementing the above-mentioned area cleaning method based on a cleaning device is also provided. The electronic device may be a server, a terminal, or a combination thereof.
[0170] Figure 4 is a structural block diagram of an optional electronic device according to an embodiment of the present application, such as Figure 4 As shown, it includes a processor 402, a communication interface 404, a memory 406 and a communication bus 408, wherein the processor 402, the communication interface 404 and the memory 406 communicate with each other through the communication bus 408, wherein,
[0171] Memory 406, used to store computer programs;
[0172] The processor 402 is used to implement the following steps when executing the computer program stored in the memory 406:
[0173] S1, in response to the received area cleaning instruction, controlling the cleaning device to start area cleaning according to a preset cleaning route;
[0174] S2, identifying the area to be cleaned of the cleaning device through the sensing sensor on the cleaning device to obtain the dirtiness parameter of the area to be cleaned, wherein the area to be cleaned is the ground area located in front of the cleaning device in the forward direction of the cleaning device;
[0175] S3, when the dirt parameter of the area to be cleaned matches the preset first dirt parameter, controlling the cleaning device to perform area cleaning on the area to be cleaned according to the cleaning action matching the first dirt parameter.
[0176] Optionally, in this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 The communication interface is used for communication between the electronic device and other devices.
[0177] The above-mentioned memory may include RAM, or may include non-volatile memory (non-volatile memory), for example, at least one disk memory. Optionally, the memory may also be at least one storage device located far away from the above-mentioned processor.
[0178] As an example, the memory 406 may include, but is not limited to, the first control unit 302, the first identification unit 304, and the second control unit 306 in the area cleaning device based on the cleaning device. In addition, other module units in the area cleaning device based on the cleaning device may also be included but are not limited to, which will not be repeated in this example.
[0179] The above-mentioned processor can be a general-purpose processor, which can include but not be limited to: CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be DSP (Digital Signal Processing), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0180] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.
[0181] It can be understood by those skilled in the art that Figure 4 The structure shown is for illustration only. The device for implementing the above-mentioned area cleaning method based on cleaning equipment may be a terminal device, which may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, and other terminal devices. Figure 4 The structure of the electronic device is not limited. Figure 4 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 4 Different configurations shown.
[0182] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which can include: a flash drive, ROM, RAM, a magnetic disk or an optical disk, etc.
[0183] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0184] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
[0185] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0186] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0187] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in this embodiment.
[0188] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0189] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A regional cleaning method based on a cleaning device, characterized in that: include: In response to the received area cleaning instruction, controlling the cleaning device to start area cleaning according to a preset cleaning route; The area to be cleaned of the cleaning device is identified by a sensing sensor on the cleaning device to obtain dirt parameters of the area to be cleaned, wherein the area to be cleaned is a ground area located before the cleaning device in the forward direction of the cleaning device; When the dirt parameter of the area to be cleaned matches a preset first dirt parameter, the cleaning device is controlled to perform area cleaning on the area to be cleaned according to a cleaning action matching the first dirt parameter.
2. The method according to claim 1, characterized in that The step of identifying the area to be cleaned of the cleaning device by the sensing sensor on the cleaning device to obtain the dirtiness parameter of the area to be cleaned includes at least one of the following: Identifying the area to be cleaned by the cleaning device through the sensing sensor on the cleaning device to obtain the dirt type of the area to be cleaned; The area to be cleaned of the cleaning device is identified by the sensing sensor on the cleaning device to obtain the degree of dirtiness of the area to be cleaned; The area to be cleaned of the cleaning device is identified by the sensing sensor on the cleaning device to obtain the dirty area of the area to be cleaned.
3. The method according to claim 1, characterized in that After the area to be cleaned of the cleaning device is identified by the sensing sensor on the cleaning device to obtain the dirtiness parameter of the area to be cleaned, the method further includes: The dirt parameters of the area to be cleaned are matched with a set of preset dirt parameters respectively to obtain a matching result corresponding to the area to be cleaned, wherein different preset dirt parameters in the set of preset dirt parameters correspond to different cleaning actions, and the matching result corresponding to the area to be cleaned is used to indicate the preset dirt parameters in the set of preset dirt parameters that match the dirt parameters of the area to be cleaned.
4. The method according to claim 3, characterized in that The step of matching the dirt parameter of the area to be cleaned with a set of preset dirt parameters to obtain a matching result corresponding to the area to be cleaned includes: The dirt parameters of the area to be cleaned are matched with a set of preset dirt parameters corresponding to the area type of the area to be cleaned to obtain a matching result corresponding to the area to be cleaned, wherein the preset set of dirt parameters corresponding to different area types are not completely the same.
5. The method according to claim 3, characterized in that: The step of matching the dirt parameter of the area to be cleaned with a set of preset dirt parameters to obtain a matching result corresponding to the area to be cleaned includes: The dirtiness degree and dirtiness area of the area to be cleaned are matched with the dirtiness degree and dirtiness area included in each preset dirtiness parameter in a set of preset dirtiness parameters to obtain a matching result corresponding to the area to be cleaned.
6. The method according to claim 1, characterized in that When the dirt parameter of the area to be cleaned matches a preset first dirt parameter, controlling the cleaning device to perform area cleaning on the area to be cleaned according to a cleaning action matching the first dirt parameter includes: In a case where the dirt parameter of the area to be cleaned matches a preset first dirt parameter, determining a set of target cleaning actions matching the first dirt parameter; According to the execution parameters of each target cleaning action in the set of target cleaning actions, the cleaning device is controlled to perform regional cleaning on the area to be cleaned.
7. The method according to claim 6, characterized in that The step of controlling the cleaning device to perform regional cleaning on the area to be cleaned according to the execution parameters of each target cleaning action in the set of target cleaning actions includes at least one of the following: When the area of the area to be cleaned is less than or equal to the preset area, controlling the cleaning member of the cleaning device to cover the area to be cleaned, and controlling the cleaning member to rotate in situ for a first time length to perform regional cleaning on the area to be cleaned; When the area of the area to be cleaned is less than or equal to the preset area, controlling the cleaning member of the cleaning device to cover the area to be cleaned, and controlling the cleaning member to perform cleaning actions along at least two directions around the area to be cleaned, so as to perform regional cleaning on the area to be cleaned; When the area of the region to be cleaned is greater than the area threshold, the cleaning device is controlled to perform regional cleaning on the region to be cleaned by a cleaning member of the cleaning device during the process of the cleaning device rotating around the region to be cleaned.
8. The method according to claim 6, characterized in that The step of controlling the cleaning device to perform regional cleaning on the area to be cleaned according to the execution parameters of each target cleaning action in the set of target cleaning actions includes: When the dirtiness of the area to be cleaned is greater than or equal to a dirtiness threshold and the dirtiness type of the area to be cleaned is at least one of the preset dirtiness types, the cleaning element of the cleaning device is controlled to be lowered to a specified position, and the cleaning element is controlled to rotate in place for a second time period while pressurizing the cleaning element to perform regional cleaning of the area to be cleaned.
9. The method according to claim 6, characterized in that The step of controlling the cleaning device to perform regional cleaning on the area to be cleaned according to the execution parameters of each target cleaning action in the set of target cleaning actions includes: In the case where dirt is unevenly distributed in the area to be cleaned, the cleaning element of the cleaning device is controlled to alternately perform an in-situ rotation action and a repeated friction action to perform regional cleaning on the area to be cleaned.
10. The method according to any one of claims 1 to 9, characterized in that The step of controlling the cleaning device to continue cleaning the area to be cleaned according to the cleaning action matching the first dirt parameter includes: According to the cleaning action matching the first dirt parameter, the cleaning device is controlled to repeatedly perform regional cleaning on the area to be cleaned until the dirt parameter of the area to be cleaned matches a preset second dirt parameter.
11. The method according to any one of claims 1 to 9, characterized in that In the process of controlling the cleaning device to continue to perform regional cleaning on the area to be cleaned according to the cleaning action matching the first dirt parameter, the method further includes: When the duration of regional cleaning of the area to be cleaned reaches a third duration, controlling the cleaning device to suspend regional cleaning of the area to be cleaned, and controlling the cleaning device to return to a base station matched with the cleaning device to clean the cleaning parts of the cleaning device; After the cleaning of the cleaning member is completed, the cleaning member is controlled to return to the area to be cleaned, and the area to be cleaned is continued to be cleaned.
12. The method according to any one of claims 1 to 9, characterized in that After controlling the cleaning device to perform regional cleaning on the area to be cleaned according to the cleaning action matching the first dirt parameter, the method further includes: The sensing sensor identifies the area to be cleaned to obtain current dirtiness parameters of the area to be cleaned; When the current dirt parameter of the area to be cleaned matches the preset third dirt parameter, the cleaning device is controlled to continue to perform area cleaning on the area to be cleaned according to the cleaning action matching the third dirt parameter.
13. An area cleaning device based on a cleaning device, characterized in that: include: A first control unit, configured to control the cleaning device to start cleaning the area according to a preset cleaning route in response to a received area cleaning instruction; A first identification unit is used to identify the area to be cleaned of the cleaning device through a sensing sensor on the cleaning device to obtain dirt parameters of the area to be cleaned, wherein the area to be cleaned is a ground area located before the cleaning device in the forward direction of the cleaning device; The second control unit is used to control the cleaning device to perform regional cleaning on the area to be cleaned according to a cleaning action matching the first dirt parameter when the dirt parameter of the area to be cleaned matches the preset first dirt parameter.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 12 when executed.
15. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 12 through the computer program.
Citation Information
Cited By
Cleaning device, control method for cleaning device, and medium and electronic device
WO2026200797A1
