Method, device and storage medium for determining working parameter group of oxygen output device

By determining the oxygen generator parameter group based on the preset duration and type input by the user, clustering and blood oxygen saturation adjustment, the health risks caused by the user's own settings are solved, and a safe and personalized oxygen absorption effect is achieved.

CN119742042BActive Publication Date: 2025-08-22MINHANGZONG HOSPITAL
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411760328.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-08-22
Estimated Expiration
2044-12-03

AI Technical Summary

Technical Problem

Users' self-selecting fixed parameters in home oxygen generators may lead to excessive oxygen absorption or hypoxia, which may harm health. The existing technology lacks personalized parameter setting methods.

Method used

By determining the candidate working parameter group based on the preset working time and user type input by the target user, clustering, obtaining similarity, determining the specified working parameter group, and adjusting the parameters in combination with the blood oxygen saturation time curve to ensure a safe and effective oxygen absorption effect.

Benefits of technology

It realizes the personalized setting of oxygen generator parameters according to the user's physical signs to avoid excessive oxygen absorption or hypoxia, ensure the health and safety of users, and improve the oxygen absorption effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119742042B_ABST
    Figure CN119742042B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, and storage medium for determining an operating parameter group of an oxygen output device, and relates to the technical field of determining an operating parameter group of an oxygen output device. The method comprises: obtaining a list E of candidate operating parameter groups; clustering the candidate operating parameter groups in E to obtain a cluster list; determining a basic operating parameter group of the oxygen output device, and controlling the oxygen output device to operate with the basic operating parameter group for a preset time period, obtaining a blood oxygen saturation time curve GH of a target user within the preset time period, and determining the operating parameter group of the oxygen output device. The present invention can determine a relatively suitable operating parameter group based on the physical signs of the target user, so that the oxygen output device operates under this operating parameter group, thereby preventing the user from excessive oxygen inhalation causing oxygen poisoning or hypoxia, thereby endangering the user's health or even life safety, and improving the oxygen inhalation effect of the target user, thereby ensuring life safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of determining an operating parameter group of an oxygen output device, and in particular to a method for determining an operating parameter group of an oxygen output device, an electronic device, and a storage medium. Background Art

[0002] The core function of oxygen output equipment is to extract pure oxygen from the air for direct inhalation by the human body. With the improvement of people's living standards, household oxygen concentrators, as a type of oxygen output equipment, play an increasingly important role in modern families. Usually, when users use oxygen concentrators at home, they will select the working parameters of the oxygen concentrator based on their general understanding of their own physical signs. However, the user's understanding of their own physical signs is not very comprehensive, and the user does not have more professional relevant knowledge. Therefore, the fixed parameters of the oxygen concentrator selected by the user may not be suitable for their own physical signs. If the user inhales oxygen for a long time through an oxygen concentrator with fixed working parameters set by himself, it will cause the user to inhale too much oxygen, resulting in the risk of oxygen poisoning or hypoxia, thereby endangering the user's health and even life safety. Summary of the Invention

[0003] In view of the above technical problems, the technical solution adopted by the present invention is:

[0004] According to a first aspect of the present application, a method for determining an operating parameter group of an oxygen output device is provided, the method comprising the following steps:

[0005] Q100, based on the preset working time TA of the oxygen output device input by the target user and the user type QE of the target user, determine several candidate working parameter groups corresponding to the oxygen output device to obtain a candidate working parameter group list E = (E1, E2, ..., E a ,…,E b ), a=1, 2, …, b; where E a is the ath candidate operating parameter group of the oxygen output device determined according to TA and QE, b is the number of candidate operating parameter groups of the oxygen output device determined according to TA and QE; E a Includes concentration-time curve and velocity-time curve of oxygen output equipment.

[0006] Q200, cluster the candidate working parameter groups in E according to the standard user feature vector corresponding to each candidate working parameter group in E to obtain a cluster list EA = (EA1, EA2, ..., EA c ,…,EA d ), c=1, 2, ..., d; where EA cis the cth cluster obtained by clustering the candidate working parameter groups in E, and d is the number of clusters obtained by clustering the candidate working parameter groups in E.

[0007] Q300, obtain the first similarity between the target user feature vector XM corresponding to the target user and the center vector of each cluster in EA to obtain a first similarity list ε=(ε1, ε2, ..., ε c ,…,ε d ), where ε c For XM and EA c The first similarity of the center vector.

[0008] Q400: Determine each candidate working parameter group in the cluster corresponding to the first target similarity ε' as a designated working parameter group, so as to obtain a designated working parameter group list F = (F1, F2, ..., F e ,…,F h ), e=1, 2, …, h; where F e is the determined e-th designated working parameter group, h is the number of the determined designated working parameter groups; ε'=MAX(ε); MAX() is a preset maximum value function.

