WO2023185247A1 - Region cleaning control method and apparatus, and storage medium and electronic apparatus - Google Patents

Region cleaning control method and apparatus, and storage medium and electronic apparatus Download PDF

Info

Publication number
WO2023185247A1
WO2023185247A1 PCT/CN2023/074246 CN2023074246W WO2023185247A1 WO 2023185247 A1 WO2023185247 A1 WO 2023185247A1 CN 2023074246 W CN2023074246 W CN 2023074246W WO 2023185247 A1 WO2023185247 A1 WO 2023185247A1
Authority
WO
WIPO (PCT)
Prior art keywords
cleaning
area
areas
ground
target
Prior art date
Application number
PCT/CN2023/074246
Other languages
French (fr)
Chinese (zh)
Inventor
耿文峰
孙佳佳
Original Assignee
追觅创新科技(苏州)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 追觅创新科技(苏州)有限公司 filed Critical 追觅创新科技(苏州)有限公司
Publication of WO2023185247A1 publication Critical patent/WO2023185247A1/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/24Floor-sweeping machines, motor-driven
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/4002Installations of electric equipment
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/4011Regulation of the cleaning machine by electric means; Control systems and remote control systems therefor
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/4061Steering means; Means for avoiding obstacles; Details related to the place where the driver is accommodated
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L2201/00Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L2201/00Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
    • A47L2201/04Automatic control of the travelling movement; Automatic obstacle detection
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L2201/00Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
    • A47L2201/06Control of the cleaning action for autonomous devices; Automatic detection of the surface condition before, during or after cleaning

