Method, device, electronic device and storage medium for disposing of spilt contents of a container
Patent Information
- Application Number
- CN202311038169.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-16
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2043-08-16
AI Technical Summary
[0005]本申请旨在提供一种容器内物质洒出的处置方法、装置、电子设备及存储介质,至少解决在先技术中由于扫地机器人自动清理容器内洒出的物质,导致用户无法获知容器内物质洒出的事件的问题
[0016]第四方面,本申请实施例还提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
Smart Images

Figure CN116965731B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of sweeping robot technology, specifically relating to a method, device, electronic device and storage medium for handling spilled material from a container. Background Technology
[0002] In the event of a container spilling its contents onto the ground, a method for handling such spills is needed.
[0003] In the prior art, the robot vacuum cleaner automatically cleans up spilled material from the container.
[0004] In the process of developing this application, the inventors discovered that the prior art has at least the following problem: because the robot vacuum cleaner automatically cleans up the spilled material in the container, the user cannot know that the material in the container has been spilled. Summary of the Invention
[0005] This application aims to provide a method, apparatus, electronic device, and storage medium for handling spilled substances from a container, at least to solve the problem in the prior art where users are unaware of spilled substances because a robotic vacuum cleaner automatically cleans them up.
[0006] To solve the above-mentioned technical problems, this application is implemented as follows:
[0007] In a first aspect, embodiments of this application provide a method for handling spilled material from a container, applied to a robotic vacuum cleaner, the method comprising:
[0008] The robot vacuum cleaner is controlled to move to a preset detection point in a preset detection area, and environmental information of the preset detection area is obtained at the preset detection point. The preset detection area is the area where the container is located.
[0009] Based on the environmental information, obtain the first detection result;
[0010] If the first detection result indicates that the substance inside the container has spilled out, an alarm message will be displayed.
[0011] Secondly, embodiments of this application also provide a device for handling spilled material from a container, applied to a sweeping robot, the device comprising:
[0012] The first acquisition module is used to control the sweeping robot to move to a preset detection point in a preset detection area, and to acquire environmental information of the preset detection area at the preset detection point, wherein the preset detection area is the area where the container is located.
[0013] The second acquisition module is used to acquire the first detection result based on the environmental information;
[0014] The display module is used to display alarm information when the first detection result is that the substance in the container has spilled out.
[0015] Thirdly, embodiments of this application also provide an electronic device, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method described in the first aspect.
[0016] Fourthly, embodiments of this application also provide a readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the method described in the first aspect.
[0017] In this embodiment, the robot vacuum cleaner is controlled to move to a preset detection point within a preset detection area, and environmental information of the preset detection area (the area where the container is located) is obtained at the preset detection point. Based on the environmental information, a first detection result is obtained. If the first detection result indicates that the material inside the container has spilled out, an alarm message is displayed to handle the spillage. The user can also be notified of the spillage event based on the alarm message, thus solving the problem in the prior art where the robot vacuum cleaner automatically cleans up spilled material, preventing the user from being aware of the spillage event. Attached Figure Description
[0018] Figure 1 This is a flowchart illustrating the steps of a method for handling spilled material from a container, as provided in an embodiment of this application.
[0019] Figure 2 This is a flowchart illustrating the specific steps of a method for handling spilled material from a container, as provided in an embodiment of this application.
[0020] Figure 3 This is a flowchart illustrating the specific steps of another method for handling spilled material from a container, as provided in an embodiment of this application.
[0021] Figure 4 This is a flowchart illustrating the specific steps of another method for handling spilled material from a container, as provided in this application embodiment.
[0022] Figure 5 This is a schematic diagram of a process for handling spilled material from a container, provided in an embodiment of this application.
[0023] Figure 6 This is a schematic diagram of the room where the robotic vacuum cleaner is located, as provided in the embodiments of this application;
[0024] Figure 7 This is a schematic diagram illustrating a scenario where a robotic vacuum cleaner acquires environmental information, as provided in an embodiment of this application.
[0025] Figure 8 This is a block diagram of a device for handling spilled material from a container, as provided in an embodiment of this application.
[0026] Figure 9 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0027] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0028] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0029] The following description, in conjunction with the accompanying drawings, details the method for handling spilled substances from containers provided in this application through specific embodiments and application scenarios.
[0030] Figure 1 This is a flowchart illustrating the steps of a method for handling spilled material from a container, as provided in an embodiment of this application. Figure 1 As shown, the method may include:
[0031] Step 101: Control the sweeping robot to move to the preset detection point of the preset detection area, and obtain the environmental information of the preset detection area at the preset detection point.
[0032] The preset detection area is the area where the container is located.
[0033] In this embodiment of the application, the robot vacuum cleaner is controlled to move to a preset detection point in a preset detection area, and environmental information of the preset detection area is obtained at the preset detection point. Then, based on the environmental information, a first detection result is obtained.
[0034] It should be noted that robotic vacuum cleaners, also known as automatic cleaning machines, smart vacuums, or robotic vacuums, are a type of smart home appliance that uses artificial intelligence to automatically clean floors in a room. Generally speaking, robots that perform sweeping, vacuuming, and mopping are all categorized as robotic vacuum cleaners.
[0035] The preset detection area is the area around the container, and the preset detection points are pre-set detection points. One or more preset detection points can be set, for example, setting detection points at the four corners of a rectangular preset detection area.
[0036] The environmental information of the preset detection area is the image information of the preset detection area collected by the camera of the robot vacuum cleaner; the environmental information of the preset detection area can also be the sound information, odor information, light information, vibration information, humidity information, temperature information, etc. of the preset detection area.
[0037] Reference Figure 7 The robot vacuum cleaner Y4 is controlled to acquire environmental information about the preset detection area Y3 through its camera at four preset detection points. These four preset detection points are designated as Preset Detection Point 1, Preset Detection Point 2, Preset Detection Point 3, and Preset Detection Point 4. Y5 in the diagram represents the acquisition range of the camera on robot vacuum cleaner Y4. Specifically, for example, at Preset Detection Point 1, while controlling the camera of robot vacuum cleaner Y4 to rotate from a first position to a second position, the camera acquires environmental information about the preset detection area. Similarly, the acquisition of environmental information at Preset Detection Points 2, 3, and 4 is similar to that at Preset Detection Point 1, and will not be elaborated further here.
[0038] Step 102: Obtain the first detection result based on the environmental information.
[0039] In this embodiment of the application, a first detection result is obtained based on environmental information, and then an alarm message is displayed if the first detection result indicates that the substance in the container has spilled out.
[0040] Step 103: If the first detection result indicates that the substance in the container has spilled out, display an alarm message.
[0041] In this embodiment of the application, by displaying an alarm message when the first detection result indicates that the substance in the container has spilled, the user can be informed of the event of the substance spilling from the container.
[0042] It should be noted that the container can be a regular or irregular shape such as a cylinder, cube, or cuboid. There are no restrictions on the size of the container. The substance inside the container can be a solid or liquid. The form of the substance inside the container can be granules, strips, or sheets, etc., without any restrictions.
[0043] Spillage of material from the container refers to the material inside the container spilling out onto the ground in the preset detection area.
[0044] The device that displays alarm information can be the robot vacuum cleaner itself, the user's device (such as a mobile device, smart home device, etc.), etc. The alarm information can be in the form of voice, text (such as a text message from a mobile device), alarm sound, video, vibration, etc. For example, when using a mobile device to display alarm information, the alarm information can be displayed through an application (APP) installed on the mobile device.
[0045] In summary, in this embodiment, by controlling the robot vacuum cleaner to move to a preset detection point within a preset detection area, and acquiring environmental information of the preset detection area (the area where the container is located) at the preset detection point, a first detection result is obtained based on the environmental information. If the first detection result indicates that the material inside the container has spilled out, an alarm message is displayed to handle the spillage. Furthermore, the user can be notified of the spillage event based on the alarm message, thus solving the problem in prior art where the robot vacuum cleaner automatically cleans up spilled material, preventing the user from being aware of the spillage event.
[0046] Figure 2 This is a flowchart illustrating the specific steps of a method for handling spilled material from a container, as provided in an embodiment of this application. Figure 2 As shown, the method may include:
[0047] Step 201: Control the sweeping robot to move to the preset detection point of the preset detection area, and obtain the environmental information of the preset detection area at the preset detection point.
[0048] The preset detection area is the area where the container is located.
[0049] The implementation method of this step is similar to that of step 101 above, and will not be repeated here.
[0050] Step 202: Obtain the first detection result based on the environmental information.
[0051] The implementation method of this step is similar to that of step 102 above, and will not be repeated here.
[0052] Optionally, in some embodiments, step 202 includes the following sub-step (sub-step 2021):
[0053] Sub-step 2021: If the environmental information indicates that the substance inside the container is on the ground in the preset detection area, determine that the first detection result is that the substance inside the container has spilled out.
[0054] In this embodiment of the application, when the environmental information characterizes the substance inside the container on the ground of a preset detection area, the first detection result is determined to be the spillage of the substance inside the container, and then an alarm message characterizing the spillage of feces inside the container is displayed.
[0055] Specifically, in some embodiments, the first detection result is obtained through visual detection techniques based on deep learning models (such as artificial intelligence (AI) visual detection techniques).
[0056] Step 203: If the first detection result is that feces have spilled out of the container, display an alarm message indicating that feces have spilled out of the container.
[0057] The container in question is a pet litter box.
[0058] In this embodiment of the application, when the first detection result is that feces have spilled from the container, an alarm message indicating that feces have spilled from the container is displayed, so that the user can be aware of the event of feces spilling from the pet litter box.
[0059] It should be noted that feces refers to pet feces, and pets refer to pets kept by users (such as cats, dogs, etc.). A pet litter box is a container used by pets to relieve themselves. A pet litter box contains pet litter (such as cat litter). After a pet relieves itself in a pet litter box, the contents of the pet litter box include pet litter and pet feces.
[0060] Optionally, in some embodiments, after step 202, the method further includes the following steps (steps 204 to 205):
[0061] Step 204: If the first detection result is that feces have spilled out of the container, control the sweeping robot to stop cleaning the preset detection area.
[0062] In this embodiment of the application, by controlling the robot vacuum cleaner to stop cleaning the preset detection area when the first detection result is that the feces in the container have spilled out, the contamination of the robot vacuum cleaner body caused by pet feces can be effectively reduced.
[0063] Optionally, in some embodiments, if the first detection result is that feces have spilled from the container, the robot vacuum cleaner can be controlled to bypass the pet's feces and clean the area outside the location of the feces in the preset detection area.
[0064] Step 205: If the first detection result indicates that the pet litter in the container has spilled out but the feces have not, control the robot vacuum cleaner to clean up the pet litter.
[0065] In this embodiment of the application, if the first detection result is that the pet litter in the container has spilled out but the feces have not spilled out, the robot vacuum cleaner is controlled to clean up the pet litter to keep the ground in the preset detection area clean.
[0066] By executing steps 204 to 205, the pet litter spilled from the pet litter box can be cleaned up without cleaning up the pet feces. While keeping the ground in the preset detection area as clean as possible, this can effectively reduce the risk of the robot vacuum getting contaminated with pet feces and causing pollution to the robot's body.
[0067] Optionally, in some embodiments, obtaining the environmental information of the preset detection area at the preset detection point includes the following step (step 206):
[0068] Step 206: Control the sweeping robot to rotate at the preset detection point, so that the acquisition range of the sweeping robot's camera covers the preset detection area, and control the camera to acquire the environmental information.
[0069] In this embodiment of the application, by controlling the robot vacuum to rotate at a preset detection point, the camera of the robot vacuum rotates, thereby expanding the acquisition range of the camera and making the acquisition range of the robot vacuum's camera cover the preset detection area. The camera is also controlled to acquire environmental information, and then a first detection result is obtained based on the environmental information.
[0070] Optionally, in some embodiments, before step 201, the method further includes the following steps (steps 207 to 208):
[0071] Step 207: Obtain the location information of the container.
[0072] In this embodiment of the application, the location information of the container is obtained, and then a preset detection area is defined based on the location information.
[0073] Step 208: Delineate the preset detection area based on the location information.
[0074] In this embodiment of the application, by defining a preset detection area based on location information, the robot vacuum cleaner can be controlled to move to a preset detection point within the preset detection area.
[0075] Optionally, in some embodiments, step 208 includes the following sub-steps (sub-steps 2081 to 2082):
[0076] Sub-step 2081: Delineate the initial detection area of the rectangle based on the location information.
[0077] The center of the initial detection area is the location of the container.
[0078] In this embodiment of the application, a rectangular initial detection area is defined based on the location information, and then the area where the obstacle is located is removed if there is an obstacle in the initial detection area, thereby obtaining a preset detection area.
[0079] For example, based on location information, an initial detection area is defined as a rectangle with a length and width of 1.5 meters.
[0080] It should be noted that the center of the initial detection area is its geometric center. The initial detection area can also be a circle, a triangle, or other regular or irregular shapes; there are no restrictions here.
[0081] Sub-step 2082: If there are obstacles in the initial detection area, remove the area where the obstacles are located to obtain the preset detection area.
[0082] In this embodiment of the application, if there are obstacles in the initial detection area, the area where the obstacles are located is removed to obtain a preset detection area, and then the robot vacuum cleaner can be controlled to move to the preset detection point of the preset detection area.
[0083] It should be noted that obstacles can be containers, other objects (such as tables, cabinets, etc.), or buildings such as walls and pillars. When the obstacle is a wall, in addition to removing the area where the wall is located, if the initial detection area also includes the outdoor area outside the wall, then the outdoor area outside the wall also needs to be removed to obtain the preset detection area.
[0084] Reference Figure 5 The robot vacuum cleaner Y4 is placed in room Y1, and the container Y2 is placed against the wall in room Y1. The outdoor area outside the wall is excluded, and the preset detection area Y3 is obtained.
[0085] By executing steps 2081 to 2082, a preset detection area can be determined, ensuring that the robot vacuum cleaner can reach any position within the preset detection area.
[0086] By executing steps 207 to 208, a preset detection area can be determined, and then the robot vacuum cleaner can be controlled to move to a preset detection point in the preset detection area and obtain environmental information of the preset detection area at the preset detection point.
[0087] Optionally, in some embodiments, before step 207, the method further includes the following step (step 209):
[0088] Step 209: Control the camera of the sweeping robot to perform detection and obtain the third detection result.
[0089] In this embodiment of the application, the camera of the robot vacuum cleaner is controlled to perform detection and obtain a third detection result. Then, if the third detection result indicates that a container has been detected, the location information of the container is obtained according to the navigation map of the robot vacuum cleaner.
[0090] It should be noted that if the robot vacuum cleaner does not store relevant information about the container (including the container's location information, container type, etc.), it will prompt the user to obtain the container's relevant information through voice prompts (such as "search for pet equipment") or SMS messages from the user's mobile device (such as pop-up information from an application on the mobile device). Then, it will enter the container search stage. While the robot vacuum cleaner is building a map (creating a navigation map), it will control the robot vacuum cleaner's camera to detect and obtain the third detection result.
[0091] Step 207 includes the following sub-step (sub-step 2071):
[0092] Sub-step 2071: If the third detection result indicates that the container has been detected, obtain the location information of the container according to the navigation map of the sweeping robot.
[0093] In this embodiment of the application, when the third detection result indicates that a container has been detected, the location information of the container is obtained according to the navigation map of the robot vacuum cleaner, and then a preset detection area is delineated based on the location information.
[0094] It's important to note that the robot vacuum cleaner has a pre-stored navigation map. This map is created by the robot vacuum itself. While the robot is building the map, its camera performs detection, acquiring third-party detection results. If a container is detected, the robot uses a visual positioning algorithm, combined with the navigation map, to calculate the container's location within the map. Furthermore, users can manually configure container information (including location and type) on the navigation map.
[0095] As the robot vacuum approaches the container, it further corrects the container's position information (such as coordinates).
[0096] By executing steps 209 and sub-step 2071, the location information of the container can be determined, and then a preset detection area can be delineated based on the location information.
[0097] In summary, in this embodiment, by controlling the robot vacuum cleaner to move to a preset detection point within a preset detection area, and acquiring environmental information of the preset detection area (the area where the container is located) at the preset detection point, a first detection result is obtained based on the environmental information. If the first detection result indicates that the material inside the container has spilled out, an alarm message is displayed to handle the spillage. Furthermore, the user can be notified of the spillage event based on the alarm message, thus solving the problem in prior art where the robot vacuum cleaner automatically cleans up spilled material, preventing the user from being aware of the spillage event.
[0098] Figure 3 This is a flowchart illustrating the specific steps of another method for handling spilled material from a container, as provided in an embodiment of this application. Figure 3 As shown, the method may include:
[0099] Step 301: Control the sweeping robot to move to the preset detection point of the preset detection area, and obtain the environmental information of the preset detection area at the preset detection point.
[0100] The preset detection area is the area where the container is located.
[0101] The implementation method of this step is similar to that of step 101 above, and will not be repeated here.
[0102] Step 302: Obtain the first detection result based on the environmental information.
[0103] The implementation method of this step is similar to that of step 102 above, and will not be repeated here.
[0104] Optionally, in some embodiments, step 302 includes the following sub-step (sub-step 3021):
[0105] Sub-step 3021: If the environmental information indicates that the substance inside the container is on the ground in the preset detection area, determine that the first detection result is that the substance inside the container has spilled out.
[0106] The implementation method of this step is similar to that of sub-step 2021 above, and will not be repeated here.
[0107] Step 303: If the first detection result indicates that pet food pellets in the container have spilled out, and the number of pet food pellets is greater than a preset threshold, determine that a large amount of pet food pellets have spilled out, and display an alarm message indicating that pet food pellets in the container have spilled out.
[0108] The container in question is a pet food box.
[0109] In this embodiment of the application, if the first detection result is that pet food pellets in the container have spilled out and the number of pet food pellets is greater than a preset threshold, it is determined that a large amount of pet food pellets have spilled out. At this time, an alarm message indicating that the pet food pellets in the container have spilled out is displayed, so that users can be notified of the event of pet food pellets spilling out of the container in a timely manner.
[0110] It should be noted that a pet food bowl is a container used for feeding pet food pellets. The pet food bowl contains pet food pellets, which are pellet-shaped food that pets can eat. These pellets can be spherical, square, ellipsoidal, or other regular or irregular shapes, and there are no restrictions on their shape.
[0111] For example, if the preset threshold is 10, and the first detection result is that pet food pellets in the container have spilled out, and the number of pet food pellets is greater than 10, then it is determined that a large amount of pet food pellets have spilled out.
[0112] Optionally, in some embodiments, after step 303, the method further includes the following steps (steps 304 to 305):
[0113] Step 304: Control the robot vacuum cleaner to stop cleaning the pet food pellets.
[0114] In this embodiment of the application, by controlling the sweeping robot to stop cleaning up pet food pellets, the user can determine whether it is necessary to clean up the large amount of spilled pet food based on the alarm information. Upon receiving the instruction to clean up the pet food pellets, the sweeping robot is controlled to clean up the pet food pellets.
[0115] Step 305: Upon receiving an instruction to clean the pet food pellets, control the robot vacuum cleaner to clean the pet food pellets.
[0116] In this embodiment of the application, upon receiving an instruction to clean up pet food pellets, the robot vacuum cleaner is controlled to clean up the pet food pellets, thereby achieving the cleaning up of a large amount of pet food pellets spilled under instruction control.
[0117] It should be noted that the command to clean up pet food pellets can be issued by the user or automatically by the robot vacuum cleaner or other control devices.
[0118] By executing steps 304 to 305, if the first detection result is that pet food pellets have spilled from the container and the number of pet food pellets is greater than a preset threshold, the robot vacuum cleaner is controlled to stop cleaning the pet food pellets. Then, the user can determine whether to clean up the large amount of spilled pet food based on the alarm information. Upon receiving the instruction to clean up the pet food pellets, the robot vacuum cleaner is controlled to clean up the pet food pellets.
[0119] Optionally, in some embodiments, after step 302, the method further includes the following steps (steps 306 to 307):
[0120] Step 306: If the first detection result indicates that pet food pellets have spilled from the container and the number of pet food pellets is less than or equal to the preset threshold, determine that a small amount of pet food pellets have spilled, and control the robot vacuum cleaner to clean up the pet food pellets.
[0121] In this embodiment, if the first detection result is that pet food pellets have spilled from the container and the number of pet food pellets is less than or equal to a preset threshold, it is determined that a small amount of pet food pellets have spilled. The robot vacuum cleaner is then controlled to clean up the pet food pellets. This achieves the goal of cleaning up pet food pellets even when the number of spilled pet food pellets is determined to be small, which is beneficial to the environmental cleanliness of the preset detection area.
[0122] Step 307: If the first detection result indicates that the container's posture is abnormal, display alarm information indicating the abnormal posture of the container.
[0123] In this embodiment of the application, when the first detection result indicates that the container's posture is abnormal, an alarm message indicating the abnormal posture of the container is displayed, thereby reminding the user to adjust the container's posture to a normal posture.
[0124] It should be noted that abnormal container postures include containers that are upside down or placed at an angle.
[0125] By executing steps 306 to 307, it is possible to clean up the pet food pellets when the amount spilled is determined to be small, which is beneficial to the environmental cleanliness of the preset detection area. In addition, if the first detection result is that the container's posture is abnormal, an alarm message can be sent to remind the user to adjust the container's posture to the normal posture.
[0126] Optionally, in some embodiments, obtaining the environmental information of the preset detection area at the preset detection point includes the following steps (step 308):
[0127] Step 308: Control the sweeping robot to rotate at the preset detection point, so that the acquisition range of the sweeping robot's camera covers the preset detection area, and control the camera to acquire the environmental information.
[0128] The implementation method of this step is similar to that of step 206 above, and will not be repeated here.
[0129] Optionally, in some embodiments, before step 301, the method further includes the following steps (steps 309 to 310):
[0130] Step 309: Obtain the location information of the container.
[0131] The implementation method of this step is similar to that of step 207 above, and will not be repeated here.
[0132] Step 310: Delineate the preset detection area based on the location information.
[0133] The implementation method of this step is similar to that of step 208 above, and will not be repeated here.
[0134] Optionally, in some embodiments, step 310 includes the following sub-steps (sub-steps 3101 to 3102):
[0135] Sub-step 3101: Delineate the initial detection area of the rectangle based on the location information.
[0136] The center of the initial detection area is the location of the container.
[0137] The implementation method of this step is similar to that of sub-step 2081 above, and will not be repeated here.
[0138] Sub-step 3102: If there are obstacles in the initial detection area, remove the area where the obstacles are located to obtain the preset detection area.
[0139] The implementation method of this step is similar to that of sub-step 2082 above, and will not be repeated here.
[0140] Optionally, in some embodiments, before step 309, the method further includes the following step (step 311):
[0141] Step 311: Control the camera of the sweeping robot to perform detection and obtain the third detection result.
[0142] The implementation method of this step is similar to that of step 209 above, and will not be repeated here.
[0143] Step 309 includes the following sub-step (sub-step 3091):
[0144] Sub-step 3091: If the third detection result indicates that the container has been detected, obtain the location information of the container according to the navigation map of the sweeping robot.
[0145] The implementation method of this step is similar to that of sub-step 2071 above, and will not be repeated here.
[0146] In summary, in this embodiment, by controlling the robot vacuum cleaner to move to a preset detection point within a preset detection area, and acquiring environmental information of the preset detection area (the area where the container is located) at the preset detection point, a first detection result is obtained based on the environmental information. If the first detection result indicates that the material inside the container has spilled out, an alarm message is displayed to handle the spillage. Furthermore, the user can be notified of the spillage event based on the alarm message, thus solving the problem in prior art where the robot vacuum cleaner automatically cleans up spilled material, preventing the user from being aware of the spillage event.
[0147] Figure 4 This is a flowchart illustrating the specific steps of another method for handling spilled material from a container, as provided in the embodiments of this application. Figure 4 As shown, the method may include:
[0148] Step 401: Control the sweeping robot to move to the preset detection point of the preset detection area, and obtain the environmental information of the preset detection area at the preset detection point.
[0149] The preset detection area is the area where the container is located.
[0150] The implementation method of this step is similar to that of step 101 above, and will not be repeated here.
[0151] Step 402: Obtain the first detection result based on the environmental information.
[0152] The implementation method of this step is similar to that of step 102 above, and will not be repeated here.
[0153] Optionally, in some embodiments, step 402 includes the following sub-step (sub-step 4021):
[0154] Sub-step 4021: If the environmental information indicates that the substance inside the container is on the ground in the preset detection area, determine that the first detection result is that the substance inside the container has spilled out.
[0155] The implementation method of this step is similar to that of sub-step 2021 above, and will not be repeated here.
[0156] Step 403: If the first detection result indicates that liquid has spilled from the container, display an alarm message indicating that liquid has spilled from the container.
[0157] The container is a pet water box.
[0158] In this embodiment of the application, when the first detection result is that liquid has spilled from the container, an alarm message indicating that liquid has spilled from the container is displayed to remind the user of the event.
[0159] It should be noted that a pet water box is a container for pets to drink water, while a pet food box contains liquids. The liquid in a pet water box can be drinking water, milk, or other liquids. A solid-liquid mixture can also be stored in a pet water box, such as milk soaked with pet food pellets. There are no restrictions on this. Similarly, if the first detection result is that the solid-liquid mixture in the container has spilled, an alarm message indicating that the solid-liquid mixture in the container has spilled will be displayed.
[0160] Optionally, in some embodiments, the method further includes the following steps (steps 404 to 407):
[0161] Step 404: Obtain the location information of the container.
[0162] In this embodiment of the application, by obtaining the location information of the container, and then controlling the sweeping robot to approach the container at a preset speed according to the location information, and controlling the sweeping robot's sensors to detect and obtain a second detection result.
[0163] It should be noted that the location information of the container can be used to obtain the location information of the container that has been set in advance.
[0164] Step 405: Based on the location information, control the sweeping robot to approach the container at a preset speed, and control the sweeping robot's sensors to perform detection and obtain a second detection result.
[0165] In this embodiment of the application, the robot vacuum cleaner is controlled to approach the container at a preset speed based on the location information, and the sensors of the robot vacuum cleaner are controlled to detect and obtain a second detection result, thereby controlling the robot vacuum cleaner to clean the liquid on the movement path.
[0166] It should be noted that the preset speed can be lower than the speed at which the robot vacuum cleaner moves forward when cleaning up dust, paper scraps, and other solid waste. That is, relative to the speed at which the robot vacuum cleaner cleans up solid waste, the preset speed is slow, so as to control the robot vacuum cleaner to slowly approach the container and perform detection.
[0167] For example, the robot vacuum cleaner cleans solid waste at a speed of 0.1 meters per second, and the preset speed is less than 0.1 meters per second, such as 0.05 meters per second.
[0168] Specifically, in some embodiments, based on location information, the robot vacuum cleaner is controlled to plan a path to a preset detection area and move along the planned path. The robot vacuum cleaner is equipped with a cliff sensor or an ultrasonic sensor, which can detect liquids on the ground along the robot vacuum cleaner's movement path.
[0169] Step 406: If the sweeping robot has a mopping function and the second detection result shows that there is liquid on the sweeping robot's movement path, control the sweeping robot to clean the liquid on the movement path.
[0170] In this embodiment of the application, if the sweeping robot has a mopping function and the second detection result shows that there is liquid on the sweeping robot's movement path, it is determined that the sweeping robot can complete the cleaning of the liquid on the movement path, and the sweeping robot is controlled to clean the liquid on the movement path to maintain the cleanliness of the ground environment.
[0171] It should be noted that a robot vacuum cleaner with mopping function is a robot vacuum cleaner that combines washing and mopping.
[0172] Specifically, in some embodiments, when the robot vacuum has a mopping function and the second detection result shows that there is liquid on the robot vacuum's movement path, the robot vacuum is controlled to rotate its body and perform the mopping function to clean the liquid on the movement path.
[0173] Step 407: If the sweeping robot does not have a mopping function and the second detection result shows that there is liquid on the sweeping robot's movement path, control the sweeping robot to stop moving and display a prompt message indicating that the mopping component needs to be installed. If it is confirmed that the sweeping robot has been equipped with the mopping component, control the sweeping robot to clean up the liquid on the movement path.
[0174] In this embodiment of the application, when the sweeping robot does not have a mopping function and the second detection result shows that there is liquid on the sweeping robot's movement path, the sweeping robot is controlled to stop moving and a prompt message indicating that a mopping component needs to be installed is displayed. When it is confirmed that the sweeping robot has been equipped with a mopping component, the sweeping robot is controlled to clean the liquid on the movement path, so as to clean the liquid on the movement path and keep the ground environment clean.
[0175] It should be noted that the prompt message indicating the need to install the mopping component is intended to remind the user to do so. This prompt can be delivered via voice, text (e.g., SMS from a mobile device), alarm sound, video, vibration, etc. For example, when displaying the prompt message using a mobile device, it can be done through an application installed on the device. After the user installs the mopping component, the robot vacuum cleaner gains the ability to clean up any liquid in its path. Once the user confirms that the mopping component is installed, they can control the robot vacuum cleaner to clean up any liquid in its path.
[0176] By executing steps 404 to 407, the robot vacuum can be controlled to approach the pet water box and detect whether there is liquid on the bottom surface. If liquid is detected, the robot vacuum can be controlled to clean the liquid on its movement path.
[0177] Optionally, in some embodiments, obtaining the environmental information of the preset detection area at the preset detection point includes the following steps (step 408):
[0178] Step 408: Control the sweeping robot to rotate at the preset detection point so that the camera of the sweeping robot covers the preset detection area, and control the camera to collect the environmental information.
[0179] The implementation method of this step is similar to that of step 206 above, and will not be repeated here.
[0180] Optionally, in some embodiments, before step 401, the method further includes the following steps (steps 409 to 410):
[0181] Step 409: Obtain the location information of the container.
[0182] The implementation method of this step is similar to that of step 207 above, and will not be repeated here.
[0183] Step 410: Delineate the preset detection area based on the location information.
[0184] The implementation method of this step is similar to that of step 208 above, and will not be repeated here.
[0185] Optionally, in some embodiments, step 410 includes the following sub-steps (sub-steps 4101 to 4102):
[0186] Sub-step 4101: Delineate the initial detection area of the rectangle based on the location information.
[0187] The center of the initial detection area is the location of the container.
[0188] The implementation method of this step is similar to that of sub-step 2081 above, and will not be repeated here.
[0189] Sub-step 4102: If there are obstacles in the initial detection area, remove the area where the obstacles are located to obtain the preset detection area.
[0190] The implementation method of this step is similar to that of sub-step 2082 above, and will not be repeated here.
[0191] Optionally, in some embodiments, before step 409, the method further includes the following step (step 411):
[0192] Step 411: Control the camera of the sweeping robot to perform detection and obtain the third detection result.
[0193] The implementation method of this step is similar to that of step 209 above, and will not be repeated here.
[0194] Step 409 includes the following sub-step (sub-step 4091):
[0195] Sub-step 4091: If the third detection result indicates that the container has been detected, obtain the location information of the container according to the navigation map of the sweeping robot.
[0196] The implementation method of this step is similar to that of sub-step 2071 above, and will not be repeated here.
[0197] In summary, in this embodiment, by controlling the robot vacuum cleaner to move to a preset detection point within a preset detection area, and acquiring environmental information of the preset detection area (the area where the container is located) at the preset detection point, a first detection result is obtained based on the environmental information. If the first detection result indicates that the material inside the container has spilled out, an alarm message is displayed to handle the spillage. Furthermore, the user can be notified of the spillage event based on the alarm message, thus solving the problem in prior art where the robot vacuum cleaner automatically cleans up spilled material, preventing the user from being aware of the spillage event.
[0198] Optional, refer to Figure 5In some embodiments, the spillage disposal process provided in this application includes: X1, Pet mode, i.e., controlling the robot vacuum to enter pet mode; X2, Determining the existence of a map and pet device, i.e., determining whether the robot vacuum stores a navigation map and relevant information about the container; X3, Indoor robot mapping mode, i.e., controlling the robot vacuum to enter mapping mode; X4, Automatic detection using visual algorithms, i.e., using visual detection technology based on deep learning models to obtain relevant information about the container; X5, User manual addition, i.e., the user manually sets relevant information about the pet device in the navigation map; X6, Positioning algorithm to correct the target position, i.e., further correcting the position information of the container as the robot vacuum approaches the container; X7, Obtaining pet device information and starting patrol, i.e., after obtaining the position information of the container, the robot vacuum starts working; X8, Pet device type determination, i.e., obtaining the type information of the container; X9, Poop, i.e., the container is a pet poop bowl; X10, Cleaning area determination, i.e., obtaining a preset detection area; X11, Poop bowl cleaning area inspection, i.e., controlling the robot vacuum to... The robot moves to a preset detection point within a preset detection area and acquires environmental information about that area; X11, food container (i.e., a pet food container); X12, cleaning area determination (i.e., acquiring the preset detection area); X13, food container cleaning area inspection (i.e., controlling the robot to move to a preset detection point within the preset detection area and acquiring environmental information about that area); X14, whether there is a large amount of spilled food (i.e., acquiring the first detection result based on environmental information); X15, whether fecal residue is detected (i.e., acquiring the first detection result based on environmental information); X16, stop cleaning, and the robot or application sends an alarm to the user (i.e., displaying an alarm message if the first detection result indicates spillage from the container); X17, water tank (i.e., a pet water tank); X18, cleaning area determination (i.e., acquiring the preset detection area); X19, water tank cleaning area inspection (i.e., controlling the robot to move to a preset detection point within the preset detection area and acquiring environmental information about that area); X20, start cleaning (i.e., cleaning up spilled material from the container).
[0199] In summary, in this embodiment, by controlling the robot vacuum cleaner to move to a preset detection point within a preset detection area, and acquiring environmental information of the preset detection area (the area where the container is located) at the preset detection point, a first detection result is obtained based on the environmental information. If the first detection result indicates that the material inside the container has spilled out, an alarm message is displayed to handle the spillage. Furthermore, the user can be notified of the spillage event based on the alarm message, thus solving the problem in prior art where the robot vacuum cleaner automatically cleans up spilled material, preventing the user from being aware of the spillage event.
[0200] Figure 8 This is a block diagram of a device for handling spilled material from a container, as provided in an embodiment of this application. Figure 8 As shown, the device 500 includes:
[0201] The first acquisition module 501 is used to control the sweeping robot to move to a preset detection point in a preset detection area, and to acquire environmental information of the preset detection area at the preset detection point, wherein the preset detection area is the area where the container is located.
[0202] The second acquisition module 502 is used to acquire the first detection result based on the environmental information;
[0203] The display module 503 is used to display alarm information when the first detection result is that the substance in the container has spilled out.
[0204] Optionally, the container is a pet litter box; the display module 503 specifically includes:
[0205] The first display submodule is used to display alarm information indicating that the feces in the container have spilled out when the first detection result is that the feces in the container have spilled out.
[0206] Optionally, the device 500 also includes:
[0207] The first control module is used to control the sweeping robot to stop cleaning the preset detection area when the first detection result is that the feces in the container have spilled out;
[0208] The second control module is used to control the sweeping robot to clean the pet litter when the first detection result is that the pet litter in the container has spilled out but the feces have not spilled out.
[0209] Optionally, the container is a pet food box; the display module 503 specifically includes:
[0210] The second display submodule is used to determine that a large amount of pet food particles have been spilled when the first detection result is that pet food particles have spilled out of the container and the number of pet food particles is greater than a preset threshold, and to display alarm information indicating that pet food particles have spilled out of the container.
[0211] Optionally, the device 500 also includes:
[0212] The third control module is used to control the robot vacuum to stop cleaning the pet food pellets;
[0213] The fourth control module is used to control the robot vacuum cleaner to clean the pet food pellets when it receives an instruction to do so.
[0214] Optionally, the device 500 also includes:
[0215] The fifth control module is used to determine that a small amount of pet food particles have been spilled when the first detection result is that pet food particles have been spilled from the container and the number of pet food particles is less than or equal to the preset threshold, and to control the sweeping robot to clean up the pet food particles.
[0216] An alarm module is used to display alarm information indicating an abnormal posture of the container when the first detection result indicates that the container's posture is abnormal.
[0217] Optionally, the container is a pet water box; the display module 503 specifically includes:
[0218] The third display submodule is used to display alarm information indicating that the liquid in the container has spilled when the first detection result is that the liquid in the container has spilled.
[0219] Optionally, the container is a pet water box; the device 500 also includes:
[0220] The third acquisition module is used to acquire the location information of the container;
[0221] The fourth acquisition module is used to control the sweeping robot to approach the container at a preset speed based on the location information, and to control the sweeping robot's sensors to perform detection and acquire a second detection result;
[0222] The sixth control module is used to control the sweeping robot to clean the liquid on the movement path when the sweeping robot has a mopping function and the second detection result shows that there is liquid on the movement path of the sweeping robot.
[0223] The seventh control module is used to control the sweeping robot to stop moving and display a prompt message indicating that a mopping component needs to be installed when the sweeping robot does not have a mopping function and the second detection result shows that there is liquid on the sweeping robot's movement path; and to control the sweeping robot to clean up the liquid on the movement path when it is confirmed that the sweeping robot has the mopping component installed.
[0224] Optionally, the device 500 also includes:
[0225] The eighth control module is used to control the sweeping robot to rotate at the preset detection point, so that the acquisition range of the sweeping robot's camera covers the preset detection area, and to control the camera to acquire the environmental information.
[0226] Optionally, the second acquisition module 502 specifically includes:
[0227] The determination submodule is used to determine, when the environmental information indicates that the substance inside the container is on the ground in the preset detection area, that the first detection result is that the substance inside the container has spilled.
[0228] Optionally, the device 500 also includes:
[0229] The fifth acquisition module is used to acquire the location information of the container;
[0230] The delineation module is used to delineate the preset detection area based on the location information.
[0231] Optionally, the device 500 also includes:
[0232] The ninth control module is used to control the camera of the sweeping robot to perform detection and obtain the third detection result;
[0233] Optional, the fifth acquisition module specifically includes:
[0234] The acquisition submodule is used to acquire the location information of the container based on the navigation map of the sweeping robot when the third detection result indicates that the container has been detected.
[0235] Optional, define modules, specifically including:
[0236] The delineation submodule is used to delineate an initial rectangular detection area based on the location information, wherein the center of the initial detection area is the location of the container;
[0237] The elimination submodule is used to eliminate the area where the obstacle is located when there is an obstacle in the initial detection area, so as to obtain the preset detection area.
[0238] The device for handling spilled material from the container in this application embodiment can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc., while non-mobile electronic devices can be servers, network-attached storage (NAS), personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc. This application embodiment does not impose specific limitations.
[0239] The device for handling spilled material from the container in this embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this embodiment does not specifically limit the specific operating system used.
[0240] The container spillage disposal device provided in this application embodiment can achieve... Figure 1 The various processes implemented by the disposal device for spilled material inside the container in the method embodiment will not be described again here to avoid repetition.
[0241] The embodiments of this application enable the handling of spilled substances in containers, and users can be notified of spilled substances based on alarm information. This solves the problem in the prior art where users are unable to be notified of spilled substances because the robot vacuum cleaner automatically cleans up the spilled substances.
[0242] Optionally, embodiments of this application also provide an electronic device, including a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement the various processes of the above-described method for handling spilled material in a container and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0243] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0244] Figure 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0245] The electronic device 600 includes, but is not limited to, components such as: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, and processor 610.
[0246] Those skilled in the art will understand that the electronic device 600 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 610 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 9 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0247] The processor 610 is used to control the sweeping robot to move to a preset detection point in a preset detection area, and to obtain environmental information of the preset detection area at the preset detection point. The preset detection area is the area where the container is located.
[0248] Based on the environmental information, obtain the first detection result;
[0249] If the first detection result indicates that the substance inside the container has spilled out, an alarm message will be displayed.
[0250] In this embodiment, the robot vacuum cleaner is controlled to move to a preset detection point within a preset detection area, and environmental information of the preset detection area (the area where the container is located) is obtained at the preset detection point. Based on the environmental information, a first detection result is obtained. If the first detection result indicates that the material inside the container has spilled out, an alarm message is displayed to handle the spillage. The user can also be notified of the spillage event based on the alarm message, thus solving the problem in the prior art where the robot vacuum cleaner automatically cleans up spilled material, preventing the user from being aware of the spillage event.
[0251] Optionally, the container is a pet litter box; the processor 610 is also configured to display alarm information indicating that feces have spilled from the container if the first detection result indicates that feces have spilled from the container.
[0252] Optionally, the processor 610 is further configured to control the robot vacuum cleaner to stop cleaning the preset detection area when the first detection result is that feces have spilled from the container; and to control the robot vacuum cleaner to clean the pet litter when the first detection result is that pet litter has spilled from the container but feces have not spilled.
[0253] Optionally, the container is a pet food box; the processor 610 is further configured to determine that a large amount of pet food particles have been spilled when the first detection result is that pet food particles in the container have spilled out and the number of pet food particles is greater than a preset threshold, and to display alarm information indicating that pet food particles in the container have spilled out.
[0254] Optionally, the processor 610 is also configured to control the robotic vacuum cleaner to stop cleaning the pet food pellets; and to control the robotic vacuum cleaner to clean the pet food pellets upon receiving an instruction to do so.
[0255] Optionally, the processor 610 is further configured to, when the first detection result is that pet food pellets have spilled from the container and the number of pet food pellets is less than or equal to the preset threshold, determine that a small amount of pet food pellets have spilled and control the robot vacuum cleaner to clean up the pet food pellets; and when the first detection result is that the container's posture is abnormal, display alarm information indicating that the container's posture is abnormal.
[0256] Optionally, the container is a pet water box; the processor 610 is also configured to display alarm information indicating that liquid has spilled from the container if the first detection result indicates that liquid has spilled from the container.
[0257] Optionally, the container is a pet water box; the processor 610 is further configured to acquire the position information of the container; based on the position information, control the robot vacuum to approach the container at a preset speed, and control the robot vacuum's sensors to detect and acquire a second detection result; if the robot vacuum has a mopping function and the second detection result indicates that there is liquid on the robot vacuum's movement path, control the robot vacuum to clean the liquid on the movement path; if the robot vacuum does not have a mopping function and the second detection result indicates that there is liquid on the robot vacuum's movement path, control the robot vacuum to stop moving and display a prompt indicating that a mopping component needs to be installed; and if it is confirmed that the robot vacuum has been installed with the mopping component, control the robot vacuum to clean the liquid on the movement path.
[0258] Optionally, the processor 610 is also configured to control the robotic vacuum cleaner to rotate at the preset detection point, so that the acquisition range of the robotic vacuum cleaner's camera covers the preset detection area, and to control the camera to acquire the environmental information.
[0259] Optionally, the processor 610 is further configured to determine, when the environmental information indicates that the substance inside the container is on the ground in the preset detection area, that the first detection result is that the substance inside the container has spilled.
[0260] Optionally, the processor 610 is further configured to acquire the location information of the container and, based on the location information, delineate the preset detection area.
[0261] Optionally, the processor 610 is also configured to control the camera of the robotic vacuum cleaner to perform detection and obtain a third detection result; if the third detection result indicates that the container has been detected, the processor obtains the location information of the container according to the navigation map of the robotic vacuum cleaner.
[0262] Optionally, the processor 610 is further configured to define a rectangular initial detection area based on the location information, wherein the center of the initial detection area is the location of the container; and if there is an obstacle in the initial detection area, remove the area where the obstacle is located to obtain the preset detection area.
[0263] In this embodiment, the robot vacuum cleaner is controlled to move to a preset detection point within a preset detection area, and environmental information of the preset detection area (the area where the container is located) is obtained at the preset detection point. Based on the environmental information, a first detection result is obtained. If the first detection result indicates that the material inside the container has spilled out, an alarm message is displayed to handle the spillage. The user can also be notified of the spillage event based on the alarm message, thus solving the problem in the prior art where the robot vacuum cleaner automatically cleans up spilled material, preventing the user from being aware of the spillage event.
[0264] It should be understood that, in this embodiment, the input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042. The GPU 6041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 607 includes at least one of a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
[0265] The memory 609 can be used to store software programs and various data. The memory 609 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 609 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 609 in this embodiment includes, but is not limited to, these and any other suitable types of memory.
[0266] Processor 610 may include one or more processing units; optionally, processor 610 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 610.
[0267] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described method for handling spilled material from a container and achieve the same technical effect. To avoid repetition, these will not be described again here.
[0268] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0269] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described method embodiment for handling spilled substances in a container, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0270] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0271] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0272] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0273] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A method for handling spilled material from a container, applied to a robotic vacuum cleaner, characterized in that, The method includes: After the robot vacuum cleaner is controlled to enter pet mode, a preset detection area is obtained, the robot vacuum cleaner is controlled to move to a preset detection point in the preset detection area, and environmental information of the preset detection area is obtained at the preset detection point. The preset detection area is the area where the container is located. Based on the environmental information, obtain the first detection result; If the first detection result indicates that the substance inside the container has spilled out, an alarm message will be displayed; If the first detection result indicates that feces have spilled from the container, the robot vacuum cleaner is controlled to stop cleaning the preset detection area, or the robot vacuum cleaner is controlled to clean the area outside the location of the feces in the preset detection area. If the first detection result indicates that pet food pellets have spilled from the container and the number of pet food pellets exceeds a preset threshold, the robot vacuum cleaner is controlled to stop cleaning the pet food pellets; if an instruction to clean the pet food pellets is received, the robot vacuum cleaner is controlled to clean the pet food pellets.
2. The method according to claim 1, characterized in that, The container is a pet litter box; if the first detection result indicates that the substance in the container has spilled, an alarm message will be displayed, including: If the first detection result indicates that feces have spilled from the container, an alarm message indicating that feces have spilled from the container will be displayed.
3. The method according to claim 2, characterized in that, After obtaining the first detection result based on the environmental information, the method further includes: If the first detection result indicates that pet litter has spilled out of the container but feces have not, the robot vacuum cleaner is controlled to clean up the pet litter.
4. The method according to claim 1, characterized in that, The container is a pet food bowl; if the first detection result indicates that the substance in the container has spilled, an alarm message will be displayed, including: If the first detection result indicates that pet food pellets have spilled from the container and the number of pet food pellets exceeds a preset threshold, it is determined that a large amount of pet food pellets have spilled, and an alarm message indicating that pet food pellets have spilled from the container is displayed.
5. The method according to claim 4, characterized in that, After obtaining the first detection result based on the environmental information, the method further includes: If the first detection result indicates that pet food pellets have spilled from the container and the number of pet food pellets is less than or equal to the preset threshold, it is determined that a small amount of pet food pellets have spilled, and the robot vacuum cleaner is controlled to clean up the pet food pellets. If the first detection result indicates that the container's posture is abnormal, an alarm message indicating the abnormal posture of the container will be displayed.
6. The method according to claim 1, characterized in that, The container is a pet water box; if the first detection result indicates that the substance in the container has spilled, an alarm message will be displayed, including: If the first detection result indicates that liquid has spilled from the container, an alarm message indicating that liquid has spilled from the container is displayed.
7. The method according to claim 1, characterized in that, The container is a pet water box; the method further includes: Obtain the location information of the container; Based on the location information, the robot vacuum cleaner is controlled to approach the container at a preset speed, and the sensors of the robot vacuum cleaner are controlled to detect and obtain a second detection result; If the robot vacuum cleaner has a mopping function and the second detection result indicates that there is liquid on the robot vacuum cleaner's movement path, the robot vacuum cleaner is controlled to clean the liquid on the movement path. If the robot vacuum cleaner does not have a mopping function and the second detection result indicates that there is liquid on the robot vacuum cleaner's movement path, the robot vacuum cleaner is controlled to stop moving and a prompt message indicating that the mopping component needs to be installed is displayed. If the mopping component is confirmed to be installed on the robot vacuum cleaner, the robot vacuum cleaner is controlled to clean up the liquid on the movement path.
8. The method according to claim 1, characterized in that, The step of obtaining environmental information of the preset detection area at the preset detection point includes: The robot vacuum cleaner is controlled to rotate at the preset detection point, so that the camera of the robot vacuum cleaner covers the preset detection area, and the camera is controlled to collect the environmental information.
9. The method according to claim 1, characterized in that, The step of obtaining the first detection result based on the environmental information includes: If the environmental information indicates that the substance inside the container is on the ground in the preset detection area, the first detection result is determined to be that the substance inside the container has spilled.
10. The method according to claim 1, characterized in that, Before controlling the robotic vacuum cleaner to move to a preset detection point within a preset detection area, and before acquiring environmental information of the preset detection area at the preset detection point, the method further includes: Obtain the location information of the container; Based on the location information, the preset detection area is defined.
11. The method according to claim 10, characterized in that, Before obtaining the location information of the container, the method further includes: The camera of the robotic vacuum cleaner is controlled to perform detection and obtain a third detection result; The step of obtaining the location information of the container includes: If the third detection result indicates that the container has been detected, the location information of the container is obtained according to the navigation map of the sweeping robot.
12. The method according to claim 10, characterized in that, The step of defining the preset detection area based on the location information includes: Based on the location information, a rectangular initial detection area is defined, and the center of the initial detection area is the location of the container; If there are obstacles in the initial detection area, the area where the obstacles are located is removed to obtain the preset detection area.
13. A device for handling spilled material from a container, applied to a sweeping robot, characterized in that, The device includes: The first acquisition module is used to control the robot vacuum cleaner to enter pet mode, acquire a preset detection area, control the robot vacuum cleaner to move to a preset detection point in the preset detection area, and acquire environmental information of the preset detection area at the preset detection point. The preset detection area is the area where the container is located. The second acquisition module is used to acquire the first detection result based on the environmental information; The display module is used to display alarm information when the first detection result is that the substance in the container has spilled out; The first control module is used to control the sweeping robot to stop cleaning the preset detection area when the first detection result is that the feces in the container have spilled out, or to control the sweeping robot to clean the area outside the location of the feces in the preset detection area. The third control module is used to control the robot vacuum cleaner to stop cleaning the pet food particles when the first detection result is that the pet food particles in the container have spilled out and the number of pet food particles is greater than a preset threshold; and to control the robot vacuum cleaner to clean the pet food particles when it receives an instruction to clean the pet food particles.
14. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method for handling spillage of material inside a container as claimed in any one of claims 1 to 12.
15. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the method for handling spilled material from a container as described in any one of claims 1 to 12.
Citation Information
Patent Citations
Cleaning method and device of mobile robot, storage medium and electronic device
CN113616119A
Cleaning of Pet Areas by Autonomous Cleaning Robots
US20200245836A1