[0009] Q500, determining a basic operating parameter group of the oxygen output device according to the sub-concentration time curve and the sub-speed time curve corresponding to the previous preset time length of each specified operating parameter group in F.

[0010] Q600, after the oxygen output device operates for a preset time period with the basic working parameter group, a blood oxygen saturation time curve GH of the target user within the preset time period is obtained.

[0011] Q700, determine the working parameter group of the oxygen output device according to each standard blood oxygen saturation time curve corresponding to each specified working parameter group in GH and F.

[0012] According to another aspect of the present application, a non-transitory computer-readable storage medium is provided, wherein the storage medium stores at least one instruction or at least one program segment, and the at least one instruction or at least one program segment is loaded and executed by a processor to implement the above-mentioned method for determining the operating parameter group of the oxygen output device.

[0013] According to another aspect of the present application, an electronic device is provided, including a processor and the above-mentioned non-transitory computer-readable storage medium.

[0014] The present invention has at least the following beneficial effects:

[0015] The method for determining an oxygen output device operating parameter group of the present invention determines several candidate operating parameter groups corresponding to the oxygen output device based on a preset operating time TA of the oxygen output device input by a target user and a user type QE of the target user, thereby obtaining a candidate operating parameter group list E; clusters the candidate operating parameter groups in E based on a standard user feature vector corresponding to each candidate operating parameter group in E, thereby obtaining a cluster list EA; determines a designated operating parameter group based on a similarity between a target user feature vector XM and a central vector of each cluster in EA; and determines a sub-concentration time curve and a sub-velocity curve corresponding to a preset time of each designated operating parameter group. The oxygen output device is controlled to operate with the basic operating parameter group for a preset time period, thereby obtaining a target user's blood oxygen saturation time curve GH within the preset time period. The operating parameter group of the oxygen output device is determined based on GH and each standard blood oxygen saturation time curve corresponding to each specified operating parameter group. Thus, a more appropriate operating parameter group is determined based on the target user's physical signs, so that the oxygen output device operates under this operating parameter group, thereby preventing the user from excessive oxygen inhalation causing oxygen poisoning or hypoxia, thereby endangering the user's health or even life safety, thereby improving the target user's oxygen inhalation effect and ensuring life safety. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.

[0017] Figure 1 This is a flow chart of a method for determining a working parameter group of an oxygen output device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present invention.

[0019] It should be noted that, based on this disclosure, those skilled in the art will appreciate that an aspect described herein can be implemented independently of any other aspect, and that two or more of these aspects can be combined in various ways. For example, any number of the aspects described herein can be used to implement an apparatus and / or practice a method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement such an apparatus and / or practice such a method.

[0020] Example 1:

[0021] The following will refer to Figure 1 The flowchart of the method for determining the working parameter group of the oxygen output device is shown, which introduces a method for determining the working parameter group of the oxygen output device.

[0022] The method for determining the working parameter group of the oxygen output device may include the following steps:

[0023] Q100, based on the preset working time TA of the oxygen output device input by the target user and the user type QE of the target user, determine several candidate working parameter groups corresponding to the oxygen output device to obtain a candidate working parameter group list E = (E1, E2, ..., E a ,…,E b ), a=1, 2, …, b; where E a is the ath candidate operating parameter group of the oxygen output device determined according to TA and QE, b is the number of candidate operating parameter groups of the oxygen output device determined according to TA and QE; E a Includes concentration-time curve and velocity-time curve of oxygen output equipment.

[0024] In this embodiment, the target user can be any user who uses an oxygen output device, which can be a home oxygen concentrator. When using the oxygen output device, the target user can input a preset working time, that is, the current oxygen inhalation time; and a user type, which includes office workers, students, or users with respiratory disorders, etc. It can be understood that the method in this embodiment is targeted at different types of users.

[0025] Furthermore, step Q100 may include the following steps:

[0026] Q110, obtain a preset candidate working parameter group mapping table; wherein the candidate working parameter group mapping table includes several rows, each row corresponds to a combination of a preset working time range and user type and corresponding several initial working parameter groups.

[0027] In this embodiment, the preset working time range can be 0 to 1 hour, 1 hour to 2 hours, etc., and the user types can also be exhaustive; the preset working time range and user type can be combined, and each combination corresponds to several initial working parameter groups; the initial working parameter group can be obtained through a large amount of historical user data, and the initial working parameter group can be understood as users who are more in line with the corresponding preset working time and user type combination.

[0028] Q120, traverse the combination of preset working time range and user type in each row of the candidate working parameter group mapping table, and determine several initial working parameter groups corresponding to the combination whose user type is the same as the user type of the target user and whose preset working time range includes TA as several candidate working parameter groups corresponding to the oxygen output device.

[0029] In this embodiment, through the above steps Q110 and Q120, several candidate operating parameter groups can be preliminarily determined based on the preset operating time TA of the oxygen output device input by the target user and the user type QE of the target user, and then a final operating parameter group can be determined from the several candidate operating parameter groups.

