Breathing data processing method and electronic equipment
By processing the user's image sequence and generating respiratory reference information, the problem that APPs in the prior art cannot provide reference value information is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202510278335.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-06-20
AI Technical Summary
The existing breathing practice APP only generates prompt information to users and cannot provide more valuable information, resulting in poor user experience.
By obtaining the user's image sequence, the original breathing signal is generated, the respiratory node is determined, the actual exhalation and inhalation time is calculated, and the breathing reference information is determined based on the standard time and actual time, and provided to the user for adjustment of exercises.
Real-time interaction with users is realized, more valuable information is provided, and the user experience is improved.
Smart Images

Figure CN120182555A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular, to a method for processing breathing data and an electronic device. Background Art
[0002] With the development of sports health applications, it is currently possible to use mobile phone APPs (Applications) to guide users to practice breathing methods.
[0003] In the prior art, breathing method practice APPs mainly generate prompt information on the terminal display interface to guide users to practice following the breathing method.
[0004] However, using the method of the prior art, the APP only generates prompt information for users and cannot provide users with more valuable reference information, resulting in a poor user experience. Summary of the Invention
[0005] The purpose of this application is to provide a method for processing breathing data and an electronic device for the deficiencies in the above prior art, so as to solve the problem that in the prior art, the APP only generates prompt information for users and cannot provide users with more valuable reference information, resulting in a poor user experience.
[0006] To achieve the above purpose, the technical solutions adopted in this application are as follows:
[0007] In a first aspect, this application provides a method for processing breathing data, the method including:
[0008] Obtain configuration parameter information of the current breathing mode, where the configuration parameter information includes: standard exhalation duration, standard inhalation duration, and breathing sequence;
[0009] Respond to a user's practice start instruction, and control an image acquisition device to acquire an image sequence of the user;
[0010] Generate an original breathing signal corresponding to the image sequence according to the image sequence in the current breathing cycle, and determine breathing nodes in the original breathing signal, where the breathing nodes include: exhalation start node, exhalation end node, inhalation start node, and inhalation end node;
[0011] Determine at least one actual exhalation duration and at least one actual inhalation duration in the current breathing cycle according to the breathing nodes;
[0012] Determine breathing reference information for the current breathing cycle according to each actual exhalation duration, each actual inhalation duration, the standard exhalation duration, and the standard inhalation duration.
[0013] Optionally, the determining the breathing nodes in the original breathing signal includes:
[0014] Perform noise reduction processing on the original respiratory signal to obtain a processed signal;
[0015] Determine the signal change information of the processed signal, where the signal change information is used to indicate the inflection point of the curve change of the function image corresponding to the processed signal;
[0016] According to the timestamp information of the processed signal and the configuration parameter information, determine the reference label of the processed signal, where the reference label is used to indicate the respiratory phase to which the processed signal belongs;
[0017] Determine the actual label of the processed signal according to the signal change information, and determine the respiratory nodes in the processed signal according to the actual label or the reference label.
[0018] Optionally, the determining the signal change information of the processed signal includes:
[0019] Perform derivative processing on the processed signal to obtain a first derivative signal;
[0020] Perform filtering processing on the first derivative signal to obtain a filtered signal;
[0021] Perform derivative processing on the filtered signal to obtain a second derivative signal;
[0022] Use the first derivative signal and the second derivative signal as the signal change information.
[0023] Optionally, the determining the reference label of the processed signal according to the timestamp information of the processed signal and the configuration parameter information includes:
[0024] According to the timestamp information of the current sampled signal point in the processed signal, the standard exhalation duration, and the standard inhalation duration, determine the number of respiratory cycles of the current sampled signal point;
[0025] According to the timestamp information of the current sampled signal point, the number of respiratory cycles, the standard exhalation duration, and the standard inhalation duration, determine the respiratory phase of the processed signal, and use the respiratory phase as the reference label of the current sampled signal point.
[0026] Optionally, the determining the actual label of the processed signal according to the signal change information includes:
[0027] In the initial detection state, if the first derivative of the sampled signal point is greater than zero, determine that the sampled signal point is the inhalation start node, and determine the actual label of the sampled signal point as the inhalation phase;
[0028] During the inhalation phase, if the second derivative of the sampling signal point is less than zero, determine the sampling signal point as the end node of inhalation and the start node of exhalation, and determine the actual label of the sampling signal point as the exhalation phase;
[0029] During the exhalation phase, if the signal amplitude of the sampling signal point is less than the preset threshold and the sign of the first derivative of the sampling signal point is opposite to that of the previous adjacent sampling signal point, determine the sampling signal point as the end node of exhalation and determine the actual label of the sampling signal point as the exhalation phase.
[0030] Optionally, determining the respiratory nodes in the processed signal according to the actual label or the reference label includes:
[0031] If the actual label is inconsistent with the reference label, determine the coincidence coefficient between the processed signal and the standard exhalation duration and the standard inhalation duration. If the coincidence coefficient is greater than the preset coefficient threshold, use the reference label as the target label of the sampling signal point. If the coincidence coefficient is less than or equal to the preset coefficient threshold, use the actual label as the target label of the sampling signal point.
[0032] Optionally, the method further includes:
[0033] Determine the respiratory reference information of the current respiratory cycle according to the coincidence coefficient, the actual exhalation duration, the actual inhalation duration, the standard exhalation duration, and the standard inhalation duration.
[0034] Optionally, determining the respiratory reference information of the current respiratory cycle according to each actual exhalation duration, each actual inhalation duration, the standard exhalation duration, and the standard inhalation duration includes:
[0035] Determine the absolute value of the first difference between each actual exhalation duration and the standard exhalation duration;
[0036] Determine the absolute value of the second difference between each actual inhalation duration and the standard inhalation duration;
[0037] Determine the exhalation reference information of the current respiratory cycle according to the absolute value of the first difference and the preset score strategy;
[0038] Determine the inhalation reference information of the current respiratory cycle according to the absolute value of the second difference and the preset score strategy;
[0039] Determine the respiratory reference information of the current respiratory cycle according to the exhalation reference information and the inhalation reference information.
[0040] Optionally, the method further includes:
[0041] Obtain the physiological parameter information of the current exercise round, where the physiological parameter information includes: heart rate, respiratory rate, and pressure value;
[0042] Generate a physiological parameter change report based on the physiological parameter information of the current exercise round and the physiological parameter information of the historical exercise rounds.
[0043] In a second aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of a breathing data processing method as described in any one of the first aspects.
[0044] The beneficial effect of the present application is that during the process of the user performing breathing method exercises, for the exercise situation of the user in each breathing cycle, the terminal device can give breathing reference information, so that the user can timely adjust the breathing method exercises based on the breathing reference information, realizing real-time interaction with the user and effectively improving the user experience.
[0045] To make the above objects, features, and advantages of the present application more obvious and understandable, the following specifically enumerates preferred embodiments and, in conjunction with the accompanying drawings, makes the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required in the embodiments. It should be understood that the following drawings only show some embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.
[0047] Figure 1 Shows a schematic diagram of an application scenario provided by an embodiment of the present application;
[0048] Figure 2 Shows a schematic diagram of a display interface provided by an embodiment of the present application;
[0049] Figure 3 Shows a flowchart of a breathing data processing method provided by an embodiment of the present application;
[0050] Figure 4 Shows a flowchart of determining a breathing node provided by an embodiment of the present application;
[0051] Figure 5 Shows a flowchart of determining signal change information provided by an embodiment of the present application;
[0052] Figure 6 Shows an example diagram before and after signal processing provided by an embodiment of the present application;
[0053] Figure 7 Shows a flowchart for determining a reference tag provided by an embodiment of the present application;
[0054] Figure 8 Shows a flowchart for determining a breathing phase provided by an embodiment of the present application;
[0055] Figure 9 Shows a flowchart for determining breathing reference information provided by an embodiment of the present application;
[0056] Figure 10 Shows an example diagram of a signal in the exhalation phase provided by an embodiment of the present application;
[0057] Figure 11 Shows an example diagram of a signal in the inhalation phase provided by an embodiment of the present application;
[0058] Figure 12 Shows a flowchart for generating a report on changes in physiological parameters provided by an embodiment of the present application;
[0059] Figure 13 Shows a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0060] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Usually, the components of the embodiments of the present application described and illustrated herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application claimed, but merely represents selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts fall within the scope of protection of the present application.
[0061] It should be noted that the term "including" will be used in the embodiments of the present application to indicate the presence of the features stated hereinafter, but does not exclude the addition of other features.
[0062] Currently, the APP applications for breathing method practice are all for guiding breathing method practice. For example Figure 1As shown in the figure, it is a schematic diagram of a scenario for practicing a breathing method. The user is sitting on a seat, and the terminal device captures an upper body image of the user through a camera, and displays prompt information on the display interface of the terminal device to guide the user to follow the prompt information to practice the breathing method.
[0063] Figure 2 It is a schematic diagram of the display interface of a terminal device. As Figure 2 shown, the display interface uses text to prompt the user with the content that needs to be followed in the current practice, the content of the next practice stage, and the number of practice rounds.
[0064] However, the current APP only prompts the user to follow the practice through prompt information, and cannot provide the user with more valuable information, such as timely feedback on the user's current practice status and results, and lacks real-time interaction with the user, resulting in a poor user experience.
[0065] Based on this, the present application proposes a breathing data processing method. By processing the captured user practice image, the original breathing signal is obtained, and the original breathing signal is processed according to the configuration parameters of the current breathing mode to obtain the practice score in the current breathing cycle of the user's practice, enabling the user to adjust based on the score, realizing real-time interaction between the APP and the user and timely feedback on the user's practice process, thereby effectively improving the user experience.
[0066] Next, in combination with Figure 3 , the breathing data processing method of the present application will be described. The execution subject of this method can be a terminal device. The terminal device includes a camera for capturing user practice images during the practice. As Figure 3 shown, this method includes:
[0067] S301. Obtain the configuration parameter information of the current breathing mode. The configuration parameter information includes: standard exhalation duration, standard inhalation duration, and breathing sequence.
[0068] The breathing method practice can include multiple practice modes, and there are differences in the breathing sequence, exhalation duration, and inhalation duration of each practice mode. Taking a single breathing cycle as an example, the breathing modes include: "inhale - exhale", "inhale - hold breath - exhale", "inhale - hold breath - exhale - hold breath", "inhale - exhale - hold breath", etc.
[0069] When the user uses the APP to practice the breathing method, the user can select the breathing mode to be practiced on the display interface. The terminal device can respond to the user's selection instruction, use the breathing mode indicated by the selection instruction as the current breathing mode, and obtain the configuration parameter information of the current breathing mode.
[0070] Optionally, the standard exhalation duration can be the exhalation duration in a single cycle of the current breathing pattern, the standard inhalation duration can be the inhalation duration in a single cycle of the current breathing pattern, and the breathing sequence is used to indicate the exhalation, inhalation, and breath-holding sequence in a single cycle of the current breathing pattern.
[0071] It should be noted that the breathing sequence varies according to the current breathing pattern. For example, in some breathing patterns, there is no breath-holding in a single cycle, so the breathing sequence can be the sequence of exhalation and inhalation. In some breathing patterns, there is at least one breath-holding in a single cycle, so the breathing sequence can indicate the sequence of breath-holding, exhalation, and inhalation. If there is at least one breath-holding in a single cycle, the configuration parameter information can also include: the breath-holding duration.
[0072] S302. In response to the user's practice start instruction, control the image acquisition device to acquire the user's image sequence.
[0073] Among them, the image acquisition device can be the camera of the terminal device. The practice start instruction can be the user's click operation on the "Start Practice" icon on the display interface of the terminal device. In response to the user's practice start instruction, the terminal device can acquire the user's practice images through the camera.
[0074] It should be noted that when the camera acquires the practice images, it can first verify the user's practice images. Specifically, a preset human-shaped area can be displayed on the display interface. If the user's practice images are within the human-shaped area, the verification is successful and the practice mode is entered. At this time, the camera starts to acquire the image sequence of the user following the practice. If the verification fails, that is, the user's practice images are not within the human-shaped area, a prompt message can be generated.
[0075] It should be understood that during the process of the user practicing following the prompt message on the display interface, the image acquisition device can continuously acquire the user's image sequence. At the end of each practice cycle, based on the image sequence in the time period corresponding to the current practice cycle, the breathing reference information of the current practice cycle is obtained.
[0076] As a possible implementation method, during the process of the user practicing following the prompt message in the display interface, it is also possible to continuously judge the image sequence acquired by the image acquisition device. If the user's practice images leave the human-shaped area, the current practice can be paused and a prompt message can be generated until the user's practice images return to the human-shaped area and the user's continue practice instruction is received, and then the current practice continues.
[0077] S303. Generate the original breathing signal corresponding to the image sequence according to the image sequence in the current breathing cycle, and determine the breathing nodes in the original breathing signal. The breathing nodes include: the exhalation start node, the exhalation end node, the inhalation start node, and the inhalation end node.
[0078] Optionally, a plurality of breathing cycles may be included in the current breathing mode. Each breathing cycle includes at least one predefined standard exhalation phase, standard inhalation phase, and standard breath-holding phase. The standard exhalation duration may be the duration of the standard exhalation phase, and the standard inhalation duration may be the duration of the standard inhalation phase. The breathing sequence, standard exhalation duration, and standard inhalation duration of each breathing cycle are the same. The terminal device may process the image sequence of the current breathing cycle at the end of each breathing cycle to generate an original breathing signal corresponding to the image sequence.
[0079] It should be noted that in some cases, the user's follow-up practice may be delayed from the standard time of the current breathing mode. To completely obtain the image sequence of the current breathing cycle, the time range of the image sequence of the current breathing cycle may be expanded. Exemplarily, assuming that under the standard time of the current breathing mode, the time range of the second breathing cycle is 00:15 - 00:30, then the image sequence within the time range of 00:10 - 00:35 may be used as the image sequence of the second breathing cycle.
[0080] Optionally, the original breathing signal may indicate the change of breathing frequency over time. By identifying the image sequence and calculating the movement amplitude of the ROI (Region of Interest) area within the human-shaped area, the breathing frequency can be detected based on the movement amplitude, thereby generating an original breathing signal corresponding to the image sequence. Among them, the ROI area may be the chest area and abdominal area of the human-shaped area.
[0081] Optionally, by performing signal processing on the original breathing signal, the exhalation start node, exhalation end node, inhalation start node, and inhalation end node in the original breathing signal can be obtained. When generating the original breathing signal, the original signal may be represented as a breathing curve, and the curve is used to characterize the change of breathing frequency over time. As a possible implementation, image recognition may be performed on the breathing curve to determine the breathing nodes in the breathing curve.
[0082] The exhalation start node represents the node where the user starts to exhale during the actual breathing practice, the inhalation start node represents the node where the user starts to inhale during the actual breathing practice, the exhalation end node represents the node where the user ends to exhale during the actual breathing practice, and the inhalation end node represents the node where the user ends to inhale during the actual breathing practice.
[0083] It should be understood that the breathing nodes may be the same node or different nodes. Exemplarily, in the "inhalation - exhalation" mode, the inhalation end node and the exhalation start node are the same node, and the exhalation end node of the current breathing cycle and the inhalation start node of the next cycle are the same end node.
[0084] S304. Determine at least one actual exhalation duration and at least one actual inhalation duration in the current breathing cycle based on the breathing nodes.
[0085] Among them, the actual exhalation duration can be determined based on the timestamps of the exhalation start node and the exhalation end node, and the actual inhalation duration can be determined based on the timestamps of the inhalation start node and the inhalation end node.
[0086] It should be understood that in some cases, there may be multiple exhalations or multiple inhalations within one breathing cycle. For example, the breathing pattern of "inhalation - exhalation - breath - holding - inhalation - breath - holding - exhalation" includes two exhalations and two inhalations. Based on the breathing nodes, the actual exhalation duration of each exhalation stage and the actual inhalation duration of each inhalation stage in the breathing pattern can be determined.
[0087] Optionally, when the breathing cycle includes a breath - holding stage, at least one actual breath - holding duration in the current breathing cycle can also be determined based on the breathing nodes. The actual breath - holding duration can be determined based on the timestamp of the exhalation end node and the timestamp of the inhalation start node, or based on the timestamp of the inhalation end node and the timestamp of the exhalation start node, and is determined according to the order of the breath - holding stage in the breathing pattern.
[0088] S305. Determine the breathing reference information of the current breathing cycle based on each actual exhalation duration, each actual inhalation duration, the standard exhalation duration, and the standard inhalation duration.
[0089] Optionally, the breathing reference information of the current breathing cycle can include the breathing follow - up score of the current breathing cycle, which is used to indicate the degree of the user's breathing practice following the current breathing cycle.
[0090] As a possible implementation, the breathing reference information includes: exhalation reference information, inhalation reference information, and breath - holding reference information. At the end of each breathing cycle, the breathing reference information of the current breathing cycle can be displayed to the user through a display interface to prompt the user to adjust the practice situation based on the breathing reference information.
[0091] In the first implementation, the score of each breathing stage of the user can be determined based on each actual exhalation duration, each actual inhalation duration, the standard exhalation duration, and the standard inhalation duration. Then, the score of the current breathing cycle can be obtained based on the scores of each breathing stage, and the score of the current breathing cycle is used as the breathing reference information.
[0092] In the second implementation manner, the difference between the user's breathing during follow-up practice and the standard breathing phases indicated by the current breathing pattern can also be used as a reference information. Specifically, when determining the score of each breathing phase of the user based on each actual exhalation duration, each actual inhalation duration, the standard exhalation duration, and the standard inhalation duration, the overlap degree between the actual breathing phase of the user's follow-up practice and the standard breathing phase indicated by the breathing pattern is determined, and based on the overlap degree and the scores of each breathing phase, the score of the current breathing cycle is obtained, and the score of the current breathing cycle is used as the breathing reference information.
[0093] Optionally, after generating the breathing reference information, the breathing reference information can also be compared with a preset condition. If the breathing reference information meets the preset condition, the to-be-recommended courses of the next-level breathing method practice that the user can choose are determined, and the to-be-recommended courses are pushed to the terminal device used by the user.
[0094] In the embodiment of the present application, the configuration parameter information of the current breathing pattern is obtained. The configuration parameter information includes: the standard exhalation duration, the standard inhalation duration, and the breathing sequence. In response to the user's practice start instruction, the image acquisition device is controlled to acquire the user's image sequence. According to the image sequence in the current breathing cycle, the original breathing signal corresponding to the image sequence is generated, and the breathing nodes in the original breathing signal are determined. The breathing nodes include: the exhalation start node, the exhalation end node, the inhalation start node, and the inhalation end node. According to the breathing nodes, at least one actual exhalation duration and at least one actual inhalation duration in the current breathing cycle are determined. According to each actual exhalation duration, each actual inhalation duration, the standard exhalation duration, and the standard inhalation duration, the breathing reference information of the current breathing cycle is determined. During the user's breathing method practice, for each breathing cycle, the terminal device can give the breathing reference information, realizing real-time interaction with the user and effectively improving the user's usage experience.
[0095] The following is a further description of determining the breathing nodes in the original breathing signal. As Figure 4 shown, the above step S303 includes:
[0096] S401. Perform noise reduction processing on the original breathing signal to obtain the processed signal.
[0097] Optionally, the original breathing signal can be processed by a filter for noise reduction to obtain the processed signal. Among them, the filter can be an IIR (Infinite Impulse Response) filter or an FIR (Finite Impulse Response) filter. Taking the FIR filter as an example, it can specifically be a moving average filter.
[0098] S402. Determine the signal change information of the processed signal.
[0099] The function image of the processed signal can be represented as a signal curve. The signal change information is used to indicate the inflection point position and inflection point value during the change process of the original respiratory signal. The abscissa of the inflection point position is the timestamp, and the ordinate is the respiratory rate.
[0100] In the first implementation, image recognition can be performed on the signal curve to obtain the inflection points in the curve, and the inflection point position and inflection point value are used as the signal change information.
[0101] In the second implementation, the inflection points in the signal curve can be determined based on a mathematical method. For example, the inflection points in the signal curve are determined by the first derivative and second derivative of the signal curve, and the inflection point position and inflection point value are used as the signal change information.
[0102] S403. According to the timestamp information and configuration parameter information of the processed signal, determine the reference label of the processed signal. The reference label is used to indicate the respiratory phase to which the processed signal belongs.
[0103] Optionally, the processed signal includes multiple sampled signal points. According to the configuration parameter information and the timestamp information of each sampling point, the reference label of each sampling point in the processed signal can be determined.
[0104] The reference label can indicate that the processed signal belongs to the exhalation phase, inhalation phase, or breath-holding phase.
[0105] It should be noted that since signal sampling is discrete, in order to ensure the accuracy of the respiratory phase to which the sampling point belongs, a reference label can be determined first. The reference label is a preliminary judgment of the respiratory phase to which the sampling point belongs based on the time ranges of each exhalation phase, inhalation phase, and breath-holding phase in the configuration parameter information. In one implementation, the respiratory phase indicated by the reference label can be used as the respiratory phase to which the sampling point belongs. In another implementation, the reference label can also be used as a reference information for determining the respiratory phase to which the sampling point belongs.
[0106] S404. Determine the actual label of the processed signal according to the signal change information, and determine the respiratory nodes in the processed signal according to the actual label or reference label.
[0107] The actual label can be the respiratory phase to which the sampling point in the processed signal actually belongs obtained according to the signal change information.
[0108] It should be noted that since there is a time delay between the actual practice process of the user during the practice and the prompt information given by the display interface, the reference tags and the actual tags may be different. At this time, the reference tags can be used as a reference to correct the actual tags, either taking the reference tags as the standard or the actual tags as the standard, to determine the final tags of each sampling point in the processed signal. The final tags indicate the respiratory phase to which the sampling point belongs, and based on the respiratory phase to which the final tags belong, the start node and the end node of each respiratory phase are determined as respiratory nodes.
[0109] The following is a further description of the second implementation method of the signal change information of the above-mentioned processed signal, as Figure 5 shown, the above step S402 includes:
[0110] S501. Perform a derivative operation on the processed signal to obtain a first derivative signal.
[0111] Among them, the first derivative signal is used to characterize the change rate of the curve.
[0112] S502. Perform a filtering operation on the first derivative signal to obtain a filtered signal.
[0113] Optionally, a moving average filter can be used to filter the first derivative signal to obtain a smooth filtered signal.
[0114] S503. Perform a derivative operation on the filtered signal to obtain a second derivative signal.
[0115] Among them, the second derivative signal is used to characterize the change situation of the signal curve. Specifically, when the second derivative is greater than zero, it indicates that the signal curve bends upward at the current sampling point, and when the second derivative is less than zero, it indicates that the signal curve bends downward at the current sampling point.
[0116] S504. Use the first derivative signal and the second derivative signal as the signal change information.
[0117] The first derivative signal and the second derivative signal can characterize the change situation of the signal curve of the processed signal. Therefore, the first derivative signal and the second derivative signal can be used as the signal change information of the processed signal.
[0118] Optionally, since the noise reduction process will cause a phase deviation of the signal, after obtaining the second derivative signal, the timestamps corresponding to the processed signal, the second derivative signal, and the first derivative signal can be corrected according to the value of the phase deviation, and the corrected first derivative signal and the second derivative signal are used as the signal change information of the corrected processed signal.
[0119] Figure 6It is a schematic diagram before and after processing a respiration signal given in this application. Among them, the upper figure is the raw signal of the original respiration signal, and the blue curve in the lower figure is the filtered signal of the respiration signal after noise reduction, the yellow curve is the standard reference respiration signal in the current respiration mode, and the vertical line is the respiration transition point.
[0120] The following is a further description of determining the reference label of the processed signal based on the timestamp information and configuration parameter information of the processed signal, as Figure 7 shown, the above step S403 includes:
[0121] S701. Determine the number of respiration cycles of the current sampled signal point according to the timestamp information of the current sampled signal point in the processed signal, the standard expiration duration, and the standard inspiration duration.
[0122] Among them, the current sampled signal point can be any sampled point in the processed signal. For each sampled signal point in the processed signal, based on the timestamp information, the standard expiration duration, and the standard inspiration duration, the number of respiration cycles of the current sampled signal point can be determined by the following formula (1).
[0123]
[0124] Among them, N period represents the number of respiration cycles of the current sampled signal point, T inhale represents the standard inspiration duration, T exhale represents the standard expiration duration, T s is the timestamp of the current sampled signal point.
[0125] S702. Determine the respiration phase of the processed signal according to the timestamp information of the current sampled signal point, the number of respiration cycles, the standard expiration duration, and the standard inspiration duration, and use the respiration phase as the reference label of the current sampled signal point.
[0126] After determining the number of respiration cycles, for each sampled signal point, the respiration phase of the sampled signal point can be determined according to the following formula (2).
[0127] t = T s -(N period -1)×(T inhale +T exhale )(2)
[0128] Among them, t is used to indicate the respiration phase to which the sampled signal point belongs. Specifically, if 0 < t < T inhale , then it is currently in the inspiration phase of the standard respiration method. If t ≥ T inhale, it is currently in the exhalation phase of the standard breathing method, and the breathing phase to which the current sampled signal point belongs is used as the reference label of the current sampled signal point.
[0129] The following is a further description of the actual label of the processed signal determined according to the signal change information as above. As Figure 8 shown, the above step S404 includes:
[0130] S801. In the initial detection state, if the first derivative of the sampled signal point is greater than zero, it is determined that the sampled signal point is the inhalation start node, and the actual label of the sampled signal point is determined to be the inhalation phase.
[0131] Optionally, the first derivative of the sampled signal point being greater than 0 can be that the time stamp of the sampled signal point is used as the abscissa, and the corresponding ordinate on the first derivative signal is greater than 0.
[0132] Among them, the initial detection state can be the start state of each breathing mode. If the first derivative of the sampled signal point is greater than 0, it indicates that the breathing frequency of the user begins to change. At this time, it can be considered that the breathing frequency is detected, and then the sampled signal point can be determined as the inhalation start node, and the actual label of the sampled signal point is determined to be the inhalation phase.
[0133] It should be noted that this application takes the first breathing phase of the breathing mode as the inhalation phase as an example for illustration. In some cases, the first phase of the breathing mode may be the exhalation phase. At this time, the first derivative signal is less than 0, indicating that the sampled signal point is the exhalation start node, and the actual label of the sampled signal point is determined to be the exhalation phase.
[0134] S802. In the inhalation phase, if the second derivative of the sampled signal point is less than zero, it is determined that the sampled signal point is the inhalation end node and the exhalation start node, and the actual label of the sampled signal point is determined to be the exhalation phase.
[0135] Optionally, the second derivative of the sampled signal point being less than zero can be that the time stamp of the sampled signal point is used as the abscissa, and the corresponding ordinate on the second derivative signal is less than 0. If the second derivative is less than 0, it indicates that the current sampled signal point is the maximum inflection point of the signal curve, and the current sampled point is the inhalation end node.
[0136] It is worth noting that if the exhalation phase and the inhalation phase are adjacent and continuous phases, the inhalation end node and the exhalation start node are the same node. If there is a breath-holding phase between the exhalation phase and the inhalation phase, it can be judged based on the first derivative of the function. If the first derivative is less than 0, it indicates that the exhalation phase begins, and the sampled signal point with the first derivative less than 0 can be used as the exhalation start node.
[0137] S803. During the exhalation phase, if the signal amplitude of a sampled signal point is less than a preset threshold, and the first derivative of the sampled signal point has the opposite sign to the first derivative of the adjacent previous sampled signal point, then determine the sampled signal point as the exhalation end node and determine the actual label of the sampled signal point as the exhalation phase.
[0138] It should be understood that during the second half of the exhalation phase when performing breathing exercises, most users may experience instability, so there may be a problem of signal instability in the second half of the exhalation phase. If the minimum value is still directly determined based on the second derivative signal at this time, there may be a large deviation.
[0139] Based on this, when determining the exhalation end node in the exhalation phase of this application, compare the signal amplitude of the sampled signal point with the preset threshold. If the signal amplitude of the sampled signal point is less than the preset threshold, and the first derivative of the current sampled signal point has the opposite sign to the first derivative of the adjacent previous sampled signal point, then the sampled signal point can be determined as the exhalation end node and the actual label of the sampled signal point is determined as the exhalation phase.
[0140] Among them, the preset threshold can be 0.5*(amp_inhale_start + amp_exhale_start), where amp_inhale_start represents the signal amplitude of the inhalation start node and amp_exhale_start represents the signal amplitude of the exhalation start node.
[0141] The following is a further description of determining the breathing nodes in the processed signal according to the actual label or reference label. The above S404 step includes:
[0142] If the actual label is inconsistent with the reference label, then determine the coincidence coefficient between the processed signal and the standard exhalation duration and the standard inhalation duration. If the coincidence coefficient is greater than the preset coefficient threshold, then use the reference label as the target label of the sampled signal point. If the coincidence coefficient is less than or equal to the preset coefficient threshold, then use the actual label as the target label of the sampled signal point.
[0143] Optionally, determine the coincidence coefficient between the processed signal and the standard exhalation duration and the standard inhalation duration based on the reference label and the actual label of each sampled signal point.
[0144] Exemplarily, the overlapping part between the actual exhalation phase and the standard exhalation phase, and the overlapping part between the actual inhalation phase and the standard inhalation phase can be determined based on the reference label of each sampled signal point, determine the sum x of the overlapping parts, and determine the sum y of the standard exhalation duration and the standard inhalation duration, and then use the ratio of x to y as the coincidence coefficient.
[0145] If the coincidence coefficient is greater than the preset coefficient threshold, it indicates that the delay between the actual practice and the prompt information on the display interface is small. At this time, the reference label can be used as the target label of the sampling signal point. If the coincidence coefficient is less than or equal to the preset coefficient threshold, it indicates that the delay between the actual practice and the prompt information on the display interface is large. At this time, the actual label can be used as the target label of the sampling signal point.
[0146] As another possible implementation, it is also possible not to determine the coincidence coefficient, and directly use the reference label as the target label of the sampling signal point, or use the actual label as the target label of the sampling signal point.
[0147] After determining the coincidence coefficient in the above step S404, the above step S304 can also be:
[0148] According to the coincidence coefficient, the actual exhalation duration, the actual inhalation duration, the standard exhalation duration, and the standard inhalation duration, determine the breathing reference information of the current breathing cycle.
[0149] In the first implementation, the exhalation fraction of the current breathing cycle can be determined based on the actual exhalation duration and the standard exhalation duration, the inhalation fraction of the current breathing cycle can be determined based on the actual inhalation duration and the standard inhalation duration, and then the breathing fraction of the current breathing cycle can be obtained according to the exhalation fraction and the inhalation fraction. Finally, taking the coincidence coefficient as the weight value, the product of the coincidence coefficient and the breathing fraction is used as the breathing reference information of the current breathing cycle.
[0150] In the second implementation, after determining the breathing fraction of the current breathing cycle, the breathing fraction and the coincidence coefficient can also be jointly used as the breathing reference information of the current breathing cycle.
[0151] The following is a further description of the above determination of the breathing reference information of the current breathing cycle according to each actual exhalation duration, each actual inhalation duration, the standard exhalation duration, and the standard inhalation duration, as Figure 9 shown, the above step S305 includes:
[0152] S901. Determine the absolute value of the first difference between each actual exhalation duration and the standard exhalation duration.
[0153] Figure 10 This is a comparison chart of the sampling signal points in the exhalation phase (exhaleduration) and the standard exhalation duration given in this application. The points in the figure represent the sampling signal points in the exhalation phase, the abscissa represents time, the ordinate represents the exhalation frequency, and the red line is the standard exhalation duration.
[0154] Based on the target labels of the sampled signal points, the exhalation start node and the exhalation end node can be determined. According to the abscissas of the exhalation start node and the exhalation end node, the actual exhalation duration can be obtained. Then, the first absolute difference value can be obtained according to the following formula (3).
[0155] T diff = abs(T standard - T real ) (3)
[0156] Wherein, T diff represents the first absolute difference value, T standard represents the standard exhalation duration, and T real represents the actual exhalation duration during the exhalation phase.
[0157] S902. Determine the second absolute difference value between each actual inhalation duration and the standard inhalation duration.
[0158] Figure 11 This is a comparison graph of the sampled signal points in the inhalation phase (inhaleduration) and the standard inhalation duration given in this application. The points in the graph represent the sampled signal points in the inhalation phase, the abscissa represents time, the ordinate represents the exhalation frequency, and the red line is the standard inhalation duration. Based on the target labels of the sampled signal points, the inhalation start node and the inhalation end node can be determined. According to the abscissas of the inhalation start node and the inhalation end node, the actual inhalation duration can be obtained. Then, the first absolute difference value can be obtained according to the above formula (3).
[0159] At this time, T diff represents the second absolute difference value, T standard represents the standard inhalation duration, and T real represents the actual inhalation duration during the inhalation phase.
[0160] S903. Determine the exhalation reference information of the current respiratory cycle according to the first absolute difference value and the preset score strategy.
[0161] S904. Determine the inhalation reference information of the current respiratory cycle according to the second absolute difference value and the preset score strategy.
[0162] Optionally, the preset score strategy can be as shown in the following formula (4), where score represents the exhalation reference information or the inhalation reference information.
[0163]
[0164] S905. Determine the respiratory reference information of the current respiratory cycle according to the exhalation reference information and the inhalation reference information.
[0165] Optionally, the average value of the exhalation reference information and the inhalation reference information can be used as the breathing reference information for the current breathing cycle, and the specific calculation method is shown in the following formula (5).
[0166] score period =(score inhale +score exhale ) / 2 (5)
[0167] Where score period represents the breathing reference information for the current breathing cycle, score inhale represents the inhalation reference information, and score exhale represents the inhalation reference information.
[0168] It should be noted that when there are multiple exhalation phases or inhalation phases in a breathing cycle, the reference information for each phase can be determined first, and then the average value of the reference information for all phases can be used as the breathing reference information.
[0169] This application can also monitor the long-term effect of the user's breathing method practice, as Figure 12 shown, specifically including:
[0170] S1201. Obtain the physiological parameter information of the current practice round. The physiological parameter information includes: heart rate, breathing rate, and pressure value.
[0171] After this breathing method practice is completed, the user can be prompted to slowly return to normal breathing, and the physiological parameter information of the user under normal breathing can be collected.
[0172] Among them, the heart rate can be obtained by detecting and processing the rPPG (Remote Photoplethysmography) signal of the facial skin. The breathing rate can be obtained by detecting and processing the movement amplitude of the ROI area in adjacent image frames. The pressure value can be obtained by recognizing the facial expression of the face. The HRV (Heart Rate Variability) feature can also be obtained based on the heart rate processing, and the emotional information can be obtained by recognizing the face, etc.
[0173] S1202. Generate a physiological parameter change report according to the physiological parameter information of the current practice round and the physiological parameter information of the historical practice round.
[0174] Optionally, the terminal device can statistically analyze the physiological parameter information of the same user over a long period of time, for example, generate a change curve graph of the heart rate, breathing rate, and pressure value, generate a prompt message for abnormal changes, and generate a physiological parameter change report.
[0175] As a possible implementation, the terminal device can also generate an instruction in response to a user's report, and generate a physiological parameter change report based on the time range and the selected physiological parameter information selected by the report generation instruction.
[0176] Based on the same inventive concept, an embodiment of the present application also provides a respiratory data processing device corresponding to the respiratory data processing method. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned respiratory data processing method in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0177] The device includes an acquisition module, a response module, a generation module, a first determination module, and a second determination module, where:
[0178] The acquisition module is configured to acquire configuration parameter information of the current breathing mode, and the configuration parameter information includes: standard exhalation duration, standard inhalation duration, and breathing sequence;
[0179] The response module is configured to respond to a user's exercise start instruction and control an image acquisition device to acquire an image sequence of the user;
[0180] The generation module is configured to generate an original breathing signal corresponding to the image sequence according to the image sequence in the current breathing cycle, and determine breathing nodes in the original breathing signal, where the breathing nodes include: an exhalation start node, an exhalation end node, an inhalation start node, and an inhalation end node;
[0181] The first determination module is configured to determine at least one actual exhalation duration and at least one actual inhalation duration in the current breathing cycle according to the breathing nodes;
[0182] The second determination module is configured to determine breathing reference information of the current breathing cycle according to each actual exhalation duration, each actual inhalation duration, the standard exhalation duration, and the standard inhalation duration.
[0183] Optionally, the first determination module is specifically configured to:
[0184] Perform noise reduction processing on the original breathing signal to obtain a processed signal;
[0185] Determine signal change information of the processed signal, where the signal change information is used to indicate an inflection point of a curve change of a function image corresponding to the processed signal;
[0186] Determine a reference label of the processed signal according to the timestamp information of the processed signal and the configuration parameter information, where the reference label is used to indicate a breathing stage to which the processed signal belongs;
[0187] Determine an actual label of the processed signal according to the signal change information, and determine breathing nodes in the processed signal according to the actual label or the reference label.
[0188] Optionally, the first determination module is specifically configured to:
[0189] Derive the processed signal to obtain a first derivative signal;
[0190] Filter the first derivative signal to obtain a filtered signal;
[0191] Derive the filtered signal to obtain a second derivative signal;
[0192] Use the first derivative signal and the second derivative signal as signal change information.
[0193] Optionally, the first determination module is specifically configured to:
[0194] Determine the number of respiratory cycles of the current sampling signal point according to the timestamp information of the current sampling signal point in the processed signal, the standard exhalation duration, and the standard inhalation duration;
[0195] Determine the respiratory phase of the processed signal according to the timestamp information of the current sampling signal point, the number of respiratory cycles, the standard exhalation duration, and the standard inhalation duration, and use the respiratory phase as the reference label of the current sampling signal point.
[0196] Optionally, the first determination module is specifically configured to:
[0197] In the initial detection state, if the first derivative of the sampling signal point is greater than zero, determine that the sampling signal point is the inhalation start node and determine the actual label of the sampling signal point as the inhalation phase;
[0198] In the inhalation phase, if the second derivative of the sampling signal point is less than zero, determine that the sampling signal point is the inhalation end node and the exhalation start node, and determine the actual label of the sampling signal point as the exhalation phase;
[0199] In the exhalation phase, if the signal amplitude of the sampling signal point is less than the preset threshold and the sign of the first derivative of the sampling signal point is opposite to that of the adjacent previous sampling signal point, determine that the sampling signal point is the exhalation end node and determine the actual label of the sampling signal point as the exhalation phase.
[0200] Optionally, the first determination module is specifically configured to:
[0201] If the actual label is inconsistent with the reference label, determine the coincidence coefficient of the processed signal with the standard exhalation duration and the standard inhalation duration. If the coincidence coefficient is greater than the preset coefficient threshold, use the reference label as the target label of the sampling signal point. If the coincidence coefficient is less than or equal to the preset coefficient threshold, use the actual label as the target label of the sampling signal point.
[0202] Optionally, the second determination module is further configured to:
[0203] Determine the breathing reference information of the current breathing cycle according to the coincidence coefficient, the actual exhalation duration, the actual inhalation duration, the standard exhalation duration, and the standard inhalation duration.
[0204] Optionally, the second determination module is specifically configured to:
[0205] Determine the absolute value of the first difference between each actual exhalation duration and the standard exhalation duration;
[0206] Determine the absolute value of the second difference between each actual inhalation duration and the standard inhalation duration;
[0207] Determine the exhalation reference information of the current breathing cycle according to the absolute value of the first difference and the preset score strategy;
[0208] Determine the inhalation reference information of the current breathing cycle according to the absolute value of the second difference and the preset score strategy;
[0209] Determine the breathing reference information of the current breathing cycle according to the exhalation reference information and the inhalation reference information.
[0210] Optionally, the device further includes a report generation module, which is specifically configured to:
[0211] Obtain the physiological parameter information of the current exercise round, where the physiological parameter information includes: heart rate, breathing rate, and pressure value;
[0212] Generate a physiological parameter change report according to the physiological parameter information of the current exercise round and the physiological parameter information of the historical exercise round.
[0213] Figure 13 FIG. shows a schematic structural diagram of an electronic device provided by an embodiment of the present application, including: a processor 1301, a storage medium 1302, and a bus 1303. The storage medium 1302 stores machine-readable instructions executable by the processor 1301. When the electronic device runs a breathing data processing method as in the embodiment, the processor 1301 communicates with the storage medium 1302 through the bus 1303, and the processor 1301 executes the machine-readable instructions, the preamble part of the method item of the processor 1301, to execute the steps in the above breathing data processing method.
[0214] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, the processor executes the steps in the above breathing data processing method.
[0215] In the embodiments of the present application, when the computer program is run by a processor, it may also execute other machine-readable instructions to perform the methods described in other parts of the embodiments. For the specific method steps and principles, refer to the descriptions in the embodiments and will not be elaborated here in detail.
[0216] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections between each other can be through some communication interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical or other forms.
[0217] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0218] In addition, each functional unit in the embodiments provided in the present application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
[0219] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or a part of this technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0220] It should be noted that like reference numerals and letters denote like items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used for descriptive distinction and should not be construed as indicating or implying relative importance.
[0221] Finally, it should be noted that the above-described embodiments are only specific embodiments of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit it. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the art within the technical scope disclosed by the present application can still modify the technical solutions described in the foregoing embodiments or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. All should be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A respiratory data processing method, characterized in that: include: Acquire configuration parameter information of the current breathing mode, wherein the configuration parameter information includes: standard exhalation time, standard inhalation time, and breathing sequence; In response to the user's exercise start instruction, the image acquisition device is controlled to acquire the user's image sequence; Generate an original respiratory signal corresponding to the image sequence according to the image sequence in the current respiratory cycle, and determine the respiratory nodes in the original respiratory signal, wherein the respiratory nodes include: an exhalation start node, an exhalation end node, an inhalation start node, and an inhalation end node; Determine at least one actual exhalation duration and at least one actual inhalation duration in the current respiratory cycle according to the respiratory node; The breathing reference information of the current breathing cycle is determined according to each of the actual exhalation durations, each of the actual inhalation durations, the standard exhalation duration and the standard inhalation duration.
2. The method according to claim 1, characterized in that The determining of the breathing node in the original breathing signal comprises: Performing noise reduction processing on the original respiratory signal to obtain a processed signal; Determining signal change information of the processed signal, wherein the signal change information is used to indicate a curve change inflection point of a function image corresponding to the processed signal; Determining a reference tag of the processed signal according to the timestamp information of the processed signal and the configuration parameter information, wherein the reference tag is used to indicate the respiratory stage to which the processed signal belongs; An actual label of the processed signal is determined according to the signal change information, and a breathing node in the processed signal is determined according to the actual label or the reference label.
3. The method according to claim 2, characterized in that The determining the signal change information of the processed signal includes: Performing a derivative process on the processed signal to obtain a first-order derivative signal; Performing filtering on the first-order derivative signal to obtain a filtered signal; Performing a derivative process on the filtered signal to obtain a second-order derivative signal; The first-order derivative signal and the second-order derivative signal are used as the signal change information.
4. The method according to claim 2, characterized in that: The determining, according to the timestamp information of the processed signal and the configuration parameter information, a reference tag of the processed signal comprises: Determine the number of respiratory cycles of the current sampling signal point according to the timestamp information of the current sampling signal point in the processed signal, the standard exhalation duration, and the standard inhalation duration; The respiratory phase of the processed signal is determined according to the timestamp information of the current sampling signal point, the number of respiratory cycles, the standard exhalation duration, and the standard inhalation duration, and the respiratory phase is used as a reference label of the current sampling signal point.
5. The method according to claim 3, characterized in that: The determining the actual label of the processed signal according to the signal change information includes: In the initial detection state, if the first-order derivative of the sampling signal point is greater than zero, the sampling signal point is determined to be an inhalation start node, and the actual label of the sampling signal point is determined to be an inhalation stage; In the inhalation stage, if the second-order derivative of the sampling signal point is less than zero, the sampling signal point is determined to be an inhalation end node and an exhalation start node, and the actual label of the sampling signal point is determined to be the exhalation stage; During the exhalation stage, if the signal amplitude of the sampling signal point is less than a preset threshold, and the first-order derivative of the sampling signal point has an opposite sign to the first-order derivative of the adjacent previous sampling signal point, the sampling signal point is determined to be an exhalation end node, and the actual label of the sampling signal point is determined to be the exhalation stage.
6. The method according to claim 5, characterized in that The step of determining the breathing node in the processed signal according to the actual label or the reference label includes: If the actual label is inconsistent with the reference label, the overlap coefficient between the processed signal and the standard exhalation duration and the standard inhalation duration is determined. If the overlap coefficient is greater than the preset coefficient threshold, the reference label is used as the target label of the sampling signal point. If the overlap coefficient is less than or equal to the preset coefficient threshold, the actual label is used as the target label of the sampling signal point.
7. The method according to claim 6, characterized in that The method further comprises: The respiratory reference information of the current respiratory cycle is determined according to the coincidence coefficient, the actual exhalation duration, the actual inhalation duration, the standard exhalation duration, and the standard inhalation duration.
8. The method according to claim 1, characterized in that Determining the respiratory reference information of the current respiratory cycle according to each of the actual exhalation durations, each of the actual inhalation durations, the standard exhalation duration, and the standard inhalation duration includes: Determine a first absolute value of a difference between each of the actual exhalation durations and the standard exhalation duration; Determine a second absolute value of a difference between each of the actual inhalation durations and the standard inhalation duration; Determining the exhalation reference information of the current respiratory cycle according to the first difference absolute value and a preset score strategy; Determining the inhalation reference information of the current respiratory cycle according to the absolute value of the second difference and a preset score strategy; The breathing reference information of the current breathing cycle is determined according to the exhalation reference information and the inhalation reference information.
9. The method according to claim 1, characterized in that: The method further comprises: Acquire physiological parameter information of the current exercise round, wherein the physiological parameter information includes: heart rate, respiratory rate and pressure value; Generate a physiological parameter change report based on the physiological parameter information of the current exercise round and the physiological parameter information of the historical exercise rounds.
10. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of a respiratory data processing method as described in any one of claims 1 to 9.
