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

Through the preset working time and user type input by the user, the working parameter group of the oxygen output device is determined and adjusted, which solves the problem of improper oxygen absorption caused by users due to their lack of understanding of their physical signs, and improves the safety and oxygen absorption effect of the device.

CN119742042AActive Publication Date: 2025-04-01MINHANGZONG HOSPITAL

Patent Information

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

AI Technical Summary

Technical Problem

When users choose the operating parameters of the oxygen output device, due to incomplete understanding of their own physical signs, they may lead to excessive or insufficient oxygen absorption, increasing the risk of oxygen poisoning or hypoxia, threatening health and life safety.

Method used

By entering the preset working time and user type by the user, several candidate working parameter groups are determined, clustered, and the specified working parameter group is determined based on the similarity between the target user's feature vector and the cluster center, and the final working parameter group is adjusted through the blood oxygen saturation time curve to adapt to the user's physical signs.

Benefits of technology

It effectively avoids the risk of excessive or insufficient oxygen absorption, improves the safety of oxygen output equipment and oxygen absorption effect, and ensures the health and life safety of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119742042A_ABST
    Figure CN119742042A_ABST
Patent Text Reader

Abstract

The invention provides a method and equipment for determining a working parameter group of oxygen output equipment and a storage medium, and relates to the technical field of determining of the working parameter group of the oxygen output equipment, and the method comprises the following steps: obtaining a candidate working parameter group list E; clustering the candidate working parameter groups in the E to obtain a cluster list; a basic working parameter set of the oxygen output equipment is determined, the oxygen output equipment is controlled to operate for a preset duration according to the basic working parameter set, a blood oxygen saturation degree time curve GH of the target user within the preset duration is obtained, and a working parameter set of the oxygen output equipment is determined; according to the method and the device, the relatively proper working parameter group can be determined according to the body signs of the target user, so that the oxygen output equipment operates under the working parameter group, oxygen poisoning or oxygen deficit caused by excessive oxygen uptake of the user is avoided, the health and even life safety of the user are prevented from being harmed, the oxygen uptake effect of the target user is improved, and the life safety is guaranteed.
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 a working parameter group of an oxygen output device, and in particular to a method for determining a working 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 one of the oxygen output devices, play an increasingly important role in modern families. Usually, when users use oxygen concentrators at home, they will choose 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 his or her own physical signs. If the user inhales oxygen for a long time through an oxygen concentrator with fixed working parameters set by himself or herself, it will cause the user's excessive oxygen inhalation to cause oxygen poisoning or hypoxia risk, 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 a working parameter group of an oxygen output device is provided, the method comprising the following steps:

[0005] Q100, according to 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, so as 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 e-th designated working parameter group determined, h is the number of designated working parameter groups determined; ε'=MAX(ε); MAX() is a preset maximum value function.

[0009] Q500, determine the basic working 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 working parameter group in F.

[0010] Q600, after the oxygen output device runs for a preset time with the basic working parameter group, a blood oxygen saturation time curve GH of the target user within the preset time 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 also provided, in which at least one instruction or at least one program is stored, and the at least one instruction or at least one program is loaded and executed by a processor to implement the above-mentioned method for determining the working 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 the working parameter group of the oxygen output device of the present invention determines several candidate working parameter groups corresponding to the oxygen output device according to the preset working time TA of the oxygen output device input by the target user and the user type QE of the target user, so as to obtain a candidate working parameter group list E; clusters the candidate working parameter groups in E according to the standard user feature vector corresponding to each candidate working parameter group in E, so as to obtain a cluster list EA; determines the designated working parameter group according to the similarity between the target user feature vector XM and the central vector of each cluster in EA; and determines the sub-concentration time curve and the sub-speed curve corresponding to the preset time of each designated working parameter group according to the sub-concentration time curve and the sub-speed curve. Time curve, determine the basic working parameter group of the oxygen output device, and control the oxygen output device to run for a preset time with the basic working parameter group, obtain the blood oxygen saturation time curve GH of the target user within the preset time, and determine the working parameter group of the oxygen output device according to GH and each standard blood oxygen saturation time curve corresponding to each specified working parameter group, so as to determine a more suitable working parameter group according to the physical signs of the target user, so that the oxygen output device can operate under this working parameter group, avoid oxygen poisoning or hypoxia caused by excessive oxygen inhalation of the user, thereby endangering the health and even life safety of the user, improve the oxygen inhalation effect of the target user, and ensure 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 A flowchart 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 be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 creative work are within the scope of protection of the present invention.