[0030] Q200, cluster the candidate working parameter groups in E according to the standard user feature vector corresponding to each candidate working parameter group in E to obtain a cluster list EA = (EA1, EA2, ..., EA c ,…,EA d ), c=1, 2, ..., d; where EA c is the cth cluster obtained by clustering the candidate working parameter groups in E, and d is the number of clusters obtained by clustering the candidate working parameter groups in E.

[0031] In this embodiment, the standard user feature vector can be understood as the feature vector of a normal user. The standard user feature vector can be obtained by obtaining different preset types of physical sign parameters of the standard user and then converting them into a vector form; the preset types of physical sign parameters include: age, gender, height, weight, blood pressure value, blood oxygen saturation and other physical sign parameters; the standard user feature vector corresponding to each candidate working parameter group can be obtained by averaging the user feature vectors of several standard users corresponding to each candidate working parameter group; the standard user feature vector can be clustered using the k-means clustering algorithm to obtain EA.

[0032] Q300, obtain the first similarity between the target user feature vector XM corresponding to the target user and the center vector of each cluster in EA to obtain a first similarity list ε=(ε1, ε2, ..., ε c ,…,ε d ), where ε c For XM and EA cThe first similarity of the center vector.

[0033] In this embodiment, it should be noted that those skilled in the art can use existing vector similarity determination methods according to actual needs to determine the first similarity between the target user feature vector XM corresponding to the target user and the center vector of each cluster in EA to obtain the first similarity list ε, which will not be elaborated here.

[0034] Furthermore, XM is obtained through the following steps:

[0035] Q310, obtaining each preset type of physical sign parameter corresponding to the target user.

[0036] Q320, fill each preset type of physical sign parameter corresponding to the target user into the corresponding position in the preset initial vector to obtain XM.

[0037] In this embodiment, it should be noted that the dimension of the standard user feature vector corresponding to each candidate working parameter group is the same as the dimension of XM.

[0038] Q400: Determine each candidate working parameter group in the cluster corresponding to the first target similarity ε' as a designated working parameter group, so as to obtain a designated working parameter group list F = (F1, F2, ..., F e ,…,F h ), e=1, 2, …, h; where F e is the determined e-th designated working parameter group, h is the number of the determined designated working parameter groups; ε'=MAX(ε); MAX() is a preset maximum value function.

[0039] In this embodiment, the combination of preset working hours and user types corresponding to the candidate working parameter groups in the cluster corresponding to the first target similarity is most consistent with the preset working hours input by the target user and the type of the target user. Therefore, each candidate working parameter group in the cluster corresponding to the first target similarity ε' is determined as a designated working parameter group.

[0040] Q500, determining a basic operating parameter group for the oxygen output device based on the sub-concentration time curve and the sub-speed time curve corresponding to the previous preset time length of each candidate operating parameter group in F.

[0041] In this embodiment, after determining several designated operating parameter groups, it is not possible to directly determine which designated operating parameter group is optimal. A final confirmation is required based on changes in the target user's blood oxygen saturation. At this point, it is necessary to control the operation of the oxygen output device, that is, it is necessary to determine the basic operating parameter group of the oxygen output device.

[0042] Furthermore, step Q500 may include the following steps:

[0043] Q510, obtain the sub-concentration time curve and sub-speed time curve corresponding to the previous preset time length of each specified working parameter group in F, so as to obtain the sub-candidate working parameter group list ZE=(ZE1, ZE2, ..., ZE a ,…,ZE b ); among them, ZE a For E a The corresponding sub-specified working parameter group; ZE a =(ZE a,1 , ZE a,2 ); ZE a,1 For E a The sub-concentration time curve corresponding to the preset time length of the concentration time curve within ZE a,2 For E a The sub-speed time curve corresponding to the previous preset duration of the speed time curve within.

[0044] In this embodiment, a portion of the concentration-time curve and a portion of the speed-time curve corresponding to the first preset time length of each specified working parameter group in F may be intercepted to obtain a sub-concentration-time curve and a sub-speed-time curve.

[0045] Q520, the average sub-concentration time curve corresponding to all sub-concentration time curves in ZE is determined as the basic concentration time curve JE1, and the average sub-speed time curve corresponding to all sub-speed time curves in ZE is determined as the basic speed time curve JE2.

[0046] In this embodiment, it should be noted that those skilled in the art can use the existing average curve determination method to obtain JE1 and JE2 according to actual needs, which will not be described in detail here.

[0047] Q530, based on JE1 and JE2, determine the basic working parameter group JC = (JE1, JE2) of the oxygen output device.

