WO2022095320A1 - Carpet recognition-based cleaning method for robot mop, electronic device, and storage medium - Google Patents

Carpet recognition-based cleaning method for robot mop, electronic device, and storage medium Download PDF

Info

Publication number
WO2022095320A1
WO2022095320A1 PCT/CN2021/081334 CN2021081334W WO2022095320A1 WO 2022095320 A1 WO2022095320 A1 WO 2022095320A1 CN 2021081334 W CN2021081334 W CN 2021081334W WO 2022095320 A1 WO2022095320 A1 WO 2022095320A1
Authority
WO
WIPO (PCT)
Prior art keywords
cleaned
preset
scene
threshold
cleaning
Prior art date
Application number
PCT/CN2021/081334
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 WO2022095320A1 publication Critical patent/WO2022095320A1/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
    • A47L7/00Suction cleaners adapted for additional purposes; Tables with suction openings for cleaning purposes; Containers for cleaning articles by suction; Suction cleaners adapted to cleaning of brushes; Suction cleaners adapted to taking-up liquids
    • A47L7/02Suction cleaners adapted for additional purposes; Tables with suction openings for cleaning purposes; Containers for cleaning articles by suction; Suction cleaners adapted to cleaning of brushes; Suction cleaners adapted to taking-up liquids with driven tools for special purposes
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/24Floor-sweeping machines, motor-driven
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/28Floor-scrubbing machines, motor-driven
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/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
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L9/00Details or accessories of suction cleaners, e.g. mechanical means for controlling the suction or for effecting pulsating action; Storing devices specially adapted to suction cleaners or parts thereof; Carrying-vehicles specially adapted for suction cleaners
    • A47L9/28Installation of the electric equipment, e.g. adaptation or attachment to the suction cleaner; Controlling suction cleaners by electric means
    • A47L9/2805Parameters or conditions being sensed
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L9/00Details or accessories of suction cleaners, e.g. mechanical means for controlling the suction or for effecting pulsating action; Storing devices specially adapted to suction cleaners or parts thereof; Carrying-vehicles specially adapted for suction cleaners
    • A47L9/28Installation of the electric equipment, e.g. adaptation or attachment to the suction cleaner; Controlling suction cleaners by electric means
    • A47L9/2836Installation of the electric equipment, e.g. adaptation or attachment to the suction cleaner; Controlling suction cleaners by electric means characterised by the parts which are controlled
    • A47L9/2847Surface treating elements
    • 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 data processing, and in particular, to a cleaning method, an electronic device and a storage medium of a sweeper based on carpet recognition.
  • the present application provides a cleaning method, an electronic device and a storage medium for a floor sweeper based on carpet recognition, the purpose of which is to solve the technical problem of low cleaning efficiency due to a delay in the recognition of a carpet by the floor sweeper in the exemplary technology.
  • the present application provides a cleaning method for a sweeper based on carpet identification, the method comprising:
  • Judging step use a preconfigured detection device to detect the object to be cleaned in the scene to be cleaned, and determine the type of the object to be cleaned according to the signal fed back by the detection device;
  • the first marking step determining and judging that the object to be cleaned is an object of a first preset type, and marking the object to be cleaned in a pre-established map of the scene to be cleaned with an identifier of the first preset format;
  • the second marking step determining and judging that the object to be cleaned is an object of a second preset type, and marking the object to be cleaned in a pre-established map of the scene to be cleaned with an identifier of the second preset format;
  • the cleaning step performing a cleaning operation on the scene to be cleaned based on the identifier of the first preset format, the identifier of the second preset format and the map of the scene to be cleaned.
  • the preconfigured detection equipment includes ultrasonic detection equipment
  • the judging step includes:
  • the ultrasonic detection device generates ultrasonic echo signals with different intensities based on the surface density of the object to be cleaned, and compares the intensity of the ultrasonic echo signal with a preset threshold to determine the type of the object to be cleaned. .
  • the preset threshold includes a first threshold and a second threshold
  • comparing the intensity of the ultrasonic echo signal with a preset threshold to determine the type of the object to be cleaned includes:
  • determining that the object to be cleaned is an object of a second preset type
  • the strength of the ultrasonic echo signal is greater than a first threshold and less than a second threshold, it is determined that the object to be cleaned is an object of a first preset type, wherein the first threshold is less than the second threshold.
  • the preconfigured detection device includes an optical flow device
  • the judging step includes:
  • the optical flow device determines based on the intensity of the reflected signal of the object to be cleaned, and obtains the type of the object to be cleaned.
  • the pre-established map of the scene to be cleaned is obtained by scanning a pre-configured lidar scanner, and the specific scanning process includes:
  • a lidar scanner is used to scan the margin of the scene to be cleaned, or a travel operation is performed according to a predetermined margin track line, so as to generate a map of the scene to be cleaned.
  • the cleaning step includes:
  • the present application also provides an electronic device, the electronic device includes: a memory and a processor, the memory stores a sweeper cleaning program based on carpet identification, and the carpet identification-based sweeper cleaning program is stored.
  • the processor executes the following steps:
  • Judging step use a preconfigured detection device to detect the object to be cleaned in the scene to be cleaned, and determine the type of the object to be cleaned according to the signal fed back by the detection device;
  • the first marking step determining and judging that the object to be cleaned is an object of a first preset type, and marking the object to be cleaned in a pre-established map of the scene to be cleaned with an identifier of the first preset format;
  • the second marking step determining and judging that the object to be cleaned is an object of a second preset type, and marking the object to be cleaned in a pre-established map of the scene to be cleaned with an identifier of the second preset format;
  • the cleaning step performing a cleaning operation on the scene to be cleaned based on the identifier of the first preset format, the identifier of the second preset format and the map of the scene to be cleaned.
  • the preconfigured detection device includes an ultrasonic detection device, and the ultrasonic detection device is configured to generate ultrasonic echo signals with different intensities based on the surface density of the object to be cleaned, and the ultrasonic echo The intensity of the wave signal is compared with a preset threshold to determine the type of the object to be cleaned.
  • the preset threshold includes a first threshold and a second threshold
  • the ultrasonic detection device is set to determine the to-be-cleaned based on the strength of the ultrasonic echo signal being less than or equal to the first threshold.
  • the object is an object of the second preset type
  • the strength of the ultrasonic echo signal is greater than a first threshold and less than a second threshold, it is determined that the object to be cleaned is an object of a first preset type, wherein the first threshold is less than the second threshold.
  • the preconfigured detection device includes an optical flow device, and the optical flow device is configured to analyze based on the intensity of the reflected signal of the object to be cleaned to obtain the type of the object to be cleaned.
  • the lidar scanner is configured to scan the margin of the scene to be cleaned, or perform a traveling operation according to a predetermined margin trajectory line, and generate a map of the scene to be cleaned.
  • the sweeper is configured to determine that an identifier of the first preset format is detected from the map of the scene to be cleaned, and perform the cleaning operation in the first preset mode;
  • the present application also provides a computer-readable storage medium, the computer-readable storage medium includes a sweeper cleaning program based on carpet identification, and when the carpet identification-based sweeper cleaning program is executed by a processor , to realize any steps in the cleaning method of the sweeper based on the carpet recognition as described above.
  • the carpet recognition-based cleaning method, electronic device, and storage medium for a sweeper proposed in the present application detect objects to be cleaned in a scene to be cleaned through a preconfigured detection device, and determine the type of the object to be cleaned according to signals fed back by the detection device , when it is determined that the object to be cleaned is an object of the first preset type, the object to be cleaned is marked in the pre-established map of the scene to be cleaned with the identifier of the first preset format, and when it is determined that the object to be cleaned is the second preset type
  • the object to be cleaned is marked in the pre-established map of the scene to be cleaned with the identification of the second preset format, based on the identification of the first preset format, the identification of the second preset format and the identification of the to-be-cleaned
  • the map of the scene to perform the cleaning operation on the scene to be cleaned.
  • the sweeper can mark different types of objects to be cleaned on the map of the scene to be cleaned in different formats, and perform corresponding cleaning
  • FIG. 1 is a schematic diagram of a preferred embodiment of an electronic device of the present application.
  • Fig. 2 is the module schematic diagram of the preferred embodiment of the sweeper cleaning program based on carpet identification in Fig. 1;
  • FIG. 3 is a flowchart of a preferred embodiment of the cleaning method for a sweeper based on carpet identification according to the present application
  • FIG. 1 it is a schematic diagram of a preferred embodiment of the electronic device 1 of the present application.
  • the electronic device 1 includes but is not limited to: a memory 11 , a processor 12 , a display 13 and a network interface 14 .
  • the electronic device 1 is connected to the network through the network interface 14 .
  • the network may be a wireless or wired network such as the Internet (Internet), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, and a call network.
  • the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disk, etc.
  • the memory 11 may be an internal storage unit of the electronic device 1 , such as a hard disk or a memory of the electronic device 1 .
  • the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital ( Secure Digital, SD) card, flash card (Flash Card), etc.
  • the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device thereof.
  • the memory 11 is generally configured to store the operating system and various application software installed in the electronic device 1 , such as the program code of the sweeper cleaning program 10 based on carpet recognition.
  • the memory 11 may also be configured to temporarily store various types of data that have been output or will be output.
  • the processor 12 may be a central processing unit (Central Processing Unit) in some embodiments. Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip.
  • the processor 12 is generally configured to control the overall operation of the electronic device 1, such as performing data interaction or communication-related control and processing.
  • the processor 12 is configured to run the program code or process data stored in the memory 11 , for example, run the program code of the sweeper cleaning program 10 based on carpet recognition, and the like.
  • the display 13 may be referred to as a display screen or a display unit.
  • the display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an organic light emitting diode (Organic Light Emitting Diode). Light-Emitting Diode, OLED) touch device, etc.
  • the display 13 is configured to display information processed in the electronic device 1 and configured to display a visual working interface, such as the results of data statistics.
  • the network interface 14 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), and the network interface 14 is usually configured to establish a communication connection between the electronic device 1 and other electronic devices.
  • FIG. 1 only shows the electronic device 1 with components 11-14 and the carpet recognition based sweeper cleaning program 10, but it should be understood that implementation of all shown components is not required, and more or more may be implemented instead. fewer components.
  • the electronic device 1 may further include a user interface, and the user interface may include a display (Display), an input unit such as a keyboard (Keyboard), and an optional user interface may also include a standard wired interface and a wireless interface.
  • the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or the like.
  • the display may also be appropriately called a display screen or a display unit, and is configured to display information processed in the electronic device 1 and configured to display a visualized user interface.
  • the electronic device 1 may further include a radio frequency (Radio Frequency, RF) circuit, a sensor, an audio circuit, and the like, which will not be repeated here.
  • RF Radio Frequency
  • Judging step use a preconfigured detection device to detect the object to be cleaned in the scene to be cleaned, and determine the type of the object to be cleaned according to the signal fed back by the detection device;
  • the first marking step when it is determined that the object to be cleaned is an object of the first preset type, the object to be cleaned is marked in a pre-established map of the scene to be cleaned with an identifier of the first preset format;
  • the second marking step when it is determined that the object to be cleaned is an object of the second preset type, marking the object to be cleaned in the pre-established map of the scene to be cleaned with an identifier of the second preset format;
  • the cleaning step performing a cleaning operation on the scene to be cleaned based on the identifier of the first preset format, the identifier of the second preset format and the map of the scene to be cleaned.
  • the storage device may be the memory 11 of the electronic device 1 , or may be other storage devices communicatively connected to the electronic device 1 .
  • the electronic device 1 may be a sweeping robot, an automatic cleaning machine, a smart vacuum cleaner, a robot vacuum cleaner, etc., which is not limited herein.
  • FIG. 2 for the program module diagram of the carpet recognition-based sweeper cleaning program 10 embodiment
  • FIG. 3 for the flowchart of the carpet recognition-based sweeper cleaning method embodiment.
  • the carpet recognition-based cleaning program 10 may be divided into multiple modules, and the multiple modules are stored in the memory 11 and executed by the processor 12 to complete the present application.
  • a module referred to in this application refers to a series of computer program instruction segments that can perform specific functions.
  • FIG. 2 it is a program module diagram of an embodiment of the sweeper cleaning program 10 based on carpet recognition in FIG. 1 .
  • the cleaning program 10 for a sweeper based on carpet recognition can be divided into: a judgment module 110 , a first marking module 120 , a second marking module 130 , and a cleaning module 140 .
  • the determination module 110 is configured to detect objects to be cleaned in the scene to be cleaned by using a preconfigured detection device, and to determine the type of the objects to be cleaned according to the signals fed back by the detection device.
  • a preconfigured detection device can be used to detect the to-be-cleaned
  • the type of the objects to be cleaned can be determined according to the signals fed back by the detection equipment. By configuring the detection equipment in the sweeper in advance, the type of the objects to be cleaned can be accurately detected.
  • the pre-configured detection device includes an ultrasonic detection device, the ultrasonic detection device generates ultrasonic echo signals with different intensities based on the surface density of the object to be cleaned, and the ultrasonic echo signals are The intensity is compared with a preset threshold to determine the type of the object to be cleaned. Due to the different surface densities of the objects to be cleaned, the pre-configured ultrasonic detection equipment of the sweeper will receive ultrasonic echo signals of different intensities when detecting the ground. By comparing the intensity of the ultrasonic echo signals with the preset threshold By comparison, the type of objects to be cleaned (eg, floor tiles, carpets, etc.) can be determined.
  • the preconfigured detection device includes an optical flow device, and the optical flow device analyzes the intensity of the reflected signal of the object to be cleaned to obtain the type of the object to be cleaned, and the detection device includes Multiple optical flow sensors may be included.
  • the preset threshold includes a first threshold and a second threshold
  • comparing the intensity of the ultrasonic echo signal with a preset threshold to determine the type of the object to be cleaned includes:
  • the strength of the ultrasonic echo signal is greater than a first threshold and less than a second threshold, it is determined that the object to be cleaned is an object of a first preset type, wherein the first threshold is less than the second threshold.
  • the first threshold and the second threshold can be set according to the intensity of the corresponding ultrasonic echo signal of the object to be cleaned.
  • the type of the object to be cleaned when the intensity of the ultrasonic echo signal is less than or equal to the first threshold, it is determined that the object to be cleaned is an object of the second preset type, and the object of the second preset type can be a long-haired carpet.
  • the intensity of the ultrasonic echo signal fed back by the long-haired carpet will be lower than that of the short-haired carpet and floor tiles, so the object to be cleaned whose intensity of the ultrasonic echo signal is less than or equal to the first threshold can be judged as the second preset type.
  • the object to be cleaned when the intensity of the ultrasonic echo signal is greater than the first threshold and less than the second threshold is judged as the object of the first preset type, and the object of the first preset type can be a short-haired carpet, and further,
  • the object to be cleaned whose intensity of the ultrasonic echo signal is greater than the second threshold value can also be determined to be an object of a third preset type, and the object of the third preset type can be a floor with a smooth surface.
  • the first marking module 120 is configured to mark the object to be cleaned in a pre-established map of the scene to be cleaned with an identifier of the first preset format when it is determined that the object to be cleaned is an object of a first preset type.
  • the object to be cleaned is marked in the pre-established map of the scene to be cleaned with the identifier of the first preset format.
  • the carpet can be marked on the pre-established map of the scene to be cleaned in the form of a blue rectangle.
  • the pre-established map of the scene to be cleaned is obtained by scanning a pre-configured lidar scanner, and the specific scanning process includes: using the lidar scanner to scan the margin of the scene to be cleaned, or according to the predetermined margin track line Perform a marching operation to generate a map of the scene to be cleaned.
  • a lidar scanner is used to scan the surrounding walls or indoor maps of the scene to be cleaned, or the sweeper performs a traveling operation according to a predetermined margin trajectory line (indoor surrounding line) before cleaning to generate a map of the scene to be cleaned.
  • a predetermined margin trajectory line indoor surrounding line
  • the second marking module 130 is configured to mark the to-be-cleaned object in the pre-established map of the to-be-cleaned scene with an identifier of the second preset format when it is determined that the to-be-cleaned object is an object of the second preset type.
  • the object to be cleaned is marked in a pre-established map of the scene to be cleaned with an identifier of the second preset format.
  • the carpet can be marked in the form of a yellow rectangular frame in the pre-established map of the scene to be cleaned, and the map of the scene to be cleaned can be generated as described above.
  • Objects of the second preset type are marked as identifiers of the second preset format in the map of the scene to be cleaned, so that the objects of the second preset type can be accurately and quickly identified during the cleaning process, and corresponding cleaning operations can be performed.
  • the cleaning module 140 is configured to perform a cleaning operation on the scene to be cleaned based on the identifier of the first preset format, the identifier of the second preset format and the map of the scene to be cleaned.
  • the cleaning operation is performed on the scene to be cleaned, so that the objects of the first preset type and the objects of the first preset type can be accurately and quickly identified.
  • the objects of the second preset type are located on the map of the scene to be cleaned, and perform different cleaning modes for different objects to be cleaned, thereby improving the cleaning efficiency.
  • a cleaning operation in the first preset mode is performed
  • the cleaning operation of the first preset model and the cleaning operation of the second preset mode are performed.
  • the cleaning operation in the first preset mode is performed.
  • the cleaning operation can be a high-pressure vacuuming model.
  • the second preset format is detected from the map of the scene to be cleaned, that is, when the sweeper detects that the object to be cleaned is a long-haired carpet
  • the third preset mode is executed. Cleaning operation, the cleaning operation in the third preset mode can be a low-pressure vacuuming model.
  • the object to be cleaned is not a carpet
  • the cleaning operation of the first preset model and the cleaning operation of the second preset mode are performed, and the cleaning operation of the second preset model may be a mopping model.
  • Perform high-pressure vacuuming and mopping mode on ordinary floors only perform high-pressure vacuuming when short-pile carpets are detected, prevent carpets from getting wet, and only perform low-pressure vacuuming when long-pile carpets are detected, which can prevent sweepers and long-haired carpets. Wool carpets are entangled, improving cleaning efficiency.
  • the present application also provides a cleaning method for a sweeper based on carpet identification.
  • FIG. 3 it is a schematic flow chart of an embodiment of a cleaning method for a sweeper based on carpet recognition of the present application.
  • the processor 12 of the electronic device 1 executes the carpet recognition-based sweeper cleaning program 10 stored in the memory 11, the following steps are implemented to implement the carpet recognition-based sweeper cleaning method:
  • Step S10 Use a preconfigured detection device to detect the object to be cleaned in the scene to be cleaned, and determine the type of the object to be cleaned according to the signal fed back by the detection device.
  • a preconfigured detection device can be used to detect the to-be-cleaned
  • the type of the objects to be cleaned can be determined according to the signals fed back by the detection equipment. By configuring the detection equipment in the sweeper in advance, the type of the objects to be cleaned can be accurately detected.
  • the pre-configured detection device includes an ultrasonic detection device, the ultrasonic detection device generates ultrasonic echo signals with different intensities based on the surface density of the object to be cleaned, and the ultrasonic echo signals are The intensity is compared with a preset threshold to determine the type of the object to be cleaned. Due to the different surface densities of the objects to be cleaned, the pre-configured ultrasonic detection equipment of the sweeper will receive ultrasonic echo signals of different intensities when detecting the ground. By comparing the intensity of the ultrasonic echo signals with the preset threshold By comparison, the type of objects to be cleaned (eg, floor tiles, carpets, etc.) can be determined.
  • the preconfigured detection device includes an optical flow device, and the optical flow device analyzes the intensity of the reflected signal of the object to be cleaned to obtain the type of the object to be cleaned, and the detection device includes Multiple optical flow sensors may be included.
  • the preset threshold includes a first threshold and a second threshold
  • comparing the intensity of the ultrasonic echo signal with a preset threshold to determine the type of the object to be cleaned includes:
  • the strength of the ultrasonic echo signal is greater than a first threshold and less than a second threshold, it is determined that the object to be cleaned is an object of a first preset type, wherein the first threshold is less than the second threshold.
  • the first threshold and the second threshold can be set according to the intensity of the corresponding ultrasonic echo signal of the object to be cleaned.
  • the type of the object to be cleaned when the intensity of the ultrasonic echo signal is less than or equal to the first threshold, it is determined that the object to be cleaned is an object of the second preset type, and the object of the second preset type can be a long-haired carpet.
  • the intensity of the ultrasonic echo signal fed back by the long-haired carpet will be lower than that of the short-haired carpet and floor tiles, so the object to be cleaned whose intensity of the ultrasonic echo signal is less than or equal to the first threshold can be judged as the second preset type.
  • the object to be cleaned when the intensity of the ultrasonic echo signal is greater than the first threshold and less than the second threshold is judged as the object of the first preset type, and the object of the first preset type can be a short-haired carpet, and further,
  • the object to be cleaned whose intensity of the ultrasonic echo signal is greater than the second threshold value can also be determined to be an object of a third preset type, and the object of the third preset type can be a floor with a smooth surface.
  • Step S20 when it is determined that the object to be cleaned is an object of the first preset type, mark the object to be cleaned in a pre-established map of the scene to be cleaned with an identifier of the first preset format.
  • the object to be cleaned is marked in the pre-established map of the scene to be cleaned with the identifier of the first preset format.
  • the carpet can be marked on the pre-established map of the scene to be cleaned in the form of a blue rectangle.
  • the pre-established map of the scene to be cleaned is obtained by scanning a pre-configured lidar scanner, and the specific scanning process includes: using the lidar scanner to scan the margin of the scene to be cleaned, or according to the predetermined margin track line Perform a marching operation to generate a map of the scene to be cleaned.
  • a lidar scanner is used to scan the surrounding walls or indoor maps of the scene to be cleaned, or the sweeper performs a traveling operation according to a predetermined margin trajectory line (indoor surrounding line) before cleaning to generate a map of the scene to be cleaned.
  • a predetermined margin trajectory line indoor surrounding line
  • Step S30 when it is determined that the object to be cleaned is an object of the second preset type, the object to be cleaned is marked in a pre-established map of the scene to be cleaned with an identifier of the second preset format.
  • the object to be cleaned is marked in a pre-established map of the scene to be cleaned with an identifier of the second preset format.
  • the carpet can be marked in the form of a yellow rectangular frame in the pre-established map of the scene to be cleaned, and the map of the scene to be cleaned can be generated as described above.
  • Objects of the second preset type are marked as identifiers of the second preset format in the map of the scene to be cleaned, so that the objects of the second preset type can be accurately and quickly identified during the cleaning process, and corresponding cleaning operations can be performed.
  • Step S40 Based on the identifier of the first preset format, the identifier of the second preset format, and the map of the scene to be cleaned, perform a cleaning operation on the scene to be cleaned.
  • the cleaning operation is performed on the scene to be cleaned, so that the objects of the first preset type and the objects of the first preset type can be accurately and quickly identified.
  • the objects of the second preset type are located on the map of the scene to be cleaned, and perform different cleaning modes for different objects to be cleaned, thereby improving the cleaning efficiency.
  • a cleaning operation in the first preset mode is performed
  • the cleaning operation of the first preset model and the cleaning operation of the second preset mode are performed.
  • the cleaning operation in the first preset mode is performed.
  • the cleaning operation can be a high-pressure vacuuming model.
  • the second preset format is detected from the map of the scene to be cleaned, that is, when the sweeper detects that the object to be cleaned is a long-haired carpet
  • the third preset mode is executed. Cleaning operation, the cleaning operation in the third preset mode can be a low-pressure vacuuming model.
  • the object to be cleaned is not a carpet
  • the cleaning operation of the first preset model and the cleaning operation of the second preset mode are performed, and the cleaning operation of the second preset model may be a mopping model.
  • an embodiment of the present application also proposes a computer-readable storage medium, where the computer-readable storage medium may be a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a read-only memory (ROM), an erasable programmable Read-only memory (EPROM), portable compact disk read-only memory (CD-ROM), USB memory, etc. any one or any combination of several.
  • the computer-readable storage medium includes a sweeper cleaning program 10 based on carpet recognition, and when the carpet recognition-based sweeper cleaning program 10 is executed by a processor, the following operations are implemented:
  • Judging step use a preconfigured detection device to detect the object to be cleaned in the scene to be cleaned, and determine the type of the object to be cleaned according to the signal fed back by the detection device;
  • the first marking step when it is determined that the object to be cleaned is an object of the first preset type, the object to be cleaned is marked in a pre-established map of the scene to be cleaned with an identifier of the first preset format;
  • the second marking step when it is determined that the object to be cleaned is an object of the second preset type, marking the object to be cleaned in the pre-established map of the scene to be cleaned with an identifier of the second preset format;
  • the cleaning step performing a cleaning operation on the scene to be cleaned based on the identifier of the first preset format, the identifier of the second preset format and the map of the scene to be cleaned.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solutions of the present application can be embodied in the form of software products in essence or the parts that make contributions to the prior art.
  • the computer software products are stored in a storage medium (such as ROM/RAM) as described above. , magnetic disk, optical disk), including several instructions to make a terminal device (which may be a mobile phone, a computer, an electronic device, or a network device, etc.) to execute the methods described in the various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Electric Vacuum Cleaner (AREA)

