Breath-guided interaction methods and devices

By detecting respiratory waveform signals in real time and dynamically adjusting respiratory guidance commands, the problem of subjects being unable to perceive respiratory deviations in traditional lung function tests has been solved, thus improving measurement accuracy and user experience.

CN121549799BActive Publication Date: 2026-03-31BEIJING TSINGRAY TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-01-21
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

Traditional lung function testing equipment lacks a real-time biomechanical feedback mechanism, which prevents subjects from perceiving deviations from standard requirements in their breathing movements, thus affecting measurement accuracy.

Method used

By acquiring the respiratory waveform signal of the target object, we determine the rhythm stability index and amplitude change detection index, and dynamically adjust the breathing guidance instructions, including inhalation and exhalation prompts, to ensure that the breathing actions meet the preset standards.

Benefits of technology

It improved the accuracy of lung function measurement and user experience, solved the problems of learning difficulties for subjects and low success rate of interaction, and achieved improvements in measurement accuracy and operational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121549799B_ABST
    Figure CN121549799B_ABST
Patent Text Reader

Abstract

The present application provides a kind of respiratory guidance interaction method and equipment, the method comprises: obtaining the respiratory waveform signal of target object;Respiratory waveform signal is based on determining the rhythm stability index and amplitude mutation detection index of target object in each respiratory cycle;In response to rhythm stability index and amplitude mutation detection index each respectively comply with the duration of corresponding stability condition greater than or equal to first preset time length, send the prompt information characterizing respiratory guidance start;Through interactive interface, inhale demonstration action is shown and inhale prompt instruction is sent, and the curve slope in respiratory waveform signal is detected;In response to the time when curve slope is less than first preset threshold value exceeds second preset time length, through interactive interface, exhale demonstration action is shown and exhale prompt instruction is sent;In response to the time when curve slope is less than second preset threshold value exceeds third preset time length or the length of time when exhale stage exceeds fourth preset time length, send exhale termination instruction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of medical data processing technology, specifically to a respiratory guidance interaction method and device. Background Technology

[0002] Traditional pulmonary function testing devices have a relatively simple interaction method, mainly relying on the subject's subjective cooperation and lacking a feedback mechanism based on real-time biomechanical characteristics. Therefore, subjects cannot perceive the deviation of their own breathing actions from the standard requirements, which can easily lead to problems such as insufficient inhalation (lung volume not reaching maximum), delayed expiratory initiation (failure to switch in time during the plateau phase), and insufficient expiratory force (speed not reaching the critical value), thus affecting the accuracy of pulmonary function test results and causing significant deviations. Summary of the Invention

[0003] In view of this, the present invention provides a breathing-guided interactive method and device.

[0004] In a first aspect, embodiments of the present invention propose a respiratory guidance interaction method, comprising: acquiring a respiratory waveform signal of a target object; determining a rhythm stability index and an amplitude mutation detection index of the target object in each respiratory cycle based on the respiratory waveform signal; the rhythm stability index is used to characterize the respiratory rhythm of the target object, and the amplitude mutation detection index is used to characterize the changes in the respiratory amplitude of the target object; in response to the duration for which the rhythm stability index and the amplitude mutation detection index each meet the corresponding stability conditions being greater than or equal to a first preset duration, sending a prompt message indicating the start of respiratory guidance; displaying an inhalation demonstration action through an interactive interface and sending an inhalation prompt command, and detecting the slope of the respiratory waveform signal curve; in response to the time when the curve slope is less than a first preset threshold for more than a second preset duration, displaying an exhalation demonstration action through an interactive interface and sending an exhalation prompt command, the first preset threshold being determined based on the maximum value of the curve slope during the inhalation phase; in response to the time when the curve slope is less than the second preset threshold for more than a third preset duration or the duration of the exhalation phase for more than a fourth preset duration, sending an exhalation termination command.

