CN112244829A - Emotion state based alarm method and device and computer equipment - Google Patents

Emotion state based alarm method and device and computer equipment Download PDF

Info

Publication number
CN112244829A
CN112244829A CN202011140279.5A CN202011140279A CN112244829A CN 112244829 A CN112244829 A CN 112244829A CN 202011140279 A CN202011140279 A CN 202011140279A CN 112244829 A CN112244829 A CN 112244829A
Authority
CN
China
Prior art keywords
user
pulse
alarm
preset
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
CN202011140279.5A
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.)
Shenzhen Water World Co Ltd
Original Assignee
Shenzhen Water World Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Water World Co Ltd filed Critical Shenzhen Water World Co Ltd
Priority to CN202011140279.5A priority Critical patent/CN112244829A/en
Publication of CN112244829A publication Critical patent/CN112244829A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/16Devices for psychotechnics; Testing reaction times ; Devices for evaluating the psychological state
    • A61B5/165Evaluating the state of mind, e.g. depression, anxiety
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/74Details of notification to user or communication with user or patient ; user input means
    • A61B5/746Alarms related to a physiological condition, e.g. details of setting alarm thresholds or avoiding false alarms
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • A61M2021/0005Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
    • A61M2021/0027Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus by the hearing sense
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • A61M2021/0005Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
    • A61M2021/0044Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus by the sight sense
    • A61M2021/005Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus by the sight sense images, e.g. video

Abstract

The application provides an alarming method, an alarming device and computer equipment based on emotional states. And if the system monitors that the emotional state of the user triggers an alarm condition, acquiring an alarm level and automatically executing an alarm action corresponding to the alarm level. The system automatically executes the alarm action to enable the user to be aware that the current emotion of the user is in an unfavorable state, and the emotion of the user is adjusted correspondingly in time under the assistance of the alarm action, so that the user is separated from the unfavorable emotion state, and the psychological and physical health of the user is guaranteed.

Description