[0019] It should be noted that, based on the present disclosure, those skilled in the art should understand that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects described herein can be used to implement a device 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 this device and / or practice this method.

[0020] Embodiment 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, and a method for determining the working parameter group of the oxygen output device is introduced.

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

[0023] Q100, according to 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, and the oxygen output device can be a home oxygen concentrator; when using the oxygen output device, the target user can input a preset working time, that is, this oxygen inhalation time; and a user type, and the user type includes office workers, students, or users with respiratory disorders, etc.; it can be understood that the method in this embodiment is aimed at different types of users.

[0025] Further, 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 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.

[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 exhaustively listed; 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 working parameter groups can be preliminarily determined according to the preset working time TA of the oxygen output device input by the target user and the user type QE of the target user, and then the final working parameter group can be determined from the several candidate working 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 k-means clustering algorithm can be used to cluster the standard user feature vectors 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, so as 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 the existing vector similarity determination method 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 vital sign parameters 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 e-th designated working parameter group determined, h is the number of designated working parameter groups determined; ε'=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 working 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 candidate working parameter group in F.

[0041] In this embodiment, after determining several designated working parameter groups, it is not possible to directly determine which designated working parameter group is the best at this time, and a final confirmation needs to be made in combination with the change in the blood oxygen saturation of the target user; at this time, it is necessary to control the operation of the oxygen output device, that is, it is necessary to determine the basic working parameter group of the oxygen output device.

[0042] Further, 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 ), where 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 in 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 part of the concentration-time curve and a part of the speed-time curve corresponding to the previous 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 according to 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 runs for a preset time with the basic working parameter group, a blood oxygen saturation time curve GH of the target user within the preset time is obtained.

[0050] In this embodiment, after the oxygen output device operates for a preset time with the basic working parameter group, the blood oxygen saturation of the target user will change during the oxygen inhalation process within the preset time, so 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] Further, 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 list set of standard blood oxygen saturation time curves RA = (RA1, RA2, ..., RA e , …, RA h ), where RA e F e Corresponding standard blood oxygen saturation time curve list; RA e =(RA e,1 , R.A. 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 starting blood oxygen saturation, 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, then RA e,x Determine as a candidate standard blood oxygen saturation time curve to obtain a 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 a 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, obtaining 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, so as to obtain a second similarity list δ=(δ1, δ2, ..., δ y , …, δ w ), where δ y For GH and RB y The 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 the previous preset time length of 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 partial blood oxygen saturation time curve corresponding to the second target similarity has the highest similarity to GH. Therefore, the specified working parameter group corresponding to the second target similarity δ' is determined as the working parameter group of the oxygen output device, so that the target user can achieve a better oxygen inhalation effect.

[0061] In this embodiment, according to the preset working time TA of the oxygen output device input by the target user and the user type QE of the target user, several candidate working parameter groups corresponding to the oxygen output device are determined to obtain a candidate working parameter group list E; according to the standard user feature vector corresponding to each candidate working parameter group in E, the candidate working parameter groups in E are clustered to obtain a cluster list EA; according to the similarity between the target user feature vector XM and the central vector of each cluster in EA, the designated working parameter group is determined; according to the sub-concentration time curve and the sub-speed time curve corresponding to the previous preset time of each designated working parameter group, the basic working parameter group of the oxygen output device is determined, and the oxygen output device is controlled to operate for the preset time with the basic working parameter group, so as to obtain the blood oxygen saturation time curve GH of the target user within the preset time, and the working parameter group of the oxygen output device is determined according to GH and each standard blood oxygen saturation time curve corresponding to each designated working parameter group, so as to determine a relatively suitable working parameter group according to the physical signs of the target user, so that the oxygen output device operates under this working parameter group, so as to avoid the user's 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, and ensuring life safety.

[0062] In some embodiments, the method in steps Q100 to Q700 above may 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] Embodiment 2:

[0076] In the above embodiment 1, although the working parameter group of the oxygen output device is determined according to the preset duration and physical sign parameters of the target user, the physical sign parameters of the target user may change. If only the determined working parameter group of the oxygen output device is fixedly used, when the physical sign parameters of the target user change, the oxygen inhalation effect may be poor. Based on the above technical problem, the following method is provided to solve it:

[0077] S100, obtaining the blood oxygen saturation group of the target user in 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 is 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 time 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 jth preset moment within 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 fingertip blood oxygen saturation on the left and right sides, that is, the first side and the second side can be monitored and recorded by a fingertip blood 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, obtaining the target user's T i The blood oxygen saturation group QA at each preset time within a period of time after the start of oxygen inhalation and the target user at T i The blood oxygen saturation group QB is the blood oxygen saturation group 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. In order 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 jth 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, and the blood oxygen saturation changes on both sides of the first type user are different during oxygen inhalation; since 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 ), where 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 of the second type of user, the changes in blood oxygen saturation on the first side and the second side 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, according to A and B, determine the blood oxygen saturation deviation of the target user at the first side and the second side at each preset time, 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 jth 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 in line with the physical signs of the second type of user.

[0091] S300, according to λ, determine the oxygen absorption degree corresponding to each day of the target user in the historical time period to obtain the oxygen absorption degree feature 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 absorption degree corresponding to each day of the target user in the historical time period can be understood as the oxygen absorption effect of the target user in each day of the historical time period.

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

[0094] S310, input λ 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 then obtain 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 absorption degree, and then obtain the oxygen absorption 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, obtaining λ 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 to obtain C and D.

[0100] S340, according to C and D, determine θ 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 to inhale oxygen and the second blood oxygen saturation deviation corresponding to a period of time after the target user ends to comprehensively determine θ i , so that the determined θ i More precisely; 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 result according to θ; the classification result may include several types, each corresponding to an oxygen inhalation result.

[0104] S500, determining whether to issue a prompt message according to 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 working parameters of the oxygen output device are increased, and the third result indicates that the working 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 deviation of the target user on the first side and the second side at each preset moment is determined according to the blood oxygen saturation group of the target user in the preset time period of each day in the historical time period, so as to obtain a blood oxygen saturation deviation list set λ corresponding to the target user, and according to λ, the oxygen absorption degree corresponding to each day of the target user in the historical time period is determined to obtain an oxygen absorption degree feature vector θ corresponding to the target user, and θ is input into a preset classification model to obtain a classification result corresponding to θ, and it is determined whether to issue a prompt message according to the classification result to prompt the target user whether to adjust the working parameters of the oxygen output device; thereby, 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 in line with the physical signs of the target user, so that the oxygen absorption 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] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the 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, etc.

[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 use 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 device, or any combination of the above. More specific examples (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 of the above.

[0114] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit 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, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0116] Program code for performing the operations of the present application may 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 may 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 may 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 may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

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

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

[0119] The electronic device is presented in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: the at least one processor mentioned above, the at least one memory mentioned above, 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 executes the steps in 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.), may communicate with one or more devices that enable a user to interact with the electronic device, and / or may communicate with any device (e.g., routers, modems, etc.) that enables the electronic device to communicate with one or more other computing devices. Such communication may be performed through 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) through a network adapter. The network adapter communicates with other modules of the electronic device through a bus. It should be understood that, although not shown in the figure, 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, etc.

[0125] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation 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, including 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 implementation of the present disclosure.

[0126] An embodiment of the present invention further provides a computer program product, which includes 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 example, it should be understood by those skilled in the art that the above examples are only for illustration, not for limiting 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 a working parameter group of an oxygen output device, characterized in that: The method comprises the following steps: Q100, according to 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, so as 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 e-th designated working parameter group determined, h is the number of designated working parameter groups determined; ε'=MAX(ε); MAX() is a preset maximum value function; Q500, determining a basic working parameter group of the oxygen output device according to a sub-concentration time curve and a sub-speed time curve corresponding to a pre-set duration of each specified working parameter group in F; Q600, after the oxygen output device runs for a preset time with the basic working parameter group, obtain the blood oxygen saturation time curve GH of the target user within the preset 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 ), where 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 in ZE a,2 For E a A 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-speed time curve corresponding to all sub-speed time curves in ZE as the basic speed 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 list set of standard blood oxygen saturation time curves RA = (RA1, RA2, ..., RA e , …, RA h ), where RA e F e Corresponding standard blood oxygen saturation time curve list; RA e =(RA e,1 , R.A. 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, then RA e,x Determine as a candidate standard blood oxygen saturation time curve to obtain a 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, obtaining 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, so as to obtain a second similarity list δ=(δ1, δ2, ..., δ y , …, δ w ), where δ y For GH and RB y a second similarity of a portion of a standard blood oxygen saturation time curve corresponding to a previously 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 each preset type of physical sign parameter 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 the dimension 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 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: Includes 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

  • Oxygen generator control method and device, terminal equipment and storage medium

    CN118416360A

Cited By

  • Control method of oxygen output equipment, electronic equipment and storage medium

    CN119596701A

  • A control method for oxygen output device, electronic device and storage medium

    CN119596701B