Map switching method and device, cleaning equipment, and storage medium

By obtaining and matching the characteristic data of the detection area of ​​the cleaning equipment, the map is automatically switched, which solves the cumbersome problem of manual map switching in the multi-floor environment in the existing technology, and improves the automation and user experience of the cleaning equipment.

CN113590728BActive Publication Date: 2024-10-29BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110778294.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-09
Publication Date
2024-10-29
Estimated Expiration
2041-07-09

AI Technical Summary

Technical Problem

Existing cleaning equipment requires users to manually switch maps in a multi-floor environment, resulting in cumbersome operations and low efficiency.

Method used

By obtaining the initial characteristic data of the detection area where the cleaning equipment is located, it automatically matches and switches to the target map, realizing map switching without manual switching. The method includes using modules such as positioning modules, communication modules, sensor modules, and camera modules to obtain height data, signal strength, spatial features, and image features, and establish corresponding relationships to automatically locate and switch maps.

Benefits of technology

It improves the automation of cleaning equipment, reduces user operation steps, improves cleaning efficiency and user experience, and enables fast and accurate map switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113590728B_ABST
    Figure CN113590728B_ABST
Patent Text Reader

Abstract

The disclosed embodiments relate to a map switching method and device, a cleaning device, and a storage medium. The method comprises: obtaining initial feature data corresponding to the detection area where the cleaning device is located, and obtaining a target map matching the initial feature data; switching to the target map so that the cleaning device performs a cleaning task according to the target map. In this embodiment, by automatically locating the detection area and switching to the target map corresponding to the detection area, there is no need for the user to manually switch, which is conducive to improving cleaning efficiency and user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of control technology, and in particular to a map switching method and device, a cleaning device, and a storage medium. Background Art

[0002] Cleaning equipment can automatically clean the area to be cleaned, and can replace the user's cleaning work on the ground, reducing the burden of housework, and therefore is increasingly recognized by users.

[0003] In actual applications, some houses have multiple floors. In this case, only the map of each floor can be stored in the cleaning device. When cleaning rooms on different floors, the user needs to manually select the floor. The cleaning device switches to the corresponding map according to the floor selected by the user and performs the cleaning task according to the map. Summary of the invention

[0004] The present disclosure provides a map switching method and device, a cleaning device, and a storage medium to address the deficiencies of related technologies.

[0005] According to a first aspect of an embodiment of the present disclosure, a map switching method is provided for cleaning a device, comprising:

[0006] Acquire initial feature data corresponding to the detection area where the cleaning device is located, and acquire a target map matching the initial feature data;

[0007] Switch to the target map so that the cleaning device performs the cleaning task according to the target map.

[0008] Optionally, the detection area includes one of the following: an area where a physical charging seat is located and an area where a virtual charging seat is located.

[0009] Optionally, the method further comprises the step of creating a virtual charging station, comprising:

[0010] The characteristic data is acquired based on the current position of the cleaning device, the current position is used as the position of the virtual charging seat, and the circular area or rectangular area centered on the virtual charging seat is used as the area where the virtual charging seat is located.

[0011] Optionally, the method further comprises:

[0012] When feature data that is different from other areas to be cleaned cannot be obtained at the current position, the feature data is continuously obtained after randomly moving a set distance until feature data that is different from other areas to be cleaned is obtained.

[0013] Optionally, obtaining initial feature data corresponding to the detection area where the cleaning device is located, and obtaining a target map matching the initial feature data, includes:

[0014] Acquire height data collected by a positioning module in a cleaning device, and use the height data as initial feature data corresponding to the detection area; the height data represents the height difference data between the detection area where the cleaning device is located and a preset reference plane; and,

[0015] Based on the corresponding relationship between the preset altitude data and the map, a target map matching the altitude data is obtained.

[0016] Optionally, the positioning module includes at least one of the following: a GPS module, a Zigbee module, a UWB module, an infrared module, an ultrasonic module, a laser module and a depth camera module.

[0017] Optionally, obtaining initial feature data corresponding to the detection area where the cleaning device is located, and obtaining a target map matching the initial feature data, includes:

[0018] Acquire the signal strength between the communication module in the cleaning device and each preset communication device, and obtain the target device corresponding to the maximum signal strength; use the target device as the initial feature data corresponding to the detection area;

[0019] Based on the corresponding relationship between the preset communication device and the map, a target map corresponding to the target device is obtained.

[0020] Optionally, the preset communication device includes at least one of the following: a WiFi module, a Zigbee module, a UWB module and a Bluetooth module.

[0021] Optionally, obtaining initial feature data corresponding to the detection area where the cleaning device is located, and obtaining a target map matching the initial feature data, includes:

[0022] Controlling the sensor module in the cleaning device to transmit pulse signals in all directions, and obtaining echo signals returned by the pulse signals after encountering an object;

[0023] Calculating the distance between the sensor module and the object according to the time interval between the echo signal and the pulse signal;

[0024] Constructing spatial features of the space around the cleaning device according to the distance, and using the spatial features as initial feature data corresponding to the detection area;

[0025] Based on the preset correspondence between the spatial feature and the map, a target map corresponding to the spatial feature is obtained.

[0026] Optionally, the sensor module includes at least one of the following: a Zigbee module, a UWB module, an infrared module, an ultrasonic module, a laser module and a depth camera module.

[0027] Optionally, obtaining initial feature data corresponding to the detection area where the cleaning device is located, and obtaining a target map matching the initial feature data, includes:

[0028] Controlling the camera module in the cleaning device to acquire images in various directions;

