A mattress cleaning method and related products

By integrating item recognition and movement control modules on the smart mattress, the tilt and vibration functions of the mattress are used to solve the problem that existing smart mattresses cannot automatically clean items, achieving automatic cleaning and a better user experience.

CN115670173BActive Publication Date: 2025-03-25DONGGUAN DERUCCI BEDDING CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211357083.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-01
Publication Date
2025-03-25
Estimated Expiration
2042-11-01

AI Technical Summary

Technical Problem

Existing smart mattresses cannot automatically clean up snacks or waste falling on the mattress, resulting in a poor user experience.

Method used

By setting up an item category confirmation module, current position determination module, tilt parameter determination module and item movement control module on the mattress, use the tilt and vibration functions of the mattress to identify and clean fallen items.

Benefits of technology

The automatic cleaning function is realized, which improves the user experience and reduces the burden of manual cleaning by users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115670173B_ABST
    Figure CN115670173B_ABST
Patent Text Reader

Abstract

The embodiment of the present application relates to the technical field of smart home devices, and discloses a mattress cleaning method and related products, the method comprising: when the mattress is in cleaning mode, determining whether the items on the mattress belong to a target category; if the items belong to the target category, determining the current position of the items on the mattress; according to the current position, determining the inclination parameter of the mattress; according to the inclination parameter, controlling the inclination of the mattress relative to the horizontal plane, and controlling the vibration of the mattress to move the items from the current position until they leave the mattress. By adopting the embodiment of the present application, when the mattress is in cleaning mode, if it is recognized that the items on the mattress belong to the target category, the items can be moved away from the mattress by controlling the inclination and vibration of the mattress, so as to achieve automatic cleaning and improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and in particular to a mattress cleaning method and related products. Background Art

[0002] Existing smart mattresses can provide users with a very comfortable physical experience. Therefore, in addition to sleeping on the mattress, users also entertain themselves on the mattress, such as watching mobile phones and eating snacks on the mattress.

[0003] When users eat snacks on the mattress, the snacks will inevitably fall on the mattress. The existing mattresses have a single function, which is mainly used for sleeping. The snacks and waste dropped on the mattress cannot be cleaned and need to be handled by the users themselves, so the user experience is not good. Summary of the invention

[0004] The embodiments of the present application disclose a mattress cleaning method and related products. When the mattress is in cleaning mode, if it is recognized that an object on the mattress belongs to a target category, the object is moved away from the mattress by controlling the mattress to tilt and vibrate, thereby achieving automatic cleaning and improving user experience.

[0005] The first aspect of the present application provides a mattress cleaning method, comprising:

[0006] When the mattress is in a cleaning mode, determining whether an item on the mattress belongs to a target category;

[0007] If the object belongs to the target category, determining the current position of the object on the mattress;

[0008] Determining a tilt parameter of the mattress according to the current position;

[0009] The mattress is controlled to tilt relative to a horizontal plane according to the tilt parameter, and the mattress is controlled to vibrate, so that the object moves from the current position until it leaves the mattress.

[0010] As an optional implementation manner, determining the inclination parameter of the mattress according to the current position includes:

[0011] determining a target position on the mattress, wherein the target position is located at an edge of the mattress;

[0012] The inclination parameter of the mattress is determined according to the current position and the target position.

[0013] As an optional implementation manner, determining the target position on the mattress includes:

[0014] Determining a storage location for the item according to the target category;

[0015] The target position is determined according to the storage position.

[0016] As an optional implementation manner, determining the target position on the mattress includes:

[0017] Obtaining a path rule for the object to move on the mattress;

[0018] The target location is determined according to the path rule.

[0019] As an optional embodiment, the mattress is provided with a plurality of airbag modules, and the step of controlling the mattress to tilt relative to a horizontal plane according to the tilt parameter comprises:

[0020] Determining a corresponding target airbag module according to the current position, the target position, and an area between the current position and the target position;

[0021] Determining inflation and deflation parameters corresponding to the target airbag module according to the tilt parameter;

[0022] The inflation and deflation of the target airbag module are controlled according to the inflation and deflation parameters.

[0023] As an optional implementation, after controlling the mattress to tilt relative to a horizontal plane according to the tilt parameter and controlling the mattress to vibrate, the method further includes:

[0024] After the item leaves the mattress, a smart home device corresponding to the item is controlled to store the item.