Definitions

  • the present application relates to the field of smart home, specifically, to an area cleaning control method and device, a storage medium and an electronic device.
  • perception sensors on cleaning equipment can be used to identify the location information of thresholds, walls, etc. in the area map, and the area map is divided into multiple areas based on the identified location information of thresholds, walls, etc.
  • the cleaning equipment performs area cleaning, all or part of the area in the area map can be cleaned.
  • control method of area cleaning in the related art has the problem of low efficiency of area cleaning due to different cleaning processes in different areas.
  • the purpose of this application is to provide an area cleaning control method and device, a storage medium and an electronic device, so as to at least solve the problem that the area cleaning control method in the related art has low efficiency in area cleaning due to different cleaning processes in different areas. question.
  • a method for controlling area cleaning is provided, which is characterized by including: determining the ground material of each area in multiple areas of the cleaning equipment; according to the ground material of each area , determine the cleaning order of the multiple areas, wherein the cleaning order of the multiple areas is the order in which the cleaning equipment cleans each area; control the cleaning equipment to follow the cleaning order of the multiple areas Region each of the regions described in turn clean.
  • determining the ground material of each of the plurality of areas to be cleaned by the cleaning device includes: obtaining an area ground image of each area, wherein the area of each area
  • the ground image is an image obtained by collecting images of each area through an image acquisition component; performing ground material identification on the regional ground image of each area to obtain the ground material of each area.
  • performing ground material identification on the regional ground image of each region to obtain the ground material of each region includes: inputting the regional ground image of each region into the target ground A material recognition model is used to obtain the ground material of each area output by the target ground material recognition model, wherein the ground material recognition model is an initial ground material recognition model using a set of ground image samples marked with corresponding ground materials. obtained through training.
  • performing ground material identification on the regional ground image of each area to obtain the ground material of each area includes: performing the following steps on the regional ground image of each area. , wherein, when performing the following steps, each area is the current area, and the regional ground image of each area is the current ground image: feature extraction is performed on the current ground image to obtain the corresponding The current image features; according to the feature similarity between the current image features and the image features of each ground image in a set of ground images, select a target ground image from the set of ground images; and combine the The ground material corresponding to the target ground image is determined as the ground material of the current area.
  • determining the cleaning order of the multiple areas according to the ground material of each area includes: performing a grouping operation on the multiple areas according to the ground material of each area. , obtaining multiple groups of areas, wherein each group of areas in the multiple groups of areas includes at least one area among the multiple areas, and each group of areas corresponds to a different ground material; according to each group of areas The cleaning priority of the floor material corresponding to the group area determines the cleaning order of the multiple areas.
  • determining the cleaning order of the multiple areas according to the cleaning priority of the floor material corresponding to each group of areas includes: according to the cleaning priority of the floor material corresponding to each group of areas. Sort the multiple groups of areas step by step to obtain the cleaning order of the multiple groups of areas; perform the following steps for each group of areas in the multiple groups of areas to obtain the A cleaning sequence for multiple areas, wherein each group of areas is a current group area when performing the following steps: in the case where the current group area contains at least two target areas, according to the at least two target areas The area position of each target area in the cleaning sequence is determined to determine the cleaning sequence of the at least two target areas.
  • controlling the cleaning equipment to perform regional cleaning on each of the areas in sequence according to the cleaning order of the multiple areas includes: determining the The current area to be cleaned in multiple areas; determining the target cleaning mode used by the cleaning equipment to clean the area to be cleaned according to the floor material of the area to be cleaned; controlling the cleaning equipment to use the target cleaning mode to clean the area; The area to be cleaned is subjected to area cleaning.
  • a control device for area cleaning including: a first determination unit for determining the floor material of each area in multiple areas of the cleaning equipment; a second determination unit , used to determine the cleaning order of the multiple areas according to the ground material of each area, wherein the cleaning order of the multiple areas is the order in which the cleaning equipment cleans each area; the control unit , used to control the cleaning equipment to sequentially clean each area according to the cleaning order of the multiple areas.
  • the first determining unit includes: an acquisition module, configured to acquire a regional ground image of each region, wherein the regional ground image of each region is obtained by an image acquisition component. An image obtained by image collection of each area is provided; a recognition module is used to perform ground material identification on the regional ground image of each area to obtain the ground material of each area.
  • the identification module includes: an input submodule, used to input the regional ground image of each area into a target ground material identification model to obtain the each output of the target ground material identification model.
  • the ground material recognition model is obtained by training an initial ground material recognition model using a set of ground image samples labeled with corresponding ground materials.
  • the identification module includes: a first execution sub-module configured to perform the following steps for the regional ground image of each region, wherein when performing the following steps, the each region is Current area, the regional ground image of each area is the current ground image: perform feature extraction on the current ground image to obtain the corresponding The current image features; according to the feature similarity between the current image features and the image features of each ground image in a set of ground images, select a target ground image from the set of ground images; and combine the The ground material corresponding to the target ground image is determined as the ground material of the current area.
  • the identification module includes: a first execution sub-module, configured to perform a grouping operation on the multiple areas according to the ground material of each area to obtain multiple groups of areas, wherein: Each group of regions in the plurality of regions includes at least one region among the plurality of regions, and each group of regions corresponds to a different ground material; a first determination module, configured to correspond to each group of regions according to the The cleaning priority of the floor material determines the cleaning order of the multiple areas.
  • the first determination module includes: a sorting sub-module, used to sort the multiple groups of areas according to the cleaning priority of the floor material corresponding to each group of areas, to obtain the multiple groups of areas.
  • the cleaning order of the areas; the second execution sub-module is used to perform the following steps for each group of areas in the multiple groups of areas to obtain the cleaning order of the multiple areas, wherein when performing the following steps, the Each group of areas is a current group area: in the case that the current group area contains at least two target areas, the at least two targets are determined according to the area position of each target area in the at least two target areas. The order in which areas should be cleaned.
  • control unit includes: a second determination module, configured to determine the current area to be cleaned in the multiple areas according to the cleaning order of the multiple areas; a third determination module, using Determine the target cleaning mode used by the cleaning equipment to clean the area to be cleaned according to the ground material of the area to be cleaned; a control module for controlling the cleaning equipment to use the target cleaning mode to clean the area to be cleaned area for area cleaning.
  • the cleaning order is determined according to the ground material, by determining the ground material of each area in the multiple areas of the cleaning equipment; according to the ground material of each area, the cleaning order of the multiple areas is determined, Among them, the cleaning order of multiple areas is the order in which the cleaning equipment cleans each area; the cleaning equipment is controlled to perform regional cleaning of each area in sequence according to the cleaning order of multiple areas.
  • the cleaning equipment is determined according to the floor material of multiple areas, In the order of multiple areas, the same process can be used to clean areas of the same floor material, and the cleaning order of different floor materials can be set based on the ease of cleaning of different materials and the difficulty of dirt residue, which can reduce
  • the purpose of frequency of equipment process switching is to improve
  • the technical effect of regional cleaning efficiency further solves the problem of low regional cleaning efficiency due to different cleaning processes in different regions in the regional cleaning control methods in related technologies.
  • Figure 1 is a schematic diagram of the hardware environment of an optional area cleaning control method according to an embodiment of the present application
  • Figure 2 is a schematic flowchart of an optional area cleaning control method according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another optional area cleaning control method according to an embodiment of the present application.
  • Figure 4 is a structural block diagram of an optional area cleaning control device according to an embodiment of the present application.
  • Figure 5 is a structural block diagram of an optional electronic device according to an embodiment of the present application.
  • a method for controlling area cleaning is provided.
  • the above-mentioned area cleaning control method can be applied to a hardware environment composed of a cleaning device 102, a base station 104 and a server 106 as shown in FIG. 1 .
  • the cleaning device 102 can be connected to the base station 104 and/or the server 106 through a network to implement interaction between the cleaning device 102 and the base station 104 and/or the server 106 .
  • the above-mentioned network may include but is not limited to at least one of the following: wired network, wireless network.
  • the wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, and local area network.
  • the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity, Wireless Fidelity), Bluetooth, and infrared.
  • the network used by the cleaning device 102 to communicate with the base station 104 and/or the server 106 may be the same as the network used by the base station 104 and the server 106, or may be different.
  • the cleaning equipment 102 may include but is not limited to: a sweeper, a floor washer, etc.
  • the area cleaning control method in the embodiment of the present application can be executed individually by the cleaning device 102, the base station 104, or the server 106, or can be executed jointly by at least two of the cleaning device 102, the base station 104, and the server 106.
  • the cleaning device 102 or the base station 104 may also execute the control method for area cleaning according to the embodiment of the present application by a client installed thereon.
  • FIG. 2 is a schematic flowchart of an optional area cleaning control method according to an embodiment of the present application. As shown in FIG. 2, the The method flow may include the following steps:
  • Step S202 Determine the ground material of each area in multiple areas of the cleaning equipment.
  • the control method for area cleaning in this embodiment can be applied in a scenario where the cleaning equipment is controlled to perform area cleaning on multiple areas in the target area map.
  • the above-mentioned cleaning equipment can be a sweeping robot, a floor washing robot, or other equipment with cleaning functions.
  • the above target area map may be an area that allows cleaning equipment to perform area cleaning, such as a user's home, office, factory workshop, etc., but is not limited thereto, and is not limited in this embodiment.
  • the location information of the walls and thresholds in the target area map can be identified through the sensing sensors on the cleaning equipment, and the target area map can be divided into multiple different areas based on this information. Area. When multiple areas need to be cleaned, the cleaning equipment can be controlled to clean different areas randomly.
  • the cleaning processes of different areas are different, and the stain residues after cleaning different areas are also different, the efficiency of regional cleaning is low if the area cleaning is performed randomly.
  • the same process can be used to clean areas of the same floor material, and the cleaning difficulty of different materials and the difficulty of residual dirt can be used Setting the cleaning sequence for different floor materials can reduce the frequency of equipment process switching and improve the efficiency of regional cleaning.
  • the cleaning device may first determine multiple areas to be cleaned.
  • There may be one or more ways for the cleaning equipment to determine the multiple areas to be cleaned which may include But it is not limited to at least one of the following: directly determining all areas in the target area map as areas to be cleaned; determining multiple areas to be cleaned through the obtained instruction information issued by the users of the cleaning equipment, or it can also be Multiple areas to be cleaned are determined in other ways, which is not limited in this embodiment.
  • the cleaning device may respond to a detected target button on the cleaning device (for example, a one-touch cleaning button, which may be a physical button or a virtual button), and determine all areas in the target area map as the target areas to be cleaned. Clean area.
  • a detected target button on the cleaning device for example, a one-touch cleaning button, which may be a physical button or a virtual button
  • a target area map may be displayed on a display screen of the cleaning device or on a display screen of a smart device (eg, a smartphone) associated with the cleaning device, and the target area map may include a set of candidate areas.
  • the user that is, the user of the cleaning device
  • the above selection operation may include but is not limited to one of the following: a click operation, a double-click operation, a long press operation, and a sliding operation. In this embodiment, the selection operation is not limited.
  • the cleaning device may determine that the areas to be cleaned are multiple areas in response to the detected selection operation.
  • the smart device can generate an area selection instruction in response to the detected selection operation.
  • the area selection instruction is used to instruct multiple areas to be selected as areas to be cleaned, and
  • the generated area selection instructions are sent to the cleaning equipment through the server.
  • the cleaning equipment can receive the area selection instruction, and determine the areas to be cleaned as multiple areas according to the above area selection instruction.
  • the cleaning device can determine the floor material for each of the areas.
  • the cleaning equipment may include but are not limited to at least one of the following: determining the ground material of each area through historical cleaning records; by obtaining instruction information issued by the use object , determine the ground material of each area, or determine the ground material of each area through other methods, which is not limited in this embodiment.
  • a target area map may be displayed on a display screen of the cleaning device, or on a display screen of a smart device (eg, a smartphone) associated with the cleaning device. Used to set the floor material of each area while, before, or after selecting multiple areas to be cleaned.
  • the cleaning device may determine the ground material of each area in response to the detected setting operation.
  • a scene showing a map of the target area is displayed on the display screen.
  • the smart device can generate a ground material setting instruction in response to the detected setting operation.
  • the ground material setting instruction is used to indicate the ground material of each area, and the generated ground material setting instruction is Sent to the cleaning device through the server.
  • the cleaning equipment can receive the ground material setting instructions and determine the ground material of each area according to the above ground material setting instructions.
  • Step S204 Determine the cleaning order of multiple areas based on the floor material of each area, where the cleaning order of multiple areas is the order in which the cleaning equipment cleans each area.
  • the cleaning equipment can determine the cleaning order of the multiple areas based on the ground material of each area of the multiple areas.
  • the cleaning order of the above multiple areas is the order in which the cleaning equipment cleans each area. Determining the cleaning order of multiple areas can be: determining the cleaning order of multiple areas based on the floor material of each area and the cleaning priority of each floor material. The higher the cleaning priority of the floor material, the corresponding area is being cleaned. The earlier the order.
  • Step S206 Control the cleaning equipment to perform area cleaning on each area in sequence according to the cleaning order of multiple areas.
  • the cleaning device may perform area cleaning on each area in sequence according to the cleaning order of the multiple areas.
  • the cleaning equipment can first determine the current area to be cleaned according to the cleaning order of multiple areas, and then control the cleaning equipment to move to the current area to be cleaned through sensing sensors (for example, lidar sensors, cameras, etc.) configured on the cleaning equipment. ) obtains the area information of the current area to be cleaned, sets the cleaning route of the current area to be cleaned based on the area information of the current area to be cleaned, and cleans the current area to be cleaned according to the planned cleaning route.
  • sensing sensors for example, lidar sensors, cameras, etc.
  • the cleaning equipment can determine the next area to be cleaned according to the cleaning sequence of multiple areas, and then control the cleaning equipment to move to the next area to be cleaned, and obtain the next area through the sensing sensor configured on the cleaning equipment.
  • the area information of the area to be cleaned is set, and the cleaning route of the next area to be cleaned is set based on the area information of the next area to be cleaned, and the next area to be cleaned is cleaned according to the planned cleaning route. Repeat this process until multiple areas have been cleaned.
  • the sweeping robot can sequentially obtain the area information of the current area to be cleaned through the camera installed on it, and set the cleaning path of the current area to be cleaned based on the area information of the current area to be cleaned, and clean the current area to be cleaned according to the set cleaning path. area.
  • the ground material of each area of the multiple areas of the cleaning equipment is determined; according to the ground material of each area, the cleaning order of the multiple areas is determined, wherein the cleaning order of the multiple areas is cleaning
  • the order in which the equipment cleans each area; the cleaning equipment is controlled to perform area cleaning on each area in sequence according to the cleaning order of multiple areas, which solves the problem that the area cleaning control method in related technologies has areas caused by different cleaning processes in different areas.
  • the problem of low cleaning efficiency improves the efficiency of regional cleaning.
  • determining the floor material of each of multiple areas to be cleaned by the cleaning device includes:
  • S12 Perform ground material identification on the regional ground images of each area to obtain the ground material of each area.
  • the regional ground image of each area can be acquired through an image acquisition device (for example, a camera).
  • the regional ground images of each of the above areas can be collected and obtained in real time, or they can be obtained and saved in the cleaning equipment in advance.
  • the ground images of each area can be pre-acquired and stored in the cleaning equipment.
  • Ground material The ground material of each area.
  • the image collection equipment can be arranged on the cleaning equipment, and the cleaning equipment can be controlled to move to the regional collection position of each area (it can be the entrance position, or any position that can collect the regional ground images of each area), and the image collection equipment can be used to collect the regional ground images of each area through the cleaning equipment.
  • the image acquisition equipment collects the regional ground of each area to obtain the regional ground image of each area.
  • a group of image acquisition devices corresponding to multiple areas may also be determined, and the group of image acquisition devices is used to acquire regional ground images of at least one area among the multiple areas.
  • the cleaning device may receive a regional ground image of at least one of the multiple regions collected by each image acquisition device, and obtain a regional ground image of each region.
  • the cleaning equipment can perform ground material recognition on the regional ground image of each area to obtain the ground material of each area.
  • There can be one or more ways to identify the ground material in each area which can be based on image features, or can be done using a neural network model or other types of recognition models. This is not limited in this embodiment. .
  • ground material recognition is performed on the regional ground images of each area to obtain the ground material of each area, including:
  • the ground material identification model uses a set of ground images marked with corresponding ground materials. The samples are obtained by training the initial ground material recognition model.
  • the target ground material recognition model can be used to identify the ground material of each area according to the regional ground image of each area.
  • the cleaning equipment can input the regional ground image of each area to the target ground material identification model.
  • the target ground material identification model can analyze the regional ground image of each area, determine the ground material of each area, and output , the cleaning equipment can obtain the ground material of each area output by the target ground material recognition model.
  • the target ground material recognition model can be obtained by training the initial ground material recognition model using a set of ground image samples labeled with corresponding ground materials.
  • the model training device can obtain a set of ground image samples marked with corresponding ground materials, and use a set of ground image samples as training samples to train the initial ground material recognition model, based on the annotation of each ground image sample (the marked corresponding ground material ) and the model output of the initial ground material recognition model adjust the model parameters of the initial ground material recognition model. After multiple rounds of iterations, the trained target ground material recognition model can be obtained.
  • the trained target ground material recognition model can be deployed to the cleaning equipment or to the server, so that the deployed target ground material recognition model can be used to identify the regional ground image and determine the corresponding ground material.
  • the regional ground image is recognized through the ground material recognition model and the corresponding ground material is obtained, which can improve the convenience and accuracy of ground material recognition.
  • ground material recognition is performed on the regional ground images of each area to obtain the ground material of each area, including:
  • each ground image in a set of ground images can be preset.
  • Each ground image here is a reference ground image, corresponding to a ground material.
  • the ground materials corresponding to different ground images can be the same or different.
  • the cleaning equipment can regard each area as the current area, the regional ground image of each area as the current ground image, and perform the following operations on the current ground image to determine the ground material of the current area:
  • Step 1 Extract features from the current ground image to obtain current image features corresponding to the current ground image.
  • the cleaning equipment extracts features from the current ground image.
  • the feature extraction algorithm used can be any algorithm capable of feature extraction. For example, the features of the edges, corners, areas, etc. of the current ground image can be extracted to obtain the features related to the current ground image.
  • the above current image feature can be used to represent the ground material corresponding to the current ground image.
  • Step 2 Select the target ground image from a set of ground images based on the feature similarity between the current image features and the image features of each of the above ground images.
  • the cleaning device can select a ground image that matches the current ground image, that is, the target ground image, from a set of ground images based on the feature similarity between the current image features and the image features of each of the above ground images.
  • the method of selecting the target ground image may be: select the ground image with the highest feature similarity as the target ground image, or select the ground image with the highest feature similarity and the similarity is greater than or equal to the similarity threshold as the target ground image. For scenes where the highest feature similarity is less than the similarity threshold, a prompt message can be sent through the cleaning equipment to prompt abnormal ground material recognition.
  • Step three determine the ground material corresponding to the target ground image as the ground material of the current area.
  • the cleaning device After determining the target ground image, the cleaning device can determine the ground material corresponding to the target ground image as the ground material of the current area, thereby obtaining the ground material of the current area. exist After performing the above operations on the regional ground image of each area, the ground material of each area can be obtained.
  • the ground material of each region is determined based on the similarity between the image features of the regional ground image and the image features of the preset ground image, which can improve the convenience and accuracy of identifying the ground material of the region.
  • the cleaning order of multiple areas is determined according to the floor material of each area, including:
  • each group of areas in the multiple groups of areas contains at least one area among the multiple areas, and each group of areas corresponds to different A ground material;
  • S42 Determine the cleaning order of multiple areas according to the cleaning priority of the floor material corresponding to each group of areas.
  • the cleaning equipment can first perform a grouping operation on multiple areas according to the ground material of each area, and divide areas with the same ground material into one group to obtain multiple groups of areas.
  • Each group of areas in the multiple groups of areas includes at least one area among the multiple areas.
  • Each group of areas corresponds to a ground material, and the corresponding ground materials between different groups of areas are different from each other.
  • the cleaning equipment can store preset cleaning priority information, and the cleaning priority information can be used to indicate the preset priority of cleaning each floor material, that is, the cleaning priority of each floor material. After obtaining multiple groups of areas, the cleaning equipment can determine the cleaning order of the multiple areas based on the cleaning priority of the floor material corresponding to each group of areas. When the cleaning priority of the floor material corresponding to a group of areas is higher, the cleaning order of the group of areas is higher. When the cleaning priority of the floor material corresponding to a group of areas is lower, the cleaning order of the group of areas is higher. back.
  • a priority setting interface for the cleaning priority of the floor material may be displayed on the display screen of the cleaning device or on the display screen of a smart device (for example, a smartphone) associated with the cleaning device.
  • the priority setting interface can contain a set of candidate ground materials.
  • the user can set the cleaning priority for each candidate floor material in a set of candidate floor materials.
  • the above setting operation may include but is not limited to at least one of the following: a click operation, a double-click operation, a long press operation, and a sliding operation. In this embodiment, the setting operation is not limited.
  • the cleaning device can Determine a cleaning priority for each candidate floor material in response to detecting the above setting operation.
  • the smart device can generate a priority setting instruction in response to the detected setting operation.
  • the priority setting instruction is used to indicate the cleaning priority of each candidate floor material. , and sends the generated priority setting instructions to the cleaning equipment through the server.
  • the cleaning equipment can receive the priority setting instruction and determine the cleaning priority of each candidate floor material according to the above priority setting instruction.
  • the ground material corresponding to each group of areas belongs to a candidate ground material.
  • a group of areas contains at least two areas among a plurality of areas
  • multiple ways can be used to determine the cleaning order of different areas within the same group of areas.
  • the cleaning order of different areas within the same group of areas can be determined randomly. The order is not limited in this embodiment.
  • the cleaning order of multiple areas is determined according to the cleaning priority of the floor material corresponding to each group of areas, including:
  • each group of areas is the current group area:
  • the cleaning sequence of the at least two target areas is determined based on the area position of each of the at least two target areas.
  • the cleaning equipment in order to improve the rationality of determining the order of regional cleaning and avoid resource waste and regional pollution caused by long-distance movement of cleaning equipment across regions, the cleaning equipment can first clean the floor materials corresponding to each group of regions. Priority sorts multiple groups of areas to obtain the cleaning order of multiple groups of areas.
  • the cleaning equipment can sequentially use each group of areas in the multiple groups of areas as the current group of areas to perform the following steps in accordance with the order of the corresponding cleaning priorities to determine the cleaning order of the multiple areas;
  • the cleaning equipment can be skipped directly;
  • the cleaning device can A zone position of each of the at least two target zones determines a cleaning sequence of the at least two target zones.
  • the cleaning equipment can obtain the regional positions of at least two target areas, and determine at least two based on the regional position of each target area and the regional position of the last area to be cleaned in a group of areas corresponding to the previous cleaning priority.
  • the cleaning order of the target area for example, the target area closest to the area position of the last area is used as the first cleaned target area in the current group area; according to the area of other target areas except the first cleaned target area location to determine the order in which other target areas should be cleaned. Determining the cleaning order of other target areas may be to sequentially select the target area closest to the previous target area in the determined cleaning order as the next target area for cleaning.
  • a corresponding group of areas in the next cleaning priority may also be considered Determine the cleaning sequence of at least two target areas based on the area location of each area.
  • multiple candidate cleaning sequences for at least two target areas can also be planned in advance; based on the area position of each target area and the area position of the last area to be cleaned in the corresponding group of areas in the previous cleaning priority. , determine in turn the distance that the cleaning equipment needs to move for cleaning according to each candidate cleaning sequence, determine the cleaning distance corresponding to each candidate cleaning sequence, and select the candidate cleaning sequence with the shortest corresponding cleaning distance as at least two targets The order in which areas should be cleaned.
  • each group of areas includes at least two areas
  • the cleaning order of the at least two areas is determined based on the cleaning order of the area positions, which can improve the efficiency of area cleaning.
  • the cleaning equipment is controlled to perform area cleaning on each area in sequence according to the cleaning order of multiple areas, including:
  • S62 Determine the target cleaning mode used by the cleaning equipment to clean the area to be cleaned according to the floor material of the area to be cleaned;
  • the cleaning equipment in order to improve the cleaning efficiency of the cleaning equipment, can configure corresponding cleaning modes for different floor materials.
  • Cleaning equipment can be used to clean multiple areas in sequence, The current area to be cleaned among the multiple areas is determined, and based on the floor material of the current area to be cleaned, a cleaning mode used by the cleaning equipment to clean the area to be cleaned is determined, that is, the target cleaning mode.
  • the cleaning equipment can use the target cleaning mode to perform area cleaning of the area to be cleaned.
  • the target cleaning mode can also be used for area cleaning.
  • the cleaning equipment by controlling the cleaning equipment to use a cleaning mode corresponding to the area to be cleaned to clean the area to be cleaned, the efficiency of area cleaning can be improved and the user experience can be improved.
  • the cleaning device is a sweeping robot.
  • Figure 3 is a schematic flowchart of another optional area cleaning control method according to an embodiment of the present application.
  • the process of this method may include the following steps:
  • Step S302 collect ground image information through the camera on the sweeping robot, identify the collected ground image information through AI (artificial intelligence, artificial intelligence), and determine the ground material.
  • AI artificial intelligence, artificial intelligence
  • Step S304 Determine the order of cleaning based on the identified floor material. For example, clean the floor made of marble first, and then clean the floor made of ceramic tiles.
  • Step S306 Clean each area sequentially according to the determined order.
  • the order of area cleaning is determined based on the identified floor material, which can improve the efficiency of area cleaning.
  • the method according to the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of the present application essentially or the part that contributes to the existing technology can be implemented as software It is reflected in the form of a software product.
  • the computer software product is stored in a storage medium (such as ROM (Read-Only Memory)/RAM (Random Access Memory), magnetic disk, optical disk), including Several instructions are used to cause a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of this application.
  • FIG. 4 is a structural block diagram of an optional area cleaning control device according to an embodiment of the present application. As shown in Figure 4, the device may include:
  • the first determining unit 402 is used to determine the floor material of each area in multiple areas of the cleaning equipment
  • the second determination unit 404 is connected to the first determination unit 402 and is used to determine the cleaning order of multiple areas according to the floor material of each area, where the cleaning order of multiple areas is the order in which the cleaning equipment cleans each area. ;
  • the control unit 406 is connected to the second determination unit 404 and is used to control the cleaning equipment to sequentially clean each area according to the cleaning sequence of multiple areas.
  • first determination unit 402 in this embodiment can be used to perform the above step S202
  • second determination unit 404 in this embodiment can be used to perform the above step S204
  • control unit 406 in this embodiment can Used to perform the above step S206.
  • the floor material of each area of the cleaning equipment is determined; according to the ground material of each area, the cleaning order of the multiple areas is determined, where the cleaning order of the multiple areas is that the cleaning equipment cleans each area
  • the order of areas; the cleaning equipment is controlled to perform area cleaning on each area in sequence according to the cleaning order of multiple areas, which solves the problem of low efficiency of area cleaning due to different cleaning processes in different areas in the area cleaning control method in related technologies. problems and improve the efficiency of area cleaning.
  • the first determining unit includes:
  • the acquisition module is used to obtain the regional ground image of each area, where the regional ground image of each area is an image obtained by collecting images of each area through the image acquisition component;
  • the identification module is used to identify the ground material of the regional ground image in each area to obtain the ground material of each area.
  • the identification module includes:
  • the input sub-module will also input the regional ground image of each area into the target ground material identification model to obtain the ground material of each area output by the target ground material identification model.
  • the ground material identification model uses the corresponding ground material labeled It is obtained by training the initial ground material recognition model with a set of ground image samples.
  • the identification module includes:
  • the first execution sub-module is used to perform the following steps for the regional ground image of each area, where, when performing the following steps, each area is the current area, and the regional ground image of each area is the current ground image:
  • the identification module includes:
  • the first execution sub-module is used to perform a grouping operation on multiple areas according to the ground material of each area to obtain multiple groups of areas, where each group of areas in the multiple groups of areas contains at least one area among the multiple areas, and each group Areas correspond to different ground materials;
  • the first determination module is used to determine the cleaning order of multiple areas according to the cleaning priority of the floor material corresponding to each group of areas.
  • the first determining module includes:
  • the sorting sub-module is used to sort multiple groups of areas according to the cleaning priority of the floor material corresponding to each group of areas, and obtain the cleaning order of multiple groups of areas;
  • the second execution sub-module is used to perform the following steps for each group of areas in the multiple groups of areas to obtain the cleaning order of the multiple areas, wherein each group of areas is the current group of areas when performing the following steps:
  • the cleaning sequence of the at least two target areas is determined based on the area position of each of the at least two target areas.
  • control unit includes:
  • the second determination module is used to determine the current cleaning sequence in multiple areas according to the cleaning order of multiple areas. the area to be cleaned;
  • the third determination module is used to determine the target cleaning mode used by the cleaning equipment to clean the area to be cleaned based on the floor material of the area to be cleaned;
  • the control module is used to control the cleaning equipment to use the target cleaning mode to perform regional cleaning of the area to be cleaned.
  • the above module as part of the device, can run in the hardware environment as shown in Figure 1, and can be implemented by software or hardware, where the hardware environment includes a network environment.
  • a storage medium is also provided.
  • the above-mentioned storage medium can be used to execute the program code of any of the above-mentioned area cleaning control methods in the embodiment of the present application.
  • the above storage medium may be located on at least one network device among multiple network devices in the network shown in the above embodiment.
  • the storage medium is configured to store program codes for performing the following steps:
  • S2 determine the cleaning order of multiple areas according to the ground material of each area, where the cleaning order of multiple areas is the order in which the cleaning equipment cleans each area;
  • S3 Control the cleaning equipment to perform regional cleaning on each area in sequence according to the cleaning order of multiple areas.
  • the above-mentioned storage medium may include but is not limited to: U disk, ROM, RAM, mobile hard disk, magnetic disk or optical disk and other various media that can store program codes.
  • an electronic device for implementing the above control method for area cleaning is also provided.
  • the electronic device may be a server, a terminal, or a combination thereof.
  • Figure 5 is a structural block diagram of an optional electronic device according to an embodiment of the present application. As shown in Figure 5 shown, including a processor 502, a communication interface 504, a memory 506 and a communication bus 508, wherein the processor 502, the communication interface 504 and the memory 506 complete communication with each other through the communication bus 508, where,
  • Memory 506 for storing computer programs
  • the processor 502 is used to implement the following steps when executing the computer program stored on the memory 506:
  • S2 determine the cleaning order of multiple areas according to the ground material of each area, where the cleaning order of multiple areas is the order in which the cleaning equipment cleans each area;
  • S3 Control the cleaning equipment to perform regional cleaning on each area in sequence according to the cleaning order of multiple areas.
  • the communication bus may be a PCI (Peripheral Component Interconnect, Peripheral Component Interconnect Standard) bus, or an EISA (Extended Industry Standard Architecture, Extended Industry Standard Architecture) bus, etc.
  • the communication bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 5, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the above-mentioned electronic device and other equipment.
  • the above-mentioned memory may include RAM or non-volatile memory (non-volatile memory), for example, at least one disk memory.
  • the memory may also be at least one storage device located remotely from the aforementioned processor.
  • the above-mentioned memory 506 may include, but is not limited to, the first determination unit 402, the second determination unit 404, and the control unit 406 in the control device of the above-mentioned device. In addition, it may also include but is not limited to other modular units in the control device of the above equipment, which will not be described again in this example.
  • the above-mentioned processor can be a general-purpose processor, which can include but is not limited to: CPU (Central Processing Unit, central processing unit), NP (Network Processor, network processor), etc.; it can also be a DSP (Digital Signal Processing, digital signal processor) ), ASIC (Application Specific Integrated Circuit, application specific integrated circuit), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • CPU Central Processing Unit, central processing unit
  • NP Network Processor, network processor
  • DSP Digital Signal Processing, digital signal processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array, field programmable gate array
  • other programmable logic devices discrete gate or transistor logic devices, discrete hardware components.
  • the device that implements the above-mentioned area cleaning control method can be a terminal device.
  • the terminal device can be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet Computers, handheld computers, and mobile Internet devices (Mobile Internet Devices, MID), PAD and other terminal equipment.
  • FIG. 5 does not limit the structure of the above-mentioned electronic device.
  • the electronic device may also include more or fewer components (such as network interfaces, display devices, etc.) than shown in FIG. 5 , or have a different configuration than that shown in FIG. 5 .
  • the program can be stored in a computer-readable storage medium, and the storage medium can Including: flash disk, ROM, RAM, magnetic disk or optical disk, etc.
  • 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.
  • the technical solution of the present application is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, It includes several instructions to cause one or more computer devices (which can be personal computers, servers or network devices, etc.) to execute all or part of the steps of the methods described in various embodiments of this application.
  • the disclosed client can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division.
  • multiple units or components may be combined or may be Integrated into another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the units or modules may be in electrical or other forms.
  • a component shown as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed across 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.
  • each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the above integrated units can be implemented in the form of hardware or software functional units.