[0029] Acquire a target object in the image, and use the target object as initial feature data corresponding to the detection area; and

[0030] Based on a preset correspondence between objects and maps, a target map corresponding to the target object is obtained.

[0031] According to a second aspect of an embodiment of the present disclosure, a map switching device is provided, for use in cleaning equipment, comprising:

[0032] A map acquisition module, used to acquire initial feature data corresponding to the detection area where the cleaning device is located, and to acquire a target map matching the initial feature data;

[0033] A map switching module is used to switch to the target map so that the cleaning device performs the cleaning task according to the target map.

[0034] Optionally, the detection area includes one of the following: an area where a physical charging seat is located and an area where a virtual charging seat is located.

[0035] Optionally, the device further comprises a virtual creation module for creating a virtual charging station, wherein the virtual creation module comprises:

[0036] A first option display unit, used to display a create map option in the display interface;

[0037] A second option display unit is used to display an existing physical charging station option and a create virtual charging station option in the display interface when it is detected that the create map option is triggered;

[0038] A third option display unit, configured to display a cancel option and a confirm option in the display interface when detecting that the option of creating a virtual charging station is triggered;

[0039] The virtual creation unit is used to obtain feature data based on the current position of the cleaning device when it detects that the confirmation option is triggered, and uses the current position as the position of the virtual charging seat and the circular area or rectangular area centered on the virtual charging seat as the area where the virtual charging seat is located.

[0040] Optionally, the virtual creation unit is also used to, when feature data that is different from other areas to be cleaned cannot be obtained at the current position, continue to obtain feature data after randomly moving a set distance until feature data that is different from other areas to be cleaned is obtained.

[0041] Optionally, the map acquisition module includes:

[0042] A data acquisition unit, used to acquire height data collected by a positioning module in a cleaning device, and use the height data as initial feature data corresponding to the detection area; the height data represents the height difference data between the detection area where the cleaning device is located and a preset reference plane;

[0043] The map acquisition unit is used to acquire a target map matching the altitude data based on a preset correspondence between the altitude data and the map.

[0044] Optionally, the map acquisition module includes:

[0045] A device acquisition unit is used to acquire the signal strength between the communication module in the cleaning device and each preset communication device, and obtain the target device corresponding to the maximum signal strength; the target device is used as the initial feature data corresponding to the detection area; and

[0046] The map acquisition unit is used to acquire the target map corresponding to the target device based on the corresponding relationship between the preset communication device and the map.

[0047] Optionally, the map acquisition module includes:

[0048] A signal transmitting unit, used to control the sensor module in the cleaning device to transmit pulse signals in all directions, and obtain the echo signal returned after the pulse signal encounters an object;

[0049] A distance acquisition unit, used for calculating the distance between the sensor module and the object according to the time interval between the echo signal and the pulse signal;

[0050] A feature acquisition unit, configured to construct a spatial feature of the space around the cleaning device according to the distance, and use the spatial feature as initial feature data corresponding to the detection area;

[0051] The map acquisition unit is used to acquire a target map corresponding to the spatial feature based on a preset correspondence between the spatial feature and the map.

[0052] Optionally, the map acquisition module includes:

[0053] An image acquisition unit, used to control the camera module in the cleaning device to acquire images in various directions;

[0054] An object acquisition unit, used to acquire a target object in the image and use the target object as initial feature data corresponding to the detection area;

[0055] The map acquisition unit is used to acquire the target map corresponding to the target object based on the preset correspondence between the object and the map.

[0056] According to a third aspect of an embodiment of the present disclosure, there is provided a cleaning device, comprising:

[0057] processor;

[0058] a memory for storing a computer program executable by the processor;

[0059] The processor is configured to execute the computer program in the memory to implement any of the methods described above.

[0060] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, and when an executable computer program in the storage medium is executed by a processor, any of the methods described above can be implemented.

[0061] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0062] The solution provided by the embodiment of the present disclosure can obtain a target map matching the initial feature data by obtaining the initial feature data corresponding to the detection area where the cleaning device is located; then switch to the target map so that the cleaning device performs the cleaning task according to the target map. In this way, by automatically locating the detection area and switching to the target map corresponding to the detection area, the user does not need to switch manually, which is conducive to improving cleaning efficiency and user experience.

[0063] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0065] Figure 1 The figure is a flowchart of a map switching method according to an exemplary embodiment.

[0066] Figure 2 The figure is a flow chart of another map switching method according to an exemplary embodiment.

[0067] Figure 3 is a flowchart of yet another map switching method according to an exemplary embodiment.

[0068] Figure 4 is a flowchart of yet another map switching method according to an exemplary embodiment.

[0069] Figure 5 is a flowchart of yet another map switching method according to an exemplary embodiment.

[0070] Figure 6 The figure is a block diagram of a map switching device according to an exemplary embodiment.

[0071] Figure 7 It is a block diagram of a cleaning device according to an exemplary embodiment. DETAILED DESCRIPTION

[0072] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described exemplarily below do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the attached claims. In addition, the features between the subsequent embodiments can be combined with each other to form new embodiments, unless otherwise conflicting.

[0073] In order to solve the above technical problems, the embodiments of the present disclosure provide a map switching method, which is applicable to cleaning equipment, such as (small / household) sweeping robots and (large / commercial) cleaning robots. Figure 1 is a flow chart showing a map switching method according to an exemplary embodiment. Figure 1 , a map switching method, comprising steps 11 and 12.

[0074] In step 11, initial feature data corresponding to the detection area where the cleaning device is located is obtained, and a target map matching the initial feature data is obtained.