Emotion state based alarm method and device and computer equipment
Technical Field
The application relates to the technical field of emotion monitoring, in particular to an alarm method and device based on emotional states and computer equipment.
Background
The generation of emotion affects various aspects of life of people, for example, people may cause pale complexion, purple lips and cold hands and feet when becoming angry, and then the immunity is low and the viscera are diseased; in severe cases, cerebral hemorrhage, heart disease and myocardial infarction may also occur. Therefore, the healthy body and the healthy emotion of the human body are closely related. The existing scientific research shows that whether the emotion is positive or negative, the health is adversely affected if a person cannot pull out himself in a certain emotion for a long time. Therefore, how to help people to realize their own emotions in time and adjust the emotions accordingly is particularly important for the health of people. In the existing market, no related intelligent product can assist people to adjust self emotion in time.
Disclosure of Invention
The application mainly aims to provide an alarming method and device based on emotional states and computer equipment, and aims to overcome the defect that no intelligent product in the existing market can assist people to adjust self emotions in time.
In order to achieve the above object, the present application provides an alert method based on emotional state, which is characterized by comprising:
acquiring physiological data of a user;
monitoring whether the emotional state of the user triggers an alarm condition according to the physiological data;
and if the emotional state of the user triggers an alarm condition, acquiring an alarm level and executing an alarm action corresponding to the alarm level.
Further, the physiological data includes pulse signals, and the step of acquiring the physiological data of the user includes:
acquiring a pulse signal of the user through a pulse detection module;
and generating a pulse oscillogram according to the pulse signals and the acquisition time corresponding to the pulse signals.
Further, the step of monitoring whether the emotional state of the user triggers an alert condition based on the physiological data includes:
judging whether the pulse of the user is in a continuously rising or continuously falling state according to the pulse oscillogram;
if the pulse of the user is in a continuously ascending or continuously descending state, monitoring whether the duration time of the pulse of the user in the ascending or descending state is less than a first threshold value;
and if the duration of the pulse of the user in the ascending or descending state is not less than a first threshold value, judging that the emotional state of the user triggers an alarm condition.
Further, the step of obtaining the alarm level and executing the alarm action corresponding to the alarm level includes:
monitoring the duration in real time;
when the duration time is not less than the first threshold and less than a second threshold, determining that the alarm level is a first level, and playing a preset audio, wherein the first threshold is less than the second threshold;
when the duration time is not less than the second threshold and less than a third threshold, judging that the alarm level is a second level, generating a periodic emotional state statistical table according to the physiological data, and sending the periodic emotional state statistical table to a preset terminal at a preset time, wherein the second threshold is less than the third threshold;
and when the duration time is not less than the third threshold value, judging that the alarm grade is a third grade, and sending a prompt message to the preset terminal.
Further, after the step of sending the prompt message to the preset terminal, the method includes:
judging whether feedback information of the preset terminal is received or not after a first preset time length sent by the prompt information is sent;
and if the feedback information of the preset terminal is not received after the first preset time length sent by the prompt information, the prompt information is sent again after the sending frequency of the prompt information is increased.
Further, after the step of increasing the sending frequency of the prompt message, the method includes:
judging whether to receive feedback information of the preset terminal after a second preset duration after the sending frequency is increased;
and if the feedback information of the preset terminal is not received after the second preset duration after the sending frequency is increased, increasing the acquisition frequency of the physiological data.
Further, the preset audio includes different types of music files, and the step of playing the preset audio includes:
analyzing the change trend of the pulse oscillogram to obtain the emotion change trend of the user;
and loading and playing the music files of the corresponding types according to the emotion change trend.
The application also provides an alarm device based on emotional state, includes:
the acquisition module is used for acquiring physiological data of a user;
the monitoring module is used for monitoring whether the emotional state of the user triggers an alarm condition according to the physiological data;
and the execution module is used for acquiring an alarm level if the emotional state of the user triggers an alarm condition, and executing an alarm action corresponding to the alarm level.
Further, the physiological data includes pulse signals, and the acquiring module includes:
the acquisition unit is used for acquiring the pulse signals of the user through the pulse detection module;
and the first generation unit is used for generating a pulse oscillogram according to the pulse signals and the acquisition time corresponding to the pulse signals.
Further, the monitoring module includes:
the first judgment unit is used for judging whether the pulse of the user is in a continuous rising state or a continuous falling state according to the pulse oscillogram;
the first monitoring unit is used for monitoring whether the duration time of the pulse of the user in the rising or falling state is less than a first threshold value or not if the pulse of the user is in the continuously rising or continuously falling state;
the first judging unit is used for judging that the emotional state of the user triggers an alarm condition if the duration of the pulse of the user in the ascending or descending state is not less than a first threshold value.
Further, the execution module includes:
the second monitoring unit is used for monitoring the duration in real time;
the playing unit is used for judging that the alarm level is a first level and playing preset audio when the duration time is not less than the first threshold and less than a second threshold, wherein the first threshold is less than the second threshold;
the second generation unit is used for judging that the alarm level is a second level when the duration time is not less than the second threshold and less than a third threshold, generating a periodic emotional state statistical table according to the physiological data, and sending the periodic emotional state statistical table to a preset terminal at preset time, wherein the second threshold is less than the third threshold;
and the sending unit is used for judging that the alarm grade is a third grade when the duration time is not less than the third threshold value, and sending prompt information to the preset terminal.
Further, the execution module further includes:
the second judging unit is used for judging whether feedback information of the preset terminal is received or not after the first preset duration sent by the prompt information is sent;
and the first changing unit is used for increasing the sending frequency of the prompt message and then resending the prompt message if the feedback message of the preset terminal is not received after the first preset duration sent by the prompt message.
Further, the execution module further includes:
a third judging unit, configured to judge whether to receive feedback information of the preset terminal after a second preset duration after the sending frequency is increased;
and the second changing unit is used for increasing the acquisition frequency of the physiological data if the feedback information of the preset terminal is not received after a second preset duration after the transmission frequency is increased.
Further, the preset audio includes different types of music files, and the playing unit includes:
the analysis subunit is used for analyzing the change trend of the pulse oscillogram to obtain the emotion change trend of the user;
and the playing subunit is used for loading and playing the music files of the corresponding types according to the emotion change trend.
The present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of any of the above.
According to the alarm method, the alarm device and the computer equipment based on the emotional state, a system firstly obtains physiological data of a user, and then monitors whether the emotional state of the user triggers an alarm condition or not according to the physiological data. And if the system monitors that the emotional state of the user triggers an alarm condition, acquiring an alarm level and automatically executing an alarm action corresponding to the alarm level. The system automatically executes the alarm action to enable the user to be aware that the current emotion of the user is in an unfavorable state, and the emotion of the user is adjusted correspondingly in time under the assistance of the alarm action, so that the user is separated from the unfavorable emotion state, and the psychological and physical health of the user is guaranteed.
Drawings
FIG. 1 is a schematic diagram of the steps of an alert method based on emotional states in an embodiment of the present application;
FIG. 2 is a block diagram of an overall structure of an alarm device based on emotional states according to an embodiment of the present application;
fig. 3 is a block diagram schematically illustrating a structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, an embodiment of the present application provides an alert method based on an emotional state, including:
s1, acquiring physiological data of the user;
s2, monitoring whether the emotional state of the user triggers an alarm condition according to the physiological data;
and S3, if the emotional state of the user triggers an alarm condition, acquiring an alarm level and executing an alarm action corresponding to the alarm level.
In this embodiment, the alarm method is preferably applied to wearable devices, such as a smart watch and a smart bracelet, where the wearable devices are deployed with a communication module, a processing module, and various physiological parameter detection modules, such as a heart rate detection module, a skin point detection module, and a pulse detection module. When the user wears the wearable equipment, the wearable equipment has close contact with the user's body surface to make all kinds of physiological parameter detection modules on the wearable equipment can acquire all kinds of physiological parameters of the user through contact mode or optical detection mode, for example heart rate detection module can monitor the heart rate data of the user through the optical detection mode, and body temperature detection module can monitor the temperature data of the user through the contact mode. The wearable device collects physiological data of a user through the physiological parameter detection module, and then groups the physiological data according to respective corresponding types (for example, body temperature data is a group, and heart rate data is a group), and the physiological data of each group takes a collection time point as a horizontal axis and a value of the physiological data as a vertical axis to establish a respective corresponding physiological data oscillogram. In the physiological data oscillogram, the slope of the connecting line between two adjacent time points, namely the change amplitude (the larger the slope is, the larger the change amplitude) and the change trend (the positive slope indicates that the physiological data is in a rising state, and the negative slope indicates that the physiological data is in a falling state) representing the type of physiological data. And the wearable device judges whether the corresponding type of physiological data is in a continuous ascending or descending state according to each physiological data oscillogram. If the physiological data of the user is in a continuously rising or falling state, monitoring whether the duration for which the physiological data of the user is in the rising or falling state is less than a first threshold value. If the duration is less than a first threshold, the wearable device determines that the emotional state of the user does not trigger an alert condition; if the duration is not less than the first threshold, the wearable device judges that the emotional state of the user triggers an alarm condition, acquires an alarm level, and executes an alarm action corresponding to the alarm level. The warning action is used for reminding the user that the current emotion of the user is in an unfavorable state and assisting the user, so that the user can adjust the emotion of the user in time correspondingly, and the current emotion state is eliminated.
Specifically, the wearable device monitors the duration of the physiological data of the user in a rising or falling state in real time, and when the duration is not less than a first threshold and less than a second threshold (namely, the duration is between the first threshold and the second threshold), the alarm level is determined to be a first level, a preset audio is played, and self-reminding and stress relief are performed on the user through the preset audio. When the duration time is not less than the second threshold value and less than the third threshold value, the wearable device judges that the alarm level is the second level, generates a periodic emotional state statistical table according to the physiological data, and sends the periodic emotional state statistical table to a preset terminal at the preset time. The user of the preset terminal can be a guardian of the wearable device user, so that the guardian can timely know the current emotional state of the wearable device user and actively decide whether to take measures to intervene the wearable user (for example, the guardian can actively decide to open a solution to the user through a video call or the like, thereby avoiding further deterioration of the emotion of the user). And when the duration time is not less than a third threshold value, the wearable device judges that the alarm level is a third level and sends prompt information to a preset terminal. When the alarm level is a third level, the current emotion of the wearable device user is in a very unfavorable state, so that prompt information is automatically sent to remind a guardian to take intervention measures for the wearable device user in time (for example, when the user is currently at a school, the guardian can timely inform a teacher at the school to check and regulate the emotion of the user, or when the user is currently in an environment without acquaintances around, the guardian can timely report the doctor after a video call according to the position information sent by the wearable device to monitor the user), and the wearable device user is assisted to adjust the emotion of the user. In this embodiment, the first threshold, the second threshold, and the third threshold are sequentially increased.
According to the alarm method, the alarm device and the computer equipment based on the emotional state, the system firstly acquires the physiological data of the user and then monitors whether the emotional state of the user triggers the alarm condition or not according to the physiological data. And if the system monitors that the emotional state of the user triggers an alarm condition, acquiring an alarm level and automatically executing an alarm action corresponding to the alarm level. The system automatically executes the alarm action to enable the user to be aware that the current emotion of the user is in an unfavorable state, and the emotion of the user is adjusted correspondingly in time under the assistance of the alarm action, so that the user is separated from the unfavorable emotion state, and the psychological and physical health of the user is guaranteed.
Further, the physiological data includes pulse signals, and the step of acquiring the physiological data of the user includes:
s101, acquiring a pulse signal of the user through a pulse detection module;
and S102, generating a pulse oscillogram according to the pulse signals and the acquisition time corresponding to the pulse signals.
In this embodiment, the various types of physiological data detected by the wearable device include pulse signals of the user, and specifically, comprehensive information of the form, intensity, rate, rhythm and the like presented by the pulse waves can reflect blood flow characteristics of many physiological pathologies in the cardiovascular system of the human body. The wearable device converts human body pulse waves into electric signals through a pulse detection module (a miniature dynamic pulse micro-pressure sensor is deployed in the pulse detection module), so that pulse signals of a user are acquired in real time. In the collection process, the wearable equipment uses the collection time as a horizontal axis and the pulse signal as a vertical axis, and the pulse signal and the collection time correspond to each other and then generate a pulse oscillogram. The waveform change of the pulse waveform diagram means the change amplitude and change trend of the pulse signal representing the user at the corresponding acquisition time.
Further, the step of monitoring whether the emotional state of the user triggers an alert condition based on the physiological data includes:
s201, judging whether the pulse of the user is in a continuous rising or falling state according to the pulse oscillogram;
s202, if the pulse of the user is in a continuously ascending or continuously descending state, monitoring whether the duration time of the pulse of the user in the ascending or descending state is less than a first threshold value;
s203, if the duration of the pulse of the user in the ascending or descending state is not less than a first threshold value, judging that the emotional state of the user triggers an alarm condition;
and S204, if the duration of the pulse of the user in the ascending or descending state is less than a first threshold value, judging that the emotional state of the user does not trigger an alarm condition.
In this embodiment, the slope of the connection line between the points corresponding to the two adjacent acquisition times in the pulse oscillogram represents the change amplitude (the larger the slope, the larger the change amplitude) and the change trend (the positive slope indicates that the pulse signal is in a rising state, and the negative slope indicates that the pulse signal is in a falling state) of the pulse signal of the user in the time period between the two acquisition times. Preferably, the wearable device may also identify a change of the pulse signal of the user by a difference between points corresponding to the two acquisition times, and the larger the difference is, the larger the change amplitude of the pulse signal is; if the difference is positive, the pulse signal is in a rising state, and if the difference is negative, the pulse signal is in a falling state (when the difference is calculated, the value of the point corresponding to the next acquisition time is subtracted by the value of the point corresponding to the previous acquisition time). The wearable device judges whether the pulse of the user is in a continuously rising or continuously falling state according to the slope change of the line in the pulse oscillogram. If the pulse of the user is detected to be in a continuously ascending or descending state, whether the duration of the pulse of the user in the ascending or descending state is smaller than a first threshold value or not is monitored in real time. If the duration of the rising or falling state of the pulse of the user is not less than the first threshold, it indicates that the user may be currently in a state of being high (corresponding to the pulse being in the continuously rising state) or being low (corresponding to the pulse being in the continuously falling state) for a long time, which may have adverse effects on the physical and mental health of the user, and thus trigger the alarm condition of the wearable device. If the duration of the user's pulse in the ascending or descending state is less than the first threshold, it indicates that the user's current emotional fluctuation belongs to a normal state, and no intervention of the wearable device is required, so that no alarm condition is triggered.
Further, the step of obtaining the alarm level and executing the alarm action corresponding to the alarm level includes:
s301, monitoring the duration in real time;
s302, when the duration time is not less than the first threshold value and less than a second threshold value, judging that the alarm level is a first level, and playing a preset audio, wherein the first threshold value is less than the second threshold value;
s303, when the duration time is not less than the second threshold value and less than a third threshold value, judging that the alarm level is the second level, generating a periodic emotional state statistical table according to the physiological data, and sending the periodic emotional state statistical table to a preset terminal at a preset time, wherein the second threshold value is less than the third threshold value;
s304, when the duration time is not less than the third threshold value, the alarm grade is judged to be a third grade, and prompt information is sent to the preset terminal.
In this embodiment, the durations of the large emotional fluctuation of the user (i.e., the durations of the pulse of the user rising or falling) are different, and different alarm levels are provided correspondingly. Specifically, the wearable device monitors the duration of the rise or the fall of the pulse of the user in real time, and when the duration is not less than a first threshold and less than a second threshold, the wearable device judges that the current alarm level is a first level, and automatically loads and plays the preset audio. The preset audio may be a music file, or may be a certain pre-recorded voice (for example, voice information spoken by the father of the user). Wearable equipment presets the audio frequency through the broadcast, can be used for reminding the current mood of wearable equipment user to be in unfavorable state on the one hand, and on the other hand presets the audio frequency and can alleviate user's pressure, and supplementary user adjusts self mood. And when the monitoring duration is not less than the second threshold and less than the third threshold, the wearable device judges that the current alarm level is the second level. The wearable device generates a periodic emotional state statistical table according to the monitored physiological data, and sends the periodic emotional state statistical table to a preset terminal in preset time. Preferably, the wearable device can upload and store the detected physiological data into a log file of a designated server, the designated server automatically analyzes and processes the collected log file, a periodic emotional state statistical table is correspondingly generated according to the acquisition time of the physiological data, and the table is sent to a pre-bound communication terminal, namely a preset terminal. In this embodiment, the periodic emotional state statistical table is processed and generated by the designated server, so that the data processing capacity of the wearable device can be reduced, overload caused by excessive data processing capacity of a system of the wearable device is avoided, and meanwhile, the power consumption of the wearable device can also be reduced. Preferably, the main people who use the wearable device in this embodiment are the elderly and the minors, and if these people are in an adverse emotional state for a long time, the health of the people is easily damaged. The preset terminal is preferably a communication terminal carried by a guardian of an old person and/or a child, so that the guardian can know the emotion change of the user of the wearable device through the periodic emotion state statistical table, and accordingly corresponding intervention means are implemented. When the wearable device detects that the duration is not less than a third threshold, the current warning level is judged to be a third level, prompt information is generated, and the communication module directly sends the prompt information to the preset terminal according to the preset frequency, so that a user of the preset terminal is timely prompted to know that the current wearable device user is currently in an extremely unfavorable emotional state. In this embodiment, the first threshold, the second threshold, and the third threshold are sequentially increased.
Further, after the step of sending the prompt message to the preset terminal, the method includes:
s305, judging whether feedback information of the preset terminal is received or not after a first preset time length sent by the prompt information is sent;
s306, if the feedback information of the preset terminal is not received after the first preset time length sent by the prompt information, the sending frequency of the prompt information is increased and then the prompt information is sent again.
In this embodiment, the communication module in the wearable device is usually in a low power consumption mode, and the frequency of sending information is low, thereby saving the power consumption. After the prompt message is sent, the wearable device starts to monitor whether feedback information of the preset terminal is received. If the wearable device still does not receive the feedback information of the preset terminal after the first preset time sent by the prompt information, the communication module is switched from the low-power-consumption mode to the high-power-consumption mode, the sending frequency of the prompt information is increased, the improved sending frequency is used for continuously sending the prompt information, so that the emergency emotion problem of the wearable device user about the preset terminal user is further informed, the emotion state of the wearable device user is intervened in time, the emotion of the wearable device user is prevented from being deteriorated after the emotion of the wearable device user is not intervened in time, and the physiological and psychological health of the wearable device user is damaged.
Further, after the step of increasing the sending frequency of the prompt message, the method includes:
s307, judging whether to receive feedback information of the preset terminal after the second preset duration after the sending frequency is increased;
and S308, if the feedback information of the preset terminal is not received after the second preset duration after the sending frequency is increased, increasing the acquisition frequency of the physiological data.
In this embodiment, the physiological data detection module in the wearable device is usually in a low power consumption mode, and the acquisition frequency of the physiological data is low, so that the power consumption is reduced. After the prompt message is sent, the wearable device starts to monitor whether feedback information of the preset terminal is received. If the wearable device still does not receive the feedback information of the preset terminal after the second preset time length sent by the prompt information, the physiological data detection module is switched from the low-power-consumption mode to the high-power-consumption mode, the collection frequency of the physiological data of the wearable device user is improved, therefore, more physiological data can be collected in unit time length to serve as log record values, the judgment accuracy of the emotion change state of the wearable device user is improved, and the emotion change state can be used as reference data for follow-up emotion analysis and summarization of the user.
Further, the preset audio includes different types of music files, and the step of playing the preset audio includes:
s3021, analyzing and obtaining the emotion change trend of the user according to the change trend of the pulse waveform diagram;
and S3022, loading and playing the music files of the corresponding types according to the emotion change trend.
In this embodiment, the preset frequency in the wearable device comprises different types of music files, such as generous music, soothing and peaceful music, etc. The wearable device can analyze the emotion change trend of the user according to the change trend of the pulse oscillogram, and then loads and plays the corresponding type of music file according to the emotion change trend. Specifically, the slope of the connection line between the points corresponding to two adjacent acquisition times in the pulse oscillogram represents the change amplitude (the greater the slope, the greater the change amplitude) and the change trend (the positive slope indicates that the pulse signal is in a rising state, and the negative slope indicates that the pulse signal is in a falling state) of the pulse signal of the user in the time period between the two acquisition times. When the wearable device monitors that the current pulse signal of the user of the wearable device is in a continuously rising state according to the pulse oscillogram, the user is indicated to be in a high state at present, at the moment, the wearable device can load and play music of a gentle and gentle type, the emotion of the user is relieved, and the emotion tends to be gentle. When the wearable device monitors that the current pulse signal of the user is in a continuous descending state according to the pulse waveform diagram, the user is currently in a depression state, and at the moment, the wearable device loads and plays music of a generous type to stimulate the spirit of the user, so that the positive mood of the user is mobilized, and the user is assisted to get away from the depression state.
Referring to fig. 2, an embodiment of the present application further provides an alert device based on an emotional state, including:
the acquisition module 1 is used for acquiring physiological data of a user;
the monitoring module 2 is used for monitoring whether the emotional state of the user triggers an alarm condition according to the physiological data;
and the execution module 3 is used for acquiring an alarm level if the emotional state of the user triggers an alarm condition, and executing an alarm action corresponding to the alarm level.
In this embodiment, the alarm method is preferably applied to wearable devices, such as a smart watch and a smart bracelet, where the wearable devices are deployed with a communication module, a processing module, and various physiological parameter detection modules, such as a heart rate detection module, a skin point detection module, and a pulse detection module. When the user wears the wearable equipment, the wearable equipment has close contact with the user's body surface to make all kinds of physiological parameter detection modules on the wearable equipment can acquire all kinds of physiological parameters of the user through contact mode or optical detection mode, for example heart rate detection module can monitor the heart rate data of the user through the optical detection mode, and body temperature detection module can monitor the temperature data of the user through the contact mode. The wearable device collects physiological data of a user through the physiological parameter detection module, and then groups the physiological data according to respective corresponding types (for example, body temperature data is a group, and heart rate data is a group), and the physiological data of each group takes a collection time point as a horizontal axis and a value of the physiological data as a vertical axis to establish a respective corresponding physiological data oscillogram. In the physiological data oscillogram, the slope of the connecting line between two adjacent time points, namely the change amplitude (the larger the slope is, the larger the change amplitude) and the change trend (the positive slope indicates that the physiological data is in a rising state, and the negative slope indicates that the physiological data is in a falling state) representing the type of physiological data. And the wearable device judges whether the corresponding type of physiological data is in a continuous ascending or descending state according to each physiological data oscillogram. If the physiological data of the user is in a continuously rising or falling state, monitoring whether the duration for which the physiological data of the user is in the rising or falling state is less than a first threshold value. If the duration is less than a first threshold, the wearable device determines that the emotional state of the user does not trigger an alert condition; if the duration is not less than the first threshold, the wearable device judges that the emotional state of the user triggers an alarm condition, acquires an alarm level, and executes an alarm action corresponding to the alarm level. The warning action is used for reminding the user that the current emotion of the user is in an unfavorable state and assisting the user, so that the user can adjust the emotion of the user in time correspondingly, and the current emotion state is eliminated. Specifically, the wearable device monitors the duration of the physiological data of the user in a rising or falling state in real time, and when the duration is not less than a first threshold and less than a second threshold (that is, the duration is between the first threshold and the second threshold), it is determined that the alarm level is a first level, a preset audio is played, and self-reminding and pressure relief are performed on the user through the preset audio. When the duration time is not less than the second threshold value and less than the third threshold value, the wearable device judges that the alarm level is the second level, generates a periodic emotional state statistical table according to the physiological data, and sends the periodic emotional state statistical table to a preset terminal at the preset time. The user of the preset terminal can be a guardian of the wearable device user, so that the guardian can timely know the current emotional state of the wearable device user and actively decide whether to take measures to intervene the wearable user (for example, the guardian can actively decide to open a solution to the user through a video call or the like, thereby avoiding further deterioration of the emotion of the user). And when the duration time is not less than a third threshold value, the wearable device judges that the alarm level is a third level and sends prompt information to a preset terminal. When the alarm level is a third level, the current emotion of the wearable device user is in a very unfavorable state, so that prompt information is automatically sent to remind a guardian to take intervention measures for the wearable device user in time (for example, when the user is currently at a school, the guardian can timely inform a teacher at the school to check and regulate the emotion of the user, or when the user is currently in an environment without acquaintances around, the guardian can timely report the doctor after a video call according to the position information sent by the wearable device to monitor the user), and the wearable device user is assisted to adjust the emotion of the user. In this embodiment, the first threshold, the second threshold, and the third threshold are sequentially increased.
According to the alarm device based on the emotional state, the system firstly acquires the physiological data of the user and then monitors whether the emotional state of the user triggers an alarm condition according to the physiological data. And if the system monitors that the emotional state of the user triggers an alarm condition, acquiring an alarm level and automatically executing an alarm action corresponding to the alarm level. The system automatically executes the alarm action to enable the user to be aware that the current emotion of the user is in an unfavorable state, and the emotion of the user is adjusted correspondingly in time under the assistance of the alarm action, so that the user is separated from the unfavorable emotion state, and the psychological and physical health of the user is guaranteed.
Further, the physiological data includes a pulse signal, and the obtaining module 1 includes:
the acquisition unit is used for acquiring the pulse signals of the user through the pulse detection module;
and the first generation unit is used for generating a pulse oscillogram according to the pulse signals and the acquisition time corresponding to the pulse signals.
In this embodiment, the various types of physiological data detected by the wearable device include pulse signals of the user, and specifically, comprehensive information of the form, intensity, rate, rhythm and the like presented by the pulse waves can reflect blood flow characteristics of many physiological pathologies in the cardiovascular system of the human body. The wearable device converts human body pulse waves into electric signals through a pulse detection module (a miniature dynamic pulse micro-pressure sensor is deployed in the pulse detection module), so that pulse signals of a user are acquired in real time. In the collection process, the wearable equipment uses the collection time as a horizontal axis and the pulse signal as a vertical axis, and the pulse signal and the collection time correspond to each other and then generate a pulse oscillogram. The waveform change of the pulse waveform diagram means the change amplitude and change trend of the pulse signal representing the user at the corresponding acquisition time.
Further, the monitoring module 2 includes:
the first judgment unit is used for judging whether the pulse of the user is in a continuous rising or falling state according to the pulse oscillogram;
the first monitoring unit is used for monitoring whether the duration time of the pulse of the user in the rising or falling state is less than a first threshold value or not if the pulse of the user is in the continuously rising or continuously falling state;
the first judging unit is used for judging that the emotional state of the user triggers an alarm condition if the duration of the pulse of the user in the ascending or descending state is not less than a first threshold value;
and the second judging unit is used for judging that the emotional state of the user does not trigger an alarm condition if the duration of the pulse of the user in the ascending or descending state is less than a first threshold value.
In this embodiment, the slope of the connection line between the points corresponding to the two adjacent acquisition times in the pulse oscillogram represents the change amplitude (the larger the slope, the larger the change amplitude) and the change trend (the positive slope indicates that the pulse signal is in a rising state, and the negative slope indicates that the pulse signal is in a falling state) of the pulse signal of the user in the time period between the two acquisition times. Preferably, the wearable device may also identify a change of the pulse signal of the user by a difference between points corresponding to the two acquisition times, and the larger the difference is, the larger the change amplitude of the pulse signal is; if the difference is positive, the pulse signal is in a rising state, and if the difference is negative, the pulse signal is in a falling state (when the difference is calculated, the value of the point corresponding to the next acquisition time is subtracted by the value of the point corresponding to the previous acquisition time). The wearable device judges whether the pulse of the user is in a continuously rising or continuously falling state according to the slope change of the line in the pulse oscillogram. If the pulse of the user is detected to be in a continuously ascending or descending state, whether the duration of the pulse of the user in the ascending or descending state is smaller than a first threshold value or not is monitored in real time. If the duration of the rising or falling state of the pulse of the user is not less than the first threshold, it indicates that the user may be currently in a state of being high (corresponding to the pulse being in the continuously rising state) or being low (corresponding to the pulse being in the continuously falling state) for a long time, which may have adverse effects on the physical and mental health of the user, and thus trigger the alarm condition of the wearable device. If the duration of the user's pulse in the ascending or descending state is less than the first threshold, it indicates that the user's current emotional fluctuation belongs to a normal state, and no intervention of the wearable device is required, so that no alarm condition is triggered.
Further, the execution module 3 includes:
the second monitoring unit is used for monitoring the duration in real time;
the playing unit is used for judging that the alarm level is a first level and playing preset audio when the duration time is not less than the first threshold and less than a second threshold, wherein the first threshold is less than the second threshold;
the second generation unit is used for judging that the alarm level is a second level when the duration time is not less than the second threshold and less than a third threshold, generating a periodic emotional state statistical table according to the physiological data, and sending the periodic emotional state statistical table to a preset terminal at preset time, wherein the second threshold is less than the third threshold;
and the sending unit is used for judging that the alarm grade is a third grade when the duration time is not less than the third threshold value, and sending prompt information to the preset terminal.
In this embodiment, the durations of the large emotional fluctuation of the user (i.e., the durations of the pulse of the user rising or falling) are different, and different alarm levels are provided correspondingly. Specifically, the wearable device monitors the duration of the rise or the fall of the pulse of the user in real time, and when the duration is not less than a first threshold and less than a second threshold, the wearable device judges that the current alarm level is a first level, and automatically loads and plays the preset audio. The preset audio may be a music file, or may be a certain pre-recorded voice (for example, voice information spoken by the father of the user). Wearable equipment presets the audio frequency through the broadcast, can be used for reminding the current mood of wearable equipment user to be in unfavorable state on the one hand, and on the other hand presets the audio frequency and can alleviate user's pressure, and supplementary user adjusts self mood. And when the monitoring duration is not less than the second threshold and less than the third threshold, the wearable device judges that the current alarm level is the second level. The wearable device generates a periodic emotional state statistical table according to the monitored physiological data, and sends the periodic emotional state statistical table to a preset terminal in preset time. Preferably, the wearable device can upload and store the detected physiological data into a log file of a designated server, the designated server automatically analyzes and processes the collected log file, a periodic emotional state statistical table is correspondingly generated according to the acquisition time of the physiological data, and the table is sent to a pre-bound communication terminal, namely a preset terminal. In this embodiment, the periodic emotional state statistical table is processed and generated by the designated server, so that the data processing capacity of the wearable device can be reduced, overload caused by excessive data processing capacity of a system of the wearable device is avoided, and meanwhile, the power consumption of the wearable device can also be reduced. Preferably, the main people who use the wearable device in this embodiment are the elderly and the minors, and if these people are in an adverse emotional state for a long time, the health of the people is easily damaged. The preset terminal is preferably a communication terminal carried by a guardian of an old person and/or a child, so that the guardian can know the emotion change of the user of the wearable device through the periodic emotion state statistical table, and accordingly corresponding intervention means are implemented. When the wearable device detects that the duration is not less than a third threshold, the current warning level is judged to be a third level, prompt information is generated, and the communication module directly sends the prompt information to the preset terminal according to the preset frequency, so that a user of the preset terminal is timely prompted to know that the current wearable device user is currently in an extremely unfavorable emotional state. In this embodiment, the first threshold, the second threshold, and the third threshold are sequentially increased.
Further, the execution module 3 further includes:
the second judging unit is used for judging whether feedback information of the preset terminal is received or not after the first preset duration sent by the prompt information is sent;
and the first changing unit is used for increasing the sending frequency of the prompt message and then resending the prompt message if the feedback message of the preset terminal is not received after the first preset duration sent by the prompt message.
In this embodiment, the communication module in the wearable device is usually in a low power consumption mode, and the frequency of sending information is low, thereby saving the power consumption. After the prompt message is sent, the wearable device starts to monitor whether feedback information of the preset terminal is received. If the wearable device still does not receive the feedback information of the preset terminal after the first preset time sent by the prompt information, the communication module is switched from the low-power-consumption mode to the high-power-consumption mode, the sending frequency of the prompt information is increased, the improved sending frequency is used for continuously sending the prompt information, so that the emergency emotion problem of the wearable device user about the preset terminal user is further informed, the emotion state of the wearable device user is intervened in time, the emotion of the wearable device user is prevented from being deteriorated after the emotion of the wearable device user is not intervened in time, and the physiological and psychological health of the wearable device user is damaged.
Further, the execution module 3 further includes:
a third judging unit, configured to judge whether to receive feedback information of the preset terminal after a second preset duration after the sending frequency is increased;
and the second changing unit is used for increasing the acquisition frequency of the physiological data if the feedback information of the preset terminal is not received after a second preset duration after the transmission frequency is increased.
In this embodiment, the physiological data detection module in the wearable device is usually in a low power consumption mode, and the acquisition frequency of the physiological data is low, so that the power consumption is reduced. After the prompt message is sent, the wearable device starts to monitor whether feedback information of the preset terminal is received. If the wearable device still does not receive the feedback information of the preset terminal after the second preset time length sent by the prompt information, the physiological data detection module is switched from the low-power-consumption mode to the high-power-consumption mode, the collection frequency of the physiological data of the wearable device user is improved, therefore, more physiological data can be collected in unit time length to serve as log record values, the judgment accuracy of the emotion change state of the wearable device user is improved, and the emotion change state can be used as reference data for follow-up emotion analysis and summarization of the user.
Further, the preset audio includes different types of music files, and the playing unit includes:
the analysis subunit is used for analyzing the change trend of the pulse oscillogram to obtain the emotion change trend of the user;
and the playing subunit is used for loading and playing the music files of the corresponding types according to the emotion change trend.
In this embodiment, the preset frequency in the wearable device comprises different types of music files, such as generous music, soothing and peaceful music, etc. The wearable device can analyze the emotion change trend of the user according to the change trend of the pulse oscillogram, and then loads and plays the corresponding type of music file according to the emotion change trend. Specifically, the slope of the connection line between the points corresponding to two adjacent acquisition times in the pulse oscillogram represents the change amplitude (the greater the slope, the greater the change amplitude) and the change trend (the positive slope indicates that the pulse signal is in a rising state, and the negative slope indicates that the pulse signal is in a falling state) of the pulse signal of the user in the time period between the two acquisition times. When the wearable device monitors that the current pulse signal of the user of the wearable device is in a continuously rising state according to the pulse oscillogram, the user is indicated to be in a high state at present, at the moment, the wearable device can load and play music of a gentle and gentle type, the emotion of the user is relieved, and the emotion tends to be gentle. When the wearable device monitors that the current pulse signal of the user is in a continuous descending state according to the pulse waveform diagram, the user is currently in a depression state, and at the moment, the wearable device loads and plays music of a generous type to stimulate the spirit of the user, so that the positive mood of the user is mobilized, and the user is assisted to get away from the depression state.
Referring to fig. 3, a computer device, which may be a server and whose internal structure may be as shown in fig. 3, is also provided in the embodiment of the present application. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as preset audio and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of alerting based on emotional state.
The processor executes the steps of the warning method based on the emotional state:
s1, acquiring physiological data of the user;
s2, monitoring whether the emotional state of the user triggers an alarm condition according to the physiological data;
and S3, if the emotional state of the user triggers an alarm condition, acquiring an alarm level and executing an alarm action corresponding to the alarm level.
Further, the physiological data includes pulse signals, and the step of acquiring the physiological data of the user includes:
s101, acquiring a pulse signal of the user through a pulse detection module;
and S102, generating a pulse oscillogram according to the pulse signals and the acquisition time corresponding to the pulse signals.
Further, the step of monitoring whether the emotional state of the user triggers an alert condition based on the physiological data includes:
s201, judging whether the pulse of the user is in a continuous rising state or a continuous falling state according to the pulse oscillogram;
s202, if the pulse of the user is in a continuously ascending or continuously descending state, monitoring whether the duration time of the pulse of the user in the ascending or descending state is less than a first threshold value;
s203, if the duration of the pulse of the user in the ascending or descending state is not less than a first threshold value, judging that the emotional state of the user triggers an alarm condition;
and S204, if the duration of the pulse of the user in the ascending or descending state is less than a first threshold value, judging that the emotional state of the user does not trigger an alarm condition.
Further, the step of obtaining the alarm level and executing the alarm action corresponding to the alarm level includes:
s301, monitoring the duration in real time;
s302, when the duration time is not less than the first threshold value and less than a second threshold value, judging that the alarm level is a first level, and playing a preset audio, wherein the first threshold value is less than the second threshold value;
s303, when the duration time is not less than the second threshold value and less than a third threshold value, judging that the alarm level is the second level, generating a periodic emotional state statistical table according to the physiological data, and sending the periodic emotional state statistical table to a preset terminal at a preset time, wherein the second threshold value is less than the third threshold value;
s304, when the duration time is not less than the third threshold value, the alarm grade is judged to be a third grade, and prompt information is sent to the preset terminal.
Further, after the step of sending the prompt message to the preset terminal, the method includes:
s305, judging whether feedback information of the preset terminal is received or not after a first preset time length sent by the prompt information is sent;
s306, if the feedback information of the preset terminal is not received after the first preset time length sent by the prompt information, the sending frequency of the prompt information is increased and then the prompt information is sent again.
Further, after the step of increasing the sending frequency of the prompt message, the method includes:
s307, judging whether to receive feedback information of the preset terminal after the second preset duration after the sending frequency is increased;
and S308, if the feedback information of the preset terminal is not received after the second preset duration after the sending frequency is increased, increasing the acquisition frequency of the physiological data.
Further, the preset audio includes different types of music files, and the step of playing the preset audio includes:
s3021, analyzing and obtaining the emotion change trend of the user according to the change trend of the pulse waveform diagram;
and S3022, loading and playing the music files of the corresponding types according to the emotion change trend.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements an alert method based on an emotional state, where the alert method based on the emotional state specifically includes:
s1, acquiring physiological data of the user;
s2, monitoring whether the emotional state of the user triggers an alarm condition according to the physiological data;
and S3, if the emotional state of the user triggers an alarm condition, acquiring an alarm level and executing an alarm action corresponding to the alarm level.
Further, the physiological data includes pulse signals, and the step of acquiring the physiological data of the user includes:
s101, acquiring a pulse signal of the user through a pulse detection module;
and S102, generating a pulse oscillogram according to the pulse signals and the acquisition time corresponding to the pulse signals.
Further, the step of monitoring whether the emotional state of the user triggers an alert condition based on the physiological data includes:
s201, judging whether the pulse of the user is in a continuous rising state or a continuous falling state according to the pulse oscillogram;
s202, if the pulse of the user is in a continuously ascending or continuously descending state, monitoring whether the duration time of the pulse of the user in the ascending or descending state is less than a first threshold value;
s203, if the duration of the pulse of the user in the ascending or descending state is not less than a first threshold value, judging that the emotional state of the user triggers an alarm condition;
and S204, if the duration of the pulse of the user in the ascending or descending state is less than a first threshold value, judging that the emotional state of the user does not trigger an alarm condition.
Further, the step of obtaining the alarm level and executing the alarm action corresponding to the alarm level includes:
s301, monitoring the duration in real time;
s302, when the duration time is not less than the first threshold value and less than a second threshold value, judging that the alarm level is a first level, and playing a preset audio, wherein the first threshold value is less than the second threshold value;
s303, when the duration time is not less than the second threshold value and less than a third threshold value, judging that the alarm level is the second level, generating a periodic emotional state statistical table according to the physiological data, and sending the periodic emotional state statistical table to a preset terminal at a preset time, wherein the second threshold value is less than the third threshold value;
s304, when the duration time is not less than the third threshold value, the alarm grade is judged to be a third grade, and prompt information is sent to the preset terminal.
Further, after the step of sending the prompt message to the preset terminal, the method includes:
s305, judging whether feedback information of the preset terminal is received or not after a first preset time length sent by the prompt information is sent;
s306, if the feedback information of the preset terminal is not received after the first preset time length sent by the prompt information, the sending frequency of the prompt information is increased and then the prompt information is sent again.
Further, after the step of increasing the sending frequency of the prompt message, the method includes:
s307, judging whether to receive feedback information of the preset terminal after the second preset duration after the sending frequency is increased;
and S308, if the feedback information of the preset terminal is not received after the second preset duration after the sending frequency is increased, increasing the acquisition frequency of the physiological data.
Further, the preset audio includes different types of music files, and the step of playing the preset audio includes:
s3021, analyzing and obtaining the emotion change trend of the user according to the change trend of the pulse waveform diagram;
and S3022, loading and playing the music files of the corresponding types according to the emotion change trend.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware associated with instructions of a computer program, which may be stored on a non-volatile computer-readable storage medium, and when executed, may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only for the preferred embodiment of the present application and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.