Abstract

A region cleaning control method and apparatus, and a storage medium and an electronic apparatus. The control method comprises: determining a ground material of each of a plurality of regions of a cleaning device (S202); determining a cleaning order of the plurality of regions according to the ground materials of the regions, wherein the cleaning order of the plurality of regions is a sequential order in which the cleaning device cleans the regions (S204); and controlling the cleaning device to sequentially perform region cleaning on the regions according to the cleaning order of the plurality of regions (S206). The problem of a low region cleaning efficiency occurring in region cleaning control methods in the relevant art due to different cleaning processes for different regions is solved.

Description

区域清洁的控制方法和装置、存储介质及电子装置Control methods and devices, storage media and electronic devices for area cleaning
本公开要求如下专利申请的优先权:于2022年04月01日提交中国专利局、申请号为:202210340033.5、发明名称为“区域清洁的控制方法和装置、存储介质及电子装置”的中国专利申请;上述专利申请的全部内容通过引用结合在本公开中。This disclosure requires the priority of the following patent application: a Chinese patent application submitted to the China Patent Office on April 1, 2022, with the application number: 202210340033.5, and the invention name is "Control method and device, storage medium and electronic device for area cleaning" ; The entire contents of the above patent applications are incorporated into this disclosure by reference.
【技术领域】【Technical field】
本申请涉及智能家居领域,具体而言,涉及一种区域清洁的控制方法和装置、存储介质及电子装置。The present application relates to the field of smart home, specifically, to an area cleaning control method and device, a storage medium and an electronic device.
【背景技术】【Background technique】
目前,可以使用清洁设备(例如,扫地机器人)上的感知传感器识别区域地图内的门槛、墙壁等的位置信息,并根据识别到的门槛、墙壁等的位置信息将区域地图划分成多个区域。在清洁设备进行区域清洁时,可以对区域地图内的全部或者部分区域进行清洁。Currently, perception sensors on cleaning equipment (for example, sweeping robots) can be used to identify the location information of thresholds, walls, etc. in the area map, and the area map is divided into multiple areas based on the identified location information of thresholds, walls, etc. When the cleaning equipment performs area cleaning, all or part of the area in the area map can be cleaned.
在需要对多个区域进行清洁时,可以随机对不同区域进行清洁。然而,由于不同区域的清洁过程不同,清洁不同区域后的污渍残留等也不同,采用随机进行区域清洁的方式,区域清洁的效率较低,影响用户的使用体验。When multiple areas need to be cleaned, different areas can be cleaned randomly. However, due to the different cleaning processes in different areas, the stain residues after cleaning different areas are also different. If the area cleaning method is used randomly, the efficiency of area cleaning is low, which affects the user experience.
由此可知,相关技术中的区域清洁的控制方法,存在由于不同区域的清洁过程不同导致的区域清洁的效率低的问题。It can be seen from this that the control method of area cleaning in the related art has the problem of low efficiency of area cleaning due to different cleaning processes in different areas.
【发明内容】[Content of the invention]
本申请的目的在于提供一种区域清洁的控制方法和装置、存储介质及电子装置,以至少解决相关技术中的区域清洁的控制方法存在由于不同区域的清洁过程不同导致的区域清洁的效率低的问题。The purpose of this application is to provide an area cleaning control method and device, a storage medium and an electronic device, so as to at least solve the problem that the area cleaning control method in the related art has low efficiency in area cleaning due to different cleaning processes in different areas. question.
本申请的目的是通过以下技术方案实现:The purpose of this application is achieved through the following technical solutions:
根据本申请实施例的一个方面,提供了一种区域清洁的控制方法,其特征在于,包括:确定清洁设备的多个区域中的每个区域的地面材质;根据所述每个区域的地面材质,确定所述多个区域的清洁顺序,其中,所述多个区域的清洁顺序为所述清洁设备清洁所述每个区域的先后顺序;控制所述清洁设备按照所述多个区域的清洁顺序依次对所述每个区域进行区域 清洁。According to one aspect of the embodiment of the present application, a method for controlling area cleaning is provided, which is characterized by including: determining the ground material of each area in multiple areas of the cleaning equipment; according to the ground material of each area , determine the cleaning order of the multiple areas, wherein the cleaning order of the multiple areas is the order in which the cleaning equipment cleans each area; control the cleaning equipment to follow the cleaning order of the multiple areas Region each of the regions described in turn clean.
在一个示例性实施例中,所述确定清洁设备待清洁的多个区域中的每个区域的地面材质,包括:获取所述每个区域的区域地面图像,其中,所述每个区域的区域地面图像为通过图像采集部件对所述每个区域进行图像采集得到的图像;对所述每个区域的区域地面图像进行地面材质识别,得到所述每个区域的地面材质。In an exemplary embodiment, determining the ground material of each of the plurality of areas to be cleaned by the cleaning device includes: obtaining an area ground image of each area, wherein the area of each area The ground image is an image obtained by collecting images of each area through an image acquisition component; performing ground material identification on the regional ground image of each area to obtain the ground material of each area.
在一个示例性实施例中,所述对所述每个区域的区域地面图像进行地面材质识别,得到所述每个区域的地面材质,包括:将所述每个区域的区域地面图像输入目标地面材质识别模型,得到所述目标地面材质识别模型输出的所述每个区域的地面材质,其中,所述地面材质识别模型是使用标注有对应地面材质的一组地面图像样本对初始地面材质识别模型进行训练得到的。In an exemplary embodiment, performing ground material identification on the regional ground image of each region to obtain the ground material of each region includes: inputting the regional ground image of each region into the target ground A material recognition model is used to obtain the ground material of each area output by the target ground material recognition model, wherein the ground material recognition model is an initial ground material recognition model using a set of ground image samples marked with corresponding ground materials. obtained through training.
在一个示例性实施例中,所述对所述每个区域的区域地面图像进行地面材质识别,得到所述每个区域的地面材质,包括:对于所述每个区域的区域地面图像执行以下步骤,其中,在执行以下步骤时,所述每个区域为当前区域,所述每个区域的区域地面图像为当前地面图像:对所述当前地面图像进行特征提取,得到与所述当前地面图像对应的当前图像特征;根据所述当前图像特征与一组地面图像中的每个地面图像的图像特征之间的特征相似度,从所述一组地面图像中选取出目标地面图像;将与所述目标地面图像对应的地面材质,确定为所述当前区域的地面材质。In an exemplary embodiment, performing ground material identification on the regional ground image of each area to obtain the ground material of each area includes: performing the following steps on the regional ground image of each area. , wherein, when performing the following steps, each area is the current area, and the regional ground image of each area is the current ground image: feature extraction is performed on the current ground image to obtain the corresponding The current image features; according to the feature similarity between the current image features and the image features of each ground image in a set of ground images, select a target ground image from the set of ground images; and combine the The ground material corresponding to the target ground image is determined as the ground material of the current area.
在一个示例性实施例中,所述根据所述每个区域的地面材质,确定所述多个区域的清洁顺序,包括:根据所述每个区域的地面材质对所述多个区域执行分组操作,得到多组区域,其中,所述多组区域中的每组区域包含所述多个区域中的至少一个区域,所述每组区域对应于互不相同的一种地面材质;根据所述每组区域对应的地面材质的清洁优先级,确定所述多个区域的清洁顺序。In an exemplary embodiment, determining the cleaning order of the multiple areas according to the ground material of each area includes: performing a grouping operation on the multiple areas according to the ground material of each area. , obtaining multiple groups of areas, wherein each group of areas in the multiple groups of areas includes at least one area among the multiple areas, and each group of areas corresponds to a different ground material; according to each group of areas The cleaning priority of the floor material corresponding to the group area determines the cleaning order of the multiple areas.
在一个示例性实施例中,所述根据所述每组区域对应的地面材质的清洁优先级,确定所述多个区域的清洁顺序,包括:按照所述每组区域对应的地面材质的清洁优先级对所述多组区域进行排序,得到所述多组区域的清洁顺序;对于所述多组区域中的所述每组区域执行以下步骤,得到所述 多个区域的清洁顺序,其中,在执行以下步骤时,所述每组区域为当前组区域:在所述当前组区域中包含至少两个目标区域的情况下,根据所述至少两个目标区域中的每个目标区域的区域位置,确定所述至少两个目标区域的清洁顺序。In an exemplary embodiment, determining the cleaning order of the multiple areas according to the cleaning priority of the floor material corresponding to each group of areas includes: according to the cleaning priority of the floor material corresponding to each group of areas. Sort the multiple groups of areas step by step to obtain the cleaning order of the multiple groups of areas; perform the following steps for each group of areas in the multiple groups of areas to obtain the A cleaning sequence for multiple areas, wherein each group of areas is a current group area when performing the following steps: in the case where the current group area contains at least two target areas, according to the at least two target areas The area position of each target area in the cleaning sequence is determined to determine the cleaning sequence of the at least two target areas.
在一个示例性实施例中,所述控制所述清洁设备按照所述多个区域的清洁顺序依次对所述每个区域进行区域清洁,包括:根据所述多个区域的清洁顺序,确定所述多个区域中当前的待清洁区域;根据所述待清洁区域的地面材质,确定所述清洁设备清洁所述待清洁区域所采用的目标清洁模式;控制所述清洁设备采用所述目标清洁模式对所述待清洁区域进行区域清洁。In an exemplary embodiment, controlling the cleaning equipment to perform regional cleaning on each of the areas in sequence according to the cleaning order of the multiple areas includes: determining the The current area to be cleaned in multiple areas; determining the target cleaning mode used by the cleaning equipment to clean the area to be cleaned according to the floor material of the area to be cleaned; controlling the cleaning equipment to use the target cleaning mode to clean the area; The area to be cleaned is subjected to area cleaning.
根据本申请实施例的另一个方面,还提供了一种区域清洁的控制装置,包括:第一确定单元,用于确定清洁设备的多个区域中的每个区域的地面材质;第二确定单元,用于根据所述每个区域的地面材质,确定所述多个区域的清洁顺序,其中,所述多个区域的清洁顺序为所述清洁设备清洁所述每个区域的先后顺序;控制单元,用于控制所述清洁设备按照所述多个区域的清洁顺序依次对所述每个区域进行区域清洁。According to another aspect of the embodiment of the present application, a control device for area cleaning is also provided, including: a first determination unit for determining the floor material of each area in multiple areas of the cleaning equipment; a second determination unit , used to determine the cleaning order of the multiple areas according to the ground material of each area, wherein the cleaning order of the multiple areas is the order in which the cleaning equipment cleans each area; the control unit , used to control the cleaning equipment to sequentially clean each area according to the cleaning order of the multiple areas.
在一个示例性实施例中,所述第一确定单元包括:获取模块,用于获取所述每个区域的区域地面图像,其中,所述每个区域的区域地面图像为通过图像采集部件对所述每个区域进行图像采集得到的图像;识别模块,用于对所述每个区域的区域地面图像进行地面材质识别,得到所述每个区域的地面材质。In an exemplary embodiment, the first determining unit includes: an acquisition module, configured to acquire a regional ground image of each region, wherein the regional ground image of each region is obtained by an image acquisition component. An image obtained by image collection of each area is provided; a recognition module is used to perform ground material identification on the regional ground image of each area to obtain the ground material of each area.
在一个示例性实施例中,所述识别模块包括:输入子模块,用于将所述每个区域的区域地面图像输入目标地面材质识别模型,得到所述目标地面材质识别模型输出的所述每个区域的地面材质,其中,所述地面材质识别模型是使用标注有对应地面材质的一组地面图像样本对初始地面材质识别模型进行训练得到的。In an exemplary embodiment, the identification module includes: an input submodule, used to input the regional ground image of each area into a target ground material identification model to obtain the each output of the target ground material identification model. The ground material recognition model is obtained by training an initial ground material recognition model using a set of ground image samples labeled with corresponding ground materials.
在一个示例性实施例中,所述识别模块包括:第一执行子模块,用于对于所述每个区域的区域地面图像执行以下步骤,其中,在执行以下步骤时,所述每个区域为当前区域,所述每个区域的区域地面图像为当前地面图像:对所述当前地面图像进行特征提取,得到与所述当前地面图像对应 的当前图像特征;根据所述当前图像特征与一组地面图像中的每个地面图像的图像特征之间的特征相似度,从所述一组地面图像中选取出目标地面图像;将与所述目标地面图像对应的地面材质,确定为所述当前区域的地面材质。In an exemplary embodiment, the identification module includes: a first execution sub-module configured to perform the following steps for the regional ground image of each region, wherein when performing the following steps, the each region is Current area, the regional ground image of each area is the current ground image: perform feature extraction on the current ground image to obtain the corresponding The current image features; according to the feature similarity between the current image features and the image features of each ground image in a set of ground images, select a target ground image from the set of ground images; and combine the The ground material corresponding to the target ground image is determined as the ground material of the current area.
在一个示例性实施例中,所述识别模块包括:第一执行子模块,用于根据所述每个区域的地面材质对所述多个区域执行分组操作,得到多组区域,其中,所述多组区域中的每组区域包含所述多个区域中的至少一个区域,所述每组区域对应于互不相同的一种地面材质;第一确定模块,用于根据所述每组区域对应的地面材质的清洁优先级,确定所述多个区域的清洁顺序。In an exemplary embodiment, the identification module includes: a first execution sub-module, configured to perform a grouping operation on the multiple areas according to the ground material of each area to obtain multiple groups of areas, wherein: Each group of regions in the plurality of regions includes at least one region among the plurality of regions, and each group of regions corresponds to a different ground material; a first determination module, configured to correspond to each group of regions according to the The cleaning priority of the floor material determines the cleaning order of the multiple areas.
在一个示例性实施例中,所述第一确定模块包括:排序子模块,用于按照所述每组区域对应的地面材质的清洁优先级对所述多组区域进行排序,得到所述多组区域的清洁顺序;第二执行子模块,用于对于所述多组区域中的所述每组区域执行以下步骤,得到所述多个区域的清洁顺序,其中,在执行以下步骤时,所述每组区域为当前组区域:在所述当前组区域中包含至少两个目标区域的情况下,根据所述至少两个目标区域中的每个目标区域的区域位置,确定所述至少两个目标区域的清洁顺序。In an exemplary embodiment, the first determination module includes: a sorting sub-module, used to sort the multiple groups of areas according to the cleaning priority of the floor material corresponding to each group of areas, to obtain the multiple groups of areas. The cleaning order of the areas; the second execution sub-module is used to perform the following steps for each group of areas in the multiple groups of areas to obtain the cleaning order of the multiple areas, wherein when performing the following steps, the Each group of areas is a current group area: in the case that the current group area contains at least two target areas, the at least two targets are determined according to the area position of each target area in the at least two target areas. The order in which areas should be cleaned.
在一个示例性实施例中,所述控制单元包括:第二确定模块,用于根据所述多个区域的清洁顺序,确定所述多个区域中当前的待清洁区域;第三确定模块,用于根据所述待清洁区域的地面材质,确定所述清洁设备清洁所述待清洁区域所采用的目标清洁模式;控制模块,用于控制所述清洁设备采用所述目标清洁模式对所述待清洁区域进行区域清洁。In an exemplary embodiment, the control unit includes: a second determination module, configured to determine the current area to be cleaned in the multiple areas according to the cleaning order of the multiple areas; a third determination module, using Determine the target cleaning mode used by the cleaning equipment to clean the area to be cleaned according to the ground material of the area to be cleaned; a control module for controlling the cleaning equipment to use the target cleaning mode to clean the area to be cleaned area for area cleaning.
在本申请实施例中,采用根据地面材质确定清洁顺序的方式,通过确定清洁设备的多个区域中的每个区域的地面材质;根据每个区域的地面材质,确定多个区域的清洁顺序,其中,多个区域的清洁顺序为清洁设备清洁每个区域的先后顺序;控制清洁设备按照多个区域的清洁顺序依次对每个区域进行区域清洁,由于根据多个区域的地面材质确定清洁设备清洁多个区域的顺序,可以采用相同的流程清洁同一地面材质的区域,并且,可以基于不同材质的清洁难易程度、以及脏污残留的难易程度等设置不同地面材质的清洁顺序,可以实现减少设备流程切换的频率的目的,达到提高 区域清洁效率的技术效果,进而解决了相关技术中的区域清洁的控制方法存在由于不同区域的清洁过程不同导致的区域清洁的效率低的问题。In the embodiment of the present application, the cleaning order is determined according to the ground material, by determining the ground material of each area in the multiple areas of the cleaning equipment; according to the ground material of each area, the cleaning order of the multiple areas is determined, Among them, the cleaning order of multiple areas is the order in which the cleaning equipment cleans each area; the cleaning equipment is controlled to perform regional cleaning of each area in sequence according to the cleaning order of multiple areas. Since the cleaning equipment is determined according to the floor material of multiple areas, In the order of multiple areas, the same process can be used to clean areas of the same floor material, and the cleaning order of different floor materials can be set based on the ease of cleaning of different materials and the difficulty of dirt residue, which can reduce The purpose of frequency of equipment process switching is to improve The technical effect of regional cleaning efficiency further solves the problem of low regional cleaning efficiency due to different cleaning processes in different regions in the regional cleaning control methods in related technologies.
【附图说明】[Picture description]
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings needed to describe the embodiments or the prior art. Obviously, for those of ordinary skill in the art, It is said that other drawings can be obtained based on these drawings without exerting creative labor.
图1是根据本申请实施例的一种可选的区域清洁的控制方法的硬件环境的示意图;Figure 1 is a schematic diagram of the hardware environment of an optional area cleaning control method according to an embodiment of the present application;
图2是根据本申请实施例的一种可选的区域清洁的控制方法的流程示意图;Figure 2 is a schematic flowchart of an optional area cleaning control method according to an embodiment of the present application;
图3是根据本申请实施例的另一种可选的区域清洁的控制方法的流程示意图;Figure 3 is a schematic flowchart of another optional area cleaning control method according to an embodiment of the present application;
图4是根据本申请实施例的一种可选的区域清洁的控制装置的结构框图;Figure 4 is a structural block diagram of an optional area cleaning control device according to an embodiment of the present application;
图5是根据本申请实施例的一种可选的电子装置的结构框图。Figure 5 is a structural block diagram of an optional electronic device according to an embodiment of the present application.
【具体实施方式】【Detailed ways】
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present application will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, as long as there is no conflict, the embodiments and features in the embodiments of this application can be combined with each other.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second", etc. in the description 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.
根据本申请实施例的一个方面,提供了一种区域清洁的控制方法。可选地,在本实施例中,上述区域清洁的控制方法可以应用于如图1所示的由清洁设备102、基站104和服务器106所构成的硬件环境中。如图1所示,清洁设备102可以通过网络与基站104和/或服务器106进行连接,以实现清洁设备102与基站104和/或服务器106之间的交互。According to one aspect of the embodiments of the present application, a method for controlling area cleaning is provided. Optionally, in this embodiment, the above-mentioned area cleaning control method can be applied to a hardware environment composed of a cleaning device 102, a base station 104 and a server 106 as shown in FIG. 1 . As shown in FIG. 1 , the cleaning device 102 can be connected to the base station 104 and/or the server 106 through a network to implement interaction between the cleaning device 102 and the base station 104 and/or the server 106 .
上述网络可以包括但不限于以下至少之一:有线网络,无线网络。上 述有线网络可以包括但不限于以下至少之一:广域网,城域网,局域网,上述无线网络可以包括但不限于以下至少之一:WIFI(Wireless Fidelity,无线保真),蓝牙,红外。清洁设备102与基站104和/或服务器106进行通信所使用的网络与基站104与服务器106进行通信所使用的网络可以是相同的,也可以是不同的。清洁设备102可以包括但不限于:扫地机,洗地机等。The above-mentioned network may include but is not limited to at least one of the following: wired network, wireless network. superior The wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, and local area network. The wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity, Wireless Fidelity), Bluetooth, and infrared. The network used by the cleaning device 102 to communicate with the base station 104 and/or the server 106 may be the same as the network used by the base station 104 and the server 106, or may be different. The cleaning equipment 102 may include but is not limited to: a sweeper, a floor washer, etc.
本申请实施例的区域清洁的控制方法可以由清洁设备102、基站104或者服务器106单独来执行,也可以由清洁设备102、基站104和服务器106中的至少两个共同执行。其中,清洁设备102或者基站104执行本申请实施例的区域清洁的控制方法也可以是由安装在其上的客户端来执行。The area cleaning control method in the embodiment of the present application can be executed individually by the cleaning device 102, the base station 104, or the server 106, or can be executed jointly by at least two of the cleaning device 102, the base station 104, and the server 106. Wherein, the cleaning device 102 or the base station 104 may also execute the control method for area cleaning according to the embodiment of the present application by a client installed thereon.
以由清洁设备102来执行本实施例中的区域清洁的控制方法为例,图2是根据本申请实施例的一种可选的区域清洁的控制方法的流程示意图,如图2所示,该方法的流程可以包括以下步骤:Taking the area cleaning control method performed by the cleaning device 102 in this embodiment as an example, FIG. 2 is a schematic flowchart of an optional area cleaning control method according to an embodiment of the present application. As shown in FIG. 2, the The method flow may include the following steps:
步骤S202,确定清洁设备的多个区域中的每个区域的地面材质。Step S202: Determine the ground material of each area in multiple areas of the cleaning equipment.
本实施例中的区域清洁的控制方法可以应用在控制清洁设备对目标区域地图中的多个区域进行区域清洁的场景中,上述清洁设备可以是扫地机器人、洗地机器人或者其他具备清洁功能的设备。上述目标区域地图可以是允许清洁设备进行区域清洁的区域,例如,用户家庭、办公室、工厂车间等,但不限于此,本实施例中对此不作限定。The control method for area cleaning in this embodiment can be applied in a scenario where the cleaning equipment is controlled to perform area cleaning on multiple areas in the target area map. The above-mentioned cleaning equipment can be a sweeping robot, a floor washing robot, or other equipment with cleaning functions. . The above target area map may be an area that allows cleaning equipment to perform area cleaning, such as a user's home, office, factory workshop, etc., but is not limited thereto, and is not limited in this embodiment.
在控制清洁设备进行区域清洁时,可以通过清洁设备上的感知传感器识别目标区域地图中的墙壁以及门槛的位置信息,并根据这些信息对目标区域地图进行分区,将目标区域地图划分成多个不同的区域。在需要对多个区域进行清洁时,可以控制清洁设备随机对不同区域进行清洁。When controlling the cleaning equipment for area cleaning, the location information of the walls and thresholds in the target area map can be identified through the sensing sensors on the cleaning equipment, and the target area map can be divided into multiple different areas based on this information. Area. When multiple areas need to be cleaned, the cleaning equipment can be controlled to clean different areas randomly.
然而,由于不同区域的清洁过程不同,清洁不同区域后的污渍残留等也不同,采用随机进行区域清洁的方式,区域清洁的效率较低。为了解决上述问题,在本实施例中,通过根据地面材质确定清洁顺序,可以采用相同的流程清洁同一地面材质的区域,并且,可以基于不同材质的清洁难易程度、以及脏污残留的难易程度等设置不同地面材质的清洁顺序,可以减少设备流程切换的频率,提高区域清洁的效率。However, since the cleaning processes of different areas are different, and the stain residues after cleaning different areas are also different, the efficiency of regional cleaning is low if the area cleaning is performed randomly. In order to solve the above problem, in this embodiment, by determining the cleaning sequence according to the floor material, the same process can be used to clean areas of the same floor material, and the cleaning difficulty of different materials and the difficulty of residual dirt can be used Setting the cleaning sequence for different floor materials can reduce the frequency of equipment process switching and improve the efficiency of regional cleaning.
可选地,在进行区域清洁时,清洁设备可以首先确定待清洁的多个区域。清洁设备确定待清洁的多个区域的方式可以有一种或多种,可以包括 但不限于以下至少之一:直接将目标区域地图中的所有区域确定为待清洁的区域;通过获取到的清洁设备的使用对象所发出的指示信息,确定待清洁的多个区域,还可以是通过其他方式确定待清洁的多个区域,本实施例中对此不作限定。Optionally, when performing area cleaning, the cleaning device may first determine multiple areas to be cleaned. There may be one or more ways for the cleaning equipment to determine the multiple areas to be cleaned, which may include But it is not limited to at least one of the following: directly determining all areas in the target area map as areas to be cleaned; determining multiple areas to be cleaned through the obtained instruction information issued by the users of the cleaning equipment, or it can also be Multiple areas to be cleaned are determined in other ways, which is not limited in this embodiment.
例如,清洁设备可以响应检测到的、对清洁设备上的目标按钮(例如,一键清洁按钮,可以是物理按钮,也可以是虚拟按钮),将目标区域地图中的所有区域,均确定为待清洁的区域。For example, the cleaning device may respond to a detected target button on the cleaning device (for example, a one-touch cleaning button, which may be a physical button or a virtual button), and determine all areas in the target area map as the target areas to be cleaned. Clean area.
例如,在清洁设备的显示屏上、或者与清洁设备关联的智能设备(例如,智能手机)的显示屏上可以显示有目标区域地图,目标区域地图中可以包含一组候选区域。用户(即,清洁设备的使用对象)可以对一组候选区域中的多个区域(或者说,多个目标区域)执行选取操作,选取出多个区域作为待清洁区域。上述选取操作可以包括但不限于以下之一:点击操作,双击操作,长按操作,滑动操作,本实施例中对选取操作不作限定。For example, a target area map may be displayed on a display screen of the cleaning device or on a display screen of a smart device (eg, a smartphone) associated with the cleaning device, and the target area map may include a set of candidate areas. The user (that is, the user of the cleaning device) can perform a selection operation on multiple areas (or multiple target areas) in a set of candidate areas, and select multiple areas as areas to be cleaned. The above selection operation may include but is not limited to one of the following: a click operation, a double-click operation, a long press operation, and a sliding operation. In this embodiment, the selection operation is not limited.
对于在清洁设备的显示屏上显示目标区域地图的场景,清洁设备可以响应于检测到的上述选取操作,确定待清洁的区域为多个区域。对于在智能设备的显示屏上显示目标区域地图的场景,智能设备可以响应于检测到的上述选取操作,生成区域选取指令,区域选取指令用于指示选取出多个区域作为待清洁区域,并将生成的区域选取指令通过服务器发送给清洁设备。清洁设备可以接收区域选取指令,并根据上述区域选取指令,确定待清洁的区域为多个区域。For a scenario where a target area map is displayed on the display screen of the cleaning device, the cleaning device may determine that the areas to be cleaned are multiple areas in response to the detected selection operation. For a scenario where a map of a target area is displayed on the display screen of a smart device, the smart device can generate an area selection instruction in response to the detected selection operation. The area selection instruction is used to instruct multiple areas to be selected as areas to be cleaned, and The generated area selection instructions are sent to the cleaning equipment through the server. The cleaning equipment can receive the area selection instruction, and determine the areas to be cleaned as multiple areas according to the above area selection instruction.
对于多个区域,清洁设备可以确定其中的每个区域的地面材质。清洁设备确定每个区域的地面材质的方式可以有一种或多种,可以包括但不限于以下至少之一:通过历史清洁记录确定每个区域的地面材质;通过获取到使用对象所发出的指示信息,确定每个区域的地面材质,还可以是通过其他方式确定每个区域的地面材质,本实施例中对此不作限定。For multiple areas, the cleaning device can determine the floor material for each of the areas. There may be one or more ways for the cleaning equipment to determine the ground material of each area, which may include but are not limited to at least one of the following: determining the ground material of each area through historical cleaning records; by obtaining instruction information issued by the use object , determine the ground material of each area, or determine the ground material of each area through other methods, which is not limited in this embodiment.
例如,在清洁设备的显示屏上、或者与清洁设备关联的智能设备(例如,智能手机)的显示屏上可以显示有目标区域地图。用于在选择待清洁的多个区域的同时、之前、或者之后,可以设置每个区域的地面材质。对于在清洁设备的显示屏上显示目标区域地图的场景,清洁设备可以响应于检测到的上述设置操作,确定每个区域的地面材质。对于在智能设备的显 示屏上显示目标区域地图的场景,智能设备可以响应于检测到的上述设置操作,生成地面材质设置指令,地面材质设置指令用于指示每个区域的地面材质,并将生成的地面材质设置指令通过服务器发送给清洁设备。清洁设备可以接收地面材质设置指令,并根据上述地面材质设置指令,确定每个区域的地面材质。For example, a target area map may be displayed on a display screen of the cleaning device, or on a display screen of a smart device (eg, a smartphone) associated with the cleaning device. Used to set the floor material of each area while, before, or after selecting multiple areas to be cleaned. For a scenario where a target area map is displayed on the display screen of the cleaning device, the cleaning device may determine the ground material of each area in response to the detected setting operation. For displays on smart devices A scene showing a map of the target area is displayed on the display screen. The smart device can generate a ground material setting instruction in response to the detected setting operation. The ground material setting instruction is used to indicate the ground material of each area, and the generated ground material setting instruction is Sent to the cleaning device through the server. The cleaning equipment can receive the ground material setting instructions and determine the ground material of each area according to the above ground material setting instructions.
步骤S204,根据每个区域的地面材质,确定多个区域的清洁顺序,其中,多个区域的清洁顺序为清洁设备清洁每个区域的先后顺序。Step S204: Determine the cleaning order of multiple areas based on the floor material of each area, where the cleaning order of multiple areas is the order in which the cleaning equipment cleans each area.
在本实施例中,清洁设备可以根据多个区域的每个区域的地面材质,确定多个区域的清洁顺序。上述多个区域的清洁顺序为清洁设备清洁每个区域的先后顺序。确定多个区域的清洁顺序可以是:根据每个区域的地面材质、以及每种地面材质的清洁优先级,确定多个区域的清洁顺序,地面材质的清洁优先级越高,对应的区域在清洁次序越早。In this embodiment, the cleaning equipment can determine the cleaning order of the multiple areas based on the ground material of each area of the multiple areas. The cleaning order of the above multiple areas is the order in which the cleaning equipment cleans each area. Determining the cleaning order of multiple areas can be: determining the cleaning order of multiple areas based on the floor material of each area and the cleaning priority of each floor material. The higher the cleaning priority of the floor material, the corresponding area is being cleaned. The earlier the order.
步骤S206,控制清洁设备按照多个区域的清洁顺序依次对每个区域进行区域清洁。Step S206: Control the cleaning equipment to perform area cleaning on each area in sequence according to the cleaning order of multiple areas.
在本实施例中,在确定出多个区域的清洁顺序之后,清洁设备可以按照多个区域的清洁顺序依次对每个区域进行区域清洁。示例性地,清洁设备可以首先按照多个区域的清洁顺序,确定当前待清洁区域,然后控制清洁设备移动到当前待清洁区域,通过清洁设备上配置的感知传感器(例如,激光雷达传感器、摄像头等)获取当前待清洁区域的区域信息,并根据当前待清洁区域的区域信息设置当前待清洁区域的清洁路线,并按照规划的清洁路线清洁当前待清洁区域。In this embodiment, after determining the cleaning order of multiple areas, the cleaning device may perform area cleaning on each area in sequence according to the cleaning order of the multiple areas. For example, the cleaning equipment can first determine the current area to be cleaned according to the cleaning order of multiple areas, and then control the cleaning equipment to move to the current area to be cleaned through sensing sensors (for example, lidar sensors, cameras, etc.) configured on the cleaning equipment. ) obtains the area information of the current area to be cleaned, sets the cleaning route of the current area to be cleaned based on the area information of the current area to be cleaned, and cleans the current area to be cleaned according to the planned cleaning route.
在清洁完当前待清洁区域之后,清洁设备可以按照多个区域的清洁顺序,确定下一个待清洁区域,然后控制清洁设备移动到下一个待清洁区域,通过清洁设备上配置的感知传感器获取下一个待清洁区域的区域信息,并根据下一个待清洁区域的区域信息设置下一个待清洁区域的清洁路线,并按照规划的清洁路线清洁下一个待清洁区域。依次类推,直到清洁完多个区域。After cleaning the current area to be cleaned, the cleaning equipment can determine the next area to be cleaned according to the cleaning sequence of multiple areas, and then control the cleaning equipment to move to the next area to be cleaned, and obtain the next area through the sensing sensor configured on the cleaning equipment. The area information of the area to be cleaned is set, and the cleaning route of the next area to be cleaned is set based on the area information of the next area to be cleaned, and the next area to be cleaned is cleaned according to the planned cleaning route. Repeat this process until multiple areas have been cleaned.
例如,扫地机器人可以通过其身上布设的摄像头依次获取当前待清洁区域的区域信息,并根据当前待清洁区域的区域信息,设置当前待清洁区域的清洁路径,并根据设置的清洁路径清洁当前待清洁区域。 For example, the sweeping robot can sequentially obtain the area information of the current area to be cleaned through the camera installed on it, and set the cleaning path of the current area to be cleaned based on the area information of the current area to be cleaned, and clean the current area to be cleaned according to the set cleaning path. area.
通过上述步骤S202至步骤S206,确定清洁设备的多个区域中的每个区域的地面材质;根据每个区域的地面材质,确定多个区域的清洁顺序,其中,多个区域的清洁顺序为清洁设备清洁每个区域的先后顺序;控制清洁设备按照多个区域的清洁顺序依次对每个区域进行区域清洁,解决了相关技术中的区域清洁的控制方法存在由于不同区域的清洁过程不同导致的区域清洁的效率低的问题,提高了区域清洁的效率。Through the above-mentioned steps S202 to step S206, the ground material of each area of the multiple areas of the cleaning equipment is determined; according to the ground material of each area, the cleaning order of the multiple areas is determined, wherein the cleaning order of the multiple areas is cleaning The order in which the equipment cleans each area; the cleaning equipment is controlled to perform area cleaning on each area in sequence according to the cleaning order of multiple areas, which solves the problem that the area cleaning control method in related technologies has areas caused by different cleaning processes in different areas. The problem of low cleaning efficiency improves the efficiency of regional cleaning.
在一个示例性实施例中,确定清洁设备待清洁的多个区域中的每个区域的地面材质,包括:In an exemplary embodiment, determining the floor material of each of multiple areas to be cleaned by the cleaning device includes:
S11,获取每个区域的区域地面图像,其中,每个区域的区域地面图像为通过图像采集部件对每个区域进行图像采集得到的图像;S11, obtain the regional ground image of each area, where the regional ground image of each area is an image obtained by collecting images of each area through the image acquisition component;
S12,对每个区域的区域地面图像进行地面材质识别,得到每个区域的地面材质。S12: Perform ground material identification on the regional ground images of each area to obtain the ground material of each area.
在本实施例中,为了提高地面材质识别的准确性,可以通过图像采集设备(例如,摄像头)获取每个区域的区域地面图像。上述每个区域的区域地面图像可以是实时采集并获取的,也可以是预先获取并保存到清洁设备内的,或者,预先获取并识别出每个区域的地面材质之后,预先将每个区域的地面材质每个区域的地面材质的。In this embodiment, in order to improve the accuracy of ground material recognition, the regional ground image of each area can be acquired through an image acquisition device (for example, a camera). The regional ground images of each of the above areas can be collected and obtained in real time, or they can be obtained and saved in the cleaning equipment in advance. Alternatively, after the ground materials of each area are obtained and identified in advance, the ground images of each area can be pre-acquired and stored in the cleaning equipment. Ground material The ground material of each area.
图像采集设备可以在清洁设备上布设,控制清洁设备移动到每个区域的区域采集位置(可以是入口位置,也可以是任意能够采集到每个区域的区域地面图像的位置),通过清洁设备上的图像采集设备对每个区域的区域地面进行采集,得到每个区域的区域地面图像。The image collection equipment can be arranged on the cleaning equipment, and the cleaning equipment can be controlled to move to the regional collection position of each area (it can be the entrance position, or any position that can collect the regional ground images of each area), and the image collection equipment can be used to collect the regional ground images of each area through the cleaning equipment. The image acquisition equipment collects the regional ground of each area to obtain the regional ground image of each area.
可选地,也可以确定与多个区域对应的一组图像采集设备,一组图像采集设备用于采集多个区域中的至少一个区域的区域地面图像。清洁设备可以接收每个图像采集设备采集到的多个区域中的至少一个区域的区域地面图像,得到每个区域的区域地面图像。Optionally, a group of image acquisition devices corresponding to multiple areas may also be determined, and the group of image acquisition devices is used to acquire regional ground images of at least one area among the multiple areas. The cleaning device may receive a regional ground image of at least one of the multiple regions collected by each image acquisition device, and obtain a regional ground image of each region.
对于每个区域的区域地面图像,清洁设备可以对每个区域的区域地面图像进行地面材质识别,得到每个区域的地面材质。对每个区域的地面材质进行识别的方式可以有一种或者多种,可以是基于图像特征进行的,也可以是使用神经网络模型或者其他类型的识别模型进行的,本实施例中对此不作限定。 For the regional ground image of each area, the cleaning equipment can perform ground material recognition on the regional ground image of each area to obtain the ground material of each area. There can be one or more ways to identify the ground material in each area, which can be based on image features, or can be done using a neural network model or other types of recognition models. This is not limited in this embodiment. .
通过本实施例,通过对待清洁区域的区域地面图像进行识别,确定待清洁区域的地面材质,可以提高地面材质识别的准确性。Through this embodiment, by identifying the regional ground image of the area to be cleaned and determining the ground material of the area to be cleaned, the accuracy of ground material identification can be improved.
在一个示例性实施例中,对每个区域的区域地面图像进行地面材质识别,得到每个区域的地面材质,包括:In an exemplary embodiment, ground material recognition is performed on the regional ground images of each area to obtain the ground material of each area, including:
S21,将每个区域的区域地面图像输入目标地面材质识别模型,得到目标地面材质识别模型输出的每个区域的地面材质,其中,地面材质识别模型是使用标注有对应地面材质的一组地面图像样本对初始地面材质识别模型进行训练得到的。S21, input the regional ground image of each area into the target ground material identification model to obtain the ground material of each area output by the target ground material identification model. The ground material identification model uses a set of ground images marked with corresponding ground materials. The samples are obtained by training the initial ground material recognition model.
在本实施例中,可以使用目标地面材质识别模型根据每个区域的区域地面图像识别每个区域的地面材质。清洁设备可以是将每个区域的区域地面图像输入至目标地面材质识别模型,目标地面材质识别模型可以对每个每个区域的区域地面图像进行解析,确定每个每个区域的地面材质并输出,清洁设备可以获取到目标地面材质识别模型输出的每个区域的地面材质。In this embodiment, the target ground material recognition model can be used to identify the ground material of each area according to the regional ground image of each area. The cleaning equipment can input the regional ground image of each area to the target ground material identification model. The target ground material identification model can analyze the regional ground image of each area, determine the ground material of each area, and output , the cleaning equipment can obtain the ground material of each area output by the target ground material recognition model.
这里,目标地面材质识别模型可以是使用标注有对应地面材质的一组地面图像样本对初始地面材质识别模型进行训练得到的。模型训练设备可以获取标注有对应地面材质的一组地面图像样本,将一组地面图像样本作为训练样本对初始地面材质识别模型进行训练,基于每个地面图像样本的标注(标注的对应的地面材质)以及初始地面材质识别模型的模型输出调整初始地面材质识别模型的模型参数,经过多轮迭代,可以得到训练好的目标地面材质识别模型。Here, the target ground material recognition model can be obtained by training the initial ground material recognition model using a set of ground image samples labeled with corresponding ground materials. The model training device can obtain a set of ground image samples marked with corresponding ground materials, and use a set of ground image samples as training samples to train the initial ground material recognition model, based on the annotation of each ground image sample (the marked corresponding ground material ) and the model output of the initial ground material recognition model adjust the model parameters of the initial ground material recognition model. After multiple rounds of iterations, the trained target ground material recognition model can be obtained.
训练好的目标地面材质识别模型可以布设到清洁设备,也可以布设到服务器端,从而可以使用布设的目标地面材质识别模型对区域地面图像进行识别,确定出对应的地面材质。The trained target ground material recognition model can be deployed to the cleaning equipment or to the server, so that the deployed target ground material recognition model can be used to identify the regional ground image and determine the corresponding ground material.
通过本实施例,通过地面材质识别模型对区域地面图像进行识别,得到对应的地面材质,可以提高地面材质识别的便捷性和准确性。Through this embodiment, the regional ground image is recognized through the ground material recognition model and the corresponding ground material is obtained, which can improve the convenience and accuracy of ground material recognition.
在一个示例性实施例中,对每个区域的区域地面图像进行地面材质识别,得到每个区域的地面材质,包括:In an exemplary embodiment, ground material recognition is performed on the regional ground images of each area to obtain the ground material of each area, including:
S31,对于每个区域的区域地面图像执行以下步骤,其中,在执行以下步骤时,每个区域为当前区域,每个区域的区域地面图像为当前地面图像:S31, perform the following steps for the regional ground image of each area, where, when performing the following steps, each area is the current area, and the regional ground image of each area is the current ground image:
对当前地面图像进行特征提取,得到与当前地面图像对应的当前图像 特征;Extract features from the current ground image to obtain the current image corresponding to the current ground image. feature;
根据当前图像特征与一组地面图像中的每个地面图像的图像特征之间的特征相似度,从一组地面图像中选取出目标地面图像;Select the target ground image from the set of ground images based on the feature similarity between the current image feature and the image feature of each ground image in the set of ground images;
将与目标地面图像对应的地面材质,确定为当前区域的地面材质。Determine the ground material corresponding to the target ground image as the ground material of the current area.
在本实施例中,为了提高地面材质识别的准确性,可以预设一组地面图像中的每个地面图像的图像特征,这里的每个地面图像为一个参考地面图像,对应于一种地面材质,不同地面图像对应的地面材质可以是相同的,也可以是不同的。In this embodiment, in order to improve the accuracy of ground material recognition, the image characteristics of each ground image in a set of ground images can be preset. Each ground image here is a reference ground image, corresponding to a ground material. , the ground materials corresponding to different ground images can be the same or different.
对于每个区域,清洁设备可以分别将每个区域作为当前区域,每个区域的区域地面图像为当前地面图像,对当前地面图像执行以下操作,以确定当前区域的地面材质:For each area, the cleaning equipment can regard each area as the current area, the regional ground image of each area as the current ground image, and perform the following operations on the current ground image to determine the ground material of the current area:
步骤一,对当前地面图像进行特征提取,得到与当前地面图像对应的当前图像特征。Step 1: Extract features from the current ground image to obtain current image features corresponding to the current ground image.
清洁设备对当前地面图像进行特征提取,所采用的特征提取算法可以是任意能够进行特征提取的算法,例如,可以对当前地面图像的边缘、角、区域等位置的特征进行提取,得到与当前地面图像对应的当前图像特征,上述当前图像特征可以用于表示与当前地面图像对应的地面材质。The cleaning equipment extracts features from the current ground image. The feature extraction algorithm used can be any algorithm capable of feature extraction. For example, the features of the edges, corners, areas, etc. of the current ground image can be extracted to obtain the features related to the current ground image. The current image feature corresponding to the image. The above current image feature can be used to represent the ground material corresponding to the current ground image.
步骤二,根据当前图像特征与上述每个地面图像的图像特征之间的特征相似度,从一组地面图像中选取出目标地面图像。Step 2: Select the target ground image from a set of ground images based on the feature similarity between the current image features and the image features of each of the above ground images.
清洁设备可以根据当前图像特征与上述每个地面图像的图像特征之间的特征相似度,从一组地面图像中选取出与当前地面图像匹配的地面图像,即,目标地面图像。选取目标地面图像的方式可以是:选取特征相似度最高的地面图像作为目标地面图像,也可以是选取特征相似度最高、且相似度大于或者等于相似度阈值的地面图像作为目标地面图像。对于最高特征相似度小于相似度阈值的场景,可以通过清洁设备发出提示信息,以提示地面材质识别异常。The cleaning device can select a ground image that matches the current ground image, that is, the target ground image, from a set of ground images based on the feature similarity between the current image features and the image features of each of the above ground images. The method of selecting the target ground image may be: select the ground image with the highest feature similarity as the target ground image, or select the ground image with the highest feature similarity and the similarity is greater than or equal to the similarity threshold as the target ground image. For scenes where the highest feature similarity is less than the similarity threshold, a prompt message can be sent through the cleaning equipment to prompt abnormal ground material recognition.
步骤三,将与目标地面图像对应的地面材质,确定为当前区域的地面材质。Step three: determine the ground material corresponding to the target ground image as the ground material of the current area.
在确定出目标地面图像后,清洁设备可以将与目标地面图像对应的地面材质,确定为当前区域的地面材质,从而得到当前区域的地面材质。在 对每个区域的区域地面图像均执行上述操作之后,可以得到每个区域的地面材质。After determining the target ground image, the cleaning device can determine the ground material corresponding to the target ground image as the ground material of the current area, thereby obtaining the ground material of the current area. exist After performing the above operations on the regional ground image of each area, the ground material of each area can be obtained.
通过本实施例,基于区域地面图像的图像特征与预设地面图像的图像特征之间的相似度,确定每个区域的地面材质,可以提高了区域的地面材质识别的便捷性和准确性。Through this embodiment, the ground material of each region is determined based on the similarity between the image features of the regional ground image and the image features of the preset ground image, which can improve the convenience and accuracy of identifying the ground material of the region.
在一个示例性实施例中,根据每个区域的地面材质,确定多个区域的清洁顺序,包括:In an exemplary embodiment, the cleaning order of multiple areas is determined according to the floor material of each area, including:
S41,根据每个区域的地面材质对多个区域执行分组操作,得到多组区域,其中,多组区域中的每组区域包含多个区域中的至少一个区域,每组区域对应于互不相同的一种地面材质;S41, perform a grouping operation on multiple areas according to the ground material of each area to obtain multiple groups of areas, wherein each group of areas in the multiple groups of areas contains at least one area among the multiple areas, and each group of areas corresponds to different A ground material;
S42,根据每组区域对应的地面材质的清洁优先级,确定多个区域的清洁顺序。S42: Determine the cleaning order of multiple areas according to the cleaning priority of the floor material corresponding to each group of areas.
在本实施例中,为了提高区域排序的效率,清洁设备可以首先根据每个区域的地面材质对多个区域执行分组操作,将地面材质相同的区域划分到一组,得到多组区域。多组区域中的每组区域包含多个区域中的至少一个区域,每组区域对应于一种地面材质,不同组区域之间对应的地面材质互不相同。In this embodiment, in order to improve the efficiency of area sorting, the cleaning equipment can first perform a grouping operation on multiple areas according to the ground material of each area, and divide areas with the same ground material into one group to obtain multiple groups of areas. Each group of areas in the multiple groups of areas includes at least one area among the multiple areas. Each group of areas corresponds to a ground material, and the corresponding ground materials between different groups of areas are different from each other.
清洁设备可以保存有预设的清洁优先级信息,清洁优先级信息可以用于指示预先设定的清洁每种地面材质的优先级,即,每种地面材质的清洁优先级。在得到多组区域后,清洁设备可以根据每组区域对应的地面材质的清洁优先级,确定多个区域的清洁顺序。当一组区域对应的地面材质的清洁优先级越高时,该组区域的清洁顺序越靠前,当一组区域对应的地面材质的清洁优先级越低时,该组区域的清洁顺序越靠后。The cleaning equipment can store preset cleaning priority information, and the cleaning priority information can be used to indicate the preset priority of cleaning each floor material, that is, the cleaning priority of each floor material. After obtaining multiple groups of areas, the cleaning equipment can determine the cleaning order of the multiple areas based on the cleaning priority of the floor material corresponding to each group of areas. When the cleaning priority of the floor material corresponding to a group of areas is higher, the cleaning order of the group of areas is higher. When the cleaning priority of the floor material corresponding to a group of areas is lower, the cleaning order of the group of areas is higher. back.
可选地,在清洁设备的显示屏上、或者与清洁设备关联的智能设备(例如,智能手机)的显示屏上可以显示有地面材质的清洁优先级的优先级设置界面,在优先级设置界面中可以包含一组候选地面材质。用户可以设置一组候选地面材质中的每种候选地面材质的清洁优先级。上述设置操作可以包括但不限于以下至少之一:点击操作,双击操作,长按操作,滑动操作,本实施例中对设置操作不作限定。Optionally, a priority setting interface for the cleaning priority of the floor material may be displayed on the display screen of the cleaning device or on the display screen of a smart device (for example, a smartphone) associated with the cleaning device. In the priority setting interface can contain a set of candidate ground materials. The user can set the cleaning priority for each candidate floor material in a set of candidate floor materials. The above setting operation may include but is not limited to at least one of the following: a click operation, a double-click operation, a long press operation, and a sliding operation. In this embodiment, the setting operation is not limited.
对于在清洁设备的显示屏上显示优先级设置界面的场景,清洁设备可 以响应于检测到的上述设置操作,确定每种候选地面材质的清洁优先级。对于在智能设备的显示屏上显示优先级设置界面的场景,智能设备可以响应于检测到的上述设置操作,生成优先级设置指令,优先级设置指令用于指示每种候选地面材质的清洁优先级,并将生成的优先级设置指令通过服务器发送给清洁设备。清洁设备可以接收优先级设置指令,并根据上述优先级设置指令,确定每种候选地面材质的清洁优先级。每组区域对应的地面材质属于一种候选地面材质。For scenarios where the priority setting interface is displayed on the display of the cleaning device, the cleaning device can Determine a cleaning priority for each candidate floor material in response to detecting the above setting operation. For a scenario where the priority setting interface is displayed on the display screen of the smart device, the smart device can generate a priority setting instruction in response to the detected setting operation. The priority setting instruction is used to indicate the cleaning priority of each candidate floor material. , and sends the generated priority setting instructions to the cleaning equipment through the server. The cleaning equipment can receive the priority setting instruction and determine the cleaning priority of each candidate floor material according to the above priority setting instruction. The ground material corresponding to each group of areas belongs to a candidate ground material.
可选地,如果一组区域包含多个区域中的至少两个区域,可以采用多种方式确定同一组区域内的不同区域的清洁顺序,例如,可以随机确定同一组区域内的不同区域的清洁顺序,本实施例中对此不作限定。Optionally, if a group of areas contains at least two areas among a plurality of areas, multiple ways can be used to determine the cleaning order of different areas within the same group of areas. For example, the cleaning order of different areas within the same group of areas can be determined randomly. The order is not limited in this embodiment.
通过本实施例,通过对区域进行分组,并基于不同组区域对应的地面材质的清洁优先级确定多个区域的清洁顺序,可以提高区域清洁顺序确定的高效性和便捷性,提升用户的体验。Through this embodiment, by grouping areas and determining the cleaning order of multiple areas based on the cleaning priorities of the floor materials corresponding to different groups of areas, the efficiency and convenience of determining the area cleaning order can be improved, and the user experience can be improved.
在一个示例性实施例中,根据每组区域对应的地面材质的清洁优先级,确定多个区域的清洁顺序,包括:In an exemplary embodiment, the cleaning order of multiple areas is determined according to the cleaning priority of the floor material corresponding to each group of areas, including:
S51,按照每组区域对应的地面材质的清洁优先级对多组区域进行排序,得到多组区域的清洁顺序;S51, sort multiple groups of areas according to the cleaning priority of the floor material corresponding to each group of areas, and obtain the cleaning order of the multiple groups of areas;
S52,对于多组区域中的每组区域执行以下步骤,得到多个区域的清洁顺序,其中,在执行以下步骤时,每组区域为当前组区域:S52, perform the following steps for each group of areas in the multiple groups of areas to obtain the cleaning order of the multiple areas, where, when performing the following steps, each group of areas is the current group area:
在当前组区域中包含至少两个目标区域的情况下,根据至少两个目标区域中的每个目标区域的区域位置,确定至少两个目标区域的清洁顺序。In the case where the current group of areas contains at least two target areas, the cleaning sequence of the at least two target areas is determined based on the area position of each of the at least two target areas.
在本实施例中,为了提高区域清洁顺序确定的合理性,同时避免清洁色设备跨区域远距离移动导致的资源浪费、区域污染等情况,清洁设备可以首先按照每组区域对应的地面材质的清洁优先级对多组区域进行排序,得到多组区域的清洁顺序。In this embodiment, in order to improve the rationality of determining the order of regional cleaning and avoid resource waste and regional pollution caused by long-distance movement of cleaning equipment across regions, the cleaning equipment can first clean the floor materials corresponding to each group of regions. Priority sorts multiple groups of areas to obtain the cleaning order of multiple groups of areas.
在得到多组区域的清洁顺序之后,清洁设备可以按照对应的清洁优先级的顺序,依次将多组区域中的每组区域作为当前组区域执行以下步骤,以确定多个区域的清洁顺序;After obtaining the cleaning order of multiple groups of areas, the cleaning equipment can sequentially use each group of areas in the multiple groups of areas as the current group of areas to perform the following steps in accordance with the order of the corresponding cleaning priorities to determine the cleaning order of the multiple areas;
在当前组区域中包含一个区域的情况下,清洁设备可以直接跳过;If the current group area contains an area, the cleaning equipment can be skipped directly;
在当前组区域中包含至少两个目标区域的情况下,清洁设备可以根据 至少两个目标区域中的每个目标区域的区域位置,确定至少两个目标区域的清洁顺序。In the case where the current group of areas contains at least two target areas, the cleaning device can A zone position of each of the at least two target zones determines a cleaning sequence of the at least two target zones.
清洁设备可以获取到至少两个目标区域的区域位置,并根据每个目标区域的区域位置、以及上一个清洁优先级中对应的一组区域中清洁的最后一个区域的区域位置,确定至少两个目标区域的清洁顺序,例如,将距离最后一个区域的区域位置最近的目标区域,作为当前组区域中第一个清洁的目标区域;根据除了第一个清洁的目标区域以外的其他目标区域的区域位置,确定其他目标区域的清洁顺序。确定其他目标区域的清洁顺序可以是依次选取与已确定清洁顺序的上一个目标区域距离最近的目标区域作为清洁的下一个目标区域。The cleaning equipment can obtain the regional positions of at least two target areas, and determine at least two based on the regional position of each target area and the regional position of the last area to be cleaned in a group of areas corresponding to the previous cleaning priority. The cleaning order of the target area, for example, the target area closest to the area position of the last area is used as the first cleaned target area in the current group area; according to the area of other target areas except the first cleaned target area location to determine the order in which other target areas should be cleaned. Determining the cleaning order of other target areas may be to sequentially select the target area closest to the previous target area in the determined cleaning order as the next target area for cleaning.
可选地,除了每个目标区域的区域位置、以及上一个清洁优先级中对应的一组区域中清洁的最后一个区域的区域位置以外,还可以考虑下一个清洁优先级中对应的一组区域中的每个区域的区域位置,确定至少两个目标区域的清洁顺序。Optionally, in addition to the area position of each target area and the area position of the last area cleaned in the corresponding group of areas in the previous cleaning priority, a corresponding group of areas in the next cleaning priority may also be considered Determine the cleaning sequence of at least two target areas based on the area location of each area.
可选地,也可以预先规划至少两个目标区域的多种候选清洁顺序;根据每个目标区域的区域位置、以及上一个清洁优先级中对应的一组区域中清洁的最后一个区域的区域位置,依次确定按照每种候选清洁顺序进行清洁,清洁设备所需移动的距离,确定与每种候选清洁顺序对应的清洁距离,并选取出对应的清洁距离最短的候选清洁顺序,作为至少两个目标区域的清洁顺序。Optionally, multiple candidate cleaning sequences for at least two target areas can also be planned in advance; based on the area position of each target area and the area position of the last area to be cleaned in the corresponding group of areas in the previous cleaning priority. , determine in turn the distance that the cleaning equipment needs to move for cleaning according to each candidate cleaning sequence, determine the cleaning distance corresponding to each candidate cleaning sequence, and select the candidate cleaning sequence with the shortest corresponding cleaning distance as at least two targets The order in which areas should be cleaned.
通过本实施例,在每组区域包含至少两个区域时,依据区域位置区域的清洁顺序确定至少两个区域的清洁顺序,可以提高区域清洁的效率。Through this embodiment, when each group of areas includes at least two areas, the cleaning order of the at least two areas is determined based on the cleaning order of the area positions, which can improve the efficiency of area cleaning.
在一个示例性实施例中,控制清洁设备按照多个区域的清洁顺序依次对每个区域进行区域清洁,包括:In an exemplary embodiment, the cleaning equipment is controlled to perform area cleaning on each area in sequence according to the cleaning order of multiple areas, including:
S61,根据多个区域的清洁顺序,确定多个区域中当前的待清洁区域;S61, determine the current areas to be cleaned in the multiple areas according to the cleaning order of the multiple areas;
S62,根据待清洁区域的地面材质,确定清洁设备清洁待清洁区域所采用的目标清洁模式;S62: Determine the target cleaning mode used by the cleaning equipment to clean the area to be cleaned according to the floor material of the area to be cleaned;
S63,控制清洁设备采用目标清洁模式对待清洁区域进行区域清洁。S63, control the cleaning equipment to use the target cleaning mode to perform regional cleaning of the area to be cleaned.
在本实施例中,为了提高清洁设备清洁的效率,清洁设备可以为不同的地面材质配置对应的清洁模式。清洁设备可以根据多个区域的清洁顺序, 确定多个区域中当前的待清洁区域,并根据当前的待清洁区域的地面材质,确定清洁设备清洁该待清洁区域所采用的清洁模式,即,目标清洁模式。In this embodiment, in order to improve the cleaning efficiency of the cleaning equipment, the cleaning equipment can configure corresponding cleaning modes for different floor materials. Cleaning equipment can be used to clean multiple areas in sequence, The current area to be cleaned among the multiple areas is determined, and based on the floor material of the current area to be cleaned, a cleaning mode used by the cleaning equipment to clean the area to be cleaned is determined, that is, the target cleaning mode.
在确定出清洁待清洁区域所采用的目标清洁模式之后,清洁设备可以采用目标清洁模式对待清洁区域进行区域清洁。对于同一组内的其他区域,可以同样采用目标清洁模式进行区域清洁。在清洁其他地面材质的区域时,可以采用同样的方式确定清洁设备所采用的清洁模式,并采用确定的清洁模式进行区域清洁,直到清洁完多个区域。After determining the target cleaning mode used to clean the area to be cleaned, the cleaning equipment can use the target cleaning mode to perform area cleaning of the area to be cleaned. For other areas in the same group, the target cleaning mode can also be used for area cleaning. When cleaning areas with other floor materials, you can use the same method to determine the cleaning mode used by the cleaning equipment, and use the determined cleaning mode to clean the area until multiple areas are cleaned.
通过本实施例,通过控制清洁设备采用与待清洁区域对应的清洁模式对待清洁区域进行清洁,可以提高区域清洁的效率,提升用户的使用体验。Through this embodiment, by controlling the cleaning equipment to use a cleaning mode corresponding to the area to be cleaned to clean the area to be cleaned, the efficiency of area cleaning can be improved and the user experience can be improved.
下面结合可选示例对本申请实施例中的区域清洁的控制方法进行解释说明。在本可选示例中,清洁设备为扫地机器人。The method for controlling area cleaning in the embodiment of the present application will be explained below in combination with optional examples. In this optional example, the cleaning device is a sweeping robot.
如图3所示,图3是根据本申请实施例的另一种可选的区域清洁的控制方法的流程示意图,该方法的流程可以包括以下步骤:As shown in Figure 3, Figure 3 is a schematic flowchart of another optional area cleaning control method according to an embodiment of the present application. The process of this method may include the following steps:
步骤S302,通过扫地机器人上的摄像头采集地面图像信息,通过AI(artificial intelligence,人工智能)对采集到的地面图像信息进行识别,确定出地面材质。Step S302, collect ground image information through the camera on the sweeping robot, identify the collected ground image information through AI (artificial intelligence, artificial intelligence), and determine the ground material.
步骤S304,根据识别的地面材质,决定清扫的先后顺序,比如,先清扫大理石材质的地面,后清扫瓷砖材质的地面。Step S304: Determine the order of cleaning based on the identified floor material. For example, clean the floor made of marble first, and then clean the floor made of ceramic tiles.
步骤S306,按照决定的先后顺序,依次清扫各个区域。Step S306: Clean each area sequentially according to the determined order.
通过本可选示例,根据识别的地面材质,决定区域清扫的先后顺序,可以提高区域清洁的效率。Through this optional example, the order of area cleaning is determined based on the identified floor material, which can improve the efficiency of area cleaning.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the sake of simple description, the foregoing method embodiments are expressed as a series of action combinations. However, those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with this application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily necessary for this application.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软 件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM(Read-Only Memory,只读存储器)/RAM(Random Access Memory,随机存取存储器)、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is Better implementation. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology can be implemented as software It is reflected in the form of a software product. The computer software product is stored in a storage medium (such as ROM (Read-Only Memory)/RAM (Random Access Memory), magnetic disk, optical disk), including Several instructions are used to cause a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of this application.
根据本申请实施例的另一个方面,还提供了一种用于实施上述区域清洁的控制方法的区域清洁的控制装置。图4是根据本申请实施例的一种可选的区域清洁的控制装置的结构框图,如图4所示,该装置可以包括:According to another aspect of the embodiment of the present application, an area cleaning control device for implementing the above area cleaning control method is also provided. Figure 4 is a structural block diagram of an optional area cleaning control device according to an embodiment of the present application. As shown in Figure 4, the device may include:
第一确定单元402,用于确定清洁设备的多个区域中的每个区域的地面材质;The first determining unit 402 is used to determine the floor material of each area in multiple areas of the cleaning equipment;
第二确定单元404,与第一确定单元402相连,用于根据每个区域的地面材质,确定多个区域的清洁顺序,其中,多个区域的清洁顺序为清洁设备清洁每个区域的先后顺序;The second determination unit 404 is connected to the first determination unit 402 and is used to determine the cleaning order of multiple areas according to the floor material of each area, where the cleaning order of multiple areas is the order in which the cleaning equipment cleans each area. ;
控制单元406,与第二确定单元404相连,用于控制清洁设备按照多个区域的清洁顺序依次对每个区域进行区域清洁。The control unit 406 is connected to the second determination unit 404 and is used to control the cleaning equipment to sequentially clean each area according to the cleaning sequence of multiple areas.
需要说明的是,该实施例中的第一确定单元402可以用于执行上述步骤S202,该实施例中的第二确定单元404可以用于执行上述步骤S204,该实施例中的控制单元406可以用于执行上述步骤S206。It should be noted that the first determination unit 402 in this embodiment can be used to perform the above step S202, the second determination unit 404 in this embodiment can be used to perform the above step S204, and the control unit 406 in this embodiment can Used to perform the above step S206.
通过上述模块,确定清洁设备的多个区域中的每个区域的地面材质;根据每个区域的地面材质,确定多个区域的清洁顺序,其中,多个区域的清洁顺序为清洁设备清洁每个区域的先后顺序;控制清洁设备按照多个区域的清洁顺序依次对每个区域进行区域清洁,解决了相关技术中的区域清洁的控制方法存在由于不同区域的清洁过程不同导致的区域清洁的效率低的问题,提高了区域清洁的效率。Through the above module, the floor material of each area of the cleaning equipment is determined; according to the ground material of each area, the cleaning order of the multiple areas is determined, where the cleaning order of the multiple areas is that the cleaning equipment cleans each area The order of areas; the cleaning equipment is controlled to perform area cleaning on each area in sequence according to the cleaning order of multiple areas, which solves the problem of low efficiency of area cleaning due to different cleaning processes in different areas in the area cleaning control method in related technologies. problems and improve the efficiency of area cleaning.
在一个示例性实施例中,第一确定单元包括:In an exemplary embodiment, the first determining unit includes:
获取模块,用于获取每个区域的区域地面图像,其中,每个区域的区域地面图像为通过图像采集部件对每个区域进行图像采集得到的图像;The acquisition module is used to obtain the regional ground image of each area, where the regional ground image of each area is an image obtained by collecting images of each area through the image acquisition component;
识别模块,用于对每个区域的区域地面图像进行地面材质识别,得到每个区域的地面材质。 The identification module is used to identify the ground material of the regional ground image in each area to obtain the ground material of each area.
在一个示例性实施例中,识别模块包括:In an exemplary embodiment, the identification module includes:
输入子模块,也会有将每个区域的区域地面图像输入目标地面材质识别模型,得到目标地面材质识别模型输出的每个区域的地面材质,其中,地面材质识别模型是使用标注有对应地面材质的一组地面图像样本对初始地面材质识别模型进行训练得到的。The input sub-module will also input the regional ground image of each area into the target ground material identification model to obtain the ground material of each area output by the target ground material identification model. Among them, the ground material identification model uses the corresponding ground material labeled It is obtained by training the initial ground material recognition model with a set of ground image samples.
在一个示例性实施例中,识别模块包括:In an exemplary embodiment, the identification module includes:
第一执行子模块,用于对于每个区域的区域地面图像执行以下步骤,其中,在执行以下步骤时,每个区域为当前区域,每个区域的区域地面图像为当前地面图像:The first execution sub-module is used to perform the following steps for the regional ground image of each area, where, when performing the following steps, each area is the current area, and the regional ground image of each area is the current ground image:
对当前地面图像进行特征提取,得到与当前地面图像对应的当前图像特征;Perform feature extraction on the current ground image to obtain current image features corresponding to the current ground image;
根据当前图像特征与一组地面图像中的每个地面图像的图像特征之间的特征相似度,从一组地面图像中选取出目标地面图像;Select the target ground image from the set of ground images based on the feature similarity between the current image feature and the image feature of each ground image in the set of ground images;
将与目标地面图像对应的地面材质,确定为当前区域的地面材质。Determine the ground material corresponding to the target ground image as the ground material of the current area.
在一个示例性实施例中,识别模块包括:In an exemplary embodiment, the identification module includes:
第一执行子模块,用于根据每个区域的地面材质对多个区域执行分组操作,得到多组区域,其中,多组区域中的每组区域包含多个区域中的至少一个区域,每组区域对应于互不相同的一种地面材质;The first execution sub-module is used to perform a grouping operation on multiple areas according to the ground material of each area to obtain multiple groups of areas, where each group of areas in the multiple groups of areas contains at least one area among the multiple areas, and each group Areas correspond to different ground materials;
第一确定模块,用于根据每组区域对应的地面材质的清洁优先级,确定多个区域的清洁顺序。The first determination module is used to determine the cleaning order of multiple areas according to the cleaning priority of the floor material corresponding to each group of areas.
在一个示例性实施例中,第一确定模块包括:In an exemplary embodiment, the first determining module includes:
排序子模块,用于按照每组区域对应的地面材质的清洁优先级对多组区域进行排序,得到多组区域的清洁顺序;The sorting sub-module is used to sort multiple groups of areas according to the cleaning priority of the floor material corresponding to each group of areas, and obtain the cleaning order of multiple groups of areas;
第二执行子模块,用于对于多组区域中的每组区域执行以下步骤,得到多个区域的清洁顺序,其中,在执行以下步骤时,每组区域为当前组区域:The second execution sub-module is used to perform the following steps for each group of areas in the multiple groups of areas to obtain the cleaning order of the multiple areas, wherein each group of areas is the current group of areas when performing the following steps:
在当前组区域中包含至少两个目标区域的情况下,根据至少两个目标区域中的每个目标区域的区域位置,确定至少两个目标区域的清洁顺序。In the case where the current group of areas contains at least two target areas, the cleaning sequence of the at least two target areas is determined based on the area position of each of the at least two target areas.
在一个示例性实施例中,控制单元包括:In an exemplary embodiment, the control unit includes:
第二确定模块,用于根据多个区域的清洁顺序,确定多个区域中当前 的待清洁区域;The second determination module is used to determine the current cleaning sequence in multiple areas according to the cleaning order of multiple areas. the area to be cleaned;
第三确定模块,用于根据待清洁区域的地面材质,确定清洁设备清洁待清洁区域所采用的目标清洁模式;The third determination module is used to determine the target cleaning mode used by the cleaning equipment to clean the area to be cleaned based on the floor material of the area to be cleaned;
控制模块,用于控制清洁设备采用目标清洁模式对待清洁区域进行区域清洁。The control module is used to control the cleaning equipment to use the target cleaning mode to perform regional cleaning of the area to be cleaned.
此处需要说明的是,上述模块与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例所公开的内容。需要说明的是,上述模块作为装置的一部分可以运行在如图1所示的硬件环境中,可以通过软件实现,也可以通过硬件实现,其中,硬件环境包括网络环境。It should be noted here 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 module, as part of the device, can run in the hardware environment as shown in Figure 1, and can be implemented by software or hardware, where the hardware environment includes a network environment.
根据本申请实施例的又一个方面,还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以用于执行本申请实施例中上述任一项区域清洁的控制方法的程序代码。According to yet another aspect of the embodiment of the present application, a storage medium is also provided. Optionally, in this embodiment, the above-mentioned storage medium can be used to execute the program code of any of the above-mentioned area cleaning control methods in the embodiment of the present application.
可选地,在本实施例中,上述存储介质可以位于上述实施例所示的网络中的多个网络设备中的至少一个网络设备上。Optionally, in this embodiment, the above storage medium may be located on at least one network device among multiple network devices in the network shown in the above embodiment.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:Optionally, in this embodiment, the storage medium is configured to store program codes for performing the following steps:
S1,确定清洁设备的多个区域中的每个区域的地面材质;S1, determine the floor material of each of the multiple areas of the cleaning equipment;
S2,根据每个区域的地面材质,确定多个区域的清洁顺序,其中,多个区域的清洁顺序为清洁设备清洁每个区域的先后顺序;S2, determine the cleaning order of multiple areas according to the ground material of each area, where the cleaning order of multiple areas is the order in which the cleaning equipment cleans each area;
S3,控制清洁设备按照多个区域的清洁顺序依次对每个区域进行区域清洁。S3: Control the cleaning equipment to perform regional cleaning on each area in sequence according to the cleaning order of multiple areas.
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例中对此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the above embodiments, which will not be described again in this embodiment.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、ROM、RAM、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: U disk, ROM, RAM, mobile hard disk, magnetic disk or optical disk and other various media that can store program codes.
根据本申请实施例的又一个方面,还提供了一种用于实施上述区域清洁的控制方法的电子装置,该电子装置可以是服务器、终端、或者其组合。According to yet another aspect of the embodiment of the present application, an electronic device for implementing the above control method for area cleaning is also provided. The electronic device may be a server, a terminal, or a combination thereof.
图5是根据本申请实施例的一种可选的电子装置的结构框图,如图5所 示,包括处理器502、通信接口504、存储器506和通信总线508,其中,处理器502、通信接口504和存储器506通过通信总线508完成相互间的通信,其中,Figure 5 is a structural block diagram of an optional electronic device according to an embodiment of the present application. As shown in Figure 5 shown, including a processor 502, a communication interface 504, a memory 506 and a communication bus 508, wherein the processor 502, the communication interface 504 and the memory 506 complete communication with each other through the communication bus 508, where,
存储器506,用于存储计算机程序;Memory 506 for storing computer programs;
处理器502,用于执行存储器506上所存放的计算机程序时,实现如下步骤:The processor 502 is used to implement the following steps when executing the computer program stored on the memory 506:
S1,确定清洁设备的多个区域中的每个区域的地面材质;S1, determine the floor material of each of the multiple areas of the cleaning equipment;
S2,根据每个区域的地面材质,确定多个区域的清洁顺序,其中,多个区域的清洁顺序为清洁设备清洁每个区域的先后顺序;S2, determine the cleaning order of multiple areas according to the ground material of each area, where the cleaning order of multiple areas is the order in which the cleaning equipment cleans each area;
S3,控制清洁设备按照多个区域的清洁顺序依次对每个区域进行区域清洁。S3: Control the cleaning equipment to perform regional cleaning on each area in sequence according to the cleaning order of multiple areas.
可选地,在本实施例中,通信总线可以是PCI(Peripheral Component Interconnect,外设部件互连标准)总线、或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。通信接口用于上述电子装置与其他设备之间的通信。Optionally, in this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect, Peripheral Component Interconnect Standard) bus, or an EISA (Extended Industry Standard Architecture, Extended Industry Standard Architecture) bus, etc. The communication bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 5, but it does not mean that there is only one bus or one type of bus. The communication interface is used for communication between the above-mentioned electronic device and other equipment.
上述的存储器可以包括RAM,也可以包括非易失性存储器(non-volatile memory),例如,至少一个磁盘存储器。可选地,存储器还可以是至少一个位于远离前述处理器的存储装置。The above-mentioned memory may include RAM or 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 remotely from the aforementioned processor.
作为一种示例,上述存储器506中可以但不限于包括上述设备的控制装置中的第一确定单元402、第二确定单元404、以及控制单元406。此外,还可以包括但不限于上述设备的控制装置中的其他模块单元,本示例中不再赘述。As an example, the above-mentioned memory 506 may include, but is not limited to, the first determination unit 402, the second determination unit 404, and the control unit 406 in the control device of the above-mentioned device. In addition, it may also include but is not limited to other modular units in the control device of the above equipment, which will not be described again in this example.
上述处理器可以是通用处理器,可以包含但不限于:CPU(Central Processing Unit,中央处理器)、NP(Network Processor,网络处理器)等;还可以是DSP(Digital Signal Processing,数字信号处理器)、ASIC(Application Specific Integrated Circuit,专用集成电路)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。 The above-mentioned processor can be a general-purpose processor, which can include but is not limited to: CPU (Central Processing Unit, central processing unit), NP (Network Processor, network processor), etc.; it can also be a DSP (Digital Signal Processing, digital signal processor) ), ASIC (Application Specific Integrated Circuit, application specific integrated circuit), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the above embodiments, which will not be described again in this embodiment.
本领域普通技术人员可以理解,图5所示的结构仅为示意,实施上述区域清洁的控制方法的设备可以是终端设备,该终端设备可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图5其并不对上述电子装置的结构造成限定。例如,电子装置还可包括比图5中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图5所示的不同的配置。Those of ordinary skill in the art can understand that the structure shown in Figure 5 is only illustrative. The device that implements the above-mentioned area cleaning control method can be a terminal device. The terminal device can be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet Computers, handheld computers, and mobile Internet devices (Mobile Internet Devices, MID), PAD and other terminal equipment. FIG. 5 does not limit the structure of the above-mentioned electronic device. For example, the electronic device may also include more or fewer components (such as network interfaces, display devices, etc.) than shown in FIG. 5 , or have a different configuration than that shown in FIG. 5 .
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、ROM、RAM、磁盘或光盘等。Those 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. The program can be stored in a computer-readable storage medium, and the storage medium can Including: flash disk, ROM, RAM, magnetic disk or optical disk, etc.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above serial numbers of the embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。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 is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, It includes several instructions to cause one or more computer devices (which can be personal computers, servers or network devices, etc.) to execute all or part of the steps of the methods described in various embodiments of this application.
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present application, each embodiment is described with its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or may be Integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the units or modules may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例中所提供的方案的目的。The units described as separate components may or may not be physically separate, A component shown as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed across 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.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units.
以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。 The above are only the preferred embodiments of the present application. It should be pointed out that for those of ordinary skill in the art, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications can also be made. should be regarded as the scope of protection of this application.