[0005] Secondly, embodiments of the present invention provide a respiratory guidance interaction device, comprising: a signal acquisition module configured to acquire a respiratory waveform signal of a target object; an index determination module configured to determine a rhythm stability index and an amplitude change detection index of the target object in each respiratory cycle based on the respiratory waveform signal; the rhythm stability index is used to characterize the respiratory rhythm of the target object, and the amplitude change detection index is used to characterize the changes in the respiratory amplitude of the target object; and a prompt information sending module configured to send a prompt information indicating the respiratory rhythm of the target object in response to the duration for which the rhythm stability index and the amplitude change detection index each meet the corresponding stability condition being greater than or equal to a first preset duration. The system includes: an inhalation prompt message; an inhalation prompt activation module configured to display an inhalation demonstration and send an inhalation prompt command via an interactive interface, and to detect the slope of the respiratory waveform signal curve; an exhalation prompt activation module configured to display an exhalation demonstration and send an exhalation prompt command via an interactive interface in response to a curve slope being less than a first preset threshold for more than a second preset duration, wherein the first preset threshold is determined based on the maximum value of the curve slope during the inhalation phase; and an exhalation termination command sending module configured to send an exhalation termination command in response to a curve slope being less than the second preset threshold for more than a third preset duration or the exhalation phase duration exceeding a fourth preset duration.

[0006] Thirdly, embodiments of the present invention provide an electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to implement the breathing-guided interaction method as described in any implementation of the first aspect.

[0007] This invention provides a respiratory guidance interaction method and device that dynamically adjusts exhalation or inhalation commands by detecting the real-time respiratory state of a target subject and obtaining real-time feedback. Through interactive guidance, it provides more accurate and tailored respiratory guidance to the target subject, thereby improving the adaptability and accuracy of the subject's breathing actions based on the guidance. This addresses the problems of learning difficulties, poor acceptance, and low success rates in one-way interactive testing inherent in traditional pulmonary function measurements. It achieves significant improvements in measurement accuracy, operational efficiency, and user experience, demonstrating outstanding innovation and clinical application value.

[0008] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0009] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0010] Figure 1 This is an exemplary system architecture in which the present invention can be applied;

[0011] Figure 2 A flowchart of a breathing-guided interactive method provided in an embodiment of the present invention;

[0012] Figure 3 A flowchart of another breathing guidance interaction method provided in an embodiment of the present invention;

[0013] Figure 4 A flowchart of another breathing guidance interaction method provided in an embodiment of the present invention;

[0014] Figure 5 This is a structural block diagram of a breathing guidance interaction device provided in an embodiment of the present invention;

[0015] Figure 6 This is a schematic diagram of the structure of an electronic device suitable for performing a breathing-guided interaction method, provided as an embodiment of the present invention. Detailed Implementation

[0016] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0017] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0018] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can also refer to the internal connection of two components; and they can refer to a wireless connection or a wired connection. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0019] Furthermore, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0020] Figure 1 An exemplary system architecture 100 is shown, in which embodiments of the breathing guidance interaction method, apparatus, electronic device, and computer-readable storage medium of the present invention can be applied.

[0021] like Figure 1 As shown, system architecture 100 may include terminal devices 101, 102, and 103, a network 104, and a server 105. Network 104 serves as the medium for providing communication links between terminal devices 101, 102, and 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.

[0022] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various applications for enabling information communication between the terminal devices 101, 102, and 103 and server 105 can be installed. These applications include instant messaging applications.

[0023] Terminal devices 101, 102, and 103 and server 105 can be either hardware or software. When terminal devices 101, 102, and 103 are hardware, they can be various electronic devices with displays, including but not limited to smartphones, tablets, laptops, and desktop computers. When terminal devices 101, 102, and 103 are software, they can be installed in the aforementioned electronic devices, and can be implemented as multiple software programs or software modules, or as a single software program or software module; no specific limitation is made here. When server 105 is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server. When server 105 is software, it can be implemented as multiple software programs or software modules, or as a single software program or software module; no specific limitation is made here.

[0024] Server 105 can provide various services through its built-in applications. It should be noted that the data or information required to provide these services can be obtained from terminal devices 101, 102, and 103 via network 104, or it can be pre-stored locally on server 105 through various means. Therefore, when server 105 detects that this data is already stored locally, it can choose to retrieve it directly from the local storage. In this case, the exemplary system architecture 100 may not include terminal devices 101, 102, and 103 and network 104.

