An intelligent guidance method, device and equipment for breathing training

By analyzing users' physiological health and respiratory data, performing clustering and similarity calculations, and selecting the best reference users, it solves the problem of insufficient personalized recommendations in traditional breathing training methods and improves the accuracy and personalized effect of breathing training.

CN118506979BInactive Publication Date: 2024-10-18PEOPLES HOSPITAL OF INNER MONGOLIA AUTONOMOUS REGION

Patent Information

Application Number
CN202410962308.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional breathing training methods are difficult to make personalized recommendations, especially for new users. Due to the lack of historical data, the accuracy of the recommendation results is poor.

Method used

By obtaining the user's physiological health data and respiratory data, analyze the differences in breathing training modes, perform cluster analysis, combine the fixed physiological health indicators and the differences in breathing training modes, calculate the recommendation similarity, and select the best reference users to obtain personalized breathing training data.

Benefits of technology

It improves the accuracy and personalization of breathing training recommendations, is suitable for different users' physical conditions and training needs, and enhances the quantification and reliability of training effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118506979B_ABST
    Figure CN118506979B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of medical care data processing, and in particular to an intelligent guidance method, device and equipment for breathing training. The method of the present invention quantifies the difference in breathing training modes between two users through the difference between historical breathing data and changing physiological health indicators of different users, further divides the breathing training modes corresponding to different users through cluster analysis, and obtains the marginalization degree of each user in combination with the division result and the stability of the historical breathing training of each user, so as to measure the reliability of recommending users by using the breathing mode; and finally quantifies the recommendation similarity between two users in combination with the fixed physiological health indicators of each user, and then recommends the best breathing training data to each user before breathing training in combination with the idea of ​​collaborative filtering, thereby realizing the precise guidance of personalized breathing training for each user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical care data processing, and in particular to an intelligent guidance method, device and equipment for respiratory training. Background Art

[0002] As people pay more and more attention to health, breathing training has received widespread attention as an effective means of health management and rehabilitation. Breathing training can not only improve lung function and strengthen the strength of respiratory muscles, but also adjust breathing rhythm and deeply relieve stress, improve sleep quality and overall health. However, traditional breathing training methods mainly rely on patients' self-practice or professional guidance, and there are problems such as difficulty in self-monitoring, difficulty in quantifying training effects, and lack of personalization. Therefore, it is necessary to provide personalized recommendations and guidance on users' breathing training methods.

[0003] In the prior art, in the process of recommending and guiding personalized breathing training methods for the recommended user and other users, considering the physical conditions of the recommended user and other users, as well as the differences in training goals at different times of the day, the idea of ​​collaborative filtering is generally used to analyze the historical breathing data of multiple users and then complete the recommendation. However, for some new users, the accuracy of the breathing method recommendation results is poor due to the lack of or less historical breathing data for them. Summary of the invention

[0004] In order to solve the above technical problems, the purpose of the present invention is to provide an intelligent guidance method, device and equipment for breathing training.

[0005] According to the first aspect of the embodiment of the present application, an intelligent guidance method for breathing training is provided, and the technical solution adopted is as follows:

[0006] Acquire physiological health data and respiratory data of the user, and perform standardization processing on the physiological health data and the respiratory data, wherein the physiological health data includes fixed physiological health indicators and variable physiological health indicators;

[0007] Analyzing the training differences between the recommended user and other users corresponding to different breathing trainings according to the changed physiological health index and the breathing data, and obtaining the breathing training mode differences between the recommended user and other users;

[0008] Based on the differences in the breathing training patterns, cluster analysis is performed on the breathing training patterns of all users to obtain breathing training pattern clusters;

[0009] Based on the breathing training pattern clusters, analyzing the marginalization degree of the user to be recommended, combining the fixed physiological health indicators of the user to be recommended and other users, and the breathing training pattern differences between the user to be recommended and other users, to obtain the recommendation similarity between the user to be recommended and other users;

[0010] According to the recommendation similarity, the best reference user of the user to be recommended is obtained, and according to the breathing data of the best reference user, the best breathing training data of the user to be recommended is obtained.

[0011] In some embodiments of the present invention, analyzing the training differences of different breathing trainings of the recommended user and other users according to the changed physiological health index and the breathing data, and obtaining the breathing training mode differences between the recommended user and other users includes:

[0012] Analyzing the training differences between the recommended user and other users corresponding to different breathing trainings within any two days according to the changed physiological health index and the breathing data;

[0013] Perform DTW matching on the breathing training time of the recommended user and other users within any two days to obtain the first DTW matching pair;

[0014] Analyze the training differences of the breathing training of the corresponding times of the DTW first matching pairs on any two days, and obtain the first matching training differences of the breathing training of the recommended user and other users on any two days;

[0015] According to the first matching training difference of the breathing training of the to-be-recommended user and other users within any two days, the breathing training pattern difference between the to-be-recommended user and other users is obtained.

[0016] In some embodiments of the present invention, analyzing the marginalization degree of the to-be-recommended user based on the breathing training pattern clusters includes:

[0017] Analyze the training differences of different breathing trainings of the recommended user on any two days according to the changed physiological health index and the breathing data, and obtain the breathing training stability of the recommended user;

[0018] Based on the breathing training pattern clustering clusters, core users are obtained;

[0019] In the breathing training pattern cluster, the core user with the closest Euclidean distance to the user to be recommended is defined as the reference core user of the user to be recommended;