[0025] A second aspect of an embodiment of the present application provides a mattress cleaning device, comprising: an item category confirmation module, a current position determination module, a tilt parameter determination module, and an item movement control module, wherein:

[0026] an item category confirmation module, used to determine whether an item on the mattress belongs to a target category when the mattress is in a cleaning mode;

[0027] a current position determination module, configured to determine a current position of the object on the mattress if the object belongs to the target category;

[0028] a tilt parameter determination module, for determining a tilt parameter of the mattress according to the current position;

[0029] The object movement control module is used to control the inclination of the mattress relative to the horizontal plane according to the inclination parameter, and control the vibration of the mattress, so that the object moves from the current position until it leaves the mattress.

[0030] As an optional implementation manner, the tilt parameter determination module includes:

[0031] a target position determination submodule, used to determine a target position on the mattress, wherein the target position is located at an edge of the mattress;

[0032] The tilt parameter determination submodule is used to determine the tilt parameter of the mattress according to the current position and the target position.

[0033] As an optional embodiment, the mattress is provided with a plurality of airbag modules, and the object movement control module comprises:

[0034] an airbag determination submodule, configured to determine a corresponding target airbag module according to the current position, the target position, and an area between the current position and the target position;

[0035] a parameter determination submodule, for determining, according to the tilt parameter, inflation and deflation parameters corresponding to the target airbag module;

[0036] The charging and discharging control submodule is used to control the charging and discharging of the target airbag module according to the charging and discharging parameters.

[0037] A third aspect of the embodiment of the present application provides a mattress, comprising:

[0038] A memory storing executable program code;

[0039] a processor coupled to the memory;

[0040] The processor calls the executable program code stored in the memory to execute the steps in the mattress cleaning method provided in the first aspect.

[0041] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the mattress cleaning method provided in the first aspect are implemented.

[0042] Compared with the prior art, the mattress cleaning method provided in the embodiment of the present application, when the mattress is in cleaning mode, if it is recognized that the objects on the mattress belong to the target category, the objects are moved away from the mattress by controlling the tilt and vibration of the mattress to achieve automatic cleaning and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 A schematic diagram of a mattress cleaning method provided in an embodiment of the present application;

[0045] Figure 2 A schematic flow chart of a method for determining a tilt parameter of a mattress according to a current position provided in an embodiment of the present application;

[0046] Figure 3 A flowchart of a method for controlling the inclination of a mattress relative to a horizontal plane according to an inclination parameter is provided for an embodiment of the present application;

[0047] Figure 4 A schematic diagram of another mattress cleaning method provided in an embodiment of the present application;

[0048] Figure 5 A schematic diagram of the structure of a mattress cleaning device provided in an embodiment of the present application;

[0049] Figure 6 A schematic structural diagram of a mattress provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0051] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0052] When users eat snacks on the mattress, the snacks will inevitably fall on the mattress. The existing mattresses have a single function, which is mainly used for sleeping. The snacks and waste dropped on the mattress cannot be cleaned and need to be handled by the users themselves, so the user experience is not good.

[0053] In view of this, an embodiment of the present application provides a mattress cleaning method. When the mattress is in cleaning mode, if an object on the mattress is identified as belonging to a target category, the object is moved away from the mattress by controlling the mattress to tilt and vibrate, thereby achieving automatic cleaning and improving user experience.

[0054] Figure 1 A schematic diagram of a mattress cleaning method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the mattress cleaning method may include:

[0055] Step 101: When the mattress is in a cleaning mode, determine whether an item on the mattress belongs to a target category.

[0056] It should be noted that, in addition to the conventional sleeping function, the mattress also has a cleaning mode, which is used for the mattress to clean or clear items on the mattress. There are different cleaning methods for different items. For example, the cleaning method may include tilting and vibrating for snacks and waste, tilting for ball toys, etc. This embodiment is mainly for cleaning snacks, waste, etc., so the mattress first needs to determine whether the items on the mattress are target categories, that is, the items belong to the category of items that need to be cleaned. This embodiment does not limit the implementation method for determining whether the items on the mattress are target categories.