[0025] Since providing various services may require significant computing resources and strong computing power, the breathing guidance interaction method provided in the subsequent embodiments of this invention is generally executed by a server 105 with strong computing power and abundant computing resources. Correspondingly, the breathing guidance interaction device is also generally located in the server 105. However, it should also be noted that when terminal devices 101, 102, and 103 also possess sufficient computing power and resources, they can also complete the aforementioned calculations performed by the server 105 through their installed applications, thereby outputting the same results as the server 105. Especially when multiple terminal devices with different computing capabilities exist simultaneously, but the relevant application determines that the terminal device has strong computing power and abundant remaining computing resources, the terminal device can perform the aforementioned calculations, thereby appropriately reducing the computing pressure on the server 105. Correspondingly, the breathing guidance interaction device can also be located in the terminal devices 101, 102, and 103. In this case, the exemplary system architecture 100 may also exclude the server 105 and the network 104.

[0026] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0027] Please refer to Figure 2 , Figure 2 A flowchart of a breathing-guided interactive method provided in an embodiment of the present invention, wherein process 200 includes the following steps:

[0028] Step 201: Obtain the respiratory waveform signal of the target object.

[0029] This step is intended for the subject executing the breathing-guided interaction method (e.g., Figure 1The server 105 shown acquires the respiratory waveform signal of the target object during breathing. In this embodiment, the target object mainly refers to the person as the subject. Exemplarily, the respiratory waveform signal can be acquired by millimeter-wave radar. The radar transmits a frequency-modulated continuous wave (FMCW) signal, and the echo signal received by the radar is mixed with the transmitted signal to obtain a difference frequency signal. After high-pass filtering, low-noise amplification, and ADC (analog-to-digital converter) sampling, a digitized echo signal is obtained. The distance gate of the chest and abdomen is determined based on the position of the strongest echo energy, and then the original phase signal is extracted along the distance gate. The extracted original phase signal is unwrapped to obtain the unwrapped phase signal, which is the chest and abdomen displacement signal.

[0030] In practice, the direction of the radar's main beam is basically consistent with the direction of the normal to the thoracic plane, and the main lobe is aligned with the midpoint of the line connecting the sternal angle and the xiphoid process (focusing on the sensitive area of ​​anterior chest and abdominal respiratory movement). The subject is seated with their back pressed against the back of the chair. Because the backrest is relatively fixed, there is no displacement between the back and the radar. All displacements generated during breathing are directly reflected in the anterior chest and abdomen illuminated by the radar. That is, the respiratory waveform signal reflects the displacement of the subject's chest and abdomen.

[0031] Step 202: Determine the rhythm stability index and amplitude change detection index of the target object in each respiratory cycle based on the respiratory waveform signal.

[0032] This step aims to have the aforementioned executing entity determine the rhythm stability index and amplitude mutation detection index of the target object in each respiratory cycle based on information such as amplitude in the respiratory waveform signal. The rhythm stability index characterizes the respiratory rhythm of the target object, while the amplitude mutation detection index characterizes the changes in respiratory amplitude. These two indicators can be used to characterize the respiratory stability of the target object.

[0033] Step 203: In response to the duration for which the rhythm stability index and amplitude mutation detection index each meet the corresponding stability conditions being greater than or equal to the first preset duration, a prompt message indicating the start of respiratory guidance is sent.

[0034] This step aims to have the aforementioned executing entity determine whether the rhythm stability index and amplitude mutation detection index meet their respective stability conditions, and whether the duration for which the stability conditions are met is greater than or equal to a first preset duration. This first preset duration can be adjusted according to actual circumstances; for example, it could be 30 seconds. If the duration for which the rhythm stability index and amplitude mutation detection index meet their respective stability conditions is greater than or equal to the first preset duration, it indicates that the target object's breathing is relatively stable, and the subsequent interaction process can continue. Therefore, a prompt message indicating the start of breathing guidance can be sent. For example, this prompt message can be displayed as a prompt box on the interactive interface, accompanied by a voice prompt (e.g., "Breathing rhythm is good, formal testing is about to begin") to alert the target object.

[0035] Step 204: Demonstrate the inhalation action through the interactive interface and send inhalation prompts, and detect the slope of the breathing waveform signal curve.

[0036] This step aims to have the aforementioned executing entity demonstrate an inhalation exercise through an interactive interface that interacts with the target object, and to send an inhalation prompt. The inhalation demonstration can be presented in 2D or 3D animation, and the inhalation prompt can be delivered via voice (e.g., "Please inhale deeply to your maximum capacity"). Typically, the target object begins the inhalation process upon receiving the prompt, and the slope of the respiratory waveform signal is detected during this process.

[0037] Step 205: In response to the time when the slope of the curve is less than the first preset threshold for more than the second preset duration, display the exhalation demonstration action through the interactive interface and send an exhalation prompt command.

[0038] This step aims to have the executing entity determine whether the slope of the curve is less than a first preset threshold, and whether the time the slope is less than the first preset threshold exceeds a second preset duration. The first preset threshold is determined based on a certain percentage (e.g., 10% of the maximum value) of the slope of the respiratory waveform signal during the inhalation phase. The second preset duration can be, for example, 2 seconds or other durations, and can be adjusted according to actual conditions. If the time the slope is less than the first preset threshold exceeds the second preset duration, the executing entity can demonstrate an exhalation action and send an exhalation prompt command through an interactive interface. For example, the exhalation demonstration action can be displayed in 2D or 3D animation, and the exhalation prompt command can be given to the target object via voice command (e.g., "Exhale quickly! Expel all the gas!").

[0039] Step 206: In response to the time when the curve slope is less than the second preset threshold for more than the third preset duration or the duration of the exhalation phase for more than the fourth preset duration, send an exhalation termination command.

[0040] This step aims to determine, by the aforementioned executing entity, whether the slope of the curve is less than a second preset threshold, and whether the time spent below the second preset threshold exceeds a third preset duration, or whether the duration of the target subject's exhalation phase exceeds a fourth preset duration. The second preset threshold is determined based on a second proportion of the maximum slope of the curve during the exhalation phase (e.g., 5% of that maximum value). The third preset duration can be, for example, 2 seconds or other durations, and the fourth preset duration can be, for example, 5 seconds or other durations, and can be adjusted according to actual circumstances.

[0041] If the time for which the curve slope is less than the second preset threshold exceeds the third preset duration, or if the duration of the exhalation phase exceeds the fourth preset duration, the executing entity will send an exhalation termination command to prompt the target object to end the exhalation phase and resume normal breathing rhythm.

[0042] The respiratory guidance interaction method provided in this invention detects the real-time respiratory state of the target subject and obtains real-time feedback to dynamically adjust exhalation or inhalation commands. Through interactive guidance, it provides the target subject with more accurate and tailored respiratory guidance, thereby improving the adaptability and accuracy of the target subject's breathing actions based on the guidance. This solves the problems of learning difficulties, poor acceptance, and low success rate of one-way interactive testing in traditional pulmonary function measurements. It achieves a significant improvement in measurement accuracy, operational efficiency, and user experience, demonstrating outstanding innovation and clinical application value.

[0043] Please refer to Figure 3 , Figure 3 A flowchart illustrating a method for obtaining a set of live human face images provided in this disclosure embodiment, specifically for... Figure 2 Step 202 in process 200 provided a specific implementation. Other steps in process 200 are not adjusted; a new complete embodiment is obtained by replacing step 202 with the specific implementation provided in this embodiment. Process 300 includes the following steps:

[0044] Step 301: Calculate the spontaneous breathing rate of the target object based on the waveform of the breathing waveform signal during a preset time period.

[0045] In this embodiment, the spontaneous respiratory rate of the target subject is calculated based on the waveform of the first 30 seconds of the resting phase in the respiratory waveform signal. The specific calculation formula is as follows:

[0046] .

[0047] Where S(t) represents the respiratory displacement signal. In this embodiment, the radar transmits a frequency-modulated continuous wave (FMCW) signal. The echo signal received by the radar is mixed with the transmitted signal to obtain a difference frequency signal, which is then high-pass filtered, low-noise amplified, and sampled by an ADC to obtain a digitized echo signal. The distance gate of the chest and abdomen is determined based on the location of the strongest echo energy. Then, the original phase signal is extracted along the distance gate. The extracted original phase signal is unwrapped to obtain the unwrapped phase signal, which is the respiratory displacement signal.

[0048] Step 302: Generate an initial reference waveform based on the spontaneous breathing rate. The initial reference amplitude in the initial reference waveform is determined based on the preset benchmark value corresponding to the target object.

[0049] After calculating the spontaneous breathing rate, an initial reference waveform can be generated, the expression of which is as follows:

[0050] ,

[0051] Among them, the initial reference amplitude It is determined based on the preset benchmark value corresponding to the target object, such as the population benchmark value (grouped by age / gender).

[0052] Step 303: Calculate the measured amplitude of the respiratory waveform signal in each respiratory cycle, and combine it with the initial reference amplitude to obtain the measured reference amplitude.

[0053] In this embodiment, after each respiratory cycle is completed, the measured amplitude A_real = max(S(t)) - min(S(t)) is calculated, and the reference amplitude is updated using the following formula: ,in The standard deviation of the current respiratory cycle fluctuation is given, and the learning rate is represented by a coefficient of 0.3.

[0054] Step 304: Determine the rhythm stability index based on the current respiratory cycle duration of the respiratory waveform signal and the average duration of the previous preset number of respiratory cycles.

[0055] In this embodiment, the rhythm stability index can be characterized by the ratio of the difference between the current expiratory cycle duration and the average duration of the previous three respiratory cycles, to that average duration. The corresponding expression is as follows:

[0056] ,

[0057] Where R is the rhythm stability index.

[0058] Step 305: Determine the amplitude change detection index based on the measured reference amplitude and the initial reference amplitude.

[0059] In this embodiment, an amplitude abrupt change detection index is determined based on the measured reference amplitude and the initial reference amplitude. For example, the expression for this amplitude abrupt change detection index is as follows:

[0060] ,

[0061] in, This is the indicator for detecting sudden changes in amplitude.

[0062] In some optional embodiments of this example, the stability condition corresponding to the rhythm stability index includes: the rhythm stability index is less than a first preset proportion; the stability condition corresponding to the amplitude change detection index includes: the amplitude change detection index is less than a second preset proportion. For example, the accumulating stabilization time begins when the following conditions are simultaneously met: The stability timer T_stable updates every second, and is reset to zero if an error occurs. When T_stable ≥ 30s, a green notification box and the voice message "Breathing rhythm is good, formal testing is about to begin" are triggered.

[0063] In some optional embodiments of this example, a graded alert mechanism can also be established based on the rhythm stability index and amplitude mutation detection index:

[0064] Mild rhythm disorder: R∈[15%,30%) or ΔA>40%, can be displayed through an animated flashing yellow box and a voice prompt "Please maintain a steady breathing rhythm" via the interactive interface.

[0065] Severe rhythm disorder: R≥30% or ΔA>80%, can be demonstrated by vibration alarm (1.0G) + interactive interface display animation resetting standard breathing through appropriate equipment.

[0066] Continuous instability: If the standard is not met for 5 consecutive cycles, the test will be suspended, and the above process will be restarted after playing the instructional video.

[0067] In some optional embodiments of this example, the breathing process of the target object may not remain stable. Therefore, in this example, the reference waveform can be aligned with the measured waveform at the beginning of each breathing cycle to ensure that a breathing guidance process suitable for the breathing pattern of the target object can be provided at the beginning of each breathing cycle.

[0068] Specifically, firstly, the expiratory phase start point of the initial reference waveform and the respiratory waveform signal is aligned based on the initial reference amplitude and the measured reference amplitude. Specifically, this is achieved in real-time alignment of the expiratory phase start point of the reference wave and the measured wave using a cross-correlation method. ,in, Indicates time offset.

[0069] Then, based on the expiratory phase initiation point, the target region of the initial reference waveform is synchronized with the expiratory phase of the respiratory waveform signal.

[0070] In this way, the exhalation of the reference waveform and the measured waveform can be synchronized, thereby ensuring that the reference waveform used for breathing guidance can be adapted to the breathing habits of the target subject and achieve a more stable breathing process.

[0071] In some optional embodiments of this example, the executing entity can also monitor in real time whether the duration of the curve slope being greater than 0 exceeds 2 seconds, and then determine that the inhalation action has started. Furthermore, if the first preset threshold is not reached after 5 seconds, the intensity of the voice prompt is increased, and a vibration prompt is added.

[0072] During the exhalation phase, the executing entity can calculate the decrease in displacement of the respiratory waveform signal within one second in real time. If the decrease does not reach the third preset percentage (e.g., 40%) of the preset peak value, the volume of the exhalation prompt command is increased, and a vibration prompt is superimposed. For example, this can be achieved by combining secondary voice prompts, interface interaction, and vibration stimulation (e.g., a voice prompt "Please increase your exhalation speed!", a flashing red warning box on the screen in the interactive interface, seat vibration, etc.). In this embodiment, the preset peak value can be set through the following process: the respiratory volume in the stable breathing state determined in step 203 is used as the tidal volume (the volume of air inhaled or exhaled during each quiet breath), and the deep inhalation volume (the maximum volume of air inhaled after a quiet breath) is approximately 5 times the tidal volume. In practical applications, the preset peak value can be set to approximately 3-5 times the tidal volume.

[0073] Please refer to Figure 4 , Figure 4 A flowchart of another breathing-guided interaction method provided in an embodiment of the present invention, wherein process 400 includes the following steps:

[0074] Step 401: Obtain the respiratory waveform signal of the target object.

[0075] Step 402: Determine the rhythm stability index and amplitude change detection index of the target object in each respiratory cycle based on the respiratory waveform signal. The rhythm stability index is used to characterize the respiratory rhythm of the target object, and the amplitude change detection index is used to characterize the changes in the respiratory amplitude of the target object.

[0076] Step 403: In response to the duration for which the rhythm stability index and amplitude mutation detection index each meet the corresponding stability conditions being greater than or equal to the first preset duration, a prompt message indicating the start of respiratory guidance is sent.

[0077] Step 404: Demonstrate the inhalation action through the interactive interface and send an inhalation prompt command, and detect the slope of the breathing waveform signal curve.

[0078] Step 405: In response to the time when the curve slope is less than the first preset threshold for more than the second preset duration, the exhalation demonstration action is displayed through the interactive interface and an exhalation prompt command is sent. The first preset threshold is determined based on the maximum value of the curve slope during the inhalation phase.

[0079] Step 406: In response to the time when the curve slope is less than the second preset threshold for more than the third preset duration or the duration of the exhalation phase for more than the fourth preset duration, send an exhalation termination command.

[0080] Steps 401-406 above are similar to... Figure 2 The steps 201-206 shown are the same. For the same parts, please refer to the corresponding parts of the previous embodiment. They will not be repeated here.

[0081] Step 407: Generate quality assessment results based on respiratory waveform signals, and construct a quality grading feedback mechanism based on the quality assessment results.

[0082] In this embodiment, the first derivative of the respiratory displacement signal of the respiratory waveform signal can be calculated, a quality assessment result can be calculated based on the first derivative, and a quality assessment result can be generated based on the quality assessment result. The quality assessment result includes: signal-to-noise ratio: , where A signal A is the average power of the useful signal; noise The average power of the noise. Expiratory burst slope: , That is, the first derivative.

[0083] Based on the quality assessment results, the quality can be graded, with grading criteria including: Excellent quality: SNR ≥ 25dB. ≤-5mm / s; General mass: SNR∈[15,25)dB, ∈(-3,-5)mm / s; Poor quality: SNR<15dB or >-3mm / s.

[0084] Different feedback effects can be provided to the target audience based on different quality assessment results, combining the interactive interface and voice prompts. For example, for excellent quality feedback, the interactive interface displays a full-star quality rating, plays a 3D fireworks animation, and provides voice encouragement such as "Test complete, your cooperation is excellent!"; for average quality feedback, the interactive interface displays a quality rating below one star, highlights the problematic waveform segment (such as the insufficient inhalation range), plays a targeted instructional video (such as "How to properly perform forceful exhalation"), and initiates a quick retest mode; for poor quality feedback, the interactive interface displays a quality rating without stars, warning icons indicate unusable data, and the prompt "Poor data quality or severe interference detected, please restart the test," and forces the user into the instructional phase: playing a standard breathing demonstration animation (including live video + 3D animation linkage), and providing visual or tactile feedback to guide the breathing rhythm (frequency matching the target breathing rate).

[0085] Further reference Figure 5 As an implementation of the methods shown in the above figures, the present invention provides an embodiment of a breathing-guided interactive device, which is similar to... Figure 2 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.

[0086] like Figure 5 As shown, the breathing guidance interaction device 500 of this embodiment may include: a signal acquisition module 501, an index determination module 502, a prompt information sending module 503, an inhalation prompt activation module 504, an exhalation prompt activation module 505, and an exhalation termination command sending module 506. The signal acquisition module 501 is configured to acquire the respiratory waveform signal of the target object; the index determination module 502 is configured to determine the rhythm stability index and amplitude mutation detection index of the target object in each respiratory cycle based on the respiratory waveform signal; the rhythm stability index is used to characterize the respiratory rhythm of the target object, and the amplitude mutation detection index is used to characterize the changes in the respiratory amplitude of the target object; the prompt information sending module 503 is configured to send a prompt information indicating the start of breathing guidance in response to the duration for which the rhythm stability index and the amplitude mutation detection index each meet the corresponding stability conditions being greater than or equal to a first preset duration; inhalation... The prompt activation module 504 is configured to display an inhalation demonstration and send an inhalation prompt command through an interactive interface, and to detect the slope of the breathing waveform signal curve; the exhalation prompt activation module 505 is configured to display an exhalation demonstration and send an exhalation prompt command through an interactive interface in response to the time when the curve slope is less than a first preset threshold for more than a second preset duration, the first preset threshold being determined based on the maximum value of the curve slope during the inhalation phase; the exhalation termination command sending module 506 is configured to send an exhalation termination command in response to the time when the curve slope is less than the second preset threshold for more than a third preset duration or the exhalation phase duration for more than a fourth preset duration.

[0087] In this embodiment, the specific processing and technical effects of the signal acquisition module 501, indicator determination module 502, prompt information sending module 503, inhalation prompt activation module 504, exhalation prompt activation module 505, and exhalation termination command sending module 506 in the breathing guidance interaction device 500 can be referred to respectively. Figure 2 The relevant descriptions of steps 201-206 in the corresponding embodiments will not be repeated here.

[0088] This embodiment is a device embodiment corresponding to the method embodiment described above. The respiratory guidance interaction device provided in this embodiment dynamically adjusts the exhalation or inhalation commands by detecting the real-time respiratory state of the target object and obtaining real-time feedback. It provides more accurate and appropriate respiratory guidance to the target object through interactive guidance, thereby improving the adaptability and accuracy of the target object's breathing actions based on the guidance. This solves the problems of learning difficulties, poor acceptance, and low success rate of one-way interactive testing in traditional pulmonary function measurements. It achieves a leapfrog improvement in measurement accuracy, operational efficiency, and user experience, possessing outstanding innovation and clinical application value.

[0089] According to embodiments of the present invention, the present invention also provides an electronic device, the electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to implement the breathing-guided interaction method described in any of the above embodiments when executed.

[0090] According to embodiments of the present invention, the present invention also provides a readable storage medium storing computer instructions that enable a computer to implement the breathing-guided interaction method described in any of the above embodiments when executed.

[0091] According to embodiments of the present invention, the present invention also provides a computer program product, which, when executed by a processor, can implement the breathing guidance interaction method described in any of the above embodiments.

[0092] Figure 6A schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0093] like Figure 6 As shown, device 600 includes a computing unit 601, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 602 or a computer program loaded into random access memory (RAM) 603 from storage unit 608. RAM 603 may also store various programs and data required for the operation of device 600. The computing unit 601, ROM 602, and RAM 603 are interconnected via bus 604. Input / output (I / O) interface 605 is also connected to bus 604.