[0020] Analyzing the difference in breathing training patterns between the user to be recommended and the corresponding reference core user;

[0021] The marginalization degree of the user to be recommended is obtained according to the breathing training stability of the user to be recommended and the difference in breathing training patterns between the user to be recommended and the corresponding reference core user.

[0022] In some embodiments of the present invention, the breathing training stability of the user to be recommended is obtained by analyzing the training differences of breathing training of the user to be recommended on any two days according to the changing physiological health index and the breathing data, including:

[0023] Analyzing the training differences of different breathing trainings of the user to be recommended on any two days according to the changed physiological health index and the breathing data;

[0024] Perform DTW matching on the time when the recommended user performs breathing training within any two days to obtain the second DTW matching pair;

[0025] Analyze the training differences of the breathing training of the corresponding times of the DTW second matching pair to obtain the training differences of the breathing training of the recommended user in any two days;

[0026] According to the training differences of the breathing training of the user to be recommended within any two days, the breathing training stability of the user to be recommended is obtained.

[0027] In some embodiments of the present invention, the Euclidean distance between the fixed physiological health indicators of the user to be recommended and other users is analyzed, and the recommendation similarity between the user to be recommended and other users is obtained by combining the difference in breathing training patterns between the user to be recommended and other users and the marginalization degree of the user to be recommended.

[0028] In some embodiments of the present invention, obtaining the best reference user of the user to be recommended according to the recommendation similarity, and obtaining the best breathing training data of the user to be recommended according to the breathing data of the best reference user includes:

[0029] According to the recommendation similarity, M users with the highest recommendation similarity to the user to be recommended are selected as the best reference users for the user to be recommended;

[0030] According to the breathing data of the best reference user and in combination with the recommendation similarity between the user to be recommended and the best reference user, the best breathing training data of the user to be recommended is obtained.

[0031] In some embodiments of the present invention, the fixed physiological health indicators include gender, age, height, weight, body fat percentage, and vital capacity; the variable physiological health indicators include body temperature, blood pressure, heart rate, and blood oxygen saturation; the respiratory data include: average inhalation time, average exhalation time, average breath-holding time after inhalation, average breath-holding time after exhalation, average inhalation volume, and average exhalation volume.

[0032] In some embodiments of the present invention, based on the breathing training pattern differences, DBSCAN cluster analysis is performed on all users to obtain breathing training pattern clusters.

[0033] According to a second aspect of an embodiment of the present application, an intelligent guiding device for breathing training is provided, the device comprising:

[0034] A data acquisition module, used to obtain the user's physiological health data and respiratory data, and perform standardization processing on the physiological health data and the respiratory data, wherein the physiological health data includes fixed physiological health indicators and variable physiological health indicators;

[0035] A breathing training mode difference module is used to analyze the training differences of different breathing trainings of the recommended user and other users according to the changed physiological health index and the breathing data, and obtain the breathing training mode differences between the recommended user and other users;

[0036] A clustering module, used for performing cluster analysis on the breathing training patterns of all users based on the differences in the breathing training patterns to obtain breathing training pattern clusters;

[0037] A recommendation similarity module, for analyzing the marginalization degree of the user to be recommended based on the breathing training pattern clustering cluster, combining the fixed physiological health indicators of the user to be recommended and other users, and the breathing training pattern differences between the user to be recommended and other users, to obtain the recommendation similarity between the user to be recommended and other users;

[0038] The best breathing training data module is used to obtain the best reference user of the user to be recommended according to the recommendation similarity, and obtain the best breathing training data of the user to be recommended according to the breathing data of the best reference user.

[0039] According to a third aspect of an embodiment of the present application, an intelligent guidance device for breathing training is provided, the device comprising a memory and a processor, wherein:

[0040] The memory is used to store program codes;

[0041] The processor is used to read the program code stored in the memory and execute an intelligent guidance method for breathing training provided in the first aspect of the embodiment of the present application.

[0042] Compared with the prior art, the intelligent guidance method, device and equipment for breathing training provided by the present invention have the following beneficial effects:

[0043] The present invention quantifies the difference between the breathing training patterns of two users through the difference between the breathing data of different users' history and the changing physiological health index. This method takes into account the breathing training conditions and physical conditions of different users so that the breathing training pattern difference is more in line with the user characteristics, and provides an accurate data basis for subsequent analysis. Then, according to the breathing training pattern difference, the breathing training patterns corresponding to different users are further divided by clustering, and the obtained clustering results can cluster users with similar breathing training patterns into a cluster. Combined with the division results and the stability of the breathing training of each user's history, the marginalization degree of each user is obtained, and the reliability of using the breathing training pattern to recommend the breathing training method to the user is measured; and then combined with the fixed physiological health index of each user, the recommendation similarity between the two users is finally quantified. The recommendation similarity takes into account that when guiding the breathing training of the newly added user, due to the high marginalization degree of its own breathing training pattern, the breathing training method is directly recommended using the clustering result, and the result will have a large inaccuracy, so the accuracy of the breathing training method recommendation for the newly added user can be effectively improved. The best breathing training data for the recommended user is obtained based on the recommendation similarity, and then combined with the idea of ​​collaborative filtering, the best breathing training data is recommended to each user before breathing training, thus achieving accurate guidance of personalized breathing training for each user. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0045] Figure 1 A basic flow chart of an intelligent guidance method for breathing training provided by an embodiment of the present invention;

