CN116763089A - Emotion adjusting method and device based on sofa, electronic equipment and storage medium - Google Patents

Emotion adjusting method and device based on sofa, electronic equipment and storage medium Download PDF

Info

Publication number
CN116763089A
CN116763089A CN202310749980.4A CN202310749980A CN116763089A CN 116763089 A CN116763089 A CN 116763089A CN 202310749980 A CN202310749980 A CN 202310749980A CN 116763089 A CN116763089 A CN 116763089A
Authority
CN
China
Prior art keywords
user
data
sofa
target
state
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.)
Pending
Application number
CN202310749980.4A
Other languages
Chinese (zh)
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.)
De Rucci Healthy Sleep Co Ltd
Original Assignee
De Rucci Healthy Sleep 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 De Rucci Healthy Sleep Co Ltd filed Critical De Rucci Healthy Sleep Co Ltd
Priority to CN202310749980.4A priority Critical patent/CN116763089A/en
Publication of CN116763089A publication Critical patent/CN116763089A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The embodiment of the application discloses a sofa-based emotion adjusting method, a sofa-based emotion adjusting device, electronic equipment and a storage medium, wherein the sofa comprises a pulse sensor, a skin conductance sensor and a temperature sensor; the method comprises the following steps: collecting pulse data of a first user through a pulse sensor, collecting skin electricity data of the first user through a skin conductance sensor, and collecting temperature data of the first user through a temperature sensor; determining whether the first user is in a target emotional state according to the pulse data, the skin electricity data and the temperature data; determining a second user corresponding to the identity information of the first user under the condition that the first user is determined to be in the target emotion state; the second user is a user with close relationship with the first user; playing first audio data matched with the sound characteristics of the second user; the first audio data is used to pacify the emotion of the first user. By implementing the embodiment of the application, the emotion of the user can be effectively regulated through the sofa, and the emotion state of the user can be improved.

Description