[0075] In this embodiment, it is considered that the moment when the cleaning device switches the map is usually when the area to be cleaned is changed, such as when changing floors, such as moving from the 2nd floor to the 3rd floor; or when changing rooms, such as moving from one room to another, where there is a gap between the two rooms, and the cleaning device cannot pass through the gap. Therefore, in this embodiment, when it is necessary to clean the area to be cleaned, the cleaning device can be placed in the detection area by the user, and then start cleaning from the detection area. Among them, the detection area may include one of the following: the area where the physical charging seat is located and the area where the virtual charging seat is located. The area can be, for example, a circular area or a rectangular area, or an area of ​​other shapes. Those skilled in the art should understand that it can be set according to the specific scenario, and the present disclosure does not limit this. Considering that the cleaning device needs to switch to the target map before working, the cleaning device can use the position where it is turned on as the detection area.

[0076] It is understandable that in some scenarios, some users may not place the cleaning device directly in the above detection area. In this case, the cleaning device can first find the above detection area and then execute the disclosed method. In some scenarios, the detection areas before and after switching to the area to be cleaned may be similar or even the same. To avoid making an erroneous map, the cleaning device can randomly move in one direction until it finds a detection area with different characteristics from other detection areas.

[0077] In one embodiment, a detection area can be created for the cleaning device. Taking different floors as an example, the user usually sets up a power socket on a certain floor, and sets up a physical charging base that matches the cleaning device near the power socket; when the physical charging base is plugged into the power socket, the cleaning device can autonomously return to the physical charging base or near the physical charging base for charging. The cleaning device can determine the location of the physical charging base by communicating with the physical charging base, obtain the area where the physical charging base is located (such as a circular area or a rectangular area centered on the physical charging base), and thus obtain the detection area.

[0078] In actual applications, the cleaning device is usually equipped with a physical charging seat, which is usually set in one of the areas to be cleaned (such as floor one), and no physical charging seat is set in other areas to be cleaned. In combination with the above application scenarios, in some examples, the cleaning device can create a virtual charging seat in the area to be cleaned where the physical charging seat is not set, so that the virtual charging seat corresponds to the above physical charging seat, thereby achieving the effect of each area to be cleaned being provided with a charging seat. Accordingly, the area where the virtual charging seat is located (i.e., a circular area or a rectangular area centered on the virtual charging seat, whose radius or side length can be adjusted as needed) constitutes the detection area.

[0079] It is understandable that when the area to be cleaned is large, the area to be cleaned can be divided into multiple sub-areas according to the specific scenario, and then a virtual charging seat is created for each sub-area, and the corresponding scheme also falls within the protection scope of the present disclosure.

[0080] In this embodiment, the cleaning device can create a virtual charging seat in the following ways, including: the cleaning device can display a create map option in the display interface; when it is detected that the create map option is triggered, the cleaning device can display an existing physical charging seat option and a create virtual charging seat option in the display interface; when it is detected that the create virtual charging seat option is triggered, the cleaning device can display a cancel option and a confirm option in the display interface; when it is detected that the confirm option is triggered, the cleaning device can obtain feature data based on the current position. When the feature data is different from the stored feature data, the current position can be used as the position of the virtual charging seat, and the circular area or rectangular area centered on the virtual charging seat can be used as the area where the virtual charging seat is located.

[0081] In another example, the cleaning device may be provided with an audio component that can detect audio signals. When the cleaning device receives preset instructions from the audio signal, such as "Please create a virtual charging seat". When the preset instructions are recognized, feature data can be obtained based on the current position, so that the current position can be used as the position of the virtual charging seat, and the circular area or rectangular area centered on the virtual charging seat is used as the area where the virtual charging seat is located. In yet another example, the cleaning device may be provided with an image acquisition component that can recognize the user's gestures or postures. When the cleaning device recognizes the preset gestures or postures, a virtual charging seat can be created, that is, feature data can be obtained based on the current position, so that the current position can be used as the position of the virtual charging seat, and the circular area or rectangular area centered on the virtual charging seat is used as the area where the virtual charging seat is located.

[0082] If the current position cannot obtain characteristic data that is different from other areas to be cleaned, the cleaning device will randomly move a set distance (such as 5 to 10 cm) and continue to obtain characteristic data until characteristic data different from the stored characteristic data is obtained. In this way, the current position can be used as the position of the virtual charging seat, and the area corresponding to the characteristic data can be obtained as the area where the virtual charging seat is located, that is, the detection area corresponding to the virtual charging seat.

[0083] In other words, in this example, a starting area is set for the cleaning device on each floor. When the cleaning device is in the starting area, the characteristic data corresponding to the starting area can be determined, and the floor can be uniquely determined through the characteristic data. Then, the cleaning device can perform the cleaning task and create a map of the floor. The method of creating the map can refer to the relevant technology and will not be described here. Afterwards, the cleaning device can associate the characteristic data with the map to obtain the correspondence between the characteristic data and the map, that is, to obtain the correspondence between the floor and the map. In this way, the cleaning device can obtain the characteristic data and obtain the map in combination with the above correspondence the next time it is located in the above-mentioned detection area.

[0084] In this embodiment, a module capable of collecting feature data is provided in the cleaning device, and the module may include at least one of the following: a positioning module, a communication module, and a sensor module. The module may collect and obtain feature data according to a set period or in real time, and output the feature data to a processor in the cleaning device or store it in a specified location. The specified location may be a cache, a local memory, or a cloud of the cleaning device.