[0046] Figure 2 A basic flow chart of a method for obtaining differences in breathing training patterns provided by an embodiment of the present invention;

[0047] Figure 3 A basic flow chart of a method for obtaining recommendation similarity provided by an embodiment of the present invention;

[0048] Figure 4 A core user schematic diagram provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the intelligent guidance method, device and equipment for breathing training proposed by the present invention, its specific implementation method, structure, features and effects in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. Terms such as "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such article or device. In the absence of further restrictions, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the article or device including the element.

[0051] The specific scheme of an intelligent guiding method for breathing training provided by the present invention is described in detail below in conjunction with the accompanying drawings.

[0052] See also Figure 1 , which shows the basic process of an intelligent guidance method for breathing training provided by an embodiment of the present invention.

[0053] like Figure 1 As shown, an intelligent guidance method for breathing training provided by one embodiment of the present invention specifically includes:

[0054] S100: Acquire the user's physiological health data and respiratory data, and perform standardization on the physiological health data and respiratory data. The physiological health data includes fixed physiological health indicators and variable physiological health indicators.

[0055] First, we obtain multiple physiological health data of each user and standardize the physiological health data and respiratory data. Physiological health data includes gender, age, height, weight, body fat percentage, vital capacity, body temperature, blood pressure, heart rate, blood oxygen saturation and other multi-dimensional data. Among them, gender, age, height, weight, body fat percentage, and vital capacity are fixed physiological health indicators, and the standardized data are recorded as to , the data size will not change significantly in a short period of time, and will not change with the different physical conditions of the same user; the four data of body temperature, blood pressure, heart rate, and blood oxygen saturation are changing physiological health indicators, and the standardized data are recorded as to , the data size will change with the user's physical condition. For example, after exercise, the heart rate will change greatly and the body temperature will be high. At this time, the breathing method guidance should be adjusted to meet the purpose of breathing training for different people in different states. Fixed physiological health indicators such as gender, age, height, weight, body fat rate, and vital capacity can be obtained through surveys, while body temperature, blood pressure, heart rate, and blood oxygen saturation can be obtained through body temperature, blood pressure, heart rate, and blood oxygen saturation sensor devices, respectively. These sensor devices can be integrated into electronic bracelets.

[0056] Then, during each breathing training, the breathing data obtained include the average inhalation time, average exhalation time, average breath-holding time after inhalation, average breath-holding time after exhalation, average inhalation volume, and average exhalation volume during one breathing training process. The data after the breathing data is standardized are recorded as to .

[0057] At this point, the user's physiological health data and breathing data are obtained. The following takes a breathing training process as a sample, and by analyzing the recommendation similarities of different historical breathing training processes, real-time guidance and recommendation are made for different users' breathing methods to help different users enhance the training effect and promote overall health. The embodiment of the present invention obtains the recommendation similarity between two users mainly including steps S200~S400.

[0058] S200: Analyze the training differences of different breathing trainings of the recommended user and other users according to the changed physiological health indicators and breathing data, and obtain the breathing training mode differences between the recommended user and other users.

[0059] Considering different breathing training processes, if a breathing training process can achieve the purpose of exercising the cardiopulmonary function, then during a breathing training process, the corresponding indicators that change with the user's physical state to , will gradually change during the breathing training process. For example, when you just wake up in the early morning, your body temperature is low, your heart rate is slow, your body has just recovered from sleep, and your sympathetic nervous system begins to become active. You can gradually wake up your body, increase blood oxygen levels, and promote metabolism through abdominal breathing, deep breathing and other training methods. When performing breathing training for different purposes, the user's corresponding real-time physiological health indicators will also change to a certain extent. Therefore, we consider using the training methods used in different historical breathing training processes, combined with the commonality of the changing trends of some physiological health indicators, to quantify the recommendation similarity between two breathing training processes.

[0060] Based on the above analysis, the embodiment of the present invention analyzes the training differences of different breathing trainings of the recommended user and other users according to the changing physiological health indicators and breathing data, and obtains the breathing training mode differences between the recommended user and other users.

[0061] See also Figure 2 , which shows the basic process of a method for obtaining the difference of breathing training patterns provided by an embodiment of the present invention.

[0062] like Figure 2 As shown, according to the changing physiological health indicators and breathing data, the training differences between the recommended user and other users corresponding to different breathing trainings are analyzed to obtain the breathing training mode differences between the recommended user and other users, specifically including:

[0063] S201: Analyze the training differences between the recommended user and other users corresponding to different breathing trainings within any two days based on the changing physiological health indicators and breathing data.

[0064] First, consider the similarities of the training methods used in different breathing training processes. Due to the differences in the vital capacity data of different users, the flow rate of the breathing gas in the corresponding breathing process will be different, while the corresponding breathing time (average inhalation time, average exhalation time, average breath-holding time after inhalation, and average breath-holding time after exhalation) is relatively less affected by different users and more affected by the breathing method.

[0065] The following is The user is analyzed as the current user to be recommended.

[0066] Record The training index vector of the breathing data of the user's breathing training for:

[0067] ;

[0068] in, Indicates A training indicator vector of breathing data for breathing training of a user;

[0069] Indicates Dimensional breathing data in the The values ​​of each breathing training of each user; Indicates The sixth dimension of fixed physiological health data of the user is The size of the user's lung capacity.