[0057] In a possible implementation, the mattress may be provided with a photographing component, through which a photographed image of the mattress is obtained, and whether the item on the mattress is of a target category is determined based on the photographed image. Furthermore, the image of the item in the photographed image may be obtained for further analysis, and the image of the item may be transmitted to a server for item recognition to determine whether the item is of a target category, such as whether it is a snack. By adopting this embodiment, it is possible to quickly determine whether the item on the mattress is a snack based on the image of the item without the user having to perform any additional actions, thereby improving the user experience.

[0058] In another possible implementation, the mattress may be provided with a photographing component, through which the photographing component of the mattress obtains a photographed image of the mattress, and determines whether the items on the mattress are of the target category based on the photographed image. Furthermore, the image of the item in the photographed image may be obtained for further analysis, and the image of the item may be compared with the image of the item pre-stored in the database to determine whether the item is of the target category, that is, the server of the mattress pre-stores the image and information of each item, and by comparing the photographed image with the pre-stored image of the item, the corresponding item can be determined to obtain the category of the item. This method can quickly and accurately determine whether the item on the mattress is of the target category, thereby improving the accuracy of the judgment.

[0059] Step 102: If the object belongs to the target category, determine the current position of the object on the mattress.

[0060] It should be noted that after determining that the item on the mattress is a target category, for example, the item is a snack, cleaning begins, and first the current position of the item on the mattress needs to be determined. This embodiment does not limit the implementation method of determining the current position of the item.

[0061] In a possible implementation, the smart mattress may be provided with a shooting component, and a photographed image of the smart mattress may be obtained through the shooting component of the smart mattress, and the current position of the object may be determined based on the photographed image. Furthermore, the mattress may be divided into a plurality of position areas, and the current position of the object may be determined based on the position area on the mattress blocked by the object in the photographed image. By adopting the above implementation, the current position of the object may be obtained without the user noticing, thereby improving the user experience.

[0062] In another possible embodiment, the mattress is provided with an infrared sensing module, through which the distance of the object relative to the preset position of the mattress is obtained, and the current position of the object is determined according to the preset position, the distance and the size of the mattress. Furthermore, the position of the object can be located by at least two infrared sensing modules, and the two infrared sensing modules can be set at opposite ends of the mattress, for example, one module is set at the front end, one module is set at the rear end, or two modules are respectively set at diagonal positions. By adopting the above embodiment, the current position of the object can be obtained more accurately, and the accuracy of detection is improved.

[0063] In another possible implementation, the mattress is divided into a plurality of position areas, each of the position areas is provided with a pressure sensor, and determining the current position of the object may include: acquiring a sensing value of the pressure sensor; screening out a target pressure sensor whose sensing value has changed from the sensing values; and determining the current position of the object according to the position area corresponding to the target pressure sensor.

[0064] It should be noted that this embodiment does not limit the arrangement of the multiple pressure sensors set on the mattress, for example, they can be evenly arranged in strips or in a mesh. When an object falls on the mattress, the sensing value of the pressure sensor corresponding to the position of the object will change, for example, the sensing value will increase or decrease. Then, after the mattress obtains the sensing values ​​of all pressure sensors, it can filter out the target pressure sensor whose sensing value has changed, and the location area where the target pressure sensor is located is the current location of the object. With the above implementation, the current location of the object can be accurately and quickly determined.

[0065] Step 103: Determine the inclination parameter of the mattress according to the current position.

[0066] It should be noted that the method of cleaning the items in this embodiment is to tilt the mattress and vibrate the mattress to make the items leave the mattress. Therefore, after determining the current position of the item, it is necessary to determine the inclination parameters of the mattress, and the inclination parameters may include the inclination direction and inclination angle of the mattress. The inclination direction of the mattress can be determined based on the current position of the item and the edge position of the mattress. For example, when the current position of the item is close to a certain edge of the mattress, it can be determined that the inclination direction of the mattress is inclined toward the edge so that the item can quickly leave the mattress from the edge. The inclination angle of the mattress can be determined based on the distance between the current position of the item and the edge position of the mattress. The farther the distance the item needs to move, the greater the inclination angle. For example, when the current position of the item is at the pillow position at the head of the bed, but the item is to leave the mattress from the foot of the bed, the inclination angle is relatively large due to the long distance. This embodiment does not limit the method for determining the inclination parameters of the mattress, as long as the inclination parameters can make the item leave the mattress.

[0067] In a possible implementation, in order to ensure the effectiveness of mattress cleaning, when determining the inclination parameters of the mattress, a target position may be determined as the final position of the object leaving the mattress, and the inclination parameters are then determined based on the current position and the target position.