[0048] In this embodiment, the preset duration ranges from 5 minutes to 60 minutes; the basic working parameter group is obtained based on the sub-concentration time curve and sub-speed time curve corresponding to the previous preset duration of each specified working parameter group in F; therefore, the basic working parameter group is also more in line with the vital sign parameters of the target user.

[0049] Q600, after the oxygen output device operates for a preset time period with the basic working parameter group, a blood oxygen saturation time curve GH of the target user within the preset time period is obtained.

[0050] In this embodiment, after the oxygen output device operates for a preset time period with the basic operating parameter set, the target user's blood oxygen saturation will change during the oxygen inhalation process within the preset time period, and thus, GH can be obtained.

[0051] Q700, determine the working parameter group of the oxygen output device according to each standard blood oxygen saturation time curve corresponding to each specified working parameter group in GH and F.

[0052] Furthermore, step Q700 may include the following steps:

[0053] Q710, obtain each standard blood oxygen saturation time curve corresponding to each specified working parameter group in F to obtain a standard blood oxygen saturation time curve list set RA = (RA1, RA2, ..., RA e ,…,RA h ); among them, RA e F e Corresponding standard blood oxygen saturation time curve list; RA e =(RA e,1 , RA e,2 ,…,RA e,x ,…,RA e,f(e) ), x=1, 2,..., f(e); RA e,x F e The corresponding x-th standard blood oxygen saturation time curve.

[0054] In this embodiment, when the oxygen output device operates in each specified working parameter group, it can obtain standard blood oxygen saturation time curves corresponding to several standard users with different initial blood oxygen saturations, and then average them to obtain the standard blood oxygen saturation time curve corresponding to each specified working parameter group.

[0055] Q720, get traversal RA, if RA e,x If the difference between the initial oxygen saturation of RA and the initial oxygen saturation of GH is within the preset difference range, the RA e,x Determine the candidate standard blood oxygen saturation time curve to obtain the candidate standard blood oxygen saturation time curve list RB=(RB1, RB2, ..., RB y ,…,RB w ), y=1, 2,…, w; where RB y is the yth candidate standard blood oxygen saturation time curve obtained, and w is the number of candidate standard blood oxygen saturation time curves obtained.

[0056] In this embodiment, each standard blood oxygen saturation curve in RA corresponds to an initial blood oxygen saturation, and the standard blood oxygen saturation curve whose difference between the initial blood oxygen saturation and the initial blood oxygen saturation of GH is within a preset difference range is determined as a candidate standard blood oxygen saturation time curve.

[0057] Q730, obtain the second similarity of the partial standard blood oxygen saturation time curve corresponding to the previous preset time length of each candidate standard blood oxygen saturation time curve in GH and RB, to obtain a second similarity list δ = (δ1, δ2, ..., δ y ,…,δ w ); where δ y For GH and RB y A second similarity of the part of the standard blood oxygen saturation time curve corresponding to the previous preset time length.

[0058] In this embodiment, a portion of the standard blood oxygen saturation time curve corresponding to a preset time period before each candidate standard blood oxygen saturation time curve in RB may be intercepted, and then the similarity with GH may be determined to obtain δ.

[0059] Q740, determining the designated working parameter group corresponding to the second target similarity δ' as the working parameter group of the oxygen output device; wherein δ'=MAX(δ).

[0060] In this embodiment, the portion of the blood oxygen saturation time curve corresponding to the second target similarity has the highest similarity to GH. Therefore, the designated operating parameter group corresponding to the second target similarity δ' is determined as the operating parameter group of the oxygen output device, so that the target user can achieve a better oxygen inhalation effect.

[0061] In this embodiment, based on the preset operating time TA of the oxygen output device input by the target user and the user type QE of the target user, several candidate operating parameter groups corresponding to the oxygen output device are determined to obtain a candidate operating parameter group list E. The candidate operating parameter groups in E are clustered based on the standard user feature vector corresponding to each candidate operating parameter group in E to obtain a cluster list EA. A designated operating parameter group is determined based on the similarity between the target user feature vector XM and the center vector of each cluster in EA. A basic operating parameter group for the oxygen output device is determined based on the sub-concentration time curve and sub-velocity time curve corresponding to the previous preset time period of each designated operating parameter group. The oxygen output device is controlled to operate with the basic operating parameter group for the preset time period, and a blood oxygen saturation time curve GH of the target user over the preset time period is obtained. The operating parameter group of the oxygen output device is determined based on GH and each standard blood oxygen saturation time curve corresponding to each designated operating parameter group. Thus, a suitable operating parameter group is determined based on the target user's physical signs, so that the oxygen output device operates under this operating parameter group, thereby preventing the user from suffering from oxygen toxicity or hypoxia due to excessive oxygen inhalation, which could endanger the user's health or even life, and improving the oxygen inhalation effect of the target user, thereby ensuring life safety.

[0062] In some embodiments, the method in steps Q100 to Q700 above can be implemented by the following code:

[0063] #Generate candidate working parameter group list E based on TA and QE

[0064] def generate_candidate_work_parameters(TA,QE):

[0065] #For example: E=[{'concentration_curve':...,'speed_curve':...},...]

[0066] #Use the preset function to calculate the standard user feature vector

[0067] def calculate_standard_user_feature_vector(Ea):

[0068] #Calculate the standard user feature vector based on the candidate working parameter group Ea

[0069] #The returned value is a feature vector

[0070] #Calculate the similarity between two vectors

[0071] def calculate_similarity(vector1,vector2):

[0072] #Use cosine similarity to calculate the similarity between two vectors

[0073]

[0074]

[0075] Example 2:

[0076] In the first embodiment above, although the operating parameter set of the oxygen output device is determined based on the preset duration and physical parameters of the target user, the physical parameters of the target user may change. If only the determined operating parameter set of the oxygen output device is fixedly used, when the physical parameters of the target user change, the oxygen inhalation effect may be poor. In order to solve the above technical problem, the following method is provided:

[0077] S100, obtaining the blood oxygen saturation group of the target user within the preset time period of each day in the historical time period, so as to obtain the blood oxygen saturation group list A corresponding to the target user = (A1, A2, ..., A i ,…,A n ), i=1, 2,...,n; where, A i The preset time period T of the target user on the i-th day in the historical time period iThe corresponding blood oxygen saturation group, n is the number of days corresponding to the historical time period; A i =(A i,1 , A i,2 ,…,A i,j ,…,A i,m ), j = 1, 2, ..., m; A i,j For target users in T i The blood oxygen saturation group at the jth preset moment in T i The number of preset moments in the i,j =(A i,j _1, A i,j _2); A i,j _1 is the target user in T i The blood oxygen saturation of the first side at the j-th preset moment, A i,j _2 is the target user in T i The preset time period includes a period of time after the start of oxygen inhalation and a period of time after the end of oxygen inhalation.

[0078] In this embodiment, the target user can be any user who uses the oxygen output device, and the historical time period can be several days before the current day, for example, 30 days before the current day; when the target user uses the oxygen output device every day in the historical time period, the blood oxygen saturation on the left and right sides, i.e., the first side and the second side, can be monitored and recorded by a fingertip oximeter to form historical data; therefore, the blood oxygen saturation group of the target user in the preset time period of each day in the historical time period can be obtained through the historical data to obtain the blood oxygen saturation group list A corresponding to the target user; the preset time interval is set with a fixed duration.

[0079] Furthermore, the duration of the period after the start of oxygen inhalation ranges from 5 minutes to 120 minutes; the duration of the period after the end of oxygen inhalation ranges from 5 minutes to 120 minutes; for example, the duration of the period after the start of oxygen inhalation is 10 minutes; the duration of the period after the end of oxygen inhalation is 10 minutes.

[0080] Furthermore, A i It can be obtained by following the steps below:

[0081] S110, obtain the target user's T i The blood oxygen saturation group QA at each preset moment within a period of time after the start of oxygen inhalation and the target user at T i The blood oxygen saturation group QB at each preset time within a period of time after the end of oxygen inhalation.

[0082] S120, concatenate QA and QB to obtain A.

[0083] In this embodiment, the target user generally inhales oxygen for more than 10 hours. To improve calculation efficiency, blood oxygen saturation data for a period of time after the start of oxygen inhalation and a period of time after the end of oxygen inhalation are used.

[0084] S200: If the target user is a preset first type user, then according to A, determine the blood oxygen saturation deviation of the target user at each preset time on the first side and the second side to obtain a blood oxygen saturation deviation list set corresponding to the target user λ = (λ1, λ2, ..., λ i ,…,λ n ); where λ i For target users in T i The corresponding blood oxygen saturation deviation list; λ i =(λ i,1 ,λ i,2 ,…,λ i,j ,…,λ i,m );λ i,j For target users in T i The blood oxygen saturation deviation corresponding to the j-th preset moment within λ; i,j =|A i,j _1-A i,j _2| / MAX(A i,j ); MAX() is the preset maximum value function.

[0085] In this embodiment, the user type of the target user can be input by the target user himself or directly obtained through the medical structure data platform; the preset first type user can be understood as a user with unilateral lung dysfunction. During the oxygen inhalation process, the blood oxygen saturation changes on both sides of the first type user are different; because the target user is the preset first type user, the blood oxygen saturation of one side of the first type user is normal, that is, the side with higher blood oxygen saturation at the same time is normal. Therefore, according to A, the blood oxygen saturation deviation of the target user on the first side and the second side at each preset time can be determined to obtain the blood oxygen saturation deviation list set λ corresponding to the target user.

[0086] Furthermore, after step S200 and before step S300, the method further includes the following steps:

[0087] S210: If the target user is a preset second type user, obtain the standard blood oxygen saturation of the standard user at each preset time to obtain a standard blood oxygen saturation list B = (B1, B2, ..., B j ,…,B m ); among them, B i is the standard blood oxygen saturation corresponding to the standard user at the jth preset moment; the first type of users is different from the second type of users.

[0088] In this embodiment, the preset second type of user can be understood as a user with bilateral lung dysfunction. During the oxygen inhalation process, the changes in blood oxygen saturation on the first side and the second side of the second type of user are different from those of the standard user. The standard blood oxygen saturation of the standard user at each preset moment can be obtained to obtain the standard blood oxygen saturation list B. The standard user can be understood as a user with normal lung function.

[0089] S220, based on A and B, determine the blood oxygen saturation deviation of the target user at each preset time on the first side and the second side, so as to obtain a blood oxygen saturation deviation list set λ = (λ1, λ2, ..., λ i ,…,λ n ); where λ i For target users in T i The corresponding blood oxygen saturation deviation list; λ i =(λ i,1 ,λ i,2 ,…,λ i,j ,…,λ i,m );λ i,j For target users in T i The blood oxygen saturation deviation corresponding to the j-th preset moment within λ; i,j =(|A i,j _1-B j | / B j +|A i,j _2-B j | / B j ) / 2; MAX() is the preset maximum value function.

[0090] In this embodiment, through the above-mentioned steps S210 and S220, the blood oxygen saturation deviation corresponding to the second type of user can be determined, and the determined blood oxygen saturation deviation takes into account the bilateral blood oxygen saturation, so that the determined blood oxygen saturation deviation is more consistent with the physical signs of the second type of user.

[0091] S300: Determine the oxygen uptake corresponding to each day of the target user in the historical time period according to λ, so as to obtain the oxygen uptake characteristic vector θ corresponding to the target user = (θ1, θ2, ..., θ i ,…,θ n ), where θ i is the oxygen uptake of the target user on the i-th day in the historical time period.

[0092] In this embodiment, the oxygen uptake degree corresponding to each day of the target user in the historical time period can be understood as the oxygen uptake effect of the target user in each day of the historical time period.

[0093] Furthermore, step S300 may include the following steps:

[0094] S310 , inputting λ into a preset linear regression model to obtain the oxygen absorption degree corresponding to each day of the target user in the historical time period, and further obtaining the oxygen absorption effect feature vector θ corresponding to the target user.

[0095] In this embodiment, λ can be input into a preset linear regression model to obtain the evaluation value corresponding to the target user after oxygen inhalation every day in the historical time period, that is, the oxygen uptake degree, and then obtain the oxygen uptake effect characteristic vector θ corresponding to the target user; the preset linear regression model can be obtained through the historical data of a large number of users. It should be noted that those skilled in the art can use the existing linear regression model establishment method according to actual needs to establish a preset linear regression model through the historical data of a large number of users, which will not be elaborated here.

[0096] Furthermore, step S300 may further include the following steps:

[0097] S320, obtain λ i The first blood oxygen saturation deviation corresponding to a period of time after the target user starts to inhale oxygen is obtained to obtain a first blood oxygen saturation deviation list C = (C1, C2, ..., C r ,…,C s ), r=1, 2, ..., s; where C r is the rth first blood oxygen saturation deviation within a period of time after the target user starts to inhale oxygen, and s is the number of first blood oxygen saturation deviations within a period of time after the target user starts to inhale oxygen.

[0098] S330, obtain λ i The second blood oxygen saturation deviation corresponding to a period of time after the target user finishes oxygen inhalation is obtained to obtain a second blood oxygen saturation deviation list D=(D1, D2, ..., D p ,…,D q ), p=1, 2, ..., q; where D p is the pth second blood oxygen saturation deviation within a period of time after the target user finishes oxygen inhalation, and q is the number of second blood oxygen saturation deviations within a period of time after the target user finishes oxygen inhalation.

[0099] In this embodiment, the first blood oxygen saturation deviation and the second blood oxygen saturation deviation can be determined by the method in step S210 and step S220, thereby obtaining C and D.

[0100] S340, determine θ based on C and D i =(1 / s)×∑ s r=1 C r +(1 / q)×∑q p=1 D p .

[0101] In this embodiment, the first blood oxygen saturation deviation corresponding to a period of time after the target user starts inhaling oxygen and the second blood oxygen saturation deviation corresponding to a period of time after the target user ends inhaling oxygen are used to comprehensively determine θ i , so that the determined θ i More accurately; it is understandable that θ i The smaller it is, the better the oxygen absorption effect of the target user on the i-th day.

[0102] S400 , inputting θ into a preset classification model to obtain a classification result corresponding to θ.

[0103] In this embodiment, the preset classification model can be obtained by training a large amount of historical data. After θ is input into the preset classification model, the preset classification model can output the corresponding classification results based on θ; the classification results may include several types, each corresponding to a result of oxygen inhalation.