[0070] As the breathing training process continues, History of users Taking the breathing training process as an example, in fact, the physiological health indicators will gradually change during the training process, and then gradually stabilize at the end of the breathing training. The changes in the physiological health indicators during the breathing training process with the same training purpose will also be similar. Therefore, the definition of Training index vector of user's changing physiological health index for:

[0071] ;

[0072] in, Indicates The training index vector of the user's changing physiological health index, Indicates Dimensional changes in physiological health indicators The data changes before and after each breathing training of each user.

[0073] According to the changing physiological health index and breathing data, the improved training index vector corresponding to each user (the training index vector of breathing data and the training index vector of changing physiological health index) can be obtained. Then record User and User in The first breathing exercise and the Training Variability of Sub-Breathing Training for:

[0074] ;

[0075] in, Indicates User and User in The first breathing exercise and the Training variability of sub-breathing training; Indicated by natural constant An exponential function with base ; Indicates User in The training index vector of the physiological health index that changes during the breathing training, Indicates User in The training index vector of the physiological health index that changes during the breathing training, Express request and Euclidean distance between two vectors; Indicates User in The training index vector of the breathing data during the breathing training process, Indicates User in The training index vector of the breathing data during the breathing training process; Express request and The Euclidean distance between two vectors.

[0076] Indicates User in Second and User in The difference in the training index vector of the physiological health index of the two breathing trainings. The larger the value, the greater the difference in the amount of change of the physiological health index during the two breathing trainings. Indicates User in Second and User in The difference in the training index vector of the breathing data of the two breathing trainings. The larger the value, the greater the difference in the breathing data during the two breathing trainings. The weighted part can be used to obtain the training differences between the recommended user and other users in different breathing training sessions within any two days.

[0077] It should be noted that for users who do not have any historical breathing training data, there is no need to calculate the training difference. , i.e. training variability It is for users who have historical breathing data.

[0078] S202: Perform DTW matching on the breathing training time of the recommended user and other users within any two days to obtain a DTW first matching pair.

[0079] The above differences only take into account that the physiological health indicators of two users may be different in different time periods on any two days. In the same time period, due to the different living habits of different users, their breathing training data may also be different. In the subsequent recommendation process, it is necessary not only to consider the similarities of each breathing training process, but also to consider whether different users have similar lifestyles, so as to make more accurate breathing training recommendations and guidance. Therefore, it is necessary to first analyze the differences in the life training patterns of the two users.

[0080] Since the number of times the two users (the recommended user and the other user) perform breathing training is different from the frequency of their breathing training, the difference in breathing patterns under different breathing training times needs to be considered in the process of quantifying the difference in breathing training patterns. Therefore, through the DTW matching method, the time when the two users perform breathing training on any two days is first matched by DTW, and the first DTW matching pair of the two users on any two days is obtained. For example, the time when the two users perform breathing training on any two days is and , the breathing training time obtained after DTW matching is and , that is, the first DTW matching pair is , , , , , .

[0081] S203: Analyze the training differences of the breathing training of the corresponding times of the DTW first matching pairs on any two days, and obtain the first matching training differences of the breathing training of the recommended user and other users on any two days.

[0082] Step S201 analyzes User and A user's first The first breathing exercise and the Training Variability of Sub-Breathing Training The same method is used to analyze the training differences of the breathing training of the corresponding DTW first matching pairs of two users on any two days. , that is, the The first breathing exercise and the The breathing training corresponds to the two breathing trainings in the first DTW matching pair. The training difference of the breathing training corresponding to the first DTW matching pair of two users on any two days is calculated. Sum and average, and finally get the first matching training difference between the recommended user and other users in breathing training in any two days , corresponding to the example of the first DTW matching pair in step S202, .

[0083] S204: Obtaining the breathing training pattern difference between the user to be recommended and other users according to the first matching training difference between the breathing training of the user to be recommended and other users within any two days.

[0084] Through step S203, the first matching training difference of the breathing training between the user to be recommended and other users within any two days can be obtained, and the training differences of the breathing training between the user to be recommended and other users within all two days are summed and averaged to obtain the breathing training pattern difference between the user to be recommended and other users.

[0085] Furthermore, the quantitative formula for the difference in breathing training patterns between the recommended user and other users is:

[0086] ;

[0087] in, Indicates User and Differences in breathing training patterns between users; Indicates The number of days that the user performed breathing training, Indicates The number of days a user performs breathing training; Indicates User and Users in any two days ( Tianhedi Day 1) Breathing training first matching training difference.

[0088] It should be noted that for users who do not have any historical breathing training data and need to be recommended, the corresponding number of days of breathing training is 0, that is, is 0 (in the current scenario, Users are those who have selected breathing training data, so There is no case of 0), at this time, record Indicates Users and other users with breathing training data The maximum training difference between users, that is, for the recommended user without any affiliated breathing training data, the training difference between him and other users takes the maximum value.

[0089] S300: Based on the differences in breathing training patterns, cluster analysis is performed on the breathing training patterns of all users to obtain breathing training pattern clusters.

[0090] In order to specify personalized breathing training patterns for different users and provide different recommendation guidance, it is necessary to classify the training patterns of different users. Therefore, after obtaining the difference between the breathing training patterns of two users, the idea of ​​clustering is used to perform cluster analysis on users with similar breathing training patterns. The difference between the breathing training patterns of the two users is used as the distance measure between the two users to perform DBSACN (Density-Based Spatial Clustering of Applications with Noise) cluster analysis to explore the central trend of the breathing training patterns of different users. The recommended value of the radius is 0.6, and the recommended value of the minimum number of samples is 5. The final breathing training pattern clustering cluster result can be obtained.

