Control method, device, terminal equipment and storage medium of oxygen concentrator
By obtaining the user's blood oxygen saturation and heart rate in real time, and dynamically adjusting the compressor rotation of the oxygen generator, the problem of fixed oxygen concentration in the existing technology is solved, and flexible oxygen supply of the oxygen generator in different scenarios is realized.
Patent Information
- Application Number
- CN202410890883.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-07-04
AI Technical Summary
Existing oxygen generators cannot dynamically adjust the oxygen concentration to adapt to different usage scenarios, resulting in the inability to meet users' oxygen needs in different scenarios.
By obtaining the user's real-time blood oxygen saturation and heart rate, calculate the corresponding control parameters, and dynamically adjust the compressor revolution of the oxygen generator based on these parameters to achieve dynamic adjustment of oxygen concentration.
The oxygen generator dynamically adjusts the compressor rotation number according to blood oxygen saturation and heart rate, meets the oxygen demand in different usage scenarios, and improves the flexibility and adaptability of oxygen supply.
Smart Images

Figure CN118416360B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of oxygen concentrators, and in particular, relates to a control method, device, terminal equipment and storage medium for an oxygen concentrator. Background Art
[0002] An oxygen concentrator is a device that uses physical and chemical methods to separate nitrogen and other impurities from the air to provide high-concentration pure oxygen. Oxygen concentrators are widely used in many fields, such as medical, metallurgical, chemical, petroleum, and national defense industries. In the medical field, oxygen concentrators can be used to treat hypoxia and assist breathing, help improve symptoms such as dyspnea and shortness of breath, and are beneficial to physical health. In different scenarios, users may need oxygen concentrators to provide different concentrations of oxygen, but in related technologies, the compressor in the oxygen concentrator is usually open-loop controlled using a fixed duty cycle drive, that is, the number of revolutions of the compressor is usually fixed, resulting in the oxygen concentration provided by the oxygen concentrator being fixed and unable to be dynamically adjusted to adapt to different usage scenarios. Summary of the invention
[0003] The embodiments of the present application provide a control method, device, terminal device and storage medium for an oxygen concentrator, which can solve the problem in the related art that the oxygen concentration provided by the oxygen concentrator is fixed and cannot be dynamically adjusted to adapt to different usage scenarios.
[0004] In a first aspect, an embodiment of the present application provides a control method for an oxygen concentrator, comprising:
[0005] Obtain the user's real-time blood oxygen saturation and real-time heart rate;
[0006] Calculating a first control parameter according to the real-time blood oxygen saturation;
[0007] Calculating a second control parameter according to the real-time heart rate;
[0008] According to the first control parameter and the second control parameter, the oxygen concentrator is controlled to operate at a corresponding compressor speed.
[0009] In a second aspect, an embodiment of the present application provides a control device for an oxygen concentrator, comprising:
[0010] The acquisition module is used to obtain the user's real-time blood oxygen saturation and real-time heart rate;
[0011] A first calculation module, used for calculating a first control parameter according to the real-time blood oxygen saturation;
[0012] A second calculation module, used for calculating a second control parameter according to the real-time heart rate;
[0013] The control module is used to control the oxygen concentrator to operate at a corresponding compressor speed according to the first control parameter and the second control parameter.
[0014] In a third aspect, an embodiment of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned oxygen generator control method when executing the computer program.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned oxygen generator control method are implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the above-mentioned control method for the oxygen generator.
[0017] The beneficial effect of the embodiment of the present application compared with the prior art is that the embodiment of the present application obtains the user's real-time blood oxygen saturation and real-time heart rate, calculates the first control parameter according to the real-time blood oxygen saturation, and calculates the second control parameter according to the real-time heart rate, and then controls the oxygen concentrator according to the first control parameter and the second control parameter. The embodiment of the present application can obtain the user's blood oxygen saturation and heart rate in real time, and control the oxygen concentrator to work at the corresponding compressor speed according to the real-time blood oxygen saturation and real-time heart rate, so that the oxygen concentrator can dynamically adjust the compressor speed according to the blood oxygen saturation and heart rate to meet different usage scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0019] Figure 1 It is a schematic diagram of the implementation flow of a control method for an oxygen concentrator provided in an embodiment of the present application;
[0020] Figure 2 It is a structural schematic diagram of a control device for an oxygen concentrator provided in an embodiment of the present application;
[0021] Figure 3 It is a schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are protected by the present application.
[0023] It should be noted that the terms "include", "comprises" and "have" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, terminal, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices. In the claims, specification and drawings of the present application, relational terms such as "first" and "second" are merely used to distinguish one entity / operation / object from another entity / operation / object, and do not necessarily require or imply any such real-time relationship or order between these entities / operations / objects.
[0024] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0025] An oxygen concentrator is a device that uses physical and chemical methods to separate nitrogen and other impurities from the air to provide high-concentration pure oxygen. Oxygen concentrators are widely used in many fields, such as medical, metallurgical, chemical, petroleum, and national defense industries. In the medical field, oxygen concentrators can be used to treat hypoxia and assist breathing, help improve symptoms such as dyspnea and shortness of breath, and are beneficial to physical health. In different scenarios, users may need oxygen concentrators to provide different concentrations of oxygen, but in related technologies, the compressor in the oxygen concentrator is usually open-loop controlled using a fixed duty cycle drive, that is, the number of revolutions of the compressor is usually fixed, resulting in the oxygen concentration provided by the oxygen concentrator being fixed and unable to be dynamically adjusted to adapt to different usage scenarios.
[0026] In view of this, the embodiments of the present application can obtain the user's blood oxygen saturation and heart rate in real time, and control the oxygen concentrator to operate at a corresponding compressor speed based on the real-time blood oxygen saturation and real-time heart rate, thereby enabling the oxygen concentrator to dynamically adjust the compressor speed based on the blood oxygen saturation and heart rate to meet different usage scenarios.
[0027] In order to illustrate the technical solution of the present application, a specific embodiment is provided below for illustration.
[0028] Figure 1 The following is a schematic diagram of the implementation process of a control method for an oxygen concentrator provided in an embodiment of the present application, which can be applied to a terminal device. The terminal device can be a mobile phone, a tablet computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, etc. It can be understood that in the implementation of the present application, the terminal device can be an oxygen concentrator or a control device on the oxygen concentrator.
[0029] Specifically, the control method of the oxygen generator may include the following steps S101 to S104.
[0030] Step S101, obtaining the user's real-time blood oxygen saturation and real-time heart rate.
[0031] Among them, real-time blood oxygen saturation refers to the oxygen saturation level in the user's blood at a specific moment, which is usually expressed as a percentage and is one of the important indicators for evaluating human respiratory function. Real-time heart rate refers to the frequency of the user's heart beats at a specific moment, which is usually expressed in heartbeats per minute (beats / minute) and can reflect the body's metabolic level and health status.
[0032] In the implementation of the present application, the terminal device can collect the user's blood oxygen saturation and heart rate data in real time through a blood oxygen saturation monitor and a heart rate monitoring device. The data collection can be continuous or periodic, and the specific frequency depends on the performance of the device and the user's needs. The collected data can be transmitted to the terminal device via wired or wireless means.
[0033] Step S102, calculating a first control parameter according to the real-time blood oxygen saturation.
[0034] The first control parameter may be used to guide the adjustment of the speed of the oxygen generator compressor.
[0035] In an embodiment of the present application, after obtaining the user's real-time blood oxygen saturation, the terminal device can convert the blood oxygen saturation into a first control parameter according to a preset algorithm or mapping relationship. It should be understood that the algorithm or mapping relationship can be linear or nonlinear. The first control parameter can be a direct speed setting value or an increment or decrement value for adjusting the speed.
[0036] Step S103, calculating a second control parameter according to the real-time heart rate.
[0037] The second control parameter may be used to guide the adjustment of the speed of the oxygen generator compressor.
[0038] In an embodiment of the present application, after obtaining the user's real-time heart rate, the terminal device can convert the heart rate into a first control parameter according to a preset algorithm or mapping relationship. Similarly, the algorithm or mapping relationship can be linear or nonlinear. The second control parameter can be a direct rotation speed setting value or an increment or decrement value for adjusting the rotation speed.
[0039] Step S104, controlling the oxygen concentrator to operate at a corresponding compressor speed according to the first control parameter and the second control parameter.
[0040] In an implementation manner of the present application, after obtaining the first control parameter and the second control parameter, the terminal device may determine the final compressor speed according to the first control parameter and the second control parameter.
[0041] The beneficial effect of the embodiment of the present application compared with the prior art is that the embodiment of the present application obtains the user's real-time blood oxygen saturation and real-time heart rate, calculates the first control parameter according to the real-time blood oxygen saturation, and calculates the second control parameter according to the real-time heart rate, and then controls the oxygen concentrator according to the first control parameter and the second control parameter. The embodiment of the present application can obtain the user's blood oxygen saturation and heart rate in real time, and control the oxygen concentrator to work at the corresponding compressor speed according to the real-time blood oxygen saturation and real-time heart rate, so that the oxygen concentrator can dynamically adjust the compressor speed according to the blood oxygen saturation and heart rate to meet different usage scenarios.
[0042] In some embodiments of the present application, the first control parameter includes: a first compressor speed and a first response time. The first control parameter is calculated based on the real-time blood oxygen saturation, which may specifically include step S401 and step S402.
[0043] Step S401, obtaining a first comparison table.
[0044] The first comparison table records the corresponding relationship between blood oxygen saturation and compressor speed and response time. Specifically, the first comparison table is a data table that records the mapping relationship between specific inputs (such as blood oxygen saturation or heart rate) and corresponding outputs (such as compressor speed and response time).
[0045] In the implementation of the present application, the comparison table can be stored in the control system of the oxygen concentrator or in a database accessible through the control system. The comparison table is developed based on a large amount of experimental data and medical research results, and reflects the best correspondence between blood oxygen saturation and compressor speed and response time. When the terminal device needs to calculate the first control parameter, it can access and load the first comparison table.
[0046] Step S402, determining a first compressor speed and a first response time according to the real-time blood oxygen saturation and a first comparison table.
[0047] In an implementation manner of the present application, the terminal device can read the real-time blood oxygen saturation data and, based on the mapping relationship in the comparison table, find the first compressor speed and the first response time corresponding to the real-time blood oxygen saturation.
[0048] In some specific implementations of the present application, determining the first compressor speed and the first response time according to the real-time blood oxygen saturation and the first comparison table may specifically include the following steps:
[0049] Determine whether there is a matching value between the real-time blood oxygen saturation and the comparison table;
[0050] If not present, the first compressor speed and the first response time are determined by linear interpolation or nonlinear interpolation.
[0051] In an embodiment of the present application, when there is no data point in the comparison table that completely matches the real-time blood oxygen saturation, the terminal device can estimate the corresponding compressor speed and response time based on the adjacent data points. Specifically, the terminal device can calculate the compressor speed and response time by linear interpolation based on the comparison table. Exemplarily, assume that there are two data points in the comparison table: when the blood oxygen saturation is 90%, the compressor speed is A1 and the response time is B1; when the blood oxygen saturation is 92%, the compressor speed is A2 and the response time is B2. If the real-time blood oxygen saturation is 91%, the compressor speed and response time can be calculated by linear interpolation: compressor speed = A1 + ((A2 - A1) / (92 - 90)) * (91- 90); response time = B1 + ((B2 - B1) / (92 - 90)) * (91 - 90). In addition, the terminal device can also calculate the compressor speed and response time through nonlinear interpolation (such as polynomial interpolation, spline interpolation) according to the comparison table.
[0052] The implementation manner of the present application introduces the concepts of a comparison table and a response time, thereby making the control of the oxygen generator more precise and flexible.
[0053] In some specific embodiments of the present application, the second control parameter includes a second compressor speed and a second response time, and the second control parameter is calculated based on the real-time heart rate, which may specifically include step S501 and step S502.
[0054] Step S501, obtaining a second comparison table, which records the corresponding relationship between the heart rate and the compressor speed and response time.
[0055] In the implementation of the present application, the second comparison table is also stored in a location accessible to the control system, which reflects the best correspondence between the heart rate and the compressor speed and response time. The terminal device can load the second comparison table when it needs to calculate the second control parameter.
[0056] Step S502, determining a second compressor speed and a second response time according to the real-time heart rate and a second comparison table.
[0057] In an implementation manner of the present application, the terminal device can read the real-time heart rate data and search for the second compressor speed and the second response time corresponding to the real-time heart rate through a mapping relationship in a reference table.
[0058] It is understandable that if the real-time heart rate does not completely match the specific values in the comparison table, the terminal device can also determine the second compressor speed and the second response time by linear interpolation or nonlinear interpolation.
[0059] The implementation manner of the present application introduces the concepts of a comparison table and a response time, thereby making the control of the oxygen generator more precise and flexible.
[0060] In some specific embodiments of the present application, the first control parameter includes the first compressor speed, the second control parameter includes the second compressor speed, and the oxygen concentrator is controlled to operate at the corresponding compressor speed according to the first control parameter and the second control parameter, which may specifically include step S601 and step S602.
[0061] Step S601: Decompose the first compressor speed and the second compressor speed into a plurality of sub-compressor speed sequences.
[0062] In an embodiment of the present application, the terminal device can decompose the first compressor speed and the second compressor speed into a series of sub-compressor speeds according to a preset rule or algorithm to achieve smooth transition and gradually adjust the compressor speed of the oxygen concentrator. The sub-compressor speed can be an intermediate value between the current compressor speed and the target compressor speed, forming a sequence that gradually approaches the target value.
[0063] Step S602: During each adjustment, the oxygen concentrator is controlled to operate at the corresponding compressor speed according to the sub-compressor speed sequence.
[0064] In the implementation of the present application, the terminal device can control the compressor speed of the oxygen concentrator in sequence according to the sub-compressor speed sequence obtained by decomposition. Specifically, at each adjustment, the terminal device can send a control signal to the compressor of the oxygen concentrator to make it work according to the current sub-compressor speed. Through successive adjustments, the compressor speed of the oxygen concentrator will gradually approach and eventually reach the target value (i.e., the first compressor speed or the second compressor speed), thereby achieving a smooth transition and stable oxygen output.
[0065] In some specific implementations of the present application, the above method may further include steps S701 to S705.
[0066] Step S701, obtaining the user's historical blood oxygen saturation and historical heart rate.
[0067] Among them, historical blood oxygen saturation is the record of the user's blood oxygen saturation over the past period of time. These records can reflect the user's health status and historical trends in oxygen demand. Historical heart rate is the record of the user's heart rate over the past period of time. Historical heart rate data helps to understand the user's physiological state and potential health problems.
[0068] In an embodiment of the present application, historical blood oxygen saturation and historical heart rate may be stored in a database or cloud storage, and the terminal device may access it through an appropriate interface or API. The terminal device may collect the user's historical blood oxygen saturation and heart rate data through the user's health monitoring device or medical records.
[0069] Step S702, inputting the historical blood oxygen saturation and the historical heart rate into the prediction model to obtain the predicted blood oxygen saturation and the predicted heart rate.
[0070] In the implementation of the present application, the terminal device can input the collected historical data into a pre-trained prediction model. The prediction model can analyze and predict the user's future blood oxygen saturation and heart rate based on the trend and pattern of the historical data, and output the prediction results, that is, the user's possible future blood oxygen saturation and heart rate values. It can be understood that these prediction values are based on the historical data and the learning results of the model, and can reflect the user's physiological state in the future.
[0071] Step S703, calculating a third control parameter according to the predicted blood oxygen saturation.
[0072] In the implementation of the present application, after obtaining the predicted blood oxygen saturation, the terminal device can calculate the third control parameter according to the predicted blood oxygen saturation value through a corresponding algorithm or mapping relationship. The third control parameter can be used to guide the adjustment of the compressor speed of the oxygen concentrator to adapt to the possible future changes in the user's blood oxygen saturation.
[0073] Step S704: Calculate a fourth control parameter according to the predicted heart rate.
[0074] In the implementation of the present application, similarly, the terminal device can calculate the fourth control parameter according to the predicted heart rate value, wherein the fourth control parameter reflects the possible heart rate state of the user in the future and is used to further adjust the compressor speed of the oxygen concentrator.
[0075] Step S705: Control the oxygen concentrator to operate at a corresponding compressor speed according to the third control parameter and the fourth control parameter.
[0076] In the implementation of the present application, the terminal device can comprehensively consider the third control parameter and the fourth control parameter to determine the compressor speed or other related parameters of the oxygen concentrator. By adjusting the compressor speed of the oxygen concentrator, it is ensured that the user can obtain sufficient oxygen supply in the future to maintain or improve his physiological state.
[0077] The implementation method of the present application can use a prediction algorithm to predict the future trend of changes in blood oxygen saturation and heart rate, so as to adjust the number of revolutions in advance, achieve a smoother transition, and avoid discomfort to the user caused by sudden changes in the working state of the oxygen concentrator.
[0078] In some specific implementations of the present application, after obtaining the user's real-time blood oxygen saturation and real-time heart rate, the method may further include step S801 and step S802.
[0079] Step S801, determining whether the real-time blood oxygen saturation and real-time heart rate are abnormal.
[0080] In an embodiment of the present application, after receiving the real-time blood oxygen saturation and real-time heart rate, the terminal device can compare the real-time blood oxygen saturation and real-time heart rate with the safety threshold. For example, the safety threshold of blood oxygen saturation can be set to not less than 90, and the safety threshold of heart rate can be set to not more than 150 times per minute and not less than 45 times per minute. If the real-time blood oxygen saturation or real-time heart rate is not within the safety threshold range, it can be considered that the corresponding real-time blood oxygen saturation or real-time heart rate is abnormal.
[0081] Step S802: If the real-time blood oxygen saturation and / or real-time heart rate is determined to be abnormal, an alarm signal is generated, and the alarm indicator light is controlled to flash and the speaker is controlled to emit an alarm sound according to the alarm signal.
[0082] In an embodiment of the present application, if the real-time blood oxygen saturation and / or real-time heart rate is judged to be abnormal, the terminal device can immediately generate an alarm signal to trigger the subsequent alarm mechanism, control the alarm indicator light to flash according to the alarm signal, and control the speaker to emit an alarm sound. Specifically, after the terminal device receives the alarm signal, it sends a control instruction to the alarm indicator light to make it start flashing. The flashing frequency, color and mode can be set as needed to attract the user's attention. At the same time, the terminal device can also send a control instruction to the speaker to make it emit an alarm sound. The alarm sound can be a continuous beep, alarm or other sound that is easy to attract attention. The volume also needs to be adjusted appropriately to ensure that it can be heard clearly in a suitable environment.
[0083] In some specific implementations of the present application, after obtaining the user's real-time blood oxygen saturation and real-time heart rate, the method may further include steps S901 to S903.
[0084] Step S901, obtaining device information.
[0085] Among them, the equipment information is the relevant information of the oxygen concentrator itself, which may include the equipment model, serial number, current working status, remaining power, etc.
[0086] Step S902, organize the device information, real-time blood oxygen saturation and real-time heart rate into a data packet.
[0087] Step S903, according to the preset communication protocol, the data packet is sent to the user terminal, so that the user terminal displays the device information, the real-time blood oxygen saturation and the real-time heart rate.
[0088] The user terminal may be a user's mobile phone, tablet computer or other device capable of displaying data, and is used to receive and display data from the oxygen concentrator.
[0089] In the implementation of the present application, the terminal device can obtain device information related to the device. The device information can be stored in the internal memory of the device, or obtained through a specific sensor or interface. After obtaining the device information, real-time blood oxygen saturation and real-time heart rate, the terminal device can organize these data into a data packet in a certain format. Specifically, the structure of the data packet usually includes a data header, a data body and a data tail, wherein the data header contains information such as the data packet type and length, the data body contains specific device information, blood oxygen saturation and heart rate data, and the data tail is used to verify the integrity and correctness of the data. The terminal device can send the data packet to the user terminal by wireless or wired means according to a preset communication protocol. Among them, the preset communication protocol may include the encoding method, transmission frequency, verification mechanism, etc. of the data to ensure that the data can be accurately and reliably transmitted to the user terminal. After the user terminal receives the data packet, it can decode and process it according to the communication protocol, and then display the device information, real-time blood oxygen saturation and real-time heart rate. The user can view these data in real time through the terminal interface to understand his health status and the working status of the oxygen concentrator.
[0090] Figure 2 The schematic diagram of the structure of a control device of an oxygen concentrator provided in an embodiment of the present application is shown. The control device 2 of the oxygen concentrator can be configured on a terminal device. Specifically, the control device 2 of the oxygen concentrator can include:
[0091] An acquisition module 201 is used to acquire the user's real-time blood oxygen saturation and real-time heart rate;
[0092] A first calculation module 202, configured to calculate a first control parameter according to the real-time blood oxygen saturation;
[0093] A second calculation module 203, used for calculating a second control parameter according to the real-time heart rate;
[0094] The control module 204 is used to control the oxygen concentrator to operate at a corresponding compressor speed according to the first control parameter and the second control parameter.
[0095] The beneficial effect of the embodiment of the present application compared with the prior art is that the embodiment of the present application obtains the user's real-time blood oxygen saturation and real-time heart rate, calculates the first control parameter according to the real-time blood oxygen saturation, and calculates the second control parameter according to the real-time heart rate, and then controls the oxygen concentrator according to the first control parameter and the second control parameter. The embodiment of the present application can obtain the user's blood oxygen saturation and heart rate in real time, and control the oxygen concentrator to work at the corresponding compressor speed according to the real-time blood oxygen saturation and real-time heart rate, so that the oxygen concentrator can dynamically adjust the compressor speed according to the blood oxygen saturation and heart rate to meet different usage scenarios.
[0096] In some embodiments of the present application, the first control parameter includes: a first compressor speed and a first response time, and the first calculation module is used to: obtain a first comparison table, the first comparison table records the correspondence between blood oxygen saturation and the compressor speed and response time; determine the first compressor speed and the first response time according to the real-time blood oxygen saturation and the first comparison table.
[0097] In some embodiments of the present application, the second control parameter includes: a second compressor speed and a second response time, and the above-mentioned second calculation module 203 can also be used to: obtain a second comparison table, the second comparison table records the correspondence between the heart rate and the compressor speed and the response time; determine the second compressor speed and the second response time according to the real-time heart rate and the second comparison table.
[0098] In some embodiments of the present application, the first control parameter includes a first compressor speed, the second control parameter includes a second compressor speed, and the control module 204 can also be used to: decompose the first compressor speed and the second compressor speed into a plurality of sub-compressor speed sequences; during each adjustment, control the oxygen concentrator to operate at the corresponding compressor speed in sequence according to the sub-compressor speed sequence.
[0099] In some embodiments of the present application, the control device 2 of the above-mentioned oxygen concentrator may further include a second control module, which is used to: obtain the user's historical blood oxygen saturation and historical heart rate; input the historical blood oxygen saturation and the historical heart rate into a prediction model to obtain predicted blood oxygen saturation and predicted heart rate; calculate a third control parameter based on the predicted blood oxygen saturation; calculate a fourth control parameter based on the predicted heart rate; and control the oxygen concentrator to operate at a corresponding compressor speed based on the third control parameter and the fourth control parameter.
[0100] In some embodiments of the present application, the control device 2 of the above-mentioned oxygen concentrator may further include a judgment module, which is used to: judge whether the real-time blood oxygen saturation and the real-time heart rate are abnormal; if the real-time blood oxygen saturation and / or the real-time heart rate are judged to be abnormal, an alarm signal is generated, and according to the alarm signal, the alarm indicator light is controlled to flash and the speaker is controlled to emit an alarm sound.
[0101] In some embodiments of the present application, the control device 2 of the above-mentioned oxygen concentrator may further include a sending module, which is used to: obtain device information; organize the device information, the real-time blood oxygen saturation and the real-time heart rate into a data packet; and send the data packet to the user terminal according to a preset communication protocol, so that the user terminal displays the device information, the real-time blood oxygen saturation and the real-time heart rate.
[0102] like Figure 3 , which is a schematic diagram of a terminal device provided in an embodiment of the present application. The terminal device 3 may include: a processor 301, a memory 302, and a computer program 303 stored in the memory 302 and executable on the processor 301, such as a control program for an oxygen concentrator. When the processor 301 executes the computer program 303, the steps in the above-mentioned control method embodiments of the oxygen concentrator are implemented, such as Figure 1 Alternatively, when the processor 301 executes the computer program 303, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 2 The obtained module 201, the first calculation module 202, the second calculation module 203, and the control module 204 are shown.
[0103] The computer program may be divided into one or more modules / units, which are stored in the memory 302 and executed by the processor 301 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the terminal device.
[0104] The terminal device may include, but is not limited to, a processor 301 and a memory 302. Those skilled in the art will appreciate that Figure 3 It is only an example of a terminal device and does not constitute a limitation of the terminal device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access equipment, buses, etc.
[0105] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0106] The memory 302 may be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. The memory 302 may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device. Further, the memory 302 may also include both an internal storage unit of the terminal device and an external storage device. The memory 302 is used to store the computer program and other programs and data required by the terminal device. The memory 302 may also be used to temporarily store data that has been output or is to be output.
[0107] It should be noted that, for the convenience and brevity of description, the structure of the above-mentioned terminal device can also refer to the specific description of the structure in the method embodiment, which will not be repeated here.
[0108] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0109] The embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned oxygen generator control method can be implemented.
[0110] The embodiment of the present application provides a computer program product. When the computer program product is run on a mobile terminal, the steps in the above-mentioned control method of the oxygen generator can be implemented when the mobile terminal executes the computer program product.
[0111] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0112] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0113] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0114] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0115] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0116] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0117] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A control device for an oxygen concentrator, characterized in that: include: The acquisition module is used to obtain the user's real-time blood oxygen saturation and real-time heart rate; A first calculation module, used for calculating a first control parameter according to the real-time blood oxygen saturation; A second calculation module, used for calculating a second control parameter according to the real-time heart rate; A control module, configured to control the oxygen concentrator to operate at a corresponding compressor speed according to the first control parameter and the second control parameter; The first control parameter includes: a first compressor speed and a first response time, and the first calculation module is further used to: obtain a first comparison table, the first comparison table records the correspondence between blood oxygen saturation and the compressor speed and the response time; determine the first compressor speed and the first response time according to the real-time blood oxygen saturation and the first comparison table; The second control parameter includes: a second compressor speed and a second response time, and the second calculation module is further used to: obtain a second comparison table, the second comparison table records the correspondence between the heart rate and the compressor speed and the response time; determine the second compressor speed and the second response time according to the real-time heart rate and the second comparison table; Among them, the first control parameter includes the first compressor speed, the second control parameter includes the second compressor speed, and the control module is also used to: decompose the first compressor speed and the second compressor speed into a plurality of sub-compressor speed sequences; during each adjustment, control the oxygen concentrator to work at the corresponding compressor speed in sequence according to the sub-compressor speed sequence.
2. The control device for the oxygen concentrator according to claim 1, characterized in that: The control device of the oxygen concentrator further includes a second control module, which is used to: Obtain the user's historical blood oxygen saturation and historical heart rate; Inputting the historical blood oxygen saturation and the historical heart rate into a prediction model to obtain a predicted blood oxygen saturation and a predicted heart rate; Calculating a third control parameter according to the predicted blood oxygen saturation; Calculating a fourth control parameter according to the predicted heart rate; According to the third control parameter and the fourth control parameter, the oxygen concentrator is controlled to operate at a corresponding compressor speed.
3. The control device for the oxygen concentrator according to claim 1, characterized in that: The control device of the oxygen concentrator further includes a judgment module, which is used to: Determining whether the real-time blood oxygen saturation and the real-time heart rate are abnormal; If the real-time blood oxygen saturation and / or the real-time heart rate is judged to be abnormal, an alarm signal is generated, and the alarm indicator light is controlled to flash and the speaker is controlled to emit an alarm sound according to the alarm signal.
4. The control device for the oxygen concentrator according to claim 1, characterized in that: The control device of the oxygen concentrator further includes a sending module, which is used for: Get device information; Arrange the device information, the real-time blood oxygen saturation and the real-time heart rate into a data packet; According to a preset communication protocol, the data packet is sent to a user terminal so that the user terminal displays the device information, the real-time blood oxygen saturation and the real-time heart rate.
5. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: Obtain the user's real-time blood oxygen saturation and real-time heart rate; Calculating a first control parameter according to the real-time blood oxygen saturation; Calculating a second control parameter according to the real-time heart rate; According to the first control parameter and the second control parameter, controlling the oxygen concentrator to operate at a corresponding compressor speed; The first control parameter includes: a first compressor speed and a first response time, and the first control parameter is calculated according to the real-time blood oxygen saturation, including: Obtaining a first comparison table, wherein the first comparison table records the corresponding relationship between the blood oxygen saturation, the compressor speed, and the response time; Determining the first compressor speed and the first response time according to the real-time blood oxygen saturation and the first comparison table; The second control parameter includes: a second compressor speed and a second response time, and the second control parameter is calculated according to the real-time heart rate, including: Obtaining a second comparison table, wherein the second comparison table records the corresponding relationship between the heart rate and the compressor revolutions and response time; Determining the second compressor speed and the second response time according to the real-time heart rate and the second comparison table; The first control parameter includes a first compressor speed, the second control parameter includes a second compressor speed, and controlling the oxygen concentrator to operate at a corresponding compressor speed according to the first control parameter and the second control parameter includes: Decomposing the first compressor speed and the second compressor speed into a plurality of sub-compressor speed sequences; During each adjustment, the oxygen concentrator is controlled to operate at the corresponding compressor speed according to the sub-compressor speed sequence.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the following steps are implemented: Obtain the user's real-time blood oxygen saturation and real-time heart rate; Calculating a first control parameter according to the real-time blood oxygen saturation; Calculating a second control parameter according to the real-time heart rate; According to the first control parameter and the second control parameter, controlling the oxygen concentrator to operate at a corresponding compressor speed; The first control parameter includes: a first compressor speed and a first response time, and the first control parameter is calculated according to the real-time blood oxygen saturation, including: Obtaining a first comparison table, wherein the first comparison table records the corresponding relationship between the blood oxygen saturation, the compressor speed, and the response time; Determining the first compressor speed and the first response time according to the real-time blood oxygen saturation and the first comparison table; The second control parameter includes: a second compressor speed and a second response time, and the second control parameter is calculated according to the real-time heart rate, including: Obtaining a second comparison table, wherein the second comparison table records the corresponding relationship between the heart rate and the compressor revolutions and response time; Determining the second compressor speed and the second response time according to the real-time heart rate and the second comparison table; The first control parameter includes a first compressor speed, the second control parameter includes a second compressor speed, and controlling the oxygen concentrator to operate at a corresponding compressor speed according to the first control parameter and the second control parameter includes: Decomposing the first compressor speed and the second compressor speed into a plurality of sub-compressor speed sequences; During each adjustment, the oxygen concentrator is controlled to operate at the corresponding compressor speed according to the sub-compressor speed sequence.