Claims (10)

1. An alert method based on emotional states, comprising:
acquiring physiological data of a user;
monitoring whether the emotional state of the user triggers an alarm condition according to the physiological data;
and if the emotional state of the user triggers an alarm condition, acquiring an alarm level and executing an alarm action corresponding to the alarm level.
2. The emotional state-based alert method of claim 1, wherein the physiological data includes a pulse signal, and the step of obtaining the physiological data of the user includes:
acquiring a pulse signal of the user through a pulse detection module;
and generating a pulse oscillogram according to the pulse signals and the acquisition time corresponding to the pulse signals.
3. The emotional state-based alert method of claim 2, wherein the step of monitoring whether the emotional state of the user triggers an alert condition based on the physiological data comprises:
judging whether the pulse of the user is in a continuously rising or continuously falling state according to the pulse oscillogram;
if the pulse of the user is in a continuously ascending or continuously descending state, monitoring whether the duration time of the pulse of the user in the ascending or descending state is less than a first threshold value;
and if the duration of the pulse of the user in the ascending or descending state is not less than a first threshold value, triggering an alarm condition.
4. The emotional state-based alert method of claim 3, wherein the obtaining an alert level and performing an alert action corresponding to the alert level comprises:
monitoring the duration in real time;
when the duration time is not less than the first threshold and less than a second threshold, determining that the alarm level is a first level, and playing a preset audio, wherein the first threshold is less than the second threshold;
when the duration time is not less than the second threshold and less than a third threshold, judging that the alarm level is a second level, generating a periodic emotional state statistical table according to the physiological data, and sending the periodic emotional state statistical table to a preset terminal at a preset time, wherein the second threshold is less than the third threshold;
and when the duration time is not less than the third threshold value, judging that the alarm grade is a third grade, and sending a prompt message to the preset terminal.
5. The alert method based on emotional state according to claim 4, wherein the step of sending the alert message to the predetermined terminal is followed by:
judging whether feedback information of the preset terminal is received or not after a first preset time length sent by the prompt information is sent;
and if the feedback information of the preset terminal is not received after the first preset time length sent by the prompt information, the prompt information is sent again after the sending frequency of the prompt information is increased.
6. The emotional state-based alert method of claim 5, wherein the step of increasing the transmission frequency of the alert message is followed by:
judging whether feedback information of the preset terminal is received or not after a second preset duration after the sending frequency is increased;
and if the feedback information of the preset terminal is not received after the second preset duration after the sending frequency is increased, increasing the acquisition frequency of the physiological data.
7. The emotional state-based alert method of claim 4, wherein the preset audio includes different types of music files, and the step of playing the preset audio includes:
analyzing the change trend of the pulse oscillogram to obtain the emotion change trend of the user;
and loading and playing the music files of the corresponding types according to the emotion change trend.
8. An emotional state-based alerting device, comprising:
the acquisition module is used for acquiring physiological data of a user;
the monitoring module is used for monitoring whether the emotional state of the user triggers an alarm condition according to the physiological data;
and the execution module is used for acquiring an alarm level if the emotional state of the user triggers an alarm condition, and executing an alarm action corresponding to the alarm level.
9. A computer device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202011140279.5A 2020-10-22 2020-10-22 Emotion state based alarm method and device and computer equipment Pending CN112244829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011140279.5A CN112244829A (en) 2020-10-22 2020-10-22 Emotion state based alarm method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011140279.5A CN112244829A (en) 2020-10-22 2020-10-22 Emotion state based alarm method and device and computer equipment