[0091] The advantage of using DBSCAN clustering is that it does not need to determine the number of clusters in advance based on the differences in breathing training patterns of different users. For some new breathing training users, since there is less historical breathing data corresponding to this type of user, the accuracy of breathing guidance using the breathing training pattern is poor. The DBSCAN clustering algorithm can further screen this type of user according to the density, identify and mark outliers, and these outliers will not be classified into any cluster. Further analysis is required when recommending breathing training for this type of new users.

[0092] S400: Based on the breathing training pattern clustering cluster, analyze the marginalization degree of the user to be recommended, combine the fixed physiological health indicators of the user to be recommended and other users, and the breathing training pattern differences between the user to be recommended and other users, to obtain the recommendation similarity between the user to be recommended and other users.

[0093] The breathing training patterns of all users are clustered through step S300. Next, based on the breathing training pattern clusters obtained by clustering, the marginalization degree of the user to be recommended is analyzed, and the recommendation similarity between the user to be recommended and other users is obtained by combining the fixed physiological health indicators of the user to be recommended and other users, and the differences in breathing training patterns between the user to be recommended and other users.

[0094] See also Figure 3 , which shows the basic process of a recommendation similarity acquisition method provided by an embodiment of the present invention.

[0095] like Figure 3 As shown, based on the clustering of breathing training patterns, the marginalization degree of the user to be recommended is analyzed, and the recommendation similarity between the user to be recommended and other users is obtained by combining the fixed physiological health indicators of the user to be recommended and other users, and the difference in breathing training patterns between the user to be recommended and other users, including:

[0096] S401: Analyze the training differences of the breathing training of the user to be recommended at different times on any two days according to the changing physiological health index and the breathing data, and obtain the breathing training stability of the user to be recommended.

[0097] Considering users with different historical breathing training, when the total duration of breathing training corresponding to the user is long, the breathing training mode is relatively stable. By guiding the breathing training according to the historical breathing data and similar breathing training mode, a better guiding effect can be achieved. However, for users with fewer newly added breathing training times, there is not enough historical breathing data to accurately evaluate them. Therefore, firstly, according to the above clustering results, analyze whether the breathing training mode of each user to be recommended is stable. In some embodiments of the present application, according to the changing physiological health indicators and breathing data, the training differences of different breathing trainings of the user to be recommended on any two days are analyzed to obtain the breathing training stability of the user to be recommended. Further, comprising:

[0098] First, according to the changing physiological health indicators and breathing data, the training differences of different breathing trainings of the recommended user on any two days are analyzed. Similar to the analysis of the training differences of different breathing trainings of the recommended user and other users on any two days in step S201, the training differences of different breathing trainings of the recommended user are obtained as follows:

[0099] ;

[0100] in, Indicates User in The first breathing exercise and the Training variability of sub-breathing training; Indicated by natural constant An exponential function with base ; Indicates User in The training index vector of the physiological health index that changes during the breathing training, Indicates User in The training index vector of the physiological health index that changes during the breathing training, Express request and Euclidean distance between two vectors; Indicates User in The training index vector of the breathing data during the breathing training process, Indicates User in The training index vector of the breathing data during the breathing training process; Express request and The Euclidean distance between two vectors.

[0101] Then, DTW matching is performed on the breathing training time of the recommended user within any two days to obtain the DTW second matching pair; the training difference of the corresponding breathing training of the DTW second matching pair is analyzed to obtain the second matching training difference of the breathing training of the recommended user within any two days; according to the second matching training difference of the breathing training of the recommended user within any two days, the breathing training stability of the recommended user is obtained. The quantitative formula for the stability of breathing training is:

[0102] ;

[0103] in, Indicates Breathing training stability for each user; represents the maximum and minimum normalized function; Indicates The number of days a user participated in breathing training; It means the Users in any two days ( Tianhedi The second matched training difference of breathing training within 2 days).

[0104] It should be noted that for users who do not have any historical breathing data, their breathing training stability is recorded. .

[0105] S402: Clustering based on the breathing training pattern to obtain core users.

[0106] In the DBSCAN clustering algorithm, some core points need to be found. The core points need to be guaranteed to be within their neighborhood (the recommended radius is 0.6) and contain more than the minimum number of samples (the recommended value is 5). Define the users corresponding to the core points as core users. For example, in Figure 4 In the partial clustering results shown, the core user is .

[0107] S403: In the breathing training pattern cluster, the core user with the closest Euclidean distance to the user to be recommended is defined as the reference core user of the user to be recommended.

[0108] In the breathing training pattern cluster, the core user with the closest Euclidean distance to the user to be recommended is defined as the reference core user of the user to be recommended. Figure 4In the partial clustering results shown, the core user with the closest Euclidean distance to the user corresponding to the 5th point is the user corresponding to the 10th point, that is, the core user with the smallest difference with the user corresponding to the 5th point is the user corresponding to the 10th point, that is, the reference core user of the user corresponding to the 5th point is the user corresponding to the 10th point.

[0109] S404: Analyze the difference in breathing training patterns between the user to be recommended and the corresponding reference core user.

[0110] The breathing training pattern difference between the to-be-recommended user and the corresponding reference core user is obtained in the same way as step S200.