[0085] In this embodiment, the processor in the cleaning device can communicate directly with the above-mentioned module until the above-mentioned characteristic data is obtained, or the characteristic data is read from a specified position. In some examples, the processor directly uses the above-mentioned characteristic data (such as height data) as the initial characteristic data; in some examples, the processor can process the above-mentioned characteristic data (such as echo signals) to obtain the required characteristic data, and use the processed characteristic data as the initial characteristic data. It should be noted that the scheme for the cleaning device to obtain the initial characteristic data will be described in detail in subsequent embodiments and will not be described here.

[0086] In this embodiment, after obtaining the initial feature data, the cleaning device can obtain a target map that matches the initial feature data. The method of obtaining the target map will be described in detail in subsequent embodiments. It is understandable that the target map includes cleaning routes, such as the minimum time cleaning route, the cleanest cleaning route, the shortest cleaning route, the commonly used cleaning route, etc.

[0087] In step 12, switch to the target map so that the cleaning device performs the cleaning task according to the target map.

[0088] In this embodiment, the cleaning device can switch to the target map and perform the cleaning task according to the target map. In one example, when performing the cleaning task according to the target map, if the collision exceeds the set number (such as 5 times), the cleaning device can start the map reconstruction function and associate the new map with the detection area after the cleaning is completed. The original target map can be retained or replaced according to the specific situation, which is not limited here.

[0089] Thus, the solution provided by the embodiment of the present disclosure can obtain the target map matching the initial feature data by obtaining the initial feature data corresponding to the detection area where the cleaning device is located; then switch to the target map so that the cleaning device performs the cleaning task according to the target map. In this way, by automatically locating the detection area and switching to the target map corresponding to the detection area, the user does not need to switch manually, which is conducive to improving the cleaning efficiency and user experience.

[0090] The disclosed embodiment provides a map switching method, which is applicable to a cleaning device, and the cleaning device may include a positioning module. The positioning module can collect the height data of the cleaning device, and may include at least one of the following: a GPS module, a Zigbee module, a UWB module, an infrared module, an ultrasonic module, a laser module, and a depth camera module. The height data represents the height difference data between the detection area where the cleaning device is located and the preset reference plane; the preset reference plane may include a horizontal plane or a specified plane (such as the plane where the first floor is located), which can be set according to the specific scene. Figure 2 is a flow chart showing a map switching method according to an exemplary embodiment. Figure 2 , a map switching method, comprising steps 21 to 23.

[0091] In step 21, the height data collected by the positioning module in the cleaning device is obtained, and the height data is used as the initial feature data corresponding to the detection area.

[0092] In this embodiment, the positioning module in the cleaning device can collect height data according to a set period or in real time. In some possible implementations, the height data can be the altitude of the detection point or the height from the ground plane or the height from a specific ground of the floor.

[0093] Taking the positioning module as a GPS module as an example, first, the GPS module can obtain the height of multiple detection points in the detection area from the ground. Then, a part of the detection points are selected from the above multiple detection points as key points. The number and position of the key points need to meet certain conditions, for example, the positions of two key points need to exceed the set distance threshold and / or the number of key points exceeds the set number threshold, etc. After that, the height of each key point and the difference between the height of each key point from the ground and the leveling height (i.e., the elevation anomaly) are calculated using the leveling method. Furthermore, based on the above elevation anomaly value, the elevation fitting is performed using a plane or surface fitting method to obtain the height data of other detection points in the detection area.

[0094] Taking the positioning module as a laser module as an example, first, the laser module can emit laser signals to the surroundings within the detection area, such as emitting laser signals to the ceiling; then, the laser module can obtain the distance value between each detection point and the ceiling. After that, the cleaning equipment can obtain the distance value corresponding to each detection point, and calculate the average value corresponding to the detection area, and then use the average value as the height data. Since the heights of different floors are different, when the detection area is fixed, the corresponding height data is also fixed. Therefore, the detection area can be determined through the height data, and then the floor can be determined.

[0095] It should be noted that in the above embodiment, the distance value of each detection point is determined based on the ceiling. However, in actual applications, the method of determining the detection area is not limited to this. For example, the cleaning equipment can obtain the above height data based on the nearest corner, wall, column, air-conditioning outlet and other objects in the floor to the detection area, and then determine the floor where it is located. The corresponding solution falls within the protection scope of this disclosure.

[0096] It should be noted that, considering that the height difference between different floors may be relatively small (such as less than 0.5 cm), the distance between the front, rear, left and right walls and the laser module can be increased when detecting at each detection point, that is, in addition to the distance to the ceiling, the distance to at least one of the front, rear, left and right walls is also included, so as to more accurately identify the floor and apply the corresponding map, and the corresponding scheme falls within the protection scope of the present disclosure.

[0097] It should also be noted that when the positioning module adopts other modules, such as Zigbee module, UWB module, infrared module, ultrasonic module and / or depth camera module, the detection principle is similar. Taking the UWB module as an example, at least 3 UWB base stations can be set in each area to be cleaned, or at least 3 UWB base stations can be set in the public areas of each floor, and the above 3 UWB base stations are not on the same plane. The UWB module in the cleaning equipment can receive the UWB signal transmitted by the above-mentioned UWB base stations, so as to calculate the spatial position of the cleaning equipment, that is, to obtain the height data of the distance reference. It is understandable that the technician combines the positioning modules according to the above method to obtain the scheme of height data, and the corresponding scheme falls within the protection scope of the present disclosure.

[0098] In step 22, based on the preset correspondence between the altitude data and the map, a target map matching the altitude data is obtained.