Publications (1)

Publication Number Publication Date
CN112244829A true CN112244829A (en) 2021-01-22

Family

ID=74264077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011140279.5A Pending CN112244829A (en) 2020-10-22 2020-10-22 Emotion state based alarm method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN112244829A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113160926A (en) * 2021-04-19 2021-07-23 深圳市安全守护科技有限公司 Report query method and device, terminal equipment and computer readable storage medium
CN114323113A (en) * 2021-10-21 2022-04-12 国网山东省电力公司电力科学研究院 High-voltage cable intelligent sensing terminal, system and low-power consumption management monitoring method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200419419A (en) * 2003-02-01 2004-10-01 Baxter Int System and method for notification and escalation of medical data
CN101662546A (en) * 2009-09-16 2010-03-03 中兴通讯股份有限公司 Method of monitoring mood and device thereof
CN102715902A (en) * 2012-06-15 2012-10-10 天津大学 Emotion monitoring method for special people
CN103907130A (en) * 2011-06-30 2014-07-02 匹兹堡大学联邦系统高等教育 A system and method of determining a susceptibility to cardiorespiratory insufficiency
CN204274482U (en) * 2014-12-05 2015-04-22 东北大学秦皇岛分校 Human body anxious state of mind monitoring alarm instrument
CN106887104A (en) * 2015-12-16 2017-06-23 丛北华 A kind of frequency-change sampling system and method
CN107837088A (en) * 2017-09-08 2018-03-27 深圳市云中飞电子有限公司 A kind of mood monitoring method, device and mood monitoring bracelet
CN109938720A (en) * 2019-03-29 2019-06-28 努比亚技术有限公司 Based reminding method, wearable device and computer readable storage medium based on heart rate
CN111144436A (en) * 2019-11-15 2020-05-12 北京点滴灵犀科技有限公司 Emotional stress screening and crisis early warning method and device based on wearable equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200419419A (en) * 2003-02-01 2004-10-01 Baxter Int System and method for notification and escalation of medical data
CN101662546A (en) * 2009-09-16 2010-03-03 中兴通讯股份有限公司 Method of monitoring mood and device thereof
CN103907130A (en) * 2011-06-30 2014-07-02 匹兹堡大学联邦系统高等教育 A system and method of determining a susceptibility to cardiorespiratory insufficiency
CN102715902A (en) * 2012-06-15 2012-10-10 天津大学 Emotion monitoring method for special people
CN204274482U (en) * 2014-12-05 2015-04-22 东北大学秦皇岛分校 Human body anxious state of mind monitoring alarm instrument
CN106887104A (en) * 2015-12-16 2017-06-23 丛北华 A kind of frequency-change sampling system and method
CN107837088A (en) * 2017-09-08 2018-03-27 深圳市云中飞电子有限公司 A kind of mood monitoring method, device and mood monitoring bracelet
CN109938720A (en) * 2019-03-29 2019-06-28 努比亚技术有限公司 Based reminding method, wearable device and computer readable storage medium based on heart rate
CN111144436A (en) * 2019-11-15 2020-05-12 北京点滴灵犀科技有限公司 Emotional stress screening and crisis early warning method and device based on wearable equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113160926A (en) * 2021-04-19 2021-07-23 深圳市安全守护科技有限公司 Report query method and device, terminal equipment and computer readable storage medium
CN114323113A (en) * 2021-10-21 2022-04-12 国网山东省电力公司电力科学研究院 High-voltage cable intelligent sensing terminal, system and low-power consumption management monitoring method