Abstract

A carpet recognition-based cleaning method for robot mop, an electronic device (1), and a storage medium. The method comprises: detecting, by using a pre-configured detection device, an object to be cleaned in a scene where cleaning is to be performed, and determining the type of said object according to a signal fed back by the detection device (S10); when it is determined that said object is an object of a first preset type, marking said object by means of an identifier of a first preset format in a pre-established map of said scene (S20); when it is determined that said object is an object of a second preset type, marking said object by means of an identifier of a second preset format in the pre-established map of said scene (S30); and performing a cleaning operation on said scene on the basis of the identifier of the first preset format, the identifier of the second preset format, and the map of said scene (S40).

Description

基于地毯识别的扫地机清扫方法、电子装置及存储介质Sweeper cleaning method, electronic device and storage medium based on carpet recognition 技术领域technical field
本申请涉及数据处理领域,尤其涉及一种基于地毯识别的扫地机清扫方法、电子装置及存储介质。The present application relates to the field of data processing, and in particular, to a cleaning method, an electronic device and a storage medium of a sweeper based on carpet recognition.
背景技术Background technique
随着科技的不断进步,智能扫地机的技术得到了快速发展,现在市面上的扫地机大多具有拖地功能,扫地机在拖地过程中可能会进入地毯并污染,虽然示例性技术可以识别地毯,由于技术特性及安装位置的限制,识别存在延迟现象,导致扫地机拖地过程中会经常进入地毯一段距离后才退出,使得清扫效果与效率降低了许多,且污染了地毯。With the continuous advancement of technology, the technology of smart sweepers has developed rapidly. Most of the sweepers on the market now have the function of mopping the floor. The sweeper may enter the carpet and contaminate it during the mopping process. Although the exemplary technology can identify the carpet , Due to the limitation of technical characteristics and installation location, there is a delay in identification, which leads to the fact that the sweeper often enters the carpet for a certain distance before exiting during the mopping process, which reduces the cleaning effect and efficiency a lot, and pollutes the carpet.
技术问题technical problem
鉴于以上内容,本申请提供一种基于地毯识别的扫地机清扫方法、电子装置及存储介质,其目的在于解决示例性技术中因扫地机识别地毯时存在延迟现象,导致清扫效率低的技术问题。In view of the above, the present application provides a cleaning method, an electronic device and a storage medium for a floor sweeper based on carpet recognition, the purpose of which is to solve the technical problem of low cleaning efficiency due to a delay in the recognition of a carpet by the floor sweeper in the exemplary technology.
技术解决方案technical solutions
为实现上述目的,本申请提供一种基于地毯识别的扫地机清扫方法,该方法包括:In order to achieve the above object, the present application provides a cleaning method for a sweeper based on carpet identification, the method comprising:
判断步骤:利用预先配置的侦测设备侦测待清扫场景中的待清扫对象,根据所述侦测设备反馈的信号判断所述待清扫对象的类型;Judging step: use a preconfigured detection device to detect the object to be cleaned in the scene to be cleaned, and determine the type of the object to be cleaned according to the signal fed back by the detection device;
第一标记步骤:确定判断所述待清扫对象为第一预设类型的对象,将该待清扫对象以第一预设格式的标识标记在预先建立的待清扫场景的地图中;The first marking step: determining and judging that the object to be cleaned is an object of a first preset type, and marking the object to be cleaned in a pre-established map of the scene to be cleaned with an identifier of the first preset format;
第二标记步骤:确定判断所述待清扫对象为第二预设类型的对象,将该待清扫对象以第二预设格式的标识标记在预先建立的待清扫场景的地图中;The second marking step: determining and judging that the object to be cleaned is an object of a second preset type, and marking the object to be cleaned in a pre-established map of the scene to be cleaned with an identifier of the second preset format;
清扫步骤:基于所述第一预设格式的标识、所述第二预设格式的标识及所述待清扫场景的地图,对所述待清扫场景执行清扫操作。The cleaning step: performing a cleaning operation on the scene to be cleaned based on the identifier of the first preset format, the identifier of the second preset format and the map of the scene to be cleaned.
可选地,所述预先配置的侦测设备包括超声波侦测设备,所述判断步骤包括:Optionally, the preconfigured detection equipment includes ultrasonic detection equipment, and the judging step includes:
所述超声波侦测设备基于所述待清扫对象的表面密度生成强度不同的超声波回波信号,将所述超声波回波信号的强度与预先设定的阈值进行比较,确所述待清扫对象的类型。The ultrasonic detection device generates ultrasonic echo signals with different intensities based on the surface density of the object to be cleaned, and compares the intensity of the ultrasonic echo signal with a preset threshold to determine the type of the object to be cleaned. .
可选地,所述预先设定的阈值包括第一阈值及第二阈值,所述将所述超声波回波信号的强度与预先设定的阈值进行比较,确定所述待清扫对象的类型包括:Optionally, the preset threshold includes a first threshold and a second threshold, and comparing the intensity of the ultrasonic echo signal with a preset threshold to determine the type of the object to be cleaned includes:
基于所述超声波回波信号的强度小于或等于第一阈值,确定所述待清扫对象为第二预设类型的对象;Based on the intensity of the ultrasonic echo signal being less than or equal to a first threshold, determining that the object to be cleaned is an object of a second preset type;
基于所述超声波回波信号的强度大于第一阈值时且小于第二阈值,确定所述待清扫对象为第一预设类型的对象,其中,所述第一阈值小于所述第二阈值。When the strength of the ultrasonic echo signal is greater than a first threshold and less than a second threshold, it is determined that the object to be cleaned is an object of a first preset type, wherein the first threshold is less than the second threshold.
可选地,所述预先配置的侦测设备包括光流设备,所述判断步骤包括:Optionally, the preconfigured detection device includes an optical flow device, and the judging step includes:
所述光流设备基于所述待清扫对象反射信号的强度进行判断,得到所述待清扫对象的类型。The optical flow device determines based on the intensity of the reflected signal of the object to be cleaned, and obtains the type of the object to be cleaned.
可选地,所述预先建立的待清扫场景的地图是通过预先配置的激光雷达扫描仪扫描得到的,具体的扫描过程包括:Optionally, the pre-established map of the scene to be cleaned is obtained by scanning a pre-configured lidar scanner, and the specific scanning process includes:
利用激光雷达扫描仪扫描所述待清扫场景的边距,或根据预定的边距轨迹线路执行行进操作,生成所述待清扫场景的地图。A lidar scanner is used to scan the margin of the scene to be cleaned, or a travel operation is performed according to a predetermined margin track line, so as to generate a map of the scene to be cleaned.
可选地,所述清扫步骤包括:Optionally, the cleaning step includes:
确定从所述待清扫场景的地图侦测到第一预设格式的标识,执行第一预设模式的清扫操作;It is determined that an identifier of the first preset format is detected from the map of the scene to be cleaned, and the cleaning operation of the first preset mode is performed;
确定从所述待清扫场景的地图侦测到第二预设格式的标识,执行第三预设模式的清扫操作;It is determined that the identifier of the second preset format is detected from the map of the scene to be cleaned, and the cleaning operation of the third preset mode is performed;
确定从所述待清扫场景的地图未侦测到第一预设格式标记及第二预设格式标记,执行第一预设模型的清扫操作及第二预设模式的清扫操作。It is determined that the first preset format marker and the second preset format marker are not detected from the map of the scene to be cleaned, and the cleaning operation of the first preset model and the cleaning operation of the second preset mode are performed.
为实现上述目的,本申请还提供一种电子装置,该电子装置包括:存储器及处理器,所述存储器上存储基于地毯识别的扫地机清扫程序,所述基于地毯识别的扫地机清扫程序被所述处理器执行,实现如下步骤:In order to achieve the above object, the present application also provides an electronic device, the electronic device includes: a memory and a processor, the memory stores a sweeper cleaning program based on carpet identification, and the carpet identification-based sweeper cleaning program is stored. The processor executes the following steps:
判断步骤:利用预先配置的侦测设备侦测待清扫场景中的待清扫对象,根据所述侦测设备反馈的信号判断所述待清扫对象的类型;Judging step: use a preconfigured detection device to detect the object to be cleaned in the scene to be cleaned, and determine the type of the object to be cleaned according to the signal fed back by the detection device;
第一标记步骤:确定判断所述待清扫对象为第一预设类型的对象,将该待清扫对象以第一预设格式的标识标记在预先建立的待清扫场景的地图中;The first marking step: determining and judging that the object to be cleaned is an object of a first preset type, and marking the object to be cleaned in a pre-established map of the scene to be cleaned with an identifier of the first preset format;
第二标记步骤:确定判断所述待清扫对象为第二预设类型的对象,将该待清扫对象以第二预设格式的标识标记在预先建立的待清扫场景的地图中;The second marking step: determining and judging that the object to be cleaned is an object of a second preset type, and marking the object to be cleaned in a pre-established map of the scene to be cleaned with an identifier of the second preset format;
清扫步骤:基于所述第一预设格式的标识、所述第二预设格式的标识及所述待清扫场景的地图,对所述待清扫场景执行清扫操作。The cleaning step: performing a cleaning operation on the scene to be cleaned based on the identifier of the first preset format, the identifier of the second preset format and the map of the scene to be cleaned.
可选地,所述预先配置的侦测设备包括超声波侦测设备,所述超声波侦测设备被设置为基于所述待清扫对象的表面密度生成强度不同的超声波回波信号,将所述超声波回波信号的强度与预先设定的阈值进行比较,确定所述待清扫对象的类型。Optionally, the preconfigured detection device includes an ultrasonic detection device, and the ultrasonic detection device is configured to generate ultrasonic echo signals with different intensities based on the surface density of the object to be cleaned, and the ultrasonic echo The intensity of the wave signal is compared with a preset threshold to determine the type of the object to be cleaned.
可选地,所述预先设定的阈值包括第一阈值及第二阈值,所述超声波侦测设备被设置为基于所述超声波回波信号的强度小于或等于第一阈值,确定所述待清扫对象为第二预设类型的对象;Optionally, the preset threshold includes a first threshold and a second threshold, and the ultrasonic detection device is set to determine the to-be-cleaned based on the strength of the ultrasonic echo signal being less than or equal to the first threshold. the object is an object of the second preset type;
基于所述超声波回波信号的强度大于第一阈值时且小于第二阈值,确定所述待清扫对象为第一预设类型的对象,其中,所述第一阈值小于所述第二阈值。When the strength of the ultrasonic echo signal is greater than a first threshold and less than a second threshold, it is determined that the object to be cleaned is an object of a first preset type, wherein the first threshold is less than the second threshold.
可选地,所述预先配置的侦测设备包括光流设备,所述光流设备被设置为基于所述待清扫对象反射信号的强度进行分析,得到所述待清扫对象的类型。Optionally, the preconfigured detection device includes an optical flow device, and the optical flow device is configured to analyze based on the intensity of the reflected signal of the object to be cleaned to obtain the type of the object to be cleaned.
可选地,还包括激光雷达扫描仪,所述激光雷达扫描仪被设置为扫描所述待清扫场景的边距,或根据预定的边距轨迹线路执行行进操作,生成所述待清扫场景的地图。Optionally, it also includes a lidar scanner, the lidar scanner is configured to scan the margin of the scene to be cleaned, or perform a traveling operation according to a predetermined margin trajectory line, and generate a map of the scene to be cleaned. .
可选地,扫地机被设置为确定从所述待清扫场景的地图侦测到第一预设格式的标识,执行第一预设模式的清扫操作;Optionally, the sweeper is configured to determine that an identifier of the first preset format is detected from the map of the scene to be cleaned, and perform the cleaning operation in the first preset mode;
确定从所述待清扫场景的地图侦测到第二预设格式的标识,执行第三预设模式的清扫操作;It is determined that the identifier of the second preset format is detected from the map of the scene to be cleaned, and the cleaning operation of the third preset mode is performed;
确定从所述待清扫场景的地图未侦测到第一预设格式标记及第二预设格式标记,执行第一预设模型的清扫操作及第二预设模式的清扫操作。It is determined that the first preset format marker and the second preset format marker are not detected from the map of the scene to be cleaned, and the cleaning operation of the first preset model and the cleaning operation of the second preset mode are performed.
为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中包括基于地毯识别的扫地机清扫程序,所述基于地毯识别的扫地机清扫程序被处理器执行时,实现如上所述基于地毯识别的扫地机清扫方法中的任意步骤。In order to achieve the above object, the present application also provides a computer-readable storage medium, the computer-readable storage medium includes a sweeper cleaning program based on carpet identification, and when the carpet identification-based sweeper cleaning program is executed by a processor , to realize any steps in the cleaning method of the sweeper based on the carpet recognition as described above.
有益效果beneficial effect
本申请提出的基于地毯识别的扫地机清扫方法、电子装置及存储介质,通过预先配置的侦测设备侦测待清扫场景中的待清扫对象,根据侦测设备反馈的信号判断待清扫对象的类型,当判断待清扫对象为第一预设类型的对象时,将该待清扫对象以第一预设格式的标识标记在预先建立的待清扫场景的地图中,当判断待清扫对象为第二预设类型的对象时,将该待清扫对象以第二预设格式的标识标记在预先建立的待清扫场景的地图中,基于第一预设格式的标识、第二预设格式的标识及待清扫场景的地图,对待清扫场景执行清扫操作。利用本申请,扫地机可以将不同类型的待清扫对象以不同的格式标记在待清扫场景的地图中,在清扫时根据地图中的标记执行相应的清扫或避让,提高了清扫的效率。The carpet recognition-based cleaning method, electronic device, and storage medium for a sweeper proposed in the present application detect objects to be cleaned in a scene to be cleaned through a preconfigured detection device, and determine the type of the object to be cleaned according to signals fed back by the detection device , when it is determined that the object to be cleaned is an object of the first preset type, the object to be cleaned is marked in the pre-established map of the scene to be cleaned with the identifier of the first preset format, and when it is determined that the object to be cleaned is the second preset type When setting the type of object, the object to be cleaned is marked in the pre-established map of the scene to be cleaned with the identification of the second preset format, based on the identification of the first preset format, the identification of the second preset format and the identification of the to-be-cleaned The map of the scene, to perform the cleaning operation on the scene to be cleaned. Using the present application, the sweeper can mark different types of objects to be cleaned on the map of the scene to be cleaned in different formats, and perform corresponding cleaning or avoidance according to the marks in the map during cleaning, which improves the cleaning efficiency.
附图说明Description of drawings
图1为本申请电子装置较佳实施例的示意图;1 is a schematic diagram of a preferred embodiment of an electronic device of the present application;
图2为图1中基于地毯识别的扫地机清扫程序较佳实施例的模块示意图;Fig. 2 is the module schematic diagram of the preferred embodiment of the sweeper cleaning program based on carpet identification in Fig. 1;
图3为本申请基于地毯识别的扫地机清扫方法较佳实施例的流程图;FIG. 3 is a flowchart of a preferred embodiment of the cleaning method for a sweeper based on carpet identification according to the present application;
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the purpose of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments.
本发明的最佳实施方式BEST MODE FOR CARRYING OUT THE INVENTION
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
参照图1所示,为本申请电子装置1较佳实施例的示意图。Referring to FIG. 1 , it is a schematic diagram of a preferred embodiment of the electronic device 1 of the present application.
该电子装置1包括但不限于:存储器11、处理器12、显示器13及网络接口14。所述电子装置1通过网络接口14连接网络。其中,所述网络可以是互联网(Internet)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi、通话网络等无线或有线网络。The electronic device 1 includes but is not limited to: a memory 11 , a processor 12 , a display 13 and a network interface 14 . The electronic device 1 is connected to the network through the network interface 14 . The network may be a wireless or wired network such as the Internet (Internet), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, and a call network.
其中,存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器11可以是所述电子装置1的内部存储单元,例如该电子装置1的硬盘或内存。在另一些实施例中,所述存储器11也可以是所述电子装置1的外部存储设备,例如该电子装置1配备的插接式硬盘,智能存储卡(Smart Media Card, SMC),安全数字(Secure Digital, SD)卡,闪存卡(Flash Card)等。当然,所述存储器11还可以既包括所述电子装置1的内部存储单元也包括其外部存储设备。本实施例中,存储器11通常设置为存储安装于所述电子装置1的操作系统和各类应用软件,例如基于地毯识别的扫地机清扫程序10的程序代码等。此外,存储器11还可以设置为暂时地存储已经输出或者将要输出的各类数据。Wherein, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 1 , such as a hard disk or a memory of the electronic device 1 . In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital ( Secure Digital, SD) card, flash card (Flash Card), etc. Of course, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device thereof. In this embodiment, the memory 11 is generally configured to store the operating system and various application software installed in the electronic device 1 , such as the program code of the sweeper cleaning program 10 based on carpet recognition. In addition, the memory 11 may also be configured to temporarily store various types of data that have been output or will be output.
处理器12在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器12通常设置为控制所述电子装置1的总体操作,例如执行数据交互或者通信相关的控制和处理等。本实施例中,所述处理器12设置为运行所述存储器11中存储的程序代码或者处理数据,例如运行基于地毯识别的扫地机清扫程序10的程序代码等。The processor 12 may be a central processing unit (Central Processing Unit) in some embodiments. Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip. The processor 12 is generally configured to control the overall operation of the electronic device 1, such as performing data interaction or communication-related control and processing. In this embodiment, the processor 12 is configured to run the program code or process data stored in the memory 11 , for example, run the program code of the sweeper cleaning program 10 based on carpet recognition, and the like.
显示器13可以称为显示屏或显示单元。在一些实施例中显示器13可以是LED显示器、液晶显示器、触控式液晶显示器以及有机发光二极管(Organic Light-Emitting Diode,OLED)触摸器等。显示器13设置为显示在电子装置1中处理的信息以及设置为显示可视化的工作界面,例如显示数据统计的结果。The display 13 may be referred to as a display screen or a display unit. In some embodiments, the display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an organic light emitting diode (Organic Light Emitting Diode). Light-Emitting Diode, OLED) touch device, etc. The display 13 is configured to display information processed in the electronic device 1 and configured to display a visual working interface, such as the results of data statistics.
网络接口14可选地可以包括标准的有线接口、无线接口(如WI-FI接口),该网络接口14通常设置为在所述电子装置1与其它电子设备之间建立通信连接。The network interface 14 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), and the network interface 14 is usually configured to establish a communication connection between the electronic device 1 and other electronic devices.
图1仅示出了具有组件11-14以及基于地毯识别的扫地机清扫程序10的电子装置1,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。FIG. 1 only shows the electronic device 1 with components 11-14 and the carpet recognition based sweeper cleaning program 10, but it should be understood that implementation of all shown components is not required, and more or more may be implemented instead. fewer components.
可选地,所述电子装置1还可以包括用户接口,用户接口可以包括显示器(Display)、输入单元比如键盘(Keyboard),可选的用户接口还可以包括标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器等。其中,显示器也可以适当的称为显示屏或显示单元,设置为显示在电子装置1中处理的信息以及设置为显示可视化的用户界面。Optionally, the electronic device 1 may further include a user interface, and the user interface may include a display (Display), an input unit such as a keyboard (Keyboard), and an optional user interface may also include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or the like. The display may also be appropriately called a display screen or a display unit, and is configured to display information processed in the electronic device 1 and configured to display a visualized user interface.
该电子装置1还可以包括射频(Radio Frequency,RF)电路、传感器和音频电路等等,在此不再赘述。The electronic device 1 may further include a radio frequency (Radio Frequency, RF) circuit, a sensor, an audio circuit, and the like, which will not be repeated here.
在上述实施例中,处理器12执行存储器11中存储的基于地毯识别的扫地机清扫程序10时可以实现如下步骤:In the above embodiment, when the processor 12 executes the carpet recognition-based sweeper cleaning program 10 stored in the memory 11, the following steps can be implemented:
判断步骤:利用预先配置的侦测设备侦测待清扫场景中的待清扫对象,根据所述侦测设备反馈的信号判断所述待清扫对象的类型;Judging step: use a preconfigured detection device to detect the object to be cleaned in the scene to be cleaned, and determine the type of the object to be cleaned according to the signal fed back by the detection device;
第一标记步骤:当判断所述待清扫对象为第一预设类型的对象时,将该待清扫对象以第一预设格式的标识标记在预先建立的待清扫场景的地图中;The first marking step: when it is determined that the object to be cleaned is an object of the first preset type, the object to be cleaned is marked in a pre-established map of the scene to be cleaned with an identifier of the first preset format;
第二标记步骤:当判断所述待清扫对象为第二预设类型的对象时,将该待清扫对象以第二预设格式的标识标记在预先建立的待清扫场景的地图中;The second marking step: when it is determined that the object to be cleaned is an object of the second preset type, marking the object to be cleaned in the pre-established map of the scene to be cleaned with an identifier of the second preset format;
清扫步骤:基于所述第一预设格式的标识、所述第二预设格式的标识及所述待清扫场景的地图,对所述待清扫场景执行清扫操作。The cleaning step: performing a cleaning operation on the scene to be cleaned based on the identifier of the first preset format, the identifier of the second preset format and the map of the scene to be cleaned.
所述存储设备可以为电子装置1的存储器11,也可以为与电子装置1通讯连接的其它存储设备。The storage device may be the memory 11 of the electronic device 1 , or may be other storage devices communicatively connected to the electronic device 1 .
在实际的应用场景中,电子装置1可以为扫地机器人、自动打扫机、智能吸尘器、机器人吸尘器等设备,在此不做限定。In an actual application scenario, the electronic device 1 may be a sweeping robot, an automatic cleaning machine, a smart vacuum cleaner, a robot vacuum cleaner, etc., which is not limited herein.
关于上述步骤的详细介绍,请参照下述图2关于基于地毯识别的扫地机清扫程序10实施例的程序模块图以及图3关于基于地毯识别的扫地机清扫方法实施例的流程图的说明。For the detailed introduction of the above steps, please refer to the following description of FIG. 2 for the program module diagram of the carpet recognition-based sweeper cleaning program 10 embodiment and FIG. 3 for the flowchart of the carpet recognition-based sweeper cleaning method embodiment.
在其他实施例中,所述基于地毯识别的扫地机清扫程序10可以被分割为多个模块,该多个模块被存储于存储器11中,并由处理器12执行,以完成本申请。本申请所称的模块是指能够完成特定功能的一系列计算机程序指令段。In other embodiments, the carpet recognition-based cleaning program 10 may be divided into multiple modules, and the multiple modules are stored in the memory 11 and executed by the processor 12 to complete the present application. A module referred to in this application refers to a series of computer program instruction segments that can perform specific functions.
参照图2所示,为图1中基于地毯识别的扫地机清扫程序10一实施例的程序模块图。在本实施例中,所述基于地毯识别的扫地机清扫程序10可以被分割为:判断模块110、第一标记模块120、第二标记模块130及清扫模块140。Referring to FIG. 2 , it is a program module diagram of an embodiment of the sweeper cleaning program 10 based on carpet recognition in FIG. 1 . In this embodiment, the cleaning program 10 for a sweeper based on carpet recognition can be divided into: a judgment module 110 , a first marking module 120 , a second marking module 130 , and a cleaning module 140 .
判断模块110,设置为利用预先配置的侦测设备侦测待清扫场景中的待清扫对象,根据所述侦测设备反馈的信号判断所述待清扫对象的类型。The determination module 110 is configured to detect objects to be cleaned in the scene to be cleaned by using a preconfigured detection device, and to determine the type of the objects to be cleaned according to the signals fed back by the detection device.
在本实施例中,为了识别在实际的清扫场景中的清扫对象的类型,即识别待清扫场景中是否存在有地毯,或者存在哪种类型的地毯,可以利用预先配置的侦测设备侦测待清扫场景中的待清扫对象,根据侦测设备反馈的信号可以判断待清扫对象的类型,通过预先在扫地机配置侦测设备可以准确地侦测出待清扫对象的类型。In this embodiment, in order to identify the type of the cleaning object in the actual cleaning scene, that is, to identify whether there is a carpet in the scene to be cleaned, or what type of carpet exists, a preconfigured detection device can be used to detect the to-be-cleaned For the objects to be cleaned in the cleaning scene, the type of the objects to be cleaned can be determined according to the signals fed back by the detection equipment. By configuring the detection equipment in the sweeper in advance, the type of the objects to be cleaned can be accurately detected.
本发明的实施方式Embodiments of the present invention
在一个实施例中,预先配置的侦测设备包括超声波侦测设备,所述超声波侦测设备基于所述待清扫对象的表面密度生成强度不同的超声波回波信号,将所述超声波回波信号的强度与预先设定的阈值进行比较,判断所述待清扫对象的类型。由于各个待清扫对象的表面密度不同,扫地机预先配置的超声波侦测设备在侦测地面时,会接收到强度不同的超声波回波信号,通过将超声波回波信号的强度与预先设定的阈值进行比较,可以判断待清扫对象的类型(例如,地砖、地毯等)。在其它实施例中,所述预先配置的侦测设备包括光流设备,所述光流设备基于所述待清扫对象反射信号的强度进行分析,得到所述待清扫对象的类型,侦测设备包括可以包括多个光流传感器。In one embodiment, the pre-configured detection device includes an ultrasonic detection device, the ultrasonic detection device generates ultrasonic echo signals with different intensities based on the surface density of the object to be cleaned, and the ultrasonic echo signals are The intensity is compared with a preset threshold to determine the type of the object to be cleaned. Due to the different surface densities of the objects to be cleaned, the pre-configured ultrasonic detection equipment of the sweeper will receive ultrasonic echo signals of different intensities when detecting the ground. By comparing the intensity of the ultrasonic echo signals with the preset threshold By comparison, the type of objects to be cleaned (eg, floor tiles, carpets, etc.) can be determined. In other embodiments, the preconfigured detection device includes an optical flow device, and the optical flow device analyzes the intensity of the reflected signal of the object to be cleaned to obtain the type of the object to be cleaned, and the detection device includes Multiple optical flow sensors may be included.
进一步地,所述预先设定的阈值包括第一阈值及第二阈值,所述将所述超声波回波信号的强度与预先设定的阈值进行比较,判断所述待清扫对象的类型包括:Further, the preset threshold includes a first threshold and a second threshold, and comparing the intensity of the ultrasonic echo signal with a preset threshold to determine the type of the object to be cleaned includes:
当所述超声波回波信号的强度小于或等于第一阈值时,判断所述待清扫对象为第二预设类型的对象;When the intensity of the ultrasonic echo signal is less than or equal to the first threshold, determine that the object to be cleaned is an object of the second preset type;
当所述超声波回波信号的强度大于第一阈值时且小于第二阈值时,判断所述待清扫对象为第一预设类型的对象,其中,所述第一阈值小于所述第二阈值。When the strength of the ultrasonic echo signal is greater than a first threshold and less than a second threshold, it is determined that the object to be cleaned is an object of a first preset type, wherein the first threshold is less than the second threshold.
由于各个待清扫对象的表面密度不同,其反馈的超声波回波信号的强度也不同,因此,可以根据待清扫对象的对应的超声波回波信号的强度分别设置第一阈值和第二阈值来判断待清扫对象的类型,当超声波回波信号的强度小于或等于第一阈值时,判断待清扫对象为第二预设类型的对象,第二预设类型的对象可以是长毛地毯,在实际的侦测过程中,长毛地毯反馈的超声波回波信号的强度会低于短毛地毯和地砖,因此可以将超声波回波信号的强度小于或等于第一阈值的待清扫对象判断为第二预设类型的对象,将超声波回波信号的强度大于第一阈值时且小于第二阈值的待清扫对象判断为第一预设类型的对象,第一预设类型的对象可以是短毛地毯,进一步地,还可以将超声波回波信号的强度大于第二阈值的待清扫对象判断为第三预设类型的对象,第三预设类型的对象可以是表面光滑的地板。Since the surface density of each object to be cleaned is different, the intensity of the ultrasonic echo signal fed back is also different. Therefore, the first threshold and the second threshold can be set according to the intensity of the corresponding ultrasonic echo signal of the object to be cleaned. The type of the object to be cleaned, when the intensity of the ultrasonic echo signal is less than or equal to the first threshold, it is determined that the object to be cleaned is an object of the second preset type, and the object of the second preset type can be a long-haired carpet. During the measurement process, the intensity of the ultrasonic echo signal fed back by the long-haired carpet will be lower than that of the short-haired carpet and floor tiles, so the object to be cleaned whose intensity of the ultrasonic echo signal is less than or equal to the first threshold can be judged as the second preset type. The object to be cleaned when the intensity of the ultrasonic echo signal is greater than the first threshold and less than the second threshold is judged as the object of the first preset type, and the object of the first preset type can be a short-haired carpet, and further, The object to be cleaned whose intensity of the ultrasonic echo signal is greater than the second threshold value can also be determined to be an object of a third preset type, and the object of the third preset type can be a floor with a smooth surface.
第一标记模块120,设置为当判断所述待清扫对象为第一预设类型的对象时,将该待清扫对象以第一预设格式的标识标记在预先建立的待清扫场景的地图中。The first marking module 120 is configured to mark the object to be cleaned in a pre-established map of the scene to be cleaned with an identifier of the first preset format when it is determined that the object to be cleaned is an object of a first preset type.
在本实施例中,当判断待清扫对象属于第一预设类型的对象时,将该待清扫对象以第一预设格式的标识标记在预先建立的待清扫场景的地图中,例如,当判断待清扫对象属于短毛地毯时,可以将该地毯以蓝色矩形框的形式标记在预先建立的待清扫场景的地图。其中,预先建立的待清扫场景的地图是通过预先配置的激光雷达扫描仪扫描得到的,具体的扫描过程包括:利用激光雷达扫描仪扫描待清扫场景的边距,或根据预定的边距轨迹线路执行行进操作,以生成待清扫场景的地图。例如,利用激光雷达扫描仪扫描待清扫场景的四周墙壁或者室内地图,或者扫地机在清扫之前根据预定的边距轨迹线路(室内四周线路)执行行进操作,以生成待清扫场景的地图。通过在预先建立的待清扫场景的地图中将第一预设类型的对象标注为第一预设格式的标识,可以在清扫过程中准确快捷的识别到第一预设类型的对象,并作出相应的清扫操作。In this embodiment, when it is determined that the object to be cleaned belongs to the object of the first preset type, the object to be cleaned is marked in the pre-established map of the scene to be cleaned with the identifier of the first preset format. When the object to be cleaned belongs to a short-haired carpet, the carpet can be marked on the pre-established map of the scene to be cleaned in the form of a blue rectangle. The pre-established map of the scene to be cleaned is obtained by scanning a pre-configured lidar scanner, and the specific scanning process includes: using the lidar scanner to scan the margin of the scene to be cleaned, or according to the predetermined margin track line Perform a marching operation to generate a map of the scene to be cleaned. For example, a lidar scanner is used to scan the surrounding walls or indoor maps of the scene to be cleaned, or the sweeper performs a traveling operation according to a predetermined margin trajectory line (indoor surrounding line) before cleaning to generate a map of the scene to be cleaned. By marking the objects of the first preset type as the identifiers of the first preset format in the pre-established map of the scene to be cleaned, the objects of the first preset type can be accurately and quickly identified during the cleaning process, and corresponding cleaning operation.
第二标记模块130,设置为当判断所述待清扫对象为第二预设类型的对象时,将该待清扫对象以第二预设格式的标识标记在预先建立的待清扫场景的地图中。The second marking module 130 is configured to mark the to-be-cleaned object in the pre-established map of the to-be-cleaned scene with an identifier of the second preset format when it is determined that the to-be-cleaned object is an object of the second preset type.
在本实施例中,当判断所述待清扫对象为第二预设类型的对象时,将该待清扫对象以第二预设格式的标识标记在预先建立的待清扫场景的地图中。例如,当判断待清扫对象属于长毛地毯时,可以将该地毯以黄色矩形框的形式标记在预先建立的待清扫场景的地图中,生成待清扫场景的地图如上所述,通过在预先建立的待清扫场景的地图中将第二预设类型的对象标注为第二预设格式的标识,可以在清扫过程中准确快捷的识别到第二预设类型的对象,并作出相应的清扫操作。In this embodiment, when it is determined that the object to be cleaned is an object of the second preset type, the object to be cleaned is marked in a pre-established map of the scene to be cleaned with an identifier of the second preset format. For example, when it is determined that the object to be cleaned belongs to a long-haired carpet, the carpet can be marked in the form of a yellow rectangular frame in the pre-established map of the scene to be cleaned, and the map of the scene to be cleaned can be generated as described above. Objects of the second preset type are marked as identifiers of the second preset format in the map of the scene to be cleaned, so that the objects of the second preset type can be accurately and quickly identified during the cleaning process, and corresponding cleaning operations can be performed.
清扫模块140,设置为基于所述第一预设格式的标识、所述第二预设格式的标识及所述待清扫场景的地图,对所述待清扫场景执行清扫操作。The cleaning module 140 is configured to perform a cleaning operation on the scene to be cleaned based on the identifier of the first preset format, the identifier of the second preset format and the map of the scene to be cleaned.
在本实施例中,根据第一预设格式的标识、第二预设格式的标识和待清扫场景的地图,对待清扫场景执行清扫操作,可以准确快捷地识别到第一预设类型的对象和第二预设类型的对象在待清扫场景的地图的位置,为不同的待清扫对象执行不同的清扫模式,提高清扫效率。In this embodiment, according to the identification of the first preset format, the identification of the second preset format, and the map of the scene to be cleaned, the cleaning operation is performed on the scene to be cleaned, so that the objects of the first preset type and the objects of the first preset type can be accurately and quickly identified. The objects of the second preset type are located on the map of the scene to be cleaned, and perform different cleaning modes for different objects to be cleaned, thereby improving the cleaning efficiency.
在一个实施例中,当从所述待清扫场景的地图侦测到第一预设格式的标识时,执行第一预设模式的清扫操作;In one embodiment, when an identifier of the first preset format is detected from the map of the scene to be cleaned, a cleaning operation in the first preset mode is performed;
当从所述待清扫场景的地图侦测到第二预设格式的标识时,执行第三预设模式的清扫操作;When an identifier of the second preset format is detected from the map of the scene to be cleaned, the cleaning operation of the third preset mode is performed;
当从所述待清扫场景的地图未侦测到第一预设格式标记及第二预设格式标记时,执行第一预设模型的清扫操作及第二预设模式的清扫操作。When the first preset format marker and the second preset format marker are not detected from the map of the scene to be cleaned, the cleaning operation of the first preset model and the cleaning operation of the second preset mode are performed.
当从待清扫场景的地图侦测到第一预设格式的标识时,即扫地机侦测到待清扫对象为短毛地毯时,执行第一预设模式的清扫操作,第一预设模式的清扫操作可以是高压吸尘模型,当从待清扫场景的地图侦测到第二预设格式的标识时,即扫地机侦测到待清扫对象为长毛地毯时,执行第三预设模式的清扫操作,第三预设模式的清扫操作可以是低压吸尘模型,当从待清扫场景的地图未侦测到第一预设格式标记及第二预设格式标记时,即待清扫对象不是地毯时,执行第一预设模型的清扫操作及第二预设模式的清扫操作,第二预设模型的清扫操作可以是拖地模型。在普通地面上执行高压吸尘和拖地模式,侦测到短毛地毯时仅执行高压吸尘,防止弄湿地毯,侦测到长毛地毯时仅执行低压吸尘,可以防止扫地机和长毛地毯发生缠绕,提高了清扫效率。When an identifier of the first preset format is detected from the map of the scene to be cleaned, that is, when the sweeper detects that the object to be cleaned is a short-haired carpet, the cleaning operation in the first preset mode is performed. The cleaning operation can be a high-pressure vacuuming model. When the second preset format is detected from the map of the scene to be cleaned, that is, when the sweeper detects that the object to be cleaned is a long-haired carpet, the third preset mode is executed. Cleaning operation, the cleaning operation in the third preset mode can be a low-pressure vacuuming model. When the first preset format marker and the second preset format marker are not detected from the map of the scene to be cleaned, the object to be cleaned is not a carpet At the time, the cleaning operation of the first preset model and the cleaning operation of the second preset mode are performed, and the cleaning operation of the second preset model may be a mopping model. Perform high-pressure vacuuming and mopping mode on ordinary floors, only perform high-pressure vacuuming when short-pile carpets are detected, prevent carpets from getting wet, and only perform low-pressure vacuuming when long-pile carpets are detected, which can prevent sweepers and long-haired carpets. Wool carpets are entangled, improving cleaning efficiency.
此外,本申请还提供一种基于地毯识别的扫地机清扫方法。参照图3所示,为本申请基于地毯识别的扫地机清扫方法的实施例的方法流程示意图。电子装置1的处理器12执行存储器11中存储的基于地毯识别的扫地机清扫程序10时实现基于地毯识别的扫地机清扫方法的如下步骤:In addition, the present application also provides a cleaning method for a sweeper based on carpet identification. Referring to FIG. 3 , it is a schematic flow chart of an embodiment of a cleaning method for a sweeper based on carpet recognition of the present application. When the processor 12 of the electronic device 1 executes the carpet recognition-based sweeper cleaning program 10 stored in the memory 11, the following steps are implemented to implement the carpet recognition-based sweeper cleaning method:
步骤S10:利用预先配置的侦测设备侦测待清扫场景中的待清扫对象,根据所述侦测设备反馈的信号判断所述待清扫对象的类型。Step S10: Use a preconfigured detection device to detect the object to be cleaned in the scene to be cleaned, and determine the type of the object to be cleaned according to the signal fed back by the detection device.
在本实施例中,为了识别在实际的清扫场景中的清扫对象的类型,即识别待清扫场景中是否存在有地毯,或者存在哪种类型的地毯,可以利用预先配置的侦测设备侦测待清扫场景中的待清扫对象,根据侦测设备反馈的信号可以判断待清扫对象的类型,通过预先在扫地机配置侦测设备可以准确地侦测出待清扫对象的类型。In this embodiment, in order to identify the type of the cleaning object in the actual cleaning scene, that is, to identify whether there is a carpet in the scene to be cleaned, or what type of carpet exists, a preconfigured detection device can be used to detect the to-be-cleaned For the objects to be cleaned in the cleaning scene, the type of the objects to be cleaned can be determined according to the signals fed back by the detection equipment. By configuring the detection equipment in the sweeper in advance, the type of the objects to be cleaned can be accurately detected.
在一个实施例中,预先配置的侦测设备包括超声波侦测设备,所述超声波侦测设备基于所述待清扫对象的表面密度生成强度不同的超声波回波信号,将所述超声波回波信号的强度与预先设定的阈值进行比较,判断所述待清扫对象的类型。由于各个待清扫对象的表面密度不同,扫地机预先配置的超声波侦测设备在侦测地面时,会接收到强度不同的超声波回波信号,通过将超声波回波信号的强度与预先设定的阈值进行比较,可以判断待清扫对象的类型(例如,地砖、地毯等)。在其它实施例中,所述预先配置的侦测设备包括光流设备,所述光流设备基于所述待清扫对象反射信号的强度进行分析,得到所述待清扫对象的类型,侦测设备包括可以包括多个光流传感器。In one embodiment, the pre-configured detection device includes an ultrasonic detection device, the ultrasonic detection device generates ultrasonic echo signals with different intensities based on the surface density of the object to be cleaned, and the ultrasonic echo signals are The intensity is compared with a preset threshold to determine the type of the object to be cleaned. Due to the different surface densities of the objects to be cleaned, the pre-configured ultrasonic detection equipment of the sweeper will receive ultrasonic echo signals of different intensities when detecting the ground. By comparing the intensity of the ultrasonic echo signals with the preset threshold By comparison, the type of objects to be cleaned (eg, floor tiles, carpets, etc.) can be determined. In other embodiments, the preconfigured detection device includes an optical flow device, and the optical flow device analyzes the intensity of the reflected signal of the object to be cleaned to obtain the type of the object to be cleaned, and the detection device includes Multiple optical flow sensors may be included.
进一步地,所述预先设定的阈值包括第一阈值及第二阈值,所述将所述超声波回波信号的强度与预先设定的阈值进行比较,判断所述待清扫对象的类型包括:Further, the preset threshold includes a first threshold and a second threshold, and comparing the intensity of the ultrasonic echo signal with a preset threshold to determine the type of the object to be cleaned includes:
当所述超声波回波信号的强度小于或等于第一阈值时,判断所述待清扫对象为第二预设类型的对象;When the intensity of the ultrasonic echo signal is less than or equal to the first threshold, determine that the object to be cleaned is an object of the second preset type;
当所述超声波回波信号的强度大于第一阈值时且小于第二阈值时,判断所述待清扫对象为第一预设类型的对象,其中,所述第一阈值小于所述第二阈值。When the strength of the ultrasonic echo signal is greater than a first threshold and less than a second threshold, it is determined that the object to be cleaned is an object of a first preset type, wherein the first threshold is less than the second threshold.
由于各个待清扫对象的表面密度不同,其反馈的超声波回波信号的强度也不同,因此,可以根据待清扫对象的对应的超声波回波信号的强度分别设置第一阈值和第二阈值来判断待清扫对象的类型,当超声波回波信号的强度小于或等于第一阈值时,判断待清扫对象为第二预设类型的对象,第二预设类型的对象可以是长毛地毯,在实际的侦测过程中,长毛地毯反馈的超声波回波信号的强度会低于短毛地毯和地砖,因此可以将超声波回波信号的强度小于或等于第一阈值的待清扫对象判断为第二预设类型的对象,将超声波回波信号的强度大于第一阈值时且小于第二阈值的待清扫对象判断为第一预设类型的对象,第一预设类型的对象可以是短毛地毯,进一步地,还可以将超声波回波信号的强度大于第二阈值的待清扫对象判断为第三预设类型的对象,第三预设类型的对象可以是表面光滑的地板。Since the surface density of each object to be cleaned is different, the intensity of the ultrasonic echo signal fed back is also different. Therefore, the first threshold and the second threshold can be set according to the intensity of the corresponding ultrasonic echo signal of the object to be cleaned. The type of the object to be cleaned, when the intensity of the ultrasonic echo signal is less than or equal to the first threshold, it is determined that the object to be cleaned is an object of the second preset type, and the object of the second preset type can be a long-haired carpet. During the measurement process, the intensity of the ultrasonic echo signal fed back by the long-haired carpet will be lower than that of the short-haired carpet and floor tiles, so the object to be cleaned whose intensity of the ultrasonic echo signal is less than or equal to the first threshold can be judged as the second preset type. The object to be cleaned when the intensity of the ultrasonic echo signal is greater than the first threshold and less than the second threshold is judged as the object of the first preset type, and the object of the first preset type can be a short-haired carpet, and further, The object to be cleaned whose intensity of the ultrasonic echo signal is greater than the second threshold value can also be determined to be an object of a third preset type, and the object of the third preset type can be a floor with a smooth surface.
步骤S20:当判断所述待清扫对象为第一预设类型的对象时,将该待清扫对象以第一预设格式的标识标记在预先建立的待清扫场景的地图中。Step S20 : when it is determined that the object to be cleaned is an object of the first preset type, mark the object to be cleaned in a pre-established map of the scene to be cleaned with an identifier of the first preset format.
在本实施例中,当判断待清扫对象属于第一预设类型的对象时,将该待清扫对象以第一预设格式的标识标记在预先建立的待清扫场景的地图中,例如,当判断待清扫对象属于短毛地毯时,可以将该地毯以蓝色矩形框的形式标记在预先建立的待清扫场景的地图。其中,预先建立的待清扫场景的地图是通过预先配置的激光雷达扫描仪扫描得到的,具体的扫描过程包括:利用激光雷达扫描仪扫描待清扫场景的边距,或根据预定的边距轨迹线路执行行进操作,以生成待清扫场景的地图。例如,利用激光雷达扫描仪扫描待清扫场景的四周墙壁或者室内地图,或者扫地机在清扫之前根据预定的边距轨迹线路(室内四周线路)执行行进操作,以生成待清扫场景的地图。通过在预先建立的待清扫场景的地图中将第一预设类型的对象标注为第一预设格式的标识,可以在清扫过程中准确快捷的识别到第一预设类型的对象,并作出相应的清扫操作In this embodiment, when it is determined that the object to be cleaned belongs to the object of the first preset type, the object to be cleaned is marked in the pre-established map of the scene to be cleaned with the identifier of the first preset format. When the object to be cleaned belongs to a short-haired carpet, the carpet can be marked on the pre-established map of the scene to be cleaned in the form of a blue rectangle. The pre-established map of the scene to be cleaned is obtained by scanning a pre-configured lidar scanner, and the specific scanning process includes: using the lidar scanner to scan the margin of the scene to be cleaned, or according to the predetermined margin track line Perform a marching operation to generate a map of the scene to be cleaned. For example, a lidar scanner is used to scan the surrounding walls or indoor maps of the scene to be cleaned, or the sweeper performs a traveling operation according to a predetermined margin trajectory line (indoor surrounding line) before cleaning to generate a map of the scene to be cleaned. By marking the objects of the first preset type as the identifiers of the first preset format in the pre-established map of the scene to be cleaned, the objects of the first preset type can be accurately and quickly identified during the cleaning process, and corresponding cleaning operation
步骤S30:当判断所述待清扫对象为第二预设类型的对象时,将该待清扫对象以第二预设格式的标识标记在预先建立的待清扫场景的地图中。Step S30 : when it is determined that the object to be cleaned is an object of the second preset type, the object to be cleaned is marked in a pre-established map of the scene to be cleaned with an identifier of the second preset format.
在本实施例中,当判断所述待清扫对象为第二预设类型的对象时,将该待清扫对象以第二预设格式的标识标记在预先建立的待清扫场景的地图中。例如,当判断待清扫对象属于长毛地毯时,可以将该地毯以黄色矩形框的形式标记在预先建立的待清扫场景的地图中,生成待清扫场景的地图如上所述,通过在预先建立的待清扫场景的地图中将第二预设类型的对象标注为第二预设格式的标识,可以在清扫过程中准确快捷的识别到第二预设类型的对象,并作出相应的清扫操作。In this embodiment, when it is determined that the object to be cleaned is an object of the second preset type, the object to be cleaned is marked in a pre-established map of the scene to be cleaned with an identifier of the second preset format. For example, when it is determined that the object to be cleaned belongs to a long-haired carpet, the carpet can be marked in the form of a yellow rectangular frame in the pre-established map of the scene to be cleaned, and the map of the scene to be cleaned can be generated as described above. Objects of the second preset type are marked as identifiers of the second preset format in the map of the scene to be cleaned, so that the objects of the second preset type can be accurately and quickly identified during the cleaning process, and corresponding cleaning operations can be performed.
步骤S40:基于所述第一预设格式的标识、所述第二预设格式的标识及所述待清扫场景的地图,对所述待清扫场景执行清扫操作。Step S40: Based on the identifier of the first preset format, the identifier of the second preset format, and the map of the scene to be cleaned, perform a cleaning operation on the scene to be cleaned.
在本实施例中,根据第一预设格式的标识、第二预设格式的标识和待清扫场景的地图,对待清扫场景执行清扫操作,可以准确快捷地识别到第一预设类型的对象和第二预设类型的对象在待清扫场景的地图的位置,为不同的待清扫对象执行不同的清扫模式,提高清扫效率。In this embodiment, according to the identification of the first preset format, the identification of the second preset format, and the map of the scene to be cleaned, the cleaning operation is performed on the scene to be cleaned, so that the objects of the first preset type and the objects of the first preset type can be accurately and quickly identified. The objects of the second preset type are located on the map of the scene to be cleaned, and perform different cleaning modes for different objects to be cleaned, thereby improving the cleaning efficiency.
在一个实施例中,当从所述待清扫场景的地图侦测到第一预设格式的标识时,执行第一预设模式的清扫操作;In one embodiment, when an identifier of the first preset format is detected from the map of the scene to be cleaned, a cleaning operation in the first preset mode is performed;
当从所述待清扫场景的地图侦测到第二预设格式的标识时,执行第三预设模式的清扫操作;When an identifier of the second preset format is detected from the map of the scene to be cleaned, the cleaning operation of the third preset mode is performed;
当从所述待清扫场景的地图未侦测到第一预设格式标记及第二预设格式标记时,执行第一预设模型的清扫操作及第二预设模式的清扫操作。When the first preset format marker and the second preset format marker are not detected from the map of the scene to be cleaned, the cleaning operation of the first preset model and the cleaning operation of the second preset mode are performed.
当从待清扫场景的地图侦测到第一预设格式的标识时,即扫地机侦测到待清扫对象为短毛地毯时,执行第一预设模式的清扫操作,第一预设模式的清扫操作可以是高压吸尘模型,当从待清扫场景的地图侦测到第二预设格式的标识时,即扫地机侦测到待清扫对象为长毛地毯时,执行第三预设模式的清扫操作,第三预设模式的清扫操作可以是低压吸尘模型,当从待清扫场景的地图未侦测到第一预设格式标记及第二预设格式标记时,即待清扫对象不是地毯时,执行第一预设模型的清扫操作及第二预设模式的清扫操作,第二预设模型的清扫操作可以是拖地模型。在普通地面上执行高压吸尘和拖地模式,提高清扫效率,侦测到短毛地毯时仅执行高压吸尘,防止弄湿地毯,侦测到长毛地毯时仅执行低压吸尘,可以防止扫地机和长毛地毯发生缠绕,提高了清扫效率。When an identifier of the first preset format is detected from the map of the scene to be cleaned, that is, when the sweeper detects that the object to be cleaned is a short-haired carpet, the cleaning operation in the first preset mode is performed. The cleaning operation can be a high-pressure vacuuming model. When the second preset format is detected from the map of the scene to be cleaned, that is, when the sweeper detects that the object to be cleaned is a long-haired carpet, the third preset mode is executed. Cleaning operation, the cleaning operation in the third preset mode can be a low-pressure vacuuming model. When the first preset format marker and the second preset format marker are not detected from the map of the scene to be cleaned, the object to be cleaned is not a carpet At the time, the cleaning operation of the first preset model and the cleaning operation of the second preset mode are performed, and the cleaning operation of the second preset model may be a mopping model. Perform high-pressure vacuuming and mopping mode on ordinary floors to improve cleaning efficiency, only perform high-pressure vacuuming when short-pile carpets are detected, and prevent carpets from getting wet, and only perform low-pressure vacuuming when long-pile carpets are detected, which can prevent The sweeper is entangled with the plush carpet, improving the cleaning efficiency.
此外,本申请实施例还提出一种计算机可读存储介质,该计算机可读存储介质可以是硬盘、多媒体卡、SD卡、闪存卡、SMC、只读存储器(ROM)、可擦除可编程只读存储器(EPROM)、便携式紧致盘只读存储器(CD-ROM)、USB存储器等等中的任意一种或者几种的任意组合。所述计算机可读存储介质中包括基于地毯识别的扫地机清扫程序10,所述基于地毯识别的扫地机清扫程序10被处理器执行时实现如下操作:In addition, an embodiment of the present application also proposes a computer-readable storage medium, where the computer-readable storage medium may be a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a read-only memory (ROM), an erasable programmable Read-only memory (EPROM), portable compact disk read-only memory (CD-ROM), USB memory, etc. any one or any combination of several. The computer-readable storage medium includes a sweeper cleaning program 10 based on carpet recognition, and when the carpet recognition-based sweeper cleaning program 10 is executed by a processor, the following operations are implemented:
判断步骤:利用预先配置的侦测设备侦测待清扫场景中的待清扫对象,根据所述侦测设备反馈的信号判断所述待清扫对象的类型;Judging step: use a preconfigured detection device to detect the object to be cleaned in the scene to be cleaned, and determine the type of the object to be cleaned according to the signal fed back by the detection device;
第一标记步骤:当判断所述待清扫对象为第一预设类型的对象时,将该待清扫对象以第一预设格式的标识标记在预先建立的待清扫场景的地图中;The first marking step: when it is determined that the object to be cleaned is an object of the first preset type, the object to be cleaned is marked in a pre-established map of the scene to be cleaned with an identifier of the first preset format;
第二标记步骤:当判断所述待清扫对象为第二预设类型的对象时,将该待清扫对象以第二预设格式的标识标记在预先建立的待清扫场景的地图中;The second marking step: when it is determined that the object to be cleaned is an object of the second preset type, marking the object to be cleaned in the pre-established map of the scene to be cleaned with an identifier of the second preset format;
清扫步骤:基于所述第一预设格式的标识、所述第二预设格式的标识及所述待清扫场景的地图,对所述待清扫场景执行清扫操作。The cleaning step: performing a cleaning operation on the scene to be cleaned based on the identifier of the first preset format, the identifier of the second preset format and the map of the scene to be cleaned.
本申请之计算机可读存储介质的具体实施方式与上述基于地毯识别的扫地机清扫方法的具体实施方式大致相同,在此不再赘述。The specific implementation of the computer-readable storage medium of the present application is substantially the same as the specific implementation of the above-mentioned carpet recognition-based cleaning method for a sweeper, and will not be repeated here.
需要说明的是,上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。并且本文中的术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。It should be noted that the above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments. And the terms "comprising", "comprising" or any other variation thereof herein are intended to encompass a non-exclusive inclusion such that a process, device, article or method comprising a list of elements includes not only those elements, but also includes no explicit Other elements listed, or those inherent to such a process, apparatus, article, or method are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, apparatus, article, or method that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,电子装置,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence or the parts that make contributions to the prior art. The computer software products are stored in a storage medium (such as ROM/RAM) as described above. , magnetic disk, optical disk), including several instructions to make a terminal device (which may be a mobile phone, a computer, an electronic device, or a network device, etc.) to execute the methods described in the various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied in other related technical fields , are similarly included within the scope of patent protection of this application.