[0094] Multiple components in device 600 are connected to I / O interface 605, including: input unit 606, such as keyboard, mouse, etc.; output unit 607, such as various types of monitors, speakers, etc.; storage unit 608, such as disk, optical disk, etc.; and communication unit 609, such as network card, modem, wireless transceiver, etc. Communication unit 609 allows device 600 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0095] The computing unit 601 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the various methods and processes described above, such as the breath-guided interaction method. For example, in some embodiments, the breath-guided interaction method can be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program can be loaded and / or installed on device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the breath-guided interaction method described above can be performed. Alternatively, in other embodiments, the computing unit 601 can be configured to perform the breath-guided interaction method by any other suitable means (e.g., by means of firmware).

[0096] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0097] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0098] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0099] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0100] Obviously, the above embodiments are merely illustrative examples for clear explanation and are not intended to limit the implementation. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations here. However, obvious variations or modifications derived therefrom are still within the scope of protection of this invention.

Claims

1. A breath-guided interaction method, characterized in that, The method comprises: acquiring a respiratory waveform signal of a target object; determining a rhythm stability indicator and an amplitude mutation detection indicator of the target object in each respiratory cycle based on the respiratory waveform signal; the rhythm stability indicator is used to represent the respiratory rhythm of the target object, and the amplitude mutation detection indicator is used to represent the respiratory amplitude change of the target object; in response to the duration that the rhythm stability indicator and the amplitude mutation detection indicator each meet the corresponding stability condition being greater than or equal to a first preset time length, sending prompt information representing the start of respiratory guidance; displaying an inhalation demonstration action through an interactive interface and sending an inhalation prompt instruction, and detecting the curve slope of the respiratory waveform signal; in response to the time that the curve slope is less than a first preset threshold value exceeding a second preset time length, displaying an exhalation demonstration action through the interactive interface and sending an exhalation prompt instruction, the first preset threshold value being determined based on the maximum value of the curve slope in the inhalation stage; in response to the time that the curve slope is less than a second preset threshold value exceeding a third preset time length or the length of the exhalation stage exceeding a fourth preset time length, sending an exhalation termination instruction.

