Physiological health index detection method and device, electronic equipment and storage medium
By switching detection mode according to the user's sleep time in the smart device, from photovoltaic change schema to infrared detection, the problem of night detection of smart wearable devices interfering with user's sleep is solved, and the flexibility and sleep quality of physiological health indicator detection is improved. .
Patent Information
- Application Number
- CN202411177509.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2024-12-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When existing smart wearable devices conduct physiological health indicator testing, especially at night heart rate testing, they will interfere with the user's sleep and affect the quality of sleep.
By determining the user's sleep time in the smart device, automatically switch from the optical volume change graphic method (PPG) detection mode to the infrared detection mode, use infrared sensors to detect insensitive physiological health indicators to avoid green light interfering with the user's sleep.
It effectively avoids the interference of visible light emitted by the traditional PPG detection mode on users' sleep, improves the flexibility of detection of physiological health indicators, and ensures the quality of users' sleep.
Smart Images

Figure CN119055209A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a physiological health indicator detection method, device, electronic equipment and storage medium. Background Art
[0002] With the rapid development of science and technology, smart wearable devices have become an important tool for modern people's health management. They not only have basic functions such as time display and communication, but also deeply integrate health detection technology. For example, real-time detection of physiological indicators such as heart rate, blood pressure, and blood oxygen saturation provides users with comprehensive health data support.
[0003] In the related art, smart wearable devices usually use photoplethysmography to detect physiological health indicators. However, when using photoplethysmography for heart rate detection, the smart wearable device will control the light-emitting diode (Light-Emitting DiodeLED) to emit a green light wave of a certain wavelength, so that when the user's physiological health indicators are monitored at night, the green light emitted by the light-emitting LED is more conspicuous, thereby interfering with the user's sleep, and ultimately having an adverse effect on the user's sleep quality. Therefore, the existing physiological health indicator detection method will affect the user's sleep quality, thereby bringing negative impact on the user's health. Therefore, how to avoid the negative impact on the user's health when detecting physiological health indicators is a problem to be solved. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a physiological health indicator detection method, device, electronic device and storage medium, which can use the first sleep time and the first information to switch from a first detection mode to a second detection mode, thereby ensuring the user's sleep quality and improving the flexibility of detecting the user's physiological health indicators.
[0005] In a first aspect, an embodiment of the present application provides a method for detecting physiological health indicators, the method comprising: when a first detection mode is turned on, the electronic device determines a first sleep time of a user; then switches the first detection mode to a second detection mode according to the first sleep time; wherein the first detection mode is used to monitor the physiological health indicators of the user through photoplethysmography (PPG), and PPG detects the physiological health indicators of the user by irradiating visible light of a specific wavelength to the surface of the human body and detecting changes in the intensity of reflected or transmitted light after the visible light is absorbed in the process of penetrating the skin; the second detection mode is used to monitor the physiological health indicators of the user through an infrared detection method, and the infrared detection method uses an infrared sensor to capture infrared radiation emitted from the surface of the human body, and detects physiological health indicators by analyzing the infrared radiation.
[0006] In a second aspect, an embodiment of the present application provides a physiological health indicator detection device, which includes: a determination module and a processing module, wherein: the above-mentioned determination module is used to determine the user's first sleep time when the first detection mode is turned on; the above-mentioned processing module is used to switch the first detection mode to the second detection mode according to the first sleep time; wherein, the first detection mode is used to detect the user's physiological health indicators through the photoplethysmography method PPG, PPG detects the user's physiological health indicators by irradiating visible light of a specific wavelength to the surface of the human body, and by detecting the change in the intensity of the reflected or transmitted light after the visible light is absorbed in the process of penetrating the skin, the second detection mode is used to detect the user's physiological health indicators through the infrared detection method, the infrared detection method uses an infrared sensor to capture infrared radiation emitted by the surface of the human body, and detects the physiological health indicators by analyzing the infrared radiation.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0011] In the embodiment of the present application, the electronic device determines the first sleep time of the user when the first detection mode is turned on; the first detection mode is switched to the second detection mode according to the first sleep time; wherein the first detection mode is used to detect the physiological health index of the user through the photoplethysmography method PPG, PPG detects the physiological health index of the user by irradiating visible light of a specific wavelength to the surface of the human body and detecting the change in the intensity of the reflected or transmitted light after the visible light is absorbed in the process of penetrating the skin, and the second detection mode is used to detect the physiological health index of the user through the infrared detection method, the infrared detection method uses an infrared sensor to capture the infrared radiation emitted by the surface of the human body, and detects the physiological health index by analyzing the infrared radiation. In this solution, by determining the first sleep time, the electronic device switches the first detection mode to the second detection mode, so as to realize the heart rate detection by replacing the traditional PPG detection mode with the non-sensitive infrared detection, so as to effectively avoid the influence of the visible light emitted by the traditional PPG detection mode when detecting the physiological health index of the user, and can ensure the sleep quality of the user, thereby improving the flexibility of the physiological health index detection method. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is one of the flow charts of the physiological health index detection method provided by some embodiments of the present application;
[0013] Figure 2 This is the second flow chart of the physiological health index detection method provided by some embodiments of the present application;
[0014] Figure 3 This is the third flow chart of the physiological health index detection method provided by some embodiments of the present application;
[0015] Figure 4 This is the fourth flow chart of the physiological health index detection method provided by some embodiments of the present application;
[0016] Figure 5 This is the fifth flow chart of the physiological health index detection method provided by some embodiments of the present application;
[0017] Figure 6 is a schematic diagram of the structure of a physiological health indicator detection device provided in some embodiments of the present application;
[0018] Figure 7 is a schematic diagram of the structure of an electronic device provided by some embodiments of the present application;
[0019] Figure 8 It is a schematic diagram of the hardware structure of an electronic device provided in some embodiments of the present application. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0021] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0022] The terms "at least one (item)", "at least one of" and the like in the specification and claims of the present application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".
[0023] The terms involved in the embodiments of the present application are explained below.
[0024] Photoplethysmography (PPG): A non-invasive detection method that uses photoelectric means to detect changes in blood volume in living tissue. On smart wearable watches, it is generally measured by a green-wavelength LED and a photosensor located on the back of the watch. The principle is based on the fact that the blood in the arm's blood vessels changes in density when pulsating, causing changes in light transmittance. The LED emits a green-wavelength light wave, and the photosensor can receive the reflected light from the arm skin and sense the changes in the light field intensity, converting it into heart rate, and can continuously measure the heart rate.
[0025] With the rapid development of science and technology, smart wearable devices have become an important tool for modern people's health management. For example, health data detection is a basic function of smart watches. It can measure heart rate in real time through PPG, and then use relevant algorithms to convert it into health data such as stress and physical vitality that reflect the user's fatigue level.
[0026] Using smart watches to monitor sleep is a common way for people to understand their own sleep conditions. Based on the premise that smart watches use PPG to monitor health data, when users turn off the lights and prepare to go to bed at night, smart watches will use PPG green light to measure heart rate. The green light turned on will be very dazzling in the dark, thus interfering with the user's sleep and affecting sleep quality. Sleep is an indispensable physiological reaction for humans, and the quality of sleep is closely related to human health. A variety of hormones are secreted during sleep, which have the effects of promoting growth and development, lowering blood pressure, etc. in human health. Adequate sleep can promote physical and mental health and ensure normal physiological activities of the body.
[0027] The physiological health index detection method provided in the present application determines the user's first sleep time when the first detection mode is turned on; then the first detection mode is switched to the second detection mode according to the first sleep time; wherein the first detection mode is used to monitor the user's physiological health indicators through the photoplethysmography (PPG) method, and the second detection mode is used to monitor the user's physiological health indicators through infrared detection. Therefore, the physiological health index detection method proposed in the present application can automatically turn on non-disturbance detection in advance by intelligently calculating whether the user is ready to fall asleep at night based on the user's historical sleep data, sleep timing settings, the user's movement intensity, the brightness of the external environment and other information, that is, switching the green light detection to non-sensitive infrared detection, ensuring that the user will not be disturbed by the green light when wearing the watch to sleep, thereby avoiding the green light at night affecting the user's sleep, allowing the user to fall asleep peacefully, thereby improving the flexibility of the physiological health index detection method.
[0028] It should be noted that the physiological health index detection method provided in the embodiments of the present application can be executed by electronic devices such as mobile phones, tablet computers, laptop computers, PDAs, and vehicle-mounted electronic devices. In some embodiments of the present application, the physiological health index detection method provided in the embodiments of the present application is described by taking the electronic device as the execution subject to execute the physiological health index detection method.
[0029] The following is a detailed description of the physiological health indicator detection method provided in the embodiment of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0030] The present application embodiment provides a method for detecting physiological health indicators, such as Figure 1 As shown, the physiological health index detection method includes the following steps 101 to 102:
[0031] Step 101: The electronic device determines a first sleep time of a user when a first detection mode is enabled.
[0032] In some embodiments of the present application, the electronic device may determine the first sleep time of the user when the first detection mode is turned on; or, the electronic device may determine the first sleep time of the user when the first detection mode is turned on.
[0033] In some embodiments of the present application, the above-mentioned first detection mode is used to detect the physiological health indicators of the user through photoplethysmography. The photoplethysmography method detects the physiological health indicators of the user by irradiating visible light of a specific wavelength onto the surface of the human body and detecting the changes in the intensity of the reflected or transmitted light after the visible light is absorbed in the process of penetrating the skin.
[0034] In some embodiments of the present application, physiological health indicators may include heart rate, blood pressure, respiratory rate, blood oxygen saturation, blood sugar level, cholesterol level, etc.
[0035] It should be noted that the photoplethysmography method is a non-invasive monitoring method that uses photoelectric means to detect changes in blood solvents in living tissues. When a light beam of a certain wavelength is irradiated onto the surface of the skin at the fingertips, the contraction and expansion of blood vessels with each heartbeat will affect the transmission or reflection of light. These light signals are reflected to the photosensor after passing through the skin tissue. Due to the pulsation of blood in the arteries, the absorption of light will change, while the absorption of light by other tissues remains basically unchanged. This change in light signal can be converted into an electrical signal and further analyzed to extract the characteristics of blood flow, thereby measuring health indicators such as heart rate.
[0036] It should be noted that the above-mentioned physiological health indicators can also be called physiological health parameters, physiological health standards, physiological health information, biometric information, physiological function indicators, health monitoring indicators, etc.
[0037] In some embodiments of the present application, the first sleep time may be a time point or a time period, that is, the first sleep time may be an instantaneous moment or a time period lasting a certain length of time. For example, the first sleep time may be a sleeping time set by the user, for example, 22:00, 23:45, etc.; or the first sleep time may be a sleeping time period set by the user, for example, 22:00 to 22:30, 21:30 to 21:50, etc.
[0038] In some embodiments of the present application, the first sleep time may include at least one time point or at least one time period.
[0039] Exemplarily, the first sleep time may include multiple sleeping times set by the user, such as 22:00, 22:30 and 23:00; or the first sleep time may include multiple sleeping periods set by the user, such as 22:00 to 22:30, and 23:00 to 23:30.
[0040] In some embodiments of the present application, the first sleep time is determined according to the sleep time set by the user; or, the first sleep time is determined according to the historical sleep data of the user; or, the first sleep time is a time preset by the system.
[0041] It should be noted that the sleep time set by the user is the expected bedtime manually set by the user in the application of the smart device. For example, if the sleep time set by the user is 22:00, the electronic device will start the infrared detection mode ten minutes before 22:00.
[0042] It should be noted that the electronic device analyzes the user's actual sleeping time in the past period of time based on the user's historical sleep data, and then obtains a more accurate first sleeping time. For example, if the user fell asleep at 22:15 in the past month, the electronic device can start the infrared detection mode five minutes before 22:15.
[0043] It should be noted that the system preset time is a default first sleep time preset by the electronic device, which is suitable for situations where the user has not manually set it or there is no historical data for prediction. The preset time is usually based on common sleep patterns or statistical data. For example, if the system preset first sleep time is 22:00, the electronic device will start the infrared detection mode at 22:00.
[0044] In some embodiments of the present application, when the electronic device uses the first detection mode to perform health monitoring on the user, the first sleep time can be determined according to the sleep time set by the user.
[0045] In some embodiments of the present application, the electronic device may obtain application data of an alarm clock application in the electronic device, and obtain the sleep time set by the user according to the application data. For example, the application data may include information such as the sleep time set by the user.
[0046] Exemplarily, taking the first sleep time determined by the sleep time set by the user as an example, assuming that the user sets the sleep timer between 20:00 and 8:00, the electronic device believes that the user will go to sleep at the set time and uses this period as the user's sleep time, that is, the first sleep time is determined according to the sleep time set by the user.
[0047] In some embodiments of the present application, when the electronic device uses the first detection mode to perform health monitoring on the user, the electronic device can determine the first sleep time according to the historical sleep data of the user.
[0048] Exemplarily, taking the user's historical sleep data to determine the first sleep time as an example, it is assumed that the user's daily sleep time has been determined and counted, so that the electronic device obtains the historical sleep data, and then sorts the historical sleep data in chronological order to obtain the median or average of the historical sleep data, and then uses the median or average of the historical sleep data as the user's sleep time (i.e., the first sleep time), that is, the first sleep time is determined based on the user's historical sleep data.
[0049] In some embodiments of the present application, when the electronic device uses the first detection mode to perform health monitoring on the user, a system preset time can be determined as the first sleep time.
[0050] For example, taking the system preset time to determine the first sleep time as an example, assuming that according to research, the best sleep time for most people is after 22:00, the electronic device uses the fixed time point (i.e. 22:00) as the time for the user to fall asleep (i.e. the first sleep time), and determines the system preset time as the first sleep time.
[0051] Step 102: The electronic device switches the first detection mode to the second detection mode according to the first sleep time.
[0052] In some embodiments of the present application, the second detection mode is used to detect the user's physiological health indicators through an infrared detection method. The infrared detection method uses an infrared sensor to capture infrared radiation emitted from the human body surface and detects physiological health indicators by analyzing the infrared radiation.
[0053] It should be noted that the infrared detection mode uses the interaction between light signals and human tissues for detection. For example, when the infrared detection mode is used to detect heart rate, the infrared light source in the electronic device will emit infrared light to the skin surface. The infrared light penetrates the skin and reaches the subcutaneous tissue. Part of the light is absorbed by the hemoglobin in the blood, and part of the light is reflected back by the tissue and blood. The photodetector in the device then receives the reflected light signal. The intensity of these signals will change with changes in the amount of blood, thereby forming a waveform-like signal called a pulse wave. The heart rate information is extracted by processing the pulse wave information.
[0054] In some embodiments of the present application, during a preset time period before the first sleep time, the electronic device switches a first detection mode for detecting a user to a second detection mode.
[0055] Exemplarily, taking the first sleep time determined according to the sleep time set by the user as an example, assuming that the user sets the sleep timer between 20:00 and 8:00, it is considered that the user will fall asleep at the set time, and the physiological health indicator monitored by the user at this time is the heart rate. Before the sleep time set by the user, the user's heart rate is monitored by PPG technology. Then, when the current time reaches ten minutes before the sleep time set by the user and the user is in a relatively quiet state, the electronic device automatically switches to the non-sensitive infrared detection mode, thereby detecting the user's heart rate without disturbing the user's sleep.
[0056] As another example, taking the first sleep time determined based on the user's historical sleep data as an example, assuming that the user's approximate sleep time is determined to be 23:00 by counting the user's historical sleep data, and the physiological health indicator monitored by the user at this time is the heart rate, before the user's counted sleep time point is reached, the electronic device uses PPG technology to monitor the user's heart rate. When the current time is ten minutes before the user's counted sleep time point, the electronic device will turn off the PPG technology and automatically switch to infrared detection mode, thereby achieving both real-time heart rate detection and do not disturb.
[0057] In some embodiments of the present application, when the first sleep time is reached, the electronic device switches the first detection mode for detecting the user to the second detection mode.
[0058] For example, taking the first sleep time as the system preset time as an example, assuming that the system preset time is the best time for humans to fall asleep found through research, that is, 22:00, and the physiological health indicator monitored by the user at this time is the heart rate. At the same time, if the user has not set a sleep timer and has not counted historical sleep data, and the electronic device has not reached 22:00, it will use PPG technology to monitor the user's health. When the time reaches after 22:00 and it is relatively quiet, it will automatically switch to undisturbed infrared detection mode.
[0059] In some embodiments of the present application, after the electronic device determines the first sleep time, it can automatically block events that affect the user's sleep, such as watch screen lighting, incoming calls, and notifications, when the sleep time arrives or within a preset time before the first sleep time.
[0060] Exemplarily, assuming that the user sets the first sleep event to 22:00 to 7:30, the electronic device can determine that the user's sleep time is 22:00 to 7:30, and automatically block events that affect the user's sleep, such as the watch screen turning on, during the time period from 22:00 to 7:30 or ten minutes before 22:00.
[0061] In an embodiment of the present application, the electronic device determines the first sleep time of the user when the first detection mode is turned on; the first detection mode is switched to the second detection mode according to the first sleep time; wherein the first detection mode is used to monitor the physiological health indicators of the user through the photoplethysmography method PPG, and the second detection mode is used to monitor the physiological health indicators of the user through infrared detection. In this solution, by determining the first sleep time, the electronic device switches the first detection mode to the second detection mode, thereby realizing the heart rate detection by non-sensitive infrared detection instead of the traditional PPG detection mode, thus effectively avoiding the influence of the green light emitted by the traditional PPG detection mode when detecting the physiological health indicators of the user, and can ensure the sleep quality of the user, thereby improving the flexibility of the physiological health indicator detection method.
[0062] In some embodiments of the present application, Figure 2 As shown, combined with the above Figure 1 , the above step 102 may include the following steps 102a and 102b:
[0063] Step 102a: When the first sleep time is reached, the electronic device obtains first information.
[0064] Step 102b: When the first information satisfies the first condition, the electronic device switches the first detection mode to the second detection mode.
[0065] In some embodiments of the present application, the first information includes at least one of activity status information and light perception information of the user.
[0066] In some embodiments of the present application, the activity status information includes activity intensity, exercise type, step frequency, activity frequency, calorie consumption, etc.
[0067] In some embodiments of the present application, the above-mentioned activity state information is used to characterize the activity state of the user, such as walking, running, standing still, etc.
[0068] It should be noted that the activity state information may also be referred to as exercise state information, and the activity intensity may also be referred to as exercise intensity.
[0069] In some embodiments of the present application, the light perception information includes light perception value, light intensity, spectral composition, light change, light color temperature, etc.
[0070] In some embodiments of the present application, the electronic device may collect ambient light intensity information through a photoelectric sensor to obtain light sensing information.
[0071] In some embodiments of the present application, the electronic device determines that the current time has reached the first sleep time, detects and determines the step frequency of the current user, that is, the user's activity status information, and detects and determines the light sensitivity value of the environment in which the current user is located, that is, determines the light sensitivity information.
[0072] In some embodiments of the present application, the electronic device may obtain acceleration changes in different directions through an acceleration sensor to determine the motion state of the user.
[0073] Furthermore, the electronic device can analyze the data collected by acceleration through machine learning algorithms to identify the user's activity status.
[0074] For example, taking the activity status information including exercise intensity as an example, the electronic device collects the acceleration changes of the user in various directions through an acceleration sensor, and obtains the user's exercise intensity information through algorithm analysis and processing.
[0075] It should be noted that exercise intensity can reflect the user's physical exertion and amount of exercise over a period of time. When the user is about to fall asleep, the exercise intensity is usually small. Therefore, the user's exercise intensity information can be obtained to subsequently determine whether the user is in a state of about to fall asleep.
[0076] As another example, taking the activity status information including cadence as an example, the electronic device collects the user's cadence information through an acceleration sensor, such as the acceleration change and stride of each step, and obtains the user's cadence information through data processing.
[0077] It should be noted that the user's cadence information can reflect the user's walking or running rhythm. When the user is about to fall asleep, the user usually does not walk or run, that is, the measured cadence is small or 0. Therefore, the user's cadence information can be obtained to subsequently determine whether the user is in a state of being about to fall asleep.
[0078] In some embodiments of the present application, the first condition includes at least one of the following: the activity state information is less than a first threshold, and the light perception information is less than a second threshold.
[0079] In some embodiments of the present application, after the electronic device obtains the first information, it can determine whether the first information satisfies the first condition. If the first information satisfies the first condition, the electronic device will switch from the first detection mode to the second detection mode, that is, perform non-intrusive infrared detection of the user's heart rate through the second detection mode; or, if the first information does not satisfy the first condition, the electronic device continues to use the current first detection mode to detect the user's heart rate.
[0080] For example, assuming that the step frequency reaches 10 steps / minute, when the electronic device detects that the user's step frequency is 0 steps / minute using an acceleration sensor, it means that the user is in a quiet state. When it is detected that the user's step frequency reaches 20 steps / minute, it is considered that the user is active, thereby determining the first information, that is, the first information is the user's activity status information.
[0081] Exemplarily, assuming a light sensitivity value of 6lux, when the electronic device uses a photoelectric sensor to detect that the light sensitivity value of the environment is 3lux, it means that the current environment is a dark environment and is suitable for sleep. When the detected light sensitivity value of the environment is 8lux, it means that the current environment is a bright environment and is not suitable for sleep, thereby determining the first information, that is, the first information is the light sensitivity information of the user's environment.
[0082] Exemplarily, taking the activity status information including the user's step frequency of 0 steps / minute and the first threshold of 10 steps / minute as an example, assuming that the first sleep time is 20:00, and the first information is the activity status information, if the current time reaches the sleep time and the user's activity intensity is less than the first threshold, it indicates that the current user is about to fall asleep. At this time, the electronic device will switch from the PPG technology detection mode (ie, the first detection mode) to the non-sensitive infrared detection mode (ie, the second detection mode). If the user's step frequency is 30 steps / minute, it is considered that the user is active rather than preparing to fall asleep. At this time, in order to better measure the heart rate, the electronic device will exit the infrared detection mode.
[0083] Exemplarily, taking light perception information as an example, assuming that the electronic device determines that the sleep time (i.e., the first sleep time) is 20:00, if the current time reaches the sleep time, the electronic device obtains the light perception value of the user's environment through the photoelectric sensor as 3lux. Since the light perception value is less than the light perception threshold (such as 6lux), the electronic device infers that the user is in a darker environment, and thus judges that the user is about to fall asleep. The electronic device will switch from the PPG technology detection mode to the non-sensitive infrared detection mode.
[0084] Exemplarily, taking the first information as activity status information and light perception information as an example, assuming that the first threshold is an activity intensity of 10 steps / minute, the user's step frequency is 0 steps / minute, the second threshold is a light perception value of 6 lux, the light perception value of the environment is 3 lux, and the sleep time is 20:00. If the current time reaches the sleep time, and the user's activity intensity is less than the first threshold, and the light perception information of the user's environment is less than the second threshold, it is considered that the current user is about to fall asleep. At this time, the electronic device will switch from the PPG technology detection mode to the non-sensitive infrared detection mode.
[0085] In some embodiments of the present application, after the electronic device obtains the first information, if the first information satisfies the first condition and the duration of satisfying the first condition is greater than a preset duration, the electronic device will switch from the first detection mode to the second detection mode, that is, perform non-intrusive infrared detection of the user's heart rate through the second detection mode, or, if the first information does not satisfy the first condition, the electronic device continues to use the current first detection mode to detect the user's heart rate.
[0086] Exemplarily, taking the activity status information including the user's step frequency of 0 steps / minute and the first threshold of 8 steps / minute as an example, assuming that the first sleep time is 20:00, and the first information is the activity status information, if the current time reaches the sleep time, and the user's activity intensity is less than the first threshold, and the duration reaches 90s, it indicates that the current user is about to fall asleep. At this time, the electronic device will switch from the PPG technology detection mode to the non-sensitive infrared detection mode. If the user's step frequency is 25 steps / minute and the duration reaches 90s, it is considered that the user is active rather than preparing to fall asleep. At this time, in order to better measure the heart rate, the electronic device will exit the infrared detection mode.
[0087] Exemplarily, taking the light value of 6lux as the second threshold, assuming that the light value of the environment is 4lux, the sleep time is 20:00, and the first information is light information, if the current time reaches the sleep time, and the light information of the user's environment is less than the second threshold and lasts for 10s, it is inferred that the user is in a darker environment, and thus it is judged that the user is about to fall asleep, and the electronic device will switch from the PPG technology detection mode to the non-sensitive infrared detection mode.
[0088] Exemplarily, taking the first information as activity status information and light perception information as an example, assuming that the first threshold is 8 steps / minute of activity intensity, the user's step frequency is 0 steps / minute, the second threshold is a light perception value of 6 lux, the light perception value of the environment is 2 lux, and the sleep time is 20:00, if the current time reaches the sleep time, and the electronic device obtains that the user's activity intensity is less than the first threshold and lasts for 90s, and the light perception information of the user's environment is less than the second threshold and lasts for 10s, it is considered that the current user is about to fall asleep, and the electronic device will switch from the PPG technology detection mode to the non-sensitive infrared detection mode.
[0089] Exemplarily, assuming that the first sleep time is the time preset by the system, and the user has not set the sleep timer at this time and in order to calculate the user's accustomed sleep time, the system preset time is 22:00, the first information is the activity status information and the light perception information, the first threshold is the activity intensity of 10 steps / minute, the user's step frequency is 0 steps / minute, the second threshold is the light perception value of 6lux, and the light perception value of the environment is 3lux. When the time reaches 22:00, the electronic device switches from the PPG technology detection mode to the infrared detection mode. At the same time, based on the fact that the user's activity intensity is less than the first threshold and lasts for 90s, the light perception information of the user's environment is less than the second threshold and lasts for 10s, it is determined whether the user is in a sleep state. If the user is in a sleep state, the infrared detection mode continues to be turned on.
[0090] It should be noted that since the infrared light configuration signal cannot accurately measure the heart rate value when the activity intensity is high, abnormalities may occur, and the activity intensity is low during normal sleep, it is necessary to exit the infrared light configuration when the activity intensity is high, and wait for the user to be still for a period of time before starting the infrared light configuration again.
[0091] It should be noted that when the light sensor recognizes that the ambient light is dark, the infrared configuration is turned on. The reason is that the environment for sleeping at night is darker. Combined with the intensity of activity, it can be inferred whether the user is sleeping at this time. Similarly, when the ambient light is bright, the infrared configuration needs to be turned off, because the infrared detection mode is not turned on at this time, and the user will not be disturbed if he sleeps in a brighter environment.
[0092] In this way, after determining the first sleep time, combined with the first information, the user's sleeping situation can be judged more accurately, thereby achieving the flexibility of switching from the first detection mode to the second detection mode and ensuring the user's sleep quality.
[0093] In some embodiments of the present application, Figure 3 As shown, combined with the above Figure 1 , the above step 102 may further include step 102c:
[0094] Step 102c: the electronic device switches the first detection mode to the second detection mode within a preset time period before the first sleep time.
[0095] In some embodiments of the present application, after determining the first sleep time, the electronic device switches from the first detection mode to the second detection mode in advance within a preset time period before the first sleep time based on the first sleep time.
[0096] In some embodiments of the present application, the preset time period before the first sleep time may be a period of time before the user falls asleep, for example, fifteen minutes to one hour before the user falls asleep, 30 minutes before the user falls asleep, etc.
[0097] For example, taking the first sleep time determined according to the sleep time set by the user as an example, assuming that the sleep time set by the user is 21:00 to 7:00, and the preset time period is ten minutes, if the user will fall asleep at the set time, the electronic device will automatically switch from the PPG technology detection mode to the infrared detection mode ten minutes before 21:00, and the user is in a relatively quiet situation, that is, it will automatically enter the undisturbed heart rate detection.
[0098] For example, taking the first sleep time determined based on the user's historical sleep data as an example, assuming that according to the historical sleep data of the past 7 days, the user's habitual sleep time is 22:30, and the preset time period is twenty minutes, then based on the user's habitual sleep time, twenty minutes before 22:30, the electronic device will switch from the PPG technology detection mode to the infrared detection mode in advance, so as to achieve free disturbance while detecting the real-time heart rate.
[0099] Exemplarily, taking the first sleep time as the system preset time as an example, assuming that the user has not set a sleep timer, and has not counted the user's habitual sleep time, and the system preset time is not 21:30, then when the time reaches the system preset time, and it is relatively quiet, the electronic device will automatically switch from the PPG technology detection mode to the infrared detection mode, thereby entering undisturbed heart rate detection.
[0100] Exemplarily, taking the first sleep time including the sleep time set by the user and the user's historical sleep data as an example, assuming that the sleep time set by the user is 22:30 to 7:25, the sleep time counted according to the user's historical sleep data is 22:30, the preset time period is fifteen minutes, and the current time is 22:55, then the current time is within the sleep time set by the user and the counted sleep time, and thus it is considered that the user is about to fall asleep, the electronic device will switch from the PPG detection mode to the infrared detection mode fifteen minutes before the sleep time set by the user and the counted sleep time.
[0101] In this way, by entering the infrared detection mode in advance within the preset time period before the first sleep time, the user can be prevented from being affected during sleep, which reflects the flexibility of the physiological health indicator detection method in detecting the user's physiological health.
[0102] In some embodiments of the present application, Figure 4 As shown, combined with the above Figure 1 After the above step 102, the method of the present application further includes steps 103 and 104:
[0103] Step 103: The electronic device obtains first information.
[0104] Step 104: When the first information satisfies the second condition, the electronic device switches the second detection mode to the first detection mode.
[0105] In some embodiments of the present application, the electronic device obtains the first information by detecting the user's step frequency and the light sensitivity value of the environment.
[0106] Exemplarily, assuming that the step frequency reaches 5 steps / minute, when the user's step frequency is detected to be 0 steps / minute, it means that the user is in a quiet state. When the user's step frequency is detected to be 15 steps / minute, it is considered that the user is active, thereby obtaining the first information.
[0107] Exemplarily, assuming a light sensitivity value of 6lux, when the detected ambient light sensitivity value is 2lux, it means that the current environment is a dark environment, which is suitable for sleeping. When the detected ambient light sensitivity value is 7lux, it means that the current environment is a bright environment, which is not suitable for sleeping, thereby obtaining the first information.
[0108] In some embodiments of the present application, the second condition includes at least one of the following: the activity state information is greater than or equal to the activity state threshold, and the light perception information is greater than or equal to the light perception threshold.
[0109] In some embodiments of the present application, when the first information satisfies the second condition, the electronic device will switch the user's heart rate detection method from the non-intrusive infrared detection mode to the PPG technology detection mode.
[0110] Exemplarily, taking the first information as activity status information, assuming that the activity status threshold is 6 steps / minute, and the user's step frequency is 8 steps / minute, at this time the user's activity intensity is greater than the activity status threshold, it is considered that the current user is not asleep, and the electronic device will switch from the non-sensitive infrared detection mode to the PPG technology detection mode.
[0111] Exemplarily, taking the first information as light perception information, assuming that the light perception threshold is 6lux, and the light perception value of the environment is 9lux, at this time the light perception information of the user's environment is greater than the light perception threshold, it is inferred that the user is in a brighter environment, and thus it is judged that the user is not asleep, and the electronic device will switch from the non-sensitive infrared detection mode to the PPG technology detection mode.
[0112] Exemplarily, taking the first information as activity status information and light perception information as an example, assuming that the activity status threshold is 6 steps / minute, and the user's step frequency is 6 steps / minute, the light perception threshold is 6lux, and the light perception value of the environment is 6lux, at this time the user's activity intensity is equal to the activity status threshold, and the light perception information of the user's environment is equal to the light perception threshold, then it is considered that the current user is not asleep, and the electronic device will switch from the non-sensitive infrared detection mode to the PPG technology detection mode.
[0113] In some embodiments of the present application, when the duration during which the first information meets the second condition exceeds a predetermined duration, the electronic device will switch the user's heart rate detection method from the non-intrusive infrared detection mode to the PPG technology detection mode.
[0114] Exemplarily, taking the first information as activity status information, assuming that the activity status threshold is 6 steps / minute and the user's step frequency is 10 steps / minute, at this time the user's activity intensity is greater than the activity status threshold and the duration reaches 90s, it is considered that the current user is not asleep. At this time, the electronic device will switch from the non-sensitive infrared detection mode to the PPG technology detection mode.
[0115] Exemplarily, taking the first information as light perception information, assuming that the light perception threshold is 6lux, and the light perception value of the environment is 12lux, at this time the light perception information of the user's environment is greater than the light perception threshold and lasts for 10s, it is inferred that the user is in a brighter environment, and thus it is judged that the user is not asleep, and the electronic device will switch from the non-sensitive infrared detection mode to the PPG technology detection mode.
[0116] Exemplarily, taking the first information as activity status information and light perception information as an example, assuming that the activity status threshold is 6 steps / minute, and the user's step frequency is 6 steps / minute, the light perception threshold is 6lux, and the light perception value of the environment is 6lux, at this time the user's activity intensity is equal to the activity status threshold, and the duration reaches 90s, the light perception information of the user's environment is equal to the light perception threshold, and lasts for 10s, then it is considered that the current user is not asleep, and the electronic device will switch from the non-sensitive infrared detection mode to the PPG technology detection mode.
[0117] In this way, based on the first information, the user's sleep condition can be accurately judged, thereby achieving switching from the second detection mode to the first detection mode, which reflects the user's flexibility in heart rate detection, ensuring the user's sleep quality and monitoring the heart rate in real time.
[0118] The above physiological health indicator detection method is explained below through a specific example.
[0119] For example, Figure 5 As shown, the physiological health index detection method includes the following steps 201 to 208.
[0120] Step 201: Initialize activity detection related parameters.
[0121] It should be noted that the activity intensity detection window data and the light sensing buffer data are initialized only once.
[0122] Step 202: Is infrared configuration currently in progress?
[0123] It should be noted that if the infrared configuration is currently in progress, no operation is required.
[0124] Step 203: Whether the time is between 20:00 and 8:00.
[0125] It should be noted that the current do not disturb mechanism is effective between 20:00 and 8:00.
[0126] Step 204: Obtain the sleep time set by the user and the user's historical sleep data, and determine whether the current time exceeds the set time.
[0127] For example, if the user sets a sleep timer (the user's planned sleep time) or the user's habitual sleep time range calculated based on the sleep data of the past 7 days, it is determined whether the current time is within these two time periods. If it is within this time period, it is considered that the user may fall asleep at this time, and the infrared configuration is immediately turned on.
[0128] Step 205: Whether it is past 22:00.
[0129] For example, when the user has not set a sleep timer and has not calculated the habitual sleep time, the interference-free detection mechanism will be forced to start at 22:00, and then it will be inferred whether the user is in a sleeping scene based on the intensity of movement and light perception.
[0130] It should be noted that since the infrared light configuration signal is not good when the body moves a lot, the measured heart rate value may be abnormal, and the body movement is relatively small during normal sleep, it is necessary to exit the infrared light configuration when the body moves a lot, and wait for the user to be still for a while before starting the infrared light configuration again.
[0131] It should be noted that when the light sensor recognizes that the ambient light is dark, the infrared configuration is turned on. The reason is that the environment for sleeping at night is generally darker. Combined with the body movement value, it can be inferred that the user is likely to be sleeping at this time. Similarly, when the ambient light is bright, the infrared needs to be turned off, because even if the infrared configuration is not turned on, it will not interfere with the user if he is really sleeping at this time.
[0132] Step 206: Obtain the exercise intensity in the last three minutes.
[0133] Step 207: Check whether the device has been stationary for more than 90 seconds.
[0134] Step 208: Whether the light intensity is less than a threshold.
[0135] The present application utilizes the combination of the first sleep time and the first information, so that when the user performs heart rate detection in the sleep state, the traditional PPG technology detection mode can be switched to the non-intrusive infrared detection mode, ensuring that the user will not be disturbed by green light when wearing a smart watch to sleep, while improving the flexibility of heart rate detection during sleep and ensuring the user's sleep quality.
[0136] It should be noted that the above-mentioned method embodiments, or various possible implementation methods in each method embodiment, can be executed separately, or, under the premise that there is no contradiction, can also be executed in combination with each other. The specific implementation can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0137] The physiological health index detection method provided in the embodiment of the present application can be executed by a physiological health index detection device. In the embodiment of the present application, the method of performing physiological health index detection by a physiological health index detection device is taken as an example to illustrate the physiological health index detection device provided in the embodiment of the present application.
[0138] Figure 6 A schematic diagram of a physiological health indicator detection device provided in an embodiment of the present application, such as Figure 6 As shown, the physiological health index detection device 600 may include: a determination module 601 and a processing module 602, wherein: the above-mentioned determination module is used to determine the user's first sleep time when the first detection mode is turned on; the above-mentioned processing module is used to switch the first detection mode to the second detection mode according to the first sleep time; wherein, the first detection mode is used to monitor the user's physiological health indicators through PPG, and PPG detects the user's physiological health indicators by irradiating visible light of a specific wavelength to the surface of the human body and detecting the change in the intensity of the reflected or transmitted light after the visible light is absorbed in the process of penetrating the skin. The second detection mode is used to monitor the user's physiological health indicators by infrared detection. The infrared detection method uses an infrared sensor to capture infrared radiation emitted by the surface of the human body, and detects physiological health indicators by analyzing the infrared radiation.
[0139] In some embodiments of the present application, the first sleep time is determined according to the sleep time set by the user; or, the first sleep time is determined according to the historical sleep data of the user; or, the first sleep time is a time preset by the system.
[0140] In some embodiments of the present application, the physiological health indicator detection device 600 also includes: an acquisition module 603, the acquisition module is used to obtain first information when the first sleep time is reached, the first information includes at least one of the user's activity status information and light perception information; the processing module is specifically used to switch the first detection mode to the second detection mode when the first information meets the first condition; wherein the first condition includes at least one of the following: the activity status information is less than the first threshold; the light perception information is less than the second threshold.
[0141] In some embodiments of the present application, the processing module is specifically configured to switch the first detection mode to the second detection mode within a preset time period before the first sleep time.
[0142] In some embodiments of the present application, the above-mentioned acquisition module is also used to acquire first information after the first detection mode is switched to the second detection mode according to the first sleep time, and the first information includes at least one of the user's activity status information and light perception information; the above-mentioned processing module is also used to switch the second detection mode to the first detection mode when the first information satisfies a second condition; wherein the second condition includes at least one of the following: the activity status information is greater than or equal to the activity status threshold; the light perception information is greater than or equal to the light perception threshold.
[0143] The physiological health index detection device provided in the embodiment of the present application determines the first sleep time of the user when the first detection mode is turned on; and switches the first detection mode to the second detection mode according to the first sleep time; wherein the first detection mode is used to monitor the physiological health index of the user through PPG, and the second detection mode is used to monitor the physiological health index of the user through infrared detection. In this solution, after determining the first sleep time, the electronic device switches the first detection mode to the second detection mode, thereby replacing the traditional PPG detection mode with non-contact infrared detection for heart rate detection. In this way, the influence of visible light emitted by the traditional PPG detection mode when detecting the physiological health index of the user is effectively avoided, and the sleep quality of the user can be guaranteed, thereby improving the flexibility of the physiological health index detection method.
[0144] The physiological health index detection device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than the terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a palmtop computer, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobilepersonal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.
[0145] The physiological health index detection device in the embodiment of the present application can be a device with an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0146] The physiological health index detection device provided in the embodiment of the present application can achieve Figures 1 to 5 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0147] Alternatively, if Figure 7 As shown, an embodiment of the present application also provides an electronic device 700, including a processor 701 and a memory 702, wherein the memory 702 stores programs or instructions that can be executed on the processor 701, and when the program or instructions are executed by the processor M01, the various steps of the above-mentioned physiological health indicator detection method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0148] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0149] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0150] The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810 and other components.
[0151] Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0152] Among them, the above-mentioned processor 810 is used to determine the user's first sleep time when the first detection mode is turned on; the processor 810 is also used to switch the first detection mode to the second detection mode according to the first sleep time; wherein, the first detection mode is used to monitor the user's physiological health indicators through PPG, PPG detects the user's physiological health indicators by irradiating visible light of a specific wavelength to the human body surface, and by detecting the change in the intensity of the reflected or transmitted light after the visible light is absorbed in the process of penetrating the skin, the second detection mode is used to monitor the user's physiological health indicators through infrared detection, the infrared detection method uses an infrared sensor to capture the infrared radiation emitted by the human body surface, and detects the physiological health indicators by analyzing the infrared radiation.
[0153] In some embodiments of the present application, the first sleep time is determined according to the sleep time set by the user; or, the first sleep time is determined according to the historical sleep data of the user; or, the first sleep time is a time preset by the system.
[0154] In some embodiments of the present application, the above-mentioned processor 810 is used to obtain first information when the first sleep time is reached, and the first information includes at least one of the user's activity status information and light perception information; the processor 810 is specifically used to switch the first detection mode to the second detection mode when the first information satisfies a first condition; wherein the first condition includes at least one of the following: the activity status information is less than a first threshold; the light perception information is less than a second threshold.
[0155] In some embodiments of the present application, the processor 810 is specifically configured to switch the first detection mode to the second detection mode within a preset time period before the first sleep time.
[0156] In some embodiments of the present application, the above-mentioned processor 810 is also used to obtain first information after switching the first detection mode to the second detection mode according to the first sleep time, and the first information includes at least one of the user's activity status information and light perception information; the processor 810 is also used to switch the second detection mode to the first detection mode when the first information satisfies a second condition; wherein the second condition includes at least one of the following: the activity status information is greater than or equal to the activity status threshold; the light perception information is greater than or equal to the light perception threshold.
[0157] The electronic device provided in the embodiment of the present application determines the first sleep time of the user when the first detection mode is turned on; the first detection mode is switched to the second detection mode according to the first sleep time; wherein the first detection mode is used to monitor the physiological health indicators of the user through the photoplethysmography (PPG) method, and the second detection mode is used to monitor the physiological health indicators of the user through infrared detection. In this solution, by determining the first sleep time, the electronic device switches the first detection mode to the second detection mode, thereby realizing the heart rate detection by replacing the traditional PPG detection mode with the non-sensitive infrared detection, thus effectively avoiding the influence of the visible light emitted by the traditional PPG detection mode when detecting the physiological health indicators of the user, and can ensure the sleep quality of the user, thereby improving the flexibility of the physiological health indicator detection method.
[0158] It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0159] The memory 809 can be used to store software programs and various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0160] The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.
[0161] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned physiological health indicator detection method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0162] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0163] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned physiological health indicator detection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0164] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0165] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned physiological health indicator detection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0166] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device 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, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0167] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0168] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for detecting physiological health indicators, characterized in that: The method includes: When the first detection mode is turned on, determining a first sleep time of the user; switching the first detection mode to a second detection mode according to the first sleep time; Among them, the first detection mode is used to detect the user's physiological health indicators through photoplethysmography (PPG), and the PPG detects the user's physiological health indicators by irradiating visible light of a specific wavelength to the human body surface and detecting the change in the intensity of the reflected or transmitted light after the visible light is absorbed in the process of penetrating the skin. The second detection mode is used to detect the user's physiological health indicators through an infrared detection method, and the infrared detection method uses an infrared sensor to capture infrared radiation emitted from the human body surface, and detects the physiological health indicators by analyzing the infrared radiation.
2. The method according to claim 1, characterized in that: The first sleep time is determined according to the sleep time set by the user; or, the first sleep time is determined according to the historical sleep data of the user; or, the first sleep time is a time preset by the system.
3. The method according to claim 1 or 2, characterized in that: The switching the first detection mode to the second detection mode according to the first sleep time includes: When the first sleeping time is reached, obtaining first information, where the first information includes at least one of activity state information and light perception information of the user; When the first information satisfies a first condition, switching the first detection mode to a second detection mode; The first condition includes at least one of the following: The activity status information is less than a first threshold; The light sensing information is less than a second threshold.
4. The method according to claim 1 or 2, characterized in that: The switching the first detection mode to the second detection mode according to the first sleep time includes: The first detection mode is switched to a second detection mode within a preset time period before the first sleep time.
5. The method according to claim 1 or 2, characterized in that: After switching the first detection mode to a second detection mode according to the first sleep time, the method further includes: Acquire first information, where the first information includes at least one of activity state information and light perception information of a user; When the first information satisfies a second condition, switching the second detection mode to the first detection mode; The second condition includes at least one of the following: The activity state information is greater than or equal to an activity state threshold; The light perception information is greater than or equal to a light perception threshold.
6. A physiological health index detection device, characterized in that: The device comprises: a determination module and a processing module, wherein: The determination module is used to determine the first sleep time of the user when the first detection mode is turned on; The processing module is configured to switch the first detection mode to a second detection mode according to the first sleep time; Among them, the first detection mode is used to detect the user's physiological health indicators through photoplethysmography (PPG), and the PPG detects the user's physiological health indicators by irradiating visible light of a specific wavelength to the human body surface and detecting the change in the intensity of the reflected or transmitted light after the visible light is absorbed in the process of penetrating the skin. The second detection mode is used to detect the user's physiological health indicators through an infrared detection method, and the infrared detection method uses an infrared sensor to capture infrared radiation emitted from the human body surface, and detects the physiological health indicators by analyzing the infrared radiation.
7. The device according to claim 6, characterized in that: The first sleep time is determined according to the sleep time set by the user; or, the first sleep time is determined according to the historical sleep data of the user; or, the first sleep time is a time preset by the system.
8. The device according to claim 6 or 7, characterized in that: The device also includes: an acquisition module; The acquisition module is configured to acquire first information when the first sleep time is reached, wherein the first information includes at least one of the user's activity state information and light perception information; The processing module is specifically configured to switch the first detection mode to a second detection mode when the first information satisfies a first condition; The first condition includes at least one of the following: The activity status information is less than a first threshold; The light sensing information is less than a second threshold.
9. The device according to claim 6 or 7, characterized in that: The processing module is specifically configured to switch the first detection mode to a second detection mode within a preset time period before the first sleep time.
10. The device according to claim 6 or 7, characterized in that: The acquisition module is further configured to acquire first information after switching the first detection mode to the second detection mode according to the first sleep time, wherein the first information includes at least one of the user's activity state information and light perception information; The processing module is further configured to switch the second detection mode to the first detection mode when the first information satisfies a second condition; The second condition includes at least one of the following: The activity state information is greater than or equal to an activity state threshold; The light perception information is greater than or equal to a light perception threshold.
Citation Information
Patent Citations
Physiological monitoring system and control method for a vital-sign detection device
CN111714109A
