CN114281134B - Bathroom equipment control method and device, intelligent bathroom equipment and storage medium - Google Patents

Bathroom equipment control method and device, intelligent bathroom equipment and storage medium Download PDF

Info

Publication number
CN114281134B
CN114281134B CN202111551004.5A CN202111551004A CN114281134B CN 114281134 B CN114281134 B CN 114281134B CN 202111551004 A CN202111551004 A CN 202111551004A CN 114281134 B CN114281134 B CN 114281134B
Authority
CN
China
Prior art keywords
bathroom
clothes
detection result
confidence
intelligent wardrobe
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111551004.5A
Other languages
Chinese (zh)
Other versions
CN114281134A (en
Inventor
王伟华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202111551004.5A priority Critical patent/CN114281134B/en
Publication of CN114281134A publication Critical patent/CN114281134A/en
Application granted granted Critical
Publication of CN114281134B publication Critical patent/CN114281134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a control method and device of bathroom equipment, intelligent bathroom equipment and a storage medium. The method comprises the following steps: acquiring a first detection result, wherein the first detection result represents the variation of clothes in the intelligent wardrobe; acquiring a second detection result, wherein the second detection result represents whether the target object appears in the bathroom within a preset time after the clothes in the intelligent wardrobe change; determining the bathing confidence of the target object based on the first detection result and the second detection result; if the bath confidence is greater than the confidence threshold, determining a control instruction for bathroom equipment in the bathroom according to the environmental information of the bathroom; and controlling the bathroom equipment to operate based on the control instruction. According to the method, the user can take the clothes out of the wardrobe and then enter the bathroom through detection, bathroom equipment is started in advance based on the current environmental information such as the season or the temperature, manual control of the user is not needed, and the user experience is improved.

Description

Control method and device of bathroom equipment, intelligent bathroom equipment and storage medium
Technical Field
The application relates to the technical field of smart homes, in particular to a control method and device of bathroom equipment, the smart bathroom equipment and a storage medium.
Background
With the improvement of living standard, people have stronger and stronger requirements on various intelligent home systems. At present, an intelligent home system is rarely applied to bathroom equipment, and the running state of each electric appliance in the existing bathroom is mainly controlled by a user.
The temperature of a bathroom is particularly important in the bathing process of a user, the user can easily catch a cold due to too low temperature in the bathroom, or the user can easily feel uncomfortable due to too high temperature, the temperature in the bathroom can be hardly accurately controlled only by the body perception of the user, the user experience is poor, and the body discomfort is caused.
Disclosure of Invention
In view of the above problems, the present application provides a control method and apparatus for a bathroom device, an intelligent bathroom device, and a storage medium to solve the above technical problems.
In a first aspect, the present application provides a method of controlling a bathroom fixture, the method comprising: acquiring a first detection result, wherein the first detection result represents the variation of clothes in the intelligent wardrobe; acquiring a second detection result, wherein the second detection result represents whether the target object appears in the bathroom within a preset time after the clothes in the intelligent wardrobe change; determining the bathing confidence of the target object based on the first detection result and the second detection result; if the bath confidence is greater than the confidence threshold, determining a control instruction for bathroom equipment in the bathroom according to the environmental information of the bathroom; and controlling the bathroom equipment to operate based on the control instruction.
In a second aspect, the present application provides a control apparatus for a bathroom fixture, the apparatus comprising: the intelligent wardrobe comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a first detection result, and the first detection result represents the variation of clothes in the intelligent wardrobe; the second acquisition module is used for acquiring a second detection result, and the second detection result represents whether the target object appears in the bathroom within a preset time after the clothes in the intelligent wardrobe change; the confidence coefficient determining module is used for determining the bath confidence coefficient of the target object based on the first detection result and the second detection result; the instruction determining module is used for determining a control instruction aiming at bathroom equipment in a bathroom according to the environmental information of the bathroom if the bath confidence coefficient is greater than the confidence coefficient threshold value; and the control module is used for controlling the bathroom equipment to operate based on the control instruction.
In a third aspect, the present application provides a smart bathroom device that includes one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods described above.
In a fourth aspect, the present application provides a computer readable storage medium storing program code executable by a processor, the computer readable storage medium comprising stored program code, wherein the method described above is performed when the program code runs.
The application provides a control method and device of bathroom equipment, intelligent bathroom equipment and a storage medium. In the method, the variation of clothes in the intelligent wardrobe is obtained as a first detection result, whether a target object appears in a bathroom within a preset time after the clothes in the intelligent wardrobe are changed is obtained as a second detection result, and then the bathing confidence of the target object is determined according to the first detection result and the second detection result. If the target object has a bathing requirement, the season and the temperature of the bathroom are judged according to the environmental information of the bathroom, and then the bathroom equipment is controlled to start hot air or cold air. According to the method, the user can take the clothes out of the wardrobe and then enter the bathroom through detection, bathroom equipment is started in advance based on the current environmental information such as the season or the temperature, manual control of the user is not needed, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an application environment of a control method of a bathroom facility according to the present application.
Fig. 2 is a flowchart illustrating a control method of a bathroom facility according to a first embodiment of the present application.
Fig. 3 is a flowchart showing a control method of a bathroom facility according to a second embodiment of the present application.
Fig. 4 is a flowchart showing a control method of a bathroom facility according to a third embodiment of the present application.
Fig. 5 is a flowchart showing a control method of a bathroom facility according to a fourth embodiment of the present application.
Fig. 6 is a block diagram showing a control device of a bathroom facility according to the present application.
Fig. 7 shows a block diagram of the smart bathroom device according to the embodiment of the present application.
Fig. 8 shows a block diagram of a computer-readable storage medium according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the improvement of living standard, people have stronger and stronger requirements on various intelligent home systems. At present, an intelligent household system is rarely applied to bathroom equipment, and the running state of each electric appliance in the existing bathroom is mainly controlled by a user.
The temperature of the bathroom is particularly important in the bathing process of a user, the user can easily catch a cold due to too low temperature of the bathroom or the user can easily feel uncomfortable due to too high temperature, the temperature in the bathroom is hardly controlled accurately only by sensing the body of the user, the user experience is poor, and the body discomfort is caused.
In order to solve the problems, the application provides a control method and device of bathroom equipment, intelligent bathroom equipment and a storage medium. In the method, the variation of clothes in the intelligent wardrobe is obtained as a first detection result, whether a target object appears in a bathroom within a preset time after the clothes in the intelligent wardrobe are changed is obtained as a second detection result, and then the bath confidence coefficient of the target object is determined according to the first detection result and the second detection result. If the target object has a bathing requirement, the season and the temperature of the bathroom are judged according to the environmental information of the bathroom, and then the bathroom equipment is controlled to start hot air or cold air. According to the method, the user can take out the clothes from the wardrobe and then enter the bathroom through detection, the corresponding cold air and the corresponding hot air are started in advance based on the current environmental information such as the season or the temperature, manual control of the user is not needed, and the user experience is improved.
For the convenience of describing the scheme of the present application in detail, the following description will first refer to the application environment in the embodiments of the present application with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic view of an application environment of a control method for bathroom equipment according to the present application. As shown in fig. 1, the application environment may include a controller 110, a smart wardrobe 120, and a bathroom fixture 130. In the control method of the bathroom equipment provided by the embodiment of the application, the controller 110, the intelligent wardrobe 120 and the bathroom equipment 130 can be in communication connection or/and electric connection with each other, and the controller 110 is used for determining the bathing requirement of a user according to the detection data of the intelligent wardrobe 120 and the condition of the user in the bathroom, so that the bathroom equipment 130 is controlled to work according to the bathing requirement of the user, the bathroom equipment 130 is automatically controlled, and the convenience of the user in using the bathroom is improved.
In the embodiment of the present application, the controller 110 may be a server, a microcomputer control chip, and the like, but is not limited thereto. The server may be an independent physical server, or a server cluster or distributed system formed by a plurality of physical servers, or may be a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a CDN (Content Delivery Network), a big data and artificial intelligence platform, or may be a dedicated or platform server providing a car networking service, a road Network cooperation, a vehicle road cooperation, intelligent transportation, automatic driving, an industrial internet service, data communication (such as 4G, 5G, and the like). The microcomputer control chip can be a chip of an analog integrated circuit, a chip of a digital integrated circuit or a chip of a mixed signal integrated circuit. Further, the controller 110 is provided with a transceiver for implementing communication connection between the controller 110 and the intelligent wardrobe 120 and the bathroom equipment 130, for example, the controller 110 may receive a detection result sent by the intelligent wardrobe 120 through the transceiver and send a control instruction to the bathroom equipment 130.
In the present embodiment, the controller 110 has a bathing demand detection function and is used to control the operation of the bathroom fixture 130 according to the bathing demand of the user. Specifically, the controller 110 may be configured to determine a bath confidence of a target object according to a variation of clothes in the intelligent wardrobe 120 and whether the target object appears in the bathroom within a predetermined time period after the clothes are changed, and then determine a season and a temperature of the bathroom according to environment information of the bathroom, so as to control the bathroom equipment 130 to perform corresponding work.
The intelligent wardrobe 120 may be provided with a pressure sensor for detecting a laundry variation amount in the intelligent wardrobe 120. The intelligent wardrobe 120 may be provided with a transceiver, and the intelligent wardrobe 120 may transmit the detection result of the variation amount of the laundry to the controller 110 through the transceiver. The intelligent wardrobe 120 and the controller 110 may be connected directly or indirectly through wired or wireless communication, which is not limited in this application.
The bathroom fixture 130 may include at least one of an appliance or furniture used in a bathroom, for example, the bathroom fixture 130 may include, but is not limited to, at least one of a bathroom heater, an air conditioner, a lighting lamp, a warm air blower, a cold air blower, etc. In the embodiment of the present application, the bathroom equipment 130 may further be provided with a transceiver, and the bathroom equipment 130 can receive the control command sent by the controller 110 through the transceiver. The bathroom fixture 130 and the controller 110 may be directly or indirectly connected via wired or wireless communication, which is not limited in this application.
In a specific implementation, the controller 110 obtains a detection signal sent by the intelligent wardrobe 120, obtains a variation of clothes in the intelligent wardrobe 120 according to the detection signal, determines a bath confidence of a target object according to whether the target object appears in the bathroom within a predetermined time period after the clothes are changed, and then determines environmental information (such as a season or/and a temperature of the bathroom) of the bathroom according to the environmental information of the bathroom, so as to control the bathroom equipment 130 to perform corresponding work.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 schematically illustrates a control method of a bathroom fixture according to a first embodiment of the present application. In this embodiment, the controller is configured to determine a bath confidence of the user according to the detection data of the intelligent wardrobe and the condition of the user in the bathroom, and control the bathroom equipment to perform corresponding work according to the bath confidence. The method may include the following steps S210 to S250.
Step S210, a first detection result is obtained.
In general, a user usually prepares to change clothes before bathing, so the embodiment of the application can assist in judging the bathing confidence of the user by means of the change condition of the changed clothes. Therefore, in the present embodiment, the first detection result may be used to represent the variation of the clothes in the intelligent wardrobe. In this application embodiment, intelligence wardrobe is equipped with the sensor, and the sensor is arranged in sending detected signal in order to detect the change volume of clothing in the intelligence wardrobe to the intelligence wardrobe. The sensor may include a pressure sensor or a weight sensor, and the sensor determines changes of the clothes in the intelligent wardrobe by using pressure changes or weight changes detected by the sensor, and records the changes as a first detection result. And after the sensor detects the first detection result, the first detection result is sent to the controller.
For example, the sensor is a pressure sensor, the intelligent wardrobe can comprise a partition plate, a clothes hanger rod and the like, and the pressure sensor can be arranged on the partition plate and used for detecting the weight of clothes placed on the partition plate; pressure sensors may also be provided on the hanger bar for detecting the weight of the garment suspended from the hanger. The pressure sensor detects that the pressure applied to the intelligent wardrobe is increased, namely the increase of clothes in the intelligent wardrobe is represented, namely the first detection result shows that the clothes in the intelligent wardrobe are increased; the pressure sensor detects that the pressure applied to the intelligent wardrobe is reduced, namely the clothes in the intelligent wardrobe are reduced, namely the first detection result indicates that the clothes in the intelligent wardrobe are reduced.
For another example, the sensor is a weighing sensor, and the weighing sensor detects that the weight of the intelligent wardrobe is increased, namely, the increase of clothes in the intelligent wardrobe is represented, namely, the first detection result indicates that the clothes in the intelligent wardrobe are increased; the weighing sensor detects that the weight of the intelligent wardrobe is reduced, namely clothes in the intelligent wardrobe are reduced, namely the first detection result indicates that the clothes in the intelligent wardrobe are reduced.
Therefore, in the present embodiment, the first detection result includes that the clothes of the intelligent wardrobe become more or less.
Step S220, a second detection result is obtained.
In general, a user can enter a bathroom for preparation before bathing and after clothes are prepared for changing and washing, so that the bathing confidence of the user can be judged in an auxiliary manner by means of the condition that the user goes in and out of the bathroom. Therefore, the second detection result in this embodiment may be used to indicate whether a target object appears in the bathroom within a predetermined time period after the change of the clothes in the intelligent wardrobe, where the target object is a user entering the bathroom.
In the embodiment of the application, after the first detection result determines that the clothes in the intelligent wardrobe change, in order to further determine whether the user has a bathing requirement, whether the user enters the bathroom within a preset time period can be further determined. Specifically, a sensor may be disposed in the bathroom, the sensor is configured to send a detection signal to the bathroom to detect whether the target object is present in the bathroom, and send a detection result to the controller, the controller determines, according to the detection result of the sensor, whether the target object is present in the bathroom after the first detection result represents that the clothes in the intelligent wardrobe are changed, that is, determines and obtains a second detection result according to the detection result of the sensor, and the second detection result is used to assist the controller in determining whether the target object has a bathing requirement.
Further, since the intelligent wardrobe and the bathroom are usually located at a certain distance, and the target object needs a certain time to reach the bathroom after the clothes are taken out, the controller can set the predetermined time for the detection result of the sensor, so as to improve the fault tolerance of detection/judgment. In some specific examples, if the controller determines that the time of the decrease of the clothes in the intelligent wardrobe is T1, the time of the sensor detecting the target object in the bathroom is T2, and if the time difference between T1 and T2 is less than the predetermined time period, the controller determines that the second detection result is: the target object appears in the bathroom within a preset time after the clothes in the intelligent wardrobe are changed; if the time difference between T1 and T2 is not less than the predetermined time, the controller determines that the second detection result is: the target object is not present in the bathroom for a predetermined time after the change of the clothes in the intelligent wardrobe occurs.
Further, in some embodiments, if the second detection result indicates that the target object does not appear in the bathroom within the predetermined time period after the change of the clothes in the intelligent wardrobe occurs, that is, the controller determines that the target object does not appear in the bathroom within the predetermined time period after the decrease of the clothes in the intelligent wardrobe, the controller may control the sensor to be turned off, so as to save energy consumption. The preset duration may be set by default by the controller, or may be set by user-defined. In general, the preset time period may be two minutes, three minutes, five minutes, ten minutes, etc., and illustratively, the preset time period may be five minutes.
Therefore, in the present embodiment, the second detection result includes: the target object appears in the bathroom within a preset time period after the clothes in the intelligent wardrobe are changed or does not appear in the bathroom within a preset time period after the clothes in the intelligent wardrobe are changed.
Further, the target object is a user who enters the bathroom and is not recognized as the target object when a moving object such as a pet or a robot enters the bathroom, that is, the sensor is further configured to sense the moving object in the bathroom and determine that the target object exists in the bathroom when the moving object is judged to be a human according to the detection signal. Further, the sensor may be a human body sensor, and it is determined whether a target object exists in the bathroom for a predetermined time using an image detected by the sensor or whether the bathroom door is opened, and these changes are recorded as a second detection result. And after the sensor detects a second detection result, the second detection result is sent to the controller.
For example, the sensor is a human body sensor, and the human body sensor detects a change of a signal occurring in the bathroom, such as a change of infrared energy, a moving object or breathing of a person, and the like, that is, a target object exists in the bathroom, that is, a first detection result is that the target object exists in the bathroom; the human body sensor detects that no signal change occurs in the bathroom, namely, the bathroom is characterized by no target object, namely, the first detection result is that no target object exists in the bathroom.
For example, the human body sensor is a human body infrared sensing sensor, and the human body sensor detects that the infrared energy in the bathroom becomes high, that is, the target object exists in the bathroom, that is, the first detection result is that the target object exists in the bathroom; the human body sensor detects that the infrared energy in the bathroom is not changed, namely, the fact that the target object does not exist in the bathroom is represented, namely, the first detection result is that the target object does not exist in the bathroom.
And step S230, determining the bathing confidence of the target object based on the first detection result and the second detection result.
In the embodiment of the application, the controller determines the bath confidence of the target object based on the first detection result and the second detection result. Confidence, that is, when sampling estimates the overall parameters, the conclusion is always uncertain due to the randomness of the samples. Therefore, a probabilistic statement method, i.e., interval estimation in mathematical statistics, is used, i.e., how large the corresponding probability of the estimated value and the overall parameter are within a certain allowable error range is, and this corresponding probability is called the confidence level.
In this embodiment, the bath confidence is the probability that the user has a bath requirement. In the embodiment of the present application, the bath confidence determined by the controller may be an interval code or a specific value.
For example, in some examples, the bathing confidence intervals of the user may include a first confidence, a second confidence, and a third confidence, the first confidence, the second confidence, and the third confidence increasing in order; if the controller determines that the clothes in the intelligent wardrobe do not change or the clothes are increased, the bath confidence coefficient of the target object is low, and at the moment, the bath confidence coefficient of the target object can be determined to be a first confidence coefficient; if the controller determines that the clothes in the intelligent wardrobe are reduced, but no target object is detected in the bathroom within ten minutes later, the bathing confidence of the target object is low, and at the moment, the bathing confidence of the target object can be determined to be a second confidence; if the controller determines that the clothes in the intelligent wardrobe are reduced and the target object is detected to appear in the bathroom within ten minutes, the bathing confidence of the target object is higher, and at the moment, the bathing confidence of the target object can be determined to be the third confidence.
For another example, in other examples, if the controller determines that the clothes in the intelligent wardrobe are not changed or the clothes are increased, the specific value of the bath confidence may be calculated according to the increased amount of the clothes, for example, the bath confidence may be determined to be 10% according to a predetermined correspondence between the clothes change amount and the bath confidence; if the controller determines that the clothes in the intelligent wardrobe are reduced, but no target object is detected in the bathroom within ten minutes later, a specific numerical value of the bath confidence may be calculated according to the reduced amount of the clothes, for example, the bath confidence may be determined to be 20% according to a corresponding relationship between a predetermined clothes variation and the bath confidence; the controller determines that the clothes in the intelligent wardrobe are reduced, and detects that the target object appears in the bathroom within ten minutes later, then a specific numerical value of the bath confidence may be calculated according to the reduced amount of the clothes, for example, the bath confidence may be determined to be 90% according to a corresponding relationship between a predetermined clothes variation and the bath confidence.
And S240, if the bath confidence is greater than the confidence threshold, determining a control instruction for bathroom equipment in the bathroom according to the environmental information of the bathroom.
In the embodiment of the application, if the bath confidence is greater than the confidence threshold, the controller determines the control instruction of the bathroom equipment in the bathroom according to the environmental information of the bathroom. The confidence threshold may be set by the controller by default, or may be set by the user by self-definition. In general, the threshold may be any value between 80% and 99%, and exemplarily, the confidence threshold is 90%, that is, when the bath confidence of the user is greater than 90%, the target object is characterized to have the bath requirement. For example, when the controller determines that the clothes of the intelligent wardrobe are reduced and the user appears in the bathroom within five minutes according to the first detection result and the second detection result, it is determined that the bathing confidence of the user is 95%, and at this time, the bathing confidence is greater than the confidence threshold (90%), it may be determined that the user has a bathing demand.
After determining that the target object has bathing requirements, the controller confirms the environmental information of the bathroom and sends a corresponding control instruction to bathroom equipment. The environmental information may include at least one of a temperature inside the bathroom, a current season, and the like. Specifically, after the controller determines that the target object has a bathing requirement (for example, the bathing confidence is greater than the confidence threshold) and acquires the environmental information of the bathroom, the controller may further acquire the type of bathroom equipment and determine a corresponding control instruction according to the type of preset equipment. Further, the type of the bathroom equipment can be realized by reading the equipment identification code, for example, after the controller determines that the target object has a bathing requirement, the controller sends equipment type request information to the bathroom equipment, the bathroom equipment returns feedback information carrying a bathroom equipment code to the controller based on the equipment type request information, and the controller receives and analyzes the feedback information returned by the bathroom equipment, so that the equipment code is obtained from the feedback information and the type of the bathroom equipment is determined.
For example, if the controller determines that the bathroom equipment is the bathroom heater according to the equipment code, the controller determines that the control command corresponding to the bathroom heater carries the cooling parameter or the heating parameter. Further for example, if the controller determines that the temperature in the bathroom is 30 degrees celsius and the current season is summer, the controller determines that the temperature in the bathroom is too high, and the control command sent to the bathroom equipment carries the refrigeration parameter. The controller determines that the temperature in the bathroom is 5 ℃, and if the current season is winter, the controller determines that the temperature in the bathroom is too low, and the control instruction sent to the bathroom equipment carries heating parameters.
If the controller determines that the bathroom equipment is the lighting lamp according to the equipment code, the controller determines that the control instruction corresponding to the lighting lamp carries the starting parameter or the closing parameter, the control instruction sent by the controller carries the starting parameter, and the lighting lamp reads the starting parameter after receiving the control instruction, turns on the light and illuminates the bathroom.
In other embodiments, when the controller determines that the clothes of the intelligent wardrobe are reduced according to the first detection result and the second detection result but the user is not present in the bathroom within ten minutes, it determines that the bathing confidence of the user is 30%, and at this time, the bathing confidence is less than the confidence threshold (90%), it may determine that the user has no bathing requirement.
In the embodiment of the application, if the controller confirms that the target object has no bathing requirement, no control instruction is sent to the bathroom equipment.
And step S250, controlling the bathroom equipment to operate based on the control instruction.
In the embodiment of the application, the controller controls the bathroom equipment to operate in different modes according to different control instructions. The control instruction carries at least one parameter of heating parameters, refrigerating parameters, starting parameters or closing parameters and the like, after the bathroom equipment receives the control instruction, the parameters carried by the control instruction are read, and then the bathroom equipment starts corresponding functions.
For example, if the bathroom equipment is a bathroom heater, and the control command sent by the controller carries heating parameters, the bathroom heater reads the heating parameters after receiving the control command, starts warm air and raises the temperature in the bathroom. If the bathroom equipment is a lighting lamp, the control instruction sent by the controller carries the starting parameter, and the lighting lamp reads the starting parameter after receiving the control instruction, turns on the light and illuminates the bathroom.
The application provides a control method of bathroom equipment. In the method, the variation of clothes in the intelligent wardrobe is obtained as a first detection result, whether a target object appears in a bathroom within a preset time after the clothes in the intelligent wardrobe are changed is obtained as a second detection result, and then the bathing confidence of the target object is determined according to the first detection result and the second detection result. If the target object has bathing requirements, the season and the temperature of the bathroom are judged according to the environmental information of the bathroom, and then the bathroom equipment is controlled to start hot air or cold air. According to the method, the user can take out the clothes from the wardrobe and then enter the bathroom through detection, the corresponding cold air and the corresponding hot air are started in advance based on the current environmental information such as the season or the temperature, manual control of the user is not needed, and the user experience is improved.
Referring to fig. 3, fig. 3 schematically illustrates a control method of a bathroom fixture according to a second embodiment of the present application. In this embodiment, the intelligent wardrobe is provided with a pressure sensor, the pressure sensor is used for detecting the weight of clothes in the intelligent wardrobe, and the weight of the clothes in the intelligent wardrobe is used as one of the judgment bases for the bath confidence of the user. The bathroom is internally provided with the human body sensor, the human body sensor is used for sending a detection signal to the bathroom to detect a target object, and a detection result made by the human body sensor is used for assisting in determining the bathing confidence of a user, so that the bathing requirement of the user can be determined more accurately, and the user experience is improved. Specifically, the control method of the bathroom equipment provided by the present embodiment may include the following steps S310 to S340.
In step S310, a first detection result is obtained.
In general, a user usually prepares to change clothes before bathing, so the embodiment of the application can assist in judging the bathing confidence of the user by means of the change condition of the changed clothes. Therefore, in the embodiment, the first detection result may be used to represent the variation of the clothes in the intelligent wardrobe. In the embodiment of the application, the intelligent wardrobe is provided with the pressure sensor, and the pressure sensor is used for sending a detection signal to the intelligent wardrobe to detect the variation of clothes in the intelligent wardrobe. The pressure sensor determines changes of clothes in the intelligent wardrobe by using the detected pressure changes, and records the changes as a first detection result. The pressure sensor detects a first detection result and then sends the first detection result to the controller.
In the embodiment of the application, the intelligent wardrobe can comprise a partition plate, a clothes hanger hanging rod and the like, and the pressure sensor can be arranged on the partition plate and used for detecting the weight of clothes placed on the partition plate; pressure sensors may also be provided on the hanger bar for sensing the weight of the garment suspended from the hanger. The pressure sensor can comprise a pressure sensitive element and a signal processing unit, and is used for sensing a pressure signal and converting the pressure signal into a usable output electric signal according to a certain rule. The intelligent wardrobe comprises a partition plate, a clothes hanger and the like, wherein the pressure sensor can be arranged on the partition plate and used for detecting the weight of clothes placed on the partition plate, and the pressure sensor can also be arranged on the clothes hanger and used for detecting the weight of the clothes hung on the clothes hanger. The weight of the clothes detected by the pressure sensor is recorded as a pressure value, and the pressure value represents the pressure applied to the intelligent wardrobe. The pressure sensor can be provided with a preset pressure value, and the preset pressure value is a pressure value received by the intelligent wardrobe after the intelligent wardrobe puts clothes in. If the pressure sensor detects that the pressure applied to the intelligent wardrobe is not equal to the preset pressure value, the clothes in the intelligent wardrobe change, and the intelligent wardrobe sends the change quantity to the controller as a first detection result.
For example, the pressure sensor detects that the pressure applied to the intelligent wardrobe increases, namely, the fact that the clothes in the intelligent wardrobe increase is represented, namely, the first detection result indicates that the clothes in the intelligent wardrobe become more; the pressure sensor detects that the pressure applied to the intelligent wardrobe is reduced, namely the clothes in the intelligent wardrobe are reduced, namely the first detection result is that the clothes in the intelligent wardrobe are reduced.
Therefore, in the present embodiment, the first detection result includes that the clothes of the intelligent wardrobe become more or less.
In step S320, a second detection result is obtained.
In general, a user can enter a bathroom for preparation before bathing and after clothes are prepared for changing and washing, so that the bathing confidence of the user can be judged in an auxiliary manner by means of the condition that the user goes in and out of the bathroom. Therefore, the second detection result in this embodiment can be used to characterize: whether a target object appears in the bathroom within a predetermined time period after clothes in the intelligent wardrobe are changed, wherein the target object is a user entering the bathroom.
In the embodiment of the application, after the first detection result determines that the clothes in the intelligent wardrobe change, in order to further determine whether the user has a bathing requirement, whether the user enters the bathroom within a preset time period can be further determined. Specifically, a human body sensor is provided in the bathroom, and the human body sensor is configured to transmit a detection signal to the bathroom to detect whether a target object is present in the bathroom and not to be recognized as the target object when a moving object such as a pet or a robot enters the bathroom, that is, the human body sensor is configured to sense the moving object in the detection area and determine whether the moving object is a human being according to the detection signal.
The human body sensor can be a human body infrared induction sensor, the human body infrared induction sensor adopts a pyroelectric infrared induction principle, and the sensor is triggered to detect whether a target object exists in the bathroom or not by collecting infrared energy change in the bathroom.
The human body sensor can also be a human body microwave induction sensor which adopts the Doppler principle, and when a moving object enters the bathroom, the waveform of a radar signal of the sensor can be changed, so that the sensor is triggered to detect whether a target object exists in the bathroom or not.
The human body sensor can also be a human body radar sensing sensor which adopts high-precision micro-motion detection, so that whether a breathing signal of a person exists in the bathroom or not can be detected, and whether a target object exists in the bathroom or not can be further detected.
In an embodiment, after the first detection result indicates that the clothes in the intelligent wardrobe are reduced, the controller controls the human body sensor to start detecting and last for a preset time. And in a preset time period, the human body sensor detects whether a target object exists in the bathroom or not and sends the detection result to the controller, the controller determines a second detection result according to the detection result of the sensor, and the second detection result is used for assisting the controller to determine the bathing requirement of the user and increasing the fault-tolerant rate.
For example, the body sensor is a body radar sensing sensor and the predetermined period of time is five minutes. And after the first detection result represents that the clothes in the intelligent wardrobe are reduced, the controller sends a starting instruction to the human body radar induction sensor, the human body radar induction sensor is started, within five minutes, if the human body sensor detects that the breathing signal of a person exists in the bathroom, the controller represents that a target object exists in the bathroom and transmits the detection result to the controller, and the controller can determine that a second detection result is as follows according to the detection result: a target object exists in the bathroom; after the first detection result represents that clothes in the intelligent wardrobe are reduced, the human body radar induction sensor is started, within five minutes, the human body sensor does not detect the breathing signal of people in the bathroom, the characteristic that the target object does not exist in the bathroom and transmits the detection result to the controller, and the controller can determine that the second detection result is that the target object does not exist in the bathroom according to the detection result.
Further, after the preset duration after the clothes in the intelligent wardrobe are reduced is represented by the first detection result, the controller can control the human body sensor to be closed so as to save energy consumption.
And S330, determining the bath confidence of the target object based on the first detection result under the condition that the second detection result represents that the target object enters the bathroom within a preset time after the clothes in the intelligent wardrobe change.
In some embodiments, the intelligent wardrobe is provided with a first area for placing underwear and a second area for placing non-underwear, for example, the intelligent wardrobe can be separated by a partition board, one side of the partition board is the first area for placing underwear, and the other side of the partition board is the second area for placing non-underwear; for another example, the drawer of the intelligent wardrobe is a first area for placing underwear, and the clothes rack is a second area for placing non-underwear, which is not limited by the application. Further, there may be two pressure sensors, one of which is provided in the first region and the other of which is provided in the second region, for detecting changes in the laundry in the two regions, respectively.
If the controller determines that the target user enters the bathroom within the preset time after the clothes in the intelligent wardrobe are unchanged or increased, the bathing confidence of the target user is smaller than the confidence threshold, and the target object has no bathing requirement. If the controller determines that the target object enters the bathroom within a predetermined time after the clothes in the intelligent wardrobe are reduced, further determining that the clothes in the first area are reduced or the clothes in the second area are reduced. If the clothes in the first area are reduced, namely the number of the underwear in the intelligent wardrobe is reduced, the controller determines that the bath confidence coefficient of the target object is larger than the confidence coefficient threshold value, and the target object is represented to have bath requirements at the moment. If the clothes in the second area are reduced, namely the number of non-underwear in the intelligent wardrobe is reduced, the controller determines that the bath confidence of the target object is smaller than a confidence threshold value, and the target object is represented to have no bath requirement at the moment.
In other embodiments, if the controller determines that the weight of the clothes of the target user in the intelligent wardrobe is unchanged or the weight of the clothes of the target user is increased, the controller determines that the bath confidence of the target user is smaller than the confidence threshold, and the target object has no bath requirement. If the controller determines that the target object enters the bathroom within a preset time after the weight of the clothes in the intelligent wardrobe is reduced, the controller further judges the reduced weight of the clothes. Further, the controller may establish a correspondence between the laundry variation and the bathing confidence, and determine a corresponding bathing confidence according to the laundry variation. For example, the controller may be provided with a weight threshold, and if the weight of the clothes reduction is less than the weight threshold, that is, the number of underwear in the intelligent wardrobe is reduced, the controller determines that the bath confidence of the target object is greater than the confidence threshold, which indicates that the target object has a bath demand. If the weight of the clothes is reduced to be larger than the weight threshold, namely the number of the non-underwear in the intelligent wardrobe is reduced, the controller determines that the bathing confidence of the target object is smaller than the confidence threshold, and the target object is indicated to have no bathing requirement.
The weight threshold value can be set by the controller or the intelligent wardrobe in a default mode or can be set by a user in a self-defined mode. In general, the weight threshold may be 50g, 60g, 80g, 100g, etc., and illustratively, the weight threshold may be 80g. If the weight of the clothes is reduced to 50g, the weight of the clothes is reduced to be less than the weight threshold value, and the target object has a bathing requirement, and if the weight of the clothes is reduced to be 200g, the weight of the clothes is reduced to be more than the weight threshold value, and the target object has no bathing requirement.
And step S340, if the bath confidence is greater than the confidence threshold, determining a control instruction for bathroom equipment in the bathroom according to the environmental information of the bathroom.
In this embodiment, reference may be made to the description of step S240 provided in the above embodiments for specific implementation of step S340, which is not described herein again.
And step S350, controlling the bathroom equipment to operate based on the control instruction.
In this embodiment, reference may be made to the description of step S250 provided in the above embodiments for specific implementation of step S350, and details are not repeated here.
The application provides a control method of a bathroom device. In the method, the variation of underwear or non-underwear in the intelligent wardrobe is obtained as a first detection result, whether a target object appears in a bathroom within a preset time period after the change of the clothes in the intelligent wardrobe is obtained as a second detection result, and then the bath confidence coefficient of the target object is determined according to the first detection result and the second detection result. If the target object has a bathing requirement, the season and the temperature of the bathroom are judged according to the environmental information of the bathroom, and then the bathroom equipment is controlled to start hot air or cold air. According to the method, the user can take out the clothes from the wardrobe and then enter the bathroom through detection, the corresponding cold air and the corresponding hot air are started in advance based on the current environmental information such as the season or the temperature, manual control of the user is not needed, and the user experience is improved.
Referring to fig. 4, fig. 4 schematically illustrates a control method of a bathroom fixture according to a third embodiment of the present application. The intelligent wardrobe is provided with a pressure sensor, the pressure sensor is used for detecting the weight of clothes in the intelligent wardrobe, and the weight of the clothes in the intelligent wardrobe is used as one of judgment bases of a user bathing confidence coefficient. The method may include the following steps S510 to S540.
Step S410, a first detection result is obtained.
In this embodiment, the specific implementation of step S410 may refer to the description of step S210 provided in the above embodiment, and details are not repeated here.
If the controller determines that the clothes in the intelligent wardrobe are unchanged or increased, the pressure sensor continuously obtains the first detection result, the controller does not execute the step S420 and the subsequent steps, and the human body sensor in the bathroom is not required to be activated, so that the calculation burden of the controller can be reduced, and the energy consumption of the controller can be reduced.
If the controller determines that the amount of the laundry in the intelligent wardrobe is reduced, the type of the reduced laundry is further determined, and whether to perform step S420 and the subsequent steps is determined according to the type of the reduced laundry. For example, the controller may make the determination according to an area where the reduced laundry is located, or make the determination according to the weight of the reduced laundry.
Specifically, in some embodiments, the intelligent wardrobe is provided with a first area for placing underwear and a second area for placing non-underwear, for example, the intelligent wardrobe can be separated by a partition board, one side of the partition board is the first area for placing underwear, and the other side of the partition board is the second area for placing non-underwear; for another example, the drawer of the intelligent wardrobe is a first area for placing underwear, and the clothes rack is a second area for placing non-underwear, which is not limited by the application. Further, the pressure sensors may be provided in two, one of which is provided in the first region and the other of which is provided in the second region, and detect changes in the laundry in the two regions, respectively. If the clothes in the first area are decreased, that is, the number of the underwear in the intelligent wardrobe is decreased, the step S420 and the following steps are continuously performed. If the clothes in the second area are decreased, that is, the number of non-underwear in the intelligent wardrobe is decreased, step S420 and the following steps are not performed.
In other embodiments, the intelligent wardrobe may be provided with a weight threshold, and if the weight of the clothes reduction is smaller than the weight threshold, that is, the number of underwear in the intelligent wardrobe is reduced, the controller determines that the bath confidence of the target object is greater than the confidence threshold, and the target object has a bath demand. If the weight of the clothes is reduced to be larger than the weight threshold, namely the number of non-underwear in the intelligent wardrobe is reduced, the controller determines that the bathing confidence of the target object is smaller than the confidence threshold, and the target object is represented to have no bathing requirement. The weight threshold value can be set by the controller or the intelligent wardrobe in a default mode or can be set by a user in a self-defined mode. In general, the weight threshold may be 50g, 60g, 80g, 100g, etc., and illustratively, the weight threshold may be 80g. If the controller determines that the laundry in the intelligent wardrobe is reduced, it is further determined that the weight of the laundry is reduced. If the weight of the clothes is less than the weight threshold, that is, the number of the underwear in the intelligent wardrobe is decreased, the controller continues to perform step S420 and the subsequent steps. If the weight of the clothes is reduced more than the weight threshold, that is, the number of non-underwear in the intelligent wardrobe is reduced, the controller does not perform step S420 and the subsequent steps. For example, if the weight of the clothes is reduced to 50g, the weight of the clothes is less than the weight threshold, that is, the number of the underwear in the intelligent wardrobe is reduced, and the controller continues to perform step S420 and the subsequent steps. If the weight of the laundry is reduced to 200g, that is, the number of non-undergarments in the intelligent wardrobe is reduced, the controller does not perform the step S420 and the subsequent steps.
Step S420, if the underwear in the intelligent wardrobe is determined to be reduced based on the first detection result, a second detection result is obtained.
And step S430, if the second detection result represents that the target object appears in the bathroom within a preset time after underwear in the intelligent wardrobe is reduced, determining a control instruction for bathroom equipment in the bathroom according to the environmental information of the bathroom.
And step S440, controlling the bathroom equipment to operate based on the control instruction.
In this embodiment, the specific implementation of steps S430 to S440 may refer to the descriptions of steps S240 to S250 provided in the above embodiments or descriptions of other related contents, and details are not repeated here.
The application provides a control method of bathroom equipment. In the method, whether the underwear in the intelligent wardrobe is reduced is detected, if the underwear is reduced, whether a target object appears in a bathroom within a preset time period after the underwear in the intelligent wardrobe is reduced is further detected, if the target object appears in the bathroom, it is indicated that the target object has a bathing requirement currently, at the moment, the season, the temperature and the like of the bathroom can be judged according to environmental information of the bathroom, and then the bathroom equipment is controlled to be started to supply warm air or cold air. According to the method, the user can take out the underwear from the wardrobe and then enter the bathroom through detection, the bathroom equipment is started in advance based on the current environmental information such as the season or the temperature, manual control of the user is not needed, and the user experience is improved.
Referring to fig. 5, fig. 5 schematically illustrates a control method of a bathroom fixture according to a fourth embodiment of the present application. In this embodiment, the controller determines a control instruction for bathroom equipment in the bathroom according to environmental information and climate information or weather information of the bathroom, and controls the bathroom equipment to turn on cold air or warm air. The environmental information and the climate information or the weather information of the bathroom can be obtained through a temperature sensor, a weather forecasting device, a network or a cloud server and the like. Therefore, the bathroom equipment is controlled by combining specific environmental information, the actual requirements of users are better met, and the user experience is better. Specifically, the control method of the bathroom equipment provided by the lock of the present embodiment may include the following steps S410 to S440.
Step S510, a first detection result is obtained.
Step S520, a second detection result is obtained.
Step S530, determining the bathing confidence of the target object based on the first detection result and the second detection result.
In this embodiment, the specific implementation of steps S410 to S430 may refer to the descriptions of steps S210 to S230, or the descriptions of steps S310 to S330, or the descriptions of steps S410 to S430 provided in the above embodiments, and are not described in detail here.
And step S540, if the bath confidence is greater than the confidence threshold, acquiring the environmental information of the bathroom.
In the embodiment of the present application, the environmental information of the bathroom includes the temperature in the bathroom, and in some embodiments, a temperature sensor may be disposed in the bathroom, and the temperature sensor is used to obtain the temperature of the environment of the bathroom. The temperature sensor sends the temperature in the bathroom to the controller, can directly or indirectly be connected through wired or wireless communication mode between temperature sensor and the controller, and this application does not do the restriction to this.
For example, the temperature sensor may be an infrared temperature sensor, and the infrared temperature sensor causes the temperature to rise after the detection device receives the radiant energy by using the radiant heat effect, so that the performance of one column of the sensor and the temperature changes, and the infrared temperature sensor detects the change of one performance to detect the radiation.
As another example, the temperature sensor may be a digital temperature sensor using a silicon process-produced digital temperature sensor using a PTAT structure, which has accurate, good output characteristics with respect to temperature. The output of the PTAT is modulated into a digital signal by a duty cycle comparator, the relationship between duty cycle and temperature being as follows: DC =0.32+0.0047 t, t is degree centigrade. The output digital signal is compatible with the MCU, and the duty ratio of the output voltage square wave signal can be calculated through high-frequency sampling of the processor, so that the temperature in the bathroom can be obtained.
In other embodiments, the bathroom equipment may be provided with a weather forecasting device for acquiring the temperature inside and outside the bathroom, the weather forecasting device being provided with a transceiver through which the weather forecasting device sends the temperature inside the bathroom to the controller. In still other embodiments, the controller may obtain the temperature within the bathroom directly from a network or cloud server that sends the temperature within the bathroom to the controller.
In step S550, control instructions for bathroom equipment in the bathroom are determined based on the space temperature in the bathroom.
The controller may be provided with a first temperature threshold and a second temperature threshold, wherein the first temperature threshold is higher than the second temperature threshold. And if the space temperature in the bathroom is greater than the first temperature threshold value, the control instruction sent by the controller to the bathroom equipment carries the refrigeration parameters. And if the space temperature in the bathroom is less than the second temperature threshold value, the controller sends a control command to the bathroom equipment to carry heating parameters. If the space temperature in the bathroom is greater than the second temperature threshold and less than the first temperature threshold, the controller does not send any command.
The first temperature threshold and the second temperature threshold may be default settings of the controller or the bathroom device, or may also be user-defined settings, for example, the first temperature threshold may be 28 degrees celsius, the second temperature threshold may be 18 degrees celsius, and if the temperature of the space in the bathroom is 30 degrees celsius, the control instruction sent by the controller to the bathroom device carries the refrigeration parameter. If the space temperature in the bathroom is 10 ℃, the control instruction sent by the controller to the bathroom equipment carries heating parameters. If the space temperature in the bathroom is 23 degrees celsius, the controller does not send any command.
In some embodiments, since the temperature of the space in the bathroom may be affected by factors such as water vapor, the temperature may not be accurate, the controller may also obtain current climate or weather information, such as season, whether it is raining, etc., for additional judgment, increasing fault tolerance, prior to determining control instructions for bathroom equipment in the bathroom based on the temperature of the space in the bathroom. The controller determines control instructions for the bathroom fixture based on the climate information or weather information and the temperature of the space within the bathroom, where the control instructions may also include operating parameters of the bathroom fixture (e.g., the operating parameters may include at least one of a target ambient temperature, operating power, a target operating mode, etc.). For example, when the current season is winter and the temperature of the space in the bathroom is 5 degrees celsius, the controller controls the bathroom fixture to operate at the first power. As another example, when the current season is autumn and the temperature of the space in the bathroom is 15 degrees celsius, the controller controls the bathroom fixture to operate at a second power, wherein the second power is less than the first high power.
Further, in some embodiments, the bathroom device may be an illumination lamp, and the controller controls the illumination lamp to turn on the cool light if the temperature of the space in the bathroom is greater than the first temperature threshold. If the space temperature in the bathroom is less than the second temperature threshold value, the controller controls the illuminating lamp to turn on the warm light.
And step S560, controlling the bathroom equipment to operate based on the control instruction.
In the embodiment of the application, the controller controls the bathroom equipment to operate in different modes according to different control instructions. The control instruction carries heating parameters or refrigeration parameters, and after the bathroom equipment receives the control instruction, the parameters carried by the control instruction are read, and then the bathroom equipment starts corresponding functions.
For example, the control instruction sent by the controller carries heating parameters, and after the bathroom equipment receives the control instruction, the bathroom equipment reads the heating parameters, starts warm air and raises the temperature in the bathroom. The control instruction sent by the controller carries the refrigeration parameters, and after the bathroom equipment receives the control instruction, the refrigeration parameters are read, cold air is started, and the temperature in the bathroom is reduced.
The application provides a control method of bathroom equipment. In the method, the variation of underwear or non-underwear in the intelligent wardrobe is obtained as a first detection result, whether a target object appears in a bathroom within a preset time after the clothes in the intelligent wardrobe are changed is obtained as a second detection result, and then the bath confidence of the target object is determined according to the first detection result and the second detection result. If the target object has bathing requirements, the season and the temperature of the bathroom are judged according to the environmental information, the climate information or the weather information of the bathroom, and then the bathroom equipment is controlled to turn on hot air or cold air. According to the method, the user can take out the clothes from the wardrobe and then enter the bathroom through detection, the bathroom equipment is started in advance based on the current environmental information such as the season or the temperature, manual control of the user is not needed, and the user experience is improved.
Referring to fig. 6, a block diagram of a control device for bathroom facilities provided by the present application is shown, where the device 600 includes: a first acquisition module 610, a second acquisition module 620, a determine confidence module 630, a determine instruction module 640, and a control module 650.
The first obtaining module 610 is configured to obtain a first detection result, where the first detection result represents a variation of clothes in the intelligent wardrobe; the second obtaining module 620 is configured to obtain a second detection result, where the second detection result indicates whether the target object appears in the bathroom within a predetermined time period after the change of the clothes in the intelligent wardrobe; the confidence determination module 630 is configured to determine a bath confidence of the target object based on the first detection result and the second detection result; the instruction determining module 640 is configured to determine a control instruction for bathroom equipment in a bathroom according to the environmental information of the bathroom if the bathing confidence is greater than the confidence threshold; the control module 650 is used to control the operation of the bathroom facilities based on the control instructions.
The application provides a control device of a bathroom facility. In the device, the variation of clothes in the intelligent wardrobe is obtained as a first detection result, whether a target object appears in a bathroom within a preset time after the clothes in the intelligent wardrobe are changed is obtained as a second detection result, and then the bath confidence coefficient of the target object is determined according to the first detection result and the second detection result. If the target object has bathing requirements, the season and the temperature of the bathroom are judged according to the environmental information of the bathroom, and then the bathroom equipment is controlled to start hot air or cold air. According to the method, the user can take out the clothes from the wardrobe and then enter the bathroom through detection, the bathroom equipment is started in advance based on the current environmental information such as the season or the temperature, manual control of the user is not needed, and the user experience is improved.
In some embodiments, the intelligent wardrobe is provided with a pressure sensor for detecting the weight of the clothing within the intelligent wardrobe. The first obtaining module 610 is further configured to obtain a pressure value detected by the pressure sensor; determining the variation of clothes in the intelligent wardrobe according to the pressure value; and taking the variation of clothes in the intelligent wardrobe as a first detection result.
In some embodiments, a body sensor is provided in the bathroom. The second obtaining module 620 is further configured to obtain a detection signal of the human body sensor in the bathroom within a predetermined time period after the clothes are determined to be reduced if the first detection result represents that the clothes in the intelligent wardrobe are reduced; and judging whether the target object appears in the bathroom or not according to the detection signal, and taking the judgment result as a second detection result.
In some embodiments, the confidence determining module 630 is further configured to determine the bath confidence of the target object based on the first detection result if the second detection result indicates that the target object enters the bathroom within a predetermined time period after the change of the clothes in the intelligent wardrobe occurs.
In some embodiments, the intelligent wardrobe is provided with a first area for placing undergarments and a second area for placing non-undergarments. The confidence determining module 630 is further configured to, when the second detection result indicates that the target object enters the bathroom within a predetermined time period after the clothes in the intelligent wardrobe change, determine that the bath confidence of the target object is greater than the confidence threshold if the first detection result indicates that the clothes in the first area decrease, and otherwise determine that the bath confidence of the target object is less than the confidence threshold.
In some embodiments, the determining confidence module 630 is further configured to, in a case that the second detection result indicates that the target object enters the bathroom within a predetermined time period after the change of the clothes in the intelligent wardrobe, determine a bathing confidence of the target object according to the weight of the clothes reduction if the first detection result indicates that the clothes in the intelligent wardrobe are reduced, wherein when the weight of the clothes reduction is less than the weight threshold, it is determined that the bathing confidence is greater than the confidence threshold.
In some embodiments, the instruction determining module 640 is further configured to, if the bath confidence is greater than the confidence threshold, obtain environmental information of the bathroom, where the environmental information of the bathroom includes a space temperature in the bathroom; based on a temperature of a space within the bathroom, control instructions for bathroom equipment in the bathroom are determined, wherein the control instructions carry heating or cooling parameters for controlling the bathroom equipment.
In some embodiments, determining the instruction module 640 further includes obtaining current climate information or/and weather information; and determining a control instruction for the bathroom equipment based on the climate information or/and the weather information and the temperature of the space in the bathroom, wherein the control instruction further comprises the running power of the bathroom equipment.
It should be noted that, in the present application, an embodiment of the apparatus corresponds to an embodiment of the foregoing method, a specific implementation principle of each unit in the embodiment of the apparatus is similar to that in the embodiment of the foregoing method, and specific contents in the embodiment of the apparatus may refer to the embodiment of the method, which is not described in detail in the embodiment of the apparatus.
Referring to fig. 7, a block diagram of an intelligent bathroom device provided in the present application is shown.
Based on the control method and device of the bathroom equipment, another intelligent bathroom equipment 700 capable of executing the control method of the bathroom equipment is further provided in the embodiment of the application. The smart bathroom device 700 may be a smart home such as a smart toilet that can run an application. Smart bathroom device 700 includes one or more processors 710 (only one shown), memory 720, coupled to each other. The memory 720 stores programs that can execute the contents of the foregoing embodiments, and the processor 710 can execute the programs stored in the memory 720.
Processor 710 may include one or more cores for processing data, among other things. Processor 710 interfaces with various components throughout intelligent bathroom device 700 using various interfaces and lines to perform various functions of intelligent bathroom device 700 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in memory 720 and invoking data stored in memory 720. Alternatively, the processor 710 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 710 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 710, but may be implemented by a communication chip.
The Memory 720 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 720 may be used to store instructions, programs, code sets, or instruction sets. The memory 720 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like.
Referring to fig. 8, a computer readable storage medium is provided. The computer readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-volatile computer-readable medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
In summary, the application provides a control method and device of bathroom equipment, intelligent bathroom equipment and a storage medium. In the method, the variation of clothes in the intelligent wardrobe is obtained as a first detection result, whether a target object appears in a bathroom within a preset time after the clothes in the intelligent wardrobe are changed is obtained as a second detection result, and then the bath confidence coefficient of the target object is determined according to the first detection result and the second detection result. If the target object has a bathing requirement, the season and the temperature of the bathroom are judged according to the environmental information of the bathroom, and then the bathroom equipment is controlled to start hot air or cold air. According to the method, the user can take the clothes out of the wardrobe and then enter the bathroom through detection, bathroom equipment is started in advance based on the current season or temperature, manual control of the user is not needed, and the user experience is improved.
In the description of the present specification, reference to the description of "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical feature diagrams may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (9)

1. The control method of the bathroom equipment is characterized by being applied to the bathroom equipment and an intelligent wardrobe, wherein the intelligent wardrobe is provided with a first sensor used for sending a detection signal to detect the variation of clothes in the intelligent wardrobe; the bathroom equipment is arranged in a bathroom, a second sensor is arranged in the bathroom and used for sending a detection signal to detect whether a target object appears in the bathroom or not; the method comprises the following steps:
acquiring a first detection result according to the first sensor, wherein the first detection result represents the variation of clothes in the intelligent wardrobe;
acquiring a second detection result according to the second sensor, wherein the second detection result represents whether the target object appears in the bathroom within a preset time after the clothes in the intelligent wardrobe change;
under the condition that the second detection result represents that the target object enters the bathroom within a preset time after clothes in the intelligent wardrobe change, determining bath confidence of the target object based on the variation of the clothes in the intelligent wardrobe in the first detection result;
if the bath confidence is greater than a confidence threshold, determining a control instruction for bathroom equipment in the bathroom according to the environmental information of the bathroom;
and controlling the bathroom equipment to operate based on the control instruction.
2. The method of claim 1, wherein the intelligent wardrobe is provided with a pressure sensor for detecting the weight of the clothes within the intelligent wardrobe; the obtaining of the first detection result includes:
acquiring a pressure value detected by the pressure sensor;
determining the variation of clothes in the intelligent wardrobe according to the pressure value;
and taking the variation of the clothes in the intelligent wardrobe as the first detection result.
3. The method of claim 2, wherein a body sensor is disposed in the bathroom and the obtaining a second detection comprises:
if the first detection result represents that the clothes in the intelligent wardrobe are reduced, acquiring a detection signal of the human body sensor in the bathroom within a preset time after the clothes are reduced;
and judging whether the target object appears in the bathroom or not according to the detection signal to obtain a judgment result, and taking the judgment result as the second detection result.
4. The method of claim 1, wherein the intelligent wardrobe is provided with a first area for placing undergarments and a second area for placing non-undergarments;
the determining the bathing confidence of the target object based on the first detection result in the case that the second detection result indicates that the target object enters the bathroom within a predetermined time after clothes in the intelligent wardrobe change comprises:
and under the condition that the second detection result represents that the target object enters the bathroom within a preset time after clothes in the intelligent wardrobe change, if the first detection result represents that the clothes in the first area are reduced, determining that the bathing confidence of the target object is greater than a confidence threshold, otherwise, determining that the bathing confidence of the target object is less than the confidence threshold.
5. The method of claim 1, wherein in the event that the second detection result indicates that the target object enters the bathroom within a predetermined time period after a change in clothing in the intelligent wardrobe, determining the bathing confidence of the target object based on the first detection result comprises:
and under the condition that the second detection result represents that the target object enters the bathroom within a preset time after clothes in the intelligent wardrobe change, if the first detection result represents that the clothes in the intelligent wardrobe are reduced, determining a bathing confidence coefficient of the target object according to the reduced weight of the clothes, wherein when the reduced weight of the clothes is smaller than a weight threshold, determining that the bathing confidence coefficient is larger than a confidence threshold.
6. The method of claim 1, wherein if the bathing confidence is greater than a confidence threshold, determining control instructions for bathroom equipment in the bathroom based on environmental information of the bathroom comprises:
if the bath confidence coefficient is greater than a confidence coefficient threshold value, obtaining the environmental information of the bathroom, wherein the environmental information of the bathroom comprises the space temperature in the bathroom;
determining a control instruction for a bathroom device in the bathroom based on the space temperature in the bathroom, wherein the control instruction carries a heating parameter or a cooling parameter for controlling the bathroom device.
7. The method of claim 6, wherein prior to determining the control instructions for bathroom equipment in the bathroom based on the temperature of the space within the bathroom if the bathing confidence is greater than a confidence threshold, the method further comprises:
acquiring current weather information or/and weather information;
determining the control instruction for the bathroom equipment based on the climate information or/and the weather information and the temperature of the space in the bathroom, wherein the control instruction further comprises an operating power of the bathroom equipment.
8. The control device of the bathroom equipment is characterized by being applied to the bathroom equipment and an intelligent wardrobe, wherein the intelligent wardrobe is provided with a first sensor, and the first sensor is used for sending a detection signal to detect the variation of clothes in the intelligent wardrobe; the bathroom equipment is arranged in a bathroom, a second sensor is arranged in the bathroom and used for sending a detection signal to detect whether a target object appears in the bathroom or not; the device comprises:
the first acquisition module is used for acquiring a first detection result according to the first sensor, and the first detection result represents the variation of clothes in the intelligent wardrobe;
the second acquisition module is used for acquiring a second detection result according to the second sensor, and the second detection result represents whether the target object appears in the bathroom within a preset time after the clothes in the intelligent wardrobe change;
a confidence determining module, configured to determine a bath confidence of the target object based on a magnitude of a variation of clothes in the intelligent wardrobe in the first detection result, if the second detection result indicates that the target object enters the bathroom within a predetermined time period after the clothes in the intelligent wardrobe are changed;
the instruction determining module is used for determining a control instruction aiming at bathroom equipment in the bathroom according to the environmental information of the bathroom if the bathing confidence is greater than a confidence threshold;
and the control module is used for controlling the bathroom equipment to operate based on the control instruction.
9. An intelligent bathroom device comprising one or more processors and a memory;
one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods of any of claims 1-7.
CN202111551004.5A 2021-12-17 2021-12-17 Bathroom equipment control method and device, intelligent bathroom equipment and storage medium Active CN114281134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111551004.5A CN114281134B (en) 2021-12-17 2021-12-17 Bathroom equipment control method and device, intelligent bathroom equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111551004.5A CN114281134B (en) 2021-12-17 2021-12-17 Bathroom equipment control method and device, intelligent bathroom equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114281134A CN114281134A (en) 2022-04-05
CN114281134B true CN114281134B (en) 2022-11-18

Family

ID=80873072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111551004.5A Active CN114281134B (en) 2021-12-17 2021-12-17 Bathroom equipment control method and device, intelligent bathroom equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114281134B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114963435A (en) * 2022-04-27 2022-08-30 青岛海尔空调器有限总公司 Method and device for adjusting environmental parameters, household electrical appliance centralized control equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880427A (en) * 2020-07-31 2020-11-03 北京小米移动软件有限公司 Bathroom equipment control method, device, system and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080071006A (en) * 2007-01-29 2008-08-01 곽노희 The inteligent toiler using electron equipment
CN105652767A (en) * 2016-01-12 2016-06-08 宁波力芯科信息科技有限公司 Adjustment method and adjustment system for intelligent bathroom
CN108828971A (en) * 2018-07-03 2018-11-16 安徽帮创智能科技有限公司 A kind of smart home room control system
CN111857062B (en) * 2019-04-29 2022-11-22 青岛海尔洗衣机有限公司 Control method of wardrobe
CN111839305A (en) * 2020-07-30 2020-10-30 北京小米移动软件有限公司 Shower control method, shower device, and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880427A (en) * 2020-07-31 2020-11-03 北京小米移动软件有限公司 Bathroom equipment control method, device, system and storage medium

Also Published As

Publication number Publication date
CN114281134A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
US10584892B2 (en) Air-conditioning control method, air-conditioning control apparatus, and storage medium
CN114281134B (en) Bathroom equipment control method and device, intelligent bathroom equipment and storage medium
CN109682074B (en) Control method of water heater and control method of air conditioner
CN106461260B (en) Method and apparatus for controlling temperature
CN109752965A (en) Control the method, apparatus and household appliance of household appliance
CN111505947A (en) Household appliance control method, intelligent door lock and computer readable storage medium
CN111043733B (en) Air conditioner air supply mode control method based on spatial layout characteristics and air conditioner
CN109237862A (en) A kind of method of food freshness in detection refrigerator
CN110645629A (en) Heating regulation method and equipment and computer readable storage medium
CN112781249A (en) Heating method of water heater and water heater
CN112034727A (en) Smart scene-based home equipment management method and smart home control device
CN208673113U (en) Steam generator and intelligent appliance
CN109028473B (en) Air conditioner starting method, device and system and air conditioner
CN111206377A (en) Parameter display method and device and household appliance
JP2005055102A (en) Apparatus control device
CN108873719A (en) The control method of smart home device, device, main control device, intelligent door system
WO2017134788A1 (en) Power consumption prediction device, power consumption prediction system, power consumption prediction method, and program
CN114046560A (en) Temperature adjusting method and device, heating equipment and heating system
CN112944402A (en) Control method and device of gas stove, electronic equipment and storage medium
CN113091118A (en) Household appliance control method, household appliance system and storage medium
CN112015100B (en) Intelligent switch authority adjusting method and device, intelligent switch and storage medium
CN205227647U (en) Timing control intelligence humidifier
CN106054958B (en) Voluntarily obtain the intelligent domestic device for enabling the qualification of leave state function
CN112902459B (en) Water heater control method and electric water heater
CN113899079B (en) Intelligent household equipment linkage control method and device and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant