Bath heater control method and device and intelligent bath heater
By analyzing the user's emotional state information and controlling the functional devices of the bathroom heater, the problem of insufficient correlation of the bathroom heater is solved, a personalized shower experience is achieved, and the user's emotional needs are met.
Patent Information
- Application Number
- CN202411248322.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing bathroom heaters cannot meet the user's personalized needs when showering, and are not relevant enough to effectively match the user's emotional state.
By obtaining user's emotional state information, including sound characteristics, facial images, body images and heart rate information, the emotional state characteristics are analyzed and the risk control and multimedia devices of the bathroom heater are controlled based on these characteristics, such as adjusting the air outlet temperature and music type to match The user's emotional state.
It realizes personalized matching between bathroom heaters and user emotions, provides a more comfortable and relaxing shower experience, and meets the diverse needs of users.
Smart Images

Figure CN118960224A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of bathroom heaters, and in particular, relates to a bathroom heater control method, device and intelligent bathroom heater. Background Art
[0002] With the progress of modern society, people's pursuit of quality of life in daily washing, bathing and convenience is getting higher and higher, and everyone's needs are becoming more diverse. The bathroom is a place for washing and bathing. Especially after work or labor, bathing can not only clean the body, remove sweat and dirt, but also help relieve fatigue, relax the body and mind, and is also extremely important for personal hygiene and health. The emergence of bathroom heaters has made it more and more popular.
[0003] Currently, some bathroom heaters have intelligent functions, but the bathroom heaters in related technologies are not sufficiently related to users and cannot meet the personalized needs of users when taking a shower. Summary of the invention
[0004] The embodiments of the present application provide a bathroom heater control method, device and smart bathroom heater, which can solve the problem of insufficient relevance to users in the related technologies and failure to meet the personalized needs of users when showering.
[0005] In a first aspect, an embodiment of the present application provides a bathroom heater control method, which is applied to a smart bathroom heater. The bathroom heater control method includes:
[0006] Obtain user emotional state information;
[0007] Analyzing the user's emotional state information to obtain an emotional state feature; wherein the emotional state feature is used to reflect the emotion of the user matching the user's emotional information;
[0008] According to the emotional state characteristics, control the functional device of the smart bathroom heater
[0009] In a possible implementation of the first aspect, obtaining user emotional state information includes:
[0010] Collecting user's voice characteristic information through a recording device;
[0011] Collecting facial and body images of the user through a camera;
[0012] Get the user's heart rate information;
[0013] The step of obtaining emotional state characteristics based on the analysis of the user's emotional state information includes:
[0014] Emotional state characteristics are obtained by analyzing the voice characteristic information, the facial image, the limb image and the heart rate information.
[0015] In a possible implementation manner of the first aspect, analyzing the voice feature information, the facial image, the limb image, and the heart rate information to obtain the emotional state feature includes:
[0016] Analyze based on the sound feature information to obtain a first emotional state feature;
[0017] Analyze the facial image to obtain a second emotional state feature;
[0018] Analyze the body image to obtain a third emotional state feature;
[0019] Analyze based on the heart rate information to obtain a fourth emotional state characteristic;
[0020] An emotional state overlap analysis is performed based on the first emotional state feature, the second emotional state feature, the third emotional state feature, and the fourth emotional state feature to determine a current emotional state feature.
[0021] In a possible implementation of the first aspect, analyzing based on the sound feature information to obtain the first emotional state feature includes:
[0022] In a case where it is determined based on the sound characteristic information that the voice volume of the user is within a range of 40 to 60 decibels, determining that the first emotional state characteristic is a normal emotional state;
[0023] In a case where it is determined based on the sound characteristic information that the voice volume of the user is higher than 60 decibels, determining that the first emotional state characteristic is a happy emotional state or an angry emotional state;
[0024] When it is determined based on the sound characteristic information that the voice volume of the user is lower than 60 decibels, the first emotional state characteristic is determined to be a sad emotional state.
[0025] In a possible implementation manner of the first aspect, analyzing the facial image to obtain the second emotional state feature includes:
[0026] Establishing user facial image position information based on the facial image to obtain initial facial information; wherein the initial facial information includes a plurality of feature point marks respectively identifying eyes, eyebrows, mouth, teeth, eyelids and eye corners;
[0027] Comparing the facial image with the initial facial information to obtain facial feature information;
[0028] In a case where the facial feature information indicates no feature, confirming that the second emotional state feature is a normal emotional state;
[0029] In a case where the facial feature information includes at least one of a raised eyebrow feature, an upturned mouth corner feature, and a tooth-revealing feature, confirming that the second emotional state feature is a happy emotional state;
[0030] In a case where the facial feature information includes at least one of a frown feature, a drooping eyelid feature, a wrinkle feature at the corner of the eye, and a tear feature, determining that the second emotional state feature is a sad emotional state;
[0031] When the facial feature information includes at least one of a wide-open eyes feature, a furrowed brow feature, a V-shaped or horizontal wrinkle feature, a tightly closed lips feature, or a clenched teeth feature, the second emotional state feature is confirmed to be an angry emotional state.
[0032] In a possible implementation of the first aspect, obtaining the third emotional state feature based on the analysis of the body image includes:
[0033] Establishing user limb image position information based on the limb image to obtain initial limb information; wherein the initial limb information includes a plurality of feature point marks respectively identifying the head, chest, shoulder, arm and palm;
[0034] Comparing the limb image with the initial limb information to obtain limb feature information;
[0035] When the body feature information indicates no feature, confirming that the third emotional state feature is a normal emotional state;
[0036] In a case where the limb feature information includes at least one of a head shaking feature, an arm swinging feature, and a two-palm clapping feature, confirming that the third emotional state feature is a happy emotional state;
[0037] In a case where the limb feature information includes at least one of a slightly hunched back feature, a drooped shoulder feature, and an arm hugging chest feature, confirming that the third emotional state feature is a sad emotional state;
[0038] When the limb feature information includes a feature of increased chest rise and fall, it is confirmed that the third emotional state feature is an angry emotional state.
[0039] In a possible implementation manner of the first aspect, analyzing based on the heart rate characteristic information to obtain the fourth emotional state characteristic includes:
[0040] In a case where the heart rate range is determined to be 60-80 beats / minute based on the heart rate characteristic information, determining that the fourth emotional state characteristic is a normal emotional state;
[0041] When it is determined based on the heart rate characteristic information that the heart rate range is above 80 beats / minute, the fourth emotional state characteristic is determined to be a happy emotional state, a sad emotional state, or an angry emotional state.
[0042] In a possible implementation manner of the first aspect, performing an emotional state overlap analysis according to the first emotional state feature, the second emotional state feature, the third emotional state feature, and the fourth emotional state feature to determine a current emotional state feature includes:
[0043] The first emotional state feature, the second emotional state feature, the third emotional state feature, and the fourth emotional state feature are compared, and the emotional state feature with the highest occurrence frequency is screened out to be determined as the user's current emotional state feature.
[0044] In a possible implementation of the first aspect, the functional device of the smart bathroom heater includes a wind control device and a multimedia device; the functional device of the smart bathroom heater is controlled according to the emotional state characteristics, including:
[0045] Get the user's current body temperature;
[0046] When the emotional state characteristic is a normal emotional state, the air outlet temperature of the wind control device is controlled to be the current body temperature of the user, the music type of the multimedia device is controlled to be randomly selected, and the light type of the multimedia device is controlled to be blue light, warm yellow light, candle light or amber light;
[0047] When the emotional state characteristic is a happy emotional state, the air outlet temperature of the wind control device is controlled to be lower than the current body temperature of the user, the music type of the multimedia device is controlled to be one of fast-paced songs, electronic dance music, disco, hip-hop music, rock music, and jazz, and the light type of the multimedia device is controlled to be orange light or light yellow light;
[0048] When the emotional state is characterized by a sad emotional state, the air outlet temperature of the wind control device is controlled to be higher than the current body temperature of the user, the music type of the multimedia device is controlled to be slow-tempo pop songs, lyrical songs, folk songs, blues or classical music, and the lighting type of the multimedia device is controlled to be lavender or light yellow warm lights.
[0049] In a second aspect, an embodiment of the present application provides a bathroom heater control device, which is applied to a smart bathroom heater. The bathroom heater control device includes:
[0050] An acquisition unit, used to acquire user emotional state information;
[0051] An analysis unit, configured to perform analysis based on the user's emotional state information to obtain an emotional state feature; wherein the emotional state feature is used to reflect the emotion of the user matching the user's emotional information;
[0052] A control unit is used to control the functional devices of the smart bathroom heater according to the characteristics of the emotional state.
[0053] In a third aspect, an embodiment of the present application provides a smart bathroom heater, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the methods described in the first aspect when executing the computer program.
[0054] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the above-mentioned first aspects is implemented.
[0055] In the fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a smart bathroom heater, the smart bathroom heater executes the bathroom heater control method described in any one of the first aspects above.
[0056] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0058] Figure 1 It is a flowchart of the intelligent bathroom heater control method provided in the embodiment of the present application;
[0059] Figure 2 It is a schematic diagram of the implementation flow of step S100 in the intelligent bathroom heater control method provided in the embodiment of the present application;
[0060] Figure 3 It is a schematic diagram of the implementation flow of step S210 in the intelligent bathroom heater control method provided in the embodiment of the present application;
[0061] Figure 4 is a schematic diagram of a smart bathroom heater control device provided in an embodiment of the present application;
[0062] Figure 5It is an interactive schematic diagram of the smart bathroom heater provided in an embodiment of the present application;
[0063] Figure 6 It is a structural diagram of the smart bathroom heater provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0065] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0066] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0067] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0068] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0069] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0070] With the progress of modern society, people's pursuit of quality of life in daily washing, bathing and convenience is getting higher and higher, and everyone's needs are becoming more diverse. The bathroom is a place for washing and bathing. Especially after work or labor, bathing can not only clean the body, remove sweat and dirt, but also help relieve fatigue, relax the body and mind, and is also extremely important for personal hygiene and health. The emergence of bathroom heaters has made it more and more popular.
[0071] Currently, some bathroom heaters have intelligent functions, but the bathroom heaters in related technologies are not sufficiently related to users, and there is no model that is associated with people's emotions. In the fast-paced life, people often suffer from emotional fluctuations and need external forces to release their emotions. Therefore, it is just right to use a smart bathroom heater to release emotions while taking a bath.
[0072] To solve the above problems, the embodiments of the present application provide a bathroom heater control method, device and smart bathroom heater. In the method, the user's emotional state information is obtained; based on the user's emotional state information, an analysis is performed to obtain emotional state characteristics; wherein the emotional state characteristics are used to reflect the user's emotions that match the user's emotional information; according to the emotional state characteristics, the functional device of the bathroom heater is controlled. In this way, different emotional state characteristics can be obtained by obtaining the user's emotional state information and analyzing it. Various functions of the multimedia device are controlled according to different emotional characteristics to match the user's current personalized needs for the bathroom heater.
[0073] The bathroom heater control method provided in the embodiment of the present application can be applied to a smart bathroom heater. In this case, the smart bathroom heater is the executor of the bathroom heater control method provided in the embodiment of the present application. The embodiment of the present application does not impose any restrictions on the specific type of the smart bathroom heater.
[0074] For example, in addition to the most basic functions of heating, lighting and ventilation, the smart bathroom heater can also have remote control, timing function, voice control, environmental monitoring, air quality detection, air purifier, negative ion generator, aromatherapy diffuser, child lock, overheating protection device, display, intelligent temperature control, heart rate detection device, camera, recording device, etc.
[0075] In order to better understand the bathroom heater control method provided in the embodiment of the present application, the specific implementation process of the bathroom heater control method provided in the embodiment of the present application is exemplarily introduced below.
[0076] Figure 1 A schematic flow chart of a bathroom heater control method provided in an embodiment of the present application is shown, and the bathroom heater control method includes:
[0077] S100, obtaining user emotional state information.
[0078] It can be understood that the user's emotional state information is the individual's psychological feelings and emotional reactions at a specific moment or situation. For example, it can be input by the user himself, by referring to a template and answering questions, or according to the user's own emotional characteristics; it can also be analyzed by the characteristics of the user's own performance.
[0079] In one possible implementation, see Figure 2 , step S100, obtaining user emotional state information, including:
[0080] S110, collecting the user's voice feature information through a recording device.
[0081] It can be understood that a recording device is an electronic device specifically used to capture, store and play back sound information. According to the usage scenarios and technical characteristics, recording devices can be divided into the following categories: portable voice recorders, professional digital recorders, mobile phone recording applications, wireless microphone systems, smart speakers, smart watch recording devices and car recording devices. Among them, when using a smart bathroom heater, you can use wireless devices such as mobile phones, smart watches and tablets to record and transmit them to the smart bathroom heater. You can also install a recording device on the hardware device of the smart bathroom heater, and the user can record the user's voice information while using the smart bathroom heater.
[0082] It can be understood that the user's voice is captured by the microphone or microphone array of the above-mentioned device.
[0083] Microphones convert sound waves into electrical signals. The type and quality of the microphone determines the quality of the recording. There are many types of microphones, such as dynamic microphones, condenser microphones, ribbon microphones, etc.
[0084] S120, collecting a user's facial image and body image through a camera.
[0085] It is understandable that the camera can be installed on the smart door lock of the entrance door to synchronize the photos taken to the smart bathroom heater; it can also be installed in the bathroom heater directly opposite the bathroom door. The camera can capture the user's facial and body images. The user's facial image can be a person's expression, the size and position of the facial features, etc.; for example, it includes the position of the eyes, nose, mouth, and facial contours. The user's body image can be the length of the body, body posture, body shape and behavior, etc.; for example, it includes the position of the joints, the shape of the gesture, or waving, nodding, etc.
[0086] S130, obtaining the user's heart rate information.
[0087] It is understandable that heart rate information plays an important role in many aspects. It can help users understand their own health status. Long-term monitoring of heart rate changes can help early detection of cardiovascular disease risks, such as arrhythmia and hypertension. It can help users manage their stress. Heart rate changes can reflect the body's stress level and help take measures to reduce stress. It can also be used to detect the user's current emotional state and assist in determining the user's emotions by detecting the user's heart rate.
[0088] It can be understood that obtaining the user's heart rate information can be achieved through a variety of methods and technologies, which can be roughly divided into two categories: non-invasive and invasive. Among them, non-invasive methods include photoplethysmography and heart rate belts. Photoplethysmography includes smart watches, sports bracelets, smart rings, etc., which use LED light sources and photosensitive sensors to measure changes in blood flow in blood vessels under the skin. When the heart contracts, more blood flows into the arteries, causing the tissue to absorb more light, thereby changing the amount of light reflected back to the sensor; the heart rate belt includes a chest strap heart rate monitor, which measures changes in the heart's electrical signals through electrodes in contact with the skin. Invasive methods include electrocardiograms and implantable heart rate detectors. The principle of an electrocardiogram is to record the heart's electrical signals through electrodes connected to the surface of the skin; the principle of an implantable heart rate monitor is to implant a small monitor subcutaneously to monitor the heart's electrical signals for a long time. Among them, the smart bathroom heater can obtain heart rate information through smart watches, sports bracelets, smart rings, etc., and then synchronously transmit it to the smart bathroom heater; the heart rate measuring device can also be installed on the smart bathroom heater and installed in the bathroom shower, faucet and other convenient measurement locations through an external connecting line.
[0089] S200, analyzing the user's emotional state information to obtain emotional state features; wherein the emotional state features are used to reflect the user's emotions that match the user's emotional information.
[0090] For example, emotional state characteristics can be characterized or described in many ways; using emotional dimensions: pleasure, arousal level, sense of control; emotional categories: some common basic emotions include happiness, sadness, anger, fear, surprise, and disgust. These basic emotions can be combined into more complex emotional states; physiological indicators: heart rate, blood pressure, skin conductance response, facial expressions, muscle tension and other physiological reactions are also often used to assess emotional states; behavioral manifestations: emotional states may also be manifested through verbal expression, body language, and facial expressions; cognitive evaluation: how people interpret or evaluate events can also affect their emotional experience. For example, people who have a positive attitude towards an event may experience more positive emotions.
[0091] Optionally, step S200, analyzing the user's emotional state information to obtain emotional state features, includes:
[0092] S210, analyzing based on the sound feature information, the facial image, the body image and the heart rate information to obtain the emotional state feature.
[0093] It can be understood that each characteristic information of the user will provide emotional state characteristics. For example, the current emotional state characteristics of the user can be obtained by collecting data such as the user's chat records, social media posts, call recordings, voice messages, etc. The user's emotional state characteristics can also be obtained by capturing facial expression changes, daily steps, active time, sleep time, wake-up time, deep sleep duration, etc. through video calls. Therefore, the emotional state characteristics can be obtained by analyzing the user's voice characteristic information, facial images, body images and heart rate information.
[0094] Optionally, see Figure 3 , step S210, analyzing based on the sound feature information, the facial image, the body image and the heart rate information to obtain the emotional state features, including:
[0095] S211, analyzing based on the sound feature information to obtain a first emotional state feature.
[0096] It can be understood that there are many types of voice features, such as: pitch changes during speaking, tone changes, speaking speed, number and duration of pauses during speaking, etc. These features can be analyzed individually or in combination.
[0097] The corresponding emotional state characteristics can be obtained by analyzing the user's voice information. Optionally, step S211, based on the voice characteristic information, analysis is performed to obtain the first emotional state characteristics, including:
[0098] In a case where it is determined based on the sound feature information that the voice volume of the user is within a range of 40 to 60 decibels, determining that the first emotional state feature is a normal emotional state;
[0099] In a case where it is determined based on the sound feature information that the voice volume of the user is higher than 60 decibels, determining that the first emotional state feature is a happy emotional state or an angry emotional state;
[0100] When it is determined based on the sound feature information that the voice volume of the user is lower than 60 decibels, the first emotional state feature is determined to be a sad emotional state.
[0101] S212: Analyze the facial image to obtain a second emotional state feature.
[0102] It is understandable that there are many different facial expressions and gestures, and each expression or gesture may correspond to one or more emotional states. There are several parts of the face that have distinct features, such as the eyes, nose, mouth, etc.; there are also changes in facial muscles that correspond to corresponding emotions, such as the raising or lowering of eyebrows, the upturning or drooping of the corners of the mouth, etc.
[0103] Corresponding emotional state characteristics can be obtained by analyzing the facial image information of the user. Optionally, step S212, analyzing based on the facial image to obtain a second emotional state characteristic, includes:
[0104] Establishing user facial image position information based on the facial image to obtain initial facial information; wherein the initial facial information includes multiple feature point marks that respectively identify eyes, eyebrows, mouth, teeth, eyelids and eye corners;
[0105] Compare the facial image with the initial facial image to obtain facial feature information. It can be understood that to compare the facial image with the initial facial image, it is necessary to first save a photo with obvious and clear facial features of the user in the smart bathroom heater, pre-process the facial image, adjust the contrast, brightness and grayscale to be consistent with the saved photo; then extract the facial image feature parts, such as the key point positioning mentioned above: such as the position of the eyes, nose, mouth, eyebrows, etc.; facial contour: the shape and size of the edge of the face; expression changes: such as slight changes in facial muscles such as smiling and frowning. Feature matching: compare the facial features in the current image with the initial facial image. Then calculate the difference between the facial image and the initial facial image: calculate the difference value of each feature, such as the change in the position of the key point, the difference in expression, etc., and analyze whether these differences are related to the emotional state. For example, two facial images, a facial image and an initial facial image, can be established in the form of coordinate axes. The eye positions of the initial facial image are (x1, y1), (x2, y2), the nose position is (xn, yn), the mouth corner positions are (xm1, ym1), (xm2, ym2), and the emotional state characteristics of the initial facial image are normal emotional states, and so on. The eye positions of the facial image are set to (x1', y1'), (x2', y2'), the nose position is (xn', yn'), the mouth corner positions are (xm1', ym1'), (xm2', ym2'), and so on. Compare the position differences between the two images to obtain specific emotional state characteristics.
[0106] When the facial feature information indicates that there is no feature, confirming that the second emotional state feature is a normal emotional state;
[0107] In a case where the facial feature information includes at least one of a raised eyebrow feature, an upturned mouth corner feature, and a tooth-revealing feature, confirming that the second emotional state feature is a happy emotional state;
[0108] In a case where the facial feature information includes at least one of a frown feature, a drooping eyelid feature, a wrinkle feature at the corner of the eye, and a tear feature, determining that the second emotional state feature is a sad emotional state;
[0109] When the facial feature information includes at least one of a wide-open eyes feature, a furrowed brow feature, a V-shaped or horizontal wrinkle feature, a tightly closed lips feature, or a clenched teeth feature, the second emotional state feature is confirmed to be an angry emotional state.
[0110] S213, analyzing based on the body image to obtain a third emotional state feature.
[0111] It is understandable that the human body can convey a lot of information, especially some key parts, such as the head, shoulders, arms, legs, etc.; the angle of each limb, such as the degree of arm bending, the angle of leg opening, etc.; and the overall direction of the body or the range of movement of the limbs, that is, the range of limb movement, etc. This information can correspond to different emotion categories.
[0112] Corresponding emotional state characteristics can be obtained by analyzing the user's body image information. Optionally, step S213, based on the body image, analysis is performed to obtain a third emotional state characteristic, including:
[0113] Establishing user limb image position information based on the limb image to obtain initial limb information; wherein the initial limb information includes a plurality of feature point marks respectively identifying the head, chest, shoulder, arm and palm;
[0114] Compare the limb image with the initial limb information to obtain limb feature information;
[0115] It can be understood that the comparison between the limb image and the initial limb image can be processed according to the above-mentioned comparison method between the facial image and the initial facial image, that is, the obtained image is pre-processed to extract the characteristic parts of the facial image and locate the key points: such as the head, palm, back, shoulder, arm and chest. The limb image and the initial limb image can be established by establishing a coordinate system, and the head position of the initial limb image is (a1, b1), the palm position is (an1, bn1), (an2, bn2), the shoulder position is (am1, bm1), (am2, bm2), and the emotional state feature of the initial limb image is a normal emotional state, and so on. The head position of the limb image is set to (a1', b1'), the palm position is (an1', bn1'), (an2', bn2'), the shoulder position is (am1', bm1'), (am2', bm2'), and so on. Comparing the position difference between the two images, the specific emotional state feature is obtained.
[0116] When the body feature information indicates no feature, confirming that the third emotional state feature is a normal emotional state;
[0117] In a case where the limb feature information includes at least one of a head shaking feature, an arm swinging feature, and a two-palm clapping feature, determining that the third emotional state feature is a happy emotional state;
[0118] In a case where the limb feature information includes at least one of a slightly hunched back feature, a drooped shoulder feature, and an arm hugging chest feature, determining that the third emotional state feature is a sad emotional state;
[0119] When the limb feature information includes a feature of increased chest rise and fall, the third emotional state feature is confirmed to be an angry emotional state.
[0120] S214: Analyze based on the heart rate characteristic information to obtain a fourth emotional state characteristic.
[0121] It is understandable that a person's heart rate will change in different circumstances, at different times or in different scenes. For example, when resting, when completely relaxed, the heart rate is usually low; when active, when doing physical activity, the heart rate will increase significantly; when emotionally excited, the heart rate will increase, while when relaxed or calm, the heart rate will slow down. Therefore, these changes in heart rate also correspond to one or more emotional state information.
[0122] Corresponding emotional state characteristics can be obtained by analyzing the user's heart rate characteristic information. Optionally, in step S214, a fourth emotional state characteristic is obtained by analyzing the heart rate characteristic information, including:
[0123] When the heart rate range is determined to be 60-80 beats / minute based on the heart rate characteristic information, determining the fourth emotional state characteristic to be a normal emotional state;
[0124] When it is determined based on the heart rate characteristic information that the heart rate range is above 80 beats / minute, the fourth emotional state characteristic is determined to be a happy emotional state, a sad emotional state, or an angry emotional state.
[0125] S220 , performing overlap analysis based on the obtained first emotional state feature, second emotional state feature, third emotional state feature, and fourth emotional state feature.
[0126] It is understandable that the first emotional state characteristic, the second emotional state characteristic, the third emotional state characteristic and the fourth emotional state characteristic obtained are not the only emotional state characteristics, and multiple emotional state characteristics may be identified. At this time, it is necessary to perform overlap analysis on the obtained multiple state characteristic information.
[0127] Optionally, step S220, performing a coincidence analysis based on the obtained first emotional state feature, second emotional state feature, third emotional state feature, and fourth emotional state feature, includes:
[0128] The first emotional state feature, the second emotional state feature, the third emotional state feature, and the fourth emotional state feature are compared, and the emotional state feature with the highest occurrence frequency is screened out to be determined as the current emotional state feature of the user.
[0129] The overlap analysis counts all the emotional state features that appear at present and selects the emotional state feature with the most occurrences. For example, when the first emotional state feature appears twice and the second emotional state feature appears once, the emotional state feature obtained by the overlap analysis is the first emotional state feature. For example, statistical analysis methods, machine learning algorithms, etc. can also be used to explore the associations and rules between user features, needs, etc. Through analysis, emotional state information that better matches the user can be obtained to improve accuracy.
[0130] S300 is a device that controls the functions of the smart bathroom heater according to the characteristics of the emotional state.
[0131] It can be understood that in order to control the function settings of the bathroom heater according to the current emotional state characteristics of the user, it is necessary to analyze the emotional state data screened by the user, and different user emotions correspond to different bathroom heater functions. Among them, the user can also input the function settings of the bathroom heater according to his own emotional state.
[0132] The wind control device of the bathroom heater, the music type and the lighting type of the multimedia device can be controlled according to the user's current emotional state characteristics.
[0133] It can be understood that the smart bathroom heater includes several functions. For example, the functional devices of the smart bathroom heater include a wind control device and a multimedia device, which can control the wind control device of the smart bathroom heater, the music type and the light type of the multimedia device. Among them, the wind control device controls the temperature of the air outlet of the bathroom heater; the music type and the light type of the multimedia device can control different types of music and light types.
[0134] Optionally, step S300, controlling the functional device of the smart bathroom heater according to the emotional state characteristics, includes:
[0135] The user's body temperature needs to be obtained. For example, the user can measure the current temperature with a mercury thermometer or an electronic thermometer, and then manually input it into the bathroom heater; or the user can install an infrared thermometer and use infrared radiation to measure the temperature, and then the bathroom heater directly receives the temperature data.
[0136] When the emotional state characteristic is a normal emotional state, the air outlet temperature of the wind control device is controlled to be the user's current body temperature, the music type of the multimedia device is controlled to be randomly selected, and the light type of the multimedia device is controlled to be blue light, warm yellow light, candle light or amber light;
[0137] When the emotional state is characterized by a happy emotional state, the air outlet temperature of the wind control device is controlled to be lower than the current body temperature of the user, the music type of the multimedia device is controlled to be one of fast-paced songs, electronic dance music, disco, hip-hop music, rock music, and jazz, and the light type of the multimedia device is controlled to be orange light or light yellow light;
[0138] When the emotional state is characterized by a sad emotional state, the air outlet temperature of the wind control device is controlled to be higher than the user's current body temperature, the music type of the multimedia device is controlled to be slow-tempo pop songs, lyrical songs, folk songs, blues or classical music, and the light type of the multimedia device is controlled to be lavender or light yellow warm lights.
[0139] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0140] Corresponding to the bathroom heater control method described in the above embodiment, the embodiment of the present application also provides a bathroom heater control device, and each unit of the device can implement each step of the bathroom heater control method. Figure 4 A structural block diagram of a bathroom heater control device provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0141] Reference Figure 4 The bathroom heater control device is applied to the intelligent bathroom heater. The bathroom heater control device includes:
[0142] An acquisition unit, used to acquire user emotional state information;
[0143] An analysis unit, configured to perform analysis based on the user's emotional state information to obtain an emotional state feature; wherein the emotional state feature is used to reflect the emotion of the user matching the user's emotional information;
[0144] A control unit is used to control the functional devices of the smart bathroom heater according to the characteristics of the emotional state.
[0145] It should be noted that the information interaction, execution process and other contents between the above-mentioned device units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0146] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned units is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned to different units as needed, that is, the internal structure of the device can be divided into different units to complete all or part of the functions described above. The units in the embodiment can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the units are only for the convenience of distinguishing from each other, and are not used to limit the scope of protection of this application. The specific working process of the units in the above-mentioned device can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0147] The embodiment of the present application also provides a smart bathroom heater. Figure 6 This is a schematic diagram of the structure of the smart bathroom heater 1 provided in one embodiment of the present application. Figure 6 As shown, the smart bathroom heater 1 of this embodiment includes: at least one processor 11 ( Figure 6 Only one is shown), at least one memory 12 ( Figure 6 Only one is shown) and a computer program 13 stored in the at least one memory 12 and executable on the at least one processor 11. When the processor 11 executes the computer program 13, the smart bathroom heater 1 implements the steps in any of the above-mentioned bathroom heater control method embodiments, or enables the smart bathroom heater 1 to implement the functions of each unit in the above-mentioned device embodiments.
[0148] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0149] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0150] Exemplarily, the computer program 13 may be divided into one or more modules / units, which are stored in the memory 12 and executed by the processor 11 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 62 in the electronic device 6.
[0151] The control device of the smart bathroom heater can be a computing device such as an embedded computer, a mobile device, a notebook, a PDA, and a cloud server. The computing device can be placed in the smart bathroom heater; it can also be placed in other places in the user's home. After processing the data, it will be fed back to the smart bathroom heater to make action instructions. The smart bathroom heater 1 may include, but is not limited to, a processor 11 and a memory 12. Those skilled in the art will understand that Figure 6 It is only an example of the smart bathroom heater 1 and does not constitute a limitation of the smart bathroom heater 1. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, buses, etc.
[0152] The processor 11 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0153] The memory 12 may be the internal storage unit of the smart bathroom heater 1 in some embodiments, such as the hard disk or memory of the smart bathroom heater 1. The memory 12 may also be the external storage device of the smart bathroom heater 1 in other embodiments, such as the plug-in hard disk, smart memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), etc. equipped on the smart bathroom heater 1. Furthermore, the memory 12 may also include both the internal storage unit and the external storage device of the smart bathroom heater 1. The memory 12 is used to store operating systems, applications, boot loaders (BootLoader), data and other programs, such as the program code of the computer program. The memory 12 may also be used to temporarily store data that has been output or is to be output.
[0154] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0155] An embodiment of the present application provides a computer program product. When the computer program product runs on a smart bathroom heater, the smart bathroom heater implements the steps in any of the above-mentioned method embodiments.
[0156] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the smart bathroom heater or bathroom heater control device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, USB flash drive, mobile hard disk, disk or optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0157] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0158] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0159] In the embodiments provided in the present application, it should be understood that the disclosed bathroom heater control device / intelligent bathroom heater and method can be implemented in other ways. For example, the bathroom heater control device / intelligent bathroom heater embodiment described above is only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0160] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0161] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for controlling a bathroom heater, characterized in that: Applied to the intelligent bathroom heater, the bathroom heater control method includes: Obtain user emotional state information; Analyzing the user's emotional state information to obtain an emotional state feature; wherein the emotional state feature is used to reflect the emotion of the user matching the user's emotional information; According to the emotional state characteristics, the functional devices of the smart bathroom heater are controlled.
2. A method for controlling a bathroom heater as claimed in claim 1, characterized in that: The obtaining of user emotional state information includes: Collecting user's voice characteristic information through a recording device; Collecting facial and body images of the user through a camera; Get the user's heart rate information; The step of obtaining emotional state characteristics based on the analysis of the user's emotional state information includes: Emotional state characteristics are obtained by analyzing the voice characteristic information, the facial image, the limb image and the heart rate information.
3. A method for controlling a bathroom heater as claimed in claim 2, characterized in that: The analyzing based on the voice feature information, the facial image, the limb image and the heart rate information to obtain the emotional state feature includes: Analyze based on the sound feature information to obtain a first emotional state feature; Analyze the facial image to obtain a second emotional state feature; Analyze the body image to obtain a third emotional state feature; Analyze based on the heart rate information to obtain a fourth emotional state characteristic; An emotional state overlap analysis is performed based on the first emotional state feature, the second emotional state feature, the third emotional state feature, and the fourth emotional state feature to determine a current emotional state feature.
4. A method for controlling a bathroom heater as claimed in claim 3, characterized in that: The step of analyzing the sound feature information to obtain a first emotional state feature includes: In a case where it is determined based on the sound characteristic information that the voice volume of the user is within a range of 40 to 60 decibels, determining that the first emotional state characteristic is a normal emotional state; In a case where it is determined based on the sound characteristic information that the voice volume of the user is higher than 60 decibels, determining that the first emotional state characteristic is a happy emotional state or an angry emotional state; When it is determined based on the sound characteristic information that the voice volume of the user is lower than 60 decibels, the first emotional state characteristic is determined to be a sad emotional state.
5. A method for controlling a bathroom heater as claimed in claim 3, characterized in that: The analyzing based on the facial image to obtain a second emotional state feature includes: Establishing user facial image position information based on the facial image to obtain initial facial information; wherein the initial facial information includes a plurality of feature point marks respectively identifying eyes, eyebrows, mouth, teeth, eyelids and eye corners; Comparing the facial image with the initial facial information to obtain facial feature information; In a case where the facial feature information indicates no feature, confirming that the second emotional state feature is a normal emotional state; In a case where the facial feature information includes at least one of a raised eyebrow feature, an upturned mouth corner feature, and a tooth-revealing feature, confirming that the second emotional state feature is a happy emotional state; In a case where the facial feature information includes at least one of a frown feature, a drooping eyelid feature, a wrinkle feature at the corner of the eye, and a tear feature, determining that the second emotional state feature is a sad emotional state; When the facial feature information includes at least one of a wide-open eyes feature, a furrowed brow feature, a V-shaped or horizontal wrinkle feature, a tightly closed lips feature, or a clenched teeth feature, the second emotional state feature is confirmed to be an angry emotional state.
6. A method for controlling a bathroom heater as claimed in claim 3, characterized in that: The analyzing based on the limb image to obtain a third emotional state feature includes: Establishing user limb image position information based on the limb image to obtain initial limb information; wherein the initial limb information includes a plurality of feature point marks respectively identifying the head, chest, shoulder, arm and palm; Comparing the limb image with the initial limb information to obtain limb feature information; When the body feature information indicates no feature, confirming that the third emotional state feature is a normal emotional state; In a case where the limb feature information includes at least one of a head shaking feature, an arm swinging feature, and a two-palm clapping feature, confirming that the third emotional state feature is a happy emotional state; In a case where the limb feature information includes at least one of a slightly hunched back feature, a drooped shoulder feature, and an arm hugging chest feature, confirming that the third emotional state feature is a sad emotional state; When the limb feature information includes a feature of increased chest rise and fall, it is confirmed that the third emotional state feature is an angry emotional state.
7. A method for controlling a bathroom heater as claimed in claim 3, characterized in that: The analyzing based on the heart rate characteristic information to obtain a fourth emotional state characteristic includes: In a case where the heart rate range is determined to be 60-80 beats / minute based on the heart rate characteristic information, determining that the fourth emotional state characteristic is a normal emotional state; When it is determined based on the heart rate characteristic information that the heart rate range is above 80 beats / minute, the fourth emotional state characteristic is determined to be a happy emotional state, a sad emotional state, or an angry emotional state.
8. A method for controlling a bathroom heater as claimed in claims 3 to 7, characterized in that: The performing emotional state overlap analysis according to the first emotional state feature, the second emotional state feature, the third emotional state feature, and the fourth emotional state feature to determine the current emotional state feature includes: Compare the first emotional state feature, the second emotional state feature, the third emotional state feature, and the fourth emotional state feature, and select the emotional state feature with the highest occurrence frequency as the current emotional state feature of the user; And / or, the functional device of the smart bathroom heater includes a wind control device and a multimedia device; the functional device of controlling the smart bathroom heater according to the emotional state characteristics includes: Get the user's current body temperature; When the emotional state characteristic is a normal emotional state, the air outlet temperature of the wind control device is controlled to be the current body temperature of the user, the music type of the multimedia device is controlled to be randomly selected, and the light type of the multimedia device is controlled to be blue light, warm yellow light, candle light or amber light; When the emotional state characteristic is a happy emotional state, the air outlet temperature of the wind control device is controlled to be lower than the current body temperature of the user, the music type of the multimedia device is controlled to be one of fast-paced songs, electronic dance music, disco, hip-hop music, rock music, and jazz, and the light type of the multimedia device is controlled to be orange light or light yellow light; When the emotional state is characterized by a sad emotional state, the air outlet temperature of the wind control device is controlled to be higher than the current body temperature of the user, the music type of the multimedia device is controlled to be slow-tempo pop songs, lyrical songs, folk songs, blues or classical music, and the lighting type of the multimedia device is controlled to be lavender or light yellow warm lights.
9. A bathroom heater control device, characterized in that: Applied to smart bathroom heater, the bathroom heater control device includes: An acquisition unit, used to acquire user emotional state information; An analysis unit, configured to perform analysis based on the user's emotional state information to obtain an emotional state feature; wherein the emotional state feature is used to reflect the emotion of the user matching the user's emotional information; A control unit is used to control the functional devices of the smart bathroom heater according to the characteristics of the emotional state.
10. A smart bathroom heater, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.