Claims (14)

  1. 一种区域清洁的控制方法,其特征在于,包括:A method for controlling area cleaning, which is characterized by including:
    确定清洁设备的多个区域中的每个区域的地面材质;Determine the floor material for each of the multiple areas of the cleaning equipment;
    根据所述每个区域的地面材质,确定所述多个区域的清洁顺序,其中,所述多个区域的清洁顺序为所述清洁设备清洁所述每个区域的先后顺序;Determine the cleaning order of the multiple areas according to the floor material of each area, wherein the cleaning order of the multiple areas is the order in which the cleaning equipment cleans each area;
    控制所述清洁设备按照所述多个区域的清洁顺序依次对所述每个区域进行区域清洁。The cleaning equipment is controlled to perform area cleaning on each area in sequence according to the cleaning order of the multiple areas.
  2. 根据权利要求1所述的方法,其特征在于,所述确定清洁设备待清洁的多个区域中的每个区域的地面材质,包括:The method of claim 1, wherein determining the floor material of each of the multiple areas to be cleaned by the cleaning equipment includes:
    获取所述每个区域的区域地面图像,其中,所述每个区域的区域地面图像为通过图像采集部件对所述每个区域进行图像采集得到的图像;Obtain the regional ground image of each region, wherein the regional ground image of each region is an image obtained by collecting images of each region through an image acquisition component;
    对所述每个区域的区域地面图像进行地面材质识别,得到所述每个区域的地面材质。Perform ground material identification on the regional ground image of each area to obtain the ground material of each area.
  3. 根据权利要求2所述的方法,其特征在于,所述对所述每个区域的区域地面图像进行地面材质识别,得到所述每个区域的地面材质,包括:The method according to claim 2, characterized in that, performing ground material identification on the regional ground image of each area to obtain the ground material of each area includes:
    将所述每个区域的区域地面图像输入目标地面材质识别模型,得到所述目标地面材质识别模型输出的所述每个区域的地面材质,其中,所述地面材质识别模型是使用标注有对应地面材质的一组地面图像样本对初始地面材质识别模型进行训练得到的。Input the regional ground image of each area into the target ground material identification model to obtain the ground material of each area output by the target ground material identification model, wherein the ground material identification model is constructed using the corresponding ground surface marked with A set of ground image samples of the material are obtained by training the initial ground material recognition model.
  4. 根据权利要求2所述的方法,其特征在于,所述对所述每个区域的区域地面图像进行地面材质识别,得到所述每个区域的地面材质,包括:The method according to claim 2, characterized in that, performing ground material identification on the regional ground image of each area to obtain the ground material of each area includes:
    对于所述每个区域的区域地面图像执行以下步骤,其中,在执行以下步骤时,所述每个区域为当前区域,所述每个区域的区域地面图像为当前地面图像:The following steps are performed for the regional ground image of each region, wherein when performing the following steps, each region is the current region, and the regional ground image of each region is the current ground image:
    对所述当前地面图像进行特征提取,得到与所述当前地面图像对应的当前图像特征;Perform feature extraction on the current ground image to obtain current image features corresponding to the current ground image;
    根据所述当前图像特征与一组地面图像中的每个地面图像的图像特征之间的特征相似度,从所述一组地面图像中选取出目标地面图像;Select a target ground image from the set of ground images based on the feature similarity between the current image feature and the image feature of each ground image in a set of ground images;
    将与所述目标地面图像对应的地面材质,确定为所述当前区域的地面材质。 The ground material corresponding to the target ground image is determined as the ground material of the current area.
  5. 根据权利要求1至4任一所述的方法,其特征在于,所述根据所述每个区域的地面材质,确定所述多个区域的清洁顺序,包括:The method according to any one of claims 1 to 4, characterized in that determining the cleaning sequence of the multiple areas according to the ground material of each area includes:
    根据所述每个区域的地面材质对所述多个区域执行分组操作,得到多组区域,其中,所述多组区域中的每组区域包含所述多个区域中的至少一个区域,所述每组区域对应于互不相同的一种地面材质;Perform a grouping operation on the multiple areas according to the ground material of each area to obtain multiple groups of areas, wherein each group of areas in the multiple groups of areas includes at least one area among the multiple areas, and the Each group of areas corresponds to a different ground material;
    根据所述每组区域对应的地面材质的清洁优先级,确定所述多个区域的清洁顺序。The cleaning order of the multiple areas is determined according to the cleaning priority of the floor material corresponding to each group of areas.
  6. 根据权利要求5所述的方法,其特征在于,所述清洁设备的显示屏上显示与地面材质清洁优先级的优先级设置界面,所述优先级设置界面中包含一组候选地面材质,所述每组区域对应的地面材质属于一种候选地面材质,所述根据所述每组区域对应的地面材质的清洁优先级,确定所述多个区域的清洁顺序,包括:The method according to claim 5, characterized in that the display screen of the cleaning equipment displays a priority setting interface related to the cleaning priority of ground materials, and the priority setting interface contains a group of candidate ground materials, and the The ground material corresponding to each group of areas belongs to a candidate ground material. Determining the cleaning order of the multiple areas according to the cleaning priority of the ground material corresponding to each group of areas includes:
    所述清洁设备响应于检测到每种所述候选地面材质的清洁优先级操作,确定每种所述候选地面材质的清洁优先级;The cleaning device determines the cleaning priority of each candidate floor material in response to detecting the cleaning priority operation of each candidate floor material;
    所述清洁设备将每种所述候选地面材质的清洁优先级确定为所述多个区域的清洁顺序。The cleaning equipment determines the cleaning priority of each candidate floor material as the cleaning order of the multiple areas.
  7. 根据权利要求5所述的方法,其特征在于,与所述清洁设备关联的智能设备的显示屏上显示与地面材质清洁优先级的优先级设置界面,所述优先级设置界面中包含一组候选地面材质,所述每组区域对应的地面材质属于一种候选地面材质,所述根据所述每组区域对应的地面材质的清洁优先级,确定所述多个区域的清洁顺序,包括:The method according to claim 5, characterized in that a priority setting interface related to the floor material cleaning priority is displayed on the display screen of the smart device associated with the cleaning equipment, and the priority setting interface includes a group of candidates. Ground material, the ground material corresponding to each group of areas belongs to a candidate ground material, and the cleaning order of the multiple areas is determined according to the cleaning priority of the ground material corresponding to each group of areas, including:
    所述智能设备响应于检测到的每种所述候选地面材质的清洁优先级操作,生成优先级设置指令;其中,所述优先级设置指令用于指示每种所述候选地面材质的清洁优先级;The smart device generates a priority setting instruction in response to the detected cleaning priority operation of each candidate floor material; wherein the priority setting instruction is used to indicate the cleaning priority of each candidate floor material. ;
    所述智能设备通过服务器将所述优先级设置指令发送至清洁设备;The smart device sends the priority setting instruction to the cleaning device through the server;
    所述清洁设备根据所述优先级设置指令确定每种所述候选地面材质的清洁优先级;The cleaning equipment determines the cleaning priority of each candidate floor material according to the priority setting instruction;
    所述清洁设备将每种所述候选地面材质的清洁优先级确定为所述多个区域的清洁顺序。 The cleaning equipment determines the cleaning priority of each candidate floor material as the cleaning order of the multiple areas.
  8. 根据权利要求5所述的方法,其特征在于,所述根据所述每组区域对应的地面材质的清洁优先级,确定所述多个区域的清洁顺序,包括:The method of claim 5, wherein determining the cleaning order of the multiple areas according to the cleaning priority of the floor material corresponding to each group of areas includes:
    按照所述每组区域对应的地面材质的清洁优先级对所述多组区域进行排序,得到所述多组区域的清洁顺序;Sort the multiple groups of areas according to the cleaning priority of the floor material corresponding to each group of areas to obtain the cleaning order of the multiple groups of areas;
    对于所述多组区域中的所述每组区域执行以下步骤,得到所述多个区域的清洁顺序,其中,在执行以下步骤时,所述每组区域为当前组区域;Perform the following steps for each group of areas in the multiple groups of areas to obtain the cleaning order of the multiple areas, wherein when performing the following steps, each group of areas is the current group of areas;
    在所述当前组区域中包含至少两个目标区域的情况下,根据所述至少两个目标区域中的每个目标区域的区域位置,确定所述至少两个目标区域的清洁顺序。In the case that the current group of areas includes at least two target areas, the cleaning order of the at least two target areas is determined according to the area position of each of the at least two target areas.
  9. 根据权利要求8所述的方法,其特征在于,所述在所述当前组区域中包含至少两个目标区域的情况下,根据所述至少两个目标区域中的每个目标区域的区域位置,确定所述至少两个目标区域的清洁顺序,包括:The method according to claim 8, characterized in that, when the current group of areas contains at least two target areas, according to the area position of each target area in the at least two target areas, Determine the cleaning sequence of the at least two target areas, including:
    所述清洁设备获取至少两个所述目标区域的区域位置;The cleaning equipment obtains the regional positions of at least two of the target areas;
    根据每个所述目标区域的区域位置、以及上一个清洁优先级中对应的一组区域中清洁的最后一个区域的区域位置,确定所述至少两个目标区域的清洁顺序;或,Determine the cleaning order of the at least two target areas according to the area position of each of the target areas and the area position of the last area to be cleaned in the corresponding group of areas in the previous cleaning priority; or,
    根据每个所述目标区域的区域位置、上一个清洁优先级中对应的一组区域中清洁的最后一个区域的区域位置、以及下一个清洁优先级中对应的一组区域中的每个区域的区域位置,确定所述至少两个目标区域的清洁顺序。According to the area position of each target area, the area position of the last area cleaned in the corresponding group of areas in the previous cleaning priority, and the area position of each area in the corresponding group of areas in the next cleaning priority. The location of the area determines the cleaning sequence of the at least two target areas.
  10. 根据权利要求8所述的方法,其特征在于,所述在所述当前组区域中包含至少两个目标区域的情况下,根据所述至少两个目标区域中的每个目标区域的区域位置,确定所述至少两个目标区域的清洁顺序,包括:The method according to claim 8, characterized in that, when the current group of areas contains at least two target areas, according to the area position of each target area in the at least two target areas, Determine the cleaning sequence of the at least two target areas, including:
    根据每个所述目标区域的区域位置、以及上一个清洁优先级中对应的一组区域中清洁的最后一个区域的区域位置,依次确定按照每种候选清洁顺序进行清洁,清洁设备所需移动的距离;According to the regional position of each target area and the regional position of the last area to be cleaned in the corresponding group of areas in the previous cleaning priority, the required movement distance of the cleaning equipment for cleaning according to each candidate cleaning order is determined in turn. distance;
    确定与每种所述候选清洁顺序对应的清洁距离,并选取出对应的清洁距离最短的候选清洁顺序,作为至少两个目标区域的清洁顺序。The cleaning distance corresponding to each of the candidate cleaning sequences is determined, and the candidate cleaning sequence with the shortest corresponding cleaning distance is selected as the cleaning sequence for at least two target areas.
  11. 根据权利要求1至10中任一项所述的方法,其特征在于,所述控制 所述清洁设备按照所述多个区域的清洁顺序依次对所述每个区域进行区域清洁,包括:The method according to any one of claims 1 to 10, characterized in that the control The cleaning equipment performs area cleaning on each area in sequence according to the cleaning order of the multiple areas, including:
    根据所述多个区域的清洁顺序,确定所述多个区域中当前的待清洁区域;Determine the current area to be cleaned in the multiple areas according to the cleaning order of the multiple areas;
    根据所述待清洁区域的地面材质,确定所述清洁设备清洁所述待清洁区域所采用的目标清洁模式;Determine the target cleaning mode used by the cleaning equipment to clean the area to be cleaned according to the floor material of the area to be cleaned;
    控制所述清洁设备采用所述目标清洁模式对所述待清洁区域进行区域清洁。The cleaning equipment is controlled to use the target cleaning mode to perform area cleaning on the area to be cleaned.
  12. 一种区域清洁的控制装置,其特征在于,包括:A control device for area cleaning, characterized by including:
    第一确定单元,用于确定清洁设备的多个区域中的每个区域的地面材质;a first determination unit configured to determine the floor material of each of the plurality of areas of the cleaning equipment;
    第二确定单元,用于根据所述每个区域的地面材质,确定所述多个区域的清洁顺序,其中,所述多个区域的清洁顺序为所述清洁设备清洁所述每个区域的先后顺序;The second determination unit is configured to determine the cleaning order of the multiple areas according to the floor material of each area, wherein the cleaning order of the multiple areas is the order in which the cleaning equipment cleans each area. order;
    控制单元,用于控制所述清洁设备按照所述多个区域的清洁顺序依次对所述每个区域进行区域清洁。A control unit configured to control the cleaning equipment to sequentially clean each area in accordance with the cleaning order of the multiple areas.
  13. 一种计算机可读的存储介质,其特征在于,所述计算机可读的存储介质包括存储的程序,其中,所述程序运行时执行权利要求1至11中任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored program, wherein the method of any one of claims 1 to 11 is executed when the program is run.
  14. 一种电子装置,包括存储器和处理器,其特征在于,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行权利要求1至11中任一项所述的方法。 An electronic device, including 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 11 through the computer program. .