[0104] S500: Determine whether to issue a prompt message based on the classification result; wherein the prompt message is used to prompt the target user to adjust the working parameters of the oxygen output device.

[0105] In this embodiment, for example, the classification results include a first result, a second result, and a third result. The first result indicates that no prompt information is issued, the second result indicates that the operating parameters of the oxygen output device are increased, and the third result indicates that the operating parameters of the oxygen output device are reduced.

[0106] In this embodiment, if the target user is a preset first type of user, the blood oxygen saturation deviations of the target user on the first side and the second side at each preset moment are determined based on the blood oxygen saturation group of the target user within the preset time period of each day in the historical time period to obtain a blood oxygen saturation deviation list set λ corresponding to the target user. Based on λ, the oxygen uptake corresponding to each day of the target user in the historical time period is determined to obtain an oxygen uptake feature vector θ corresponding to the target user. θ is input into a preset classification model to obtain a classification result corresponding to θ. Based on the classification result, it is determined whether to issue a prompt message to prompt the target user whether to adjust the operating parameters of the oxygen output device. In this way, the operation of the oxygen output device is controlled according to the physical signs of different types of users, so that the operating state of the oxygen output device is more consistent with the physical signs of the target user, and the oxygen uptake effect of the target user is better.

[0107] In some embodiments, the above steps S100 to S500 may be implemented by the following code:

[0108]

[0109]

[0110]

[0111] Furthermore, although the steps of the method of the present disclosure are described in a particular order in the accompanying drawings, this does not require or imply that the steps must be performed in this particular order, or that all steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0112] An embodiment of the present invention also provides a non-transitory computer-readable storage medium, which can be set in an electronic device to store at least one instruction or at least one program related to implementing a method in a method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the method provided in the above embodiment.

[0113] The program product may be implemented in any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0114] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0115] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0116] The program code for performing the operations of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0117] An embodiment of the present invention further provides an electronic device including a processor and the aforementioned non-transitory computer-readable storage medium.

[0118] The electronic device is merely an example and should not limit the functions and scope of use of the embodiments of the present application.

[0119] The electronic device is implemented as a general-purpose computing device. Components of the electronic device may include, but are not limited to, the aforementioned at least one processor, the aforementioned at least one memory, and a bus connecting different system components (including the memory and the processor).

[0120] The memory stores program codes, which can be executed by the processor, so that the processor performs the steps of various embodiments described in this specification.

[0121] The memory may include readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read-only memory (ROM).

[0122] The memory may also include a program / utility having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0123] The bus may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.

[0124] The electronic device may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device, and / or any device that enables the electronic device to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface. Furthermore, the electronic device may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter. The network adapter communicates with other modules of the electronic device via a bus. It should be understood that, although not shown in the figures, other hardware and / or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0125] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0126] An embodiment of the present invention further provides a computer program product comprising program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the method according to various exemplary embodiments of the present invention described above in this specification.

[0127] Although some specific embodiments of the present invention have been described in detail by way of examples, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It should also be understood by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention.

Claims

1. A method for determining an operating parameter group of an oxygen output device, characterized in that: The method comprises the following steps: Q100, based on the preset working time TA of the oxygen output device input by the target user and the user type QE of the target user, determine several candidate working parameter groups corresponding to the oxygen output device to obtain a candidate working parameter group list E = (E1, E2, ..., E a ,…,E b ), a=1, 2, …, b; where E a is the ath candidate operating parameter group of the oxygen output device determined according to TA and QE, b is the number of candidate operating parameter groups of the oxygen output device determined according to TA and QE; E a Including concentration time curve and velocity time curve of oxygen output equipment; Q200, cluster the candidate working parameter groups in E according to the standard user feature vector corresponding to each candidate working parameter group in E to obtain a cluster list EA = (EA1, EA2, ..., EA c ,…,EA d ), c=1, 2, ..., d; where EA c is the cth cluster obtained by clustering the candidate working parameter groups in E, and d is the number of clusters obtained by clustering the candidate working parameter groups in E; Q300, obtain the first similarity between the target user feature vector XM corresponding to the target user and the center vector of each cluster in EA to obtain a first similarity list ε=(ε1, ε2, ..., ε c ,…,ε d ), where ε c For XM and EA c The first similarity of the center vector of ; Q400: Determine each candidate working parameter group in the cluster corresponding to the first target similarity ε' as a designated working parameter group, so as to obtain a designated working parameter group list F = (F1, F2, ..., F e ,…,F h ), e=1, 2, …, h; where F e is the determined e-th designated working parameter group, h is the number of the determined designated working parameter groups; ε'=MAX(ε); MAX() is a preset maximum value function; Q500, determining a basic operating parameter group for the oxygen output device based on the sub-concentration time curve and the sub-speed time curve corresponding to the previous preset time length of each specified operating parameter group in F; Q600, after the oxygen output device operates for a preset period of time with the basic working parameter group, obtain the target user's blood oxygen saturation time curve GH within the preset period of time; Q700, determine the working parameter group of the oxygen output device according to each standard blood oxygen saturation time curve corresponding to each specified working parameter group in GH and F.