[0068] Figure 2 A flowchart of a method for determining a mattress tilt parameter according to a current position provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, determining the inclination parameter of the mattress according to the current position may include:

[0069] Step 1031: Determine a target position on the mattress, where the target position is located at the edge of the mattress;

[0070] Step 1032: Determine the inclination parameter of the mattress according to the current position and the target position.

[0071] It should be noted that the target position is used to indicate the position where the object leaves the mattress. The target position is the edge of the mattress. After the target position is determined, the inclination parameter of the mattress can be determined based on the current position and the target position. For example, if the target position is determined to be the left edge, then the inclination parameter can be determined to be that the mattress is inclined to the left edge. If the target position is determined to be the right edge, then the inclination parameter can be determined to be that the mattress is inclined to the right edge. By setting the inclination parameter corresponding to the target position, the object can be quickly removed from the mattress, achieving the purpose of rapid cleaning.

[0072] In some embodiments, the step 1031 of determining the target position on the mattress may include: determining the storage position of the item according to the target category; and determining the target position according to the storage position.

[0073] It should be noted that the storage position is used to indicate the position corresponding to the storage of the item, which may include but is not limited to the position of the storage device corresponding to the item or the placement position corresponding to the item, etc. The embodiment of the present application does not specifically limit the method of determining the storage position of the item according to the target category. For example, when the item category is snacks, the storage position can be determined according to the position of the smart home device, such as the position of the smart trash can or the position of the smart sweeper. The smart home device can communicate with the mattress or the mattress can determine the position of the smart home device by scanning, that is, determine the storage position; for another example, when the item category is clothes, a smart home device is set next to the mattress, such as a smart clothes barrel. The smart home device can communicate with the mattress or determine the position of the smart home device through the shooting component of the mattress, that is, determine the storage position.

[0074] After the storage position is determined, the target position can be determined according to the storage position. The embodiment of the present application does not limit the method of determining the target position according to the storage position. In one possible implementation, the smart mattress determines the position of the edge of the mattress on the mattress that is closest to the smart home device based on the image of the mattress and the smart home device taken by the shooting component. Exemplarily, the image taken by the shooting component of the mattress is transmitted to the server, and the server analyzes and determines that the smart sweeping robot is located in the area at the tail of the mattress. Then, the position of the edge of the mattress closest to the smart sweeping robot can be determined to be the tail of the mattress, and the target position can be determined to be the tail edge of the mattress. Similarly, if the image taken by the shooting component of the mattress is transmitted to the server, and the server analyzes and determines that the smart clothes barrel is located in the area at the tail of the right side of the mattress, then the position of the edge of the mattress closest to the smart clothes barrel can be determined to be the tail of the right side of the mattress, and the target position can be determined to be the tail edge of the right side of the mattress.

[0075] It is understandable that the storage position is the location where the items will go after leaving the mattress. Determining the target location on the mattress according to the storage position is an objective method, which can facilitate the cleaning of items and facilitate the items to quickly go to the storage location after leaving the mattress. The above embodiment can facilitate the cleaning of the mattress and the storage of items, quickly complete the mattress cleaning, and improve the user experience.

[0076] In some embodiments, the step 1031 of determining the target position on the mattress may include: obtaining a path rule for the object to move on the mattress; and determining the target position according to the path rule.

[0077] It should be noted that the present embodiment does not limit the method for obtaining the path rules for the movement of the object on the mattress. For example, after determining the target category corresponding to the object, the path rules for the movement of the object of the target category on the mattress stored in the mattress can be read, or obtained through the path rules input by the user, or obtained from other devices (such as a server) through the network, etc.

[0078] The path rule for the object to move on the mattress may be a key parameter for determining the target position, and the target position may be determined according to the path rule. For example, if the path rule for the object to move on the mattress is to obtain the shortest path, then the position of the edge of the mattress closest to the current position of the object may be set as the target position; if the path rule for the object to move on the mattress is to move to the right side of the mattress, then the position of the right edge of the mattress closest to the current position of the object may be set as the target position.

[0079] It is understandable that the method of determining the target position based on the path rules of the object moving on the mattress can determine the target position according to user needs, environmental conditions or mattress characteristics to achieve better cleaning effects, meet user needs and improve user experience.