PCT/CN2023/074246 2022-04-01 2023-02-02 Region cleaning control method and apparatus, and storage medium and electronic apparatus WO2023185247A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210340033.5 2022-04-01
CN202210340033.5A CN116919235A (en) 2022-04-01 2022-04-01 Control method and device for cleaning area, storage medium and electronic device

Publications (1)

Publication Number Publication Date
WO2023185247A1 true WO2023185247A1 (en) 2023-10-05

Family

ID=88199071

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/074246 WO2023185247A1 (en) 2022-04-01 2023-02-02 Region cleaning control method and apparatus, and storage medium and electronic apparatus

Country Status (2)

Country Link
CN (1) CN116919235A (en)
WO (1) WO2023185247A1 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102015104244A1 (en) * 2015-03-20 2016-09-22 Miele & Cie. Kg Floor care appliance and method of maintaining a floor with a self-propelled floor care appliance
CN111643014A (en) * 2020-06-08 2020-09-11 深圳市杉川机器人有限公司 Intelligent cleaning method and device, intelligent cleaning equipment and storage medium
CN111657798A (en) * 2020-06-02 2020-09-15 深圳市杉川机器人有限公司 Cleaning robot control method and device based on scene information and cleaning robot
CN113164000A (en) * 2018-12-06 2021-07-23 三星电子株式会社 Robot vacuum cleaner and cleaning route planning method thereof
US20210330163A1 (en) * 2019-03-28 2021-10-28 Lg Electronics Inc. Artificial intelligence cleaner and method of operating the same
CN113759895A (en) * 2020-06-02 2021-12-07 德国福维克控股公司 Autonomous moving ground processing device with environment map
US11199853B1 (en) * 2018-07-11 2021-12-14 AI Incorporated Versatile mobile platform
CN113854903A (en) * 2021-09-28 2021-12-31 追觅创新科技(苏州)有限公司 Control method and device of cleaning equipment
CN114587191A (en) * 2022-01-26 2022-06-07 深圳市无限动力发展有限公司 Partitioned sweeping method and device for sweeper, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102015104244A1 (en) * 2015-03-20 2016-09-22 Miele & Cie. Kg Floor care appliance and method of maintaining a floor with a self-propelled floor care appliance
US11199853B1 (en) * 2018-07-11 2021-12-14 AI Incorporated Versatile mobile platform
CN113164000A (en) * 2018-12-06 2021-07-23 三星电子株式会社 Robot vacuum cleaner and cleaning route planning method thereof
US20210330163A1 (en) * 2019-03-28 2021-10-28 Lg Electronics Inc. Artificial intelligence cleaner and method of operating the same
CN111657798A (en) * 2020-06-02 2020-09-15 深圳市杉川机器人有限公司 Cleaning robot control method and device based on scene information and cleaning robot
CN113759895A (en) * 2020-06-02 2021-12-07 德国福维克控股公司 Autonomous moving ground processing device with environment map
CN111643014A (en) * 2020-06-08 2020-09-11 深圳市杉川机器人有限公司 Intelligent cleaning method and device, intelligent cleaning equipment and storage medium
CN113854903A (en) * 2021-09-28 2021-12-31 追觅创新科技(苏州)有限公司 Control method and device of cleaning equipment
CN114587191A (en) * 2022-01-26 2022-06-07 深圳市无限动力发展有限公司 Partitioned sweeping method and device for sweeper, computer equipment and storage medium