[0099] In this embodiment, the cleaning device may store the correspondence between the preset height data and the map. For example, each map corresponds to a set of height data or a range of height data. Figure 1 The corresponding height data range is 0 to 2m, that is, Figure 1Corresponding to floor 1; ground Figure 2 The corresponding height data range is 2 to 4 meters. Figure 2 Corresponding to the second floor; Figure 3 The corresponding height data range is 4 to 6 meters. Figure 3 Corresponding to floor three, and so on.

[0100] In this embodiment, after obtaining the height data corresponding to the detection data, the cleaning device can obtain the correspondence between the above height data and the map, and obtain the target map matching the height data based on the height data and the above correspondence.

[0101] Assuming the height data is 2.5m, it is within the height data range of 2 to 4m. Figure 2 is the target map that matches this height data.

[0102] In step 23, switch to the target map so that the cleaning device performs the cleaning task according to the target map.

[0103] In this embodiment, the content of step 23 is the same as that of step 12. For details, see the content of step 12 and the attached Figure 1 , I will not go into details here.

[0104] Thus, the solution provided by the embodiment of the present disclosure can obtain the target map that matches the height data by obtaining the height data corresponding to the detection area where the cleaning device is located; then switch to the target map so that the cleaning device performs the cleaning task according to the target map. In this way, the present embodiment can automatically locate the detection area and switch to the target map corresponding to the detection area without the need for manual switching by the user, which is conducive to improving the cleaning efficiency and user experience; and, the present embodiment requires fewer computing resources, which is conducive to improving computing efficiency and achieving the effect of quickly switching maps for cleaning.

[0105] An embodiment of the present disclosure provides a map switching method applicable to a cleaning device, which may include a communication module for receiving communication signals and may include at least one of the following: a WiFi module, a Zigbee module, a UWB module, and a Bluetooth module. Figure 3 is a flow chart showing a map switching method according to an exemplary embodiment. Figure 3 , a map switching method, comprising steps 31 to 33.

[0106] In step 31, the signal strength between the communication module in the cleaning device and each preset communication device is obtained to obtain the target device corresponding to the maximum signal strength; the target device is used as the initial feature data corresponding to the detection area.

[0107] In this embodiment, the communication module in the cleaning device can obtain the communication signals transmitted by each preset communication device, thereby obtaining the signal strength with each preset communication device. Then, the cleaning device can sort the signal strengths to obtain the maximum signal strength and the target device corresponding to the maximum signal strength. It is understandable that the cleaning device can use the above target device as the initial feature data corresponding to the detection area.

[0108] In step 32, based on the correspondence between the preset communication device and the map, the target map corresponding to the target device is obtained.

[0109] In this embodiment, the cleaning device may store the correspondence between the preset communication devices and the maps. For example, each map corresponds to a preset communication device, and each map corresponds to a preset communication device. Figure 1 Corresponding to the preset communication device 1, that is, Figure 1 Corresponding to floor 1; ground Figure 2 Corresponding to the preset communication device 2, that is, Figure 2 Corresponding to the second floor; Figure 3 Corresponding to preset communication device three, namely Figure 3 Corresponding to floor three, and so on.

[0110] In this embodiment, after obtaining the target device corresponding to the detection data, the cleaning device can obtain the correspondence between the above-mentioned preset communication device and the map, and obtain the target map matching the target device based on the target device and the above-mentioned correspondence.

[0111] Taking the example of setting a preset communication device for each area to be cleaned and the preset communication device using a Bluetooth module, when the cleaning device is placed in the detection area and turned on, the cleaning device can scan the Bluetooth communication signal in the space and obtain the signal strength with each Bluetooth module. The method of obtaining the Bluetooth signal strength can adopt related technologies, which will not be repeated here. Then, the cleaning device can obtain the target Bluetooth module corresponding to the maximum signal strength. After that, the cleaning device can obtain the target map according to the target Bluetooth module and the above correspondence. It should be noted that when the communication module adopts other modules, such as WiFi module, Zigbee module and UWB module, the detection principle is similar, which will not be repeated here.

[0112] In step 33, switch to the target map so that the cleaning device performs the cleaning task according to the target map.

[0113] In this embodiment, the content of step 33 is the same as that of step 12. For details, see the content of step 12 and the attached Figure 1 , I will not go into details here.

[0114] Thus, the solution provided by the embodiment of the present disclosure can obtain the target map that matches the height data by obtaining the height data corresponding to the detection area where the cleaning device is located; then switch to the target map so that the cleaning device performs the cleaning task according to the target map. In this way, the present embodiment can automatically locate the detection area and switch to the target map corresponding to the detection area without the need for manual switching by the user, which is conducive to improving the cleaning efficiency and user experience; and, the present embodiment requires fewer computing resources, which is conducive to improving computing efficiency and achieving the effect of quickly switching maps for cleaning.

[0115] An embodiment of the present disclosure provides a map switching method applicable to a cleaning device, which may include a sensor module, and the sensor module may include at least one of the following: a Zigbee module, a UWB module, an infrared module, an ultrasonic module, a laser module, and a depth camera module. Figure 4 is a flow chart showing a map switching method according to an exemplary embodiment. Figure 4 , a map switching method, comprising steps 41 to 45.

[0116] In step 41, the sensor module in the cleaning device is controlled to emit pulse signals in all directions, and an echo signal returned after the pulse signal encounters an object is acquired.

[0117] In this embodiment, the cleaning device can control the sensor module to transmit pulse signals in all directions. The pulse signal will form an echo signal after encountering an object, and the cleaning device can obtain the echo signal.

[0118] In step 42, the distance between the sensor module and the object is calculated according to the time interval between the echo signal and the pulse signal.