Emotion adjusting method and device based on sofa, electronic equipment and storage medium
Technical Field
The application relates to the technical field of intelligent home, in particular to a sofa-based emotion adjusting method and device, electronic equipment and a storage medium.
Background
The sofa is an important household furniture, can provide comfortable seats and backs for people, and can relax the mind and body on the sofa to enjoy leisure time. People often choose to sit or lie on a sofa to rest after working at tired days and returning to home. The existing sofa can have a massage function, so that discomfort and fatigue of a user are relieved. However, as people have increased in work and living pressure, emotion has become an important factor affecting the health of people. The current sofa cannot effectively recognize emotion and adjust the emotion of the user.
Disclosure of Invention
The embodiment of the application discloses a sofa-based emotion adjusting method, a sofa-based emotion adjusting device, electronic equipment and a storage medium, which can effectively adjust emotion of a user through a sofa so as to improve the emotion state of the user.
The embodiment of the application discloses a sofa-based emotion adjusting method, wherein the sofa comprises a pulse sensor, a skin conductance sensor and a temperature sensor; the method comprises the following steps:
Collecting pulse data of a first user through the pulse sensor, collecting skin electricity data of the first user through the skin conductance sensor, and collecting temperature data of the first user through the temperature sensor;
determining whether the first user is in a target emotional state according to the pulse data, the skin electricity data and the temperature data; the target emotional state includes at least one emotional state of a sad state, an anger state, an excited state, and a tension state;
determining a second user corresponding to the identity information of the first user under the condition that the first user is in the target emotional state; the second user is a user with close relationship with the first user;
playing first audio data matched with the sound characteristics of the second user; the first audio data is for pacifying an emotion of the first user.
In one embodiment, the sofa further comprises an audio acquisition device; the sofa is in communication connection with the mobile terminal of the first user; before said determining whether said first user is in a target emotional state based on said pulse data, said skin electrical data and said temperature data, said method further comprises:
Acquiring the call state of the mobile terminal;
if the call state of the mobile terminal indicates that the first user is in a call state, acquiring call voice data of the first user through the audio acquisition device;
according to the call voice data of the first user, determining the sound decibel and the speaking speed of the first user when the first user calls;
the determining whether the first user is in a target emotional state according to the pulse data, the skin electrical data and the temperature data comprises:
determining whether the first user is in a target emotional state based on the pulse data, the skin electrical data, the temperature data, the sound decibels, and the speaking speed.
In one embodiment, the sofa is communicatively coupled to virtual reality glasses; the method further comprises the steps of:
playing second audio data if it is determined that the first user is in the target emotional state; the second audio data is used for prompting the first user to wear the virtual reality glasses;
if the virtual reality glasses are detected to be in a worn state, determining a target virtual scene matched with the target emotion state;
And sending a control instruction to the virtual reality glasses so that the virtual reality glasses display the target virtual scene according to the control instruction.
In one embodiment, the sofa further comprises a plurality of pressure sensors and a plurality of music players, the plurality of music players are respectively arranged in a backrest area, a handrail area and a cushion area of the sofa; after the determining the target virtual scene matching the target emotional state, the method further comprises:
determining target music matched with the target virtual scene;
according to the pressure data respectively acquired by the pressure sensors, recognizing the gesture of the first user on the sofa;
and if the first user is in a sitting posture on the sofa, controlling a music player arranged in the backrest area and the armrest area to play the target music.
In one embodiment, after recognizing the first user's pose on the sofa, the method further comprises:
if the posture of the first user on the sofa is a lying posture, determining a head subarea and a leg subarea corresponding to the first user in the cushion area according to pressure data acquired by the pressure sensor corresponding to the cushion area, and controlling the music players respectively corresponding to the head subarea and the leg subarea to play the target music.
In one embodiment, the sofa further comprises a vibration device and an airbag; the method further comprises the steps of:
determining a massage intensity and a massage frequency corresponding to the target emotional state, if it is determined that the first user is in the target emotional state;
determining the inflation quantity corresponding to the air bag and the vibration intensity corresponding to the vibration device according to the massage intensity;
determining the inflation and deflation rate corresponding to the air bag and the vibration frequency corresponding to the vibration device according to the massage frequency;
controlling the air bag to perform inflation and deflation operations according to the inflation quantity and the inflation and deflation rate;
and controlling the vibration device to perform vibration massage operation according to the vibration intensity and the vibration frequency.
In one embodiment, the sofa further comprises a plurality of fragrance storage devices; the method further comprises the steps of:
acquiring fragrance preference information bound with the first user under the condition that the first user is determined to be in the target emotional state;
determining a target fragrance storage device from the plurality of fragrance storage devices according to the fragrance preference information;
acquiring the corresponding fragrance-expanding intensity, fragrance-expanding duration and diffusion range of the target fragrance storage device;
And controlling the target fragrance storage device to release fragrance according to the fragrance-expanding intensity, the fragrance-expanding duration and the diffusion range.
The embodiment of the application discloses a sofa-based emotion regulating device, which comprises a pulse sensor, a skin conductance sensor and a temperature sensor; the device comprises:
the data acquisition module is used for acquiring pulse data of a first user through the pulse sensor, acquiring skin electricity data of the first user through the skin conductance sensor and acquiring temperature data of the first user through the temperature sensor;
the emotion determining module is used for determining whether the first user is in a target emotion state according to the pulse data, the skin electricity data and the temperature data; the target emotional state includes at least one emotional state of a sad state, an anger state, an excited state, and a tension state;
a user determining module, configured to determine a second user corresponding to identity information of the first user when determining that the first user is in the target emotional state; the second user is a user with close relationship with the first user;
The audio playing module is used for playing first audio data matched with the sound characteristics of the second user; the first audio data is for pacifying an emotion of the first user.
The embodiment of the application discloses an electronic device, which comprises:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to perform the method of any of the embodiments described above.
An embodiment of the present application discloses a computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor, causes the processor to perform the method of any of the above embodiments.
According to the emotion regulating method, the emotion regulating device, the electronic equipment and the storage medium based on the sofa, which are disclosed by the embodiment of the application, pulse data of a first user are collected through a pulse sensor of the sofa, skin electricity data of the first user are collected through a skin conductance sensor of the sofa, and temperature data of the first user are collected through a temperature sensor of the sofa; determining whether the first user is in at least one target emotional state of a sad state, an angry state, an excited state, and a tension state based on the pulse data, the skin electrical data, and the temperature data; under the condition that the first user is in the target emotion state, determining a second user which corresponds to the identity information of the first user and has intimate relation with the first user; first audio data matching the sound features of the second user for pacifying the emotion of the first user is played.
According to the embodiment of the application, the sofa can accurately identify whether the first user is in the target emotion state according to the pulse data, the skin electricity data and the temperature data of the first user, and the second user with intimate relationship with the first user is determined under the condition that the first user is in the target emotion state, and the emotion of the first user is calmed by playing the first audio data matched with the sound characteristics of the second user, so that the emotion of the user can be effectively regulated through the sofa, and the emotion state of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly explain the drawings needed in the embodiments, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a sofa-based emotion adjustment method according to an embodiment of the present application;
FIG. 2 is a schematic view of a sofa according to an embodiment of the present application;
FIG. 3 is a flow chart of another sofa-based mood adjustment method in accordance with an embodiment of the present application;
FIG. 4 is a flow chart of another sofa-based mood adjustment method as disclosed in an embodiment of the present application;
fig. 5 is a schematic structural view of a sofa-based emotion adjustment device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that the terms "comprises" and "comprising," along with any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the application discloses a sofa-based emotion adjusting method, a sofa-based emotion adjusting device, electronic equipment and a storage medium, which can effectively adjust emotion of a user through a sofa so as to improve the emotion state of the user.
The following detailed description will be given with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic flow chart of a sofa-based emotion adjustment method according to an embodiment of the present application, which can be applied to a sofa; the sofa comprises a pulse sensor, a skin conductance sensor and a temperature sensor; as shown in fig. 1, the sofa-based emotion adjustment method may include the steps of:
101. pulse data of the first user is collected by a pulse sensor, skin electrical data of the first user is collected by a skin conductance sensor, and temperature data of the first user is collected by a temperature sensor.
Referring to fig. 2, fig. 2 is a schematic structural view of a sofa according to an embodiment of the present application; the sofa may include an armrest region 201, a backrest region 202, and a seat cushion region 203.
In some embodiments, the pulse sensor may be disposed in the armrest region 201 of the sofa. Since a user typically places his or her hand in the armrest region 201 while using the sofa, the pulse sensor may be used to collect pulse data from the user's wrist, fingers, etc.
Pulse sensors may include, but are not limited to, infrared pulse sensors, piezoelectric pulse sensors, and piezoresistive pulse sensors. The infrared pulse sensor can detect the change of the blood oxygen protein content in the blood of the wrist, finger and other hand parts of a user by utilizing infrared rays with specific wavelength, and obtains pulse signals synchronous with pulse beating after signal amplification and processing as pulse data. The piezoelectric pulse sensor can collect pulse beating pressure signals of the wrist, finger and other hand parts of a user through micro pressure sensing materials such as piezoelectric sheets and the like, convert the pressure signals into electric signals, and obtain pulse signals synchronous with the pulse beating after a signal method and processing, and the pulse signals are used as pulse data. The pulse data may be used to calculate the pulse rate of the user, monitor the pulse wave of the user, etc.
The pulse data may reflect an emotional state of the user; for example, if the pulse rate of the user is high, the user may be in tension, agitation and other states; if the pulse rate of the user is low, the user may be reflected in a relaxed, gentle, etc. state.
In some embodiments, skin conductance sensors may be provided at the armrest region 201 and/or the seat cushion region 203 of the sofa; the skin conductance sensor may be used to collect galvanic skin data of a user, which may include the resistance or conductance of the skin surface. When the emotion of the user changes, blood vessels in the skin of the user contract and relax due to the emotional stimulus, and meanwhile sweat gland secretion and the like of the user also change, so that the resistance or the conductance of the skin surface changes. Therefore, the skin electrical data collected by the skin conductance sensor can effectively reflect the emotion state of the user, for example, when the user is in a tension state, the conductivity of the human body can be increased, and the resistance value of the skin surface can be reduced; when the user is in a calm state, the skin of the human body is drier, and the resistance value of the skin surface is increased.
In some embodiments, the temperature sensor may be disposed at the back region 202 and/or the seat cushion region 203 of the sofa; the temperature sensor can be used for sensing the temperature change of the human body of the user; the temperature data collected by the temperature sensor can comprise a body temperature value of the user, and the temperature data can reflect the emotion state of the user; for example, if the user is in an excited state or a stressed state, the body temperature of the user may rise.
102. Determining whether the first user is in a target emotional state based on the pulse data, the skin electrical data, and the temperature data.
The target emotional state includes at least one of a sad state, an angry state, an excited state, and a tension state. It can be seen that if the first user is in the target emotional state, it indicates that the emotional state of the first user is not good, and the emotion needs to be calmed.
In some embodiments, the sofa may obtain a pulse rate threshold corresponding to pulse data, a resistance threshold corresponding to galvanic skin data, and a temperature threshold corresponding to temperature data; if the sofa determines that the pulse rate of the first user is greater than the pulse rate threshold according to the pulse data, determines that the resistance of the skin surface of the first user is less than the resistance threshold according to the skin electrical data, determines that the body temperature of the first user is greater than the temperature threshold according to the temperature data, then the first user can be determined to be in the target emotional state. For example, the pulse rate threshold may be 100 times/minute or 105 times/minute, the resistance threshold may be 1000 ohms or 900 ohms, and the temperature threshold may be 37.1 degrees celsius or 37.3 degrees celsius, which is not particularly limited.
In some embodiments, the sofa may normalize the pulse data, the skin electrical data, and the temperature data to obtain normalized pulse data, normalized skin electrical data, and normalized temperature data; and multiplying the normalized pulse data, the normalized skin electricity data and the normalized temperature data with the weights corresponding to the normalized pulse data, summing to obtain a comprehensive evaluation value, and determining whether the first user is in a target emotion state according to the comprehensive evaluation value. Alternatively, the normalization method may be a Min-max normalization method (Min-Max Normalization), and the calculation formula is as follows:
B i =(A i -A Min )/(A Max -A Min );
wherein, for pulse data, A i The ith pulse data acquired by the pulse sensor A Min For the minimum value, A, in a plurality of pulse data acquired by a pulse sensor Max B, maximum value in a plurality of pulse data acquired by the pulse sensor i Is the ith pulse data after normalization. The normalization processing for the skin electrical data and the temperature data can refer to the above steps, and detailed description is omitted.
Optionally, the weight corresponding to the normalized skin electric data may be a first weight, the weight corresponding to the normalized pulse data may be a second weight, and the weight corresponding to the normalized temperature data may be a third weight; wherein the first weight is greater than the second weight, and the second weight is greater than the third weight. Because the galvanic skin data is the most effective, most sensitive physiological parameter reflecting changes in the sympathetic tone of the human body, the first weight may be the largest; second, since the pulse data more effectively reflects the emotional change of the user than the temperature data, the second weight is greater than the third weight.
Through the steps, the sofa can improve the accuracy of determining whether the first user is in the target emotion state according to the pulse data, the skin electricity data and the temperature data, so that the emotion of the user can be pacified in time.
103. And determining a second user corresponding to the identity information of the first user under the condition that the first user is determined to be in the target emotion state.
The second user is a user having a relationship with the first user, and the relationship between the first user and the second user may include, but is not limited to, a relationship between children, a relationship between couples, lovers, friends, etc.
In some embodiments, the sofa may have stored therein, in advance, the identity information of the first user, the second user corresponding to the identity information of the first user, and the sound feature corresponding to the second user.
Optionally, the identity information may include information such as a name, a number, etc. of the first user; the first user can input the identity information and the corresponding second user to the touch panel of the sofa through touch screen operation, or the sofa can be in communication connection with the mobile terminal of the first user, and the first user can send the identity information and the corresponding second user to the sofa through the mobile terminal, so that the sofa stores the identity information of the first user and the second user corresponding to the identity information of the first user.
When the first user uses the sofa, identity information can be input into the sofa, so that the sofa can determine the identity information of the first user, and under the condition that the first user is determined to be in a target emotion state, a corresponding second user is determined according to the identity information of the first user, and the prestored sound characteristics of the second user are acquired.
In some embodiments, in order to pre-store the sound features of the second user, the sofa may include an audio collection device, and in the case that the second user reads the specific text, the sofa may collect voice sample data corresponding to the second user when reading the specific text through the audio collection device, extract the sound features of the second user from the voice sample data, and store the sound features of the second user. Optionally, the audio collection device may include one or more microphones, which may be used to collect voice sample data of the second user.
In some embodiments, methods of extracting sound features from speech sample data may include, but are not limited to, sound feature extraction methods based on mel-frequency cepstral coefficients (Mel Frequency Cepstrum Coefficients, MFCC), sound feature extraction methods based on linear predictive coding coefficients (Linear Predictive Coding Coefficients, LPCC), and the like.
The sound characteristic extraction method based on the Mel frequency cepstrum coefficient (Mel Frequency Cepstrum Coefficients, MFCC) is to input the voice sample data into a Mel filter to obtain the standard Mel cepstrum coefficient corresponding to the voice sample data as the sound characteristic of the second user; wherein the mel filter may comprise a plurality of triangular band pass filters; the mel-frequency cepstrum coefficient can be used for reflecting the frequency spectrum characteristics of the sound of the second user, wherein the frequency spectrum characteristics are the energy distribution conditions of the sound on different frequencies, and can be used for reflecting the sound characteristics of the tone, timbre, intensity and the like of the sound.
104. First audio data matching the sound characteristics of the second user is played.
The first audio data is used to pacify the emotion of the first user.
In some embodiments, the sofa may input the identity tag of the second user, the voice sample data of the second user, and the corresponding standard mel-frequency coefficients to the voice synthesis model to train the voice synthesis model; the speech synthesis model can calculate training loss by using the predicted mel-frequency coefficient and the standard mel-frequency coefficient of the speech synthesized by the speech synthesis model, and update the parameters of the model according to the training loss until the model converges, so as to obtain the trained speech synthesis model. Alternatively, the Speech synthesis model may be a Text-To-Speech (TTS) model based on a Text framework, which is not particularly limited.
The sofa may have a plurality of preset texts for pacifying emotion stored in advance, and the content of the preset texts may include cure articles, and may also include placebo words, such as "happy and little", "please breathe deeply", and the like, which are not limited in particular.
In some embodiments, after determining that the first user is in the target emotional state and determining the second user corresponding to the identity information of the first user, the sofa may select one or more preset texts from the plurality of preset texts as input texts to be synthesized by voice, and input the input texts to be synthesized by voice and the identity tag of the second user into a trained voice synthesis model, and synthesize first audio data having the voice characteristics of the second user and corresponding to the input texts to be synthesized by voice synthesis model; first audio data matching the sound characteristics of the second user is played.
According to the embodiment of the application, the sofa can accurately judge whether the first user is in the target emotion state according to the pulse data, the skin electricity data and the temperature data of the first user, and the second user with intimate relationship with the first user is determined under the condition that the first user is in the target emotion state, and the emotion of the first user is calmed by playing the first audio data matched with the sound characteristics of the second user, so that the emotion of the user can be effectively regulated through the sofa, and the emotion state of the user is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of another emotion adjustment method based on sofa according to an embodiment of the present application, which can be applied to sofa; the sofa comprises a pulse sensor, a skin conductance sensor and a temperature sensor; the sofa also comprises an audio acquisition device, and the sofa is in communication connection with the mobile terminal of the first user; as shown in fig. 3, the sofa-based emotion adjustment method may include the steps of:
301. pulse data of the first user is collected by a pulse sensor, skin electrical data of the first user is collected by a skin conductance sensor, and temperature data of the first user is collected by a temperature sensor.
The implementation of step 301 may refer to the above-mentioned embodiments, and will not be described in detail.
302. And acquiring the call state of the mobile terminal.
The sofa and the mobile terminal of the first user can be in communication connection through wireless communication modes such as Bluetooth, mobile cellular data network, wi-Fi (Wireless Fidelity ) and the like, and the sofa is not particularly limited.
For example, if the sofa is in communication connection with the mobile terminal of the first user in a bluetooth manner, the first user can actively pair the mobile terminal with the sofa in bluetooth when using the sofa; after the mobile terminal and the sofa are successfully matched with each other through Bluetooth, the sofa can send an inquiry instruction to the mobile terminal; the mobile terminal can determine an application programming interface (Application Programming Interface, API) corresponding to the call according to the query instruction, query the call state of the mobile terminal through the API corresponding to the call, and send the call state of the mobile terminal to the sofa.
303. If the call state of the mobile terminal indicates that the first user is in a call state, call voice data of the first user are acquired through the audio acquisition device.
Optionally, the call state may include an idle state and a call state; the idle state indicates that the user is in a state where no call is being made, and the call state indicates that the user is in a state where a call is being made.
The call voice data may be voice data of the first user when the first user calls through the mobile terminal, and is only used for determining sound decibels and speaking speeds, and is not used for determining call contents of the first user.
When the above embodiments of the present application are applied to specific products or technologies, subject permissions or agreements need to be obtained, and the collection, use and processing of relevant data need to comply with relevant laws and regulations and standards of the relevant countries and regions.
Therefore, the first user can authorize the following functions of the sofa through the mobile terminal, such as obtaining the call voice data of the first user through the audio acquisition device, determining the sound decibel and speaking speed of the first user when the first user is in call according to the call voice data of the first user, and the like. The sofa may only activate the above-described functionality if it is determined that the first user has authorized the functionality and that the user currently using the sofa is the first user.
Alternatively, the audio collection device may comprise one or more microphones, and the audio collection device may be configured to collect call voice data of the first user.
304. And determining the sound decibel and speaking speed of the first user when the first user is in communication according to the communication voice data of the first user.
In some embodiments, the audio acquisition device may further comprise a sound level meter; the sofa can convert the call voice data of the first user into an electric signal through the sound level meter, and amplify and process the electric signal to obtain the sound decibel of the first user when the first user calls. Thus, the sofa is provided with a sound level meter, which can measure the intensity of sound and express it as a decibel value.
In some embodiments, the manner in which the sofa determines the speaking speed of the first user when talking from the talking voice data of the first user may comprise the steps of: the sofa can determine the total syllable number corresponding to the talking voice data according to the talking voice data of the first user; dividing the total syllable number and the total seconds of the talking voice data to obtain the average syllable number of the talking voice data of the first user, and taking the average syllable number as the speaking speed of the first user when talking.
Thus, the speaking rate at the time of the first user call can be expressed by the average number of syllables, which is the number of syllables generated per second at the time of the first user call.
Optionally, the sofa may perform syllable division on the call voice data of the first user through an automatic voice recognition algorithm based on a hidden markov model, an automatic voice recognition algorithm based on deep learning, an automatic voice recognition algorithm based on a transcription dictionary, and other algorithms, so as to obtain the total number of syllables corresponding to the call voice data.
305. And determining whether the first user is in the target emotion state according to the pulse data, the skin electricity data, the temperature data, the sound decibels and the speaking speed.
The target emotional state includes at least one of a sad state, an angry state, an excited state, and a tension state.
The sound decibels and speaking speed may reflect the emotional state of the user to some extent. For example, if the user speaks in a higher decibel, it indicates that the user speaks loudly and the emotion is more excited; if the user speaks quickly, it means that the user is tense or excited, because the mood is flat and the speaking speed is slow. By introducing sound decibels and speaking speech rates to further determine whether the first user is in a target emotional state, the accuracy of determining the emotional state of the first user may be improved.
Thus, in some embodiments, the sofa may obtain a pulse rate threshold corresponding to pulse data, a resistance threshold corresponding to skin electrical data, a temperature threshold corresponding to temperature data, a decibel threshold corresponding to sound decibel, and a speech rate threshold corresponding to speech rate; if the sofa determines that the pulse rate of the first user is greater than the pulse rate threshold according to the pulse data, determines that the resistance of the skin surface of the first user is less than the resistance threshold according to the skin electrical data, determines that the body temperature of the first user is greater than the temperature threshold according to the temperature data, determines that the speaking decibel value of the first user when speaking is greater than the decibel threshold according to the sound decibel, and determines that the number of bytes generated per second when the first user is speaking is greater than the speaking speed threshold according to the speaking speed, the first user can be determined to be in a target emotional state.
Illustratively, the db threshold may be 60 or 70, and the speech rate threshold may be 5 or 6, which is not particularly limited.
In some embodiments, the sofa may normalize the pulse data, the skin electrical data, the temperature data, the sound decibels, and the speaking speed to obtain normalized pulse data, normalized skin electrical data, normalized temperature data, normalized sound decibels, and normalized speaking speed; and multiplying the normalized pulse data, the normalized skin electricity data, the normalized temperature data, the normalized sound decibel and the normalized speaking speed by the weights corresponding to the normalized pulse data, the normalized skin electricity data, the normalized sound decibel and the normalized speaking speed respectively, summing to obtain a comprehensive evaluation value, and determining whether the first user is in a target emotion state according to the comprehensive evaluation value. The normalization processing method may refer to the above embodiments, and is not described herein.
306. And determining a second user corresponding to the identity information of the first user under the condition that the first user is determined to be in the target emotion state.
The second user is a user having an affinity with the first user.
307. First audio data matching the sound characteristics of the second user is played.
The first audio data is used to pacify the emotion of the first user.
The implementation of steps 306 to 307 may refer to the above-mentioned embodiments, and detailed descriptions thereof are omitted.
In some embodiments, the sofa may further send a call instruction to the mobile terminal of the first user in the case that the first user is determined to be in the target emotional state, so that the mobile terminal performs call connection with the second user according to the call instruction. For example, if the first user is a child and the second user is a mother of the child, the sofa can let the child talk with the mother when detecting that the emotional state of the child is bad, so that the emotion of the child can be adjusted.
In the embodiment of the application, the sofa can be in communication connection with the mobile terminal of the first user, and the call state of the mobile terminal is obtained, and when the call state of the mobile terminal indicates that the first user is in a call state, the sound decibel and the speaking speed of the first user when the first user is in a call are determined according to the call voice data of the first user; according to pulse data, skin electricity data, temperature data, sound decibels and speaking speech rate, whether the first user is in a target emotion state or not is determined, the accuracy of determining whether the first user is in the target emotion state or not can be further improved, the emotion state of the first user can be accurately determined through a sofa, the misjudgment rate is reduced, the first user is connected with a mobile terminal, and the intelligent degree of the sofa is improved; and under the condition that the first user is in the target emotion state, determining a second user with intimate relationship with the first user, soothing the emotion of the first user by playing first audio data matched with the sound characteristics of the second user, and effectively adjusting the emotion of the user through a sofa so as to improve the emotion state of the user.
Referring further to fig. 4, fig. 4 is a schematic flow chart of another emotion adjustment method based on sofa according to an embodiment of the present application, which can be applied to a sofa; the sofa comprises a pulse sensor, a skin conductance sensor and a temperature sensor; the sofa also comprises a plurality of pressure sensors and a plurality of music players, wherein the music players are respectively arranged in a backrest area, a handrail area and a cushion area of the sofa; as shown in fig. 4, the sofa-based emotion adjustment method may include the steps of:
401. pulse data of the first user is collected by a pulse sensor, skin electrical data of the first user is collected by a skin conductance sensor, and temperature data of the first user is collected by a temperature sensor.
402. Determining whether the first user is in a target emotional state based on the pulse data, the skin electrical data, and the temperature data.
The target emotional state includes at least one of a sad state, an angry state, an excited state, and a tension state.
403. And determining a second user corresponding to the identity information of the first user under the condition that the first user is determined to be in the target emotion state.
The second user is a user having an affinity with the first user.
404. First audio data matching the sound characteristics of the second user is played.
The first audio data is used to pacify the emotion of the first user.
The implementation of steps 401 to 404 may refer to the above-mentioned embodiments, and detailed descriptions thereof are omitted.
405. And playing the second audio data in case that the first user is determined to be in the target emotional state.
The second audio data is used to prompt the first user to wear the virtual reality glasses, for example, the second audio data may include, but is not limited to, "please wear VR glasses", "please wear VR glasses, feel you feel physical examination happy", and the like, which is not limited in particular.
Virtual Reality glasses are a type of head-mounted device that provides a Virtual Reality (VR) experience through which a user may be immersed in a Virtual three-dimensional environment.
406. And if the virtual reality glasses are detected to be in the worn state, determining a target virtual scene matched with the target emotion state.
The sofa and the virtual reality glasses can be in communication connection through wireless communication modes such as Bluetooth, mobile cellular data network, wi-Fi (Wireless Fidelity ) and the like, and the sofa is not limited in detail.
In some embodiments, the sofa may determine that the virtual reality glasses are in a worn state upon receiving the worn information sent by the virtual reality glasses; the worn information may be generated by the virtual reality glasses if the distance between the virtual reality glasses and the face of the first user detected by the distance sensor is less than a distance threshold; the distance sensor may include, but is not limited to, an optical distance sensor, an infrared distance sensor, an ultrasonic distance sensor, or the like.
407. And sending a control instruction to the virtual reality glasses so that the virtual reality glasses display the target virtual scene according to the control instruction.
The control instruction is used for controlling the virtual reality glasses to display the target virtual scene. Optionally, the target virtual scene may include a pre-stored user-defined scene favored by the first user, for example, but not limited to, a mountain scene, a seaside scene, a forest scene, and the like.
408. And determining target music matched with the target virtual scene.
The sofa can pre-store the matching relation between the target virtual scene and the target music, for example, the target music matched with the seaside scene can be the music with wave sound; the target music matched with the forest scene can be music with animal sound and howling in jungle; alternatively, the target music matching the target virtual scene may be a relaxed, relaxed song, without limitation.
409. And recognizing the posture of the first user on the sofa according to the pressure data respectively acquired by the pressure sensors.
The sofa further includes a plurality of pressure sensors and a plurality of music players disposed in the armrest region 201, the backrest region 202 and the seat cushion region 203 of the sofa as shown in fig. 2, respectively.
The arrangement mode of the plurality of pressure sensors is not limited, and optionally, the number and arrangement mode of the plurality of pressure sensors can be determined according to the sizes of the backrest region and the cushion region, for example, the plurality of pressure sensors can be uniformly arranged in the backrest region and the cushion region at certain intervals; or, the number and the arrangement manner of the plurality of pressure sensors may be determined according to the number of persons that can be accommodated in the sofa, for example, if the sofa is a three-person sofa, the backrest area may be uniformly provided with 3 pressure sensors at a certain interval, and the cushion area may also be uniformly provided with 3 pressure sensors at a certain interval, which is not particularly limited.
The arrangement mode of the plurality of music players is not limited, and optionally, as the sofa generally comprises a left armrest area and a right armrest area, each armrest area can be provided with one music player; the number and the arrangement mode of the plurality of music players can be determined according to the number of the accommodatable persons of the sofa, for example, if the sofa is a three-person sofa, the backrest area can be uniformly provided with 3 music players at a certain interval, and the cushion area can also be uniformly provided with 3 music players at a certain interval, which is not particularly limited.
In some embodiments, the sofa recognizes a posture of the first user on the sofa based on pressure data acquired by the plurality of pressure sensors, respectively; for example, if the sofa is a three-person sofa, 3 pressure sensors are uniformly arranged in the cushion area and the backrest area respectively, and if only 1 pressure sensor detects pressure data larger than a pressure threshold value in the cushion area and the backrest area respectively, the posture of the first user on the sofa is a sitting posture; if the 3 pressure sensors in the cushion area detect pressure data which is larger than the pressure threshold value, the first user is in a lying posture.
In some embodiments, after recognizing the first user's pose on the sofa, the sofa further performs the following steps: if the posture of the first user on the sofa is lying, determining a head subarea and a leg subarea corresponding to the first user in the cushion area according to pressure data acquired by the pressure sensor corresponding to the cushion area, and controlling the music players respectively corresponding to the head subarea and the leg subarea to play target music.
The head subarea is a region corresponding to the head when the first user lies down on the cushion region of the sofa, and the range of the head subarea can be determined according to the pressure range corresponding to the head; the leg subareas are areas corresponding to the legs of the first user when lying down on the cushion area of the sofa, and the range of the leg subareas can be determined according to the pressure range corresponding to the legs.
The music player corresponding to the head subarea may be the music player closest to the head subarea, and the music player corresponding to the leg subarea may be the music player closest to the leg subarea; for example, if the cushion area is uniformly provided with 3 music players at a certain interval, the music player corresponding to the head sub-area may be the music player closest to the center of the head sub-area among the 3 music players.
In some embodiments, the sofa determines the pressure distribution condition of the cushion area according to the pressure data collected by the pressure sensor corresponding to the cushion area, and identifies the head subarea and the leg subarea corresponding to the first user in the cushion area according to the pressure distribution condition; for example, if the pressure distribution is a concentrated circular pressure range, the head sub-region can be determined; if the pressure distribution is a pressure range of two parallel long and thin regions, the leg sub-region can be determined.
Therefore, if the first user is in a lying posture, the music players corresponding to the head subarea and the leg subarea respectively are controlled to play target music, so that the target music can be transmitted in from the vicinity of the head and the vicinity of the leg of the first user, a stereophonic effect is created, the experience of the user is improved, the user can relax in an immersive manner, and the emotion of the user can be relieved.
410. If the first user is sitting on the sofa, controlling the music player arranged in the backrest area and the armrest area to play target music.
If the first user is sitting on the sofa, the music players arranged in the backrest area and the armrest area are controlled to play target music, so that the target music can be transmitted from the back and two sides of the first user, a stereophonic effect is created, the experience of the user is improved, the user can relax in an immersive manner, and the emotion of the user can be relieved.
In some embodiments, the sofa further comprises a vibration device and an airbag, the sofa further performing the steps of: determining a massage intensity and a massage frequency corresponding to the target emotional state, in the case that the first user is determined to be in the target emotional state; determining the corresponding inflation amount of the air bag and the corresponding vibration intensity of the vibration device according to the massage intensity; determining the inflation and deflation rate corresponding to the air bag and the vibration frequency corresponding to the vibration device according to the massage frequency; controlling the air bag to perform inflation and deflation operations according to the inflation quantity and the inflation and deflation speed; and controlling the vibration device to perform vibration massage operation according to the vibration intensity and the vibration frequency.
Optionally, the first user may store in advance the massage intensity and the massage frequency corresponding to the target emotional state; further alternatively, the intensity and frequency of the massage may be different for each target emotional state, for example, the intensity and frequency of the massage may be lower in a sad state and higher in an angry state.
The air bag can be inflated through the built-in air pump, after the air bag is inflated, the air bag can apply pressure on a specific body part, and the pressure applied by the air bag can be changed by changing the inflation amount of the air bag, so that massage actions such as extrusion, kneading and the like can be simulated;
the vibration device is driven by a built-in motor to generate mechanical vibration and transmit the vibration to a specific area of a human body, so that the massage effect is realized, and the massage device is beneficial to relaxing muscles, relieving fatigue and the like.
Alternatively, the massage intensity may include three intensities of high, medium and low, and the massage frequency may include three frequencies of high, medium and low; the sofa determines the air inflation amount corresponding to the air bag and the vibration intensity corresponding to the vibration device according to the massage intensity, for example, if the massage intensity is high, the air inflation amount corresponding to the air bag is also high, and the vibration intensity corresponding to the vibration device is also high; the sofa determines the inflation and deflation rate corresponding to the air bag and the vibration frequency corresponding to the vibration device according to the massage frequency, if the massage frequency is high, the inflation and deflation rate corresponding to the air bag is high, and the vibration frequency corresponding to the vibration device is also high.
Therefore, the sofa controls the air bag to perform inflation and deflation operations according to the inflation amount and inflation and deflation rate, and controls the vibration device to perform vibration massage operations according to the vibration intensity and the vibration frequency, so that the first user can be massaged and the emotion of the first user can be relaxed under the condition that the first user is in the target emotion state.
In some embodiments, the sofa further comprises a plurality of fragrance storage devices; the sofa also performs the following steps: acquiring fragrance preference information bound with the first user under the condition that the first user is determined to be in a target emotional state; determining a target fragrance storage device from the plurality of fragrance storage devices according to the fragrance preference information; acquiring the corresponding fragrance-expanding intensity, fragrance-expanding duration and diffusion range of the target fragrance storage device; and controlling the target fragrance storage device to release fragrance according to the fragrance-expanding intensity, the fragrance-expanding duration and the diffusion range.
The first user can store the fragrance preference information in the sofa in advance, when the sofa is used, the identity information of the first user can be input into the sofa, and under the condition that the first user is determined to be in a target emotion state, the sofa can acquire the fragrance preference information bound with the first user according to the identity information of the first user; the sofa may store the fragrance identifications stored in the respective fragrance storage devices in advance, and the fragrance identifications may include lavender, herba Xanthii, blue aeolian bells, etc., for example, the fragrance preference information bound to the first user is lavender, and the sofa determines a fragrance storage device whose fragrance identification is lavender from the plurality of fragrance storage devices as a target fragrance storage device.
The fragrance expansion intensity, the fragrance expansion duration and the diffusion range corresponding to the target fragrance storage device acquired by the sofa can be user-defined parameters corresponding to the target fragrance storage device stored in advance by a first user; or may be default parameters for the sofa settings.
In some embodiments, the sofa may perform the following steps before acquiring the corresponding fragrance intensity, fragrance duration, and range of diffusion of the target fragrance storage device: acquiring ambient humidity and ambient temperature; determining the corresponding fragrance-expanding intensity of the target fragrance storage device according to the ambient humidity; determining a diffusion range corresponding to the target fragrance storage device according to the ambient temperature; wherein, the higher the ambient humidity is, the smaller the corresponding fragrance-expanding intensity of the target fragrance storage device is; the greater the ambient temperature, the smaller the diffusion range corresponding to the target fragrance storage device.
The ambient humidity and the ambient temperature can be obtained by acquiring the sofa through a built-in thermometer and a hygrometer; or, the sofa may receive the data sent by the mobile terminal.
Because the greater the ambient humidity, the more moisture content in the air, the more saturated the air, and the possibly slow down the diffusion rate of the fragrance molecules in the air, so that the fragrance is concentrated in a smaller range, therefore, the more the ambient humidity is, the smaller the fragrance-expanding intensity of the target fragrance storage device can be, and the too strong fragrance can be prevented.
The higher the ambient temperature, the faster the molecular random movement and thus the fragrance diffusion speed, and thus the greater the ambient temperature, the smaller the diffusion range set by the target fragrance storage device can be, and the fragrance can be prevented from diffusing too fast.
Therefore, by executing the steps, the sofa can provide diversified fragrance choices, so that the user can obtain corresponding fragrance experience in bad emotional states; the user can set the corresponding fragrance according to the preference and the demand of the user, so as to create a more comfortable and pleasant environment and help to relieve emotion.
In some embodiments, the sofa bottom may be provided with pulleys; the sofa may also perform the following steps: acquiring position data of a sofa and position data of a television under the condition that the first user is in a target emotion state; the sofa is controlled to slide to a position with a preset distance from the television by the pulley according to the position data of the sofa and the position data of the television; and sending a control instruction to the television, so that the television can control the television to start and play the entertainment program according to the control instruction.
Alternatively, the sofa may acquire the position data of the sofa through GPS positioning, and receive the position data of the television, where the position data of the television may be determined by the television through GPS positioning.
The preset distance may be a suitable distance capable of maintaining eyesight when watching the television, for example, 2 meters or 3 meters, which is not particularly limited.
Therefore, by executing the steps, the sofa can automatically move the sofa for a proper distance in front of the television without manual operation of a user, the intelligent degree of the sofa for emotion adjustment and the health care level of the user are improved, and meanwhile, the television is controlled to play entertainment programs, so that the emotion of the user is relieved.
In the embodiment of the application, under the condition that the first user is in the target emotion state, playing first audio data matched with the sound characteristics of the second user and playing second audio data for prompting the first user to wear the virtual reality glasses; under the condition that the virtual reality glasses are detected to be in a worn state, controlling the virtual reality glasses to display a target virtual scene according to the control instruction; determining target music matched with the target virtual scene; according to the pressure data respectively collected by the pressure sensors, the gesture of the first user on the sofa is recognized, the music players corresponding to different areas of the sofa are controlled to play target music according to the gesture on the sofa, the experience of the user on vision and hearing is improved, the emotion of the user can be effectively regulated visually and hearing, and accordingly the emotion state of the user is improved.
Fig. 5 is a schematic structural view of a sofa-based emotion regulating device according to an embodiment of the present application, wherein the sofa includes a pulse sensor, a skin conductance sensor, and a temperature sensor; the sofa-based mood adjustment device 500 includes: a data acquisition module 510, an emotion determination module 520, a user determination module 530, and an audio playback module 540;
the data acquisition module 510 is configured to acquire pulse data of the first user through a pulse sensor, acquire galvanic skin data of the first user through a skin conductance sensor, and acquire temperature data of the first user through a temperature sensor;
an emotion determination module 520 for determining whether the first user is in a target emotional state according to the pulse data, the skin electricity data, and the temperature data; the target emotional state includes at least one of a sad state, an angry state, an excited state, and a tension state;
a user determining module 530, configured to determine a second user corresponding to the identity information of the first user, in the case where the first user is determined to be in the target emotional state; the second user is a user with close relationship with the first user;
an audio playing module 540 for playing the first audio data matched with the sound feature of the second user; the first audio data is used to pacify the emotion of the first user.
In some embodiments, the sofa further comprises an audio acquisition device; the sofa is in communication connection with the mobile terminal of the first user; the sofa-based mood adjustment device 500 further includes: a call module;
the call module is configured to obtain a call state of the mobile terminal before the emotion determining module 520 determines whether the first user is in the target emotion state according to the pulse data, the skin electricity data and the temperature data; if the call state of the mobile terminal indicates that the first user is in a call state, acquiring call voice data of the first user through the audio acquisition device; according to the call voice data of the first user, determining the sound decibel and the speaking speed of the first user when the first user calls;
the emotion determination module 520 is further configured to determine whether the first user is in a target emotional state according to pulse data, skin electrical data, temperature data, sound decibels, and speaking speed.
In one embodiment, the sofa is communicatively coupled to virtual reality glasses, and the sofa-based mood adjustment device 500 further comprises: a virtual reality module;
the virtual reality module is used for playing the second audio data under the condition that the first user is determined to be in the target emotion state; the second audio data is used for prompting the first user to wear the virtual reality glasses; if the virtual reality glasses are detected to be in the worn state, determining a target virtual scene matched with the target emotion state; and sending a control instruction to the virtual reality glasses so that the virtual reality glasses display the target virtual scene according to the control instruction.
In one embodiment, the sofa-based mood adjustment device 500 further includes: a music playing module;
the music playing module is used for determining target music matched with the target virtual scene after the virtual reality module determines the target virtual scene matched with the target emotion state; according to pressure data acquired by the pressure sensors, recognizing the gesture of the first user on the sofa; if the first user is sitting on the sofa, controlling the music player arranged in the backrest area and the armrest area to play target music.
In one embodiment, the music playing module is further configured to determine, according to pressure data collected by the pressure sensor corresponding to the cushion area, a head sub-area and a leg sub-area corresponding to the cushion area of the first user if the first user is in a lying posture on the sofa, and control the music players corresponding to the head sub-area and the leg sub-area respectively to play the target music.
In one embodiment, the sofa further comprises a vibration device and an airbag; the sofa-based mood adjustment device 500 further includes: a massage module;
a massage module for determining a massage intensity and a massage frequency corresponding to a target emotional state in the case that it is determined that the first user is in the target emotional state; determining the corresponding inflation amount of the air bag and the corresponding vibration intensity of the vibration device according to the massage intensity; determining the inflation and deflation rate corresponding to the air bag and the vibration frequency corresponding to the vibration device according to the massage frequency; controlling the air bag to perform inflation and deflation operations according to the inflation quantity and the inflation and deflation speed; and controlling the vibration device to perform vibration massage operation according to the vibration intensity and the vibration frequency.
In one embodiment, the sofa further comprises a plurality of fragrance storage devices; the sofa-based mood adjustment device 500 further includes: a fragrance module;
the fragrance module is used for acquiring fragrance preference information bound with the first user under the condition that the first user is determined to be in a target emotion state; determining a target fragrance storage device from the plurality of fragrance storage devices according to the fragrance preference information; acquiring the corresponding fragrance-expanding intensity, fragrance-expanding duration and diffusion range of the target fragrance storage device; and controlling the target fragrance storage device to release fragrance according to the fragrance-expanding intensity, the fragrance-expanding duration and the diffusion range.
In one embodiment, the sofa bottom may be provided with pulleys; the sofa-based mood adjustment device 500 further includes: a sliding module;
the sliding module is used for acquiring the position data of the sofa and the position data of the television under the condition that the first user is determined to be in the target emotion state; the sofa is controlled to slide to a position with a preset distance from the television by the pulley according to the position data of the sofa and the position data of the television; and sending a control instruction to the television, so that the television can control the television to start and play the entertainment program according to the control instruction.
According to the emotion regulating method, the emotion regulating device, the electronic equipment and the storage medium based on the sofa, which are disclosed by the embodiment of the application, pulse data of a first user are collected through a pulse sensor of the sofa, skin electricity data of the first user are collected through a skin conductance sensor of the sofa, and temperature data of the first user are collected through a temperature sensor of the sofa; determining whether the first user is in at least one target emotional state of a sad state, an angry state, an excited state, and a tension state based on the pulse data, the skin electrical data, and the temperature data; under the condition that the first user is in the target emotion state, determining a second user which corresponds to the identity information of the first user and has intimate relation with the first user; first audio data matching the sound features of the second user for pacifying the emotion of the first user is played.
According to the embodiment of the application, the sofa can accurately judge whether the first user is in the target emotion state according to the pulse data, the skin electricity data and the temperature data of the first user, and the second user with intimate relationship with the first user is determined under the condition that the first user is in the target emotion state, and the emotion of the first user is calmed by playing the first audio data matched with the sound characteristics of the second user, so that the emotion of the user can be effectively regulated through the sofa, and the emotion state of the user is improved.
As shown in fig. 6, in one embodiment, an electronic device is provided, which may include:
a memory 610 storing executable program code;
a processor 620 coupled to the memory 610;
processor 620 invokes executable program code stored in memory 610 to implement the sofa-based mood adjustment method as provided in the various embodiments described above.
The Memory 610 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (ROM). Memory 610 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 610 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 the various method embodiments described above, and the like. The storage data area may also store data created by the electronic device in use, etc.
Processor 620 may include one or more processing cores. The processor 620 utilizes various interfaces and lines to connect various portions of the overall electronic device, perform various functions of the electronic device, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 610, and invoking data stored in the memory 610. Alternatively, the processor 620 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 620 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 620 and may be implemented solely by a single communication chip.
It will be appreciated that the electronic device may include more or fewer structural elements than those described in the above structural block diagrams, including, for example, a power module, physical key, wiFi (Wireless Fidelity ) module, speaker, bluetooth module, sensor, etc., and may not be limited herein.
The embodiments of the present application disclose a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the method described in the above embodiments.
Furthermore, embodiments of the present application further disclose a computer program product that, when run on a computer, enables the computer to perform all or part of the steps of any of the sofa-based mood adjustment methods described in the above embodiments.
According to the emotion regulating method, the emotion regulating device, the electronic equipment and the storage medium based on the sofa, which are disclosed by the embodiment of the application, pulse data of a first user are collected through a pulse sensor of the sofa, skin electricity data of the first user are collected through a skin conductance sensor of the sofa, and temperature data of the first user are collected through a temperature sensor of the sofa; determining whether the first user is in at least one target emotional state of a sad state, an angry state, an excited state, and a tension state based on the pulse data, the skin electrical data, and the temperature data; under the condition that the first user is in the target emotion state, determining a second user which corresponds to the identity information of the first user and has intimate relation with the first user; first audio data matching the sound features of the second user for pacifying the emotion of the first user is played.
According to the embodiment of the application, the sofa can accurately judge whether the first user is in the target emotion state according to the pulse data, the skin electricity data and the temperature data of the first user, and the second user with intimate relationship with the first user is determined under the condition that the first user is in the target emotion state, and the emotion of the first user is calmed by playing the first audio data matched with the sound characteristics of the second user, so that the emotion of the user can be effectively regulated through the sofa, and the emotion state of the user is improved.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the above embodiments may be implemented by a program that instructs associated hardware, the program may be stored in a computer readable storage medium including Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disk Memory, magnetic disk Memory, tape Memory, or any other medium that can be used for carrying or storing data that is readable by a computer.
The foregoing describes in detail a sofa-based emotion adjustment method, apparatus, electronic device and storage medium, and specific examples are applied to illustrate the principles and embodiments of the present application, and the above description of the embodiments is only for helping to understand the method and core idea of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. A sofa-based emotion adjustment method, which is characterized in that the sofa comprises a pulse sensor, a skin conductance sensor and a temperature sensor; the method comprises the following steps:
collecting pulse data of a first user through the pulse sensor, collecting skin electricity data of the first user through the skin conductance sensor, and collecting temperature data of the first user through the temperature sensor;
determining whether the first user is in a target emotional state according to the pulse data, the skin electricity data and the temperature data; the target emotional state includes at least one emotional state of a sad state, an anger state, an excited state, and a tension state;
Determining a second user corresponding to the identity information of the first user under the condition that the first user is in the target emotional state; the second user is a user with close relationship with the first user;
playing first audio data matched with the sound characteristics of the second user; the first audio data is for pacifying an emotion of the first user.
2. The method of claim 1, wherein the sofa further comprises an audio acquisition device; the sofa is in communication connection with the mobile terminal of the first user; before said determining whether said first user is in a target emotional state based on said pulse data, said skin electrical data and said temperature data, said method further comprises:
acquiring the call state of the mobile terminal;
if the call state of the mobile terminal indicates that the first user is in a call state, acquiring call voice data of the first user through the audio acquisition device;
according to the call voice data of the first user, determining the sound decibel and the speaking speed of the first user when the first user calls;
the determining whether the first user is in a target emotional state according to the pulse data, the skin electrical data and the temperature data comprises:
Determining whether the first user is in a target emotional state based on the pulse data, the skin electrical data, the temperature data, the sound decibels, and the speaking speed.
3. The method of claim 1, wherein the sofa is communicatively coupled to virtual reality glasses; the method further comprises the steps of:
playing second audio data if it is determined that the first user is in the target emotional state; the second audio data is used for prompting the first user to wear the virtual reality glasses;
if the virtual reality glasses are detected to be in a worn state, determining a target virtual scene matched with the target emotion state;
and sending a control instruction to the virtual reality glasses so that the virtual reality glasses display the target virtual scene according to the control instruction.
4. The method of claim 3, wherein the sofa further comprises a plurality of pressure sensors and a plurality of music players disposed in a back area, a armrest area, and a seat cushion area of the sofa, respectively; after the determining the target virtual scene matching the target emotional state, the method further comprises:
Determining target music matched with the target virtual scene;
according to the pressure data respectively acquired by the pressure sensors, recognizing the gesture of the first user on the sofa;
and if the first user is in a sitting posture on the sofa, controlling a music player arranged in the backrest area and the armrest area to play the target music.
5. The method of claim 4, wherein after recognizing the first user's pose on the sofa, the method further comprises:
if the posture of the first user on the sofa is a lying posture, determining a head subarea and a leg subarea corresponding to the first user in the cushion area according to pressure data acquired by the pressure sensor corresponding to the cushion area, and controlling the music players respectively corresponding to the head subarea and the leg subarea to play the target music.
6. The method of claim 1, wherein the sofa further comprises a vibrating device and an airbag; the method further comprises the steps of:
determining a massage intensity and a massage frequency corresponding to the target emotional state, if it is determined that the first user is in the target emotional state;
Determining the inflation quantity corresponding to the air bag and the vibration intensity corresponding to the vibration device according to the massage intensity;
determining the inflation and deflation rate corresponding to the air bag and the vibration frequency corresponding to the vibration device according to the massage frequency;
controlling the air bag to perform inflation and deflation operations according to the inflation quantity and the inflation and deflation rate;
and controlling the vibration device to perform vibration massage operation according to the vibration intensity and the vibration frequency.
7. The method of any one of claims 1-6, wherein the sofa further comprises a plurality of fragrance storage devices; the method further comprises the steps of:
acquiring fragrance preference information bound with the first user under the condition that the first user is determined to be in the target emotional state;
determining a target fragrance storage device from the plurality of fragrance storage devices according to the fragrance preference information;
acquiring the corresponding fragrance-expanding intensity, fragrance-expanding duration and diffusion range of the target fragrance storage device;
and controlling the target fragrance storage device to release fragrance according to the fragrance-expanding intensity, the fragrance-expanding duration and the diffusion range.
8. A sofa-based emotion regulating device, which is characterized by comprising a pulse sensor, a skin conductance sensor and a temperature sensor; the device comprises:
The data acquisition module is used for acquiring pulse data of a first user through the pulse sensor, acquiring skin electricity data of the first user through the skin conductance sensor and acquiring temperature data of the first user through the temperature sensor;
the emotion determining module is used for determining whether the first user is in a target emotion state according to the pulse data, the skin electricity data and the temperature data; the target emotional state includes at least one emotional state of a sad state, an anger state, an excited state, and a tension state;
a user determining module, configured to determine a second user corresponding to identity information of the first user when determining that the first user is in the target emotional state; the second user is a user with close relationship with the first user;
the audio playing module is used for playing first audio data matched with the sound characteristics of the second user; the first audio data is for pacifying an emotion of the first user.
9. An electronic device, comprising:
a memory storing executable program code;
a processor coupled to the memory;
The processor invokes the executable program code stored in the memory to perform the method of any one of claims 1 to 7.
10. A computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor, causes the processor to perform the method of any one of claims 1 to 7.
CN202310749980.4A 2023-06-21 2023-06-21 Emotion adjusting method and device based on sofa, electronic equipment and storage medium Pending CN116763089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310749980.4A CN116763089A (en) 2023-06-21 2023-06-21 Emotion adjusting method and device based on sofa, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310749980.4A CN116763089A (en) 2023-06-21 2023-06-21 Emotion adjusting method and device based on sofa, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116763089A true CN116763089A (en) 2023-09-19