[0111] S405: Obtaining the marginalization degree of the user to be recommended according to the breathing training stability of the user to be recommended and the difference in breathing training patterns between the user to be recommended and its corresponding reference core user.

[0112] According to the breathing training stability of the user to be recommended and the difference in breathing training patterns between the user to be recommended and its corresponding reference core user, the marginalization degree of the user to be recommended is obtained. The quantitative formula for the marginalization degree of the user to be recommended is:

[0113] ;

[0114] in, Indicates The marginalization degree of each user, Indicates User and Differences in breathing training patterns among the reference core users; Indicates The number of days a user participated in breathing training; Indicates Breathing training stability for each user.

[0115] The larger the User and The greater the difference in breathing training patterns between the reference core users, the The farther a user deviates from the cluster center, the The greater the marginalization of each user, the greater the difference in breathing training patterns. Number of days users participated in breathing training The more, the Breathing training stability for each user The larger the The multiple breathing exercises of each user stably deviate from the cluster center, so As The weight of The marginalization degree of a user.

[0116] It should be noted that for users who do not have any historical breathing data, the breathing training stability , number of days participating in breathing training ,at this time Reached maximum value.

[0117] S406: Obtain recommendation similarity between the user to be recommended and the other users according to the marginalization degree of the user to be recommended, combined with fixed physiological health indicators of the user to be recommended and other users, and the difference in breathing training patterns between the user to be recommended and other users.

[0118] When guiding new users in breathing training, due to the high marginalization degree of their own breathing training patterns, directly recommending breathing training methods based on clustering results will result in great inaccuracy. Therefore, it is considered to combine fixed indicator items of physiological health data of different users to modify the recommendation process.

[0119] make Indicates The fixed physiological health index of the physiological health data corresponding to each user, when the When recommending breathing training methods for a user, the first The marginalization degree of each user is When the marginalization degree of an individual user is high, we should be more inclined to recommend breathing training modes based on the similarity between fixed physiological health indicators of physiological health data. Otherwise, we should recommend based on historical breathing data, that is, we can quantify the recommendation similarity between two users to a higher degree.

[0120] Based on the above analysis, the embodiment of the present application analyzes the Euclidean distance between the fixed physiological health indicators of the user to be recommended and other users, and combines the breathing training mode difference between the user to be recommended and other users and the marginalization degree of the user to be recommended to obtain the recommendation similarity between the user to be recommended and other users. The quantitative formula for the recommendation similarity between the user to be recommended and other users is:

[0121] ;

[0122] in, Indicates User and Recommendation similarity between users; represents the maximum and minimum normalized function; Indicates The degree of marginalization of individual users; Indicates User and Differences in breathing training patterns between users; Indicates User and The Euclidean distance between fixed physiological health indicators of each user.

[0123] Indicates When the marginalization degree of each user is small, the recommendation of breathing training mode is mainly based on historical breathing data, and the first User and The smaller the difference in breathing training patterns among users, the User and The greater the similarity of recommendations between users; Indicates When the marginalization degree of a user is high, the breathing training mode is recommended mainly based on the fixed physiological health indicators of the physiological health data, and the first User and The smaller the Euclidean distance between the fixed physiological health indicators of each user, the smaller the User and The fixed physiological health indicators of users are similar. User and The greater the recommendation similarity between users, the greater the recommendation similarity between users. This is to prevent the denominator from being zero.

[0124] It should be noted that for users who do not have any historical breathing data, Reaching the maximum value, this time Just by Decide.

[0125] S500: Obtaining the best reference user of the user to be recommended according to the recommendation similarity, and obtaining the best breathing training data of the user to be recommended according to the breathing data of the best reference user.

[0126] According to the recommendation similarity, M users with the highest recommendation similarity with the user to be recommended are selected as the best reference users of the user to be recommended, that is, the best reference user of the user to be recommended is obtained. Then, according to the breathing data of the best reference user and the recommendation similarity between the user to be recommended and the best reference user, the best breathing training data of the user to be recommended is obtained. The quantification formula of the best breathing training data of the user to be recommended is:

[0127] ;

[0128] in, Indicates Best breathing training data for each user; Represents the maximum and minimum normalized function; Indicates User and Recommendation similarity between users; Indicates During the multi-day breathing training of each user, The best time with the smallest time difference between them; Indicates The training indicator vector of the breathing data of each user at the best moment during the multi-day breathing training process.

[0129] First The training index vector of the best breathing data during the multi-day breathing training of each user is based on the training index vector of the best breathing data at the best moment. User and The recommendation similarity of each user is taken as the weight, and the The 20 users with the highest recommendation similarity among the users are obtained, indicating The best breathing training data for each user.

[0130] At this point, the optimal breathing training data corresponding to each user can be obtained. When the user starts breathing training, the optimal breathing training data corresponding to each user at different times of the day will be sent to the user's mobile phone or other smart terminal devices. The user can perform breathing training based on the obtained personalized recommended optimal breathing training data, and during the breathing training process, the user's multiple breathing training data will be calculated in real time and compared with the obtained optimal breathing training data. For example, when the average exhalation time is less than the optimal recommended value, a real-time reminder can be given to achieve the purpose of better training cardiopulmonary function.

[0131] Based on the same inventive concept as the above method, this embodiment also provides an intelligent guidance device for breathing training, the device comprising:

[0132] The data acquisition module is configured to obtain the user's physiological health data and respiratory data, and perform standardized processing on the physiological health data and respiratory data. The physiological health data includes fixed physiological health indicators and variable physiological health indicators.

[0133] The breathing training mode difference module is configured to analyze the training differences of different breathing trainings of the recommended user and other users according to the changing physiological health indicators and breathing data, and obtain the breathing training mode differences between the recommended user and other users.

[0134] The clustering module is configured to perform cluster analysis on the breathing training patterns of all users based on the differences in the breathing training patterns to obtain breathing training pattern clusters.

[0135] The recommendation similarity module is configured to analyze the marginalization degree of the user to be recommended based on the breathing training pattern clustering cluster, combine the fixed physiological health indicators of the user to be recommended and other users, and the differences in breathing training patterns between the user to be recommended and other users, to obtain the recommendation similarity between the user to be recommended and other users.

[0136] The best breathing training data module is configured to obtain the best reference user of the user to be recommended according to the recommendation similarity, and obtain the best breathing training data of the user to be recommended according to the breathing data of the best reference user.

[0137] Based on the same inventive concept as the above method, the present embodiment also provides an intelligent guidance device for breathing training, the device includes a memory and a processor, wherein: the memory is used to store program code; the processor is used to read the program code stored in the memory, and execute to obtain the user's physiological health data and breathing data, and perform standardized processing on the physiological health data and breathing data, the physiological health data includes fixed physiological health indicators and variable physiological health indicators; according to the variable physiological health indicators and breathing data, the training differences of the breathing training corresponding to different times of the recommended user and other users are analyzed to obtain the breathing training pattern differences between the recommended user and other users; based on the breathing training pattern differences, the breathing training patterns of all users are clustered and analyzed to obtain breathing training pattern clusters; based on the breathing training pattern clusters, the marginalization degree of the recommended user is analyzed, and the recommendation similarity between the recommended user and other users is obtained by combining the fixed physiological health indicators of the recommended user and other users, and the breathing training pattern differences between the recommended user and other users; according to the recommendation similarity, the best reference user of the recommended user is obtained, and according to the breathing data of the best reference user, the best breathing training data of the recommended user is obtained.

[0138] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0139] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. An intelligent guidance method for breathing training, characterized in that: The method comprises: Acquire physiological health data and respiratory data of the user, and perform standardization processing on the physiological health data and the respiratory data, wherein the physiological health data includes fixed physiological health indicators and variable physiological health indicators; Analyzing the training differences between the recommended user and other users corresponding to different breathing trainings according to the changed physiological health index and the breathing data, and obtaining the breathing training mode differences between the recommended user and other users; Based on the differences in the breathing training patterns, cluster analysis is performed on the breathing training patterns of all users to obtain breathing training pattern clusters; Based on the breathing training pattern clusters, analyzing the marginalization degree of the user to be recommended, combining the fixed physiological health indicators of the user to be recommended and other users, and the breathing training pattern differences between the user to be recommended and other users, to obtain the recommendation similarity between the user to be recommended and other users; According to the recommendation similarity, the best reference user of the user to be recommended is obtained, and according to the breathing data of the best reference user, the best breathing training data of the user to be recommended is obtained; According to the changed physiological health index and the breathing data, the training differences of the breathing training corresponding to different times of the recommended user and other users are analyzed to obtain the breathing training mode differences between the recommended user and other users, including: According to the changed physiological health index and the breathing data, the training differences between the recommended user and other users corresponding to different breathing trainings within any two days are analyzed, including: First The user is analyzed as the current recommended user, and the first The training index vector of the breathing data of the user's breathing training for: ;in, Indicates Dimensional breathing data in the The values ​​of each breathing training of each user; Indicates The sixth dimension of fixed physiological health data of users; define the Training index vector of user's changing physiological health index for: ;in, Indicates Dimensional changes in physiological health indicators The data change of each user before and after each breathing training; Record User and User in The first breathing exercise and the Training variability of sub-breathing training for: ; in, Expressed as a natural constant An exponential function with base ; Indicates User in The training index vector of the physiological health index that changes during the breathing training, Indicates User in The training index vector of the physiological health index that changes during the breathing training, Express request and Euclidean distance between two vectors; Indicates User in The training index vector of the breathing data during the breathing training process, Indicates User in The training index vector of the breathing data during the breathing training process; Express request and Euclidean distance between two vectors; Perform DTW matching on the breathing training time of the recommended user and other users within any two days to obtain the first DTW matching pair; Analyze the training differences of the breathing training of the corresponding times of the DTW first matching pairs on any two days to obtain the first matching training differences of the breathing training of the recommended user and other users on any two days, including: The training difference of the breathing training of two users on any two days is matched with the first pair of DTW. Sum and average to get the first matching training difference between the recommended user and other users in breathing training within any two days ; According to the first matching training difference of the breathing training of the user to be recommended and other users within any two days, the breathing training pattern difference between the user to be recommended and other users is obtained, including: The quantitative formula for the difference in breathing training patterns between the recommended user and other users is: ; in, Indicates User and Differences in breathing training patterns between users; Indicates The number of days that the user performed breathing training, Indicates The number of days a user performs breathing training; Indicates User and Users in any two days ( Tianhedi Day) First matching training difference of breathing training; Based on the breathing training pattern clusters, the marginalization degree of the user to be recommended is analyzed, including: Analyze the training differences of different breathing trainings of the recommended user on any two days according to the changed physiological health index and the breathing data, and obtain the breathing training stability of the recommended user; Based on the breathing training pattern clustering clusters, core users are obtained; In the breathing training pattern cluster, the core user with the closest Euclidean distance to the user to be recommended is defined as the reference core user of the user to be recommended; Analyzing the difference in breathing training patterns between the user to be recommended and the corresponding reference core user; According to the breathing training stability of the user to be recommended and the difference in breathing training mode between the user to be recommended and the corresponding reference core user, the marginalization degree of the user to be recommended is obtained, including: The quantitative formula for the marginalization degree of the recommended user is: ; in, Indicates The marginalization degree of each user, Indicates User and Differences in breathing training patterns among the reference core users; Indicates The number of days a user participated in breathing training; Indicates Breathing training stability for each user; According to the changing physiological health index and the breathing data, the training differences of the breathing training of the user to be recommended in different times on any two days are analyzed to obtain the breathing training stability of the user to be recommended, including: Analyze the training differences of different breathing trainings of the recommended user on any two days according to the changed physiological health index and the breathing data, including: ; in, Indicates User in The first breathing exercise and the Training variability of sub-breathing training; Expressed as a natural constant An exponential function with base ; Indicates User in The training index vector of the physiological health index that changes during the breathing training, Indicates User in The training index vector of the physiological health index that changes during the breathing training, Express request and Euclidean distance between two vectors; Indicates User in The training index vector of the breathing data during the breathing training process, Indicates User in The training index vector of the breathing data during the breathing training process; Express request and Euclidean distance between two vectors; Perform DTW matching on the time when the recommended user performs breathing training within any two days to obtain the second DTW matching pair; Analyze the training differences of the breathing training of the corresponding times of the DTW second matching pair to obtain the training differences of the breathing training of the recommended user in any two days; According to the training difference of the breathing training of the recommended user in any two days, the breathing training stability of the recommended user is obtained, including: The quantitative formula for the stability of breathing training is: ; in, Indicates Breathing training stability for each user; represents the maximum and minimum normalized function; Indicates The number of days a user participated in breathing training; It means the Users in any two days ( Tianhedi Days) of breathing training within the second matching training differences; Analyze the Euclidean distance between the fixed physiological health indicators of the user to be recommended and other users, and combine the breathing training mode difference between the user to be recommended and other users and the marginalization degree of the user to be recommended to obtain the recommendation similarity between the user to be recommended and other users, including: The quantitative formula for the recommendation similarity between the user to be recommended and other users is: ; in, Indicates User and Recommendation similarity between users; represents the maximum and minimum normalized function; Indicates The degree of marginalization of individual users; Indicates User and Differences in breathing training patterns between users; Indicates User and The Euclidean distance between fixed physiological health indicators of each user.