[0119] In this embodiment, the cleaning equipment can obtain the time interval between the reception time of the echo signal and the emission time of the pulse signal, and calculate the distance between the sensor module and the object based on the speed of the electromagnetic wave signal (the speed of light), that is, the distance d = c*T / 2, c represents the speed of light, and T represents the above time interval.

[0120] In step 43, the spatial features of the space around the cleaning device are constructed according to the distance, and the spatial features are used as initial feature data corresponding to the detection area.

[0121] In this embodiment, the cleaning device can obtain the distances obtained in each direction to construct the spatial features of the space around the cleaning device, that is, to obtain 3D spatial features. At this time, the cleaning device can detect the initial feature data corresponding to the spatial feature detection area. It is understandable that the above spatial features can reflect the layout of objects in the space when the cleaning device is located in the detection area. Since the object layout of each floor is different, the floor can be determined when the above spatial features are obtained.

[0122] In step 44, based on the preset correspondence between the spatial feature and the map, a target map corresponding to the spatial feature is obtained.

[0123] In this embodiment, the cleaning device may store the preset correspondence between the spatial features and the map, that is, the cleaning device obtains the feature data of each floor in the detection area of ​​each floor, creates a map of the floor after completing the cleaning task, and then associates the spatial features of the floor with the map, and finally obtains the correspondence between the spatial features and the map. In this embodiment, after obtaining the spatial features, the cleaning device may combine the correspondence between the spatial features and the map to obtain the target map corresponding to the spatial features.

[0124] In step 45, switch to the target map so that the cleaning device performs the cleaning task according to the target map.

[0125] In this embodiment, the content of step 45 is the same as that of step 12. For details, see the content of step 12 and the attached Figure 1 , I will not go into details here.

[0126] Thus, the solution provided by the embodiment of the present disclosure can obtain a target map matching the spatial features by obtaining the spatial features corresponding to the detection area where the cleaning device is located; then switch to the target map so that the cleaning device performs the cleaning task according to the target map. In this way, the present embodiment can automatically locate the detection area and switch to the target map corresponding to the detection area without the need for manual switching by the user, which is conducive to improving cleaning efficiency and user experience.

[0127] An embodiment of the present disclosure provides a map switching method applicable to a cleaning device, which may include a camera module. Figure 5 is a flow chart showing a map switching method according to an exemplary embodiment. Figure 5 , a map switching method, comprising steps 51 to 54.

[0128] In step 51, the camera module in the cleaning device is controlled to acquire images in various directions.

[0129] In this embodiment, the cleaning device can control the camera module to obtain images in various directions. For example, the camera module can capture images in the current direction, and then continue to obtain images after offsetting according to a preset offset angle until images in all directions around are obtained. The processor in the cleaning device can communicate with the camera module to obtain the above images.

[0130] In step 52, a target object in the image is acquired, and the target object is used as initial feature data corresponding to the detection area.

[0131] In this embodiment, the cleaning device may store a preset image recognition model, such as VGGNe, GoogLeNet, ResNet, DenseNet, and SeNet. In this way, the cleaning device may input the acquired image into the above image recognition model, and the image recognition model may identify the target object in the image, and use the target object as the initial feature data corresponding to the detection area. The above target object may refer to an object that can distinguish different floors, such as corners, stairs, wall lines, decorative lights, floors, floor tiles, etc. in the floor.

[0132] In step 53, based on the preset correspondence between the object and the map, the target map corresponding to the target object is obtained.

[0133] In this embodiment, the cleaning device may store a preset correspondence between objects and maps, for example, Figure 1 The corresponding object is floor tiles, i.e. Figure 1 Corresponding to the floor tiles on floor one; Figure 2 The corresponding object is the stairs, that is, the ground Figure 2 Corresponding to the stairs on the second floor; Figure 3 The corresponding object is the wall line, that is, the ground Figure 3 Corresponding to the wall line on floor three.

[0134] In this embodiment, when obtaining the target object, the cleaning device can combine the correspondence between the above-mentioned object and the map to obtain the target map corresponding to the target object. For example, when a floor tile is identified in the image, the floor tile corresponding to the map can be determined. Figure 3 The target map.

[0135] In step 54, switch to the target map so that the cleaning device performs the cleaning task according to the target map.

[0136] In this embodiment, the content of step 54 is the same as that of step 12. For details, see the content of step 12 and the attached Figure 1 , I will not go into details here.

[0137] Thus, the solution provided by the embodiment of the present disclosure can obtain a target map matching the target object by obtaining the target object corresponding to the detection area where the cleaning device is located; then switch to the target map so that the cleaning device performs the cleaning task according to the target map. In this way, the target object can be accurately obtained through image recognition in this embodiment, thereby achieving the effect of accurately obtaining the target map, which is conducive to improving cleaning efficiency and user experience.

[0138] Based on a map switching method provided in an embodiment of the present disclosure, an embodiment of the present disclosure further provides a map switching device, see Figure 6 ,include:

[0139] A map acquisition module 61 is used to acquire initial feature data corresponding to the detection area where the cleaning device is located, and to acquire a target map matching the initial feature data;

[0140] The map switching module 62 is used to switch to the target map so that the cleaning device performs the cleaning task according to the target map.

[0141] In one embodiment, the map acquisition module includes:

[0142] A data acquisition unit, used to acquire height data collected by a positioning module in a cleaning device, and use the height data as initial feature data corresponding to the detection area; the height data represents the height difference data between the detection area where the cleaning device is located and a preset reference plane;

[0143] The map acquisition unit is used to acquire a target map matching the altitude data based on a preset correspondence between the altitude data and the map.