[0080] Step 104: Control the mattress to tilt relative to a horizontal plane according to the tilt parameter, and control the mattress to vibrate, so that the object moves from the current position until it leaves the mattress.

[0081] It should be noted that after the tilt parameter is determined, the mattress needs to be tilted according to the tilt parameter. In addition, in order to facilitate the movement of the object, the vibration component of the mattress needs to be controlled to start vibration so that the object quickly reaches the target position and leaves the mattress. The embodiment of the present application does not limit the method of controlling the tilt of the mattress relative to the horizontal plane according to the tilt parameter.

[0082] In some embodiments, when controlling the inclination of the mattress, only the mattress area at the corresponding position may be selected to be tilted, without tilting the entire mattress, so as to achieve the purpose of not affecting the operation of other parts of the mattress.

[0083] Figure 3 A flowchart of a method for controlling the inclination of a mattress relative to a horizontal plane according to an inclination parameter is provided for an embodiment of the present application. Figure 3 As shown, the mattress is provided with a plurality of airbag modules, and the step of controlling the inclination of the mattress relative to the horizontal plane according to the inclination parameter may include:

[0084] 1041: Determine a corresponding target airbag module according to the current position, the target position, and an area between the current position and the target position;

[0085] 1042: Determine inflation and deflation parameters corresponding to the target airbag module according to the tilt parameter;

[0086] 1043: Controlling the inflation and deflation of the target airbag module according to the inflation and deflation parameters.

[0087] It should be noted that the mattress can be provided with a plurality of airbag modules, and the present embodiment does not limit the arrangement of the plurality of airbag modules. For example, the plurality of airbag modules can be arranged at set intervals along the length direction and / or width direction of the mattress. When determining the target airbag module, the corresponding target airbag module can be determined according to the current position, the target position, and the area between the current position and the target position. Since the object needs to be moved from the current position to the target position, the area between the current position and the target position includes the area corresponding to the path of the object moving from the current position to the target position. According to the current position, the target position, and the path area between the current position and the target position, the corresponding target airbag module can be determined. Exemplarily, the current position and the target position can be determined by the photographing component of the mattress, and the area through which the object moves can be calculated, thereby determining the corresponding target airbag module. Then, according to the tilt parameter, the inflation and deflation parameters corresponding to the target airbag module are determined; and the inflation and deflation of the target airbag module is controlled according to the inflation and deflation parameters.

[0088] In a possible embodiment, if the target airbag module includes multiple ones, determining the inflation and deflation parameters corresponding to the target airbag module according to the tilt parameter may include: determining the target height corresponding to each of the target airbag modules according to the tilt parameter; and determining the inflation and deflation parameters corresponding to each of the target airbag modules according to the target height corresponding to each of the target airbag modules.

[0089] Further, according to the tilt parameter, determining the target height corresponding to each of the target airbag modules may include: determining the minimum height of each of the target airbag modules, and determining the target height corresponding to each of the target airbag modules according to the minimum height of each of the target airbag modules and the tilt parameter.

[0090] It is understandable that if the minimum height corresponding to each target airbag module is consistent, then the target airbag module corresponding to the target position can be set to the minimum height, and the height of the target airbag module set from the target position to the current position is raised in sequence, and the target height is reached when the airbag module corresponding to the current position is reached, so as to form a slope from the current position to the target position, which can further promote the movement of objects. If the mattress has a large number of airbag modules and each airbag module is relatively small, a smooth slope can be formed from the current position to the target position. If the airbag modules are larger, a stepped slope may be formed from the current position to the target position.

[0091] Further, determining the inflation and deflation parameters corresponding to each target airbag module according to the target height corresponding to each target airbag module may include: determining the current height of each target airbag module; and determining the inflation and deflation parameters corresponding to each target airbag module according to the current height and target height of each target airbag module.