2. The method of claim 1, wherein, The method comprises: calculating the autonomous respiratory frequency of the target object based on the waveform of a preset time period in the respiratory waveform signal; generating an initial reference waveform based on the autonomous respiratory frequency, the initial reference amplitude in the initial reference waveform being determined based on a preset reference value corresponding to the target object; calculating the measured amplitude in each respiratory cycle of the respiratory waveform signal, and obtaining a measured reference amplitude in combination with the initial reference amplitude; determining the rhythm stability indicator based on the current respiratory cycle length of the respiratory waveform signal and the average length of a preset number of previous respiratory cycles; determining the amplitude mutation detection indicator based on the measured reference amplitude and the initial reference amplitude.

3. The method of claim 2, wherein, The method further comprises: aligning the initial reference waveform with the exhalation phase starting point of the respiratory waveform signal based on the initial reference amplitude and the measured reference amplitude; synchronizing the target region of the initial reference waveform with the exhalation phase of the respiratory waveform signal based on the exhalation phase starting point.

4. The method of claim 1, wherein, The method comprises: projecting radar waves to the chest and abdomen of the target object using a millimeter wave radar, the radar main beam direction of the millimeter wave radar being consistent with the normal direction of the thoracic plane; acquiring the echo signal of the radar waves, and obtaining the respiratory waveform signal based on the echo signal.

