Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
The term "correspond" may refer to an association or binding relationship, and a corresponds to B refers to an association or binding relationship between a and B.
In the embodiment of the disclosure, the intelligent household appliance is a household appliance formed by introducing a microprocessor, a sensor technology and a network communication technology into the household appliance, and has the characteristics of intelligent control, intelligent sensing and intelligent application, the operation process of the intelligent household appliance usually depends on the application and processing of modern technologies such as internet of things, internet and an electronic chip, for example, the intelligent household appliance can realize the remote control and management of a user on the intelligent household appliance by connecting the intelligent household appliance with the electronic device.
In the disclosed embodiment, the terminal device is an electronic device with a wireless connection function, and the terminal device can be in communication connection with the above intelligent household appliance by connecting to the internet, or can be in communication connection with the above intelligent household appliance directly in a bluetooth mode, a wifi mode, or the like. In some embodiments, the terminal device is, for example, a mobile device, a computer, or a vehicle-mounted device built in a floating car, or any combination thereof. The mobile device may include, for example, a cell phone, a smart home device, a wearable device, a smart mobile device, a virtual reality device, or the like, or any combination thereof, wherein the wearable device includes, for example: smart watches, smart bracelets, pedometers, and the like.
Referring to fig. 1, a sweeping robot 10 according to an embodiment of the present disclosure includes a detection module 101, a processor 102, an alarm module 103, and a cleaning module 104. The detection module 101 is configured to detect the size of an item to be cleaned. The processor 102 is configured to determine whether an easily swallowed article having a size smaller than a preset value exists in the articles to be cleaned, and send instructions to the alarm module 103 and/or the cleaning module 104. The alert module 103 is configured to issue an alert upon receiving an instruction from the processor. The cleaning module 104 is configured to clean an item to be cleaned.
The sweeping robot provided by the embodiment of the disclosure can realize the following technical effects: and judging whether articles easy to swallow by children exist in the articles to be cleaned according to the size of the articles to be cleaned. If not, automatic cleaning is carried out. If the swallow-prone object exists, an alarm is given to prompt the user, so that the swallow-prone object can be found and cleaned in time. Therefore, the cleaning tool can identify and clean the articles to be cleaned, and can effectively prevent children from eating the cleaning tool by mistake. In addition, the sweeping robot can achieve the effect without adding other devices.
As shown in connection with FIG. 2, the system environment for floor cleaning includes a control device 20 for floor cleaning and a floor cleaning device 30. And the control device 20 for floor cleaning and the floor cleaning device 30 can communicate with each other.
As shown in fig. 3, the control device 20 for floor cleaning according to the embodiment of the present disclosure includes a detection module 101, a processor 102, an alarm module 103, and a communication module 204. The detection module 101 is configured to detect the size of an item to be cleaned. The processor 102 is configured to determine whether an easily swallowed item having a size smaller than a preset value is present in the items to be swept and to issue instructions to the alarm module 103 and/or the floor cleaning device 30. The alert module 103 is configured to issue an alert upon receiving an instruction from the processor. The communication module 204 is configured to enable communication with the floor cleaning appliance and/or other equipment.
By adopting the control device for cleaning the floor, the following technical effects can be realized: and judging whether articles easy to swallow by children exist in the articles to be cleaned according to the size of the articles to be cleaned. If not, the original cleaning process is carried out. If the swallow-prone object exists, an alarm is given to prompt the user, so that the swallow-prone object can be found and cleaned in time. Therefore, the cleaning tool can identify and clean the articles to be cleaned, and can effectively prevent children from eating the cleaning tool by mistake. In addition, the device can be independently placed indoors for use, and can also be installed on other household appliances. The use is flexible and convenient. The household appliances include, but are not limited to, a sweeping robot, a dust collector and an air conditioner.
In addition, the device can be in communication connection with the intelligent household appliance through the communication module 204. For example, the intelligent air conditioner is in communication connection with a home, the detected information is sent to the air conditioner, and the air conditioner is controlled to perform corresponding operations, including sounding a prompt tone, changing the wind direction and the like. Therefore, linkage between intelligent household appliances can be realized, and the use is more convenient.
Alternatively, the detection module 101 may be a radar sensor. The radar sensor includes a terahertz proximity radar sensor, a microwave radar sensor, and the like. In this way, parameters such as the size, distance, and movement speed of the child of the article to be cleaned can be detected.
Alternatively, the detection module 101 may also be an image recognition module. The image recognition module comprises a camera. Therefore, the image recognition module can directly acquire the image information of the area to be detected, and can also determine the motion state and the motion speed of the child according to the change of the images before and after the time interval T.
Optionally, the alarm module 103 includes one or more of an alarm, a light alarm and an audible alarm interconnected with other devices. Therefore, the user can be ensured to receive the alarm prompt in time.
Optionally, the step of issuing an alarm by interconnecting with other devices includes: and sending the prompt information to a mobile phone end and/or a computer end of the user. Therefore, when the user and the control device are in different spaces, the user can know the actual ground condition in time.
Optionally, the Light alarm comprises an LED (Light-Emitting Diode) flashing in a predetermined pattern and/or Emitting Light of a different color. In this way, the user is made aware of easily swallowed items on the floor.
Optionally, the audible alarm comprises a speaker emitting a preset alert tone. Thus, the user can know the current ground situation according to the voice.
Optionally, the control device for floor cleaning further comprises a display screen. The display screen is configured to display a distance from the easy-to-swallow item, a number of easy-to-swallow items, and the like. Therefore, the user can know the ground condition more intuitively and accurately and perform corresponding operation.
As shown in connection with fig. 4, embodiments of the present disclosure provide a method for floor cleaning, comprising:
and S01, detecting the to-be-cleaned object in the area to be detected by the detection module.
And S02, the processor judges whether an easily swallowed article with the size smaller than the preset value exists in the articles to be cleaned.
And S03, if the easily swallowed object exists, the alarm module gives an alarm to prompt the user to clean the easily swallowed object.
And S04, if the swallowable article does not exist, the processor controls the floor cleaning device to perform cleaning operation on the area to be cleaned.
By adopting the method for cleaning the ground, provided by the embodiment of the disclosure, the following technical effects can be realized: and judging whether articles easy to swallow by children exist in the articles to be cleaned according to the size of the articles to be cleaned. If not, the original cleaning process is carried out. If the swallow-prone object exists, an alarm is given to prompt the user, so that the swallow-prone object can be found and cleaned in time. Therefore, the cleaning tool can identify and clean the articles to be cleaned, and can effectively prevent children from eating the cleaning tool by mistake.
Optionally, the preset value is determined according to the age and/or height of the child. Thus, due to different ages. The articles which are easy to swallow by children with different heights are different in size, different thresholds are set for different children, and the detection result is more accurate.
Optionally, the larger the child's age, the larger the preset value. And/or the higher the height of the child, the larger the preset value. Like this, can adjust the detection default value according to children's age, height, make the testing result more accurate effective.
Optionally, the preset values include a first preset value x and a second preset value y.
Referring to fig. 5, optionally, S02, the processor determining whether there is an easily swallowed article with a size smaller than a preset value in the article to be cleaned includes:
and S021, detecting the length of the to-be-cleaned object in each direction by the detection module, and sending the length to the processor.
S022, the processor compares the acquired plurality of lengths and determines a maximum length and a minimum length.
S023, when the minimum length is smaller than the first preset value x and the maximum length is smaller than the second preset value y, the processor determines that the article to be cleaned is an easily swallowed article.
Therefore, whether the article to be cleaned is an easily swallowed article can be accurately judged.
Wherein, the length of the object to be cleaned in all directions can be obtained by the radar sensor.
Further, the radar sensor can detect the material of the article. And the processor judges whether the easy-to-swallow metal object is a metal object according to the detection result. And if the metal object is the metal object, giving an alarm. Therefore, the user can be reminded of paying attention to metal objects around the child, and the metal objects are prevented from hurting the child. For example, metal objects such as magnetometers can cause greater damage to children than other types of easily swallowed objects.
In other embodiments, the lengths of the cleaning article in all directions can be acquired by the image recognition module. The image recognition module can directly acquire the image information of the area to be detected, and can also determine the motion state and the motion speed of the child according to the change of the images before and after the time interval T.
Still further, the image recognition module can send images of the identified easy-to-swallow items to the user, and the user selects certain items as security items according to actual conditions. During later use, the item is no longer identified as an easy-to-swallow item. Therefore, the situation that the toy, the nipple and other articles with small sizes are identified as easily swallowed articles can be avoided, the detection of the easily swallowed articles is continuously optimized, and the detection result is more accurate.
Optionally, the value range of the first preset value x is [2cm, 4cm ]. In particular, x may be 2.5cm, 3cm or 3.5 cm. The x is set according to the diameter of the esophagus of the child. Because the first preset value is larger than the diameter of the child esophagus, the articles with the size larger than the first preset value cannot enter the child esophagus. In this way, items that are at risk of swallowing can be excluded.
Optionally, the value range of the second preset value y is [5cm, 15cm ]. In this way, a suitable second preset value can be selected. Not only can avoid too small y value to eliminate swallowing risk, but also can avoid too large y value to misjudge the safe article as an easily swallowed article, thereby giving out alarm for many times.
Alternatively, the value of y may be set autonomously by the user. In particular, the user may set the security article according to its size. For example, if the maximum length of the safety toy for children is greater than 8cm, y is set to 8 cm. Thus, erroneous judgment can be reduced while the easy-to-swallow object is ensured to be identified.
Optionally, the alert comprises: the alarm is sent out by interconnecting with other equipment, and/or a light alarm and/or an audio alarm.
More specifically, a plurality of alarm modes may be set. For example, in the automatic cleaning mode, the alarm is a light alarm. In the manual mode, the alarms are light alarms and sound alarms. In this way, different use cases can be distinguished by different alarm modes. The user is prompted, the user is made to know the situation, and meanwhile excessive prompting disturbance to the user is avoided.
As shown in connection with fig. 6, another method for floor cleaning is provided by embodiments of the present disclosure, including:
and S11, detecting the to-be-cleaned object in the area to be detected by the detection module.
And S12, under the condition that the cleaning article exists in the cleaning area, the processor judges whether the easy-to-swallow article with the size smaller than the preset value exists in the cleaning article.
If an easy-to-swallow item is present, S13, the alert module issues an alert to prompt the user to clean the easy-to-swallow item.
And S14, the processor controls the floor cleaning device to enter an automatic sweeping mode.
S15, the processor receives a distance between the easy-to-swallow item and the child.
And S16, controlling the floor cleaning device to stop the automatic sweeping mode when the distance is smaller than the distance threshold value r.
If no easy-to-swallow item is present, S17, the processor controls the floor cleaning device to perform a sweeping operation.
Wherein the value of r is related to the motion state of the child.
By adopting the method for cleaning the ground, whether the object easy to swallow by children exists in the object to be cleaned is judged according to the size of the object to be cleaned. If not, the original cleaning process is carried out. If the swallow-prone object exists, an alarm is given to prompt the user, so that the swallow-prone object can be found and cleaned in time. Therefore, the cleaning tool can identify and clean the articles to be cleaned, and can effectively prevent children from eating the cleaning tool by mistake. In addition, the movable range of the floor cleaning device is limited by setting the r value, and the floor cleaning device is prevented from being too close to a child to cause collision.
Optionally, the floor cleaning device comprises a sweeping robot.
Optionally, the value of r related to the motion state of the child includes:
in the case where the child is at rest, r 1.
In the case where the child is in motion, r 2.
Wherein r1< r 2.
Therefore, the r value can be adjusted according to the specific motion state of the child, and the adjustment of the r value is more accurate.
Optionally, the value of r2 is related to the movement speed of the child and increases with the increase of the movement speed. Therefore, the limit of the r value is further refined according to the movement speed of the child, so that the value of r is more accurate and closer to the actual situation.
Optionally, r has a value in the range of [0.5m, 1.5m ]. The value range of r1 is [0.5m, 1m ]. The value range of r2 is [1m, 1.5m ]. Like this, children's motion speed is big more, and safety range is big more, can effectively avoid cleaning device to be too close to children.
Furthermore, the detection module detects the speed and the direction of the movement of the child and sends data to the processor, and the processor plans a cleaning path according to the data. Therefore, the cleaning path can be optimized, and the situation that the cleaning path is too close to a child or even collides in the cleaning process is avoided as much as possible.
Optionally, the detection module comprises a radar sensor. In this way, the speed and direction of movement can be directly measured.
As shown in connection with fig. 7, another method for floor cleaning is provided by embodiments of the present disclosure, including:
s21, the detection module detects the cleaning article in the cleaning area.
And S22, under the condition that the cleaning article exists in the cleaning area, the processor judges whether the easy-to-swallow article with the size smaller than the preset value exists in the cleaning article.
If an easy-to-swallow item is present, S23, the alert module issues an alert to prompt the user to clean the easy-to-swallow item.
S24, the processor controls the floor cleaning device to enter a manual sweeping mode.
If no easy-to-swallow item is present, S25, the processor controls the floor cleaning device to perform a sweeping operation.
By adopting the method for cleaning the ground, the following technical effects can be realized: and judging whether articles easy to swallow by children exist in the articles to be cleaned according to the size of the articles to be cleaned. If not, the original cleaning process is carried out. If the swallow-prone object exists, an alarm is given to prompt the user, so that the swallow-prone object can be found and cleaned in time. Therefore, the cleaning tool can identify and clean the articles to be cleaned, and can effectively prevent children from eating the cleaning tool by mistake. In addition, compare in automatic cleaning, can accurately clear up easily swallowed article fast more by user manual control, also can avoid too close to children at the cleaning in-process, bump. Optionally, the floor cleaning apparatus comprises a vacuum cleaner.
Optionally, the alarm is divided into multiple modes to reflect different ground conditions. For example, the alert mode may be refined based on the number of easy-to-swallow items. Specifically, the processor obtains the number of easily swallowed items, and if the number of easily swallowed items is 1, the alarm module sends out a prompt A, such as a yellow light. If the number of easily swallowed objects is greater than 1, the alarm module gives a prompt B, such as a red light. After all the swallowable objects are cleaned, the alarm module gives out a prompt C, such as a green light. Therefore, different practical situations can be distinguished through different prompts, and a user can more clearly master the ground situation so as to carry out the next operation. The situation that the user cleans incompletely in a manual cleaning mode to cause repeated alarm sending is avoided.
Optionally, the alarm includes that the distance between the user's cell-phone end and the easily swallowed object, the position of the easily swallowed object and so on are sent to the user, let the user make clear of the position of the easily swallowed object, are favorable to the user to find the easily swallowed object fast and clear up.
As shown in fig. 8, an embodiment of the present disclosure provides an apparatus for floor cleaning, which includes a processor (processor)400 and a memory (memory) 401. Optionally, the apparatus may also include a Communication Interface 402 and a bus 403. The processor 400, the communication interface 402, and the memory 401 may communicate with each other through a bus 403. Communication interface 402 may be used for information transfer. The processor 400 may invoke logic instructions in the memory 401 to perform the method for floor cleaning of the above-described embodiments.
In addition, the logic instructions in the memory 401 may be implemented in the form of software functional units and may be stored in a computer readable storage medium when the logic instructions are sold or used as independent products.
The memory 401 is used as a storage medium for storing software programs, computer executable programs, and program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 400 executes the functional applications and data processing, i.e. implements the method for floor cleaning in the above embodiments, by executing the program instructions/modules stored in the memory 401.
The memory 401 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 401 may include a high-speed random access memory, and may also include a nonvolatile memory.
Embodiments of the present disclosure provide a storage medium having stored thereon computer-executable instructions configured to perform the above-described method for floor cleaning.
The storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an …" does not exclude the presence of other like elements in a process, method or apparatus that comprises the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by the skilled person that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be merely a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.