Claims (13)

  1. 一种基于地毯识别的扫地机清扫方法,应用于电子装置,其中,所述方法包括:A cleaning method for a sweeper based on carpet identification, applied to an electronic device, wherein the method comprises:
    判断步骤:利用预先配置的侦测设备侦测待清扫场景中的待清扫对象,根据所述侦测设备反馈的信号判断所述待清扫对象的类型;Judging step: use a preconfigured detection device to detect the object to be cleaned in the scene to be cleaned, and determine the type of the object to be cleaned according to the signal fed back by the detection device;
    第一标记步骤:确定所述待清扫对象为第一预设类型的对象,将该待清扫对象以第一预设格式的标识标记在预先建立的待清扫场景的地图中;The first marking step: determining that the object to be cleaned is an object of a first preset type, and marking the object to be cleaned in a pre-established map of the scene to be cleaned with an identifier of the first preset format;
    第二标记步骤:确定所述待清扫对象为第二预设类型的对象,将该待清扫对象以第二预设格式的标识标记在预先建立的待清扫场景的地图中;The second marking step: determining that the object to be cleaned is an object of a second preset type, and marking the object to be cleaned in a pre-established map of the scene to be cleaned with an identifier of the second preset format;
    清扫步骤:基于所述第一预设格式的标识、所述第二预设格式的标识及所述待清扫场景的地图,对所述待清扫场景执行清扫操作。The cleaning step: performing a cleaning operation on the scene to be cleaned based on the identifier of the first preset format, the identifier of the second preset format and the map of the scene to be cleaned.
  2. 如权利要求1所述的基于地毯识别的扫地机清扫方法,其中,所述预先配置的侦测设备包括超声波侦测设备,所述判断步骤包括:The cleaning method for a sweeper based on carpet recognition according to claim 1, wherein the pre-configured detection device includes an ultrasonic detection device, and the judgment step includes:
    所述超声波侦测设备基于所述待清扫对象的表面密度生成强度不同的超声波回波信号,将所述超声波回波信号的强度与预先设定的阈值进行比较,确定所述待清扫对象的类型。The ultrasonic detection device generates ultrasonic echo signals with different intensities based on the surface density of the object to be cleaned, and compares the intensity of the ultrasonic echo signal with a preset threshold to determine the type of the object to be cleaned .
  3. 如权利要求2所述的基于地毯识别的扫地机清扫方法,其中,所述预先设定的阈值包括第一阈值及第二阈值,所述将所述超声波回波信号的强度与预先设定的阈值进行比较,确定所述待清扫对象的类型包括:The cleaning method for a sweeper based on carpet identification according to claim 2, wherein the preset threshold includes a first threshold and a second threshold, and the intensity of the ultrasonic echo signal is compared with the preset threshold. The thresholds are compared to determine the type of the object to be cleaned, including:
    基于所述超声波回波信号的强度小于或等于第一阈值,确定所述待清扫对象为第二预设类型的对象;Based on the intensity of the ultrasonic echo signal being less than or equal to a first threshold, determining that the object to be cleaned is an object of a second preset type;
    基于所述超声波回波信号的强度大于第一阈值时且小于第二阈值,确定所述待清扫对象为第一预设类型的对象,其中,所述第一阈值小于所述第二阈值。When the strength of the ultrasonic echo signal is greater than a first threshold and less than a second threshold, it is determined that the object to be cleaned is an object of a first preset type, wherein the first threshold is less than the second threshold.
  4. 如权利要求1所述的基于地毯识别的扫地机清扫方法,其中,所述预先配置的侦测设备包括光流设备,所述判断步骤包括:The cleaning method for a sweeper based on carpet recognition according to claim 1, wherein the pre-configured detection device comprises an optical flow device, and the judgment step comprises:
    所述光流设备基于所述待清扫对象反射信号的强度进行判断,得到所述待清扫对象的类型。The optical flow device determines based on the intensity of the reflected signal of the object to be cleaned, and obtains the type of the object to be cleaned.
  5. 如权利要求1所述的基于地毯识别的扫地机清扫方法,其中,所述预先建立的待清扫场景的地图是通过预先配置的激光雷达扫描仪扫描得到的,具体的扫描过程包括:The method for cleaning a sweeper based on carpet recognition according to claim 1, wherein the pre-established map of the scene to be cleaned is obtained by scanning a pre-configured lidar scanner, and the specific scanning process includes:
    利用激光雷达扫描仪扫描所述待清扫场景的边距,或根据预定的边距轨迹线路执行行进操作,生成所述待清扫场景的地图。A lidar scanner is used to scan the margin of the scene to be cleaned, or a travel operation is performed according to a predetermined margin track line, so as to generate a map of the scene to be cleaned.
  6. 如权利要求1所述的基于地毯识别的扫地机清扫方法,其中,所述清扫步骤包括:The cleaning method for a sweeper based on carpet identification according to claim 1, wherein the cleaning step comprises:
    确定从所述待清扫场景的地图侦测到第一预设格式的标识,执行第一预设模式的清扫操作;It is determined that an identifier of the first preset format is detected from the map of the scene to be cleaned, and the cleaning operation in the first preset mode is performed;
    确定从所述待清扫场景的地图侦测到第二预设格式的标识,执行第三预设模式的清扫操作;It is determined that the identifier of the second preset format is detected from the map of the scene to be cleaned, and the cleaning operation of the third preset mode is performed;
    确定从所述待清扫场景的地图未侦测到第一预设格式标记及第二预设格式标记,执行第一预设模型的清扫操作及第二预设模式的清扫操作。It is determined that the first preset format marker and the second preset format marker are not detected from the map of the scene to be cleaned, and the cleaning operation of the first preset model and the cleaning operation of the second preset mode are performed.
  7. 一种电子装置,该电子装置包括:存储器及处理器,所述存储器上存储基于地毯识别的扫地机清扫程序,所述基于地毯识别的扫地机清扫程序被所述处理器执行,实现如下步骤:An electronic device, the electronic device comprising: a memory and a processor, the memory stores a sweeper cleaning program based on carpet recognition, the carpet recognition-based sweeper cleaning program is executed by the processor, and the following steps are implemented:
    判断步骤:利用预先配置的侦测设备侦测待清扫场景中的待清扫对象,根据所述侦测设备反馈的信号判断所述待清扫对象的类型;Judging step: use a preconfigured detection device to detect the object to be cleaned in the scene to be cleaned, and determine the type of the object to be cleaned according to the signal fed back by the detection device;
    第一标记步骤:确定判断所述待清扫对象为第一预设类型的对象,将该待清扫对象以第一预设格式的标识标记在预先建立的待清扫场景的地图中;The first marking step: it is determined and judged that the object to be cleaned is an object of a first preset type, and the object to be cleaned is marked in a pre-established map of the scene to be cleaned with an identifier of the first preset format;
    第二标记步骤:确定判断所述待清扫对象为第二预设类型的对象,将该待清扫对象以第二预设格式的标识标记在预先建立的待清扫场景的地图中;The second marking step: determining and judging that the object to be cleaned is an object of the second preset type, and marking the object to be cleaned in the pre-established map of the scene to be cleaned with an identifier of the second preset format;
    清扫步骤:基于所述第一预设格式的标识、所述第二预设格式的标识及所述待清扫场景的地图,对所述待清扫场景执行清扫操作。The cleaning step: performing a cleaning operation on the scene to be cleaned based on the identifier of the first preset format, the identifier of the second preset format and the map of the scene to be cleaned.
  8. 如权利要求7所述的电子装置,其中,所述预先配置的侦测设备包括超声波侦测设备,所述超声波侦测设备被设置为基于所述待清扫对象的表面密度生成强度不同的超声波回波信号,将所述超声波回波信号的强度与预先设定的阈值进行比较,确定所述待清扫对象的类型。7. The electronic device of claim 7, wherein the preconfigured detection device comprises an ultrasonic detection device configured to generate ultrasonic echoes of different intensities based on the surface density of the object to be cleaned wave signal, and compare the intensity of the ultrasonic echo signal with a preset threshold to determine the type of the object to be cleaned.
  9. 如权利要求8所述的电子装置,其中,所述预先设定的阈值包括第一阈值及第二阈值,所述超声波侦测设备被设置为基于所述超声波回波信号的强度小于或等于第一阈值,确定所述待清扫对象为第二预设类型的对象;8. The electronic device of claim 8, wherein the preset threshold includes a first threshold and a second threshold, and the ultrasonic detection device is set to be less than or equal to the first threshold based on the intensity of the ultrasonic echo signal. a threshold, determining that the object to be cleaned is an object of the second preset type;
    基于所述超声波回波信号的强度大于第一阈值时且小于第二阈值,确定所述待清扫对象为第一预设类型的对象,其中,所述第一阈值小于所述第二阈值。When the intensity of the ultrasonic echo signal is greater than a first threshold and less than a second threshold, it is determined that the object to be cleaned is an object of a first preset type, wherein the first threshold is less than the second threshold.
  10. 如权利要求7所述的电子装置,其中,所述预先配置的侦测设备包括光流设备,所述光流设备被设置为基于所述待清扫对象反射信号的强度进行分析,得到所述待清扫对象的类型。The electronic device according to claim 7, wherein the preconfigured detection device comprises an optical flow device, and the optical flow device is configured to analyze based on the intensity of the reflected signal of the object to be cleaned to obtain the to-be-cleaned object. The type of cleaning object.
  11. 如权利要求7所述的电子装置,其中,还包括激光雷达扫描仪,所述激光雷达扫描仪被设置为扫描所述待清扫场景的边距,或根据预定的边距轨迹线路执行行进操作,生成所述待清扫场景的地图。The electronic device according to claim 7, further comprising a lidar scanner, wherein the lidar scanner is configured to scan the margin of the scene to be cleaned, or perform a traveling operation according to a predetermined margin track line, A map of the scene to be cleaned is generated.
  12. 如权利要求7所述的电子装置,其中,扫地机被设置为确定从所述待清扫场景的地图侦测到第一预设格式的标识,执行第一预设模式的清扫操作;The electronic device according to claim 7, wherein the sweeper is configured to determine that an identifier of the first preset format is detected from the map of the scene to be cleaned, and perform the cleaning operation in the first preset mode;
    确定从所述待清扫场景的地图侦测到第二预设格式的标识,执行第三预设模式的清扫操作;It is determined that the identifier of the second preset format is detected from the map of the scene to be cleaned, and the cleaning operation of the third preset mode is performed;
    确定从所述待清扫场景的地图未侦测到第一预设格式标记及第二预设格式标记,执行第一预设模型的清扫操作及第二预设模式的清扫操作。It is determined that the first preset format marker and the second preset format marker are not detected from the map of the scene to be cleaned, and the cleaning operation of the first preset model and the cleaning operation of the second preset mode are performed.
  13. 一种计算机可读存储介质,其中,所述计算机可读存储介质中包括基于地毯识别的扫地机清扫程序,所述基于地毯识别的扫地机清扫程序被处理器执行时,可实现如权利要求1所述基于地毯识别的扫地机清扫方法的步骤。A computer-readable storage medium, wherein the computer-readable storage medium includes a sweeper cleaning program based on carpet identification, and when the carpet identification-based sweeper cleaning program is executed by a processor, the method as claimed in claim 1 can be implemented. The steps of the sweeper cleaning method based on carpet recognition.