Also Published As

Publication number Publication date
CN116919235A (en) 2023-10-24

Similar Documents

Publication Publication Date Title
WO2023051227A1 (en) Control method and apparatus for cleaning device
US9862098B2 (en) Methods and devices for cleaning garbage
CN108983979B (en) Gesture tracking recognition method and device and intelligent equipment
TW201933288A (en) Attendance check method and apparatus, and attendance check device
WO2022267795A1 (en) Regional map processing method and apparatus, storage medium, and electronic device
CN111124888B (en) Method and device for generating recording script and electronic device
CN109194866B (en) Image acquisition method, device, system, terminal equipment and storage medium
CN110162454B (en) Game running method and device, storage medium and electronic device
CN111857136A (en) Target map processing method and device
WO2019223056A1 (en) Gesture recognition-based teaching and learning method and apparatus
CN112631282A (en) Intelligent path planning method, device, system and medium for sweeping robot
CN113080768A (en) Sweeper control method, sweeper control equipment and computer readable storage medium
CN105760458A (en) Picture processing method and electronic equipment
CN114327064A (en) Plotting method, system, equipment and storage medium based on gesture control
WO2023185247A1 (en) Region cleaning control method and apparatus, and storage medium and electronic apparatus
CN104598133A (en) Instruction book generating method and device for object
CN112036272B (en) Curtain wall cleaning control method, server and storage medium for building
CN110929057A (en) Image processing method, device and system, storage medium and electronic device
WO2023131246A1 (en) Control method and apparatus for cleaning device, storage medium, and electronic apparatus
CN111984017A (en) Cleaning equipment control method, device and system and computer readable storage medium
CN111104915A (en) Method, device, equipment and medium for peer analysis
WO2023155732A1 (en) Area information processing method and apparatus, storage medium, and electronic device
WO2023155681A1 (en) Method and device for processing region information, storage medium, and electronic device
CN105389374A (en) Image display method and mobile terminal
WO2023179207A1 (en) Map processing method and apparatus, cleaning device, storage medium, and electronic apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23777626

Country of ref document: EP

Kind code of ref document: A1