Respiration monitoring method, system and related device
By obtaining and analyzing the user's breathing rate and breathing rhythm in real time, using the first electronic device to monitor the respiratory status in real time in daily life, it solves the problem that existing medical equipment is difficult to monitor in real time, reduces the risk of missed respiratory abnormalities and screening, and improves user safety guarantees.
Patent Information
- Application Number
- CN202311594032.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2025-05-27
AI Technical Summary
It is difficult for existing medical equipment to monitor the user's respiratory status in real time in daily life, and there is a risk of missed screening for respiratory abnormalities.
Through a breath monitoring method and system, the first electronic device is used to obtain the user's breathing rate and breathing rhythm in real time. Based on these indicators, the prompts are prompted to prompt whether the user's breathing status is normal, and dial the emergency number or send an emergency text message if necessary.
It realizes that users can monitor their respiratory status in real time in daily life, reduces the risk of missed respiratory abnormalities, and improves users' safety guarantees.
Smart Images

Figure CN120036762A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a respiratory monitoring method, system and related devices. Background Art
[0002] Breathing is one of the important vital signs of the human body. The respiratory status can reflect the health status of the human body. Therefore, the respiratory monitoring function is an important basic function in the health monitoring function. With the continuous development of electronic technology, medical equipment such as ventilators and polysomnography monitors can monitor respiratory health.
[0003] The ventilator may include a flow sensor. When monitoring the user's breathing, the ventilator may measure the gas flow inhaled and exhaled by the user through the flow sensor, determine the user's breathing rate based on the gas flow inhaled and exhaled by the user, and determine whether the user's breathing state is normal based on the breathing rate.
[0004] Although the above method can measure the user's breathing rate, in real life, medical equipment is mostly used in clinical medicine. The equipment is expensive and complicated to operate, and it is not convenient for users to carry it with them. Users cannot monitor their breathing at any time in daily life. Summary of the invention
[0005] The present application provides a respiratory monitoring method, system and related devices, which realize real-time monitoring of the user's respiratory status and can also reduce the risk of missed screening of respiratory abnormalities.
[0006] In a first aspect, the present application provides a respiratory monitoring method, applied to a first electronic device, the method comprising: obtaining a first respiratory rate and a first respiratory rhythm of a user within a first time period; if the first respiratory rate belongs to a first interval and the first respiratory rhythm belongs to a second interval, outputting a first prompt, the first prompt being used to prompt the user that the breathing is normal.
[0007] In a possible implementation, if the first respiratory rate does not belong to the first interval, and / or the first respiratory rhythm does not belong to the second interval, a second prompt is output, and the second prompt is used to prompt the user of abnormal breathing.
[0008] The first respiratory rate does not belong to the first interval, and / or the first respiratory rhythm does not belong to the second interval, which may include the following three situations:
[0009] Case 1: The first respiratory rate does not belong to the first interval, and the first respiratory rhythm belongs to the second interval;
[0010] Case 2: The first respiratory rate belongs to the first interval, and the first respiratory rhythm does not belong to the second interval;
[0011] Case 3: The first respiratory rate does not belong to the first interval, and the first respiratory rhythm does not belong to the second interval.
[0012] In this way, it is convenient for the user to monitor breathing through the first electronic device anytime and anywhere to obtain the user's respiratory health status. In addition, using the above-mentioned respiratory monitoring method, the first electronic device can also detect the user's normal respiratory rate and abnormal respiratory rate, which can reduce the risk of missed detection and screening of abnormal breathing.
[0013] In one possible implementation, obtaining a first respiratory rate and a first respiratory rhythm of a user in a first time period specifically includes: when it is detected that a first condition is met, obtaining the first respiratory rate and the first respiratory rhythm of the user in the first time period; the first condition includes any one or more of the following: receiving an operation from the user to turn on respiratory monitoring, receiving an operation from the user to turn on a meditation function, receiving a start instruction sent by a second electronic device, detecting that the user's physiological state is abnormal, detecting that the user's psychological state is abnormal, detecting that the user is in motion, detecting that the user's body posture is abnormal, detecting that the user's sports equipment is abnormal, and detecting that the user's position is within a preset area.
[0014] Exemplarily, abnormal physiological state may include, but is not limited to, any one or more of the following: blood oxygen concentration does not belong to the preset blood oxygen concentration range, heart rate does not belong to the preset heart rate range, blood sugar does not belong to the preset blood sugar range, body temperature does not belong to the preset body temperature range, blood pressure does not belong to the preset blood pressure range, the user suffers from a specific disease (such as respiratory disease, etc.).
[0015] As another example, an abnormal psychological state may include, but is not limited to, any one or more of the following: the user is depressed, the user is excited, the user is frightened, the user's stress value does not belong to a preset stress value range, etc.
[0016] As another example, the exercise state may include, but is not limited to, any one or more of the following: mountain climbing, diving, running, swimming, yoga, skipping, cycling, etc.
[0017] As another example, the abnormal body posture of the user may include, but is not limited to, any one or more of the following: the user falls, the user misses a step, etc.
[0018] As another example, the abnormality of the user's sports equipment may include, but is not limited to, any one or more of the following: the oxygen remaining in the oxygen cylinder is lower than the preset oxygen amount, the bicycle's travel resistance is greater than the preset resistance, the weight of the smart backpack is greater than the preset weight, etc.
[0019] As another example, the preset area range may include, but is not limited to: the altitude of the user is higher than the preset altitude, the water pressure at the user's location is higher than the preset water pressure value, etc.
[0020] In this way, the first electronic device can start monitoring the user's respiratory health status in response to user operations or instructions sent by other electronic devices. In addition, the first electronic device can also trigger monitoring of the user's respiratory health status when factors such as the user's physiological state, psychological state, and location are abnormal.
[0021] In one possible implementation, if the first respiratory rate does not belong to the first interval, or the first respiratory rhythm does not belong to the second interval, the method also includes: dialing a first number, the first number being an emergency number or an emergency contact number preset by the user; and / or, sending a first text message to the electronic device corresponding to the first number, the first text message being used to indicate that an emergency situation has occurred to the user of the first electronic device.
[0022] In this way, when the user has abnormal breathing, the first electronic device can ask others for help in time, thereby increasing the user's safety.
[0023] In a possible implementation manner, the method further includes: before outputting the first prompt or the second prompt, determining that the user state is a first state; and determining the first interval and the second interval based on the first state.
[0024] In this way, the first electronic device can determine the normal value range of the breathing index based on the real-time state of the user. Since different user states will affect the breathing rate and breathing rhythm, determining the first interval and the second interval based on the real-time state of the user can avoid false detection, missed detection, etc. caused by changes in the user state, making the monitoring result more accurate.
[0025] In a possible implementation, determining that the user status is the first status specifically includes: the first electronic device obtains user information, or receives user information sent by the second electronic device; and determining that the user status is the first status based on the user information.
[0026] In this way, the first electronic device can determine the user status based on the user information in real time. It should be noted that the first electronic device can detect the user information, determine the user information based on the user's input to the first electronic device, and receive the user information sent by the second electronic device.
[0027] In a possible implementation, the user information includes any one or more of the following: physiological information, psychological information, motion information, sports equipment information, posture information, location information, and interaction information.
[0028] Among them, physiological information can be used to characterize the user's physiological state, and the physiological information may include but is not limited to any one or more of the following: blood oxygen concentration, heart rate, blood sugar, body temperature, blood pressure, disease information, etc.; psychological information can be used to characterize the user's psychological state, and the psychological information may include but is not limited to any one or more of the following: stress value, low mood, stable mood, high mood, frightened, etc.; sports information can be used to characterize the user's sports state, and the sports information may include but is not limited to any one or more of the following: swimming, diving, cycling, running, climbing, skipping rope, yoga, etc.; sports equipment information can be used to characterize the state of sports equipment, and the sports equipment information may include but is not limited to any one or more of the following: oxygen remaining in the oxygen cylinder, weight of the smart backpack, travel time of the bicycle The posture information can be used to characterize the user's body posture, and the posture information may include but is not limited to any one or more of the following: falling, stepping on air, standing still, etc. The location information can be used to characterize the user's location, and the location information may include but is not limited to any one or more of the following: the user's geographic location, the latitude and longitude information of the user's location, the altitude information of the user's location, the depth information of the user's location, etc. The interaction information may include interaction operations between the user and the first electronic device (or the second electronic device), such as receiving an operation from the user to turn on breathing monitoring, receiving an operation from the user to start meditation breathing, etc. The interaction information may also include communication interactions between the first electronic device and the second electronic device, such as a startup instruction sent by the second electronic device to the first electronic device, etc.
[0029] In another possible implementation, the user information may also include more, less, or different information than that in the above implementation.
[0030] Exemplarily, the first electronic device can detect the user's motion information and posture information through devices such as gyroscopes and accelerometers; the first electronic device can detect the user's heart rate, blood oxygen concentration, blood pressure and other physiological information through devices such as PPG modules; the first electronic device can also collect the user's facial expressions through a camera, and determine the user's emotional state through algorithm models such as image analysis and facial expression analysis; the first electronic device can also determine the user's pressure value and other psychological information based on the physiological information; the first electronic device can also detect the user's interaction information through a touch sensor; the first electronic device can detect the user's location information through a position sensor (such as a global positioning chip, etc.); the first electronic device can also detect the air pressure of the user's environment based on a pressure sensor, and determine the user's altitude and other location information based on the air pressure value, and so on.
[0031] It can be understood that the implementation methods described here are just some examples. In other possible implementation methods, the first electronic device may include more, fewer or different devices than those described above. Moreover, the first electronic device may also collect user information through sensors or other devices that are different from those described above.
[0032] In one possible implementation, if the first respiratory rate belongs to the first interval and the first respiratory rhythm belongs to the second interval, a first prompt is output, specifically including: if the first respiratory rate belongs to the first interval and the first respiratory rhythm belongs to the second interval, when it is determined that the user is not in a sleeping state, a first prompt is output.
[0033] In this way, in the sleeping state, if the first electronic device determines that the user's breathing is normal, it can output the first prompt after the user wakes up. The user can see the output first prompt after waking up.
[0034] In one possible implementation, if the first respiratory rate does not belong to the first interval, and / or the first respiratory rhythm does not belong to the second interval, a second prompt is output, specifically including: if the first respiratory rate does not belong to the first interval, and / or the first respiratory rhythm does not belong to the second interval, when it is determined that the user is in a sleeping state, the user is woken up and a second prompt is output.
[0035] The first respiratory rate does not belong to the first interval, and / or the first respiratory rhythm does not belong to the second interval, which may include the following three situations:
[0036] Case 1: The first respiratory rate does not belong to the first interval, and the first respiratory rhythm belongs to the second interval;
[0037] Case 2: The first respiratory rate belongs to the first interval, and the first respiratory rhythm does not belong to the second interval;
[0038] Case 3: The first respiratory rate does not belong to the first interval, and the first respiratory rhythm does not belong to the second interval.
[0039] In this way, in the sleeping state, if the first electronic device determines that the user has abnormal breathing, it can wake up the user and output the second prompt, so as to prevent the user from falling into a coma due to abnormal breathing and enhance the safety of the user.
[0040] In one possible implementation, before obtaining the user's first breathing rate and first breathing rhythm in the first time period, the method also includes: receiving an operation by the user to turn on a meditation function; outputting a first prompt, specifically including: playing the first prompt by voice; and outputting a second prompt, specifically including: playing the second prompt by voice.
[0041] In this way, after the user activates the meditation function, the first electronic device can output a prompt (the first prompt or the second prompt) by voice playback to prevent the user from missing the prompt due to lack of time to open his eyes in the meditation state.
[0042] In one possible implementation, the method also includes: if the first breathing rate does not belong to the first interval, or the first breathing rhythm does not belong to the second interval, outputting a third prompt, the third prompt being used to prompt the user to adjust any one or more of the following: breathing posture, breathing rate, and breathing rhythm.
[0043] In this way, when the user has abnormal breathing, the first electronic device can guide the user to adjust the breathing strategy through the third prompt to help the user restore normal breathing.
[0044] In one possible implementation, before obtaining the user's first respiratory rate and first respiratory rhythm in a first time period, the method also includes: displaying a first interface of a first application, the first interface including a first control, and the first control is used to trigger obtaining the user's respiratory rate and respiratory rhythm; receiving a first operation of the user on the first control.
[0045] In this way, the first electronic device can trigger breathing monitoring in response to the user's first operation on the first control.
[0046] In one possible implementation, the method also includes: displaying a second interface, the second interface including any one or more of the following: a first prompt, a second prompt, a first respiratory rate, a first respiratory rhythm, a first interval, a second interval, a respiratory interval, a respiratory tidal value, a respiratory depth, and a respiratory waveform.
[0047] In this way, after obtaining the monitoring result, the first electronic device can output one or more monitored contents on the second interface, and can also display the normal value range of the breathing index.
[0048] In a possible implementation, obtaining a first respiratory rate and a first respiratory rhythm of a user in a first time period specifically includes: obtaining first respiratory information of the user in the first time period; determining the first respiratory rate, one or more respiratory intervals, one or more respiratory tidal values, and one or more respiratory depths in the first time period based on the first respiratory information; determining the first respiratory rhythm based on the one or more respiratory intervals, one or more respiratory tidal values, and one or more respiratory depths.
[0049] In this way, the first electronic device can determine the first respiratory rhythm based on the monitored breathing depth, breathing interval and respiratory tidal values.
[0050] In a possible implementation, determining the first respiratory rhythm based on one or more respiratory intervals, one or more respiratory tidal values, and one or more respiratory depths specifically includes: performing weighted summation of the one or more respiratory intervals, one or more respiratory tidal values, and one or more respiratory depths to obtain the first respiratory rhythm.
[0051] In one possible implementation, obtaining a first respiratory rate and a first respiratory rhythm of a user in a first time period specifically includes: obtaining first respiratory information of the user in the first time period; sending the first respiratory information to a second electronic device; and receiving the first respiratory rate and the first respiratory rhythm sent by the second electronic device.
[0052] In this way, the first respiratory rate and the first respiratory rhythm can also be determined by the second electronic device based on the first respiratory information, and the first respiratory rate and the first respiratory rhythm can be sent to the first electronic device.
[0053] In one possible implementation, the first electronic device includes a photoplethysmography (PPG) module and / or an acceleration sensor; obtaining a first respiratory rate and a first respiratory rhythm of a user in a first time period specifically includes: obtaining the first respiratory rate and the first respiratory rhythm of the user in the first time period through the PPG module and / or the acceleration sensor.
[0054] In this way, the first electronic device can obtain the first respiratory rate and the first respiratory rhythm of the user in the first time period through the PPG module and / or the acceleration sensor.
[0055] In a possible implementation, the first electronic device is any one of wearable devices: a watch, a bracelet, a ring, and smart glasses, etc. In another possible implementation, the first electronic device may also be an electronic device with a device form different from the above wearable device.
[0056] In this way, the first electronic device is convenient for users to carry around, so that users can perform real-time respiratory monitoring anytime and anywhere.
[0057] In a second aspect, the present application provides an electronic device, which is a first electronic device, and the first electronic device includes one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions. When the one or more processors execute the computer instructions, the communication device executes the respiratory monitoring method in any possible implementation of any of the above aspects.
[0058] In a third aspect, the present application provides a chip system, which is applied to a first electronic device, and the chip system includes: a processing circuit and an interface circuit, the interface circuit is used to receive code instructions and transmit them to the processing circuit, and the processing circuit is used to run the code instructions so that the chip system executes the respiratory monitoring method in any possible implementation of any of the above aspects.
[0059] In a fourth aspect, an embodiment of the present application provides a readable storage medium, including instructions, which, when executed on a first electronic device, enable the first electronic device to execute a respiratory monitoring method in any possible implementation of any of the above aspects.
[0060] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a first electronic device, the first electronic device executes the respiratory monitoring method in any possible implementation of any of the above aspects.
[0061] The beneficial effects of the second to fifth aspects can refer to the beneficial effects of the first aspect mentioned above. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 A schematic diagram of the system architecture of a respiratory monitoring system 10 provided in an embodiment of the present application;
[0063] Figure 2 A schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application;
[0064] Figure 3A-3B A schematic diagram of the waveform of a respiratory signal under two conditions of the same respiratory rate provided in an embodiment of the present application;
[0065] Figure 4 A schematic diagram of a respiratory monitoring method provided in an embodiment of the present application;
[0066] Figure 5 A waveform diagram of a breathing signal provided in an embodiment of the present application;
[0067] Figure 6 A schematic diagram of a process for determining an evaluation result based on a respiratory index provided in an embodiment of the present application;
[0068] Figure 7A-7D A schematic diagram of an interface for outputting evaluation results provided in an embodiment of the present application;
[0069] Figure 8A-8B A schematic diagram of an interface for outputting evaluation results provided in an embodiment of the present application;
[0070] Figure 9A-9B A schematic diagram of an output interface of a set of breathing strategies provided in an embodiment of the present application;
[0071] Figures 10A-10D A schematic diagram of an interface in a group of meditation breathing application scenarios provided in an embodiment of the present application;
[0072] Fig.11 A schematic diagram of functional modules of a respiratory monitoring system 10 provided in an embodiment of the present application;
[0073] Fig.12 A schematic diagram of a respiratory monitoring method provided in an embodiment of the present application;
[0074] Fig.13 A schematic diagram of the physical structure of an electronic device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0075] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0076] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0077] The term "user interface (UI)" in the following embodiments of the present application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device, and finally presented as content that can be recognized by the user. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.
[0078] Some terms involved in the embodiments of the present application are introduced below.
[0079] Respiration rate (RR): Respiration rate, also known as respiratory frequency, or simply respiratory rate, refers to the number of breaths completed per minute. A complete breath can include one inhalation and one exhalation. The user's health, age, condition and other factors will affect the user's respiration rate. The normal respiration rate of an adult at rest ranges from 12-20 breaths per minute (bpm).
[0080] Tachypnea: When an adult's breathing rate at rest is greater than the highest value of the breathing rate range (e.g. 24 bpm), it is called tachypnea.
[0081] Bradypnea: When an adult's breathing rate at rest is less than the minimum value of the breathing rate range (e.g. 10 bpm), it is called bradypnea.
[0082] Breathing interval: Breathing interval refers to the time required to complete a breath. The time interval between each breath can be different.
[0083] Respiratory cycle: The respiratory cycle refers to the average time required for a single breath. The respiratory cycle is inversely proportional to the respiratory rate.
[0084] Respiratory tidal value: The respiratory tidal value refers to the estimated value of the sum of the amount of gas exhaled and the amount of gas inhaled during a single breath.
[0085] Respiratory depth: Respiratory depth refers to the sum of the change in the respiratory signal when the user exhales and the change in the respiratory signal when the user inhales.
[0086] Respiratory rhythm: Respiratory rhythm refers to the rhythm of the breathing process. Under normal circumstances, the respiratory rhythm is uniform and regular, and the intervals between each breath are substantially equal. In the embodiment of the present application, the respiratory rhythm can be determined based on the breathing depth, breathing interval and breathing tidal value.
[0087] The following is a schematic diagram of the system architecture of a respiratory monitoring system 10 provided in an embodiment of the present application.
[0088] like Figure 1 As shown, the respiratory monitoring system 10 may include an electronic device 100 and an electronic device 200. A communication connection may be established between the electronic device 100 and the electronic device 200, and the communication connection may be a wireless communication connection or a wired communication connection.
[0089] In the respiratory monitoring system 10, the electronic device 100 can obtain the user's respiratory information when it is detected that the respiratory monitoring conditions are met. The respiratory information can characterize the relationship between the respiratory signal and time during the user's breathing process. The respiratory information can be used to determine the user's respiratory indicators such as respiratory rate, respiratory cycle, respiratory interval, and respiratory tidal value. In some embodiments, the respiratory information can be collected by a photoplethysmography module and / or an acceleration sensor.
[0090] In some embodiments, after obtaining the user's breathing information, the electronic device 100 can determine the user's breathing rate, breathing tidal value, breathing interval, breathing depth and other breathing indicators based on the user's breathing information, and determine the evaluation result based on the above breathing indicators. The evaluation result is used to indicate whether the user's breathing state is normal. Afterwards, the electronic device 100 can output the evaluation result. Optionally, the electronic device 100 can also output any one or more of the breathing indicators. In some embodiments, the electronic device 100 can also send the determined breathing indicators and evaluation results to the electronic device 200. After receiving the breathing indicators and the evaluation results, the electronic device 200 can output the evaluation results and the breathing indicators.
[0091] In some embodiments, after acquiring the user's breathing information, the electronic device 100 may send the user's breathing information to the electronic device 200. The electronic device 200 may determine the user's breathing rate, breathing cycle, breathing tidal value and other breathing indicators based on the user's breathing information, and determine the evaluation result based on the above breathing indicators. Afterwards, the electronic device 200 may output the evaluation result and the breathing indicator, or send the determined breathing indicator and the evaluation result to the electronic device 100. After receiving the breathing indicator and the evaluation result, the electronic device 100 may output the evaluation result and the breathing indicator.
[0092] In some embodiments, the electronic device 100 may determine the evaluation result by combining any one or more of the user's physiological information, heart rate information, location information, motion information, posture information, and interaction information. The user information may be collected by the electronic device 100, determined by the electronic device 100 based on the user's setting operation, or sent by the electronic device 200 to the electronic device 100.
[0093] In other embodiments, the electronic device 200 may also determine the evaluation result in combination with the user information and the breathing information sent by the electronic device 100. The user information may be collected by the electronic device 200, or may be determined based on the user's input to the electronic device 200, or may be collected by the electronic device 100 and sent to the electronic device 200.
[0094] It should be noted that the electronic device 100 may be Figure 1 The watch shown may also be a wristband, smart glasses, ring or other wearable device. The electronic device 200 may be Figure 1 The mobile phone shown may also be an electronic device such as a tablet computer, a computer, a server, a vehicle-mounted device, a smart home device, etc. The present application does not limit the specific device type and device form of the electronic device 100 and the electronic device 200.
[0095] It is understandable that the above Figure 1 The respiratory monitoring system 10 shown is only an example. In the embodiment of the present application, the respiratory monitoring system 10 may also include Figure 1 The embodiments shown may include more, fewer or different electronic devices, and the present application is not limited thereto.
[0096] The following introduces the hardware structure of an electronic device 100 provided in an embodiment of the present application.
[0097] Figure 2 A schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application is shown.
[0098] The electronic device 100 may be a wearable device such as a watch, a bracelet, smart glasses, a smart ring, etc. The embodiment of the present application does not impose any special restrictions on the specific type of the electronic device.
[0099] The electronic device 100 may include a processor 110, an internal memory 121, a charging management module 140, a power management module 141, a battery 142, a sensor module 180, and a display screen 194. Optionally, the electronic device 100 may also include any one or more of the following: a wireless communication module 160, an audio module 170, a button 190, a motor 191, an indicator 192, and a photoplethysmography (PPG) module 195. Among them, the audio module 170 may include any one or more of the following: a speaker 170A, a receiver 170B, and a microphone 170C. The sensor module 180 may include a touch sensor 180K, and optionally, the sensor module 180 may also include an acceleration transducer (ACC) 180E. It should be noted that the electronic device 100 includes at least one of the PPG module 195 and the acceleration sensor 180E.
[0100] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0101] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0102] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0103] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0104] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0105] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input via a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device via the power management module 141.
[0106] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display screen 194 and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0107] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module.
[0108] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0109] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), and the display panel can also be made of an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0110] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM). The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data. The non-volatile memory can also store executable programs and store user and application data, etc., and can be loaded into the random access memory in advance for direct reading and writing by the processor 110.
[0111] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, and the application processor.
[0112] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0113] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0114] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0115] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
[0116] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device, and is applied to applications such as horizontal and vertical screen switching, pedometers, etc. In the embodiment of the present application, the acceleration sensor 180E can also collect ACC signals, which can be used to determine respiratory indicators such as respiratory rate, respiratory tidal value, respiratory interval, and respiratory depth.
[0117] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0118] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0119] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0120] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0121] The PPG module 195 may include a transmitter and a receiver, wherein the transmitter may be used to emit infrared light or green light, and the receiver may be used to receive infrared light or green light reflected by biological tissue (e.g., skin, blood, etc.). In an embodiment of the present application, the PPG module 195 may collect PPG signals, which may be used to determine the user's respiratory rate, respiratory tidal value, respiratory interval, respiratory depth, and other respiratory indicators. In some embodiments, the PPG module 195 may also measure any one or more of the following physiological information: blood oxygen concentration, heart rate, blood pressure, etc.
[0122] In some embodiments, the sensor module 180 of the electronic device 100 may further include any one or more of the following sensors: an air pressure sensor, a temperature sensor, a gyroscope, etc. Among them:
[0123] The air pressure sensor can be used to measure air pressure. In some embodiments, the air pressure sensor can also be used to measure water pressure.
[0124] The temperature sensor can be used to measure the user's body temperature or the temperature of the user's environment.
[0125] The gyro sensor may be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) may be determined by the gyro sensor.
[0126] It should be noted that, in the embodiment of the present application, the difference between the hardware structure of the electronic device 200 and the hardware structure of the electronic device 100 is that the electronic device 200 may not include any one of the PPG module and the acceleration sensor. In addition, the composition of other hardware structures of the electronic device 200 can refer to the above Figure 2 The hardware structure of the electronic device 100 is not described in detail in this application.
[0127] The following is a schematic diagram of the waveforms of two respiratory signals with the same respiratory rate provided in an embodiment of the present application.
[0128] For example, Figure 3A A waveform diagram of a respiratory signal with a normal respiratory rate provided in an embodiment of the present application is shown.
[0129] like Figure 3A As shown, in a two-dimensional coordinate system, the horizontal axis can represent time and the vertical axis can represent a breathing signal. The waveform of the user's breathing signal can be curve Q1. Curve Q1 can include N peak points, and the time corresponding to the first peak point is t1, the time corresponding to the Nth peak point is t2, and the interval between t2 and t1 is M seconds. Analysis shows that the time it takes for the user to complete (N-1) breaths is M seconds, and the average time spent on each breath is M / (N-1) seconds. Therefore, the user's breathing cycle is M / (N-1) seconds, and the user's breathing rate is 60*(N-1) / M bpm. Figure 3A The respiratory rate of the respiratory signal shown belongs to the normal range of respiratory rate. In addition, in curve Q1, the difference between the ordinate of each peak point and the ordinate of any adjacent trough point is greater than the preset value, that is, the change value of the respiratory signal during each inhalation of the user is greater than the preset value, and the change value of the respiratory signal during each exhalation of the user is also greater than the preset value. In this case, the user's respiratory rate is normal and there is no risk of apnea.
[0130] Another example, Figure 3B A waveform diagram of another respiratory signal with a normal respiratory rate provided in an embodiment of the present application is shown.
[0131] like Figure 3B As shown, in a two-dimensional coordinate system, the horizontal axis can represent time and the vertical axis can represent a breathing signal. The waveform of the user's breathing signal can be curve Q2. Curve Q2 may include N peak points, and the time corresponding to the first peak point is t3, the time corresponding to the Nth peak point is t4, and the interval between t4 and t3 is M seconds. Analysis shows that it takes M seconds for the user to complete (N-1) breaths, and the average time for each breath is M / (N-1) seconds. Therefore, the user's breathing cycle is M / (N-1) seconds, and the user's breathing rate is 60*(N-1) / M bpm. That is, Figure 3B The respiratory rate of the respiratory signal shown is Figure 3A The respiratory rates of the respiratory signals shown are the same and are both within the normal range of respiratory rate. Figure 3BIt can be seen that curve Q2 includes curve segment Q0, which may include multiple peak points, and in the curve segment Q0, the difference between the ordinate of each peak point and the ordinate of the trough point is less than the preset value, that is, in the time period corresponding to curve segment Q0, the change value of the breathing signal during each inhalation of the user is less than the preset value, and the change value of the breathing signal during each exhalation of the user is also less than the preset value, so the user's breathing depth is less than the preset value. In this case, the user is at risk of apnea. Therefore, although the user's breathing rate corresponding to curve Q2 is within the normal range, there is still a risk of apnea.
[0132] Understandably, FIG. 3A to FIG. 3B This is just an example. Even if the user's breathing rate is normal, there is still a risk of apnea. Therefore, the user's breathing state cannot be accurately determined only by the user's breathing rate.
[0133] A respiratory monitoring method provided by an embodiment of the present application, when the electronic device 100 detects that the respiratory monitoring conditions are met, it can obtain the user's respiratory information, and the respiratory information is used to characterize the relationship between the user's respiratory signal and time. After obtaining the respiratory information, the electronic device 100 can determine a plurality of respiratory indicators based on the respiratory information, and the respiratory indicators may include respiratory rate and any one or more of the following: respiratory rhythm, respiratory interval, respiratory tidal value and respiratory depth, etc. The electronic device 100 can determine an evaluation result based on the plurality of respiratory indicators, and the evaluation result is used to indicate whether the user's respiratory state is normal. After determining the evaluation result, the electronic device 100 can output the evaluation result. Optionally, the electronic device 100 can also output one or more respiratory indicators.
[0134] Since the electronic device 100 can be a wearable device such as a watch or a bracelet, the above method can be used to make the electronic device 100 easy for the user to carry around and convenient for the user to monitor breathing at any time. Moreover, the electronic device 100 can also determine the user's breathing state by combining any one or more breathing indicators such as breathing rhythm, breathing interval, breathing tidal value, breathing depth, etc., so as to more accurately determine the user's breathing state and avoid misjudgment of the user's breathing state.
[0135] The following describes a specific process of a respiratory monitoring method provided in an embodiment of the present application.
[0136] Figure 4 A flow chart of a respiratory monitoring method provided in an embodiment of the present application is shown.
[0137] like Figure 4 As shown, the specific process of the respiratory monitoring method may include the following steps:
[0138] S401, when the electronic device 100 detects that a respiratory monitoring condition is met, the electronic device 100 turns on a respiratory monitoring function.
[0139] The respiratory monitoring conditions may include but are not limited to any one or more of the following: receiving an operation from the user to turn on respiratory monitoring, receiving an operation from the user to start the meditation function, receiving a start instruction sent by the electronic device 200 to the electronic device 100, detecting an abnormal physiological state of the user (for example, the blood oxygen concentration is lower than a preset value), detecting an abnormal psychological state of the user, detecting that the user is in motion, detecting an abnormal body posture of the user, detecting an abnormal sports equipment of the user, detecting that the user's position is within a preset area, etc.
[0140] In some embodiments, the electronic device 100 can obtain user information and determine whether the electronic device 100 meets the respiratory monitoring conditions based on the user information. User information may include, but is not limited to, any one or more of the following: physiological information, psychological information, motion information, sports equipment information, posture information, location information, and interactive information. Among them, physiological information can be used to characterize the user's physiological state, and the physiological information may include, but is not limited to, any one or more of the following: blood oxygen concentration, heart rate, blood sugar, body temperature, blood pressure, disease information, etc.; psychological information can be used to characterize the user's psychological state, and the psychological information may include, but is not limited to, any one or more of the following: stress value, low mood, stable mood, high mood, frightened, etc.; motion information can be used to characterize the user's motion state, and the motion information may include, but is not limited to, any one or more of the following: swimming, diving, cycling, running, climbing, skipping rope, yoga, etc.; sports equipment information can be used to characterize the state of sports equipment, and the sports equipment information may include, but is not limited to, any one or more of the following: oxygen remaining in the oxygen cylinder, weight of the smart backpack, and travel resistance of the bicycle etc.; posture information can be used to characterize the user's body posture, and the posture information may include but is not limited to any one or more of the following: falling, stepping on air, standing still, etc.; location information can be used to characterize the user's location, and the location information may include but is not limited to any one or more of the following: the user's geographic location, the latitude and longitude information of the user's location, the altitude information of the user's location, the depth information of the user's location, etc.; interaction information may include interaction operations between the user and the electronic device 100 (or electronic device 200), such as receiving an operation from the user to turn on breathing monitoring, receiving an operation from the user to start meditation breathing, etc. The interaction information may also include communication interactions between the electronic device 100 and the electronic device 200, such as a start-up instruction sent by the electronic device 200 to the electronic device 100, etc.
[0141] It should be noted that in the embodiment of the present application, the way in which the electronic device 100 obtains user information may include but is not limited to the following ways: the electronic device 100 detects user information, the electronic device 100 receives user information sent by the electronic device 200, and the electronic device 100 receives and obtains user information in response to the user entering user information (such as disease information).
[0142] The following describes some methods for detecting user information by the electronic device 100 provided in the embodiments of the present application.
[0143] Exemplarily, the electronic device 100 can detect the user's motion information and posture information through devices such as gyroscopes and accelerometers; the electronic device 100 can detect the user's heart rate, blood oxygen concentration, blood pressure and other physiological information through devices such as PPG modules; the electronic device 100 can also collect the user's facial expressions through a camera, and determine the user's emotional state through algorithm models such as image analysis and facial expression analysis; the electronic device 100 can also determine the user's pressure value and other psychological information based on the physiological information; the electronic device 100 can also detect the user's interaction information through a touch sensor; the electronic device 100 can detect the user's location information through a position sensor (such as a global positioning chip, etc.); the electronic device 100 can also detect the air pressure of the user's environment based on a pressure sensor, and determine the user's altitude and other location information based on the air pressure value, and so on.
[0144] It will be understood that the embodiments herein are merely examples, and in the embodiments of the present application, the electronic device 100 may include more, fewer, or different devices than those in the above-described embodiments, and the electronic device 100 may also collect user information through sensors or other devices that are different from those in the above-described embodiments, and the present application does not limit this.
[0145] The following describes some methods for electronic devices 100 provided in embodiments of the present application to determine whether respiratory monitoring conditions are met based on user information.
[0146] Exemplarily, the electronic device 100 may determine whether the interaction information satisfies any of the following: receiving an operation from the user to turn on breathing monitoring, receiving an operation from the user to start meditation breathing, receiving a start instruction sent by the electronic device 200 to the electronic device 100, etc.; if the interaction information satisfies any of the above items, the electronic device 100 may determine that the user information meets the breathing monitoring conditions.
[0147] Also illustratively, the electronic device 100 can determine whether any of the following is met based on the location information: the user is in a high altitude area, the user is in a deep water area, etc.; if the location information meets any of the above items, the electronic device 100 can determine that the user's location is within a preset area, that is, it determines that the breathing monitoring conditions are met.
[0148] As another example, the electronic device 100 can determine whether the physiological information satisfies any of the following items: blood oxygen concentration does not belong to the preset blood oxygen concentration range, heart rate does not belong to the preset heart rate range, blood pressure does not belong to the preset blood pressure range, body temperature does not belong to the preset body temperature range, etc.; if the physiological information satisfies any of the above items, the electronic device 100 can determine that the user's physiological state is abnormal, that is, it determines that the respiratory monitoring conditions are met.
[0149] As another example, the electronic device 100 can determine whether the psychological information satisfies any of the following: the user is frightened, the user is depressed, the user is in high spirits, etc.; if the psychological information satisfies any of the above items, the electronic device 100 can determine that the user's psychological state is abnormal, that is, it determines that the breathing monitoring conditions are met.
[0150] As another example, the electronic device 100 can determine whether the user's motion state meets any of the following based on the motion information: diving state, climbing state, cycling state, yoga state, swimming state, running state, etc.; if the motion state meets any of the above items, the electronic device 100 can determine that the breathing monitoring conditions are met.
[0151] As another example, the electronic device 100 can determine whether the posture information satisfies any of the following: the user falls, the user misses a step, etc.; if the posture information satisfies any of the above items, the electronic device 100 can determine that the user's body posture is abnormal, that is, it meets the breathing monitoring conditions.
[0152] As another example, the electronic device 100 can determine whether the sports equipment information satisfies any of the following items: the remaining oxygen in the oxygen cylinder is lower than the preset oxygen amount, the bicycle's moving resistance is greater than the preset resistance, the weight of the smart backpack is greater than the preset weight, etc.; if the sports equipment information satisfies any of the above items, the electronic device 100 can determine that the user's sports equipment is abnormal, that is, it meets the respiratory monitoring conditions.
[0153] It will be understood that the above-mentioned embodiments are merely illustrative of various ways of determining whether the respiratory monitoring conditions are met based on user information. In the embodiments of the present application, the electronic device 100 may also determine whether the respiratory monitoring conditions are met based on various types of user information. The electronic device 100 may also determine whether the respiratory monitoring conditions are met based on other information in the user information, and the respiratory monitoring conditions may also include more, fewer or different conditions than those in the above-mentioned embodiments, and the present application does not limit these conditions.
[0154] S402: The electronic device 100 obtains breathing information, and determines a breathing index based on the breathing information.
[0155] In some embodiments, the respiratory information may include a PPG signal and / or an ACC signal.
[0156] After turning on the respiratory monitoring function, the electronic device 100 can collect PPG signals through the PPG module and / or collect ACC signals through the acceleration sensor. When the collection time reaches the sampling time period (for example, 30 seconds, 60 seconds or 15 seconds, etc.), the electronic device 100 can filter, reduce noise, and process the collected PPG signals and / or ACC signals to obtain a respiratory signal. In some embodiments, the relationship between the respiratory signal and time can be represented by a waveform diagram of the respiratory signal, and the waveform diagram of the respiratory signal can refer to the following Figure 5 Related description in the illustrated embodiment.
[0157] In the embodiment of the present application, the respiratory index may include the respiratory rate, and may also include any one or more of the following: respiratory interval, respiratory depth, respiratory tidal value and respiratory rhythm.
[0158] The specific meaning of each respiratory indicator is introduced below in conjunction with the waveform diagram of the respiratory signal.
[0159] For example, Figure 5 A waveform diagram of a breathing signal provided in an embodiment of the present application is shown.
[0160] like Figure 5 , in a two-dimensional coordinate system, the horizontal axis can represent time, and the vertical axis can represent a breathing signal. The waveform of the user's breathing signal can be curve Q3. Curve Q3 can include multiple peak points, such as peak point P1, peak point P2, and peak point P3. Curve Q3 can also include multiple trough points, such as trough point G1, trough point G2, and trough point G3. Among them, the two peak points adjacent to the peak point P2 are peak point P1 and peak point P3, the two trough points adjacent to the trough point G2 are trough point G1 and trough point G3, and the two trough points adjacent to the peak point P2 are trough point G1 and trough point G2, and the two trough points adjacent to the peak point P3 are trough point G2 and trough point G3. In the above two-dimensional coordinate system, the coordinates of the above peak points and trough points are: P1(T1, Y1), G1(T2, Y2), P2(T3, Y3), G2(T4, Y4), P3(T5, Y5), G3(T6, Y6), and T1 <T2<T3<T4<T5<T6。
[0161] During inhalation, the amount of gas in the lungs increases, and the respiratory signal increases; during exhalation, the amount of gas in the lungs decreases, and the respiratory signal decreases. Therefore, the process of the respiratory signal decreasing from any peak point along the horizontal axis to the adjacent trough point can be regarded as an exhalation process, and the process of the respiratory signal increasing from any trough point along the horizontal axis to the adjacent peak point can be regarded as an inhalation process. That is, in Figure 5In the curve Q3 shown, the curve segment between the peak point P1 and the trough point G1 corresponds to an exhalation process, and the curve segment between the trough point G1 and the peak point P2 corresponds to an inhalation process.
[0162] According to the aforementioned name explanation of the embodiment of the present application, the breathing interval refers to the time required for a single breath, and a single breath includes an exhalation process and an inhalation process. Therefore, in curve Q3, the difference between the horizontal coordinates of any two adjacent peak points can be regarded as the time interval of the breath. That is, the difference between the horizontal coordinates of peak point P1 and peak point P2 is the time interval of a single breath, and the difference between the horizontal coordinates of peak point P2 and peak point P3 is also the time interval of a single breath. These two breaths are different, and these two time intervals can be the same or different.
[0163] The respiratory cycle is the average time required for a single breath, and the respiratory cycle can be regarded as the average value of the breathing intervals.
[0164] Respiratory rate refers to the number of breaths completed per minute, and the respiratory rate is inversely proportional to the respiratory cycle.
[0165] The breathing depth refers to the sum of the change in the breathing signal when the user exhales and the change in the breathing signal when the user inhales. Figure 5 Taking the curve Q3 as an example, during an exhalation process corresponding to the peak point P1 to the trough point G1, the change value of the respiratory signal is (Y1-Y2); during an inhalation process corresponding to the trough point G1 to the peak point P2, the change value of the respiratory signal is (Y3-Y2). Therefore, for this breathing process, the breathing depth is (Y1+Y3-2*Y2).
[0166] The respiratory tidal value is the total amount of gas inhaled and exhaled during a single breath. The respiratory tidal value is proportional to the change in the respiratory signal and the breathing time. Therefore, the respiratory tidal value can be expressed by the product of the change in the respiratory signal during the breathing process and the breathing time, that is, the respiratory tidal value is equal to the product of the change in the respiratory signal during the exhalation process and the exhalation time, and the sum of the product of the change in the respiratory signal during the inhalation process and the inhalation time. Figure 5 Taking the curve Q3 as an example, during the breathing process corresponding to the peak point P1 to the peak point P2, the calculation formula of the respiratory tidal value can refer to the following formula (1):
[0167] Tide=(Y1-Y2)*(T2-T1)+(Y3-Y2)*(T3-T2) Formula (1)
[0168] In the above formula (1), Tide represents the respiratory tidal value of a breath in the curve Q3, (Y1-Y2) represents the change value of the respiratory signal during the exhalation process of the breath, (T2-T1) represents the exhalation time, (Y3-Y2) represents the change value of the respiratory signal during the inhalation process of the breath, and (T2-T1) represents the inhalation time. It can be understood that formula (1) is only an exemplary method for calculating the respiratory tidal value when the collected respiratory signal is in a discrete state. In other embodiments, for example, when the collected respiratory signal can be approximately regarded as a continuous state, the respiratory tidal value can also be obtained by calculating the integral of the respiratory signal, and the present application does not limit this.
[0169] The following describes a specific process for determining multiple respiratory indicators based on respiratory information provided by an embodiment of the present application.
[0170] The specific process of the electronic device 100 determining multiple breathing indicators based on the breathing information may include the following steps:
[0171] 1. The electronic device 100 obtains the peak points and trough points of the breathing information.
[0172] After obtaining the breathing information, the electronic device 100 can obtain the coordinates of each peak point and each trough point.
[0173] 2. The electronic device 100 determines a plurality of breathing intervals within the sampling time period based on the peak points.
[0174] The electronic device 100 can determine the breathing interval of a single breath based on the difference in the horizontal coordinates of adjacent peak points. The relationship between the breathing interval and the coordinates of the peak points can be referred to above. Figure 5 Related description in the illustrated embodiment.
[0175] 3. The electronic device 100 determines a breathing cycle based on the multiple breathing intervals, where the breathing cycle is an average value of the multiple breathing intervals.
[0176] 4. The electronic device 100 determines the respiratory rate within the sampling period based on the respiratory cycle, where the respiratory rate is the inverse of the respiratory cycle.
[0177] 5. The electronic device 100 determines the breathing depth of multiple breaths within the sampling time period based on the peak points and the trough points.
[0178] 6. The electronic device 100 determines the respiratory tidal values of multiple breaths within the sampling time period based on the peak points and the trough points.
[0179] The electronic device 100 determines the breathing depth and breathing tidal value of each breath based on the peak point coordinates and the trough point coordinates. Figure 5The relevant description in the illustrated embodiment will not be repeated here.
[0180] It should be noted that step 2, step 5 and step 6 can be executed simultaneously or in staggered periods. The embodiment of the present application does not limit the execution order of step 2, step 5 and step 6.
[0181] It is understandable that the above embodiment is only an exemplary introduction to a process of determining a breathing index based on breathing information. In an embodiment of the present application, the electronic device 100 may also use a process different from the above embodiment to determine the breathing index, and the present application does not limit this.
[0182] In some embodiments, the electronic device 100 can determine the respiratory rhythm based on respiratory indicators such as breathing interval, breathing depth and respiratory tidal value. The respiratory rhythm can be used to characterize whether the user's breathing rhythm is regular. The respiratory rhythm can be calculated by the following formula (2):
[0183] Rhythm=αΣs i *t i +βΣs i +γΣt i +ε formula (2)
[0184] In the above formula (2), Rhythm represents the respiratory rhythm, α, β and γ are coefficients, which can represent the weight of each item, and the value of the coefficient can be a positive number. i It is the difference between the ordinates of the adjacent peak points and trough points, which can represent the change value of the respiratory signal during exhalation or the change value of the respiratory signal during inhalation. i is the difference between the abscissas of adjacent peak points and trough points, which can represent the exhalation time or the inhalation time. Therefore, in formula (2), ∑s i *t i It can represent the sum of the respiratory tidal values of each breath during the sampling period; ∑s i It can represent the sum of the breathing depth of each breath during the sampling period; ∑t i It can represent the sum of the breathing intervals of each breath in the sampling period; ε is the residual and can be a constant.
[0185] It can be seen from the above formula (2) that the respiratory rhythm can be obtained by weighted summation of the respiratory interval, respiratory tidal value and respiratory depth.
[0186] S403, the electronic device 100 determines an evaluation result based on the breathing index, and the evaluation result is used to indicate whether the user's breathing state is normal.
[0187] Figure 6A schematic diagram of a process for determining an evaluation result based on a respiratory index provided in an embodiment of the present application is shown.
[0188] like Figure 6 As shown, the specific process of determining the evaluation result based on the breathing index may include the following steps:
[0189] S601, the electronic device 100 determines whether the breathing rate belongs to a preset breathing rate range.
[0190] The electronic device 100 may store a breathing rate interval, which may be a value range of the breathing rate of the user when the breathing state is normal. For example, the breathing rate interval may be [12, 18], in bpm.
[0191] If the breathing rate belongs to the preset breathing rate range, the electronic device 100 can execute the following step S602.
[0192] If the breathing rate does not belong to the preset breathing rate range, the electronic device 100 may execute the following step S603.
[0193] In some embodiments, the electronic device 100 may also store the correspondence between one or more factors such as user age, user status, user gender, and the breathing rate interval.
[0194] Exemplarily, Table 1 shows the correspondence between user age, user status and breathing rate range stored in an electronic device 100 provided in an embodiment of the present application.
[0195] Table 1
[0196] User age User Status Respiratory rate range (unit: bpm) Adults (age 18 and above) Resting state 12-18 Adults Movement status 40-60 Adults Sleep state 10-14 Teenagers (8-14 years old) Resting state 18-20 Children (4-7 years old) Resting state 20-25 Infants (1-3 years old) Resting state 25-30
[0197] As shown in Table 1, the electronic device 100 may store a correspondence between the user age, the user state and the breathing rate interval. For example, when the user age is an adult greater than or equal to 18 years old and the user state is a resting state, the breathing rate interval may be [12, 18], and the unit of the breathing rate is bpm; when the user age is an adult and the user state is a moving state, the breathing rate interval may be [40, 60]; when the user age is an adult and the user state is a sleeping state, the breathing rate interval may be [10, 14]; when the user age is a teenager between 8 and 14 years old and the user state is a resting state, the breathing rate interval may be [18, 20]; when the user age is a child between 4 and 7 years old and the user state is a resting state, the breathing rate may be [20, 25]; when the user age is a toddler between 1 and 3 years old and the user state is a resting state, the breathing rate may be [25, 30].
[0198] It can be understood that the embodiment shown in Table 1 is only an exemplary description. The electronic device 100 can store the correspondence between different user ages, user status and breathing rate ranges. In the embodiment of the present application, the electronic device 100 can also store more, less or different user ages, user status and breathing rate ranges different from the above embodiment, etc., and the present application does not limit this.
[0199] In the above case, the electronic device 100 can obtain the user's age and user status. In some embodiments, the electronic device 100 can determine the user's age and user status based on the user's operation of setting the user's age and user status. In other embodiments, the electronic device 100 can also monitor the user's status in real time, for example, by using a gyroscope, an acceleration sensor, or other devices to determine whether the user is in motion, or by using a sleep monitoring module to determine whether the user is in sleep, etc. The specific method for the electronic device 100 to obtain the user's age and user status is not limited in the embodiment of the present application.
[0200] After determining the user age and the user state, the electronic device 100 can determine the breathing rate interval in the current state based on the corresponding relationship between the user age, the user state and the breathing rate interval. Then, the electronic device 100 can determine whether the detected breathing rate belongs to the breathing rate interval.
[0201] If the breathing rate belongs to the breathing rate range, the electronic device 100 determines that the user's breathing rate is normal and can execute the following step S602.
[0202] If the breathing rate does not belong to the breathing rate range, the electronic device 100 determines that the user's breathing rate is abnormal and may execute the following step S603.
[0203] S602: The electronic device 100 determines whether the respiratory rhythm belongs to a preset respiratory rhythm interval.
[0204] According to the above step S402, the respiratory rhythm can be a weighted sum of the respiratory depth, the respiratory tidal value, and the respiratory interval. Therefore, in some embodiments, after determining that the respiratory rate is normal (i.e., the respiratory rate belongs to the preset respiratory rate interval), the electronic device 100 can determine the evaluation result by judging whether the respiratory rhythm belongs to the preset respiratory rhythm interval (i.e., whether the respiratory rhythm is normal).
[0205] The electronic device 100 may store a preset respiratory rhythm interval. In some embodiments, the electronic device 100 may also store respiratory rhythm intervals under different user ages, user states, etc. At this time, the electronic device 100 may also determine the respiratory rhythm interval under the current situation based on the user age, user state, etc.
[0206] If the respiratory rhythm belongs to the preset respiratory rhythm interval, the electronic device 100 determines that the respiratory rhythm is normal and can execute the following step S604.
[0207] If the respiratory rhythm does not belong to the preset respiratory rhythm interval, the electronic device 100 determines that the respiratory rhythm is abnormal and can execute the following step S603.
[0208] It is understandable that in other embodiments, after determining that the breathing rate is normal, the electronic device 100 may also determine whether multiple other breathing indicators (i.e., breathing depth, breathing interval, breathing tidal value, etc.) belong to the interval corresponding to the breathing indicator, and then determine the evaluation result. This application does not limit this.
[0209] S603, the electronic device 100 determines that the evaluation result is abnormal breathing.
[0210] Assessment results may include normal breathing and abnormal breathing.
[0211] In the case where the respiratory rate or respiratory rhythm is abnormal, the electronic device 100 may determine that the evaluation result is abnormal breathing.
[0212] In some embodiments, the respiratory abnormality may include any one or more of bradypnea, tachypnea, at least one respiratory pause, too long respiratory interval, irregular respiratory rhythm, etc. Specifically, when the respiratory rate is abnormal and the respiratory rate is lower than the minimum value of the respiratory rate interval, the electronic device 100 may determine that the evaluation result is bradypnea in the respiratory abnormality; when the respiratory rate is abnormal and the respiratory rate is higher than the maximum value of the respiratory rate interval, the electronic device 100 may determine that the evaluation result is tachypnea in the respiratory abnormality; when there is a respiratory depth less than the minimum value of the respiratory depth interval, the electronic device 100 may determine that the evaluation result is at least one respiratory pause in the respiratory abnormality; when there is a respiratory interval greater than a preset respiratory interval value, the electronic device 100 may determine that the evaluation result is too long respiratory interval in the respiratory abnormality; when the respiratory rhythm does not belong to the preset respiratory rhythm interval, the electronic device 100 may determine that the evaluation result is irregular respiratory rhythm, etc. It can be understood that the embodiments here are only exemplary, and the respiratory abnormality can be subdivided into multiple situations. In the embodiments of the present application, the electronic device 100 may also store more, less or different specific situations of respiratory abnormality than the above embodiments, and the present application is not limited here.
[0213] S604, the electronic device 100 determines that the evaluation result is normal breathing.
[0214] When both the breathing rate and the breathing rhythm are normal, the electronic device 100 may determine that the evaluation result is normal breathing.
[0215] It is understandable that the above Figure 6 The illustrated embodiment merely exemplifies a specific process for determining an evaluation result based on a breathing index. In an embodiment of the present application, the electronic device 100 may also determine the evaluation result in a manner different from that of the above embodiment, and the present application does not limit this.
[0216] In other embodiments, the electronic device 100 may also determine the evaluation result based on the breathing index and the user information, and the user information may include any one or more of the following: psychological information, physiological information, location information, motion information, sports equipment information, posture information, interactive information, etc. Among them, the user information may be the user information sent by the electronic device 200 and received by the electronic device 100, or the user information detected by the electronic device 100, or the user information obtained based on the user's input. Exemplarily, the electronic device 100 may detect the user's blood oxygen concentration, heart rate and other physiological information through the PPG module; the electronic device 100 may also detect the user's location information through a satellite positioning device; the electronic device 100 may detect the user's posture information, motion information, etc. through a gyroscope, an accelerometer, etc.; the electronic device 100 may also detect the user's interactive information through a touch sensor, a button, etc.; the electronic device 100 may also detect the user's altitude information through a pressure sensor; the electronic device 100 may also detect the user's psychological information through one or more devices such as a camera, a PPG module, etc. It can be understood that here are only exemplary introductions of several devices for obtaining user information. In the embodiment of the present application, the electronic device 100 may also use devices different from the above embodiment to detect user information, and the present application is not limited here. In some embodiments, the electronic device 100 may detect any one or more of the above-mentioned user information after being powered on. In other embodiments, the electronic device 100 may also obtain user information after receiving an operation from the user to start respiratory monitoring.
[0217] In a possible implementation, since factors such as user physiological information, psychological information, location information, motion information, sports equipment information, and posture information may all affect the user's breathing, after acquiring the user information, the electronic device 100 may determine the user state based on the user information, and the user state may include a resting state, a motion state, and a sleeping state, and optionally, may also include any one or more of the following: a high altitude state, a frightened state, an oxygen deficiency state, a diving state, a meditation state, etc. Specifically, when the location information indicates that the user is currently in a high altitude area, the electronic device 100 may determine that the user state includes a high altitude state; when the posture information indicates that the user has fallen, the electronic device 100 may determine that the user state includes a fall state; when the physiological information indicates that the user's blood oxygen concentration is lower than a preset blood oxygen concentration value, the electronic device 100 may determine that the user state includes an oxygen deficiency state; when the interaction information indicates that the user has received an operation to start meditation breathing, the electronic device 100 may determine that the user state includes a meditation state, etc. It can be understood that this is just an example of how the electronic device 100 can determine the user status based on user information. In the embodiment of the present application, the electronic device 100 can also determine the user status based on other user information, and the user status can include multiple states at the same time, such as including a high altitude state and an oxygen deficiency state, etc., which is not limited in the present application.
[0218] In some embodiments, the electronic device 100 may store the value intervals corresponding to the breathing index in different user states, and determine the evaluation result based on the value intervals of the breathing index in the state and the actual detected breathing index. The specific storage form can refer to the embodiment shown in Table 1 above, and the method for determining the evaluation result can also be similar to the above Figure 6 The relevant description in the illustrated embodiment will not be repeated here.
[0219] S404, the electronic device 100 outputs the evaluation result.
[0220] The evaluation results may include normal breathing and abnormal breathing. In some embodiments, abnormal breathing may include bradypnea, tachypnea, apnea, and other conditions. The specific description of the various conditions can be referred to Figure 6 The relevant contents of step S603 in the illustrated embodiment will not be repeated here.
[0221] In a possible implementation, the electronic device 100 may output the evaluation result in any one or more ways, such as display screen display, voice, vibration, and flashing indicator light.
[0222] In some embodiments, when the evaluation results are different, the electronic device 100 may also output the evaluation results in different output modes. For example, when the evaluation result is that the breathing is normal, the electronic device 100 may output the evaluation result by displaying on a display screen; when the evaluation result is that the breathing is abnormal, the electronic device 100 may output the evaluation result by displaying on a display screen, voice broadcasting, vibration, and flashing indicator lights, etc.
[0223] In other embodiments, the electronic device 100 may also determine different output modes and output times based on the user state and the evaluation result. Among them, the relevant content of the user state can refer to the relevant description in the above step S403. Exemplarily, if the electronic device 100 detects that the user is in a sleeping state and the evaluation result is normal breathing, the electronic device 100 can display the evaluation result after detecting that the user is out of the sleeping state; if the electronic device 100 detects that the user is in a sleeping state and the evaluation result is abnormal breathing, the electronic device 100 can immediately output the evaluation result and wake up the user by one or more methods such as vibration and voice; if the user is detected to be in a meditative state, regardless of whether the evaluation result is normal, the electronic device 100 can output the evaluation result by voice; if the user is detected to be in a resting state and the evaluation result is normal breathing, the electronic device 100 can output the evaluation result by vibration and display screen display after determining the evaluation result, etc. It can be understood that the above embodiments are only exemplary, and the evaluation results and user states may affect the output mode and output time. The corresponding relationship between different evaluation results, user states and output modes is not limited in the embodiments of the present application.
[0224] In other embodiments, after determining the evaluation result, the electronic device 100 may also send an output instruction to the electronic device 200, and the output instruction may include the evaluation result. The output instruction may be used to instruct the electronic device 200 to output the evaluation result. The way in which the electronic device 200 outputs the evaluation result may also refer to the way in which the electronic device 100 outputs the evaluation result, which will not be repeated here.
[0225] In other embodiments, the electronic device 100 (or the electronic device 200) may also output one or more breathing indicators and / or breathing strategies when outputting the evaluation results.
[0226] In some embodiments, if the electronic device 100 detects that the user's breathing is abnormal, the electronic device 100 may also trigger a dangerous emergency mechanism. The dangerous emergency mechanism may include any one or more of the following: dialing an emergency number, sending an emergency text message, issuing an alarm to remind the user, etc. Among them, the emergency call may be a hospital phone, or a phone number of an emergency contact pre-set by the user; sending an emergency text message may be sending an emergency text message to an emergency contact, or sending an emergency text message to a hospital; the alarm may be output in one or more forms such as voice, vibration, etc. In other embodiments, the electronic device 100 may also be preset with dangerous conditions (for example, the number of apnea exceeds a preset number, the unstable breathing rhythm exceeds a preset duration, the user is in a sleeping state, etc.). If the electronic device 100 detects that the user's breathing is abnormal, and the abnormal situation meets the preset dangerous conditions, the electronic device 100 may trigger a dangerous emergency mechanism. Among them, the preset dangerous conditions may be preset by the system, or may be received and determined in response to the user's setting operation.
[0227] The interface of the electronic device 100 outputting the evaluation result by displaying the display screen can refer to the following FIG. 7A to FIG. 7D ,as well as FIG. 8A to FIG. 8B The relevant contents in the illustrated embodiment will not be described in detail here.
[0228] By using the respiratory monitoring method provided in the embodiment of the present application, not only the user's respiratory rate can be obtained, but also the user's respiratory interval, respiratory tidal value, respiratory depth and other respiratory indicators can be obtained, so that more accurate evaluation results can be obtained, and the risk of apnea can be monitored in time, providing better safety protection for users.
[0229] In some application scenarios, if the electronic device 100 is a wearable device such as a watch or a bracelet, the interface diagram of the electronic device 100 outputting the evaluation result can refer to the following FIG. 7A to FIG. 7D The output interface shown.
[0230] For example, when the electronic device 100 determines that the evaluation result is normal breathing, it can display the following information: Fig. 7A Output interface 700 is shown.
[0231] like Fig. 7A As shown, the output interface 700 may include a normal prompt 701 and a viewing control 702. The normal prompt 701 may be used to indicate that the user's current breathing state is normal breathing. The normal prompt 701 may include text, such as "Breathing is good, please maintain." Optionally, the normal prompt 701 may also include a pattern 703, and the pattern 703 may be used to indicate that the breathing state is normal breathing. The viewing control 702 may be used to trigger the electronic device 100 to display the waveform of the breathing signal and / or the breathing index. In an embodiment of the present application, the waveform of the breathing signal may also be referred to as a breathing waveform.
[0232] The electronic device 100 can receive and respond to the user's click operation on the viewing control 702, and display the following Figure 7B In some embodiments, the output interface 700 may not display the viewing control 702. In this case, the electronic device 100 may also receive and respond to the user's sliding operation and display the breathing information interface 710 in the output interface 700. Figure 7B The waveform of the respiratory signal, respiratory indicators, etc. are shown.
[0233] like Figure 7B As shown, the breathing information interface 710 may include a breathing waveform 711, and may also include one or more breathing indicators, such as a breathing rate 712. Among them, the breathing waveform 711 can represent the relationship between the user's breathing signal and time during the sampling period. The breathing rate 712 can be used to indicate the value of the detected breathing rate, such as 18bpm.
[0234] Understandably, FIG. 7A to FIG. 7B The illustrated embodiment is merely an illustrative introduction to the interface in which the electronic device 100 outputs evaluation results when a group of users breathe normally. In the embodiment of the present application, the electronic device 100 may also display more, less, or different content from the above-described embodiment in the output interface or the breathing information interface, and the present application does not limit this.
[0235] As another example, when the electronic device 100 determines that the evaluation result is abnormal breathing, it can display the following information: Figure 7C Output interface 720 is shown.
[0236] like Figure 7C As shown, the output interface 720 may include an abnormal prompt 721 and a viewing control 722. Among them, the abnormal prompt 721 can be used to indicate that the user's current breathing state is abnormal breathing. The abnormal prompt 721 may include text, such as "The breathing health state is abnormal, please pay attention!". Optionally, the abnormal prompt 721 may also include a pattern 723, which can be used to indicate that the breathing state is abnormal breathing. The viewing control 722 can be used to trigger the electronic device 100 to display the breathing waveform and abnormal description, etc.
[0237] The electronic device 100 can receive and respond to the user's click operation on the viewing control 722, and display the following Fig.7D In some embodiments, the output interface 720 may not display the viewing control 722. In this case, the electronic device 100 may also receive and respond to the user's sliding operation and display the viewing control 722 in the output interface 720. Fig.7D The waveform of the respiratory signal, respiratory indicators, etc. are shown.
[0238] like Fig.7D As shown, the breathing information interface 730 may include a breathing waveform 731 and may also include an abnormal description 732. In some embodiments, one or more breathing indicators may also be displayed in the breathing information interface 730. Among them, the breathing waveform 731 may represent the relationship between the user's breathing signal and time during the sampling period. Optionally, in the breathing waveform 731, an indicator 733 may also be displayed, and the indicator 733 is used to prompt the user that an abnormal breathing waveform segment has occurred. The indicator 733 may be as follows Fig.7D In some embodiments, the mark 733 may also be a mark of other shapes or patterns. In other embodiments, the electronic device 100 may also use different display colors to display abnormal respiratory waveform segments to prompt the user that the respiratory waveform segment is abnormal. This application does not limit this. Fig.7D It can be seen from the respiratory waveform segment marked by the logo 733 that during this time period, the user's breathing depth is very small and there are multiple respiratory pauses. At this time, the abnormal description 732 may include the text "more than three respiratory pauses". Optionally, one or more respiratory indicators can be displayed in the respiratory information interface 730, and an abnormal logo is displayed on the abnormal respiratory indicator, which can be used to prompt the user that the respiratory indicator is abnormal.
[0239] Understandably, FIG. 7C to FIG. 7D The illustrated embodiment merely exemplifies a set of interfaces in which the electronic device 100 outputs evaluation results and respiratory waveforms in the case of apnea. In the embodiments of the present application, the interfaces in which the electronic device 100 outputs evaluation results and respiratory waveforms may also include more, less, or different content than the above embodiments, and the present application does not limit this. In addition, in other embodiments, if the electronic device 100 determines that the user's breathing is abnormal, and the abnormal situation is different from the above embodiments (e.g., tachypnea, bradypnea, arrhythmia, etc.), the electronic device 100 may also output corresponding respiratory waveforms and abnormal descriptions in the respiratory information interface, and the present application will not repeat them here.
[0240] In some application scenarios, if the electronic device 100 sends an output instruction to the electronic device 200, the output instruction is used to instruct the electronic device 200 to output the evaluation result, then the interface diagram of the electronic device 200 outputting the evaluation result can refer to the following FIG. 8A to FIG. 8B The output interface shown.
[0241] For example, when the electronic device 200 determines that the evaluation result is normal breathing based on the output instruction, the following display may be displayed: Fig. 8A Output interface 800 is shown.
[0242] like Fig. 8AAs shown, the output interface 800 may include one or more of the following: a respiratory waveform 801, a normal prompt 802, and a respiratory index. Among them, the respiratory index may have one or more, such as a respiratory rate 803, a respiratory rhythm 804, etc. Optionally, the output interface 800 may also include a sharing control 805. Among them, the respiratory waveform 801 can be used to characterize the relationship between the user's respiratory signal and time during the sampling time period. The normal prompt 802 can be used to prompt the user that the current breathing is normal. The normal prompt 802 may include text, such as "Breathing well, please keep it up." The respiratory rate 803 can be used to indicate the respiratory rate during the sampling time period, such as 18bpm. The respiratory rhythm 804 is used to indicate whether the respiratory rhythm is stable during the sampling time period. The sharing control 805 is used to trigger the electronic device 200 to send any one or more of the contents such as the respiratory waveform 801, the normal prompt 802 and the respiratory index displayed in the output interface 800 to the electronic device selected by the user (such as the electronic device 200, or other electronic devices selected by the user in the address book).
[0243] Understandably, Fig. 8A The illustrated embodiment merely exemplifies an interface in which the electronic device 200 outputs evaluation results when the user's breathing is normal. In an embodiment of the present application, the electronic device 200 may also display a normal value range of the respiratory index (such as a preset respiratory rate range, respiratory rhythm range, etc.) in the output interface, or include more, less or different content from the above-mentioned embodiments, and the present application does not limit this.
[0244] As another example, when the electronic device 200 determines that the evaluation result is abnormal breathing, it can display the following information: Figure 8B Output interface 810 is shown.
[0245] like Figure 8B As shown, the output interface 810 may include any one or more of the following: a breathing waveform 811, an abnormal prompt 812, an abnormal description 813, and a breathing index. Among them, the breathing index may include one or more of: for example, breathing rate, breathing depth, breathing tidal value, breathing interval, breathing rhythm, etc. Among them, the breathing waveform 811 may also display a logo 814. The specific functional description of the breathing waveform 811 and the logo 814 can refer to the above Fig.7DThe description of the breathing waveform 731 and the mark 733 in the illustrated embodiment is not repeated here. The abnormal prompt 812 can be used to prompt the user that the current breathing is abnormal. The abnormal description 813 can be used to explain the specific abnormal situation. The abnormal description 813 can include text, such as "more than three breathing pauses". In some embodiments, after outputting the abnormal prompt 812, the electronic device 200 can also display an emergency prompt 815 on the output interface 810, and the emergency prompt 815 can be used to ask the user whether to call an emergency call. The emergency prompt 815 can include text, such as "whether to call an emergency call". The emergency prompt 815 can also include a yes control 816 and a no control 817, the yes control 816 is used to trigger the electronic device 200 to call an emergency call, and the no control 817 is used to trigger the electronic device 200 to stop displaying the emergency prompt 815. Optionally, a countdown (for example, 10 seconds) can also be displayed on the yes control 816. When the countdown ends, if the electronic device 200 does not receive the user's operation for the emergency prompt 815, the electronic device 200 can call an emergency call.
[0246] Understandably, Figure 8B The illustrated embodiment is merely an exemplary introduction to an interface in which the electronic device 200 outputs evaluation results and a respiratory waveform in the case of apnea. In an embodiment of the present application, the interface in which the electronic device 200 outputs evaluation results and a respiratory waveform may also include a normal value range of a respiratory index (e.g., a preset respiratory rate interval, a respiratory rhythm interval, etc.), or may include more, less, or different content than the above-described embodiments, which is not limited herein by the present application. In addition, in other embodiments, if the electronic device 200 determines that the user's breathing is abnormal, and the abnormal condition is different from the above-described embodiments (e.g., tachypnea, bradypnea, arrhythmia, etc.), the electronic device 200 may also output corresponding respiratory waveforms and abnormal descriptions in the respiratory information interface, which is not described in detail herein.
[0247] It should be noted that, in other embodiments, the electronic device 100 may also display the same information as above when detecting that the evaluation result is abnormal breathing. Figure 8B An interface similar to the embodiment shown asks the user whether to call an emergency number (or send a text message for help), which is not limited in this application.
[0248] In a possible implementation, electronic device 100 can also output breathing strategy while outputting evaluation result (or after outputting evaluation result), and breathing strategy is used to instruct the user to adjust any one or more of breathing rate, breathing depth and breathing posture. Electronic device 100 can store the corresponding relationship of preset evaluation result and breathing strategy. Exemplary, table 2 shows the corresponding relationship of evaluation result and breathing strategy stored by a kind of electronic device 100 provided in embodiment of the present application.
[0249] Table 2
[0250] Evaluation results Breathing strategies Normal breathing none Tachypnea Slow down your breathing rate Bradypnea Increase your breathing rate At least one apnea Take a deep breath Irregular breathing rhythm Maintain a steady breathing rhythm
[0251] As shown in Table 2, the electronic device 100 may store a correspondence between the evaluation results and the breathing strategies. For example, when the evaluation result is normal breathing, the breathing strategy is none; when the evaluation result is tachypnea, the breathing strategy is to slow down the breathing rate; when the evaluation result is bradypnea, the breathing strategy is to speed up the breathing rate; when the evaluation result is that there is at least one apnea, the breathing strategy may be deep breathing; when the evaluation result is irregular breathing rhythm, the breathing strategy may be to maintain a steady breathing rhythm, etc.
[0252] It is understandable that the embodiment shown in Table 2 above is only an exemplary description, and when the evaluation results are different, the corresponding breathing strategies may be different. In the embodiment of the present application, more, less or different evaluation results, breathing strategies and the corresponding relationship between the evaluation results and the breathing strategies from the above embodiment may also be stored in the electronic device 100, and the present application is not limited thereto.
[0253] After determining the evaluation result, the electronic device 100 may determine a corresponding breathing strategy from a correspondence between the evaluation result and the breathing strategy based on the evaluation result, and output the breathing strategy.
[0254] In some embodiments, the electronic device 100 may also store the correspondence between the evaluation results, the user status and the breathing strategy.
[0255] Also illustratively, Table 3 shows the correspondence between the evaluation results, user status, and breathing strategies stored in the electronic device 100 provided in an embodiment of the present application.
[0256] Table 3
[0257] Evaluation results User Status Breathing strategies Tachypnea Panic state Take a deep breath and slow down your breathing rate Tachypnea Falling state Take a deep breath and slow down your breathing rate Long breathing intervals High altitude conditions Increase your breathing rate
[0258] As shown in Table 3, the electronic device 100 may store a correspondence between the evaluation result, the user status and the breathing strategy. For example, when the evaluation result is tachypnea and the user status is a panic state, the breathing strategy may be deep breathing to slow down the breathing rate; when the evaluation result is tachypnea and the user status is a fall state, the breathing strategy may be deep breathing to slow down the breathing rate; when the evaluation result is that the breathing interval is too long and the user status is a high altitude state, the breathing strategy may be to speed up the breathing rate, and so on.
[0259] It is understandable that the embodiment shown in Table 3 above is only an exemplary description, and when the evaluation results and / or user states are different, the corresponding breathing strategies may be different. In the embodiment of the present application, more, less or different evaluation results, user states, breathing strategies and the corresponding relationship between the three from the above embodiment may also be stored in the electronic device 100, and the present application is not limited thereto.
[0260] The electronic device 100 may determine the user status based on the acquired user information. After determining the user status and the evaluation result, the electronic device 100 may determine the corresponding breathing strategy based on the corresponding relationship between the evaluation result, the user status and the breathing strategy, and output the breathing strategy.
[0261] It should be noted that the electronic device 100 can output the breathing strategy in any one or more of the following ways: pictures, animations, videos, voices, texts, vibrations, flashing indicator lights, etc. FIG. 9A to FIG. 9B A schematic diagram of an output interface of a group of breathing strategies provided in an embodiment of the present application is shown.
[0262] For example, when the electronic device 100 detects that the user is breathing too fast and the user falls, the electronic device 100 may display the following information: Fig.9A Breathing strategy interface 900 is shown.
[0263] like Fig.9A As shown, the breathing strategy interface 900 may include a breathing prompt 901, which may be used to prompt the user to slow down the breathing rate. The breathing prompt 901 may include an animation prompt 902 and a text prompt 903. Among them, the animation prompt 902 may be Fig.9A The breathing animation shown includes the exhalation process and the inhalation process, and may also be a fluctuating breathing waveform, or other animations that can prompt the user's breathing rhythm, etc. The text prompt 903 may be "Please slow down your breathing rate according to the rhythm shown in the figure".
[0264] As another example, when the electronic device 100 detects that the user is breathing too slowly, the electronic device 100 may display the following Fig. 9B Breathing strategy interface 910 is shown.
[0265] like Fig. 9B As shown, the breathing strategy interface 910 may also include a breathing prompt 911, which can be used to prompt the user to speed up the breathing rate. The breathing prompt 911 may include an animation prompt 912 and a text prompt 913, wherein the animation prompt 912 may be Fig. 9B The breathing animation shown may also be other animations that can prompt the user's breathing rhythm. The text prompt 913 may be "Please speed up your breathing rate according to the rhythm shown in the figure".
[0266] Understandably, FIG. 9A to FIG. 9B These are just two examples. In the embodiments of the present application, the evaluation results determined by the electronic device 100 may also be evaluation results different from those in the above embodiments (for example, irregular breathing rhythm, apnea, etc.). In this case, the electronic device 100 may also output corresponding breathing strategies based on the detected evaluation results to help users adjust breathing posture, breathing rate, breathing depth, etc. This application does not limit this.
[0267] In some application scenarios, the electronic device 100 can receive and respond to the user's operation of turning on meditation breathing, and output a posture prompt, which is used to prompt the user to adjust the posture to start meditation. After that, the electronic device 100 can obtain the user's breathing information in real time, determine the user's breathing index based on the breathing information, and determine whether the user's breathing index is consistent with the preset meditation breathing index. When the user's breathing index is inconsistent with the meditation breathing index, the electronic device 100 can output a meditation breathing prompt, which is used to prompt the user to adjust his breathing (such as breathing rate, breathing rhythm, etc.) so that the breathing index is consistent with the preset meditation breathing index.
[0268] In this way, the user can be guided to adjust his breathing rhythm and breathing rate according to the real-time breathing information collected from the user, so as to facilitate the user to enter a meditative state.
[0269] For example, Fig. 10A As shown, the electronic device 100 displays a breathing application interface 1010, and the breathing application interface 1010 may include multiple switches, such as a meditation breathing switch 1011, a breathing monitoring switch 1012, etc. The meditation breathing switch 1011 can be used to trigger the electronic device 100 to turn on the meditation breathing function, and the breathing monitoring switch 1012 can be used to trigger the electronic device 100 to turn on the breathing monitoring function.
[0270] The electronic device 100 can receive and respond to the user's click operation on the meditation breathing switch 1011, and display the following Fig. 10B Posture adjustment interface 1020 is shown.
[0271] like Fig. 10B As shown, the posture adjustment interface 1020 may include a meditation prompt 1021, and the meditation prompt may include a posture prompt 1022. The posture prompt 1022 may be in the form of a picture (or animation), etc. Optionally, the meditation prompt may also include text 1023, such as "meditation breathing begins, please adjust your posture." The meditation prompt 1021 may be used to prompt the user to adjust the posture and breathing in the meditation state.
[0272] After the electronic device 100 detects that the display duration of the meditation prompt 1021 reaches a specified duration (e.g., 5 seconds), the electronic device 100 may display the following: Fig. 10CMeditation interface 1030 is shown. At the same time, the electronic device 100 can start to obtain the user's breathing information.
[0273] like Fig. 10C , the meditation interface 1030 may display an animation 1031, which may be used to remind the user of the duration of a single exhalation process and a single inhalation process in the meditation state. For example, the animation 1031 may be Fig. 10C The curve shown in the figure is in fluctuation, and the curve may include one or more peaks and troughs. When the center of the curve (or other positions) is a peak, the curve may instruct the user to inhale, and the higher the peak, the more the user inhales; when the center of the curve is a trough, the curve may instruct the user to exhale, and the lower the trough, the more the user exhales. In this way, the user's breathing rate and breathing rhythm can be adjusted by adjusting the fluctuation speed, peaks and troughs of the curve. Optionally, text 1032 may also be displayed in the meditation interface 1030, and the text 1032 may be used to prompt the user to adjust his breathing. For example, the text 1032 may be "Please breathe according to the rhythm shown in the figure."
[0274] When it is detected that the user's breathing index does not match the preset meditation breathing index, the electronic device 100 may display the following Fig. 10D Breathing adjustment interface 1040 is shown.
[0275] like Fig. 10D As shown, the breathing adjustment interface 1040 may include a meditation breathing prompt 1041, which may be used to prompt the user to adjust his breathing so that the breathing index is consistent with the preset meditation breathing index. The meditation breathing prompt 1041 may include an animation 1042 and text 1043. The animation 1042 may be the same as the above Fig. 10C The animation 1031 shown is the same animation, except that the rotation speed of the animation 1042 may be different from that of the animation 1031. In some embodiments, the animation 1042 may also be an animation of a fluctuating breathing waveform, etc., which is not limited in this application. The text 1043 may include "Please take a deep breath and slow down your breathing rate".
[0276] Understandably, FIG. 10A to FIG. 10DThe illustrated embodiment is only an example. In the embodiment of the present application, after the meditation function is turned on, the electronic device 100 may also output the evaluation results by voice playback, or by combining voice playback with display screen display, which is not limited in the present application. In other embodiments, the electronic device 100 may also output posture prompts and / or breathing information prompts in other user states (e.g., aerobic exercise state, sleeping state, etc.), prompting the user to adjust the exercise posture or sleeping posture, or prompting the user to adjust the breathing rate and breathing rhythm during aerobic exercise or falling asleep, helping the user to perform efficient aerobic exercise, or helping the user to fall asleep quickly, etc., which are not limited in the embodiment of the present application.
[0277] The following introduces the functional modules of a respiratory monitoring system 10 provided in an embodiment of the present application.
[0278] Fig.11 A functional module schematic diagram of a respiratory monitoring system 10 provided in an embodiment of the present application is shown.
[0279] like Fig.11 As shown, the respiratory monitoring system 10 may include an electronic device 100 and an electronic device 200. The electronic device 100 may include an interaction module 1001, a data acquisition module 1002, a data processing module 1003, and an evaluation module 1005. Optionally, the electronic device 100 may also include any one or more of the following: a user information module 1004, an output module 1006, a strategy module 1007, and a communication module 1008. The electronic device 200 may include a communication module 2001 and an output module 2003. Optionally, the electronic device 200 may also include a user information acquisition module 2002.
[0280] In the electronic device 100, the interaction module 1001 can receive user operations, such as the user's operation of enabling the respiratory monitoring function, the user's operation of setting the respiratory strategy, the user's operation of setting the user's age, the user's operation of setting the user's information, the user's operation of viewing the evaluation results, the user's operation of sharing the evaluation results, the user's operation of calling an emergency number, etc. After receiving the user's operation of enabling the respiratory monitoring function, the interaction module 1001 can send a start instruction to the data acquisition module 1002, and the start instruction is used to instruct the data acquisition module 1002 to start collecting respiratory information, such as PPG signals and / or ACC signals. In some embodiments, the interaction module 1001 can also receive and respond to the user's operation of setting the respiratory strategy, and send a policy setting instruction to the policy module 1007, and the policy setting instruction is used to instruct the policy module 1007 to set the indicated policy.
[0281] The data acquisition module 1002 may receive a start instruction sent by the interaction module 1001 or the user information module 1004. In response to the start instruction, the data acquisition module 1002 may collect respiratory information. In some embodiments, the respiratory information may include a PPG signal and / or an ACC signal. When the time period of the collected signal reaches a preset sampling time period (e.g., 30 seconds), the data acquisition module 1002 may filter and reduce noise on the respiratory information to obtain a respiratory signal. The data acquisition module 1002 may send the respiratory signal to the data processing module 1003.
[0282] The data processing module 1003 may receive the respiratory signal sent by the data acquisition module 1002, and determine the respiratory rate and any one or more of the following based on the respiratory signal: respiratory depth, respiratory interval, respiratory tidal value, respiratory rhythm, etc. After determining the respiratory index, the data processing module 1003 may send the multiple respiratory indexes to the evaluation module 1005. In some embodiments, the data processing module 1003 may also send the respiratory signal to the evaluation module 1005.
[0283] The user information module 1004 can obtain user information, and the user information may include any one or more of the following: physiological information, psychological information, position information, posture information, motion information, interaction information, etc. In some embodiments, the user information module 1004 may include any one or more of the following: physiological and psychological detection module, motion information detection module, blood oxygen detection module, human-computer interaction detection module, position detection module, posture detection module, body temperature detection module, heart rate detection module, etc. The user information module 1004 may obtain user information through any one or more of the above submodules, for example, detecting the user's motion information through the motion information detection module, detecting the user's body temperature information through the body temperature detection module, detecting the user's position information through the position detection module, etc. In other embodiments, the user information module 1004 may also receive user information sent by the communication module 1008. The user information module 1004 may also send a start instruction to the data acquisition module 1002 when the user information obtained meets the preset respiratory monitoring conditions. The start instruction is used to instruct the data acquisition module 1002 to start collecting respiratory information. In some embodiments, the user information module 1004 may also send the user information to the evaluation module 1005.
[0284] The evaluation module 1005 can receive the breathing index sent by the data processing module 1003, and optionally, can also receive the breathing signal. The evaluation module 1005 can also determine the evaluation result based on the breathing index, and send the evaluation result to the output module 1006 or the communication module 1008. In some embodiments, the evaluation module 1005 can also receive the user information sent by the user information module 1004, and determine the evaluation result in combination with the user information and the breathing index. In some embodiments, the evaluation module 1005 can also send the evaluation result to the strategy module 1007. In some embodiments, the evaluation module 1005 can also send the content such as the breathing signal and / or the breathing index to the output module 1006 or the communication module 1008.
[0285] Output module 1006 can receive the evaluation result sent by evaluation module 1005, and output the evaluation result. In certain embodiments, output module 1006 can output the evaluation result in different output modes based on different evaluation results. In certain embodiments, output module 1006 can also receive and output the breathing strategy sent by strategy module 1007. Optionally, output module 1006 can also output one or more breathing indicators, and can also output the waveform of breathing signal.
[0286] The strategy module 1007 may store preset breathing strategies for different modes and situations. In some embodiments, the strategy module 1007 may also receive and respond to the strategy setting instruction of the interaction module 1001, set the indicated breathing strategy, or change the previously stored breathing strategy, etc. In some embodiments, after receiving the evaluation result sent by the evaluation module 1005, the strategy module 1007 may determine the breathing strategy in the current situation based on the evaluation result, and send the determined breathing strategy to the output module 1006.
[0287] In some embodiments, the communication module 1008 may receive the evaluation result sent by the evaluation module 1005, and optionally, may also receive contents such as a breathing signal and / or a breathing index. The communication module 1008 may also send an output instruction to the communication module 2001 in the electronic device 200, and the output instruction may include the evaluation result, and optionally, may also include one or more contents such as a breathing signal and a breathing index. In some embodiments, the communication module 1008 may also receive user information sent by the communication module 2001 in the electronic device 200, and send the user information to the user information module 1004.
[0288] In the electronic device 200, the communication module 2001 can receive the output instruction sent by the communication module 1008 in the electronic device 100, and send the output instruction to the output module 2003. In some embodiments, the communication module 2001 can also receive the user information sent by the user information acquisition module 2002, and send the user information to the communication module 1008 in the electronic device 100.
[0289] The user information acquisition module 2002 can acquire user information and send the acquired user information to the communication module 2001 .
[0290] The output module 2003 can receive the output instruction sent by the communication module 2001 and output the evaluation result. Optionally, it can also output the waveform of the respiratory signal (ie, the respiratory waveform), the respiratory index and the like.
[0291] It is understandable that the above Fig.11 The illustrated embodiment is merely an example. In the embodiments of the present application, the respiratory monitoring system 10 may also include electronic devices that are more, less, or different from the above-described embodiments, and the functional module composition in the electronic device 100 and the electronic device 200 may also be different from the above-described embodiments, and the present application does not make any limitations thereto.
[0292] It should be noted that, in some embodiments, modules such as the data processing module 1003 and the evaluation module 1005 may also be set in the electronic device 200, and the electronic device 200 determines the breathing indicators and evaluation results based on the breathing information obtained by the electronic device 100, and this application does not limit this.
[0293] The following describes a process of a respiratory monitoring method provided in an embodiment of the present application.
[0294] Fig.12 A flow chart of a respiratory monitoring method provided in an embodiment of the present application is shown.
[0295] like Fig.12 As shown, the specific process of the respiratory monitoring method may include the following steps:
[0296] S1201: A first electronic device obtains a first respiratory rate and a first respiratory rhythm of a user in a first time period.
[0297] The first electronic device may be the electronic device 100 in the above embodiment, and the first time period may be the above Figure 4 The sampling time period in step S402 shown in the figure, the duration of the first time period can be preset. The first respiratory rate and the first respiratory rhythm can be the respiratory rate and respiratory rhythm of the user monitored in real time by the first electronic device.
[0298] In a possible implementation, the first electronic device may be any one of the following wearable devices: a watch, a bracelet, a ring, and smart glasses, etc. In this way, the first electronic device is convenient for the user to carry around, and the user can perform real-time respiratory monitoring anytime and anywhere.
[0299] In a possible implementation, obtaining the first respiratory rate and the first respiratory rhythm of the user in the first time period specifically includes: when the first condition is met, obtaining the first respiratory rate and the first respiratory rhythm of the user in the first time period; the first condition includes any one or more of the following: receiving an operation from the user to turn on respiratory monitoring, receiving an operation from the user to turn on the meditation function, receiving a start instruction sent by a second electronic device, detecting that the user's physiological state is abnormal, detecting that the user's psychological state is abnormal, detecting that the user is in motion, detecting that the user's body posture is abnormal, detecting that the user's sports equipment is abnormal, and detecting that the user's position is within a preset area. Among them, the first condition can be the above Figure 4 The breathing monitoring conditions in step S401 are shown.
[0300] Exemplarily, the abnormal physiological state may include but is not limited to any one or more of the following: blood oxygen concentration does not belong to the preset blood oxygen concentration interval, heart rate does not belong to the preset heart rate interval, blood sugar does not belong to the preset blood sugar interval, body temperature does not belong to the preset body temperature interval, blood pressure does not belong to the preset blood pressure interval, and the user suffers from a specific disease (such as respiratory disease, etc.). Another exemplary, the abnormal psychological state may include but is not limited to any one or more of the following: the user is depressed, the user is in high spirits, the user is frightened, the user's pressure value does not belong to the preset pressure value interval, etc. Another exemplary, the sports state may include but is not limited to any one or more of the following: mountain climbing, diving, running, swimming, yoga, skipping, cycling, etc. Another exemplary, the abnormal body posture of the user may include but is not limited to any one or more of the following: the user falls, the user steps on the air, etc. Another exemplary, the abnormal sports equipment of the user may include but is not limited to any one or more of the following: the oxygen remaining in the oxygen cylinder is lower than the preset oxygen amount, the bicycle's travel resistance is greater than the preset resistance, the weight of the smart backpack is greater than the preset weight, etc. As another example, the preset area range may include, but is not limited to: the altitude of the user is higher than the preset altitude, the water pressure at the user's location is higher than the preset water pressure value, etc.
[0301] In a possible implementation, before obtaining the first respiratory rate and the first respiratory rhythm of the user in the first time period, the method further includes: displaying a first interface of a first application, the first interface including a first control, the first control being used to trigger obtaining the respiratory rate and the respiratory rhythm of the user; and receiving a first operation of the user on the first control. Exemplarily, the first application may be a respiratory application, and the first interface may be the above Fig. 10A The respiratory application interface 1010 shown in the figure, the first control may be the above Fig. 10A The respiratory monitoring switch 1012 is shown. It can be understood that the embodiment here is just an example. In the embodiment of the present application, the first application can also be a health application or other application, and the first interface can also be related to Fig. 10A The respiratory application interface 1010 shown is different from the interface, and the first control can also be Fig. 10A The different controls of the respiratory monitoring switch 1012 are shown, and the present application does not limit them herein.
[0302] In a possible implementation, obtaining a first respiratory rate and a first respiratory rhythm of a user in a first time period specifically includes: obtaining first respiratory information of the user in the first time period; determining the first respiratory rate, one or more respiratory intervals, one or more respiratory tidal values, and one or more respiratory depths in the first time period based on the first respiratory information; determining the first respiratory rhythm based on the one or more respiratory intervals, one or more respiratory tidal values, and one or more respiratory depths.
[0303] The first breathing information may be the above Figure 4 In the embodiment shown, the first breathing information can be used to determine multiple breathing indicators, and the breathing indicators can include but are not limited to any one or more of the following: breathing interval, breathing rate, breathing depth, breathing tidal value, breathing rhythm, breathing cycle, etc. The specific method for the first electronic device to determine the breathing indicator based on the first breathing information can refer to the above Figure 4 The relevant description in step S402 is shown.
[0304] In a possible implementation, determining the first respiratory rhythm based on one or more respiratory intervals, one or more respiratory tidal values, and one or more respiratory depths specifically includes: performing weighted summation of the one or more respiratory intervals, one or more respiratory tidal values, and one or more respiratory depths to obtain the first respiratory rhythm.
[0305] In this way, the first electronic device can determine the first respiratory rhythm based on the monitored breathing depth, breathing interval and respiratory tidal values.
[0306] In a possible implementation, obtaining a first respiratory rate and a first respiratory rhythm of a user in a first time period specifically includes: obtaining first respiratory information of the user in the first time period; sending the first respiratory information to a second electronic device; and receiving the first respiratory rate and the first respiratory rhythm sent by the second electronic device. The second electronic device may be the electronic device 200 in the above embodiment.
[0307] In this way, the first respiratory rate and the first respiratory rhythm can also be determined by the second electronic device based on the first respiratory information, and the first respiratory rate and the first respiratory rhythm can be sent to the first electronic device.
[0308] In one possible implementation, the first electronic device includes a PPG module and / or an acceleration sensor; obtaining a first respiratory rate and a first respiratory rhythm of the user in a first time period specifically includes: obtaining the first respiratory rate and the first respiratory rhythm of the user in the first time period through the PPG module and / or the acceleration sensor.
[0309] In this way, the first electronic device can obtain the first respiratory rate and the first respiratory rhythm of the user in the first time period through the PPG module and / or the acceleration sensor.
[0310] S1202: If the first respiratory rate belongs to the first interval and the first respiratory rhythm belongs to the second interval, the first electronic device outputs a first prompt, and the first prompt is used to prompt the user that the breathing is normal.
[0311] The first interval can be Figure 6 The breathing rate interval preset in step S601 is used to indicate the value range of the breathing rate when the user is in a normal breathing state.
[0312] The second interval can be Figure 6 The respiratory rhythm interval preset in step S602 is used to represent the value range of the respiratory rhythm of the user when the user's breathing state is normal.
[0313] The first prompt can be used to prompt the user that the breathing is normal. The first electronic device can output the first prompt in any one or more ways such as display screen display, voice, vibration, indicator light flashing, etc. Exemplarily, the first prompt can be the above Fig. 7A The normal prompt 701 in the embodiment shown may also be the above Fig. 8A Normal prompt 802 in the illustrated embodiment.
[0314] S1203: If the first respiratory rate does not belong to the first interval, and / or the first respiratory rhythm does not belong to the second interval, the first electronic device outputs a second prompt, and the second prompt is used to prompt the user of abnormal breathing.
[0315] The first respiratory rate does not belong to the first interval, and / or the first respiratory rhythm does not belong to the second interval, which may include the following three situations:
[0316] Case 1: The first respiratory rate does not belong to the first interval, and the first respiratory rhythm belongs to the second interval;
[0317] Case 2: The first respiratory rate belongs to the first interval, and the first respiratory rhythm does not belong to the second interval;
[0318] Case 3: The first respiratory rate does not belong to the first interval, and the first respiratory rhythm does not belong to the second interval.
[0319] The second prompt can be used to prompt the user of abnormal breathing. The first electronic device can output the second prompt in any one or more ways, such as display screen display, voice, vibration, indicator light flashing, etc. Optionally, the output method of the first prompt can be different from the output method of the second prompt. Exemplarily, the second prompt can be the above Figure 7C The abnormal prompt 721 in the embodiment shown may also be the above Figure 8B Exception prompt 812 in the illustrated embodiment.
[0320] The respiratory monitoring method provided in the embodiment of the present application allows users to perform respiratory monitoring through the first electronic device anytime and anywhere to obtain the user's respiratory health status, and can also reduce the risk of missed screening of respiratory abnormalities.
[0321] In a possible implementation, the method further includes: displaying a second interface, the second interface including any one or more of the following: a first prompt, a second prompt, a first respiratory rate, a first respiratory rhythm, a first interval, a second interval, a respiratory interval, a respiratory tidal value, a respiratory depth, and a respiratory waveform. Exemplarily, the second interface may be the above Figure 7A-7D , Figure 8A-B Any interface in the illustrated embodiment. It is understandable that the embodiments here are just some examples, and in the embodiments of the present application, the second interface may also be an interface different from any of the above embodiments, and the present application does not limit it here.
[0322] In this way, the monitoring results can be output through the interface to prompt the user whether the breathing is normal or abnormal.
[0323] In one possible implementation, if the first respiratory rate does not belong to the first interval, or the first respiratory rhythm does not belong to the second interval, the method also includes: dialing a first number, the first number being an emergency number or an emergency contact number preset by the user; and / or, sending a first text message to the electronic device corresponding to the first number, the first text message being used to indicate that an emergency situation has occurred to the user of the first electronic device.
[0324] In this way, when the user has abnormal breathing, the first electronic device can ask others for help in time, thereby increasing the user's safety.
[0325] In a possible implementation manner, the method further includes: before outputting the first prompt or the second prompt, determining that the user state is a first state; and determining the first interval and the second interval based on the first state.
[0326] In a possible implementation, determining that the user status is the first status specifically includes: the first electronic device obtains user information, or receives user information sent by the second electronic device; and determining that the user status is the first status based on the user information.
[0327] In a possible implementation, the user information includes any one or more of the following: physiological information, psychological information, sports information, sports equipment information, posture information, location information, and interaction information.
[0328] The specific content and acquisition method of user information can refer to the above Figure 4 The relevant descriptions in step S401 and step S403 shown in the figure, the specific content and determination method of the user status can refer to the above Figure 4 The related description in step S403 and the relationship between the user status and the first interval and the second interval can also refer to the above Figure 4 Step S403 or Figure 6 The relevant description in the illustrated embodiment will not be repeated here.
[0329] In this way, the first electronic device can determine the user status based on the user information in real time. It should be noted that the first electronic device can detect the user information, determine the user information based on the user's input to the first electronic device, and receive the user information sent by the second electronic device.
[0330] In one possible implementation, if the first respiratory rate belongs to the first interval and the first respiratory rhythm belongs to the second interval, a first prompt is output, specifically including: if the first respiratory rate belongs to the first interval and the first respiratory rhythm belongs to the second interval, when it is determined that the user is not in a sleeping state, a first prompt is output.
[0331] In this way, in the sleeping state, if the first electronic device determines that the user's breathing is normal, it can output the first prompt after the user wakes up. The user can see the output first prompt after waking up.
[0332] In one possible implementation, if the first respiratory rate does not belong to the first interval, and / or the first respiratory rhythm does not belong to the second interval, a second prompt is output, specifically including: if the first respiratory rate does not belong to the first interval, and / or the first respiratory rhythm does not belong to the second interval, when it is determined that the user is in a sleeping state, the user is woken up and a second prompt is output.
[0333] In this way, in the sleeping state, if the first electronic device determines that the user has abnormal breathing, it can wake up the user and output the second prompt, so as to prevent the user from falling into a coma due to abnormal breathing and enhance the safety of the user.
[0334] In one possible implementation, before obtaining the user's first breathing rate and first breathing rhythm in the first time period, the method also includes: receiving an operation by the user to turn on a meditation function; outputting a first prompt, specifically including: playing the first prompt by voice; and outputting a second prompt, specifically including: playing the second prompt by voice.
[0335] For example, the user can start the meditation function by Fig. 10A In the embodiment shown, the user operates the meditation breathing switch 1011. Optionally, after the user turns on the meditation function, the first electronic device may also output a meditation prompt to prompt the user to adjust the meditation posture, etc. The specific content of the meditation prompt can be referred to above. Fig. 10B A description of the posture adjustment interface 1020 is shown.
[0336] In this way, after the user activates the meditation function, the first electronic device can output a prompt (the first prompt or the second prompt) by voice playback to prevent the user from missing the prompt due to lack of time to open his eyes in the meditation state.
[0337] In one possible implementation, the method also includes: if the first breathing rate does not belong to the first interval, or the first breathing rhythm does not belong to the second interval, outputting a third prompt, the third prompt being used to prompt the user to adjust any one or more of the following: breathing posture, breathing rate, and breathing rhythm.
[0338] Exemplarily, the third prompt may be the above Fig.9A The breathing prompt 901 in the embodiment shown may also be the above Fig. 9B The breathing prompt 911 in the embodiment shown may also be the above Fig. 10D The meditation breathing prompt 1041 in the illustrated embodiment. It is understandable that the embodiments here are just some examples, and in the embodiments of the present application, the third prompt may also be a prompt different from the above embodiments, and the first electronic device may also output the third prompt in any one or more ways such as display screen display, voice, vibration, indicator light flashing, etc., and the present application does not limit it here.
[0339] In this way, when the user has abnormal breathing, the first electronic device can guide the user to adjust the breathing strategy through the third prompt to help the user restore normal breathing.
[0340] For the convenience of subsequent description, the above-mentioned electronic device 100, electronic device 200, first electronic device, and second electronic device can be collectively referred to as devices. It should be understood that the division of each unit in the device is only a division of logical functions. In actual implementation, it can be fully or partially integrated into one physical entity, or it can be physically separated. In addition, the units in the device can be implemented in the form of a processor calling software; for example, the device includes a processor, the processor is connected to a memory, instructions are stored in the memory, and the processor calls the instructions stored in the memory to implement any of the above methods or implement the functions of each unit of the device, wherein the processor is, for example, a general-purpose processor, such as a central processing unit (CPU) or a microprocessor, and the memory is a memory inside the device or a memory outside the device. Alternatively, the units in the device can be implemented in the form of hardware circuits, and the functions of some or all of the units can be realized by designing the hardware circuits, and the hardware circuits can be understood as one or more processors; for example, in one implementation, the hardware circuit is an application-specific integrated circuit (ASIC), and the functions of some or all of the above units are realized by designing the logical relationship of the components in the circuit; for another example, in another implementation, the hardware circuit can be realized by a programmable logic device (PLD), taking a field programmable gate array (FPGA) as an example, which can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by a configuration file, so as to realize the functions of some or all of the above units. All units of the above devices can be realized in the form of a processor calling software, or in the form of hardware circuits, or in part by a processor calling software, and the rest by hardware circuits.
[0341] In the embodiment of the present application, the processor is a circuit with data processing capability. In one implementation, the processor may be a circuit with instruction reading and running capability, such as a CPU, a microprocessor, a graphics processing unit (GPU) (which may be understood as a microprocessor), or a digital signal processor (DSP), etc.; in another implementation, the processor may implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit may be fixed or reconfigurable, such as a hardware circuit implemented by an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and implementing the hardware circuit configuration may be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it may also be a hardware circuit designed for artificial intelligence, which may be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc.
[0342] It can be seen that each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
[0343] In addition, all or part of the units in the above device can be integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a system-on-a-chip (SOC). The SOC may include at least one processor for implementing any of the above methods or implementing the functions of each unit of the device. The type of the at least one processor may be different, for example, including a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.
[0344] A possible physical structure of the electronic device 100 provided in an embodiment of the present application is introduced below.
[0345] For example, Fig.13 A schematic diagram of the physical structure of an electronic device 100 provided in an embodiment of the present application is shown.
[0346] like Fig.13As shown, the electronic device 100 may be the electronic device 100 (or the first electronic device) in the above embodiment. The electronic device 100 may include: a processor 1301, a memory 1302, a transmitter 1303, and a receiver 1304. The processor 1301, the memory 1302, the transmitter 1303, and the receiver 1304 may be connected to each other or connected to each other through a bus 1305.
[0347] Exemplarily, the memory 1302 is used to store computer programs and data of the electronic device 100. The memory 1302 may include, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM) or portable read only memory (compact disc read-only memory, CD-ROM), etc.
[0348] The software or program codes required for all or part of the functions of the electronic device 100 in the above method embodiment are stored in the memory 1302 .
[0349] In one possible implementation, if the software or program code required for some functions is stored in the memory 1302, the processor 1301, in addition to calling the program code in the memory 1302 to implement some functions, can also cooperate with other components (such as transmitter 1303 and receiver 1304, etc.) to jointly complete other functions described in the method embodiment (such as the function of receiving or sending data).
[0350] The transmitter 1303 and the receiver 1304 are used to support the electronic device 100 to communicate, such as receiving or sending data or signals.
[0351] In some embodiments, the transmitter 1303 may send the breathing information collected by the electronic device 100 to the electronic device 200 .
[0352] In some embodiments, the transmitter 1303 may send an output instruction to the electronic device 200, where the output instruction is used to instruct the electronic device 200 to output the evaluation result and / or the breathing index. Optionally, the output instruction may also include the breathing waveform acquired by the electronic device 100.
[0353] In some embodiments, the receiver 1304 may receive a start instruction sent by the electronic device 200 to the electronic device 100 , and the start instruction may be used to trigger the electronic device 100 to start respiratory monitoring.
[0354] In some embodiments, the receiver 1304 may receive user information sent by the electronic device 200 to the electronic device 100 .
[0355] In some embodiments, the receiver 1304 may receive the breathing index and / or the evaluation result sent by the electronic device 200 to the electronic device 100 .
[0356] Exemplarily, the processor 1301 may be the CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms, etc. The processor 1301 may be used to read the program stored in the memory 1302 and execute the operations performed by the electronic device 100 (or the first electronic device) in any of the above embodiments.
[0357] Fig.13 The specific operations and beneficial effects of each unit in the electronic device 100 shown can be found in the corresponding description in the above method embodiment, which will not be repeated here.
[0358] Understandably, Fig.13 The embodiment shown is only an example. In the embodiment of the present application, the electronic device 100 may also include Fig.13 The embodiments shown are more, less or more Fig.13 The present application does not limit the devices in the different embodiments shown.
[0359] A chip system provided in an embodiment of the present application is introduced below.
[0360] The present application also provides a chip system, which includes at least one processor for implementing the functions involved in the electronic device 100 in any of the above embodiments.
[0361] In one possible design, the chip system also includes a memory, which is used to store program instructions and data, and the memory is located inside or outside the processor.
[0362] The chip system may be composed of the chip, or may include the chip and other discrete devices.
[0363] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
[0364] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.
[0365] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0366] It can be understood that the above chip system is only an example. In the embodiments of the present application, the chip system may also include more, fewer or different devices than the above embodiments, and the present application does not limit this.
[0367] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.
[0368] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc.
[0369] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
[0370] In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.
Claims
1. A respiratory monitoring method, characterized in that, applied to a first electronic device, the method includes: Obtaining a first respiratory rate and a first respiratory rhythm of a user within a first time period; If the first respiratory rate belongs to a first interval and the first respiratory rhythm belongs to a second interval, output a first prompt, where the first prompt is used to prompt that the user's breathing is normal.
2. The method according to claim 1, characterized in that, the method further includes: If the first respiratory rate does not belong to the first interval, and / or the first respiratory rhythm does not belong to the second interval, output a second prompt, where the second prompt is used to prompt that the user's breathing is abnormal.
3. The method according to claim 1 or 2, characterized in that, the obtaining of the first respiratory rate and the first respiratory rhythm of the user within the first time period specifically includes: When a first condition is satisfied, obtaining the first respiratory rate and the first respiratory rhythm of the user within the first time period; the first condition includes any one or more of the following: receiving an operation by the user to start respiratory monitoring, receiving an operation by the user to start a meditation function, receiving a start instruction sent by a second electronic device, detecting that the user's physiological state is abnormal, detecting that the user's mental state is abnormal, detecting that the user is in a motion state, detecting that the user's body posture is abnormal, detecting that the user's sports equipment is abnormal, detecting that the user's position is within a preset area range.
4. The method according to any one of claims 1-3, characterized in that, if the first respiratory rate does not belong to the first interval, or the first respiratory rhythm does not belong to the second interval, the method further includes: Dialing a first number, where the first number is an emergency number or a user-predefined emergency contact number; and / or, Sending a first short message to the electronic device corresponding to the first number, where the first short message is used to indicate that an emergency has occurred to the user of the first electronic device.
5. The method according to any one of claims 1-4, characterized in that, the method further includes: Before outputting the first prompt, determining that the user state is a first state; Determining the first interval and the second interval based on the first state.
6. The method according to claim 5, characterized in that, the determining that the user state is a first state specifically includes: The first electronic device obtains the user information, or receives the user information sent by a second electronic device; Determining that the user state is a first state based on the user information.
7. The method according to claim 6, characterized in that, the user information includes any one or more of the following: physiological information, psychological information, motion information, sports equipment information, posture information, location information, interaction information.
8. The method according to any one of claims 1-7, characterized in that, if the first respiratory rate belongs to a first interval and the first respiratory rhythm belongs to a second interval, outputting the first prompt specifically includes: If the first respiratory rate belongs to a first interval and the first respiratory rhythm belongs to a second interval, when it is determined that the user is not in a sleep state, output the first prompt.
9. The method according to claim 2, characterized in that, If the first respiration rate does not belong to the first interval, and / or the first respiration rhythm does not belong to the second interval, output a second prompt, specifically including: If the first respiration rate does not belong to the first interval, and / or the first respiration rhythm does not belong to the second interval, when it is determined that the user is in a sleep state, wake up the user and output the second prompt.
10. The method according to any one of claims 1-8, characterized in that before obtaining the first respiration rate and the first respiration rhythm of the user within the first time period, the method further includes: receiving an operation by the user to turn on the meditation function; The output of the first prompt specifically includes: playing the first prompt through voice.
11. The method according to claim 2, characterized in that before obtaining the first respiration rate and the first respiration rhythm of the user within the first time period, the method further includes: receiving an operation by the user to turn on the meditation function; The output of the second prompt specifically includes: playing the second prompt through voice.
12. The method according to any one of claims 1-11, characterized in that the method further includes: if the first respiration rate does not belong to the first interval, or the first respiration rhythm does not belong to the second interval, output a third prompt, and the third prompt is used to prompt the user to adjust any one or more of the following: respiration posture, respiration rate, and respiration rhythm.
13. The method according to any one of claims 1-12, characterized in that before obtaining the first respiration rate and the first respiration rhythm of the user within the first time period, the method further includes: displaying a first interface of a first application, the first interface including a first control, and the first control is used to trigger the acquisition of the respiration rate and respiration rhythm of the user; receiving a first operation by the user on the first control.
14. The method according to any one of claims 1-13, characterized in that the method further includes: displaying a second interface, the second interface including any one or more of the following: the first prompt, the second prompt, the first respiration rate, the first respiration rhythm, the first interval, the second interval, respiration interval, respiration tidal value, respiration depth, and respiration waveform.
15. The method according to any one of claims 1-14, characterized in that the acquisition of the first respiration rate and the first respiration rhythm of the user within the first time period specifically includes: acquiring first respiration information of the user within the first time period; determining the first respiration rate, one or more respiration intervals, one or more respiration tidal values, and one or more respiration depths within the first time period based on the first respiration information; determining the first respiration rhythm based on the one or more respiration intervals, the one or more respiration tidal values, and the one or more respiration depths.
16. The method according to any one of claims 1-14, characterized in that the acquisition of the first respiration rate and the first respiration rhythm of the user within the first time period specifically includes: acquiring first respiration information of the user within the first time period; sending the first respiration information to a second electronic device; Receive the first respiratory rate and the first respiratory rhythm sent by the second electronic device.
17. The method according to any one of claims 1-16, wherein, the first electronic device includes a photoplethysmography (PPG) module and / or an acceleration sensor; the obtaining of the first respiratory rate and the first respiratory rhythm of the user within the first time period specifically includes: obtaining the first respiratory rate and the first respiratory rhythm of the user within the first time period through the PPG module and / or the acceleration sensor.
18. The method according to any one of claims 1-17, wherein, the first electronic device is any one of the following wearable devices: a watch, a bracelet, a ring, and smart glasses.
19. An electronic device, being the first electronic device, wherein, it includes one or more memories and one or more processors; the one or more memories are coupled to the one or more processors, the one or more memories are used to store computer program codes, the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the first electronic device executes the method according to any one of claims 1-18 above.
20. A chip system, wherein, applied to the first electronic device, the chip system includes: a processing circuit and an interface circuit, the interface circuit is used to receive code instructions and transmit them to the processing circuit, and the processing circuit is used to run the code instructions so that the chip system executes the method according to any one of claims 1-18 above.
21. A readable storage medium, including instructions, wherein, when the instructions run on the first electronic device, the first electronic device executes the method according to any one of claims 1-18 above.