[0144] In one embodiment, the map acquisition module includes:

[0145] The device acquisition unit is used to acquire the signal strength between the communication module in the cleaning device and each preset communication device, and obtain the target device corresponding to the maximum signal strength; and use the target device as the initial feature data corresponding to the detection area;

[0146] The map acquisition unit is used to acquire the target map corresponding to the target device based on the corresponding relationship between the preset communication device and the map.

[0147] In one embodiment, the map acquisition module includes:

[0148] A signal transmitting unit, used to control the sensor module in the cleaning device to transmit pulse signals in all directions, and obtain the echo signal returned after the pulse signal encounters an object;

[0149] A distance acquisition unit, used for calculating the distance between the sensor module and the object according to the time interval between the echo signal and the pulse signal;

[0150] A feature acquisition unit, configured to construct a spatial feature of the space around the cleaning device according to the distance, and use the spatial feature as initial feature data corresponding to the detection area;

[0151] The map acquisition unit is used to acquire a target map corresponding to the spatial feature based on a preset correspondence between the spatial feature and the map.

[0152] In one embodiment, the map acquisition module includes:

[0153] An image acquisition unit, used to control the camera module in the cleaning device to acquire images in various directions;

[0154] An object acquisition unit, used to acquire a target object in the image and use the target object as initial feature data corresponding to the detection area;

[0155] The map acquisition unit is used to acquire the target map corresponding to the target object based on the preset correspondence between the object and the map.

[0156] It should be noted that the device shown in this embodiment is similar to Figure 1 to Figure 5 The contents of the method embodiment shown are consistent with those of the method embodiment shown, and reference can be made to the contents of the above method embodiment, which will not be repeated here.

[0157] Figure 7 7 is a block diagram of a cleaning device according to an exemplary embodiment. For example, the cleaning device 700 may be a small / home cleaning robot or a large / commercial cleaning robot.

[0158] Reference Figure 7 The cleaning device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input / output (I / O) interface 712, a sensor component 714, a communication component 716 and an image acquisition component 718.

[0159] The processing component 702 generally controls the overall operation of the cleaning device 700, such as operations associated with display, data communication, and sensor component 714 controlling recording operations. The processing component 702 may include one or more processors 720 to execute computer programs. In addition, the processing component 702 may include one or more modules to facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.

[0160] The memory 704 is configured to store various types of data to support the operations on the cleaning device 700. Examples of such data include computer programs for any application or method operating on the cleaning device 700. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0161] The power supply assembly 706 provides power to various components of the cleaning device 700. The power supply assembly 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the cleaning device 700. The power supply assembly 706 may include a power chip, and the controller may communicate with the power chip to control the power chip to turn on or off a switch device, so that the battery supplies power to the mainboard circuit or not.

[0162] The multimedia component 708 includes a screen providing an output interface between the cleaning device 700 and the target object. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input information from the target object. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0163] The audio component 710 is configured to output and / or input audio file information. For example, the audio component 710 includes a microphone (MIC), and when the cleaning device 700 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive external audio file information. The received audio file information can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio file information.

[0164] The I / O interface 712 provides an interface between the processing component 702 and a peripheral interface module, such as a keyboard, a click wheel, a button, etc.

[0165] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the cleaning device 700. For example, the sensor assembly 714 can detect the open / closed state of the cleaning device 700, the relative positioning of components, such as the display screen and keypad of the cleaning device 700, and the sensor assembly 714 can also detect the position change of the cleaning device 700 or a component, the presence or absence of contact between the target object and the cleaning device 700, the orientation or acceleration / deceleration of the cleaning device 700, and the temperature change of the cleaning device 700. In this example, the sensor assembly 714 can include a magnetic sensor, a gyroscope, and a magnetic field sensor, wherein the magnetic field sensor includes at least one of the following: a Hall sensor, a thin film magnetoresistive sensor, and a magnetic liquid acceleration sensor.

[0166] The communication component 716 is configured to facilitate wired or wireless communication between the cleaning device 700 and other devices. The cleaning device 700 can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives broadcast information or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0167] In an exemplary embodiment, the cleaning device 700 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.

[0168] In an exemplary embodiment, a non-temporary readable storage medium including an executable computer program is also provided, such as a memory 704 including instructions, and the executable computer program can be executed by a processor. The readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0169] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0170] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A map switching method for cleaning equipment, It is characterized in that include: Acquire initial feature data corresponding to a detection area where the cleaning device is located, and acquire a target map matching the initial feature data, wherein the detection area includes one of the following: an area where a physical charging station is located and an area where a virtual charging station is located; Switching to the target map so that the cleaning device performs the cleaning task according to the target map; The method further comprises the step of creating a virtual charging station, comprising: When it is detected that the determination option is triggered, characteristic data is obtained based on the current position of the cleaning device, the current position is used as the position of the virtual charging seat, and the circular area or rectangular area centered on the virtual charging seat is used as the area where the virtual charging seat is located; the determination option includes at least one of the following: a map creation option in the display interface, a preset instruction in the audio signal, and a preset gesture or posture; When feature data that is different from other areas to be cleaned cannot be obtained at the current position, the feature data is continuously obtained after randomly moving a set distance until feature data that is different from other areas to be cleaned is obtained; The obtaining of initial feature data corresponding to the detection area where the cleaning device is located includes: Controlling the sensor module in the cleaning device to transmit pulse signals in all directions, and obtaining echo signals returned by the pulse signals after encountering an object; Calculate the distance between the sensor module and the object according to the time interval between the echo signal and the pulse signal; The spatial features of the space around the cleaning device are constructed according to the distance, and the spatial features are used as initial feature data corresponding to the detection area.