PCT/CN2021/081334 2020-11-04 2021-03-17 Carpet recognition-based cleaning method for robot mop, electronic device, and storage medium WO2022095320A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011216807.0 2020-11-04
CN202011216807.0A CN112353295A (en) 2020-11-04 2020-11-04 Carpet recognition-based sweeping method of sweeper, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2022095320A1 true WO2022095320A1 (en) 2022-05-12

Family

ID=74512815

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/081334 WO2022095320A1 (en) 2020-11-04 2021-03-17 Carpet recognition-based cleaning method for robot mop, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN112353295A (en)
WO (1) WO2022095320A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024148949A1 (en) * 2023-01-11 2024-07-18 杭州萤石软件有限公司 Carpet area detection method and apparatus, and cleaning robot

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112353295A (en) * 2020-11-04 2021-02-12 深圳市普森斯科技有限公司 Carpet recognition-based sweeping method of sweeper, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108514381A (en) * 2018-03-14 2018-09-11 深圳市沃特沃德股份有限公司 Method, apparatus of sweeping the floor and sweeping robot
CN109846427A (en) * 2019-01-16 2019-06-07 深圳乐动机器人有限公司 A kind of control method and clean robot of clean robot
CN109984688A (en) * 2019-04-18 2019-07-09 深圳乐行天下科技有限公司 A kind of clean method in Robot side and robot
CN110897554A (en) * 2019-11-08 2020-03-24 微思机器人(深圳)有限公司 Sweeper control method based on ultrasonic waves and sweeper
JP2020052601A (en) * 2018-09-26 2020-04-02 パナソニックIpマネジメント株式会社 Autonomous travel cleaner and control method
CN112353295A (en) * 2020-11-04 2021-02-12 深圳市普森斯科技有限公司 Carpet recognition-based sweeping method of sweeper, electronic device and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101752190B1 (en) * 2010-11-24 2017-06-30 삼성전자주식회사 Robot cleaner and method for controlling the same
CN211212955U (en) * 2019-10-21 2020-08-11 江苏美的清洁电器股份有限公司 Intelligent sweeper

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108514381A (en) * 2018-03-14 2018-09-11 深圳市沃特沃德股份有限公司 Method, apparatus of sweeping the floor and sweeping robot
JP2020052601A (en) * 2018-09-26 2020-04-02 パナソニックIpマネジメント株式会社 Autonomous travel cleaner and control method
CN109846427A (en) * 2019-01-16 2019-06-07 深圳乐动机器人有限公司 A kind of control method and clean robot of clean robot
CN109984688A (en) * 2019-04-18 2019-07-09 深圳乐行天下科技有限公司 A kind of clean method in Robot side and robot
CN110897554A (en) * 2019-11-08 2020-03-24 微思机器人(深圳)有限公司 Sweeper control method based on ultrasonic waves and sweeper
CN112353295A (en) * 2020-11-04 2021-02-12 深圳市普森斯科技有限公司 Carpet recognition-based sweeping method of sweeper, electronic device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024148949A1 (en) * 2023-01-11 2024-07-18 杭州萤石软件有限公司 Carpet area detection method and apparatus, and cleaning robot