Family

ID=87985510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310749980.4A Pending CN116763089A (en) 2023-06-21 2023-06-21 Emotion adjusting method and device based on sofa, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116763089A (en)

Similar Documents

Publication Publication Date Title
CN110753957B (en) Haptic communication system using skin actuators to simulate continuous human touch
CN106992013B (en) Speech emotion modification
CN107053186B (en) Dialogue device, robot, dialogue method, and storage medium
AU2004202501B2 (en) Control apparatus and control method
US11205408B2 (en) Method and system for musical communication
CN109887485A (en) The technology responded to language is synthesized using speech
JP2004310034A (en) Interactive agent system
US20020042713A1 (en) Toy having speech recognition function and two-way conversation for dialogue partner
KR101598955B1 (en) Speech therapy game device and game method
CN115813146A (en) Intelligent body sensing sound wave physiotherapy mattress and use method thereof
JP3164346B2 (en) Voice Recognition Interactive Doll Toy
CN113949956B (en) Noise reduction processing method and device, electronic equipment, earphone and storage medium
JP2009178783A (en) Communication robot and its control method
CN116763089A (en) Emotion adjusting method and device based on sofa, electronic equipment and storage medium
CN111182879A (en) Use of infant-enabled audio players
JP6783469B2 (en) Response interface and dialogue training system
JP7254345B2 (en) Information processing device and program
KR102673977B1 (en) A device that acts on at least part of the body
CN114694635A (en) Sleep scene setting method and device
JP2020160598A (en) Information processing apparatus, control system, and control method of information processing apparatus
JP2020056935A (en) Controller for robot, robot, control method for robot, and program
CN116782418A (en) Audio output method and device suitable for massage armchair, massage armchair and storage medium
WO2022244298A1 (en) Information processing device, information processing method, and program
JP2018007723A (en) Swallowing information presentation device
JP2021173868A (en) Voice output system, environment control system and voice output method

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