[0092] It is understandable that in order to provide users with a better sleeping environment, the various airbag modules of the mattress may be at different current heights. Therefore, when the height of each target airbag module needs to be adjusted to the target height, it is necessary to first compare the target height with the current height to determine the inflation or deflation. If the current height is higher than the target height, the target airbag module needs to be deflated. If the current height is lower than the target height, the target airbag module needs to be inflated. If the current height is equal to the target height, the target airbag module does not need to be inflated or deflated. Among them, the inflation and deflation parameters can be parameters such as inflation and deflation time or inflation and deflation volume. The mattress can pre-store the correspondence between the height of the airbag module and the inflation and deflation time, or the correspondence between the height of the airbag module and the inflation and deflation volume. After determining the current height and target height of the target airbag module, the height difference is calculated. The inflation and deflation parameters corresponding to the target airbag module can be obtained according to the height difference, the correspondence between the preset height of the airbag module and the inflation and deflation time, or the inflation and deflation parameters corresponding to the target airbag module can be obtained according to the height difference, the correspondence between the preset height and the inflation and deflation volume. Calculation is performed on each of the target airbag modules to obtain the inflation and deflation parameters corresponding to each of the target airbag modules.

[0093] After obtaining the inflation and deflation parameters of each target airbag module, each target airbag module can be inflated and deflated according to the inflation and deflation parameters. With the above embodiment, the mattress can be easily and quickly tilted relative to the horizontal plane according to the tilt parameters to achieve the purpose of cleaning the mattress.

[0094] In some embodiments, after the items leave the mattress, they need to be further stored or processed to provide the user with a better experience.

[0095] Figure 4 A schematic diagram of another mattress cleaning method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, after step 104, the following steps may also be included:

[0096] Step 201: After the item leaves the mattress, control the smart home device corresponding to the item to store the item.

[0097] For example, after the item leaves the mattress, if the item is a snack, the sweeping robot can be controlled to vacuum the location where the item falls; if the item is clothing, the smart clothes barrel can be controlled to store the clothing, and so on. The embodiment of the present application does not limit the method of controlling the smart home device corresponding to the item to store the item.

[0098] By adopting the above-mentioned implementation mode, the mattress can be cleaned more thoroughly, not only the items are removed from the mattress, but also the items are finally stored, thereby improving the user experience.

[0099] In some embodiments, when the mattress is in the cleaning mode, it is necessary to determine whether the mattress is currently on a flat surface, so as to clearly determine the status of items on the mattress.

[0100] In this embodiment, when the mattress is in the cleaning mode, before determining whether the item on the mattress belongs to the target category, the method includes:

[0101] determining whether the mattress is in a flat surface;

[0102] If the mattress is not in a plane, adjust the mattress to be in a plane; if the mattress is in a plane, do not take any action.

[0103] It should be noted that the embodiment of the present application does not limit the method for determining whether the mattress is in a plane. Whether the mattress is in a plane can be determined in a variety of ways, for example, whether the mattress is in a plane can be determined by reading the parameters of the mattress, that is, by reading the parameters for adjusting the thickness or height of the mattress, and whether the mattress is in a plane can also be determined by certain component detection, for example, by detecting the infrared component or the camera component of the mattress.

[0104] In a possible implementation, when the mattress includes an airbag module for adjusting the height of the mattress, determining whether the mattress is in a plane may include: reading state parameters of the airbag module, and determining whether the mattress belongs to a plane according to the state parameters of the airbag module.

[0105] It should be noted that after the height of the mattress is adjusted by adjusting the airbag module of the mattress, the state parameters of the airbag module are changed. Therefore, it is possible to determine whether the mattress belongs to a plane by reading the state parameters of the airbag module.

[0106] In a possible implementation, the mattress includes an infrared component, and determining whether the mattress is in a plane may include: scanning a flatness parameter of the mattress by the infrared component, and determining whether the mattress is in a plane according to the flatness parameter.

[0107] It should be noted that the mattress can be provided with an infrared component. For example, the infrared component can be set at the head of the bed. By turning on the infrared component, infrared light is emitted from the head of the bed to the foot of the bed near the mattress. If the infrared light can pass smoothly through the upper part of the mattress, it is determined that the mattresses are in the same plane. If not, it means that the mattresses are not in the same plane.

[0108] In a possible implementation, the mattress includes a photographing component, and determining whether the mattress is in a plane may include: photographing an image of the mattress by the photographing component, and analyzing the image to determine whether the mattress is in a plane.

[0109] It should be noted that the mattress may be provided with a photographing component, which may take an image of the mattress and perform image analysis on the mattress image. For example, by analyzing whether the edge of the mattress is a straight line, it can be determined whether the mattresses are in the same plane. If the edge of the mattress is a straight line, it can be determined that the mattresses are in the same plane. If the edge of the mattress is not a straight line, it can be determined that the mattresses are not in the same plane. In addition, according to the image depth analysis method, the distance between each area of ​​the mattress and the camera can be analyzed based on the mattress image. If the distance of a certain area changes significantly, it can be determined that the mattresses are not in the same plane. If the distance of each area of ​​the mattress changes linearly, it can be determined that the mattresses are in the same plane.