2. The method according to claim 1, It is characterized in that Acquiring initial feature data corresponding to the detection area where the cleaning device is located, and acquiring a target map matching the initial feature data, including: Acquire height data collected by a positioning module in a cleaning device, and use the height data as initial feature data corresponding to the detection area; the height data represents the height difference data between the detection area where the cleaning device is located and a preset reference plane; and, Based on the corresponding relationship between the preset altitude data and the map, a target map matching the altitude data is obtained.

3. The method according to claim 2, It is characterized in that The positioning module includes at least one of the following: a GPS module, a Zigbee module, a UWB module, an infrared module, an ultrasonic module, a laser module and a depth camera module.

4. The method according to claim 1, It is characterized in that Acquiring initial feature data corresponding to the detection area where the cleaning device is located, and acquiring a target map matching the initial feature data, including: Acquire the signal strength between the communication module in the cleaning device and each preset communication device, and obtain the target device corresponding to the maximum signal strength; use the target device as the initial feature data corresponding to the detection area; Based on the corresponding relationship between the preset communication device and the map, a target map corresponding to the target device is obtained.

5. The method according to claim 4, It is characterized in that The preset communication device includes at least one of the following: a WiFi module, a Zigbee module, a UWB module and a Bluetooth module.

6. The method according to claim 1, It is characterized in that Acquiring initial feature data corresponding to the detection area where the cleaning device is located, and acquiring a target map matching the initial feature data, including: Based on the preset correspondence between the spatial feature and the map, a target map corresponding to the spatial feature is obtained.

7. The method according to claim 6, It is characterized in that The sensor module includes at least one of the following: a Zigbee module, a UWB module, an infrared module, an ultrasonic module, a laser module and a depth camera module.

8. The method according to claim 1, It is characterized in that Acquiring initial feature data corresponding to the detection area where the cleaning device is located, and acquiring a target map matching the initial feature data, including: Controlling the camera module in the cleaning device to acquire images in various directions; Acquire a target object in the image, and use the target object as initial feature data corresponding to the detection area; Based on a preset correspondence between objects and maps, a target map corresponding to the target object is obtained.

9. A map switching device for cleaning equipment, It is characterized in that include: A map acquisition module, used to acquire initial feature data corresponding to a detection area where the cleaning device is located, and to acquire a target map matching the initial feature data, wherein the detection area includes one of the following: an area where a physical charging station is located and an area where a virtual charging station is located; A map switching module, used to switch to the target map so that the cleaning device performs the cleaning task according to the target map; The device also includes a virtual creation module for creating a virtual charging station, and the virtual creation module includes: A virtual creation unit, configured to, when detecting that a determination option is triggered, obtain feature data based on the current position of the cleaning device, use the current position as the position of the virtual charging seat, and use a circular area or a rectangular area centered on the virtual charging seat as the area where the virtual charging seat is located; the determination option includes at least one of the following: a map creation option in a display interface, a preset instruction in an audio signal, and a preset gesture or posture; The virtual creation unit is also used for, when feature data that is different from other areas to be cleaned cannot be obtained at the current position, to continue to obtain feature data after randomly moving a set distance until feature data that is different from other areas to be cleaned is obtained; The map acquisition module includes: A signal transmitting unit, used to control the sensor module in the cleaning device to transmit pulse signals in all directions, and obtain the echo signal returned after the pulse signal encounters an object; A distance acquisition unit, used for calculating the distance between the sensor module and the object according to the time interval between the echo signal and the pulse signal; A feature acquisition unit is used to construct a spatial feature of the space around the cleaning device according to the distance, and use the spatial feature as initial feature data corresponding to the detection area.

10. The device according to claim 9, It is characterized in that The map acquisition module includes: A data acquisition unit, used to acquire height data collected by a positioning module in a cleaning device, and use the height data as initial feature data corresponding to the detection area; the height data represents the height difference data between the detection area where the cleaning device is located and a preset reference plane; The map acquisition unit is used to acquire a target map matching the altitude data based on a preset correspondence between the altitude data and the map.

11. The device according to claim 9, It is characterized in that The map acquisition module includes: The device acquisition unit is used to acquire the signal strength between the communication module in the cleaning device and each preset communication device, and obtain the target device corresponding to the maximum signal strength; and use the target device as the initial feature data corresponding to the detection area; The map acquisition unit is used to acquire the target map corresponding to the target device based on the corresponding relationship between the preset communication device and the map.

12. The device according to claim 9, It is characterized in that The map acquisition module includes: The map acquisition unit is used to acquire a target map corresponding to the spatial feature based on a preset correspondence between the spatial feature and the map.

13. The device according to claim 9, It is characterized in that The map acquisition module includes: An image acquisition unit, used to control the camera module in the cleaning device to acquire images in various directions; An object acquisition unit, used to acquire a target object in the image and use the target object as initial feature data corresponding to the detection area; The map acquisition unit is used to acquire the target map corresponding to the target object based on the preset correspondence between the object and the map.

14. A cleaning device, It is characterized in that include: processor; a memory for storing a computer program executable by the processor; The processor is configured to execute the computer program in the memory to implement the method according to any one of claims 1 to 8.

15. A computer-readable storage medium, It is characterized in that When the executable computer program in the storage medium is executed by a processor, the method according to any one of claims 1 to 8 can be implemented.

Citation Information

Patent Citations

  • Indoor cleaning robot

    CN104526699A

  • Cleaning robot, cleaning robot control method, and terminal control method

    CN110376934A