2. The intelligent guidance method for breathing training according to claim 1, characterized in that: Obtaining the best reference user of the user to be recommended according to the recommendation similarity, and obtaining the best breathing training data of the user to be recommended according to the breathing data of the best reference user, including: According to the recommendation similarity, M users with the highest recommendation similarity to the user to be recommended are selected as the best reference users for the user to be recommended; According to the breathing data of the best reference user and in combination with the recommendation similarity between the user to be recommended and the best reference user, the best breathing training data of the user to be recommended is obtained.

3. The intelligent guidance method for breathing training according to claim 1, characterized in that: The fixed physiological health indicators include gender, age, height, weight, body fat percentage, and vital capacity; The changing physiological health indicators include body temperature, blood pressure, heart rate, and blood oxygen saturation; the respiratory data include: average inhalation time, average exhalation time, average breath-holding time after inhalation, average breath-holding time after exhalation, average inhalation volume, and average exhalation volume.

4. The intelligent guidance method for breathing training according to claim 1, characterized in that: Based on the differences in the breathing training patterns, DBSCAN cluster analysis is performed on all users to obtain breathing training pattern clusters.

5. An intelligent guiding device for breathing training, used to perform the method according to any one of claims 1 to 4, characterized in that: The device comprises: A data acquisition module, used to obtain the user's physiological health data and respiratory data, and perform standardization processing on the physiological health data and the respiratory data, wherein the physiological health data includes fixed physiological health indicators and variable physiological health indicators; A breathing training mode difference module is used to analyze the training differences of different breathing trainings of the recommended user and other users according to the changed physiological health index and the breathing data, and obtain the breathing training mode differences between the recommended user and other users; A clustering module, used for performing cluster analysis on the breathing training patterns of all users based on the differences in the breathing training patterns to obtain breathing training pattern clusters; A recommendation similarity module, for analyzing the marginalization degree of the user to be recommended based on the breathing training pattern clustering cluster, combining the fixed physiological health indicators of the user to be recommended and other users, and the breathing training pattern differences between the user to be recommended and other users, to obtain the recommendation similarity between the user to be recommended and other users; The best breathing training data module is used to obtain the best reference user of the user to be recommended according to the recommendation similarity, and obtain the best breathing training data of the user to be recommended according to the breathing data of the best reference user.

6. An intelligent guidance device for breathing training, characterized in that: The device comprises a memory and a processor, wherein: The memory is used to store program code; The processor is configured to read the program code stored in the memory and execute the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Management method and system for respiratory rehabilitation function training

    CN113181605A

  • Intelligent guiding training method for respiratory function

    CN113555082A

Cited By

  • Intelligent training guiding device and method

    CN120459481A