[0110] It is understandable that after determining that the mattresses are not in the same plane, the method of adjusting the mattresses to be in one plane may be to adjust the mattresses to return to an initial state, etc. This embodiment does not limit the method of adjusting the mattresses to be in one plane.

[0111] Figure 5 A schematic diagram of the structure of a mattress cleaning device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the mattress cleaning device 300 includes: an article category confirmation module 301, a current position determination module 302, a tilt parameter determination module 303 and an article movement control module 304, wherein:

[0112] An item category confirmation module 301 is used to determine whether an item on the mattress belongs to a target category when the mattress is in a cleaning mode;

[0113] a current position determination module 302, for determining a current position of the object on the mattress if the object belongs to the target category;

[0114] A tilt parameter determination module 303, for determining a tilt parameter of the mattress according to the current position;

[0115] The object movement control module 304 is used to control the inclination of the mattress relative to the horizontal plane according to the inclination parameter, and control the vibration of the mattress, so that the object moves from the current position until it leaves the mattress.

[0116] In some embodiments, the tilt parameter determination module 303 may include:

[0117] a target position determination submodule, used to determine a target position on the mattress, wherein the target position is located at an edge of the mattress;

[0118] The tilt parameter determination submodule is used to determine the tilt parameter of the mattress according to the current position and the target position.

[0119] In some embodiments, the target location determination submodule may include:

[0120] a storage location determination unit, configured to determine a storage location of the item according to the target category;

[0121] The first position determining unit is used to determine the target position according to the storage position.

[0122] In some embodiments, the target location determination submodule may include:

[0123] A path rule acquisition unit, used to acquire a path rule for the object to move on the mattress;

[0124] The second position determining unit is used to determine the target position according to the path rule.

[0125] In some embodiments, the mattress is provided with a plurality of airbag modules, and the object movement control module 304 includes:

[0126] an airbag determination submodule, configured to determine a corresponding target airbag module according to the current position, the target position, and an area between the current position and the target position;

[0127] a parameter determination submodule, for determining, according to the tilt parameter, inflation and deflation parameters corresponding to the target airbag module;

[0128] The charging and discharging control submodule is used to control the charging and discharging of the target airbag module according to the charging and discharging parameters.

[0129] In some embodiments, the mattress cleaning device further includes: a home appliance control module, configured to control a smart home appliance corresponding to the item to store the item after the item leaves the mattress.

[0130] Figure 6 A schematic diagram of the structure of a mattress provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the mattress comprises:

[0131] A memory 1001 storing executable program codes;

[0132] A processor 1002 coupled to the memory;

[0133] The processor 1002 calls the executable program code stored in the memory 1001 to perform the following steps:

[0134] When the mattress is in a cleaning mode, determining whether an item on the mattress belongs to a target category;

[0135] If the object belongs to the target category, determining the current position of the object on the mattress;

[0136] Determining a tilt parameter of the mattress according to the current position;

[0137] The mattress is controlled to tilt relative to a horizontal plane according to the tilt parameter, and the mattress is controlled to vibrate, so that the object moves from the current position until it leaves the mattress.

[0138] In some implementations, the processor 1002 determines the inclination parameter of the mattress according to the current position as follows:

[0139] determining a target position on the mattress, wherein the target position is located at an edge of the mattress;

[0140] The inclination parameter of the mattress is determined according to the current position and the target position.

[0141] In some implementations, the processor 1002 determines the target location on the mattress as follows:

[0142] Determining a storage location for the item according to the target category;

[0143] The target position is determined according to the storage position.

[0144] In some implementations, the processor 1002 determines the target location on the mattress as follows:

[0145] Obtaining a path rule for the object to move on the mattress;

[0146] The target location is determined according to the path rule.

[0147] In some embodiments, the mattress is provided with a plurality of airbag modules, and the processor 1002 controls the inclination of the mattress relative to the horizontal plane according to the inclination parameter as follows:

[0148] Determining a corresponding target airbag module according to the current position, the target position, and an area between the current position and the target position;