Also Published As

Publication number Publication date
CN112353295A (en) 2021-02-12

Similar Documents

Publication Publication Date Title
WO2022095320A1 (en) Carpet recognition-based cleaning method for robot mop, electronic device, and storage medium
CN113189614B (en) Obstacle recognition method, obstacle recognition device and storage medium
US8326019B2 (en) Apparatus, method, and medium for dividing regions by using feature points and mobile robot using the same
CN110442120B (en) Method for controlling robot to move in different scenes, robot and terminal equipment
CN111248818B (en) State control method, sweeping robot and computer storage medium
EP2447800A2 (en) Robot cleaner and controlling method of the same
CN111568314A (en) Cleaning method and device based on scene recognition, cleaning robot and storage medium
CN110448225B (en) Cleaning strategy adjusting method and system and cleaning equipment
CN112369982B (en) Threshold identification method and device, sweeping robot and storage medium
US9766717B2 (en) Optical pointing system
CN111158374A (en) Repositioning method, repositioning system, mobile robot and storage medium
US11819184B2 (en) Auto clean machine, cliff determining method and surface type determining method
US20220007908A1 (en) Auto clean machine and auto clean machine control method
CN112155476B (en) Robot control method and device, electronic equipment and storage medium
CN113064409A (en) Dynamic partitioning method and system and cleaning equipment
WO2023155731A1 (en) Operation control method and apparatus for cleaning device, and storage medium and electronic apparatus
WO2023088063A1 (en) Control method and apparatus for cleaning robot
CN112704437B (en) Sweeping robot control method, equipment and storage medium
CN110658131A (en) Object judgment system and electronic device capable of selecting operation mode according to object components
CN115363478A (en) Cleaning method for failure in relocation of cleaning robot and cleaning robot
JP2021144594A (en) Autonomous mobile vacuum cleaner, control method of autonomous mobile vacuum cleaner, and program
CN114428497A (en) Sweeping robot control method and device, sweeping robot and readable storage medium
JP2022021145A (en) Autonomous travel type cleaner, method for controlling autonomous travel type cleaner, and program
CN112386188B (en) Sweeping control method and device and storage medium
CN114859922A (en) Mobile robot positioning method and device, storage medium and electronic equipment

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: 21888024

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21888024

Country of ref document: EP

Kind code of ref document: A1