Emotional state-based warning method, device and computer equipment
Through the alarm method and device based on emotional state, using physiological data to monitor user emotions and perform alarm actions, the problem of insufficient emotional regulation in the prior art is solved, timely adjustment of emotional state is achieved, and users' psychological and physical health is promoted.
Patent Information
- Application Number
- CN202011140279.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-22
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2040-10-22
AI Technical Summary
There is no smart product on the existing market that can help people regulate their emotions in a timely manner, resulting in an adverse impact on their health when they are in a certain state for a long time.
Provide an alarm method and device based on emotional state. By obtaining the user's physiological data, it monitors whether the emotional state triggers the alarm condition and performs corresponding alarm actions, including playing preset audio and sending prompt information to help the user be aware and adjust. mood.
The method and device can automatically monitor the user's emotional state, remind the user that the current emotional state is in an unfavorable state, and assist the user in emotional regulation through appropriate audio and information, thereby avoiding the impact of the adverse emotional state on health.
Smart Images

Figure CN112244829B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of emotion monitoring, and in particular to an emotion state-based alarm method, device and computer equipment. Background Art
[0002] The generation of emotions affects all aspects of people's lives. For example, when people are angry, they may become pale, have purple lips, and have cold hands and feet. Over time, this will lead to low immune function and organ lesions. In severe cases, cerebral hemorrhage, heart disease, and myocardial infarction may also occur. It can be seen that a healthy body is closely related to healthy emotions. Existing scientific research shows that whether it is positive or negative emotions, if a person is unable to extricate himself from a certain emotion for a long time, it will have an adverse effect on health. Therefore, how to help people realize their emotions in time and make corresponding adjustments is particularly important for people's physical health. However, there are no relevant smart products on the current market that can help people adjust their emotions in time. Summary of the invention
[0003] The main purpose of this application is to provide an alarm method, device and computer equipment based on emotional state, aiming to solve the problem that there are no smart products on the existing market that can assist people in regulating their emotions in a timely manner.
[0004] To achieve the above object, the present application provides an emotional state-based alarm method, which is characterized by comprising:
[0005] Obtaining the user's physiological data;
[0006] monitoring the user's emotional state according to the physiological data to determine whether an alarm condition is triggered;
[0007] If the user's emotional state triggers an alarm condition, the alarm level is obtained and an alarm action corresponding to the alarm level is executed.
[0008] Furthermore, the physiological data includes a pulse signal, and the step of obtaining the physiological data of the user includes:
[0009] Collecting the user's pulse signal through a pulse detection module;
[0010] A pulse waveform diagram is generated according to the pulse signal and the acquisition time corresponding to the pulse signal.
[0011] Furthermore, the step of monitoring the user's emotional state based on the physiological data to determine whether an alarm condition is triggered includes:
[0012] Determining whether the user's pulse is in a continuously rising or continuously falling state according to the pulse waveform graph;
[0013] If the user's pulse is in a continuously rising or falling state, monitoring whether the duration of the user's pulse in the rising or falling state is less than a first threshold;
[0014] If the duration of the user's pulse being in a rising or falling state is not less than a first threshold, it is determined that the user's emotional state triggers an alarm condition.
[0015] Further, the step of obtaining the alarm level and executing the alarm action corresponding to the alarm level includes:
[0016] monitoring the duration in real time;
[0017] When the duration is not less than the first threshold and less than the second threshold, determining that the alarm level is the first level and playing a preset audio, wherein the first threshold is less than the second threshold;
[0018] When the duration is not less than the second threshold and less than the third threshold, determining 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 is less than the third threshold;
[0019] When the duration is not less than the third threshold, the alarm level is determined to be the third level, and a prompt message is sent to the preset terminal.
[0020] Furthermore, after the step of sending the prompt information to the preset terminal, the method further includes:
[0021] Determining whether feedback information from the preset terminal is received after a first preset time period of sending the prompt information;
[0022] If no feedback information from the preset terminal is received after the first preset time period of sending the prompt information, the prompt information is sent again after the sending frequency is increased.
[0023] Furthermore, after the step of increasing the sending frequency of the prompt information, the following steps are included:
[0024] Determining whether feedback information from the preset terminal is received after a second preset time period after the transmission frequency is increased;
[0025] If no feedback information from the preset terminal is received after a second preset period of time after the sending frequency is increased, the frequency of collecting the physiological data is increased.
[0026] Furthermore, the preset audio includes different types of music files, and the step of playing the preset audio includes:
[0027] Analyzing the changing trend of the pulse waveform to obtain the changing trend of the user's emotions;
[0028] Load and play music files of corresponding types according to the emotion change trend.
[0029] The present application also provides an emotional state-based alarm device, comprising:
[0030] An acquisition module, used to acquire the user's physiological data;
[0031] A monitoring module, used to monitor the user's emotional state based on the physiological data to determine whether an alarm condition is triggered;
[0032] The execution module is used to obtain the alarm level and execute the alarm action corresponding to the alarm level if the emotional state of the user triggers the alarm condition.
[0033] Furthermore, the physiological data includes a pulse signal, and the acquisition module includes:
[0034] A collection unit, used for collecting the pulse signal of the user through a pulse detection module;
[0035] The first generating unit is used to generate a pulse waveform diagram according to the pulse signal and the acquisition time corresponding to the pulse signal.
[0036] Furthermore, the monitoring module includes:
[0037] A first judging unit, configured to judge whether the user's pulse is in a continuously rising or continuously falling state according to the pulse waveform diagram;
[0038] A first monitoring unit, configured to monitor whether the duration of the user's pulse being in the rising or falling state is less than a first threshold value if the user's pulse is in the rising or falling state;
[0039] The first determination unit is configured to determine that the user's emotional state triggers an alarm condition if the duration of the user's pulse being in an ascending or descending state is not less than a first threshold.
[0040] Furthermore, the execution module includes:
[0041] A second monitoring unit, configured to monitor the duration in real time;
[0042] a playing unit, configured to determine that the alarm level is the first level and play a preset audio when the duration is not less than the first threshold and less than a second threshold, wherein the first threshold is less than the second threshold;
[0043] a second generating unit, configured to determine that the alarm level is a second level when the duration is not less than the second threshold and less than a third threshold, generate a periodic emotional state statistical table according to the physiological data, and send the periodic emotional state statistical table to a preset terminal at a preset time, wherein the second threshold is less than the third threshold;
[0044] The sending unit is used to determine that the alarm level is the third level when the duration is not less than the third threshold, and send a prompt message to the preset terminal.
[0045] Furthermore, the execution module further includes:
[0046] A second determination unit, configured to determine whether feedback information from the preset terminal is received after a first preset time period has passed since the prompt information was sent;
[0047] The first changing unit is used to increase the sending frequency of the prompt information and then resend the prompt information if no feedback information from the preset terminal is received after a first preset time period from when the prompt information is sent.
[0048] Furthermore, the execution module further includes:
[0049] A third judgment unit, used to judge whether feedback information from the preset terminal is received after a second preset time period after the transmission frequency is increased;
[0050] The second changing unit is configured to increase the frequency of collecting the physiological data if no feedback information from the preset terminal is received after a second preset period of time after the sending frequency is increased.
[0051] Furthermore, the preset audio includes different types of music files, and the playing unit includes:
[0052] An analysis subunit, configured to analyze the change trend of the user's emotions according to the change trend of the pulse waveform graph;
[0053] The playing subunit is used to load and play music files of corresponding types according to the trend of emotional changes.
[0054] The present application also 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.
[0055] The present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the above-mentioned methods are implemented.
[0056] The present application provides an alarm method, device and computer equipment based on emotional state. The system first obtains the physiological data of the user, and then monitors the user's emotional state based on the physiological data to see if the alarm condition is triggered. If the system detects that the user's emotional state triggers the alarm condition, the alarm level is obtained, and the alarm action corresponding to the alarm level is automatically executed. The alarm action automatically executed by the system can make the user aware that his or her current emotions are in an unfavorable state, and with the assistance of the alarm action, the user can make corresponding adjustments to his or her emotions in a timely manner, thereby getting out of the unfavorable emotional state to ensure the user's own psychological and physical health. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 is a schematic diagram of the steps of an alarm method based on emotional state in an embodiment of the present application;
[0058] Figure 2 It is a block diagram of the overall structure of an alarm device based on emotional state in one embodiment of the present application;
[0059] Figure 3 It is a schematic block diagram of the structure of a computer device according to an embodiment of the present application.
[0060] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0062] Reference Figure 1 In one embodiment of the present application, a warning method based on emotional state is provided, comprising:
[0063] S1: Obtaining the user's physiological data;
[0064] S2: monitoring the user's emotional state based on the physiological data to determine whether an alarm condition is triggered;
[0065] S3: If the user's emotional state triggers an alarm condition, the alarm level is obtained, and an alarm action corresponding to the alarm level is executed.
[0066] In this embodiment, the alarm method is preferably applied to wearable devices, such as smart watches and smart bracelets. The wearable devices are equipped with communication modules, processing modules, and various physiological parameter detection modules, such as heart rate detection modules, skin point detection modules, and pulse detection modules. When the user wears the wearable device, the wearable device has close contact with the user's body surface, so that the various physiological parameter detection modules on the wearable device can obtain various physiological parameters of the user through contact mode or light detection mode. For example, the heart rate detection module can monitor the user's heart rate data through the light detection mode, and the body temperature detection module can monitor the user's temperature data through the contact mode. After the wearable device collects the user's physiological data through the physiological parameter detection module, the physiological data is grouped according to their corresponding types (for example, body temperature data is a group, and heart rate data is a group). Each group of physiological data uses the acquisition time point as the horizontal axis and the value of the physiological data as the vertical axis to establish a corresponding physiological data waveform. Among them, in the physiological data waveform graph, the slope of the line between two adjacent time points, that is, the change amplitude (the larger the slope, the larger the change amplitude) and change trend (a positive slope indicates that the physiological data is in an upward state; a negative slope indicates that the physiological data is in a downward state) of this type of physiological data are characterized. The wearable device determines whether the corresponding type of physiological data is in a continuous upward or downward state according to each physiological data waveform graph. If the user's physiological data is in a continuous upward or downward state, the duration of the user's physiological data in the upward or downward state is monitored to be less than the first threshold. If the duration is less than the first threshold, the wearable device determines that the user's emotional state will not trigger an alarm condition; if the duration is not less than the first threshold, the wearable device determines that the user's emotional state triggers an alarm condition, the wearable device obtains the alarm level, and executes the alarm action corresponding to the alarm level. The alarm action is used to remind the user that his current emotion is in an unfavorable state, and to assist the user so that the user can make corresponding adjustments to his own emotions in time, thereby getting rid of the current emotional state.
[0067] Specifically, the wearable device monitors the duration of the user's physiological data in an ascending or descending state in real time. When the duration is not less than the first threshold and less than the second threshold (that is, the duration is between the first threshold and the second threshold), the alarm level is determined to be the first level, and a preset audio is played, and the user is reminded and relieved of stress through the preset audio. When the duration is not less than the second threshold and less than the third threshold, the wearable device determines that the alarm level is the second level, generates a periodic emotional state statistics table based on the physiological data, and sends the periodic emotional state statistics table to the preset terminal at a preset time. The user of the preset terminal can be the guardian of the wearable device user, so that the guardian can understand the current emotional state of the wearable device user in a timely manner and actively decide whether to take measures to intervene in the wearable user (for example, the guardian can actively decide to enlighten the user through video calls, etc. to prevent the user's emotions from further deteriorating). When the duration is not less than the third threshold, the wearable device determines that the alarm level is the third level and sends a prompt message to the preset terminal. When the alarm level is the third level, it means that the wearable device user is currently in a very unfavorable state of emotion, so a prompt message is automatically sent to remind the guardian to take timely intervention measures for the wearable device user (for example, when the user is currently at school, the guardian can promptly notify the school teacher to check and mediate the user's emotions; or when the user is currently in an environment where there are no acquaintances around, the guardian can monitor the user's location information sent by the wearable device and can report to the doctor in time after a video call), to assist the wearable device user to adjust his or her emotions. In this embodiment, the first threshold, the second threshold, and the third threshold increase in sequence.
[0068] This embodiment provides an alarm method, device and computer equipment based on emotional state. The system first obtains the physiological data of the user, and then monitors the user's emotional state based on the physiological data to see if the alarm condition is triggered. If the system detects that the user's emotional state triggers the alarm condition, the alarm level is obtained, and the alarm action corresponding to the alarm level is automatically executed. The alarm action automatically executed by the system can make the user aware that his or her current emotions are in an unfavorable state, and with the assistance of the alarm action, the user can make corresponding adjustments to his or her emotions in a timely manner, thereby getting out of the unfavorable emotional state and ensuring the user's own psychological and physical health.
[0069] Furthermore, the physiological data includes a pulse signal, and the step of obtaining the physiological data of the user includes:
[0070] S101: collecting the pulse signal of the user through a pulse detection module;
[0071] S102: Generate a pulse waveform diagram according to the pulse signal and the acquisition time corresponding to the pulse signal.
[0072] In this embodiment, the various types of physiological data detected by the wearable device include the user's pulse signal. Specifically, the comprehensive information on the morphology, intensity, rate and rhythm presented by the pulse wave can reflect many physiological and pathological blood flow characteristics in the human cardiovascular system. The wearable device converts the human pulse wave into an electrical signal through a pulse detection module (a micro-dynamic pulse micro-pressure sensor is deployed in the pulse detection module), thereby acquiring the user's pulse signal in real time. During the acquisition process, the wearable device uses the acquisition time as the horizontal axis and the pulse signal as the vertical axis, and generates a pulse waveform diagram after the pulse signal corresponds to the acquisition time. The waveform change of the pulse waveform diagram characterizes the change amplitude and change trend of the user's pulse signal at the corresponding acquisition time.
[0073] Furthermore, the step of monitoring the user's emotional state based on the physiological data to determine whether an alarm condition is triggered includes:
[0074] S201: judging whether the user's pulse is in a continuously rising or falling state according to the pulse waveform graph;
[0075] S202: If the user's pulse is in a continuously rising or falling state, monitoring whether the duration of the user's pulse in the rising or falling state is less than a first threshold;
[0076] S203: If the duration of the user's pulse being in an ascending or descending state is not less than a first threshold, determining that the user's emotional state triggers an alarm condition;
[0077] S204: If the duration of the user's pulse being in a rising or falling state is less than a first threshold, it is determined that the user's emotional state will not trigger an alarm condition.
[0078] In this embodiment, the slope of the line between the points corresponding to two adjacent acquisition times in the pulse waveform graph represents the change amplitude (the larger the slope, the larger the change amplitude) and change trend (a positive slope indicates that the pulse signal is in an upward state; a negative slope indicates that the pulse signal is in a downward state) of the user's pulse signal in the time period between the two acquisition times. Preferably, the wearable device can also identify the change of the user's pulse signal by the difference between the points corresponding to the two acquisition times. The larger the difference, the larger the change amplitude of the pulse signal; the positive difference indicates that the pulse signal is in an upward state, and the negative difference indicates that the pulse signal is in a downward state (when calculating the difference, the value of the point corresponding to the next acquisition time is subtracted from the value of the point corresponding to the previous acquisition time). The wearable device determines whether the user's pulse is in a continuous upward or downward state according to the change in the slope of the line in the pulse waveform graph. If it is detected that the user's pulse is in a continuous upward or downward state, it is monitored in real time whether the duration of the user's pulse in the upward or downward state is less than the first threshold. If the duration of the user's pulse in the rising or falling state is not less than the first threshold, it means that the user may be in a state of excitement (corresponding to the pulse being in a continuous rising state) or depression (corresponding to the pulse being in a continuous falling state) for a long time, which will have an adverse effect on the user's physical and mental health, and thus trigger the alarm condition of the wearable device. If the duration of the user's pulse in the rising or falling state is less than the first threshold, it means that the user's current emotional fluctuations are normal, and no wearable device intervention is required, so the alarm condition will not be triggered.
[0079] Further, the step of obtaining the alarm level and executing the alarm action corresponding to the alarm level includes:
[0080] S301: monitoring the duration in real time;
[0081] S302: when the duration is not less than the first threshold and less than the second threshold, determining that the alarm level is the first level, and playing a preset audio, wherein the first threshold is less than the second threshold;
[0082] S303: when the duration is not less than the second threshold and less than the third threshold, determining 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 is less than the third threshold;
[0083] S304: When the duration is not less than the third threshold, determine that the alarm level is the third level, and send a prompt message to the preset terminal.
[0084] In this embodiment, the duration of the user's emotional fluctuation is different (i.e., the duration of the user's pulse rising or falling). There are different corresponding alarm levels. Specifically, the wearable device monitors the duration of the user's pulse rising or falling in real time. When the duration is not less than the first threshold and less than the second threshold, the wearable device determines that the current alarm level is the first level, and automatically loads and plays the preset audio. Among them, the preset audio can be a music file or a pre-recorded voice (such as a voice message spoken by the user's father). By playing the preset audio, the wearable device can be used to remind the wearable device user that the current emotion is in an unfavorable state. On the other hand, the preset audio can relieve the user's pressure and assist the user in regulating his or her own emotions. When the monitoring duration is not less than the second threshold and less than the third threshold, the wearable device determines that the current alarm level is the second level. The wearable device generates a periodic emotional state statistical table based on the monitored physiological data, and sends the periodic emotional state statistical table to the preset terminal at a preset time. Preferably, the wearable device can upload the detected physiological data and store it as a log file of a designated server. The designated server automatically analyzes and processes the collected log files, generates a periodic emotional state statistical table according to the collection time of the physiological data, and sends the table to a pre-bound communication terminal, i.e., a preset terminal. In this embodiment, the periodic emotional state statistical table is processed and generated by the designated server, which can reduce the data processing volume of the wearable device, avoid overload of the wearable device system due to excessive data processing, and also reduce the power consumption of the wearable device. Preferably, the main users of the wearable device in this embodiment are the elderly and minors. If these two groups of people are in an unfavorable emotional state for a long time, it is easier to cause damage to their physical health. The preset terminal is preferably a communication terminal carried by the guardian of the elderly and / or children, so that the guardian can understand the emotional changes of the wearable device user through the periodic emotional state statistical table, and thus implement corresponding intervention measures. When the wearable device detects that the duration is not less than the third threshold, it determines that the current alarm level is the third level, and generates a prompt message, which is directly sent by the communication module to the preset terminal at a preset frequency, so as to promptly prompt the user of the preset terminal 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 increase in sequence.
[0085] Furthermore, after the step of sending the prompt information to the preset terminal, the method further includes:
[0086] S305: Determine whether feedback information from the preset terminal is received after the first preset time period of sending the prompt information;
[0087] S306: If no feedback information is received from the preset terminal after the prompt information is sent for a first preset time, increase the sending frequency of the prompt information and resend the prompt information.
[0088] In this embodiment, the communication module in the wearable device is usually in low power consumption mode, and the frequency of sending information is low, so as to save power consumption. After the prompt information is sent, the wearable device starts to monitor whether the 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 length of the prompt information is sent, the communication module is switched from low power consumption mode to high power consumption mode, and the sending frequency of the prompt information is increased. The prompt information is continuously sent at the increased sending frequency, so as to further notify the preset terminal user of the urgent emotional problems of the wearable device user, intervene in the emotional state of the wearable device user in time, and avoid the deterioration of the wearable device user's emotions after not being intervened in time, thereby causing damage to his physical and mental health.
[0089] Furthermore, after the step of increasing the sending frequency of the prompt information, the following steps are included:
[0090] S307: Determine whether feedback information from the preset terminal is received after the second preset time period after the transmission frequency is increased;
[0091] S308: If no feedback information from the preset terminal is received after a second preset period of time after the transmission frequency is increased, the frequency of collecting the physiological data is increased.
[0092] In this embodiment, the physiological data detection module in the wearable device is usually in low power consumption mode, and its frequency of collecting physiological data is low, thereby saving power consumption. After the prompt information is sent, the wearable device starts to monitor whether the 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 of the prompt information is sent, the physiological data detection module is switched from low power consumption mode to high power consumption mode, and the frequency of collecting physiological data of the wearable device user is increased, so that more physiological data can be collected as log record values within a unit time length, and the accuracy of determining the emotional change state of the wearable device user is improved, so as to serve as reference data for subsequent emotional analysis and summary of the user.
[0093] Furthermore, the preset audio includes different types of music files, and the step of playing the preset audio includes:
[0094] S3021: Analyzing the change trend of the user's emotions according to the change trend of the pulse waveform graph;
[0095] S3022: Load and play music files of corresponding types according to the emotion change trend.
[0096] In this embodiment, the preset frequencies in the wearable device include different types of music files, such as passionate music, soothing and peaceful music, etc. The wearable device can parse the user's emotional change trend according to the change trend of the pulse waveform graph, and then load and play the corresponding type of music file according to the emotional change trend. Specifically, the slope of the line between the points corresponding to two adjacent acquisition times in the pulse waveform graph represents the change amplitude (the larger the slope, the larger the change amplitude) and change trend (the slope is positive, indicating that the pulse signal is in an upward state; the slope is negative, indicating that the pulse signal is in a downward state) of the user's pulse signal during the time period between the two acquisition times. When the wearable device monitors that the current pulse signal of the wearable device user is in a continuous rising state according to the pulse waveform graph, it means that the user is currently in an excited state. At this time, the wearable device will load and play soothing and peaceful music to calm the user's emotions and make his emotions tend to be peaceful. When the wearable device detects that the user's current pulse signal is in a continuous declining state based on the pulse waveform graph, it means that the user is currently in a depressed state. At this time, the wearable device will load and play passionate and inspiring music to inspire the user's spirit and mobilize the user's positive emotions, thereby helping the user to get out of the depressed state.
[0097] Reference Figure 2 In one embodiment of the present application, there is also provided an alarm device based on emotional state, including:
[0098] Acquisition module 1, used to acquire the user's physiological data;
[0099] Monitoring module 2, used to monitor whether the emotional state of the user triggers an alarm condition based on the physiological data;
[0100] The execution module 3 is used to obtain the alarm level and execute the alarm action corresponding to the alarm level if the emotional state of the user triggers the alarm condition.
[0101] In this embodiment, the alarm method is preferably applied to wearable devices, such as smart watches and smart bracelets. The wearable devices are equipped with communication modules, processing modules, and various physiological parameter detection modules, such as heart rate detection modules, skin point detection modules, and pulse detection modules. When the user wears the wearable device, the wearable device has close contact with the user's body surface, so that the various physiological parameter detection modules on the wearable device can obtain various physiological parameters of the user through contact mode or light detection mode. For example, the heart rate detection module can monitor the user's heart rate data through the light detection mode, and the body temperature detection module can monitor the user's temperature data through the contact mode. After the wearable device collects the user's physiological data through the physiological parameter detection module, the physiological data is grouped according to their corresponding types (for example, body temperature data is a group, and heart rate data is a group). Each group of physiological data uses the acquisition time point as the horizontal axis and the value of the physiological data as the vertical axis to establish a corresponding physiological data waveform. Among them, in the physiological data waveform graph, the slope of the line between two adjacent time points, that is, the change amplitude (the larger the slope, the larger the change amplitude) and change trend (a positive slope indicates that the physiological data is in an upward state; a negative slope indicates that the physiological data is in a downward state) of this type of physiological data are characterized. The wearable device determines whether the corresponding type of physiological data is in a continuous upward or downward state according to each physiological data waveform graph. If the user's physiological data is in a continuous upward or downward state, the duration of the user's physiological data in the upward or downward state is monitored to be less than the first threshold. If the duration is less than the first threshold, the wearable device determines that the user's emotional state will not trigger an alarm condition; if the duration is not less than the first threshold, the wearable device determines that the user's emotional state triggers an alarm condition, the wearable device obtains the alarm level, and executes the alarm action corresponding to the alarm level. The alarm action is used to remind the user that his current emotion is in an unfavorable state, and to assist the user so that the user can make corresponding adjustments to his own emotions in time, thereby getting rid of the current emotional state. Specifically, the wearable device monitors the duration of the user's physiological data in an ascending or descending state in real time. When the duration is not less than the first threshold and less than the second threshold (i.e., the duration is between the first threshold and the second threshold), the alarm level is determined to be the first level, and a preset audio is played, and the user is reminded of self and stress is relieved through the preset audio. When the duration is not less than the second threshold and less than the third threshold, the wearable device determines that the alarm level is the second level, generates a periodic emotional state statistics table based on the physiological data, and sends the periodic emotional state statistics table to the preset terminal at a preset time. The user of the preset terminal can be the guardian of the wearable device user, so that the guardian can understand the current emotional state of the wearable device user in a timely manner and actively decide whether to take measures to intervene in the wearable user (for example, the guardian can actively decide to comfort the user through video calls, etc., to prevent the user's emotions from further deteriorating).When the duration is not less than the third threshold, the wearable device determines that the alarm level is the third level and sends a prompt message to the preset terminal. When the alarm level is the third level, it means that the current mood of the wearable device user is in a very unfavorable state, so a prompt message is automatically sent to remind the guardian to take timely intervention measures for the wearable device user (for example, when the user is currently at school, the guardian can promptly notify the school teacher to check and mediate the user's emotions; or the user is currently in an environment where there are no acquaintances around, the guardian can monitor the user's location information sent by the wearable device, and can report to the doctor in time after the video call), to assist the wearable device user to adjust his or her emotions. In this embodiment, the first threshold, the second threshold and the third threshold increase in sequence.
[0102] This embodiment provides an alarm device based on emotional state. The system first obtains the physiological data of the user, and then monitors the user's emotional state based on the physiological data to see if the alarm condition is triggered. If the system detects that the user's emotional state triggers the alarm condition, the alarm level is obtained, and the alarm action corresponding to the alarm level is automatically executed. The alarm action automatically executed by the system can make the user aware that his or her current emotions are in an unfavorable state, and with the assistance of the alarm action, the user can make corresponding adjustments to his or her emotions in a timely manner, thereby getting out of the unfavorable emotional state and ensuring the user's own psychological and physical health.
[0103] Furthermore, the physiological data includes a pulse signal, and the acquisition module 1 includes:
[0104] A collection unit, used for collecting the pulse signal of the user through a pulse detection module;
[0105] The first generating unit is used to generate a pulse waveform diagram according to the pulse signal and the acquisition time corresponding to the pulse signal.
[0106] In this embodiment, the various types of physiological data detected by the wearable device include the user's pulse signal. Specifically, the comprehensive information on the morphology, intensity, rate and rhythm presented by the pulse wave can reflect many physiological and pathological blood flow characteristics in the human cardiovascular system. The wearable device converts the human pulse wave into an electrical signal through a pulse detection module (a micro-dynamic pulse micro-pressure sensor is deployed in the pulse detection module), thereby acquiring the user's pulse signal in real time. During the acquisition process, the wearable device uses the acquisition time as the horizontal axis and the pulse signal as the vertical axis, and generates a pulse waveform diagram after the pulse signal corresponds to the acquisition time. The waveform change of the pulse waveform diagram characterizes the change amplitude and change trend of the user's pulse signal at the corresponding acquisition time.
[0107] Furthermore, the monitoring module 2 includes:
[0108] A first judging unit, configured to judge whether the user's pulse is in a continuously rising or falling state according to the pulse waveform diagram;
[0109] A first monitoring unit, configured to monitor whether the duration of the user's pulse being in the rising or falling state is less than a first threshold value if the user's pulse is in the rising or falling state;
[0110] A first determination unit, configured to determine that the user's emotional state triggers an alarm condition if the duration of the user's pulse being in an ascending or descending state is not less than a first threshold;
[0111] The second determination unit is configured to determine that the user's emotional state will not trigger an alarm condition if the duration of the user's pulse being in an ascending or descending state is less than a first threshold.
[0112] In this embodiment, the slope of the line between the points corresponding to two adjacent acquisition times in the pulse waveform graph represents the change amplitude (the larger the slope, the larger the change amplitude) and change trend (a positive slope indicates that the pulse signal is in an upward state; a negative slope indicates that the pulse signal is in a downward state) of the user's pulse signal in the time period between the two acquisition times. Preferably, the wearable device can also identify the change of the user's pulse signal by the difference between the points corresponding to the two acquisition times. The larger the difference, the larger the change amplitude of the pulse signal; the positive difference indicates that the pulse signal is in an upward state, and the negative difference indicates that the pulse signal is in a downward state (when calculating the difference, the value of the point corresponding to the next acquisition time is subtracted from the value of the point corresponding to the previous acquisition time). The wearable device determines whether the user's pulse is in a continuous upward or downward state according to the change in the slope of the line in the pulse waveform graph. If it is detected that the user's pulse is in a continuous upward or downward state, it is monitored in real time whether the duration of the user's pulse in the upward or downward state is less than the first threshold. If the duration of the user's pulse in the rising or falling state is not less than the first threshold, it means that the user may be in a state of excitement (corresponding to the pulse being in a continuous rising state) or depression (corresponding to the pulse being in a continuous falling state) for a long time, which will have an adverse effect on the user's physical and mental health, and thus trigger the alarm condition of the wearable device. If the duration of the user's pulse in the rising or falling state is less than the first threshold, it means that the user's current emotional fluctuations are normal, and no wearable device intervention is required, so the alarm condition will not be triggered.
[0113] Furthermore, the execution module 3 includes:
[0114] A second monitoring unit, configured to monitor the duration in real time;
[0115] a playing unit, configured to determine that the alarm level is the first level and play a preset audio when the duration is not less than the first threshold and less than a second threshold, wherein the first threshold is less than the second threshold;
[0116] a second generating unit, configured to determine that the alarm level is a second level when the duration is not less than the second threshold and less than a third threshold, generate a periodic emotional state statistical table according to the physiological data, and send the periodic emotional state statistical table to a preset terminal at a preset time, wherein the second threshold is less than the third threshold;
[0117] The sending unit is used to determine that the alarm level is the third level when the duration is not less than the third threshold, and send a prompt message to the preset terminal.
[0118] In this embodiment, the duration of the user's emotional fluctuation is different (i.e., the duration of the user's pulse rising or falling). There are different corresponding alarm levels. Specifically, the wearable device monitors the duration of the user's pulse rising or falling in real time. When the duration is not less than the first threshold and less than the second threshold, the wearable device determines that the current alarm level is the first level, and automatically loads and plays the preset audio. Among them, the preset audio can be a music file or a pre-recorded voice (such as a voice message spoken by the user's father). By playing the preset audio, the wearable device can be used to remind the wearable device user that the current emotion is in an unfavorable state. On the other hand, the preset audio can relieve the user's pressure and assist the user in regulating his or her own emotions. When the monitoring duration is not less than the second threshold and less than the third threshold, the wearable device determines that the current alarm level is the second level. The wearable device generates a periodic emotional state statistical table based on the monitored physiological data, and sends the periodic emotional state statistical table to the preset terminal at a preset time. Preferably, the wearable device can upload the detected physiological data and store it as a log file of a designated server. The designated server automatically analyzes and processes the collected log files, generates a periodic emotional state statistical table according to the collection time of the physiological data, and sends the table to a pre-bound communication terminal, i.e., a preset terminal. In this embodiment, the periodic emotional state statistical table is processed and generated by the designated server, which can reduce the data processing volume of the wearable device, avoid overload of the wearable device system due to excessive data processing, and also reduce the power consumption of the wearable device. Preferably, the main users of the wearable device in this embodiment are the elderly and minors. If these two groups of people are in an unfavorable emotional state for a long time, it is easier to cause damage to their physical health. The preset terminal is preferably a communication terminal carried by the guardian of the elderly and / or children, so that the guardian can understand the emotional changes of the wearable device user through the periodic emotional state statistical table, and thus implement corresponding intervention measures. When the wearable device detects that the duration is not less than the third threshold, it determines that the current alarm level is the third level, and generates a prompt message, which is directly sent by the communication module to the preset terminal at a preset frequency, so as to promptly prompt the user of the preset terminal 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 increase in sequence.
[0119] Furthermore, the execution module 3 further includes:
[0120] A second determination unit, configured to determine whether feedback information from the preset terminal is received after a first preset time period has passed since the prompt information was sent;
[0121] The first changing unit is used to increase the sending frequency of the prompt information and then resend the prompt information if no feedback information from the preset terminal is received after a first preset time period from when the prompt information is sent.
[0122] In this embodiment, the communication module in the wearable device is usually in low power consumption mode, and the frequency of sending information is low, so as to save power consumption. After the prompt information is sent, the wearable device starts to monitor whether the 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 length of the prompt information is sent, the communication module is switched from low power consumption mode to high power consumption mode, and the sending frequency of the prompt information is increased. The prompt information is continuously sent at the increased sending frequency, so as to further notify the preset terminal user of the urgent emotional problems of the wearable device user, intervene in the emotional state of the wearable device user in time, and avoid the deterioration of the wearable device user's emotions after not being intervened in time, thereby causing damage to his physical and mental health.
[0123] Furthermore, the execution module 3 further includes:
[0124] A third judgment unit, used to judge whether feedback information from the preset terminal is received after a second preset time period after the transmission frequency is increased;
[0125] The second changing unit is configured to increase the frequency of collecting the physiological data if no feedback information from the preset terminal is received after a second preset period of time after the sending frequency is increased.
[0126] In this embodiment, the physiological data detection module in the wearable device is usually in low power consumption mode, and its frequency of collecting physiological data is low, thereby saving power consumption. After the prompt information is sent, the wearable device starts to monitor whether the 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 of the prompt information is sent, the physiological data detection module is switched from low power consumption mode to high power consumption mode, and the frequency of collecting physiological data of the wearable device user is increased, so that more physiological data can be collected as log record values within a unit time length, and the accuracy of determining the emotional change state of the wearable device user is improved, so as to serve as reference data for subsequent emotional analysis and summary of the user.
[0127] Furthermore, the preset audio includes different types of music files, and the playing unit includes:
[0128] An analysis subunit, configured to analyze the change trend of the user's emotions according to the change trend of the pulse waveform graph;
[0129] The playing subunit is used to load and play music files of corresponding types according to the trend of emotional changes.
[0130] In this embodiment, the preset frequencies in the wearable device include different types of music files, such as passionate music, soothing and peaceful music, etc. The wearable device can parse the user's emotional change trend according to the change trend of the pulse waveform graph, and then load and play the corresponding type of music file according to the emotional change trend. Specifically, the slope of the line between the points corresponding to two adjacent acquisition times in the pulse waveform graph represents the change amplitude (the larger the slope, the larger the change amplitude) and change trend (the slope is positive, indicating that the pulse signal is in an upward state; the slope is negative, indicating that the pulse signal is in a downward state) of the user's pulse signal during the time period between the two acquisition times. When the wearable device monitors that the current pulse signal of the wearable device user is in a continuous rising state according to the pulse waveform graph, it means that the user is currently in an excited state. At this time, the wearable device will load and play soothing and peaceful music to calm the user's emotions and make his emotions tend to be peaceful. When the wearable device detects that the user's current pulse signal is in a continuous declining state based on the pulse waveform graph, it means that the user is currently in a depressed state. At this time, the wearable device will load and play passionate and inspiring music to inspire the user's spirit and mobilize the user's positive emotions, thereby helping the user to get out of the depressed state.
[0131] Reference Figure 3 In an embodiment of the present application, a computer device is also provided. The computer device may be a server, and its internal structure may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile 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 the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as preset audio. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an alarm method based on an emotional state is implemented.
[0132] The processor executes the steps of the emotional state-based alarm method:
[0133] S1: Obtaining the user's physiological data;
[0134] S2: monitoring the user's emotional state based on the physiological data to determine whether an alarm condition is triggered;
[0135] S3: If the user's emotional state triggers an alarm condition, the alarm level is obtained, and an alarm action corresponding to the alarm level is executed.
[0136] Furthermore, the physiological data includes a pulse signal, and the step of obtaining the physiological data of the user includes:
[0137] S101: collecting the pulse signal of the user through a pulse detection module;
[0138] S102: Generate a pulse waveform diagram according to the pulse signal and the acquisition time corresponding to the pulse signal.
[0139] Furthermore, the step of monitoring the user's emotional state based on the physiological data to determine whether an alarm condition is triggered includes:
[0140] S201: judging whether the user's pulse is in a continuously rising or continuously falling state according to the pulse waveform graph;
[0141] S202: If the user's pulse is in a continuously rising or falling state, monitoring whether the duration of the user's pulse in the rising or falling state is less than a first threshold;
[0142] S203: If the duration of the user's pulse being in an ascending or descending state is not less than a first threshold, determining that the user's emotional state triggers an alarm condition;
[0143] S204: If the duration of the user's pulse being in a rising or falling state is less than a first threshold, it is determined that the user's emotional state will not trigger an alarm condition.
[0144] Further, the step of obtaining the alarm level and executing the alarm action corresponding to the alarm level includes:
[0145] S301: monitoring the duration in real time;
[0146] S302: when the duration is not less than the first threshold and less than the second threshold, determining that the alarm level is the first level, and playing a preset audio, wherein the first threshold is less than the second threshold;
[0147] S303: when the duration is not less than the second threshold and less than the third threshold, determining 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 is less than the third threshold;
[0148] S304: When the duration is not less than the third threshold, determine that the alarm level is the third level, and send a prompt message to the preset terminal.
[0149] Furthermore, after the step of sending the prompt information to the preset terminal, the method further includes:
[0150] S305: Determine whether feedback information from the preset terminal is received after the first preset time period of sending the prompt information;
[0151] S306: If no feedback information is received from the preset terminal after the prompt information is sent for a first preset time, increase the sending frequency of the prompt information and resend the prompt information.
[0152] Furthermore, after the step of increasing the sending frequency of the prompt information, the following steps are included:
[0153] S307: Determine whether feedback information from the preset terminal is received after the second preset time period after the transmission frequency is increased;
[0154] S308: If no feedback information from the preset terminal is received after a second preset period of time after the transmission frequency is increased, the frequency of collecting the physiological data is increased.
[0155] Furthermore, the preset audio includes different types of music files, and the step of playing the preset audio includes:
[0156] S3021: Analyzing the change trend of the user's emotions according to the change trend of the pulse waveform graph;
[0157] S3022: Load and play music files of corresponding types according to the emotion change trend.
[0158] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, an alarm method based on an emotional state is implemented. The alarm method based on an emotional state is specifically:
[0159] S1: Obtaining the user's physiological data;
[0160] S2: monitoring the user's emotional state based on the physiological data to determine whether an alarm condition is triggered;
[0161] S3: If the user's emotional state triggers an alarm condition, the alarm level is obtained, and an alarm action corresponding to the alarm level is executed.
[0162] Furthermore, the physiological data includes a pulse signal, and the step of obtaining the physiological data of the user includes:
[0163] S101: collecting the pulse signal of the user through a pulse detection module;
[0164] S102: Generate a pulse waveform diagram according to the pulse signal and the acquisition time corresponding to the pulse signal.
[0165] Furthermore, the step of monitoring the user's emotional state based on the physiological data to determine whether an alarm condition is triggered includes:
[0166] S201: judging whether the user's pulse is in a continuously rising or continuously falling state according to the pulse waveform graph;
[0167] S202: If the user's pulse is in a continuously rising or falling state, monitoring whether the duration of the user's pulse in the rising or falling state is less than a first threshold;
[0168] S203: If the duration of the user's pulse being in an ascending or descending state is not less than a first threshold, determining that the user's emotional state triggers an alarm condition;
[0169] S204: If the duration of the user's pulse being in a rising or falling state is less than a first threshold, it is determined that the user's emotional state will not trigger an alarm condition.
[0170] Further, the step of obtaining the alarm level and executing the alarm action corresponding to the alarm level includes:
[0171] S301: monitoring the duration in real time;
[0172] S302: when the duration is not less than the first threshold and less than the second threshold, determining that the alarm level is the first level, and playing a preset audio, wherein the first threshold is less than the second threshold;
[0173] S303: when the duration is not less than the second threshold and less than the third threshold, determining 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 is less than the third threshold;
[0174] S304: When the duration is not less than the third threshold, determine that the alarm level is the third level, and send a prompt message to the preset terminal.
[0175] Furthermore, after the step of sending the prompt information to the preset terminal, the method further includes:
[0176] S305: Determine whether feedback information from the preset terminal is received after the first preset time period of sending the prompt information;
[0177] S306: If no feedback information is received from the preset terminal after the prompt information is sent for a first preset time, increase the sending frequency of the prompt information and resend the prompt information.
[0178] Furthermore, after the step of increasing the sending frequency of the prompt information, the following steps are included:
[0179] S307: Determine whether feedback information from the preset terminal is received after the second preset time period after the transmission frequency is increased;
[0180] S308: If no feedback information from the preset terminal is received after a second preset period of time after the transmission frequency is increased, the frequency of collecting the physiological data is increased.
[0181] Furthermore, the preset audio includes different types of music files, and the step of playing the preset audio includes:
[0182] S3021: Analyzing the change trend of the user's emotions according to the change trend of the pulse waveform graph;
[0183] S3022: Load and play music files of corresponding types according to the emotion change trend.
[0184] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may 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 data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0185] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0186] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. An alarm method based on emotional state, characterized in that: include: Obtaining the user's physiological data; monitoring the user's emotional state according to the physiological data to determine whether an alarm condition is triggered; If the user's emotional state triggers an alarm condition, an alarm level is obtained, and an alarm action corresponding to the alarm level is executed; The step of obtaining the alarm level and executing the alarm action corresponding to the alarm level includes: Real-time monitoring of the duration of the pulse in the rising or falling state; When the duration is not less than a 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; The preset audio includes different types of music files, and the step of playing the preset audio includes: Analyze the changing trend of the user's emotions according to the changing trend of the pulse waveform graph; Load and play music files of corresponding types according to the trend of emotional changes; When the pulse waveform diagram monitors that the user's current pulse signal is in a continuously rising state, soothing and peaceful music is loaded and played; when the pulse waveform diagram monitors that the user's current pulse signal is in a continuously falling state, passionate music is loaded and played; The step of monitoring the user's emotional state based on the physiological data to determine whether an alarm condition is triggered comprises: Determining whether the user's pulse is in a continuously rising or continuously falling state according to the pulse waveform graph; If the user's pulse is in a continuously rising or falling state, monitoring whether the duration of the user's pulse in the rising or falling state is less than a first threshold; If the duration of the user's pulse being in a rising or falling state is not less than a first threshold, an alarm condition is triggered.
2. The emotional state-based alarm method according to claim 1, characterized in that: The physiological data includes a pulse signal, and the step of obtaining the physiological data of the user includes: Collecting the user's pulse signal through a pulse detection module; A pulse waveform diagram is generated according to the pulse signal and the acquisition time corresponding to the pulse signal.
3. The emotional state-based alarm method according to claim 1, characterized in that: The step of obtaining the alarm level and executing the alarm action corresponding to the alarm level includes: When the duration is not less than the second threshold and less than the third threshold, determining 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 is less than the third threshold; When the duration is not less than the third threshold, the alarm level is determined to be the third level, and a prompt message is sent to the preset terminal.
4. The emotional state-based alarm method according to claim 3, characterized in that: After the step of sending the prompt information to the preset terminal, the method further comprises: Determining whether feedback information from the preset terminal is received after a first preset time period of sending the prompt information; If no feedback information from the preset terminal is received after the first preset time period of sending the prompt information, the prompt information is sent again after the sending frequency is increased.
5. The emotional state-based alarm method according to claim 4, characterized in that: After the step of increasing the sending frequency of the prompt information, the method further comprises: Determining whether feedback information from the preset terminal is received after a second preset time period after the transmission frequency is increased; If no feedback information from the preset terminal is received after a second preset period of time after the sending frequency is increased, the frequency of collecting the physiological data is increased.
6. An alarm device based on emotional state, characterized in that: include: An acquisition module, used to acquire the user's physiological data; A monitoring module, used to monitor the user's emotional state based on the physiological data to determine whether an alarm condition is triggered; An execution module, configured to obtain an alarm level and execute an alarm action corresponding to the alarm level if the emotional state of the user triggers an alarm condition; The execution module includes: The second monitoring unit is used to monitor in real time the duration of the pulse being in a rising or falling state; a playing unit, configured to determine that the alarm level is the first level and play a preset audio when the duration is not less than a first threshold and less than a second threshold, wherein the first threshold is less than the second threshold; The preset audio includes different types of music files, and the playing unit includes: An analysis subunit, used for analyzing the change trend of the user's emotions according to the change trend of the pulse waveform graph; A playing subunit, used for loading and playing music files of corresponding types according to the trend of emotional changes; When the pulse waveform diagram monitors that the user's current pulse signal is in a continuously rising state, soothing and peaceful music is loaded and played; when the pulse waveform diagram monitors that the user's current pulse signal is in a continuously falling state, passionate music is loaded and played; The monitoring module comprises: A first judging unit, configured to judge whether the user's pulse is in a continuously rising or continuously falling state according to the pulse waveform diagram; A first monitoring unit, configured to monitor whether the duration of the user's pulse being in the rising or falling state is less than a first threshold value if the user's pulse is in the rising or falling state; The second determination unit is configured to trigger an alarm condition if the duration of the user's pulse being in an ascending or descending state is not less than a first threshold.
7. A computer device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
