[go: up one dir, main page]

CN113018615B - Air pressure control method, device, equipment and medium of surrounding type breathing auxiliary equipment - Google Patents

Air pressure control method, device, equipment and medium of surrounding type breathing auxiliary equipment Download PDF

Info

Publication number
CN113018615B
CN113018615B CN202110182773.6A CN202110182773A CN113018615B CN 113018615 B CN113018615 B CN 113018615B CN 202110182773 A CN202110182773 A CN 202110182773A CN 113018615 B CN113018615 B CN 113018615B
Authority
CN
China
Prior art keywords
air pressure
breathing
target air
assistance
breathing assistance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN202110182773.6A
Other languages
Chinese (zh)
Other versions
CN113018615A (en
Inventor
何君品
杨铭轲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN202110182773.6A priority Critical patent/CN113018615B/en
Publication of CN113018615A publication Critical patent/CN113018615A/en
Application granted granted Critical
Publication of CN113018615B publication Critical patent/CN113018615B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M16/00Devices for influencing the respiratory system of patients by gas treatment, e.g. ventilators; Tracheal tubes
    • A61M16/0003Accessories therefor, e.g. sensors, vibrators, negative pressure
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/08Measuring devices for evaluating the respiratory organs
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M16/00Devices for influencing the respiratory system of patients by gas treatment, e.g. ventilators; Tracheal tubes
    • A61M16/021Devices for influencing the respiratory system of patients by gas treatment, e.g. ventilators; Tracheal tubes operated by electrical means
    • A61M16/022Control means therefor
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M16/00Devices for influencing the respiratory system of patients by gas treatment, e.g. ventilators; Tracheal tubes
    • A61M16/021Devices for influencing the respiratory system of patients by gas treatment, e.g. ventilators; Tracheal tubes operated by electrical means
    • A61M16/022Control means therefor
    • A61M16/024Control means therefor including calculation means, e.g. using a processor
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B23/00Exercising apparatus specially adapted for particular parts of the body
    • A63B23/18Exercising apparatus specially adapted for particular parts of the body for improving respiratory function
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M2230/00Measuring parameters of the user
    • A61M2230/40Respiratory characteristics
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2230/00Measuring physiological parameters of the user
    • A63B2230/40Measuring physiological parameters of the user respiratory characteristics
    • A63B2230/405Measuring physiological parameters of the user respiratory characteristics used as a control parameter for the apparatus

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Pulmonology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Engineering & Computer Science (AREA)
  • Animal Behavior & Ethology (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Anesthesiology (AREA)
  • Hematology (AREA)
  • Emergency Medicine (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Physiology (AREA)
  • Physics & Mathematics (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Percussion Or Vibration Massage (AREA)

Abstract

本申请涉及医用呼吸辅助设备技术领域,揭示了一种包围式呼吸辅助设备的气压控制方法、装置、设备及介质,其中方法包括:获取呼吸辅助启动信号;基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段;根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助;重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号。从而使呼吸辅助设备根据呼吸的动作调整气压,不用始终维持在最高的气压,在辅助吸氧模式下有利于二氧化碳的析出,在锻炼肺部模式下肺部的锻炼效果较好。

This application relates to the technical field of medical respiratory assistance equipment, and discloses an air pressure control method, device, equipment and medium for an enveloping respiratory assistance equipment. The method includes: obtaining a respiratory assistance start signal; based on the respiratory assistance start signal, obtaining a respiratory assistance Assistance type and breathing stage; controlling the breathing assistance equipment to adjust the air pressure according to the breathing assistance type and the breathing stage to implement breathing assistance using changing air pressure; repeating the steps of obtaining the breathing assistance type and breathing stage , until the respiratory assistance end signal is obtained. This allows the breathing assistance equipment to adjust the air pressure according to the breathing action, without always maintaining the highest air pressure. In the assisted oxygen inhalation mode, it is beneficial to the precipitation of carbon dioxide, and in the lung exercise mode, the lung exercise effect is better.

Description

包围式呼吸辅助设备的气压控制方法、装置、设备及介质Air pressure control methods, devices, equipment and media for enveloping breathing assistance equipment

技术领域Technical field

本申请涉及到医用呼吸辅助设备技术领域,特别是涉及到一种包围式呼吸辅助设备的气压控制方法、装置、设备及介质。The present application relates to the technical field of medical respiratory assistance equipment, and in particular to an air pressure control method, device, equipment and medium for an enveloping respiratory assistance equipment.

背景技术Background technique

呼吸辅助设备在临床和保健市场上都是常用设备,可以有效的提高使用者的呼吸能力,比如,高压氧舱、中压密闭舱等。现有技术的呼吸辅助设备的工作气压均设定为高于外部气压的恒定气压,在辅助吸氧模式下虽然高于外部气压的恒定气压可以让使用者呼吸到含氧量高且气压高的气体,让血液的溶氧量大幅度提升,但是持续的高压导致不利于二氧化碳的析出,影响了使用者的气体代谢效率;而且在锻炼肺部模式下,虽然高于外部气压的恒定气压可以让使用者在呼气时更好的锻炼到肺部,但是在吸气时对肺部的锻炼效果较差,从而降低了锻炼肺部的效果。Respiratory assistance equipment is commonly used in the clinical and health care markets, and can effectively improve the user's breathing ability, such as hyperbaric oxygen chambers, medium-pressure sealed chambers, etc. The working air pressure of existing breathing assistance equipment is set to a constant air pressure higher than the external air pressure. In the assisted oxygen inhalation mode, although the constant air pressure is higher than the external air pressure, the user can breathe air with high oxygen content and high air pressure. gas, which greatly increases the amount of dissolved oxygen in the blood, but the continuous high pressure is not conducive to the precipitation of carbon dioxide and affects the user's gas metabolism efficiency; and in the lung exercise mode, although the constant air pressure higher than the external air pressure can make The user can exercise the lungs better when exhaling, but the exercise effect on the lungs is less effective when inhaling, thus reducing the effect of exercising the lungs.

发明内容Contents of the invention

本申请的主要目的为提供一种包围式呼吸辅助设备的气压控制方法、装置、设备及介质,旨在解决现有技术的呼吸辅助设备的工作气压均设定为高于外部气压的恒定气压,在辅助吸氧模式下不利于二氧化碳的析出,在锻炼肺部模式下在吸气时对肺部的锻炼效果较差的技术问题。The main purpose of this application is to provide an air pressure control method, device, equipment and medium for an enveloping respiratory assisting equipment, aiming to solve the problem that the working air pressure of the existing breathing assisting equipment is set to a constant air pressure higher than the external air pressure. It is a technical problem that the assisted oxygen inhalation mode is not conducive to the precipitation of carbon dioxide, and the lung training mode has a poor training effect on the lungs when inhaling.

为了实现上述发明目的,本申请提出一种包围式呼吸辅助设备的气压控制方法,所述方法包括:In order to achieve the above-mentioned object of the invention, this application proposes an air pressure control method for an enveloping breathing assistance device, which method includes:

获取呼吸辅助启动信号;Obtain the breathing assistance start signal;

基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段;Based on the respiratory assistance start signal, obtain the respiratory assistance type and respiratory stage;

根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助;Control the breathing assistance equipment to adjust the air pressure according to the type of breathing assistance and the breathing stage, so as to implement breathing assistance using changing air pressure;

重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号。Repeat the steps of obtaining the respiratory assistance type and respiratory stage until the respiratory assistance end signal is obtained.

进一步的,所述根据所述呼吸辅助类型、所述呼吸阶段控制所述呼吸辅助设备进行呼吸辅助的步骤,包括:Further, the step of controlling the respiratory assistance device to perform respiratory assistance according to the respiratory assistance type and the respiratory stage includes:

当所述呼吸辅助类型是辅助吸氧时,获取第一加压目标气压和第一减压目标气压,当所述呼吸阶段是吸气阶段时,根据所述第一加压目标气压控制所述呼吸辅助设备进行加压,当所述呼吸阶段是呼气阶段时,根据所述第一减压目标气压控制所述呼吸辅助设备进行减压;When the respiratory assistance type is assisted oxygen inhalation, a first pressurization target air pressure and a first decompression target air pressure are obtained. When the breathing phase is an inhalation phase, the first pressurization target air pressure is controlled according to the first pressurization target air pressure. The breathing assistance device is pressurized, and when the breathing phase is the exhalation phase, the breathing assistance device is controlled to decompress according to the first decompression target air pressure;

当所述呼吸辅助类型是锻炼肺部时,获取第二加压目标气压和第二减压目标气压,当所述呼吸阶段是所述吸气阶段时,根据所述第二减压目标气压控制所述呼吸辅助设备进行减压,当所述呼吸阶段是所述呼气阶段时,根据所述第二加压目标气压控制所述呼吸辅助设备进行加压。When the breathing assistance type is lung exercise, a second pressurization target air pressure and a second decompression target air pressure are obtained, and when the breathing phase is the inhalation phase, control is performed according to the second decompression target air pressure. The breathing assistance device performs decompression, and when the breathing phase is the exhalation phase, the breathing assistance device is controlled to perform pressurization according to the second pressurization target air pressure.

进一步的,所述获取呼吸辅助启动信号的步骤,包括:Further, the step of obtaining the breathing assistance start signal includes:

获取呼吸辅助准备信号;Obtain respiratory assistance preparation signal;

基于所述呼吸辅助准备信号,获取所述呼吸辅助类型;Based on the respiratory assistance preparation signal, obtain the respiratory assistance type;

根据所述呼吸辅助类型获取预设目标平均气压;Obtain the preset target average air pressure according to the respiratory assistance type;

采用所述预设目标平均气压,控制所述呼吸辅助设备建立目标平均气压,得到目标平均气压建立结束信号;Using the preset target average air pressure, control the breathing assistance equipment to establish the target average air pressure, and obtain a target average air pressure establishment end signal;

基于所述目标平均气压建立结束信号,生成所述呼吸辅助启动信号。The respiratory assistance start signal is generated based on the target average air pressure establishment end signal.

进一步的,所述获取第一加压目标气压和第一减压目标气压的步骤,包括:Further, the step of obtaining the first pressurization target air pressure and the first decompression target air pressure includes:

根据所述呼吸辅助类型和所述预设目标平均气压,获取所述第一加压目标气压和所述第一减压目标气压,其中,所述第一加压目标气压和所述第一减压目标气压的平均值,与所述预设目标平均气压相等;The first pressurization target air pressure and the first decompression target air pressure are obtained according to the breathing assistance type and the preset target average air pressure, wherein the first pressurization target air pressure and the first decompression target air pressure are obtained. The average value of the target air pressure is equal to the preset target average air pressure;

所述获取第二加压目标气压和第二减压目标气压的步骤,包括:The step of obtaining the second pressurization target air pressure and the second decompression target air pressure includes:

根据所述呼吸辅助类型和所述预设目标平均气压,获取所述第二加压目标气压和所述第二减压目标气压,其中,所述第二加压目标气压和所述第二减压目标气压的平均值,与所述预设目标平均气压相等。The second pressurization target air pressure and the second decompression target air pressure are obtained according to the breathing assistance type and the preset target average air pressure, wherein the second pressurization target air pressure and the second decompression target air pressure are obtained. The average value of the target air pressure is equal to the preset target average air pressure.

进一步的,所述获取呼吸辅助类型、呼吸阶段的步骤,包括:Further, the steps of obtaining the respiratory assistance type and respiratory stage include:

获取所述呼吸辅助类型;Get the respiratory assistance type;

根据所述呼吸辅助类型,获取呼吸时长与阶段对应表;According to the breathing assistance type, obtain a breathing duration and stage correspondence table;

获取所述呼吸辅助启动信号的启动信号发送时间;Obtain the start signal sending time of the respiratory assistance start signal;

获取当前时间;Get the current time;

将所述当前时间减去所述启动信号发送时间,得到待分析的时长;Subtract the start signal sending time from the current time to obtain the duration to be analyzed;

将所述待分析的时长在所述呼吸时长与阶段对应表中进行匹配,得到所述呼吸阶段。The duration to be analyzed is matched in the respiratory duration and stage correspondence table to obtain the respiratory stage.

进一步的,所述获取呼吸辅助类型、呼吸阶段的步骤,还包括:Further, the step of obtaining the respiratory assistance type and respiratory stage also includes:

获取所述呼吸辅助类型;Get the respiratory assistance type;

获取呼吸追踪传感器按预设时间间隔发送的传感器测量信号;Obtain sensor measurement signals sent by the respiration tracking sensor at preset time intervals;

根据所述呼吸辅助类型和所述传感器测量信号进行判断,得到所述呼吸阶段。The respiratory stage is obtained by making a judgment based on the respiratory assistance type and the sensor measurement signal.

进一步的,所述当所述呼吸阶段是吸气阶段时,根据所述第一加压目标气压控制所述呼吸辅助设备进行加压的步骤,包括:Further, when the breathing phase is an inhalation phase, the step of controlling the breathing assistance device to pressurize according to the first pressurization target air pressure includes:

获取所述呼气阶段的呼气结束信号,基于所述呼气结束信号,获取并播放吸气开始提示语音信号,并且根据所述第一加压目标气压控制所述呼吸辅助设备进行加压;Obtain the expiration end signal of the expiration stage, obtain and play the inhalation start prompt voice signal based on the expiration end signal, and control the breathing assistance device to perform pressurization according to the first pressurization target air pressure;

所述当所述呼吸阶段是呼气阶段时,根据所述第一减压目标气压控制所述呼吸辅助设备进行减压的步骤,包括:The step of controlling the breathing assistance device to decompress according to the first decompression target air pressure when the breathing phase is the exhalation phase includes:

获取所述吸气阶段的吸气结束信号,基于所述吸气结束信号,获取并播放呼气开始提示语音信号,并且根据所述第一减压目标气压控制所述呼吸辅助设备进行减压。Obtain the inhalation end signal of the inhalation stage, obtain and play the exhalation start prompt voice signal based on the inhalation end signal, and control the breathing assistance device to decompress according to the first decompression target air pressure.

进一步的,所述当所述呼吸阶段是吸气阶段时,根据所述第一加压目标气压控制所述呼吸辅助设备进行加压,当所述呼吸阶段是呼气阶段时,根据所述第一减压目标气压控制所述呼吸辅助设备进行减压的步骤,包括:Further, when the breathing phase is an inhalation phase, the breathing assistance device is controlled to pressurize according to the first pressurization target air pressure, and when the breathing phase is an exhalation phase, the breathing assistance device is controlled according to the first pressurization target air pressure. A decompression target air pressure controls the steps of decompressing the respiratory assistance equipment, including:

当所述呼吸阶段是所述吸气阶段时,获取第一预设吸气时长、第一偏移量和第一辅助系数,根据所述第一加压目标气压、所述第一预设吸气时长、所述第一偏移量和所述第一辅助系数进行对数曲线计算,得到第一对数曲线,根据所述第一对数曲线控制所述呼吸辅助设备进行加压;When the breathing phase is the inhalation phase, the first preset inhalation duration, the first offset and the first assist coefficient are obtained. According to the first pressurization target air pressure, the first preset inhalation The breath duration, the first offset and the first assist coefficient are calculated using a logarithmic curve to obtain a first logarithmic curve, and the breathing assistance device is controlled to perform pressurization according to the first logarithmic curve;

当所述呼吸阶段是所述呼气阶段时,获取第一预设呼气时长、第二偏移量和第二辅助系数,根据所述第一减压目标气压、所述第一预设呼气时长、所述第二偏移量和所述第二辅助系数进行对数曲线计算,得到第二对数曲线,根据所述第二对数曲线控制所述呼吸辅助设备进行减压。When the breathing phase is the exhalation phase, the first preset exhalation duration, the second offset and the second assist coefficient are obtained. According to the first decompression target air pressure, the first preset exhalation The breath duration, the second offset and the second assist coefficient are calculated using a logarithmic curve to obtain a second logarithmic curve, and the breathing assistance device is controlled to decompress according to the second logarithmic curve.

进一步的,所述根据所述第一加压目标气压、所述第一预设吸气时长、所述第一偏移量和所述第一辅助系数进行对数曲线计算,得到第一对数曲线的步骤,所述第一对数曲线的计算公式L1为:Further, the logarithmic curve calculation is performed based on the first pressurization target air pressure, the first preset inhalation duration, the first offset and the first auxiliary coefficient to obtain a first logarithmic curve. Curve steps, the calculation formula L1 of the first logarithmic curve is:

L1=b1*(loga1(x+f1)-c1)L 1 =b 1 *(log a1 (x+f 1 )-c 1 )

T1=b1*(loga1(d1+f1)-c1)T 1 =b 1 *(log a1 (d 1 +f 1 )-c 1 )

0=b1*(loga1(f1)-c1)0=b 1 *(log a1 (f 1 )-c 1 )

其中,x是所述呼吸辅助类型是辅助吸氧时当前时间减去当前的所述吸气阶段的开始时间,x是个变量;b1是所述第一辅助系数,c1是所述第一偏移量,d1是所述第一预设吸气时长,f1是位移变量,T1是所述第一加压目标气压减去所述第一减压目标气压,a1大于1,所述第一偏移量是个常数,所述第一辅助系数是个大于0的常数,log()是对数函数;Wherein, x is the current time minus the current start time of the inhalation phase when the respiratory assistance type is assisted oxygen inhalation, x is a variable; b 1 is the first assistance coefficient, c 1 is the first Offset, d 1 is the first preset inhalation duration, f 1 is the displacement variable, T 1 is the first pressurization target air pressure minus the first decompression target air pressure, a1 is greater than 1, so The first offset is a constant, the first auxiliary coefficient is a constant greater than 0, and log() is a logarithmic function;

所述根据所述第一减压目标气压、所述第一预设呼气时长、所述第二偏移量和所述第二辅助系数进行对数曲线计算,得到第二对数曲线的步骤,所述第二对数曲线的的计算公式L2为:The step of calculating a logarithmic curve based on the first decompression target air pressure, the first preset exhalation duration, the second offset and the second auxiliary coefficient to obtain a second logarithmic curve , the calculation formula L 2 of the second logarithmic curve is:

L2=b2*(loga2(y+f2)-c2)L 2 =b 2 *(log a2 (y+f 2 )-c 2 )

0=b2*(loga2(d2+f2)-c2)0=b 2 *(log a2 (d 2 +f 2 )-c 2 )

T2=b2*(loga2(f2)-c2)T 2 =b 2 *(log a2 (f 2 )-c 2 )

其中,y是所述呼吸辅助类型是辅助吸氧时当前时间减去当前的所述呼气阶段的开始时间,y是个变量;b2是所述第二辅助系数,c2是所述第二偏移量,d2是所述第一预设呼气时长,f2是位移变量,T2是所述第一加压目标气压减去所述第一减压目标气压,a2大于0且小于1,所述第二偏移量是个常数,所述第二辅助系数是个大于0的常数,log()是对数函数。Wherein, y is the current time minus the current start time of the exhalation phase when the respiratory assistance type is assisted oxygen inhalation, y is a variable; b 2 is the second assistance coefficient, c 2 is the second Offset, d 2 is the first preset exhalation duration, f 2 is the displacement variable, T 2 is the first pressurization target air pressure minus the first decompression target air pressure, a2 is greater than 0 and less than 1. The second offset is a constant, the second auxiliary coefficient is a constant greater than 0, and log() is a logarithmic function.

进一步的,所述当所述呼吸阶段是所述吸气阶段时,根据所述第二减压目标气压控制所述呼吸辅助设备进行减压,当所述呼吸阶段是所述呼气阶段时,根据所述第二加压目标气压控制所述呼吸辅助设备进行加压的步骤,包括:Further, when the breathing phase is the inhalation phase, the breathing assistance device is controlled to decompress according to the second decompression target air pressure, and when the breathing phase is the exhalation phase, The step of controlling the breathing assistance device to pressurize according to the second pressurization target air pressure includes:

当所述呼吸阶段是所述吸气阶段时,获取第二预设吸气时长、第三偏移量和第三辅助系数,根据所述第二减压目标气压、所述第二预设吸气时长、所述第三偏移量和所述第三辅助系数进行对数曲线计算,得到第三对数曲线,根据所述第三对数曲线控制所述呼吸辅助设备进行减压;When the breathing phase is the inhalation phase, a second preset inhalation duration, a third offset and a third assist coefficient are obtained. According to the second decompression target air pressure, the second preset inhalation The breath duration, the third offset and the third assist coefficient are calculated using a logarithmic curve to obtain a third logarithmic curve, and the breathing assistance device is controlled to decompress according to the third logarithmic curve;

当所述呼吸阶段是所述呼气阶段时,获取第二预设呼气时长、第四偏移量和第四辅助系数,根据所述第二加压目标气压、所述第二预设呼气时长、所述第四偏移量和所述第四辅助系数进行对数曲线计算,得到第四对数曲线,根据所述第四对数曲线控制所述呼吸辅助设备进行加压。When the breathing phase is the exhalation phase, a second preset exhalation duration, a fourth offset and a fourth assist coefficient are obtained, and according to the second pressurization target air pressure, the second preset exhalation The breath duration, the fourth offset and the fourth assist coefficient are calculated using a logarithmic curve to obtain a fourth logarithmic curve, and the breathing assist device is controlled to perform pressurization according to the fourth logarithmic curve.

进一步的,根据所述第二减压目标气压、所述第二预设吸气时长、所述第三偏移量和所述第三辅助系数进行对数曲线计算,得到第三对数曲线的步骤,所述第三对数曲线的计算公式L3为:Further, a logarithmic curve calculation is performed based on the second decompression target air pressure, the second preset inhalation duration, the third offset and the third assist coefficient to obtain the third logarithmic curve. Step, the calculation formula L3 of the third logarithmic curve is:

L3=b3*(loga3(z+f3)-c3)L 3 =b 3 *(log a3 (z+f 3 )-c 3 )

0=b3*(loga3(d3+f3)-c3)0=b 3 *(log a3 (d 3 +f 3 )-c 3 )

T3=b3*(loga3(f3)-c3)T 3 =b 3 *(log a3 (f 3 )-c 3 )

其中,z是所述呼吸辅助类型是锻炼肺部时当前时间减去当前的所述吸气阶段的开始时间,z是个变量;b3是所述第三辅助系数,c3是所述第三偏移量,d3是所述第二预设吸气时长,f3是位移变量,T3是所述第二加压目标气压减去所述第二减压目标气压,a3大于0且小于1,所述第三偏移量是个常数,所述第三辅助系数是个大于0的常数,log()是对数函数;Where, z is the respiratory assistance type, which is the current time minus the current start time of the inhalation phase when exercising the lungs, z is a variable; b 3 is the third assistance coefficient, c 3 is the third Offset, d 3 is the second preset inhalation duration, f 3 is the displacement variable, T 3 is the second pressurization target air pressure minus the second decompression target air pressure, a3 is greater than 0 and less than 1. The third offset is a constant, the third auxiliary coefficient is a constant greater than 0, and log() is a logarithmic function;

根据所述第二加压目标气压、所述第二预设呼气时长、所述第四偏移量和所述第四辅助系数进行对数曲线计算,得到第四对数曲线的步骤,所述第四对数曲线的计算公式L4为:The step of calculating a logarithmic curve according to the second pressurization target air pressure, the second preset exhalation duration, the fourth offset and the fourth auxiliary coefficient to obtain a fourth logarithmic curve. The calculation formula L 4 of the fourth logarithmic curve is:

L4=b4*(loga4(p+f4)-c4)L 4 =b 4 *(log a4 (p+f 4 )-c 4 )

T4=b4*(loga4(d4+f4)-c4)T 4 =b 4 *(log a4 (d 4 +f 4 )-c 4 )

0=b4*(loga4(f4)-c4)0=b 4 *(log a4 (f 4 )-c 4 )

其中,p是所述呼吸辅助类型是锻炼肺部时当前时间减去当前的所述呼气阶段的开始时间,p是个变量;b4是所述第四辅助系数,c4是所述第四偏移量,d4是所述第二预设呼气时长,f4是位移变量,T4是所述第二加压目标气压减去所述第二减压目标气压,a4大于1,所述第四偏移量是个常数,所述第四辅助系数是个大于0的常数,log()是对数函数。Wherein, p is the respiratory assistance type, which is the current time minus the current start time of the exhalation phase when exercising the lungs, p is a variable; b 4 is the fourth assistance coefficient, c 4 is the fourth Offset, d 4 is the second preset exhalation duration, f 4 is the displacement variable, T 4 is the second pressurization target air pressure minus the second decompression target air pressure, a4 is greater than 1, so The fourth offset is a constant, the fourth auxiliary coefficient is a constant greater than 0, and log() is a logarithmic function.

本申请还提出了一种包围式呼吸辅助设备的气压控制装置,所述装置包括:This application also proposes an air pressure control device for enveloping breathing assistance equipment, which device includes:

启动信号获取模块,用于获取呼吸辅助启动信号;Start signal acquisition module, used to obtain the respiratory assistance start signal;

呼吸辅助控制模块,用于基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段,根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助,重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号。A breathing assistance control module, configured to obtain the breathing assistance type and breathing stage based on the breathing assistance start signal, and control the breathing assistance equipment to adjust the air pressure according to the breathing assistance type and the breathing stage to achieve the use of changing air pressure. Perform breathing assistance, and repeat the steps of obtaining the breathing assistance type and breathing stage until the breathing assistance end signal is obtained.

本申请还提出了一种包围式呼吸辅助设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述任一项所述方法的步骤。This application also proposes an enveloping breathing assistance device, which includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, it implements the steps of any of the above methods.

本申请还提出了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述任一项所述方法的步骤。This application also proposes a computer device, which includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of any of the above methods are implemented.

本申请还提出了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项所述的方法的步骤。This application also proposes a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above methods are implemented.

本申请的包围式呼吸辅助设备的气压控制方法、装置、设备及介质,通过获取呼吸辅助启动信号,基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段,根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助,重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号,从而使呼吸辅助设备根据呼吸的动作调整气压,不用始终维持在最高的气压,在辅助吸氧模式下有利于二氧化碳的析出,在锻炼肺部模式下肺部的锻炼效果较好。The air pressure control method, device, equipment and medium of the enclosed breathing assistance equipment of the present application obtain the breathing assistance start signal, and obtain the breathing assistance type and breathing stage based on the breathing assistance starting signal. The breathing phase controls the breathing assistance equipment to adjust the air pressure to achieve breathing assistance using changing air pressure. Repeat the steps of obtaining the breathing assistance type and breathing phase until the breathing assistance end signal is obtained, so that the breathing assistance equipment can be adjusted according to the breathing assistance type and breathing phase. The breathing action adjusts the air pressure, and it is not necessary to always maintain the highest air pressure. In the auxiliary oxygen inhalation mode, it is conducive to the precipitation of carbon dioxide. In the lung exercise mode, the lung exercise effect is better.

附图说明Description of the drawings

图1为本申请一实施例的包围式呼吸辅助设备的气压控制方法的流程示意图;Figure 1 is a schematic flowchart of an air pressure control method for an enveloping breathing assistance device according to an embodiment of the present application;

图2为本申请一实施例的包围式呼吸辅助设备的气压控制装置的结构示意框图;Figure 2 is a schematic block diagram of the structure of the air pressure control device of the enveloping breathing assistance equipment according to an embodiment of the present application;

图3为本申请一实施例的计算机设备的结构示意框图。FIG. 3 is a schematic structural block diagram of a computer device according to an embodiment of the present application.

本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.

为了解决现有技术的呼吸辅助设备的工作气压均设定为高于外部气压的恒定气压,在辅助吸氧模式下不利于二氧化碳的析出,在锻炼肺部模式下在吸气时对肺部的锻炼效果较差的技术问题,本申请提出了包围式呼吸辅助设备的气压控制方法,所述方法应用于医用呼吸辅助设备技术领域。所述包围式呼吸辅助设备的气压控制方法通过在辅助吸氧时,在吸气阶段加压和在呼气阶段减压,从而使呼吸辅助设备根据呼吸的动作调整气压,不用始终维持在最高的气压,在辅助吸氧模式下吸气需要溶氧时提供最高气压,确保了吸氧效果,在辅助吸氧模式下呼气需要析出二氧化碳时提供最低气压,从而有利于二氧化碳的析出,提高了使用者的气体代谢效率;通过在锻炼肺部时,在吸气阶段减压和在呼气阶段加压,从而使呼吸辅助设备根据呼吸的动作调整气压,不用始终维持在最高的气压,在锻炼肺部模式下呼气时提供最高气压和吸气时提供最低气压,有利于提高对肺部的锻炼效果。In order to solve the problem that the working air pressure of the existing breathing assistance equipment is set to a constant air pressure higher than the external air pressure, it is not conducive to the precipitation of carbon dioxide in the assisted oxygen inhalation mode, and it causes damage to the lungs during inhalation in the lung exercise mode. To solve the technical problem of poor exercise effect, this application proposes an air pressure control method for enveloping respiratory assistance equipment. The method is applied in the technical field of medical respiratory assistance equipment. The air pressure control method of the surrounding breathing assisting equipment is to pressurize during the inhalation stage and depressurize during the exhalation stage when assisting oxygen inhalation, so that the breathing assisting equipment adjusts the air pressure according to the breathing action without always maintaining it at the highest level. The air pressure provides the highest air pressure when inhaling in the auxiliary oxygen inhalation mode and requires dissolved oxygen, ensuring the oxygen inhalation effect. It provides the lowest air pressure when exhaling in the auxiliary oxygen inhalation mode and carbon dioxide needs to be precipitated, thus facilitating the precipitation of carbon dioxide and improving the use of the air. The patient's gas metabolism efficiency; by decompressing during the inhalation phase and increasing pressure during the exhalation phase when exercising the lungs, the breathing assistance equipment adjusts the air pressure according to the breathing action without always maintaining the highest air pressure. In the partial mode, it provides the highest air pressure when exhaling and the lowest air pressure when inhaling, which is beneficial to improving the exercise effect on the lungs.

参照图1,本申请实施例中提供一种包围式呼吸辅助设备的气压控制方法,所述方法包括:Referring to Figure 1, an embodiment of the present application provides a method for controlling air pressure of an enveloping breathing assistance device. The method includes:

S1:获取呼吸辅助启动信号;S1: Obtain the breathing assistance start signal;

S2:基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段;S2: Based on the respiratory assistance start signal, obtain the respiratory assistance type and respiratory stage;

S3:根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助;S3: Control the breathing assistance equipment to adjust the air pressure according to the breathing assistance type and the breathing stage, so as to implement breathing assistance using changing air pressure;

S4:重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号。S4: Repeat the steps of obtaining the respiratory assistance type and respiratory stage until the respiratory assistance end signal is obtained.

本实施例通过获取呼吸辅助启动信号,基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段,根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助,重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号,从而使呼吸辅助设备根据呼吸的动作调整气压,不用始终维持在最高的气压,在辅助吸氧模式下有利于二氧化碳的析出,在锻炼肺部模式下肺部的锻炼效果较好。In this embodiment, the breathing assistance start signal is obtained, the breathing assistance type and the breathing stage are obtained based on the breathing assistance starting signal, and the breathing assistance equipment is controlled to adjust the air pressure according to the breathing assistance type and the breathing stage, so as to realize the use of Perform breathing assistance with changing air pressure, and repeat the steps of obtaining the breathing assistance type and breathing stage until the breathing assistance end signal is obtained, so that the breathing assistance equipment adjusts the air pressure according to the breathing action without always maintaining the highest air pressure. The oxygen inhalation mode is beneficial to the precipitation of carbon dioxide, and the lung exercise mode has a better lung exercise effect.

对于S1,可以是用户发送的呼吸辅助启动信号,也可以是第三方应用系统发送的呼吸辅助启动信号,还可以是实现本申请的程序文件触发的呼吸辅助启动信号。For S1, it can be a respiratory assistance start signal sent by the user, a respiratory assistance start signal sent by a third-party application system, or a respiratory assistance start signal triggered by the program file that implements this application.

呼吸辅助启动信号,是指控制呼吸辅助设备开始进行呼吸辅助的信号。The respiratory assistance start signal refers to the signal that controls the respiratory assistance equipment to start respiratory assistance.

包围式呼吸辅助设备,也就是包围使用者的全身或上半身的呼吸辅助设备。呼吸辅助设备包括呼吸密闭舱,呼吸密闭舱用于容纳使用者的全身或上半身。呼吸辅助设备包括但不限于:高压氧舱、中压密闭舱、肺部锻炼机。。Surrounding breathing assistance equipment is breathing assistance equipment that surrounds the user's whole body or upper body. Respiratory assistance equipment includes a respiratory sealing chamber, which is used to accommodate the user's whole body or upper body. Respiratory assistance equipment includes but is not limited to: hyperbaric oxygen chamber, medium pressure airtight chamber, and lung exercise machine. .

对于S2,基于所述呼吸辅助启动信号,可以从数据库中获取呼吸辅助类型,也可以获取用户输入的呼吸辅助类型,还可以是第三方应用系统发送的呼吸辅助类型,还可以将呼吸辅助类型写入实现本申请的程序文件中。For S2, based on the respiratory assistance start signal, the respiratory assistance type can be obtained from the database, the respiratory assistance type input by the user, or the respiratory assistance type sent by the third-party application system, or the respiratory assistance type can be written into the program files that implement this application.

基于所述呼吸辅助启动信号,可以实时获取呼吸辅助设备的使用者的呼吸阶段,也可以按预设的呼吸模式确定呼吸阶段。Based on the breathing assistance start signal, the breathing stage of the user of the breathing assistance device can be obtained in real time, or the breathing stage can be determined according to a preset breathing mode.

呼吸辅助类型包括:辅助吸氧、锻炼肺部。辅助吸氧,用于辅助呼吸辅助设备的使用者提高吸氧的效果,促进气体代谢效率。锻炼肺部,用于辅助呼吸辅助设备的使用者锻炼肺部的呼吸能力。Types of respiratory assistance include: assisted oxygen inhalation and lung exercise. Assisted oxygen inhalation is used for users of assisted breathing equipment to improve the effect of oxygen inhalation and promote gas metabolism efficiency. Lung Exercise, used by users of assisted breathing aids to exercise the breathing ability of the lungs.

呼吸阶段包括:吸气阶段、呼气阶段。吸气阶段,是指从肺部的外部往肺部内部填充气体。呼气阶段,是指从肺部往肺部以外排出气体。The breathing phases include: inhalation phase and expiration phase. The inhalation phase refers to filling the lungs with air from the outside to the inside. The exhalation phase refers to the removal of air from the lungs to the outside of the lungs.

对于S3,根据所述呼吸辅助类型,确定所述呼吸阶段的每个子阶段是采用的气压调整方案,采用确定的气压调整方案控制呼吸辅助设备进行气压调整,以使呼吸辅助设备的使用者在呼气和吸气的过程中,呼吸辅助设备提供的都是变动的气压进行呼吸辅助。从而使呼吸辅助设备根据呼吸的动作调整气压,不用始终维持在最高的气压。For S3, according to the type of breathing assistance, determine the air pressure adjustment scheme adopted for each sub-stage of the breathing stage, and use the determined air pressure adjustment scheme to control the breathing assistance equipment to adjust the air pressure, so that the user of the breathing assistance equipment can adjust the air pressure during breathing. During the process of breathing and inhaling, the breathing assistance equipment provides changing air pressure for breathing assistance. This allows the breathing assistance equipment to adjust the air pressure according to the breathing action, without having to always maintain the highest air pressure.

气压调整方案包括:匀速加压、匀速减压、非匀速加压、非匀速减压中的任一种。匀速加压,是指加压的速度相同。匀速减压,是指减压的速度相同。非匀速加压,是指加压的速度根据加压的时间是变动的。非匀速减压,是指减压的速度根据减压的时间是变动的。The air pressure adjustment scheme includes: any one of uniform pressure increase, uniform pressure reduction, non-uniform pressure increase, and non-uniform pressure decompression. Uniform pressurization means that the speed of pressurization is the same. Uniform decompression means that the speed of decompression is the same. Non-uniform pressurization means that the speed of pressurization changes according to the time of pressurization. Non-uniform decompression means that the speed of decompression changes according to the time of decompression.

根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助,也就是对呼吸辅助设备的使用者的周围环境的气压进行调整,以用于实现采用变动的环境气压进行呼吸辅助。从而使呼吸辅助设备根据呼吸的动作调整环境气压,不用始终维持在最高的气压,在辅助吸氧模式下有利于二氧化碳的析出,在锻炼肺部模式下肺部的锻炼效果较好。The breathing assistance equipment is controlled to adjust the air pressure according to the breathing assistance type and the breathing stage, so as to implement breathing assistance using changing air pressure, that is, to adjust the air pressure of the surrounding environment of the user of the breathing assistance equipment to use To achieve breathing assistance using changing ambient air pressure. This allows the breathing assistance equipment to adjust the ambient air pressure according to the breathing movement, without always maintaining the highest air pressure. In the assisted oxygen inhalation mode, it is conducive to the precipitation of carbon dioxide, and in the lung exercise mode, the lung exercise effect is better.

其中,可以通过减少呼吸辅助设备的呼吸密闭舱的容纳气体的腔体的体积或者向呼吸辅助设备的呼吸密闭舱的容纳气体的腔体的注入气体以实现加压;可以通过增加呼吸辅助设备的呼吸密闭舱的容纳气体的腔体的体积或者排出呼吸辅助设备的呼吸密闭舱的容纳气体的腔体中的气体以实现减压。Among them, pressurization can be achieved by reducing the volume of the gas-containing cavity of the respiratory airtight cabin of the respiratory assistance device or injecting gas into the gas-accommodating cavity of the respiratory airtight cabin of the respiratory assistance device; pressurization can be achieved by increasing The volume of the gas-containing cavity of the respiratory sealing chamber or the gas in the gas-containing cavity of the respiratory sealing chamber of the breathing assistance device is discharged to achieve decompression.

对于S4,重复执行步骤S2至步骤S4,直至获取到呼吸辅助结束信号。For S4, steps S2 to S4 are repeatedly executed until the respiratory assistance end signal is obtained.

其中,可以是用户发送的呼吸辅助结束信号,也可以是第三方应用系统发送的呼吸辅助结束信号,还可以是实现本申请的程序文件触发的呼吸辅助结束信号。It may be a respiratory assistance end signal sent by the user, a respiratory assistance end signal sent by a third-party application system, or a respiratory assistance end signal triggered by a program file that implements the present application.

呼吸辅助结束信号,是指控制呼吸辅助设备停止呼吸辅助的信号。呼吸辅助结束信号可以用于控制呼吸辅助设备进入暂停状态,也可以控制呼吸辅助设备将呼吸密闭舱的气压调整到呼吸辅助设备所在环境的气压。The respiratory assistance end signal refers to the signal that controls the respiratory assistance equipment to stop respiratory assistance. The respiratory assistance end signal can be used to control the respiratory assistance equipment to enter the pause state, or to control the breathing assistance equipment to adjust the air pressure of the respiratory airtight chamber to the air pressure of the environment where the respiratory assistance equipment is located.

在一个实施例中,上述获取呼吸辅助启动信号的步骤,包括:In one embodiment, the above-mentioned step of obtaining the respiratory assistance start signal includes:

S31:当所述呼吸辅助类型是辅助吸氧时,获取第一加压目标气压和第一减压目标气压,当所述呼吸阶段是吸气阶段时,根据所述第一加压目标气压控制所述呼吸辅助设备进行加压,当所述呼吸阶段是呼气阶段时,根据所述第一减压目标气压控制所述呼吸辅助设备进行减压;S31: When the respiratory assistance type is assisted oxygen inhalation, obtain the first pressurization target air pressure and the first decompression target air pressure. When the breathing phase is the inhalation phase, control based on the first pressurization target air pressure. The breathing assistance device is pressurized, and when the breathing phase is the exhalation phase, the breathing assistance device is controlled to decompress according to the first decompression target air pressure;

S32:当所述呼吸辅助类型是锻炼肺部时,获取第二加压目标气压和第二减压目标气压,当所述呼吸阶段是所述吸气阶段时,根据所述第二减压目标气压控制所述呼吸辅助设备进行减压,当所述呼吸阶段是所述呼气阶段时,根据所述第二加压目标气压控制所述呼吸辅助设备进行加压;S32: When the breathing assistance type is lung exercise, obtain the second pressurization target air pressure and the second decompression target air pressure. When the breathing phase is the inhalation phase, obtain the second pressurization target air pressure according to the second decompression target. The air pressure controls the breathing assistance device to decompress, and when the breathing phase is the exhalation phase, the breathing assistance device is controlled to pressurize according to the second pressurization target air pressure;

本实施例通过当呼吸辅助类型是辅助吸氧时,获取第一加压目标气压和第一减压目标气压,当呼吸阶段是吸气阶段时,根据第一加压目标气压控制呼吸辅助设备进行加压,当呼吸阶段是呼气阶段时,根据第一减压目标气压控制呼吸辅助设备进行减压,从而使呼吸辅助设备根据呼吸的动作调整气压,不用始终维持在最高的气压,在辅助吸氧模式下吸气需要溶氧时提供最高气压,确保了吸氧效果,在辅助吸氧模式下呼气需要析出二氧化碳时提供最低气压,从而有利于二氧化碳的析出,提高了使用者的气体代谢效率;当呼吸辅助类型是锻炼肺部时,获取第二加压目标气压和第二减压目标气压,当呼吸阶段是吸气阶段时,根据第二减压目标气压控制呼吸辅助设备进行减压,当呼吸阶段是呼气阶段时,根据第二加压目标气压控制呼吸辅助设备进行加压,从而使呼吸辅助设备根据呼吸的动作调整气压,不用始终维持在最高的气压,在锻炼肺部模式下呼气时提供最高气压和吸气时提供最低气压,有利于提高对肺部的锻炼效果。In this embodiment, when the breathing assistance type is assisted oxygen inhalation, the first pressurization target air pressure and the first decompression target air pressure are obtained. When the breathing phase is the inhalation phase, the breathing assistance equipment is controlled according to the first pressurization target air pressure. Pressurization, when the breathing phase is the exhalation phase, the breathing assistance equipment is controlled to decompress according to the first decompression target air pressure, so that the breathing assistance equipment adjusts the air pressure according to the breathing action, without always maintaining the highest air pressure. In the oxygen mode, the highest air pressure is provided when inhaling dissolved oxygen is required, ensuring the oxygen inhalation effect. In the assisted oxygen inhaling mode, the lowest air pressure is provided when exhaling carbon dioxide is required, which is beneficial to the precipitation of carbon dioxide and improves the user's gas metabolism efficiency. ; When the breathing assistance type is lung exercise, obtain the second pressurization target air pressure and the second decompression target air pressure. When the breathing phase is the inhalation phase, control the breathing assistance equipment to decompress according to the second decompression target air pressure. When the breathing phase is the exhalation phase, the breathing assistance device is controlled to pressurize according to the second pressurization target air pressure, so that the breathing assistance device adjusts the air pressure according to the breathing action without always maintaining the highest air pressure. In the lung exercise mode It provides the highest air pressure when exhaling and the lowest air pressure when inhaling, which is beneficial to improving the exercise effect on the lungs.

对于S31,当所述呼吸辅助类型是辅助吸氧时,意味着需要呼吸辅助设备的使用者提高吸氧的效果,促进气体代谢效率。For S31, when the type of respiratory assistance is assisted oxygen inhalation, it means that the user of the respiratory assistance device needs to improve the effect of oxygen inhalation and promote gas metabolism efficiency.

其中,可以从数据库中获取第一加压目标气压,也可以获取用户输入的第一加压目标气压,还可以是第三方应用系统发送的第一加压目标气压,还可以将第一加压目标气压写入实现本申请的程序文件中。第一加压目标气压,也就是当所述呼吸辅助类型是辅助吸氧时,呼吸辅助设备将呼吸密闭舱的最高气压。Among them, the first pressurization target air pressure can be obtained from the database, or the first pressurization target air pressure input by the user can be obtained, or the first pressurization target air pressure sent by a third-party application system, or the first pressurization target air pressure can be obtained. The target air pressure is written into the program file that implements this application. The first pressurization target air pressure is the highest air pressure in the airtight chamber that the breathing assistance equipment will breathe when the type of breathing assistance is assisted oxygen inhalation.

其中,可以从数据库中获取第一减压目标气压,也可以获取用户输入的第一减压目标气压,还可以是第三方应用系统发送的第一减压目标气压,还可以将第一减压目标气压写入实现本申请的程序文件中。第一减压目标气压,也就是当所述呼吸辅助类型是辅助吸氧时,呼吸辅助设备将呼吸密闭舱的最低气压。Among them, the first decompression target air pressure can be obtained from the database, or the first decompression target air pressure input by the user can be obtained, or it can be the first decompression target air pressure sent by a third-party application system, or the first decompression target air pressure can be obtained. The target air pressure is written into the program file that implements this application. The first decompression target air pressure is the lowest air pressure in the airtight chamber that the breathing assistance equipment will breathe when the type of breathing assistance is assisted oxygen inhalation.

其中,第一加压目标气压大于第一减压目标气压。第一加压目标气压,是指所述呼吸辅助类型是辅助吸氧时,所述呼吸辅助设备的呼吸密闭舱的最高气压。第一减压目标气压,是指所述呼吸辅助类型是辅助吸氧时,所述呼吸辅助设备的呼吸密闭舱的最低气压。Wherein, the first pressurization target air pressure is greater than the first decompression target air pressure. The first pressurization target air pressure refers to the highest air pressure of the breathing sealed chamber of the breathing assistance equipment when the breathing assistance type is assisted oxygen inhalation. The first decompression target air pressure refers to the lowest air pressure of the breathing sealed chamber of the breathing assistance equipment when the breathing assistance type is assisted oxygen inhalation.

对于S32,当所述呼吸辅助类型是锻炼肺部时,意味着辅助呼吸辅助设备的使用者锻炼肺部的呼吸能力。For S32, when the breathing assistance type is lung exercise, it means that the user of the assisted breathing assistance device exercises the breathing ability of the lungs.

其中,可以从数据库中获取第二加压目标气压,也可以获取用户输入的第二加压目标气压,还可以是第三方应用系统发送的第二加压目标气压,还可以将第二加压目标气压写入实现本申请的程序文件中。第二加压目标气压,也就是当所述呼吸辅助类型是锻炼肺部时,呼吸辅助设备将呼吸密闭舱的最高气压。Among them, the second pressurization target air pressure can be obtained from the database, or the second pressurization target air pressure input by the user, or the second pressurization target air pressure sent by a third-party application system, or the second pressurization target air pressure can be obtained. The target air pressure is written into the program file that implements this application. The second pressurization target air pressure is the highest air pressure of the airtight chamber that the breathing assistance equipment will breathe when the breathing assistance type is to exercise the lungs.

其中,可以从数据库中获取第二减压目标气压,也可以获取用户输入的第二减压目标气压,还可以是第三方应用系统发送的第二减压目标气压,还可以将第二减压目标气压写入实现本申请的程序文件中。第二减压目标气压,也就是当所述呼吸辅助类型是锻炼肺部时,呼吸辅助设备将呼吸密闭舱的最低气压。Among them, the second decompression target air pressure can be obtained from the database, or the second decompression target air pressure input by the user, or the second decompression target air pressure sent by a third-party application system, or the second decompression target air pressure can be obtained. The target air pressure is written into the program file that implements this application. The second decompression target air pressure is the lowest air pressure of the airtight chamber that the breathing assistance equipment will breathe when the breathing assistance type is to exercise the lungs.

其中,第二加压目标气压大于第二减压目标气压。第二加压目标气压,是指所述呼吸辅助类型是锻炼肺部时,所述呼吸辅助设备的呼吸密闭舱的最高气压。第二减压目标气压,是指所述呼吸辅助类型是锻炼肺部时,所述呼吸辅助设备的呼吸密闭舱的最低气压。Wherein, the second pressurization target air pressure is greater than the second decompression target air pressure. The second pressurization target air pressure refers to the highest air pressure of the respiratory sealing chamber of the respiratory assistance equipment when the breathing assistance type is lung exercise. The second decompression target air pressure refers to the lowest air pressure of the respiratory sealing chamber of the respiratory assistance equipment when the breathing assistance type is lung exercise.

可以理解的是,第二加压目标气压可以大于第一加压目标气压,也可以等于第一加压目标气压,还可以小于第一加压目标气压。第二减压目标气压可以大于第一减压目标气压,也可以等于第一减压目标气压,还可以小于第一减压目标气压。It can be understood that the second pressurization target air pressure may be greater than the first pressurization target air pressure, may be equal to the first pressurization target air pressure, or may be less than the first pressurization target air pressure. The second decompression target air pressure may be greater than the first decompression target air pressure, may be equal to the first decompression target air pressure, or may be less than the first decompression target air pressure.

在一个实施例中,上述获取呼吸辅助启动信号的步骤,包括:In one embodiment, the above-mentioned step of obtaining the respiratory assistance start signal includes:

S11:获取呼吸辅助准备信号;S11: Obtain the breathing assistance preparation signal;

S12:基于所述呼吸辅助准备信号,获取所述呼吸辅助类型;S12: Based on the respiratory assistance preparation signal, obtain the respiratory assistance type;

S13:根据所述呼吸辅助类型获取预设目标平均气压;S13: Obtain the preset target average air pressure according to the respiratory assistance type;

S14:采用所述预设目标平均气压,控制所述呼吸辅助设备建立目标平均气压,得到目标平均气压建立结束信号;S14: Using the preset target average air pressure, control the respiratory assistance equipment to establish the target average air pressure, and obtain a target average air pressure establishment end signal;

S15:基于所述目标平均气压建立结束信号,生成所述呼吸辅助启动信号。S15: Generate the respiratory assistance start signal based on the target average air pressure establishment end signal.

本实施例通过先根据呼吸辅助准备信号,控制所述呼吸辅助设备建立目标平均气压,然后再生成控制所述呼吸辅助设备建立目标平均气压,从而有利于准时提供呼吸辅助服务,有利于提高用户体验。This embodiment first controls the respiratory assistance equipment to establish the target average air pressure according to the respiratory assistance preparation signal, and then controls the respiratory assistance equipment to establish the target average air pressure, thereby facilitating the timely provision of respiratory assistance services and improving user experience. .

对于S11,可以是用户发送的呼吸辅助准备信号,也可以是第三方应用系统发送的呼吸辅助准备信号,还可以是实现本申请的程序文件触发的呼吸辅助准备信号。For S11, it can be a respiratory assistance preparation signal sent by the user, a respiratory assistance preparation signal sent by a third-party application system, or a respiratory assistance preparation signal triggered by the program file that implements this application.

呼吸辅助准备信号,是指控制呼吸辅助设备开始进行呼吸辅助的准备工作的信号。The respiratory assistance preparation signal refers to a signal that controls the respiratory assistance equipment to start preparations for respiratory assistance.

对于S12,基于所述呼吸辅助准备信号,可以从数据库中获取所述呼吸辅助类型,也可以获取用户输入的所述呼吸辅助类型,还可以是第三方应用系统发送的所述呼吸辅助类型,还可以将所述呼吸辅助类型写入实现本申请的程序文件中。For S12, based on the respiratory assistance preparation signal, the respiratory assistance type can be obtained from the database, the respiratory assistance type input by the user, or the respiratory assistance type sent by a third-party application system, or The respiratory assistance type can be written into the program file that implements the present application.

对于S13,根据所述呼吸辅助类型从数据库中获取预设目标平均气压。For S13, obtain the preset target average air pressure from the database according to the respiratory assistance type.

可以理解的是,所述呼吸辅助类型不同时获取到的预设目标平均气压的数值可以相同,也可以不相同。It can be understood that the values of the preset target average air pressure obtained when the breathing assistance types are different may or may not be the same.

预设目标平均气压,是呼吸辅助设备开始进行呼吸辅助的准备工作时需要呼吸辅助设备的呼吸密闭舱建立的气压。The preset target average air pressure is the air pressure established in the breathing airtight chamber of the breathing assistance equipment when the breathing assistance equipment starts to prepare for breathing assistance.

对于S14,控制所述呼吸辅助设备对呼吸密闭舱建立目标平均气压,以使呼吸密闭舱中的气压与所述预设目标平均气压相同,当呼吸密闭舱中的气压与所述预设目标平均气压相同时,生成目标平均气压建立结束信号。For S14, control the breathing assistance equipment to establish a target average air pressure in the breathing airtight cabin so that the air pressure in the breathing airtight cabin is the same as the preset target average air pressure. When the air pressure in the breathing airtight cabin is the same as the preset target average air pressure, When the air pressures are the same, a target average air pressure establishment end signal is generated.

对于S15,当获取到目标平均气压建立结束信号时,意味着此时呼吸密闭舱中的气压已经做好了呼吸辅助的准备,控制所述呼吸辅助设备停止调整呼吸密闭舱中的气压,此时将生成所述呼吸辅助启动信号以开始呼吸辅助服务。For S15, when the target average air pressure establishment end signal is obtained, it means that the air pressure in the breathing airtight cabin is ready for breathing assistance at this time, and the breathing assistance equipment is controlled to stop adjusting the air pressure in the breathing airtight cabin. At this time The respiratory assistance start signal will be generated to start respiratory assistance services.

在一个实施例中,上述获取第一加压目标气压和第一减压目标气压的步骤,包括:In one embodiment, the above steps of obtaining the first pressurization target air pressure and the first decompression target air pressure include:

S3111:根据所述呼吸辅助类型和所述预设目标平均气压,获取所述第一加压目标气压和所述第一减压目标气压,其中,所述第一加压目标气压和所述第一减压目标气压的平均值,与所述预设目标平均气压相等;S3111: Obtain the first pressurization target air pressure and the first decompression target air pressure according to the breathing assistance type and the preset target average air pressure, wherein the first pressurization target air pressure and the first decompression target air pressure are An average value of the decompression target air pressure is equal to the preset target average air pressure;

所述获取第二加压目标气压和第二减压目标气压的步骤,包括:The step of obtaining the second pressurization target air pressure and the second decompression target air pressure includes:

S3211:根据所述呼吸辅助类型和所述预设目标平均气压,获取所述第二加压目标气压和所述第二减压目标气压,其中,所述第二加压目标气压和所述第二减压目标气压的平均值,与所述预设目标平均气压相等。S3211: Obtain the second pressurization target air pressure and the second decompression target air pressure according to the breathing assistance type and the preset target average air pressure, wherein the second pressurization target air pressure and the second decompression target air pressure are obtained. The average value of the two decompression target air pressures is equal to the preset target average air pressure.

本实施例将所述预设目标平均气压作为加压和减压的平均气压,采用恒定的平均气压,有利于提高用户的体验。In this embodiment, the preset target average air pressure is used as the average air pressure for pressurization and decompression, and a constant average air pressure is used, which is beneficial to improving the user experience.

对于S3111,采用所述呼吸辅助类型的所述辅助吸氧和所述预设目标平均气压在参数库中进行查找,将查找到的加压目标气压作为所述第一加压目标气压,将查找到的减压目标气压作为所述第一减压目标气压。计算所述第一加压目标气压和所述第一减压目标气压的平均值,计算得到的平均值与所述预设目标平均气压相等。For S3111, the auxiliary oxygen inhalation of the respiratory assistance type and the preset target average air pressure are used to search in the parameter library, and the found pressurization target air pressure is used as the first pressurization target air pressure, and the searched The obtained decompression target air pressure is used as the first decompression target air pressure. The average value of the first pressurization target air pressure and the first decompression target air pressure is calculated, and the calculated average value is equal to the preset target average air pressure.

参数库包括:呼吸辅助类型、目标平均气压、目标气压对。目标气压对包括:一个加压目标气压、一个减压目标气压。每个呼吸辅助类型对应一个或多个目标平均气压,同一呼吸辅助类型的每个目标平均气压对应一个目标气压对。比如,呼吸辅助类型为辅助吸氧时,目标平均气压为标准大气压的1.2倍,加压目标气压为标准大气压的1.25倍,减压目标气压为标准大气压的1.15倍,在此举例不做具体限定。The parameter library includes: breathing assistance type, target average air pressure, and target air pressure pair. The target air pressure pair includes: a pressurization target air pressure and a decompression target air pressure. Each breathing assistance type corresponds to one or more target average air pressures, and each target average air pressure of the same breathing assistance type corresponds to a target air pressure pair. For example, when the respiratory assistance type is assisted oxygen inhalation, the target average air pressure is 1.2 times the standard atmospheric pressure, the target pressure for pressurization is 1.25 times the standard atmospheric pressure, and the target pressure for decompression is 1.15 times the standard atmospheric pressure. There are no specific limitations in this example. .

可选的,参数库还包括:治疗等级。可以理解的是,每个呼吸辅助类型对应一个或多个治疗等级,同一呼吸辅助类型对应的每个治疗等级对应一个或多个目标平均气压,同一呼吸辅助类型的同一治疗等级对应的每个目标平均气压对应一个目标气压对。Optionally, the parameter library also includes: treatment level. It can be understood that each breathing assistance type corresponds to one or more treatment levels, each treatment level corresponding to the same breathing assistance type corresponds to one or more target average air pressures, and each target corresponding to the same treatment level of the same breathing assistance type The average pressure corresponds to a target pressure pair.

对于S3211,采用所述呼吸辅助类型的所述锻炼肺部和所述预设目标平均气压在参数库中进行查找,将查找到的加压目标气压作为所述第二加压目标气压,将查找到的减压目标气压作为所述第二减压目标气压。计算所述第二加压目标气压和所述第二减压目标气压的平均值,计算得到的平均值与所述预设目标平均气压相等。For S3211, the exercise lungs of the breathing assistance type and the preset target average air pressure are searched in the parameter library, and the found pressurized target air pressure is used as the second pressurized target air pressure, and the searched The obtained decompression target air pressure is used as the second decompression target air pressure. The average value of the second pressurization target air pressure and the second decompression target air pressure is calculated, and the calculated average value is equal to the preset target average air pressure.

在一个实施例中,上述获取呼吸辅助类型、呼吸阶段的步骤,包括:In one embodiment, the above steps of obtaining the respiratory assistance type and respiratory stage include:

S211:获取所述呼吸辅助类型;S211: Obtain the respiratory assistance type;

S212:根据所述呼吸辅助类型,获取呼吸时长与阶段对应表;S212: Obtain the breathing duration and stage correspondence table according to the breathing assistance type;

S213:获取所述呼吸辅助启动信号的启动信号发送时间;S213: Obtain the start signal sending time of the respiratory assistance start signal;

S214:获取当前时间;S214: Get the current time;

S215:将所述当前时间减去所述启动信号发送时间,得到待分析的时长;S215: Subtract the start signal sending time from the current time to obtain the duration to be analyzed;

S216:将所述待分析的时长在所述呼吸时长与阶段对应表中进行匹配,得到所述呼吸阶段。S216: Match the duration to be analyzed in the respiratory duration and stage correspondence table to obtain the respiratory stage.

本实施例实现了根据呼吸时长与阶段对应表确定呼吸阶段,从而简化了本申请的气压控制方法的实现方法。This embodiment realizes the determination of the breathing stage according to the breathing duration and stage correspondence table, thereby simplifying the implementation method of the air pressure control method of the present application.

对于S212,可以将所述呼吸辅助类型在数据库中或第三方应用系统中或实现本申请的程序文件中进行匹配,将匹配到的类型对应的对应表作为呼吸时长与阶段对应表。For S212, the respiratory assistance types can be matched in a database or a third-party application system or a program file that implements this application, and the corresponding table corresponding to the matched type can be used as a breathing duration and stage correspondence table.

呼吸时长与阶段对应表包括:呼吸时长区间、阶段数据。呼吸时长区间包括:呼吸时长开始时间、呼吸时长结束时间。阶段数据包括:吸气阶段、呼气阶段。The correspondence table between breathing duration and stages includes: breathing duration interval and stage data. The breath duration interval includes: breath duration start time and breath duration end time. Phase data includes: inhalation phase and expiration phase.

对于S213,可以从数据库中获取所述呼吸辅助启动信号的启动信号发送时间。For S213, the start signal sending time of the respiratory assistance start signal can be obtained from the database.

启动信号发送时间,也就是获取到所述呼吸辅助启动信号的时间。The start signal sending time is the time when the respiratory assistance start signal is obtained.

对于S214,可以获取当前的世界时间作为当前时间。For S214, the current world time can be obtained as the current time.

对于S215,将所述当前时间减去所述启动信号发送时间,将计算得到的时长作为待分析的时长。For S215, the start signal sending time is subtracted from the current time, and the calculated duration is used as the duration to be analyzed.

对于S216,将所述待分析的时长在所述呼吸时长与阶段对应表的呼吸时长区间中进行匹配,将在所述呼吸时长与阶段对应表中匹配到的呼吸时长区间对应的阶段数据作为所述呼吸阶段。For S216, the duration to be analyzed is matched in the breath duration interval of the breath duration and stage correspondence table, and the stage data corresponding to the breath duration interval matched in the breath duration and stage correspondence table is used as the stage data. Describe the breathing stages.

在一个实施例中,上述获取呼吸辅助类型、呼吸阶段的步骤,还包括:In one embodiment, the above-mentioned step of obtaining the respiratory assistance type and respiratory stage further includes:

S221:获取所述呼吸辅助类型;S221: Obtain the respiratory assistance type;

S222:获取呼吸追踪传感器按预设时间间隔发送的传感器测量信号;S222: Obtain the sensor measurement signal sent by the respiration tracking sensor at a preset time interval;

S223:根据所述呼吸辅助类型和所述传感器测量信号进行判断,得到所述呼吸阶段。S223: Make a judgment based on the respiratory assistance type and the sensor measurement signal to obtain the respiratory stage.

本实施例实现了根据传感器测量信号实时确定呼吸阶段,从而提高了本申请的气压控制方法准确性,提高了呼吸辅助的效果,进一步提高了用户体验。This embodiment realizes the real-time determination of the breathing stage based on the sensor measurement signal, thereby improving the accuracy of the air pressure control method of the present application, improving the effect of breathing assistance, and further improving the user experience.

对于S222,呼吸追踪传感器实时监测使用者的呼吸数据,根据监控到的数据按预设时间间隔发送传感器测量信号。For S222, the respiration tracking sensor monitors the user's respiration data in real time, and sends sensor measurement signals at preset time intervals based on the monitored data.

呼吸追踪传感器包括但不限于:压力传感器、超声波传感器、光传感器、气流传感器中的一种或多种。Respiration tracking sensors include but are not limited to: one or more of pressure sensors, ultrasonic sensors, light sensors, and airflow sensors.

对于S223,对所述传感器测量信号进行数字信号转换,得到待分析的气压值;获取数字信号与阶段对应表;将所述呼吸辅助类型和待分析的气压值在数字信号与阶段对应表中进行查找,将查找到的阶段数据作为所述呼吸阶段。For S223, perform digital signal conversion on the sensor measurement signal to obtain the air pressure value to be analyzed; obtain the digital signal and stage correspondence table; combine the respiratory assistance type and the air pressure value to be analyzed in the digital signal and stage correspondence table Search, and use the found phase data as the respiratory phase.

数字信号与阶段对应表包括:呼吸辅助类型、数字信号区间、阶段数据。数字信号区间包括:数字信号开始值、数字信号结束值。The correspondence table between digital signals and stages includes: respiratory assistance type, digital signal interval, and stage data. The digital signal interval includes: digital signal start value and digital signal end value.

在一个实施例中,上述当所述呼吸阶段是吸气阶段时,根据所述第一加压目标气压控制所述呼吸辅助设备进行加压的步骤,包括:In one embodiment, the above-mentioned step of controlling the breathing assist device to pressurize according to the first pressurization target air pressure when the breathing phase is an inhalation phase includes:

S3121:获取所述呼气阶段的呼气结束信号,基于所述呼气结束信号,获取并播放吸气开始提示语音信号,并且根据所述第一加压目标气压控制所述呼吸辅助设备进行加压;S3121: Obtain the exhalation end signal of the exhalation stage, obtain and play the inhalation start prompt voice signal based on the exhalation end signal, and control the breathing assistance device to perform acceleration according to the first pressurization target air pressure. pressure;

所述当所述呼吸阶段是呼气阶段时,根据所述第一减压目标气压控制所述呼吸辅助设备进行减压的步骤,包括:The step of controlling the breathing assistance device to decompress according to the first decompression target air pressure when the breathing phase is the exhalation phase includes:

S3221:获取所述吸气阶段的吸气结束信号,基于所述吸气结束信号,获取并播放呼气开始提示语音信号,并且根据所述第一减压目标气压控制所述呼吸辅助设备进行减压。S3221: Obtain the inhalation end signal of the inhalation stage, obtain and play the exhalation start prompt voice signal based on the inhalation end signal, and control the breathing assistance device to perform decompression according to the first decompression target air pressure. pressure.

本实施例实现了根据结束信号获取并播放提示语音信号,从而有利于按预设模式控制呼吸辅助设备进行加压或减压,有利于达到预期呼吸辅助目标。This embodiment achieves the acquisition and playback of prompt voice signals based on the end signal, which is conducive to controlling the breathing assistance equipment to pressurize or decompress according to the preset mode, and is conducive to achieving the expected respiratory assistance target.

对于S3121,获取实现本申请的程序文件发送的呼气结束信号,当收到呼气结束信号时,可以从数据库中获取吸气开始提示语音信号,还可以是第三方应用系统发送的吸气开始提示语音信号,将获取到的吸气开始提示语音信号进行播放,并且基于所述呼气结束信号控制所述呼吸辅助设备进行加压直至所述呼吸辅助设备的呼吸密闭舱的气压达到所述第一加压目标气压。For S3121, obtain the expiration end signal sent by the program file that implements this application. When the expiration end signal is received, the inhalation start prompt voice signal can be obtained from the database, or it can be the inhalation start signal sent by a third-party application system. Prompt a voice signal, play the acquired inhalation start prompt voice signal, and control the breathing assistance device to pressurize based on the exhalation end signal until the air pressure of the breathing sealing chamber of the breathing assistance device reaches the third A pressurized target air pressure.

可以理解的是,所述获取并播放吸气开始提示语音信号的步骤和所述并且根据所述第一加压目标气压控制所述呼吸辅助设备进行加压可以同步启动,也可以异步启动。It can be understood that the steps of obtaining and playing the voice signal prompting the start of inhalation and controlling the breathing assist device to pressurize according to the first pressurization target air pressure can be started synchronously or asynchronously.

对于S3221,获取实现本申请的程序文件发送的吸气结束信号,当收到吸气结束信号时,可以从数据库中获取呼气开始提示语音信号,还可以是第三方应用系统发送的呼气开始提示语音信号,将获取的呼气开始提示语音信号进行播放,并且基于所述吸气结束信号控制所述呼吸辅助设备进行减压直至所述呼吸辅助设备的呼吸密闭舱的气压达到所述第一减压目标气压。For S3221, obtain the inhalation end signal sent by the program file that implements this application. When the inhalation end signal is received, the exhalation start prompt voice signal can be obtained from the database, or it can be the exhalation start signal sent by a third-party application system. Prompt a voice signal, play the obtained exhalation start prompting voice signal, and control the respiratory assistance device to decompress based on the inhalation end signal until the air pressure of the respiratory sealing chamber of the respiratory assistance device reaches the first Decompression target air pressure.

可以理解的是,所述获取并播放呼气开始提示语音信号的步骤和所述并且根据所述第一减压目标气压控制所述呼吸辅助设备进行减压可以同步启动,也可以异步启动。It can be understood that the steps of obtaining and playing the exhalation start prompt voice signal and controlling the breathing assistance device to decompress according to the first decompression target air pressure may be started synchronously or asynchronously.

可选的,所述当所述呼吸阶段是所述吸气阶段时,根据所述第二减压目标气压控制所述呼吸辅助设备进行减压的步骤,包括:获取所述呼气阶段的呼气结束信号,基于所述呼气结束信号,获取并播放吸气开始提示语音信号,并且根据所述第二减压目标气压控制所述呼吸辅助设备进行减压。Optionally, when the breathing phase is the inhalation phase, the step of controlling the breathing assistance device to decompress according to the second decompression target air pressure includes: obtaining the breath value of the exhalation phase. The end-of-inhalation signal is based on the end-of-exhalation signal, obtains and plays the voice signal prompting the start of inhalation, and controls the breathing assistance device to decompress according to the second decompression target air pressure.

可选的,所述当所述呼吸阶段是所述呼气阶段时,根据所述第二加压目标气压控制所述呼吸辅助设备进行加压的步骤,包括:获取所述吸气阶段的吸气结束信号,基于所述吸气结束信号,获取并播放呼气开始提示语音信号,并且根据所述第二加压目标气压控制所述呼吸辅助设备进行加压。Optionally, when the breathing phase is the exhalation phase, the step of controlling the breathing assist device to pressurize according to the second pressurization target air pressure includes: obtaining the inhalation value of the inhalation phase. The end-of-breathing signal is based on the end-of-breathing signal, acquiring and playing the exhalation start prompt voice signal, and controlling the breathing assistance device to pressurize according to the second pressurization target air pressure.

在一个实施例中,上述当所述呼吸阶段是吸气阶段时,根据所述第一加压目标气压控制所述呼吸辅助设备进行加压,当所述呼吸阶段是呼气阶段时,根据所述第一减压目标气压控制所述呼吸辅助设备进行减压的步骤,包括:In one embodiment, when the breathing phase is an inhalation phase, the breathing assistance device is controlled to pressurize according to the first pressurization target air pressure, and when the breathing phase is an exhalation phase, the breathing assistance device is controlled according to the first pressurization target air pressure. The step of controlling the first decompression target air pressure to decompress the breathing assistance device includes:

S3131:当所述呼吸阶段是所述吸气阶段时,获取第一预设吸气时长、第一偏移量和第一辅助系数,根据所述第一加压目标气压、所述第一预设吸气时长、所述第一偏移量和所述第一辅助系数进行对数曲线计算,得到第一对数曲线,根据所述第一对数曲线控制所述呼吸辅助设备进行加压;S3131: When the breathing phase is the inhalation phase, obtain the first preset inhalation duration, the first offset and the first assist coefficient. According to the first pressurization target air pressure, the first preset Suppose the inhalation duration, the first offset and the first assist coefficient are calculated using a logarithmic curve to obtain a first logarithmic curve, and the breathing assistance device is controlled to perform pressurization according to the first logarithmic curve;

S3132:当所述呼吸阶段是所述呼气阶段时,获取第一预设呼气时长、第二偏移量和第二辅助系数,根据所述第一减压目标气压、所述第一预设呼气时长、所述第二偏移量和所述第二辅助系数进行对数曲线计算,得到第二对数曲线,根据所述第二对数曲线控制所述呼吸辅助设备进行减压。S3132: When the breathing stage is the exhalation stage, obtain the first preset exhalation duration, the second offset and the second assist coefficient. According to the first decompression target air pressure, the first preset Assuming the exhalation duration, the second offset and the second assist coefficient, a logarithmic curve calculation is performed to obtain a second logarithmic curve, and the respiratory assistance device is controlled to decompress according to the second logarithmic curve.

本实施例实现了根据所述第一加压目标气压、所述第一预设吸气时长、所述第一偏移量和所述第一辅助系数进行对数曲线计算,得到第一对数曲线,从而使开始加压的速度快,后续加压的速度慢,符合吸气习惯,从而提升了提高吸氧的效果,促进气体代谢效率;而且根据所述第一减压目标气压、所述第一预设呼气时长、所述第二偏移量和所述第二辅助系数进行对数曲线计算,得到第二对数曲线,从而使开始减压的速度快,后续减压的的速度慢,符合呼气习惯,从而提升了二氧化碳的析出效率,促进气体代谢效率。This embodiment implements logarithmic curve calculation based on the first pressurization target air pressure, the first preset inhalation duration, the first offset and the first auxiliary coefficient to obtain the first logarithm curve, so that the initial pressurization speed is fast and the subsequent pressurization speed is slow, which is consistent with the inhalation habit, thus improving the effect of improving oxygen inhalation and promoting gas metabolism efficiency; and according to the first decompression target air pressure, the The first preset exhalation duration, the second offset and the second auxiliary coefficient are calculated using a logarithmic curve to obtain a second logarithmic curve, thereby making the initial decompression faster and subsequent decompression faster. Slow, consistent with exhalation habits, thereby improving the release efficiency of carbon dioxide and promoting gas metabolism efficiency.

对于S3131,其中,可以从数据库中获取第一预设吸气时长,也可以获取用户输入的第一预设吸气时长,还可以是第三方应用系统发送的第一预设吸气时长,还可以将第一预设吸气时长写入实现本申请的程序文件中。For S3131, the first preset inhalation duration can be obtained from the database, or the first preset inhalation duration input by the user, or the first preset inhalation duration sent by the third-party application system, or The first preset inhalation duration can be written into the program file implementing the present application.

其中,可以从数据库中获取第一偏移量,也可以获取用户输入的第一偏移量,还可以是第三方应用系统发送的第一偏移量,还可以将第一偏移量写入实现本申请的程序文件中。Among them, the first offset can be obtained from the database, or the first offset input by the user, or the first offset sent by the third-party application system, or the first offset can be written into Implement the program files of this application.

其中,可以从数据库中获取第一辅助系数,也可以获取用户输入的第一辅助系数,还可以是第三方应用系统发送的第一辅助系数,还可以将第一辅助系数写入实现本申请的程序文件中。Among them, the first auxiliary coefficient can be obtained from the database, or the first auxiliary coefficient input by the user can be obtained, or it can be the first auxiliary coefficient sent by a third-party application system, or the first auxiliary coefficient can be written into the implementation of the present application. in the program file.

其中,根据所述第一加压目标气压、所述第一预设吸气时长、所述第一偏移量和所述第一辅助系数进行对数曲线计算,得到第一对数曲线,所述第一对数曲线的计算公式L1为:Wherein, a logarithmic curve is calculated according to the first pressurization target air pressure, the first preset inhalation duration, the first offset and the first auxiliary coefficient to obtain a first logarithmic curve, so The calculation formula L 1 of the first logarithmic curve is:

L1=b1*(loga1(x+f1)-c1)L 1 =b 1 *(log a1 (x+f 1 )-c 1 )

T1=b1*(loga1(d1+f1)-c1)T 1 =b 1 *(log a1 (d 1 +f 1 )-c 1 )

0=b1*(loga1(f1)-c1)0=b 1 *(log a1 (f 1 )-c 1 )

其中,x是所述呼吸辅助类型是辅助吸氧时当前时间减去当前的所述吸气阶段的开始时间,x是个变量;b1是所述第一辅助系数,c1是所述第一偏移量,d1是所述第一预设吸气时长,f1是位移变量,T1是所述第一加压目标气压减去所述第一减压目标气压,a1大于1,所述第一偏移量是个常数,所述第一辅助系数是个大于0的常数,log()是对数函数。从而使开始加压的速度快,后续加压的速度慢。Wherein, x is the current time minus the current start time of the inhalation phase when the respiratory assistance type is assisted oxygen inhalation, x is a variable; b 1 is the first assistance coefficient, c 1 is the first Offset, d 1 is the first preset inhalation duration, f 1 is the displacement variable, T 1 is the first pressurization target air pressure minus the first decompression target air pressure, a1 is greater than 1, so The first offset is a constant, the first auxiliary coefficient is a constant greater than 0, and log() is a logarithmic function. As a result, the initial pressurization speed is fast and the subsequent pressurization speed is slow.

根据所述第一对数曲线控制所述呼吸辅助设备进行加压,也就是将第一对数曲线的计算公式L1的值乘以标准大气压,得到所述呼吸辅助设备的呼吸密闭舱中的气压的加压的变化趋势。从而使开始加压的速度快,后续加压的速度慢。The breathing assistance equipment is controlled to be pressurized according to the first logarithmic curve, that is, the value of the calculation formula L1 of the first logarithmic curve is multiplied by the standard atmospheric pressure to obtain the pressure in the breathing sealed chamber of the breathing assistance equipment. The changing trend of air pressure. As a result, the initial pressurization speed is fast and the subsequent pressurization speed is slow.

对于S3132,其中,可以从数据库中获取第一预设呼气时长,也可以获取用户输入的第一预设呼气时长,还可以是第三方应用系统发送的第一预设呼气时长,还可以将第一预设呼气时长写入实现本申请的程序文件中。For S3132, the first preset exhalation duration can be obtained from the database, or the first preset exhalation duration input by the user, or the first preset exhalation duration sent by the third-party application system, or The first preset exhalation duration can be written into the program file implementing the present application.

其中,可以从数据库中获取第二偏移量,也可以获取用户输入的第二偏移量,还可以是第三方应用系统发送的第二偏移量,还可以将第二偏移量写入实现本申请的程序文件中。Among them, the second offset can be obtained from the database, or the second offset input by the user, or the second offset sent by the third-party application system, or the second offset can be written into Implement the program files of this application.

其中,可以从数据库中获取第二辅助系数,也可以获取用户输入的第二辅助系数,还可以是第三方应用系统发送的第二辅助系数,还可以将第二辅助系数写入实现本申请的程序文件中。Among them, the second auxiliary coefficient can be obtained from the database, or the second auxiliary coefficient input by the user, or the second auxiliary coefficient sent by a third-party application system, or the second auxiliary coefficient can be written to implement the present application. in the program file.

其中,根据所述第一减压目标气压、所述第一预设呼气时长、所述第二偏移量和所述第二辅助系数进行对数曲线计算,得到第二对数曲线,所述第二对数曲线的的计算公式L2为:Wherein, a logarithmic curve is calculated according to the first decompression target air pressure, the first preset exhalation duration, the second offset and the second auxiliary coefficient to obtain a second logarithmic curve, so The calculation formula L 2 of the second logarithmic curve is:

L2=b2*(loga2(y+f2)-c2)L 2 =b 2 *(log a2 (y+f 2 )-c 2 )

0=b2*(loga2(d2+f2)-c2)0=b 2 *(log a2 (d 2 +f 2 )-c 2 )

T2=b2*(loga2(f2)-c2)T 2 =b 2 *(log a2 (f 2 )-c 2 )

其中,y是所述呼吸辅助类型是辅助吸氧时当前时间减去当前的所述呼气阶段的开始时间,y是个变量;b2是所述第二辅助系数,c2是所述第二偏移量,d2是所述第一预设呼气时长,f2是位移变量,T2是所述第一加压目标气压减去所述第一减压目标气压,a2大于0且小于1,所述第二偏移量是个常数,所述第二辅助系数是个大于0的常数,log()是对数函数。从而使开始减压的速度快,后续减压的的速度慢。Wherein, y is the current time minus the current start time of the exhalation phase when the respiratory assistance type is assisted oxygen inhalation, y is a variable; b 2 is the second assistance coefficient, c 2 is the second Offset, d 2 is the first preset exhalation duration, f 2 is the displacement variable, T 2 is the first pressurization target air pressure minus the first decompression target air pressure, a2 is greater than 0 and less than 1. The second offset is a constant, the second auxiliary coefficient is a constant greater than 0, and log() is a logarithmic function. This results in a faster initial decompression and a slower subsequent decompression.

根据所述第二对数曲线控制所述呼吸辅助设备进行减压,也就是将第二对数曲线的计算公式L2的值与1的值乘以标准大气压,得到所述呼吸辅助设备的呼吸密闭舱中的气压的减压的变化趋势。从而使开始减压的速度快,后续减压的速度慢。The breathing assistance equipment is controlled to decompress according to the second logarithmic curve, that is, the value of the calculation formula L 2 and the value of 1 of the second logarithmic curve are multiplied by the standard atmospheric pressure to obtain the breathing function of the breathing assistance equipment. The decompression trend of air pressure in a closed cabin. This results in a faster initial decompression and a slower subsequent decompression.

在一个实施例中,上述当所述呼吸阶段是所述吸气阶段时,根据所述第二减压目标气压控制所述呼吸辅助设备进行减压,当所述呼吸阶段是所述呼气阶段时,根据所述第二加压目标气压控制所述呼吸辅助设备进行加压的步骤,包括:In one embodiment, when the breathing phase is the inhalation phase, the breathing assistance device is controlled to decompress according to the second decompression target air pressure, and when the breathing phase is the exhalation phase When , the step of controlling the breathing assistance device to pressurize according to the second pressurization target air pressure includes:

S3231:当所述呼吸阶段是所述吸气阶段时,获取第二预设吸气时长、第三偏移量和第三辅助系数,根据所述第二减压目标气压、所述第二预设吸气时长、所述第三偏移量和所述第三辅助系数进行对数曲线计算,得到第三对数曲线,根据所述第三对数曲线控制所述呼吸辅助设备进行减压;S3231: When the breathing phase is the inhalation phase, obtain the second preset inhalation duration, the third offset and the third assist coefficient. According to the second decompression target air pressure, the second preset Suppose the inhalation duration, the third offset and the third assist coefficient are calculated using a logarithmic curve to obtain a third logarithmic curve, and the respiratory assistance device is controlled to decompress according to the third logarithmic curve;

S3232:当所述呼吸阶段是所述呼气阶段时,获取第二预设呼气时长、第四偏移量和第四辅助系数,根据所述第二加压目标气压、所述第二预设呼气时长、所述第四偏移量和所述第四辅助系数进行对数曲线计算,得到第四对数曲线,根据所述第四对数曲线控制所述呼吸辅助设备进行加压。S3232: When the breathing stage is the exhalation stage, obtain the second preset exhalation duration, the fourth offset and the fourth assist coefficient. According to the second pressurization target air pressure, the second preset Assuming the expiration duration, the fourth offset and the fourth assist coefficient, a logarithmic curve calculation is performed to obtain a fourth logarithmic curve, and the breathing assist device is controlled to perform pressurization according to the fourth logarithmic curve.

本实施例根据所述第二减压目标气压、所述第二预设吸气时长、所述第三偏移量和所述第三辅助系数进行对数曲线计算,得到第三对数曲线,从而使开始减压的速度快,后续减压的速度慢,符合锻炼肺部时的吸气习惯,从而提升了锻炼肺部的吸气能力;而且根据所述第二加压目标气压、所述第二预设呼气时长、所述第四偏移量和所述第四辅助系数进行对数曲线计算,得到第四对数曲线,从而使开始加压的速度快,后续加压的速度慢,符合锻炼肺部时的呼气习惯,从而提升了锻炼肺部的呼气能力。In this embodiment, logarithmic curve calculation is performed based on the second decompression target air pressure, the second preset inhalation duration, the third offset and the third assist coefficient to obtain a third logarithmic curve, Therefore, the initial decompression speed is fast and the subsequent decompression speed is slow, which is consistent with the inhalation habit when exercising the lungs, thereby improving the inhalation ability of the lungs; and according to the second pressurization target air pressure, the The second preset exhalation duration, the fourth offset and the fourth auxiliary coefficient are calculated using a logarithmic curve to obtain a fourth logarithmic curve, thereby making the initial pressurization speed faster and the subsequent pressurization speed slower. , in line with the exhalation habits when exercising the lungs, thus improving the exhalation ability of the lungs.

对于S3231,其中,可以从数据库中获取第二预设吸气时长,也可以获取用户输入的第二预设吸气时长,还可以是第三方应用系统发送的第二预设吸气时长,还可以将第二预设吸气时长写入实现本申请的程序文件中。For S3231, the second preset inhalation duration can be obtained from the database, the second preset inhalation duration input by the user, or the second preset inhalation duration sent by the third-party application system, or The second preset inhalation duration can be written into the program file implementing the present application.

其中,可以从数据库中获取第三偏移量,也可以获取用户输入的第三偏移量,还可以是第三方应用系统发送的第三偏移量,还可以将第三偏移量写入实现本申请的程序文件中。Among them, the third offset can be obtained from the database, or the third offset input by the user, or the third offset sent by the third-party application system, or the third offset can be written into Implement the program files of this application.

其中,可以从数据库中获取第三辅助系数,也可以获取用户输入的第三辅助系数,还可以是第三方应用系统发送的第三辅助系数,还可以将第三辅助系数写入实现本申请的程序文件中。Among them, the third auxiliary coefficient can be obtained from the database, the third auxiliary coefficient input by the user can also be obtained, or the third auxiliary coefficient sent by a third-party application system can also be written into the third auxiliary coefficient to implement the present application. in the program file.

其中,根据所述第二减压目标气压、所述第二预设吸气时长、所述第三偏移量和所述第三辅助系数进行对数曲线计算,得到第三对数曲线,所述第三对数曲线的计算公式L3为:Wherein, a logarithmic curve calculation is performed according to the second decompression target air pressure, the second preset inhalation duration, the third offset and the third assist coefficient to obtain a third logarithmic curve, so The calculation formula L 3 of the third logarithmic curve is:

L3=b3*(loga3(z+f3)-c3)L 3 =b 3 *(log a3 (z+f 3 )-c 3 )

0=b3*(loga3(d3+f3)-c3)0=b 3 *(log a3 (d 3 +f 3 )-c 3 )

T3=b3*(loga3(f3)-c3)T 3 =b 3 *(log a3 (f 3 )-c 3 )

其中,z是所述呼吸辅助类型是锻炼肺部时当前时间减去当前的所述吸气阶段的开始时间,z是个变量;b3是所述第三辅助系数,c3是所述第三偏移量,d3是所述第二预设吸气时长,f3是位移变量,T3是所述第二加压目标气压减去所述第二减压目标气压,a3大于0且小于1,所述第三偏移量是个常数,所述第三辅助系数是个大于0的常数,log()是对数函数。从而使开始减压的速度快,后续减压的速度慢。Where, z is the respiratory assistance type, which is the current time minus the current start time of the inhalation phase when exercising the lungs, z is a variable; b 3 is the third assistance coefficient, c 3 is the third Offset, d 3 is the second preset inhalation duration, f 3 is the displacement variable, T 3 is the second pressurization target air pressure minus the second decompression target air pressure, a3 is greater than 0 and less than 1. The third offset is a constant, the third auxiliary coefficient is a constant greater than 0, and log() is a logarithmic function. This results in a faster initial decompression and a slower subsequent decompression.

根据所述第三对数曲线控制所述呼吸辅助设备进行减压,也就是将第三对数曲线的计算公式L3的值乘以标准大气压,得到所述呼吸辅助设备的呼吸密闭舱中的气压的减压的变化趋势。从而使开始减压的速度快,后续减压的速度慢。The breathing assistance equipment is controlled to decompress according to the third logarithmic curve, that is, the value of the calculation formula L3 of the third logarithmic curve is multiplied by the standard atmospheric pressure to obtain the breathing assist equipment in the breathing sealed chamber. The changing trend of air pressure decompression. This results in a faster initial decompression and a slower subsequent decompression.

对于S3232,其中,可以从数据库中获取第二预设呼气时长,也可以获取用户输入的第二预设呼气时长,还可以是第三方应用系统发送的第二预设呼气时长,还可以将第二预设呼气时长写入实现本申请的程序文件中。For S3232, the second preset exhalation duration can be obtained from the database, the second preset exhalation duration input by the user, or the second preset exhalation duration sent by the third-party application system, or The second preset exhalation duration can be written into the program file implementing the present application.

其中,可以从数据库中获取第四偏移量,也可以获取用户输入的第四偏移量,还可以是第三方应用系统发送的第四偏移量,还可以将第四偏移量写入实现本申请的程序文件中。Among them, the fourth offset can be obtained from the database, or the fourth offset input by the user, or the fourth offset sent by the third-party application system, or the fourth offset can be written into Implement the program files of this application.

其中,可以从数据库中获取第四辅助系数,也可以获取用户输入的第四辅助系数,还可以是第三方应用系统发送的第四辅助系数,还可以将第四辅助系数写入实现本申请的程序文件中。Among them, the fourth auxiliary coefficient can be obtained from the database, or the fourth auxiliary coefficient input by the user, or the fourth auxiliary coefficient sent by a third-party application system, or the fourth auxiliary coefficient can be written to implement the present application. in the program file.

其中,根据所述第二加压目标气压、所述第二预设呼气时长、所述第四偏移量和所述第四辅助系数进行对数曲线计算,得到第四对数曲线,所述第四对数曲线的计算公式L4为:Wherein, a logarithmic curve is calculated according to the second pressurization target air pressure, the second preset exhalation duration, the fourth offset and the fourth auxiliary coefficient to obtain a fourth logarithmic curve, so The calculation formula L 4 of the fourth logarithmic curve is:

L4=b4*(loga4(p+f4)-c4)L 4 =b 4 *(log a4 (p+f 4 )-c 4 )

T4=b4*(loga4(d4+f4)-c4)T 4 =b 4 *(log a4 (d 4 +f 4 )-c 4 )

0=b4*(loga4(f4)-c4)0=b 4 *(log a4 (f 4 )-c 4 )

其中,p是所述呼吸辅助类型是锻炼肺部时当前时间减去当前的所述呼气阶段的开始时间,p是个变量;b4是所述第四辅助系数,c4是所述第四偏移量,d4是所述第二预设呼气时长,f4是位移变量,T4是所述第二加压目标气压减去所述第二减压目标气压,a4大于1,所述第四偏移量是个常数,所述第四辅助系数是个大于0的常数,log()是对数函数。从而使开始加压的速度快,后续加压的速度慢。Wherein, p is the respiratory assistance type, which is the current time minus the current start time of the exhalation phase when exercising the lungs, p is a variable; b 4 is the fourth assistance coefficient, c 4 is the fourth Offset, d 4 is the second preset exhalation duration, f 4 is the displacement variable, T 4 is the second pressurization target air pressure minus the second decompression target air pressure, a4 is greater than 1, so The fourth offset is a constant, the fourth auxiliary coefficient is a constant greater than 0, and log() is a logarithmic function. As a result, the initial pressurization speed is fast and the subsequent pressurization speed is slow.

根据所述第四对数曲线控制所述呼吸辅助设备进行加压,也就是将第四对数曲线的计算公式L4的值的值乘以标准大气压,得到所述呼吸辅助设备的呼吸密闭舱中的气压的加压的变化趋势。从而使开始加压的速度快,后续加压的速度慢。The breathing assistance equipment is controlled to be pressurized according to the fourth logarithmic curve, that is, the value of the calculation formula L 4 of the fourth logarithmic curve is multiplied by the standard atmospheric pressure to obtain the respiratory airtight chamber of the breathing assistance equipment. The changing trend of air pressure in the air pressure. As a result, the initial pressurization speed is fast and the subsequent pressurization speed is slow.

参照图2,本申请还提出了一种包围式呼吸辅助设备的气压控制装置,所述装置包括:Referring to Figure 2, this application also proposes an air pressure control device for an enveloping breathing assistance device, which device includes:

启动信号获取模块100,用于获取呼吸辅助启动信号;The start signal acquisition module 100 is used to acquire the respiratory assistance start signal;

呼吸辅助控制模块200,用于基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段,根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助,重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号。The respiratory assistance control module 200 is configured to obtain the respiratory assistance type and respiratory stage based on the respiratory assistance start signal, and control the respiratory assistance equipment to adjust the air pressure according to the respiratory assistance type and the respiratory stage, so as to realize the use of changing Use the air pressure to perform breathing assistance, and repeat the steps of obtaining the breathing assistance type and breathing stage until the breathing assistance end signal is obtained.

本实施例通过获取呼吸辅助启动信号,基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段,根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助,重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号,从而使呼吸辅助设备根据呼吸的动作调整气压,不用始终维持在最高的气压,在辅助吸氧模式下有利于二氧化碳的析出,在锻炼肺部模式下肺部的锻炼效果较好。In this embodiment, the breathing assistance start signal is obtained, the breathing assistance type and the breathing stage are obtained based on the breathing assistance starting signal, and the breathing assistance equipment is controlled to adjust the air pressure according to the breathing assistance type and the breathing stage, so as to realize the use of Perform breathing assistance with changing air pressure, and repeat the steps of obtaining the breathing assistance type and breathing stage until the breathing assistance end signal is obtained, so that the breathing assistance equipment adjusts the air pressure according to the breathing action without always maintaining the highest air pressure. The oxygen inhalation mode is beneficial to the precipitation of carbon dioxide, and the lung exercise mode has a better lung exercise effect.

本申请还提出了一种包围式呼吸辅助设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现一种包围式呼吸辅助设备的气压控制方法。所述包围式呼吸辅助设备的气压控制方法,包括:获取呼吸辅助启动信号;基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段;根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助;重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号。This application also proposes an enveloping respiratory assisting device, which includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, it implements an air pressure control method for the enclosing breathing assisting device. The air pressure control method of the enveloping breathing assistance equipment includes: acquiring a breathing assistance start signal; acquiring the breathing assistance type and breathing stage based on the breathing assistance starting signal; and controlling the breathing assistance according to the breathing assistance type and the breathing stage. The device performs air pressure adjustment to implement breathing assistance using changing air pressure; the steps of obtaining the breathing assistance type and breathing stage are repeatedly performed until the breathing assistance end signal is obtained.

本实施例通过获取呼吸辅助启动信号,基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段,根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助,重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号,从而使呼吸辅助设备根据呼吸的动作调整气压,不用始终维持在最高的气压,在辅助吸氧模式下有利于二氧化碳的析出,在锻炼肺部模式下肺部的锻炼效果较好。In this embodiment, the breathing assistance start signal is obtained, the breathing assistance type and the breathing stage are obtained based on the breathing assistance starting signal, and the breathing assistance equipment is controlled to adjust the air pressure according to the breathing assistance type and the breathing stage, so as to realize the use of Perform breathing assistance with changing air pressure, and repeat the steps of obtaining the breathing assistance type and breathing stage until the breathing assistance end signal is obtained, so that the breathing assistance equipment adjusts the air pressure according to the breathing action without always maintaining the highest air pressure. The oxygen inhalation mode is beneficial to the precipitation of carbon dioxide, and the lung exercise mode has a better lung exercise effect.

参照图3,本申请实施例中还提供一种计算机设备,该计算机设备可以是服务器,其内部结构可以如图3所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设计的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于储存包围式呼吸辅助设备的气压控制方法等数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种包围式呼吸辅助设备的气压控制方法。所述包围式呼吸辅助设备的气压控制方法,包括:获取呼吸辅助启动信号;基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段;根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助;重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号。Referring to FIG. 3 , an embodiment of the present application also provides a computer device. The computer device may be a server, and its internal structure may be as shown in FIG. 3 . The computer device includes a processor, memory, network interface, and database connected through a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes non-volatile storage media and internal memory. The non-volatile storage medium stores operating systems, computer programs and databases. This memory provides an environment for the operation of operating systems and computer programs in non-volatile storage media. The database of the computer device is used to store data such as the air pressure control method of the enveloping breathing assistance device. The network interface of the computer device is used to communicate with external terminals through a network connection. The computer program, when executed by a processor, implements an air pressure control method for an enveloping breathing assistance device. The air pressure control method of the enveloping breathing assistance equipment includes: acquiring a breathing assistance start signal; acquiring the breathing assistance type and breathing stage based on the breathing assistance starting signal; and controlling the breathing assistance according to the breathing assistance type and the breathing stage. The device performs air pressure adjustment to implement breathing assistance using changing air pressure; the steps of obtaining the breathing assistance type and breathing stage are repeatedly performed until the breathing assistance end signal is obtained.

本实施例通过获取呼吸辅助启动信号,基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段,根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助,重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号,从而使呼吸辅助设备根据呼吸的动作调整气压,不用始终维持在最高的气压,在辅助吸氧模式下有利于二氧化碳的析出,在锻炼肺部模式下肺部的锻炼效果较好。In this embodiment, the breathing assistance start signal is obtained, the breathing assistance type and the breathing stage are obtained based on the breathing assistance starting signal, and the breathing assistance equipment is controlled to adjust the air pressure according to the breathing assistance type and the breathing stage, so as to realize the use of Perform breathing assistance with changing air pressure, and repeat the steps of obtaining the breathing assistance type and breathing stage until the breathing assistance end signal is obtained, so that the breathing assistance equipment adjusts the air pressure according to the breathing action without always maintaining the highest air pressure. The oxygen inhalation mode is beneficial to the precipitation of carbon dioxide, and the lung exercise mode has a better lung exercise effect.

本申请一实施例还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现一种包围式呼吸辅助设备的气压控制方法,包括步骤:获取呼吸辅助启动信号;基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段;当所述呼吸辅助类型是辅助吸氧时,获取第一加压目标气压和第一减压目标气压,当所述呼吸阶段是吸气阶段时,根据所述第一加压目标气压控制所述呼吸辅助设备进行加压,当所述呼吸阶段是呼气阶段时,根据所述第一减压目标气压控制所述呼吸辅助设备进行减压;当所述呼吸辅助类型是锻炼肺部时,获取第二加压目标气压和第二减压目标气压,当所述呼吸阶段是所述吸气阶段时,根据所述第二减压目标气压控制所述呼吸辅助设备进行减压,当所述呼吸阶段是所述呼气阶段时,根据所述第二加压目标气压控制所述呼吸辅助设备进行加压;重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号。An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, a method for controlling air pressure of an enveloping breathing assistance device is implemented, including the steps of: obtaining a breathing assistance start signal. ; Based on the respiratory assistance start signal, obtain the respiratory assistance type and breathing stage; when the respiratory assistance type is assisted oxygen inhalation, obtain the first pressurization target air pressure and the first decompression target air pressure, and when the breathing stage is During the inhalation phase, the breathing assistance device is controlled to be pressurized according to the first pressurization target air pressure. When the breathing phase is the exhalation phase, the breathing assistance device is controlled according to the first decompression target air pressure. Perform decompression; when the breathing assistance type is lung exercise, obtain a second pressurization target air pressure and a second decompression target air pressure; when the breathing phase is the inhalation phase, obtain the second pressurization target air pressure according to the second decompression phase. Pressing the target air pressure controls the respiratory auxiliary equipment to perform decompression. When the breathing phase is the exhalation phase, controls the breathing auxiliary equipment to perform pressurization according to the second pressurization target air pressure; repeatedly perform the acquisition Breathing assistance type, breathing phase steps, until obtaining the breathing assistance end signal.

上述执行的包围式呼吸辅助设备的气压控制方法,通过获取呼吸辅助启动信号,基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段,根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助,重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号,从而使呼吸辅助设备根据呼吸的动作调整气压,不用始终维持在最高的气压,在辅助吸氧模式下有利于二氧化碳的析出,在锻炼肺部模式下肺部的锻炼效果较好。The air pressure control method of the enveloping breathing assistance equipment performed above obtains the breathing assistance start signal, obtains the breathing assistance type and breathing stage based on the breathing assistance starting signal, and controls the breathing assistance according to the breathing assistance type and the breathing stage. The device performs air pressure adjustment to achieve breathing assistance using changing air pressure, and repeatedly performs the steps of obtaining the breathing assistance type and breathing stage until the breathing assistance end signal is obtained, so that the breathing assistance device adjusts the air pressure according to the breathing action, There is no need to always maintain the highest air pressure. The assisted oxygen inhalation mode is conducive to the release of carbon dioxide, and the lung exercise mode has a better lung exercise effect.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的和实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双速据率SDRAM(SSRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage. In the media, when executed, the computer program may include the processes of the above method embodiments. Any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and/or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration, and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。It should be noted that, in this document, the terms "comprising", "comprising" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, device, article or method that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, apparatus, article or method. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, apparatus, article or method that includes that element.

以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of the present application, or directly or indirectly used in other related The technical fields are all equally included in the scope of patent protection of this application.

Claims (11)

1.一种包围式呼吸辅助设备,其特征在于,所述包围式呼吸辅助设备配置为实现一种气压控制方法,所述方法包括:1. An enveloping breathing assistance device, characterized in that the enclosing breathing assisting device is configured to implement an air pressure control method, the method comprising: 获取呼吸辅助启动信号;Obtain the breathing assistance start signal; 基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段;Based on the respiratory assistance start signal, obtain the respiratory assistance type and respiratory stage; 根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助,包括:当所述呼吸辅助类型是辅助吸氧时,获取第一加压目标气压和第一减压目标气压,当所述呼吸阶段是吸气阶段时,获取第一预设吸气时长、第一偏移量和第一辅助系数,根据所述第一加压目标气压、所述第一预设吸气时长、所述第一偏移量和所述第一辅助系数进行对数曲线计算,得到第一对数曲线,根据所述第一对数曲线控制所述呼吸辅助设备进行加压;当所述呼吸阶段是呼气阶段时,获取第一预设呼气时长、第二偏移量和第二辅助系数,根据所述第一减压目标气压、所述第一预设呼气时长、所述第二偏移量和所述第二辅助系数进行对数曲线计算,得到第二对数曲线,根据所述第二对数曲线控制所述呼吸辅助设备进行减压;According to the breathing assistance type and the breathing stage, the breathing assistance equipment is controlled to adjust the air pressure to achieve breathing assistance using changing air pressure, including: when the breathing assistance type is assisted oxygen inhalation, obtaining the first pressurization The target air pressure and the first decompression target air pressure. When the breathing phase is the inhalation phase, the first preset inhalation duration, the first offset and the first assist coefficient are obtained. According to the first pressurization target air pressure , the first preset inhalation duration, the first offset and the first auxiliary coefficient are calculated using a logarithmic curve to obtain a first logarithmic curve, and the breathing is controlled according to the first logarithmic curve The auxiliary equipment performs pressurization; when the breathing stage is the exhalation stage, the first preset exhalation duration, the second offset and the second assist coefficient are obtained, and according to the first decompression target air pressure, the third A preset exhalation duration, the second offset and the second assist coefficient are calculated using a logarithmic curve to obtain a second logarithmic curve, and the breathing assistance device is controlled according to the second logarithmic curve to perform reduction. pressure; 重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号;所述呼吸辅助类型包括辅助吸氧和锻炼肺部。Repeat the steps of obtaining the breathing assistance type and breathing stage until the breathing assistance end signal is obtained; the breathing assistance type includes assisting oxygen inhalation and exercising the lungs. 2.根据权利要求1所述的包围式呼吸辅助设备,其特征在于,所述根据所述呼吸辅助类型、所述呼吸阶段控制所述呼吸辅助设备进行呼吸辅助的步骤,包括:2. The enveloping breathing assistance device according to claim 1, wherein the step of controlling the breathing assistance device to perform breathing assistance according to the breathing assistance type and the breathing stage includes: 当所述呼吸辅助类型是锻炼肺部时,获取第二加压目标气压和第二减压目标气压,当所述呼吸阶段是所述吸气阶段时,根据所述第二减压目标气压控制所述呼吸辅助设备进行减压,当所述呼吸阶段是所述呼气阶段时,根据所述第二加压目标气压控制所述呼吸辅助设备进行加压。When the breathing assistance type is lung exercise, a second pressurization target air pressure and a second decompression target air pressure are obtained, and when the breathing phase is the inhalation phase, control is performed according to the second decompression target air pressure. The breathing assistance device performs decompression, and when the breathing phase is the exhalation phase, the breathing assistance device is controlled to perform pressurization according to the second pressurization target air pressure. 3.根据权利要求2所述的包围式呼吸辅助设备,其特征在于,所述获取呼吸辅助启动信号的步骤,包括:3. The enveloping breathing assistance device according to claim 2, wherein the step of obtaining the breathing assistance start signal includes: 获取呼吸辅助准备信号;Obtain respiratory assistance preparation signal; 基于所述呼吸辅助准备信号,获取所述呼吸辅助类型;Based on the respiratory assistance preparation signal, obtain the respiratory assistance type; 根据所述呼吸辅助类型获取预设目标平均气压;Obtain the preset target average air pressure according to the respiratory assistance type; 采用所述预设目标平均气压,控制所述呼吸辅助设备建立目标平均气压,得到目标平均气压建立结束信号;Using the preset target average air pressure, control the breathing assistance equipment to establish the target average air pressure, and obtain a target average air pressure establishment end signal; 基于所述目标平均气压建立结束信号,生成所述呼吸辅助启动信号。The respiratory assistance start signal is generated based on the target average air pressure establishment end signal. 4.根据权利要求3所述的包围式呼吸辅助设备,其特征在于,所述获取第一加压目标气压和第一减压目标气压的步骤,包括:4. The enveloping breathing assistance device according to claim 3, wherein the step of obtaining the first pressurization target air pressure and the first decompression target air pressure includes: 根据所述呼吸辅助类型和所述预设目标平均气压,获取所述第一加压目标气压和所述第一减压目标气压,其中,所述第一加压目标气压和所述第一减压目标气压的平均值,与所述预设目标平均气压相等;The first pressurization target air pressure and the first decompression target air pressure are obtained according to the breathing assistance type and the preset target average air pressure, wherein the first pressurization target air pressure and the first decompression target air pressure are obtained. The average value of the target air pressure is equal to the preset target average air pressure; 所述获取第二加压目标气压和第二减压目标气压的步骤,包括:The step of obtaining the second pressurization target air pressure and the second decompression target air pressure includes: 根据所述呼吸辅助类型和所述预设目标平均气压,获取所述第二加压目标气压和所述第二减压目标气压,其中,所述第二加压目标气压和所述第二减压目标气压的平均值,与所述预设目标平均气压相等。The second pressurization target air pressure and the second decompression target air pressure are obtained according to the breathing assistance type and the preset target average air pressure, wherein the second pressurization target air pressure and the second decompression target air pressure are obtained. The average value of the target air pressure is equal to the preset target average air pressure. 5.根据权利要求1所述的包围式呼吸辅助设备,其特征在于,所述获取呼吸辅助类型、呼吸阶段的步骤,包括:5. The enveloping breathing assistance device according to claim 1, characterized in that the step of obtaining the breathing assistance type and breathing stage includes: 获取所述呼吸辅助类型;Get the respiratory assistance type; 根据所述呼吸辅助类型,获取呼吸时长与阶段对应表;According to the breathing assistance type, obtain a breathing duration and stage correspondence table; 获取所述呼吸辅助启动信号的启动信号发送时间;Obtain the start signal sending time of the respiratory assistance start signal; 获取当前时间;Get the current time; 将所述当前时间减去所述启动信号发送时间,得到待分析的时长;Subtract the start signal sending time from the current time to obtain the duration to be analyzed; 将所述待分析的时长在所述呼吸时长与阶段对应表中进行匹配,得到所述呼吸阶段。The duration to be analyzed is matched in the respiratory duration and stage correspondence table to obtain the respiratory stage. 6.根据权利要求1所述的包围式呼吸辅助设备,其特征在于,所述获取呼吸辅助类型、呼吸阶段的步骤,还包括:6. The enveloping breathing assistance device according to claim 1, characterized in that the step of obtaining the breathing assistance type and breathing stage further includes: 获取所述呼吸辅助类型;Get the respiratory assistance type; 获取呼吸追踪传感器按预设时间间隔发送的传感器测量信号;Obtain sensor measurement signals sent by the respiration tracking sensor at preset time intervals; 根据所述呼吸辅助类型和所述传感器测量信号进行判断,得到所述呼吸阶段。The respiratory stage is obtained by making a judgment based on the respiratory assistance type and the sensor measurement signal. 7.根据权利要求1所述的包围式呼吸辅助设备,其特征在于,所述当所述呼吸阶段是吸气阶段时,根据所述第一加压目标气压控制所述呼吸辅助设备进行加压的步骤,包括:7. The encircling breathing assistance device according to claim 1, wherein when the breathing phase is an inhalation phase, the breathing assistance device is controlled to perform pressurization according to the first pressurization target air pressure. The steps include: 获取所述呼气阶段的呼气结束信号,基于所述呼气结束信号,获取并播放吸气开始提示语音信号,并且根据所述第一加压目标气压控制所述呼吸辅助设备进行加压;Obtain the expiration end signal of the expiration stage, obtain and play the inhalation start prompt voice signal based on the expiration end signal, and control the breathing assistance device to perform pressurization according to the first pressurization target air pressure; 所述当所述呼吸阶段是呼气阶段时,根据所述第一减压目标气压控制所述呼吸辅助设备进行减压的步骤,包括:The step of controlling the breathing assistance device to decompress according to the first decompression target air pressure when the breathing phase is the exhalation phase includes: 获取所述吸气阶段的吸气结束信号,基于所述吸气结束信号,获取并播放呼气开始提示语音信号,并且根据所述第一减压目标气压控制所述呼吸辅助设备进行减压。Obtain the inhalation end signal of the inhalation stage, obtain and play the exhalation start prompt voice signal based on the inhalation end signal, and control the breathing assistance device to decompress according to the first decompression target air pressure. 8.根据权利要求1所述的包围式呼吸辅助设备,其特征在于,所述根据所述第一加压目标气压、所述第一预设吸气时长、所述第一偏移量和所述第一辅助系数进行对数曲线计算,得到第一对数曲线的步骤,所述第一对数曲线的计算公式L1为:8. The enveloping breathing assistance device according to claim 1, characterized in that, according to the first pressurized target air pressure, the first preset inhalation duration, the first offset and the The step of calculating the logarithmic curve with the first auxiliary coefficient to obtain the first logarithmic curve. The calculation formula L1 of the first logarithmic curve is: L1=b1*(loga1(x+f1)-c1)L 1 =b 1 *(log a1 (x+f 1 )-c 1 ) T1=b1*(loga1(d1+f1)-c1)T 1 =b 1 *(log a1 (d 1 +f 1 )-c 1 ) 0=b1*(loga1(f1)-c1)0=b 1 *(log a1 (f 1 )-c 1 ) 其中,x是所述呼吸辅助类型是辅助吸氧时当前时间减去当前的所述吸气阶段的开始时间,x是个变量;b1是所述第一辅助系数,c1是所述第一偏移量,d1是所述第一预设吸气时长,f1是位移变量,T1是所述第一加压目标气压减去所述第一减压目标气压,a1大于1,所述第一偏移量是个常数,所述第一辅助系数是个大于0的常数,log()是对数函数;Wherein, x is the current time minus the current start time of the inhalation phase when the respiratory assistance type is assisted oxygen inhalation, x is a variable; b 1 is the first assistance coefficient, c 1 is the first Offset, d 1 is the first preset inhalation duration, f 1 is the displacement variable, T 1 is the first pressurization target air pressure minus the first decompression target air pressure, a1 is greater than 1, so The first offset is a constant, the first auxiliary coefficient is a constant greater than 0, and log() is a logarithmic function; 所述根据所述第一减压目标气压、所述第一预设呼气时长、所述第二偏移量和所述第二辅助系数进行对数曲线计算,得到第二对数曲线的步骤,所述第二对数曲线的的计算公式L2为:The step of calculating a logarithmic curve based on the first decompression target air pressure, the first preset exhalation duration, the second offset and the second auxiliary coefficient to obtain a second logarithmic curve , the calculation formula L 2 of the second logarithmic curve is: L2=b2*(loga2(y+f2)-c2)L 2 =b 2 *(log a2 (y+f 2 )-c 2 ) 0=b2*(loga2(d2+f2)-c2)0=b 2 *(log a2 (d 2 +f 2 )-c 2 ) T2=b2*(loga2(f2)-c2)T 2 =b 2 *(log a2 (f 2 )-c 2 ) 其中,y是所述呼吸辅助类型是辅助吸氧时当前时间减去当前的所述呼气阶段的开始时间,y是个变量;b2是所述第二辅助系数,c2是所述第二偏移量,d2是所述第一预设呼气时长,f2是位移变量,T2是所述第一加压目标气压减去所述第一减压目标气压,a2大于0且小于1,所述第二偏移量是个常数,所述第二辅助系数是个大于0的常数,log()是对数函数。Wherein, y is the current time minus the current start time of the exhalation phase when the respiratory assistance type is assisted oxygen inhalation, y is a variable; b 2 is the second assistance coefficient, c 2 is the second Offset, d 2 is the first preset exhalation duration, f 2 is the displacement variable, T 2 is the first pressurization target air pressure minus the first decompression target air pressure, a2 is greater than 0 and less than 1. The second offset is a constant, the second auxiliary coefficient is a constant greater than 0, and log() is a logarithmic function. 9.根据权利要求2所述的包围式呼吸辅助设备,其特征在于,所述当所述呼吸阶段是所述吸气阶段时,根据所述第二减压目标气压控制所述呼吸辅助设备进行减压,当所述呼吸阶段是所述呼气阶段时,根据所述第二加压目标气压控制所述呼吸辅助设备进行加压的步骤,包括:9. The enveloping breathing assisting device according to claim 2, wherein when the breathing phase is the inhalation phase, the breathing assisting device is controlled according to the second decompression target air pressure. Pressure reduction, when the breathing phase is the exhalation phase, the step of controlling the breathing assistance device to pressurize according to the second pressurization target air pressure includes: 当所述呼吸阶段是所述吸气阶段时,获取第二预设吸气时长、第三偏移量和第三辅助系数,根据所述第二减压目标气压、所述第二预设吸气时长、所述第三偏移量和所述第三辅助系数进行对数曲线计算,得到第三对数曲线,根据所述第三对数曲线控制所述呼吸辅助设备进行减压;When the breathing phase is the inhalation phase, a second preset inhalation duration, a third offset and a third assist coefficient are obtained. According to the second decompression target air pressure, the second preset inhalation The breath duration, the third offset and the third assist coefficient are calculated using a logarithmic curve to obtain a third logarithmic curve, and the breathing assistance device is controlled to decompress according to the third logarithmic curve; 当所述呼吸阶段是所述呼气阶段时,获取第二预设呼气时长、第四偏移量和第四辅助系数,根据所述第二加压目标气压、所述第二预设呼气时长、所述第四偏移量和所述第四辅助系数进行对数曲线计算,得到第四对数曲线,根据所述第四对数曲线控制所述呼吸辅助设备进行加压。When the breathing phase is the exhalation phase, a second preset exhalation duration, a fourth offset and a fourth assist coefficient are obtained, and according to the second pressurization target air pressure, the second preset exhalation The breath duration, the fourth offset and the fourth assist coefficient are calculated using a logarithmic curve to obtain a fourth logarithmic curve, and the breathing assist device is controlled to perform pressurization according to the fourth logarithmic curve. 10.根据权利要求9所述的包围式呼吸辅助设备,其特征在于,根据所述第二减压目标气压、所述第二预设吸气时长、所述第三偏移量和所述第三辅助系数进行对数曲线计算,得到第三对数曲线的步骤,所述第三对数曲线的计算公式L3为:10. The enveloping breathing assistance device according to claim 9, characterized in that, according to the second decompression target air pressure, the second preset inhalation duration, the third offset and the third The steps of calculating the logarithmic curve with three auxiliary coefficients to obtain the third logarithmic curve. The calculation formula L3 of the third logarithmic curve is: L3=b3*(loga3(z+f3)-c3)L 3 =b 3 *(log a3 (z+f 3 )-c 3 ) 0=b3*(loga3(d3+f3)-c3)0=b 3 *(log a3 (d 3 +f 3 )-c 3 ) T3=b3*(loga3(f3)-c3)T 3 =b 3 *(log a3 (f 3 )-c 3 ) 其中,z是所述呼吸辅助类型是锻炼肺部时当前时间减去当前的所述吸气阶段的开始时间,z是个变量;b3是所述第三辅助系数,c3是所述第三偏移量,d3是所述第二预设吸气时长,f3是位移变量,T3是所述第二加压目标气压减去所述第二减压目标气压,a3大于0且小于1,所述第三偏移量是个常数,所述第三辅助系数是个大于0的常数,log()是对数函数;Where, z is the respiratory assistance type, which is the current time minus the current start time of the inhalation phase when exercising the lungs, z is a variable; b 3 is the third assistance coefficient, c 3 is the third Offset, d 3 is the second preset inhalation duration, f 3 is the displacement variable, T 3 is the second pressurization target air pressure minus the second decompression target air pressure, a3 is greater than 0 and less than 1. The third offset is a constant, the third auxiliary coefficient is a constant greater than 0, and log() is a logarithmic function; 根据所述第二加压目标气压、所述第二预设呼气时长、所述第四偏移量和所述第四辅助系数进行对数曲线计算,得到第四对数曲线的步骤,所述第四对数曲线的计算公式L4为:The step of calculating a logarithmic curve according to the second pressurization target air pressure, the second preset exhalation duration, the fourth offset and the fourth auxiliary coefficient to obtain a fourth logarithmic curve. The calculation formula L 4 of the fourth logarithmic curve is: L4=b4*(loga4(p+f4)-c4)L 4 =b 4 *(log a4 (p+f 4 )-c 4 ) T4=b4*(loga4(d4+f4)-c4)T 4 =b 4 *(log a4 (d 4 +f 4 )-c 4 ) 0=b4*(loga4(f4)-c4)0=b 4 *(log a4 (f 4 )-c 4 ) 其中,p是所述呼吸辅助类型是锻炼肺部时当前时间减去当前的所述呼气阶段的开始时间,p是个变量;b4是所述第四辅助系数,c4是所述第四偏移量,d4是所述第二预设呼气时长,f4是位移变量,T4是所述第二加压目标气压减去所述第二减压目标气压,a4大于1,所述第四偏移量是个常数,所述第四辅助系数是个大于0的常数,log()是对数函数。Wherein, p is the respiratory assistance type, which is the current time minus the current start time of the exhalation phase when exercising the lungs, p is a variable; b 4 is the fourth assistance coefficient, c 4 is the fourth Offset, d 4 is the second preset exhalation duration, f 4 is the displacement variable, T 4 is the second pressurization target air pressure minus the second decompression target air pressure, a4 is greater than 1, so The fourth offset is a constant, the fourth auxiliary coefficient is a constant greater than 0, and log() is a logarithmic function. 11.一种包围式呼吸辅助设备的气压控制装置,其特征在于,所述装置包括:11. An air pressure control device for enveloping breathing assistance equipment, characterized in that the device includes: 启动信号获取模块,用于获取呼吸辅助启动信号;Start signal acquisition module, used to obtain the respiratory assistance start signal; 呼吸辅助控制模块,用于基于所述呼吸辅助启动信号,获取呼吸辅助类型、呼吸阶段,根据所述呼吸辅助类型、所述呼吸阶段控制呼吸辅助设备进行气压调整,以用于实现采用变动的气压进行呼吸辅助,包括:当所述呼吸辅助类型是辅助吸氧时,获取第一加压目标气压和第一减压目标气压,当所述呼吸阶段是吸气阶段时,获取第一预设吸气时长、第一偏移量和第一辅助系数,根据所述第一加压目标气压、所述第一预设吸气时长、所述第一偏移量和所述第一辅助系数进行对数曲线计算,得到第一对数曲线,根据所述第一对数曲线控制所述呼吸辅助设备进行加压;当所述呼吸阶段是呼气阶段时,获取第一预设呼气时长、第二偏移量和第二辅助系数,根据所述第一减压目标气压、所述第一预设呼气时长、所述第二偏移量和所述第二辅助系数进行对数曲线计算,得到第二对数曲线,根据所述第二对数曲线控制所述呼吸辅助设备进行减压;重复执行所述获取呼吸辅助类型、呼吸阶段的步骤,直至获取呼吸辅助结束信号;所述呼吸辅助类型包括辅助吸氧和锻炼肺部。A breathing assistance control module, configured to obtain the breathing assistance type and breathing stage based on the breathing assistance start signal, and control the breathing assistance equipment to adjust the air pressure according to the breathing assistance type and the breathing stage to achieve the use of changing air pressure. Performing breathing assistance includes: when the breathing assistance type is assisted oxygen inhalation, obtaining a first pressurization target air pressure and a first decompression target air pressure; when the breathing phase is an inhalation phase, acquiring a first preset inhalation The inhalation duration, the first offset and the first assist coefficient are compared according to the first pressurization target air pressure, the first preset inhalation duration, the first offset and the first assist coefficient. Calculate the logarithmic curve to obtain the first logarithmic curve, and control the breathing assistance device to pressurize according to the first logarithmic curve; when the breathing stage is the exhalation stage, obtain the first preset exhalation duration, the Two offsets and a second assist coefficient, a logarithmic curve calculation is performed based on the first decompression target air pressure, the first preset exhalation duration, the second offset and the second assist coefficient, Obtain a second logarithmic curve, control the breathing assistance device to decompress according to the second logarithmic curve; repeat the steps of obtaining the breathing assistance type and breathing stage until the breathing assistance end signal is obtained; the breathing assistance Types include assisted oxygen and lung exercises.
CN202110182773.6A 2021-02-07 2021-02-07 Air pressure control method, device, equipment and medium of surrounding type breathing auxiliary equipment Expired - Fee Related CN113018615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110182773.6A CN113018615B (en) 2021-02-07 2021-02-07 Air pressure control method, device, equipment and medium of surrounding type breathing auxiliary equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110182773.6A CN113018615B (en) 2021-02-07 2021-02-07 Air pressure control method, device, equipment and medium of surrounding type breathing auxiliary equipment

Publications (2)

Publication Number Publication Date
CN113018615A CN113018615A (en) 2021-06-25
CN113018615B true CN113018615B (en) 2023-10-03

Family

ID=76461345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110182773.6A Expired - Fee Related CN113018615B (en) 2021-02-07 2021-02-07 Air pressure control method, device, equipment and medium of surrounding type breathing auxiliary equipment

Country Status (1)

Country Link
CN (1) CN113018615B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1607016A (en) * 2003-09-17 2005-04-20 迪泰斯-欧米达公司 Method and system for integrating ventilator and medical device activities
CN106667706A (en) * 2017-02-24 2017-05-17 湖南泰瑞医疗科技有限公司 Inflatable convalescent cabin and forming method thereof
WO2017079884A1 (en) * 2015-11-10 2017-05-18 关开泮 Cpap equipment used with cpap therapeutic cabin
CN109498324A (en) * 2018-12-26 2019-03-22 洛阳恒佳机车电器有限公司 A kind of intelligence oxygen health cabin and closing method
EP3488887A1 (en) * 2016-08-03 2019-05-29 Metran Co., Ltd. Respiratory assistance program and respiratory assistance device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9592171B2 (en) * 2011-08-25 2017-03-14 Undersea Breathing Systems, Inc. Hyperbaric chamber system and related methods

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1607016A (en) * 2003-09-17 2005-04-20 迪泰斯-欧米达公司 Method and system for integrating ventilator and medical device activities
WO2017079884A1 (en) * 2015-11-10 2017-05-18 关开泮 Cpap equipment used with cpap therapeutic cabin
EP3488887A1 (en) * 2016-08-03 2019-05-29 Metran Co., Ltd. Respiratory assistance program and respiratory assistance device
CN106667706A (en) * 2017-02-24 2017-05-17 湖南泰瑞医疗科技有限公司 Inflatable convalescent cabin and forming method thereof
CN109498324A (en) * 2018-12-26 2019-03-22 洛阳恒佳机车电器有限公司 A kind of intelligence oxygen health cabin and closing method

Also Published As

Publication number Publication date
CN113018615A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
US7275542B2 (en) Bag-valve resuscitation for treatment of hypotension, head trauma, and cardiac arrest
CA2092703C (en) Arterial co2 monitor and closed loop controller
JP3819075B2 (en) Ventilator and method for controlling a ventilator
US12023440B2 (en) Ventilator apparatus and method for operating a ventilator in said ventilator apparatus
US20080047555A1 (en) Bag-valve resuscitation for treating of hypotension, head trauma, and cardiac arrest
RU2606663C2 (en) System and method for insufflation and exsufflation of patient
CA2804080C (en) System and method for measuring the mechanical impedance of the respiratory system
CN118430751B (en) Pain relieving system based on breath detection, realizing method, device and medium
US20160228660A1 (en) System and method for controlling exsufflation pressure during in-exsufflation
CN117642203A (en) Ventilation control method and device
JP6941095B2 (en) Mechanical ventilation that automatically controls the patient's respiratory work with classical feedback control
CN113018615B (en) Air pressure control method, device, equipment and medium of surrounding type breathing auxiliary equipment
JP2018528023A (en) Method and system for estimating patient circuit compliance in the presence of a leak
Poon et al. A device to provide respiratory-mechanical unloading
CN112869730A (en) Air pressure control method, device and equipment of breathing assistance equipment and storage medium
JP7081075B2 (en) Monitor system control method, monitor system and program
EP3801716A1 (en) Ventilation pattern for hemodynamic parameter determination during mechanical ventilation
CN109890444B (en) Automatic adjustment of patient expiratory pressure
Misurya Physiologic eustachian tube inflation
CN118807050B (en) Method, device, medium and equipment for determining respiratory mechanics parameters under mechanical ventilation
CN118286550B (en) Mechanical ventilation control method and device for ventilator, ventilator and medium
CN118416352A (en) Method and device for controlling gas flow rate of breathing machine and breathing machine
WO2024057486A1 (en) Exhalation-inducing device, method, and program
CN120322970A (en) Compression mechanism for therapy data
CN115920236A (en) Respiration analysis device and external diaphragm pacemaker

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20231003

CF01 Termination of patent right due to non-payment of annual fee