2. The method for determining the working parameter group of the oxygen output device according to claim 1, characterized in that: Step Q100 includes the following steps: Q110, obtaining a preset candidate working parameter group mapping table; wherein the candidate working parameter group mapping table includes a plurality of rows, each row corresponding to a combination of a preset working time range and a user type and a corresponding plurality of initial working parameter groups; Q120, traverse the combination of preset working time range and user type in each row of the candidate working parameter group mapping table, and determine several initial working parameter groups corresponding to the combination whose user type is the same as the user type of the target user and whose preset working time range includes TA as several candidate working parameter groups corresponding to the oxygen output device.

3. The method for determining the working parameter group of the oxygen output device according to claim 1, characterized in that: Step Q500 includes the following steps: Q510, obtain the sub-concentration time curve and sub-speed time curve corresponding to the previous preset time length of each specified working parameter group in F, so as to obtain the sub-candidate working parameter group list ZE=(ZE1, ZE2, ..., ZE a ,…,ZE b ); among them, ZE a For E a The corresponding sub-specified working parameter group; ZE a =(ZE a,1 , ZE a,2 ); ZE a,1 For E a The sub-concentration time curve corresponding to the preset time length of the concentration time curve within ZE a,2 For E a The sub-speed time curve corresponding to the previous preset duration of the speed time curve within; Q520, determining the average sub-concentration time curve corresponding to all sub-concentration time curves in ZE as the basic concentration time curve JE1, and determining the average sub-velocity time curve corresponding to all sub-velocity time curves in ZE as the basic velocity time curve JE2; Q530, based on JE1 and JE2, determine the basic working parameter group JC = (JE1, JE2) of the oxygen output device.

4. The method for determining the working parameter group of the oxygen output device according to claim 1, characterized in that: Step Q700 includes the following steps: Q710, obtain each standard blood oxygen saturation time curve corresponding to each specified working parameter group in F to obtain a standard blood oxygen saturation time curve list set RA = (RA1, RA2, ..., RA e ,…,RA h ); among them, RA e F e Corresponding standard blood oxygen saturation time curve list; RA e =(RA e,1 , RA e,2 ,…,RA e,x ,…,RA e,f(e) ), x=1, 2,..., f(e); RA e,x F e The corresponding xth standard blood oxygen saturation time curve; Q720, get traversal RA, if RA e,x If the difference between the initial oxygen saturation of RA and the initial oxygen saturation of GH is within the preset difference range, the RA e,x Determine the candidate standard blood oxygen saturation time curve to obtain the candidate standard blood oxygen saturation time curve list RB=(RB1, RB2, ..., RB y ,…,RB w ), y=1, 2,…, w; where RB y is the yth candidate standard blood oxygen saturation time curve obtained, and w is the number of candidate standard blood oxygen saturation time curves obtained; Q730, obtain the second similarity of the partial standard blood oxygen saturation time curve corresponding to the previous preset time length of each candidate standard blood oxygen saturation time curve in GH and RB, to obtain a second similarity list δ = (δ1, δ2, ..., δ y ,…,δ w ); where δ y For GH and RB y a second similarity of a portion of the standard blood oxygen saturation time curve corresponding to a preset time length; Q740, determining the designated working parameter group corresponding to the second target similarity δ' as the working parameter group of the oxygen output device; wherein δ'=MAX(δ).

5. The method for determining the working parameter group of the oxygen output device according to claim 1, characterized in that: XM is obtained through the following steps: Q310, obtaining the physical sign parameters of each preset type corresponding to the target user; Q320, fill each preset type of physical sign parameter corresponding to the target user into the corresponding position in the preset initial vector to obtain XM.

6. The method for determining the working parameter group of the oxygen output device according to claim 1, characterized in that: The dimension of the standard user feature vector corresponding to each candidate working parameter group is the same as that of XM.

7. The method for determining the working parameter group of the oxygen output device according to claim 3, characterized in that: The preset duration ranges from 5 minutes to 60 minutes.

8. A non-transitory computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, characterized in that: The at least one instruction or the at least one program segment is loaded and executed by the processor to implement the method for determining the working parameter group of the oxygen output device according to any one of claims 1 to 7.

9. An electronic device, characterized in that: The device comprises a processor and the non-transitory computer-readable storage medium of claim 8.

Citation Information

Patent Citations

  • System for supplying oxygen as required and oxygen generating plant

    CN106334243A

  • Ventilation control method and device

    CN117642203A