Similar Documents

Publication Publication Date Title
EP2713881B1 (en) Method and system for assisting patients
CN104434142A (en) Wearable device and emotion reminding method
CN112244829A (en) Emotion state based alarm method and device and computer equipment
US11197623B2 (en) System for improving sleep effectiveness of a user
CA2766536A1 (en) An eeg monitoring apparatus and method for presenting messages therein
JP2013514826A (en) Automatic sleep therapy system
WO2011076243A1 (en) Affective well-being supervision system and method
EP3893746B1 (en) Device, system and method for providing bio-feedback to a user
CN102802515A (en) Conditioning an organism
WO2019146767A1 (en) Emotional analysis system
KR20210017616A (en) Diagnosis device for Parkinson's disease
CN114306873A (en) Sleep awakening method and device, intelligent eye patch and storage medium
JP7250647B2 (en) Nap assistance system and program for nap assistance
US20210030299A1 (en) Apparatus and methods for detection of the onset and monitoring the progression of cerebral ischemia to enable optimal stroke treatment
CN111083864B (en) Illumination method and illumination device
KR101912860B1 (en) Smart jewelry system for depression cognitive and care
CN115517688B (en) Control method and device of wearable equipment, intelligent terminal and storage medium
JP7146859B2 (en) Generating Clinician Perceivable Outputs Based on Subject Monitors
US20210121657A1 (en) Method for determining the risk of a user waking up in an undesirable state
US20200279628A1 (en) A computer-implemented method of monitoring a person and an apparatus for monitoring a person
CN211834338U (en) Intelligent wearable device
CN112120714B (en) Monitoring method of wearable device, wearable device and computer storage medium
US20240136069A1 (en) Medical Voice Bot
CN115153545A (en) Method and system for detecting emotion of person based on multi-modal physiological signals
KR20230099805A (en) Wake-up alarm setting and sleep induction device using EEG analysis

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