[0149] Determining inflation and deflation parameters corresponding to the target airbag module according to the tilt parameter;

[0150] The inflation and deflation of the target airbag module are controlled according to the inflation and deflation parameters.

[0151] In some embodiments, after controlling the mattress to tilt relative to a horizontal plane according to the tilt parameter and controlling the mattress to vibrate, the mattress cleaning method of the processor 1002 further includes:

[0152] After the item leaves the mattress, a smart home device corresponding to the item is controlled to store the item.

[0153] The embodiments of the present application further disclose a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, all or part of the steps in the foregoing method embodiments are implemented.

[0154] The above is a detailed introduction to a mattress cleaning method and related products disclosed in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the application.

Claims

1. A mattress cleaning method, characterized in that: include: When the mattress is in a cleaning mode, determining whether an object on the mattress belongs to a target category, wherein the category of the object is determined by taking an image of the mattress by a photographing component; If the object belongs to the target category, determining the current position of the object on the mattress; Determining a tilt parameter of the mattress according to the current position; Controlling the mattress to tilt relative to a horizontal plane according to the tilt parameter, and controlling the mattress to vibrate, so that the object moves from the current position until the object leaves the mattress from the target position; Determining the inclination parameter of the mattress according to the current position includes: Determine a target position on the mattress, the target position being located at an edge of the mattress, the target position being used to indicate a position where the object leaves the mattress; determining a tilt parameter of the mattress according to the current position and the target position; Determining the target position on the mattress includes: Determining a storage location for the item according to the target category; The target position is determined according to the storage position.

2. The method according to claim 1, characterized in that Determining the target position on the mattress includes: Obtaining a path rule for the object to move on the mattress; The target location is determined according to the path rule.

3. The method according to claim 1, characterized in that The mattress is provided with a plurality of airbag modules, and the step of controlling the mattress to tilt relative to a horizontal plane according to the tilt parameter comprises: Determining a corresponding target airbag module according to the current position, the target position, and an area between the current position and the target position; Determining inflation and deflation parameters corresponding to the target airbag module according to the tilt parameter; The inflation and deflation of the target airbag module are controlled according to the inflation and deflation parameters.

4. The method according to claim 1, characterized in that: After controlling the mattress to tilt relative to a horizontal plane according to the tilt parameter and controlling the mattress to vibrate, the method further includes: After the item leaves the mattress, a smart home device corresponding to the item is controlled to store the item.

5. A mattress cleaning device, characterized in that: include: Item category confirmation module, current position determination module, tilt parameter determination module and item movement control module, wherein: An object category confirmation module, used to determine whether an object on the mattress belongs to a target category when the mattress is in a cleaning mode, wherein the category of the object is determined by taking an image of the mattress by a photographing component; a current position determination module, configured to determine a current position of the object on the mattress if the object belongs to the target category; a tilt parameter determination module, for determining a tilt parameter of the mattress according to the current position; an object movement control module, for controlling the inclination of the mattress relative to a horizontal plane according to the inclination parameter, and controlling the vibration of the mattress, so that the object moves from the current position until the object leaves the mattress from the target position; The tilt parameter determination module comprises: a target position determination submodule, used to determine a target position on the mattress, wherein the target position is located at an edge of the mattress, and the target position is used to indicate a position where the object leaves the mattress; A tilt parameter determination submodule, used to determine the tilt parameter of the mattress according to the current position and the target position; The target position determination submodule includes: a storage location determination unit, configured to determine a storage location of the item according to the target category; The first position determining unit is used to determine the target position according to the storage position.

6. The device according to claim 5, characterized in that The mattress is provided with a plurality of airbag modules, and the object movement control module comprises: an airbag determination submodule, configured to determine a corresponding target airbag module according to the current position, the target position, and an area between the current position and the target position; a parameter determination submodule, for determining, according to the tilt parameter, inflation and deflation parameters corresponding to the target airbag module; The charging and discharging control submodule is used to control the charging and discharging of the target airbag module according to the charging and discharging parameters.

7. A mattress, characterized in that: include: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the steps in the mattress cleaning method according to any one of claims 1 to 4.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the mattress cleaning method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Control method for sweeping robot

    CN107997692A

  • A spring mattress having a function of timed mite removing

    CN108771389A

  • Intelligent air bag mattress control method and system, storage medium and intelligent terminal

    CN114680511A