5. The method of claim 1, wherein, The stability condition corresponding to the rhythm stability indicator comprises that the rhythm stability indicator is less than a first preset proportion; and the stability condition corresponding to the amplitude mutation detection indicator comprises that the amplitude mutation detection indicator is less than a second preset proportion.

6. The method of claim 1, wherein, The method further comprises: determining an abnormality in response to the rhythm stability indicator or the amplitude mutation detection indicator not meeting the corresponding stability condition, or the duration that the rhythm stability indicator and the amplitude mutation detection indicator each meet the corresponding stability condition being less than the first preset time length.

7. The method of claim 1, wherein, The method further comprises: In response to the curve slope not reaching the first preset threshold within a fifth preset time length, the prompting volume of the inhalation prompting instruction is increased, and a vibration prompt is superimposed.

8. The method of claim 1, wherein, Further comprising: detecting a drop amount of displacement of the respiratory waveform signal within one second; In response to the drop amount not reaching a third preset proportion of a preset peak value, the prompting volume of the exhalation prompting instruction is increased, and a vibration prompt is superimposed.

9. The method according to any one of claims 1-8, characterized in that, Further comprising: generating a quality evaluation result based on the respiratory waveform signal; constructing a quality grading feedback mechanism based on the quality evaluation result.

10. A breath-guided interactive device, comprising: Comprising: a processor and a memory connected to the processor; wherein the memory stores instructions executable by the processor, and the instructions are executed by the processor to enable the processor to perform the respiratory guidance interaction method according to any one of claims 1-9.

Citation Information

Patent Citations

  • System and method for inducing respiration

    CN106714683A

  • Lung function testing system and method

    CN108968964A