Vehicle oxygen supply method and vehicle

By using vehicle speed and exercise intensity data to correct seat belt pressure data in the in-vehicle oxygen generator, the problem of inaccurate oxygen supply caused by breathing rate deviation has been solved, achieving more accurate oxygen supply control and improving user safety and comfort.

CN120986154APending Publication Date: 2025-11-21GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511364971.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-23
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

Existing vehicle-mounted oxygen generators have inaccurate operating data during oxygen supply due to deviations in breathing frequency, which cannot meet users' oxygen needs and poses a safety hazard.

Method used

By acquiring vehicle speed data and user exercise intensity data, seat belt pressure data is corrected to determine a more accurate breathing rate, thereby controlling the operating parameters of the oxygen supply device.

Benefits of technology

It improves the accuracy of the operating parameters of the oxygen supply device, ensures that the oxygen supply volume and mode match the user's needs, and enhances the intelligence and safety of oxygen supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120986154A_ABST
    Figure CN120986154A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle oxygen supply method and a vehicle, and relates to the technical field of oxygen supply. The method comprises the steps that target data and original pressure data are obtained, the target data comprise vehicle speed data of a vehicle where a target user is located and / or motion intensity data of the target user, and the original pressure data represent collected pressure data of a safety belt used by the target user when the target user breathes; correcting the original pressure data based on the target data to obtain target pressure data; on the basis of the target pressure data, the breathing frequency of the target user is determined; and controlling an oxygen supply device in the vehicle to supply oxygen to the target user based on the breathing frequency. Based on the scheme, the accuracy of the operation parameters can be improved, so that when the oxygen supply device operates with more accurate operation parameters, the requirement of a user for oxygen can be met to the maximum extent.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of oxygen supply, in particular to a vehicle oxygen supply method and vehicle in the technical field of oxygen supply. BACKGROUND

[0002] In order to avoid hypoxia of the user in the vehicle, an in-vehicle oxygen generator can be configured on the vehicle to supply oxygen in the vehicle. When oxygen is supplied in the vehicle by the in-vehicle oxygen generator, the oxygen supply amount and the oxygen supply mode of the in-vehicle oxygen generator need to be adjusted according to the breathing frequency of the user.

[0003] If there is a large deviation in the breathing frequency, the operation data (such as the oxygen supply amount and the oxygen supply mode) of the in-vehicle oxygen generator adjusted according to the breathing frequency will also deviate. When the in-vehicle oxygen generator supplies oxygen to the user according to the operation data with deviation, the in-vehicle oxygen generator may not be able to meet the user's demand for oxygen, which threatens the user's life safety.

[0004] Therefore, how to improve the accuracy of the operation data of the in-vehicle oxygen generator is a problem to be solved at present. SUMMARY

[0005] The present application provides a vehicle oxygen supply method and vehicle, which can improve the accuracy of the operation parameters, so that when the oxygen supply device operates according to the more accurate operation parameters, the user's demand for oxygen can be met to the greatest extent.

[0006] In a first aspect, the present application provides a vehicle oxygen supply method, which comprises:

[0007] obtaining target data and original pressure data, wherein the target data comprises vehicle speed data of a vehicle in which a target user is located and / or motion intensity data of the target user, and the original pressure data represents pressure data of a safety belt used by the target user when the target user breathes;

[0008] correcting the original pressure data based on the target data to obtain target pressure data;

[0009] determining the breathing frequency of the target user based on the target pressure data;

[0010] controlling an oxygen supply device in the vehicle to supply oxygen to the target user based on the breathing frequency.

[0011] In the embodiments of the present application, when the pressure data (i.e., original pressure data) of the safety belt used by the user during the user's breathing is collected, the original pressure data can be corrected by the vehicle speed data of the vehicle in which the user is located and / or the motion intensity data of the user, and then the corrected original pressure data (i.e., target pressure data) is used to determine the breathing frequency of the user, so as to control the oxygen supply device in the vehicle to supply oxygen to the user according to the determined breathing frequency of the user. Compared with the prior art, directly using the collected original pressure data to determine the breathing frequency of the user leads to the problem that the determined breathing frequency is deviated. In the embodiments of the present application, the breathing frequency of the user is not determined directly by the collected original pressure data, but the original pressure data collected is first corrected by the vehicle speed data and / or the motion intensity data of the user, so that the corrected pressure data is more accurate. The breathing frequency of the user determined by using more accurate pressure data can be more accurate. Therefore, when the running parameters of the oxygen supply device (i.e., the vehicle-mounted oxygen generator) in the vehicle are controlled by using the more accurate breathing frequency of the user, the accuracy of the running parameters can be improved, and the oxygen supply device can be run at more accurate running parameters to meet the user's demand for oxygen to the greatest extent.

[0012] In combination with the first aspect, in some implementations of the first aspect, the determining, based on the target pressure data, the breathing frequency of the target user comprises:

[0013] determining peak pressure data corresponding to each of adjacent inspiration phases in the target pressure data;

[0014] determining an initial time interval between the time instants at which the peak pressure data is collected as an initial time difference;

[0015] determining the initial time difference as an initial breathing period, or determining the initial breathing period based on the initial time difference and individual characteristics of the target user;

[0016] determining the breathing frequency based on the initial breathing period.

[0017] In the embodiments of the present application, when the initial time difference is determined, two determination methods of the initial breathing period are provided, i.e., "determining the initial time difference as an initial breathing period, or determining the initial breathing period based on the initial time difference and individual characteristics of the target user", which avoids the limitation of a single method for determining the initial breathing period, and provides multiple ways to determine the initial breathing period, thereby improving the flexibility of the determination method of the initial breathing period.

[0018] In combination with the first aspect and the above implementations, in some implementations of the first aspect, the determining, based on the initial breathing period, the breathing frequency comprises:

[0019] determine a first weight of each initial breath cycle based on an average breath cycle corresponding to a sliding window segment in which each initial breath cycle is located and each initial breath cycle;

[0020] correct each initial breath cycle based on the first weight to obtain a first breath cycle corresponding to each initial breath cycle;

[0021] determine the breath frequency based on the first breath cycle.

[0022] In the embodiments of the present application, the dynamic weight distribution is performed on each initial breath cycle in each sliding window segment in units of sliding window segments, which can reduce the complexity of weight distribution and improve the efficiency of weight distribution, compared with uniformly distributing weights to all initial breath cycles. In addition, when there is abnormal breath cycle data, the weight distribution of the initial breath cycles in the sliding window in which the abnormal breath cycle data is located will be adversely affected, but the weight distribution of the initial breath cycles in the sliding window in which the normal breath cycle data is located will not be affected. The abnormal breath cycle data can be accurately isolated, and the adverse effects of the abnormal breath cycle data on the overall data can be reduced, thereby improving the accuracy of data processing and the accuracy of the determined user breath frequency.

[0023] In combination with the first aspect and the above implementation manners, in some implementation manners of the first aspect, the determining of the breath frequency based on the first breath cycle comprises:

[0024] determine the first breath cycle corresponding to each initial breath cycle in each sliding window segment, in which the inhalation intensity is greater than the inhalation intensity threshold corresponding to each sliding window segment, as a to-be-corrected breath cycle;

[0025] correct the to-be-corrected breath cycle based on the second weight corresponding to the to-be-corrected breath cycle to obtain a corrected to-be-corrected breath cycle;

[0026] determine the second breath cycle by combining the corrected to-be-corrected breath cycle and a non-to-be-corrected breath cycle, wherein the non-to-be-corrected breath cycle indicates the first breath cycle corresponding to each initial breath cycle in each sliding window segment, in which the inhalation intensity is less than or equal to the inhalation intensity threshold corresponding to each sliding window segment;

[0027] determine the breath frequency based on the second breath cycle.

[0028] In the embodiments of the present application, in order to avoid the data processing result from being deviated due to the user's sudden deep breath, the initial breath cycle with a larger inhalation intensity in the sliding window segment can be determined through the inhalation intensity threshold corresponding to the sliding window segment, and the first breath cycle corresponding to the initial breath cycle with a larger inhalation intensity is corrected again, so as to reduce the deviation of the data processing result caused by the user's sudden deep breath, and thus the accuracy of the determined user's breath frequency is improved.

[0029] With reference to the first aspect and the above implementation manners, in some implementation manners of the first aspect, the determining of the breath frequency based on the second breath cycle comprises:

[0030] In a case where the initial breath cycle is determined based on the initial time length difference and the individual characteristics of the target user, the second breath cycle is determined as the target breath cycle;

[0031] In a case where the initial breath cycle is determined based on the initial time length difference, the target breath cycle is determined based on the second breath cycle;

[0032] The breath frequency is determined based on the target breath cycle.

[0033] In the embodiments of the present application, when the target breath cycle is determined, two determination manners of the target breath cycle are provided, i.e., the second breath cycle is determined as the target breath cycle, or the target breath cycle is determined based on the second breath cycle, which avoids the limitation of a single method for determining the target breath cycle, and multiple ways for determining the target breath cycle are provided, thereby improving the flexibility of the determination manner of the target breath cycle.

[0034] With reference to the first aspect and the above implementation manners, in some implementation manners of the first aspect, the determining of the target breath cycle based on the second breath cycle comprises:

[0035] The second breath cycle is corrected based on the correction amount corresponding to the individual characteristics of the target user, to obtain a third breath cycle;

[0036] The target breath cycle is determined based on the third breath cycle.

[0037] In the embodiments of the present application, the breath cycle is corrected based on the correction amount corresponding to the individual characteristics of the user, so that the corrected breath cycle is more in line with the individual characteristics of the user and more accurate. Furthermore, the user's breath frequency determined using the more accurate breath cycle is also more accurate.

[0038] With reference to the first aspect and the above implementation manners, in some implementation manners of the first aspect, the determining of the target breath cycle based on the third breath cycle comprises:

[0039] correct the third breath cycle based on the error correction amount corresponding to the target device, to obtain a fourth breath cycle, wherein the target device represents a device used to collect the original pressure data;

[0040] determine the fourth breath cycle as the target breath cycle.

[0041] In the embodiments of the present application, the breath cycle is corrected by the correction amount corresponding to the device used to collect the pressure data, so that the corrected breath cycle is more real and more accurate. Furthermore, the user's breath frequency determined using the more accurate breath cycle is also more accurate.

[0042] With reference to the first aspect and the above implementation manners, in some implementation manners of the first aspect, the above determining the initial breath cycle based on the initial time difference and the individual characteristics of the target user comprises:

[0043] correcting the initial time difference based on a correction amount corresponding to the individual characteristics of the target user, to obtain a first time difference;

[0044] determining the initial breath cycle based on the first time difference.

[0045] In the embodiments of the present application, the time difference is corrected by the correction amount corresponding to the individual characteristics of the user, so that the corrected time difference is more in line with the individual characteristics of the user and more accurate. Furthermore, the breath cycle determined using the more accurate time difference is also more accurate, so that a breath frequency with higher accuracy can be obtained on the basis of the more accurate breath cycle.

[0046] With reference to the first aspect and the above implementation manners, in some implementation manners of the first aspect, the above determining the initial breath cycle based on the first time difference comprises:

[0047] correcting the first time difference based on an error correction amount corresponding to the target device, to obtain a second time difference;

[0048] determining the second time difference as the initial breath cycle.

[0049] In the embodiments of the present application, the time difference is corrected by the correction amount corresponding to the device used to collect the pressure data, so that the corrected time difference is more real and more accurate. Furthermore, the breath cycle determined using the more accurate time difference is also more accurate, so that a breath frequency with higher accuracy can be obtained on the basis of the more accurate breath cycle.

[0050] With reference to the first aspect and the above implementation manners, in some implementation manners of the first aspect, the above correcting the original pressure data based on the target data to obtain target pressure data comprises:

[0051] determine, based on the target data and the interference coefficient corresponding to the target data, interference pressure data corresponding to the target data in the original pressure data;

[0052] remove the interference pressure data in the original pressure data to obtain target pressure data.

[0053] In the embodiments of the present application, the interference pressure data corresponding to the target data is removed from the original pressure data, so that only the pressure data caused by the target user's breathing remains in the remaining pressure data, obtaining cleaner pressure data related to the target user's breathing, avoiding the interference of the interference pressure data on data processing, improving the accuracy of data processing, and further improving the accuracy of the determined user breathing frequency.

[0054] In combination with the first aspect and the above implementation manners, in some implementation manners of the first aspect, the above determining the breathing frequency based on the target breathing period comprises:

[0055] determining an initial breathing frequency corresponding to the target breathing period based on the unit time length and the target breathing period;

[0056] in a case where the initial breathing frequency is one, determining the initial breathing frequency as the breathing frequency;

[0057] in a case where the initial breathing frequency is multiple, determining a window average value of at least one initial breathing frequency corresponding to each sliding window segment;

[0058] determining an average value of the window average values as the breathing frequency.

[0059] In the embodiments of the present application, in a case where the breathing frequency is multiple, the step-by-step average calculation is realized through the sliding window segment, that is, the average value of a small range is calculated first, and then a final average value is calculated through multiple average values of small ranges. The step-by-step average calculation can reduce the complexity of breathing frequency calculation, enhance the stability of the breathing frequency calculation result, and also reduce the data amount of single calculation processing of the breathing frequency, realize block calculation, and improve the calculation efficiency of the breathing frequency.

[0060] In combination with the first aspect and the above implementation manners, in some implementation manners of the first aspect, the above controlling the oxygen supply device in the vehicle to supply oxygen to the target user based on the breathing frequency comprises:

[0061] determining a target oxygen supply mode from multiple oxygen supply modes based on the breathing frequency of the target user, wherein each oxygen supply mode in the multiple oxygen supply modes corresponds to different opening time of the oxygen supply device in the vehicle;

[0062] controlling the oxygen supply device to supply oxygen to the target user based on the target oxygen supply mode.

[0063] In the embodiments of the present application, when the breathing frequency of any user (i.e., a target user) in the vehicle is determined, the oxygen supply mode (i.e., a target oxygen supply mode) that matches the breathing frequency of the user can be determined in the multiple oxygen supply modes through the breathing frequency of the user, so as to control the oxygen supply device to supply oxygen to the user through the oxygen supply mode. Compared with the problem that the oxygen supply is not intelligent enough and needs to be manually started by the user through the oxygen supply device to supply oxygen to himself / herself through the oxygen supply device, the present application can realize automatic selection of the oxygen supply mode through the breathing frequency of the user, and can automatically determine the oxygen supply mode that matches the breathing frequency of the user in the multiple oxygen supply modes, so as to automatically supply oxygen to the user in the greatest degree through the selected oxygen supply mode, thereby improving the intelligence of the in-vehicle oxygen supply, meeting the user's demand for oxygen in the greatest degree, and improving the timeliness and oxygen inhalation effect of the user.

[0064] In combination with the first aspect, in some implementations of the first aspect, the determining the target oxygen supply mode in the multiple oxygen supply modes based on the breathing frequency of the target user comprises:

[0065] In a case where the breathing frequency of the target user is less than the preset frequency, a first oxygen supply mode in the multiple oxygen supply modes is determined as the target oxygen supply mode, wherein the first oxygen supply mode represents an oxygen supply mode in which the opening time of the oxygen supply device is the time when the inhalation of the target user is detected.

[0066] In a case where the breathing frequency of the target user is greater than or equal to the preset frequency, a second oxygen supply mode in the multiple oxygen supply modes is determined as the target oxygen supply mode, wherein the second oxygen supply mode represents an oxygen supply mode in which the opening time of the oxygen supply device is before the time when the target user inhales.

[0067] In the embodiments of the present application, the oxygen supply mode that matches the breathing frequency of the user is automatically selected through the size between the breathing frequency of the user and the preset frequency, so as to ensure that the selected oxygen supply mode can meet the user's demand for oxygen in the greatest degree, thereby improving the intelligence of the in-vehicle oxygen supply and meeting the user's demand for oxygen in the greatest degree.

[0068] In combination with the first aspect and the above implementations, in some implementations of the first aspect, the determining the target oxygen supply mode in the multiple oxygen supply modes based on the breathing frequency of the target user comprises:

[0069] The target oxygen supply mode is determined in the multiple oxygen supply modes based on the breathing frequency of the target user and the current breathing intensity of the target user.

[0070] In the embodiments of the present application, on the basis of the breathing frequency of the user, the current breathing intensity of the user is also combined, and the target oxygen supply mode is determined in the plurality of oxygen supply modes by the breathing frequency of the user and the current breathing intensity of the user, so that the oxygen supply mode matched with the breathing frequency of the user and the current breathing intensity of the user can be automatically selected, the selected oxygen supply mode is more accurate, can better meet the user's demand for oxygen, and further improves the intelligence of in-vehicle oxygen supply, and maximizes the user's demand for oxygen.

[0071] In combination with the first aspect and the above implementation manners, in some implementation manners of the first aspect, the determination of the target oxygen supply mode in the plurality of oxygen supply modes based on the breathing frequency of the target user and the current breathing intensity of the target user comprises:

[0072] In a case where the breathing frequency of the target user is less than the preset frequency and the current breathing intensity of the target user is less than the preset intensity, a first oxygen supply mode in the plurality of oxygen supply modes is determined as the target oxygen supply mode, wherein the first oxygen supply mode represents an oxygen supply mode in which the opening time of the oxygen supply device is the time when the inhalation of the target user is detected;

[0073] In a case where the breathing frequency of the target user is greater than or equal to the preset frequency and the current breathing intensity of the target user is greater than or equal to the preset intensity, a second oxygen supply mode in the plurality of oxygen supply modes is determined as the target oxygen supply mode, wherein the second oxygen supply mode represents an oxygen supply mode in which the opening time of the oxygen supply device is before the time when the target user inhales.

[0074] In the embodiments of the present application, the oxygen supply mode matched with the breathing frequency of the user and the current breathing intensity of the user is automatically selected by the size between the breathing frequency of the user and the preset frequency and the size between the current breathing intensity of the user and the preset intensity, so as to ensure that the selected oxygen supply mode can maximize the user's demand for oxygen, further improve the intelligence of in-vehicle oxygen supply, and maximize the user's demand for oxygen.

[0075] In combination with the first aspect and the above implementation manners, in some implementation manners of the first aspect, the method further comprises:

[0076] predicting the opening time of the oxygen supply mode of the second oxygen supply mode at the current time based on the breathing frequency of the target user at the last time of the current time and the historical breathing frequency of the target user;

[0077] wherein the historical breathing frequency represents at least one breathing frequency of the target user before the last time of the current time.

[0078] In the embodiment of the present application, since the strongest time correlation exists between the breathing frequency of the user at the last time instant and the breathing frequency of the user at the current time instant, the historical breathing frequency of the user can capture the change trend of the breathing frequency in a long time, and therefore, the breathing frequency of the user at the last time instant can be taken as a prediction anchor point, and the historical breathing frequency of the user can be taken as a data basis for mining the change rule of the breathing frequency, to predict the starting time instant of the oxygen supply mode of the second oxygen supply mode at the current time instant, so that the predicted starting time instant of the oxygen supply mode of the second oxygen supply mode at the current time instant can be more accurate.

[0079] With reference to the first aspect and the implementation manners above, in some implementation manners of the first aspect, the determining of the target oxygen supply mode from the multiple oxygen supply modes based on the breathing frequency of the target user comprises:

[0080] The target oxygen supply mode is determined from the multiple oxygen supply modes based on the breathing frequency of the target user and / or the current breathing intensity of the target user.

[0081] With reference to the first aspect and the implementation manners above, in some implementation manners of the first aspect, the target oxygen supply mode further comprises a switching frequency, the switching frequency being the same as the breathing frequency of the target user, and the controlling of the oxygen supply device to supply oxygen to the target user based on the target oxygen supply mode comprises:

[0082] The oxygen supply device is controlled to supply oxygen to the target user in the target oxygen supply mode at the switching frequency at the starting time instant of the oxygen supply device.

[0083] In the embodiment of the present application, at the starting time instant of the oxygen supply device, the oxygen supply device is controlled to supply oxygen to the user in the selected oxygen supply mode at the switching frequency which is the same as the breathing frequency of the user, so that the oxygen supply time instant of the oxygen supply device can be accurately matched with the oxygen demand time instant of the user, and the problems of oxygen demand gap caused by delayed oxygen supply, insufficient oxygen supply caused by too small oxygen supply frequency, and excessive oxygen supply caused by too large oxygen supply frequency can be avoided, thereby further improving the intelligence of in-vehicle oxygen supply and maximizing the oxygen demand of the user.

[0084] With reference to the first aspect and the implementation manners above, in some implementation manners of the first aspect, the method further comprises:

[0085] The target oxygen supply amount of the oxygen supply device is determined based on the breathing frequency of the target user, wherein the breathing frequency of the target user is positively correlated with the target oxygen supply amount.

[0086] The controlling of the oxygen supply device to supply oxygen to the target user in the target oxygen supply mode comprises:

[0087] The oxygen supply device is controlled to supply oxygen to the target user in the target oxygen supply mode at the target oxygen supply amount.

[0088] In the embodiment of the present application, on the basis of controlling the oxygen supply device to supply oxygen to the user in the selected oxygen supply mode, the oxygen supply amount matched with the breathing frequency of the user can also be determined to control the oxygen supply device to supply oxygen to the user in the selected oxygen supply mode with the determined oxygen supply amount, which can avoid the problems of insufficient oxygen supply or excessive oxygen supply, further improves the intelligentization of in-vehicle oxygen supply, and maximizes the demand of the user for oxygen.

[0089] With reference to the first aspect and the above implementation manners, in some implementation manners of the first aspect, the method further includes:

[0090] obtaining the current sitting posture of the target user;

[0091] obtaining the target oxygen supply direction of the oxygen supply device based on the current sitting posture of the target user, wherein the target oxygen supply direction represents the direction in which the face of the target user is located;

[0092] the above-mentioned control of the oxygen supply device to supply oxygen to the target user in the target oxygen supply mode with the target oxygen supply amount includes:

[0093] controlling the oxygen supply device to supply oxygen to the target user in the target oxygen supply mode with the target oxygen supply amount and the target oxygen supply direction.

[0094] In the embodiment of the present application, on the basis of controlling the oxygen supply device to supply oxygen to the user in the selected oxygen supply mode with the determined oxygen supply amount, the oxygen supply direction matched with the current sitting posture of the user can also be determined to control the oxygen supply device to supply oxygen to the user in the selected oxygen supply mode with the determined oxygen supply amount and the oxygen supply direction, which can avoid the problem of insufficient oxygen supply caused by the oxygen supply direction not being the direction in which the face of the user is located, further improves the intelligentization of in-vehicle oxygen supply, and maximizes the demand of the user for oxygen.

[0095] With reference to the first aspect and the above implementation manners, in some implementation manners of the first aspect, the method further includes:

[0096] determining the target oxygen supply amount of the oxygen supply device based on the breathing frequency of the target user, wherein the breathing frequency of the target user is positively correlated with the target oxygen supply amount;

[0097] obtaining the current sitting posture of the target user;

[0098] obtaining the target oxygen supply direction of the oxygen supply device based on the current sitting posture of the target user, wherein the target oxygen supply direction represents the direction in which the face of the target user is located;

[0099] the above-mentioned control of the oxygen supply device to supply oxygen to the target user in the target oxygen supply mode includes:

[0100] The oxygen supply device supplies oxygen to the target user in the target oxygen supply mode with the target oxygen supply amount and / or the target oxygen supply direction as a target.

[0101] In a second aspect, the present application provides a vehicle oxygen supply device, which comprises:

[0102] An acquisition module is configured to acquire target data and original pressure data, wherein the target data comprises vehicle speed data of a vehicle in which a target user is located and / or motion intensity data of the target user, and the original pressure data represents pressure data of a safety belt used by the target user when the target user breathes;

[0103] A processing module is configured to correct the original pressure data based on the target data to obtain target pressure data, determine a breathing frequency of the target user based on the target pressure data, and control an oxygen supply device in the vehicle to supply oxygen to the target user based on the breathing frequency.

[0104] In a third aspect, the present application provides a vehicle comprising a memory and a processor. The memory is configured to store executable program code, and the processor is configured to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation manner of the first aspect.

[0105] In a fourth aspect, the present application provides a computer program product, which comprises computer program code. When the computer program code runs on a computer, the computer program code causes the computer to execute the method in the first aspect or any possible implementation manner of the first aspect.

[0106] In a fifth aspect, the present application provides a computer readable storage medium, which stores computer program code. When the computer program code runs on a computer, the computer program code causes the computer to execute the method in the first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF DRAWINGS

[0107] Figure 1 FIG. 1 is a scene schematic diagram of a vehicle oxygen supply method provided by an embodiment of the present application.

[0108] Figure 2 FIG. 3 is a schematic diagram of a safety belt provided by an embodiment of the present application.

[0109] Figure 3 FIG. 5 is an architecture schematic diagram of a vehicle oxygen supply system provided by an embodiment of the present application.

[0110] Figure 4 FIG. 7 is a flow schematic diagram of a vehicle oxygen supply method provided by an embodiment of the present application.

[0111] Figure 5This is another schematic diagram of a vehicle oxygen supply method provided in the embodiments of this application.

[0112] Figure 6 This is a schematic diagram of the vehicle oxygen supply device provided in the embodiments of this application.

[0113] Figure 7 This is a schematic diagram of the vehicle structure provided in the embodiments of this application. Detailed Implementation

[0114] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0115] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0116] Figure 1 This is a schematic diagram of a vehicle oxygen supply method provided in an embodiment of this application.

[0117] For example, such as Figure 1 As shown, Figure 1 The system includes a vehicle 101, a seat belt 102, and an onboard oxygen generator 103. Both the seat belt 102 and the onboard oxygen generator 103 are located within the vehicle 101.

[0118] When driving vehicle 101, users can ensure their safety by fastening their seat belts 102. When users need oxygen supply from the onboard oxygen concentrator 103, they can manually turn on the onboard oxygen concentrator 103 to supply oxygen.

[0119] Currently, when providing oxygen to the vehicle via the onboard oxygen concentrator 103, the oxygen supply volume and mode of the onboard oxygen concentrator 103 need to be adjusted based on the user's breathing rate. If... Figure 2When the sensor assembly 104 shown collects the force signal of the safety belt 102 caused by the user's breathing, directly using the collected force signal to calculate the user's breathing frequency may have a large deviation due to the interference of the vehicle speed, user characteristics, sensor errors, etc. Adjusting the oxygen supply amount and mode of the vehicle-mounted oxygen generator 103 through the breathing frequency with a large deviation will also cause the adjusted oxygen supply amount and mode to also have a deviation. When the vehicle-mounted oxygen generator 103 supplies oxygen to the user at the oxygen supply amount and mode with a deviation, it may not meet the user's demand for oxygen, threatening the user's life safety.

[0120] Therefore, the present application provides a vehicle oxygen supply method and vehicle. Through the embodiments of the present application, when the pressure data of the safety belt used by the user when the user breathes is collected, the breathing frequency of the user is not directly determined by the collected pressure data, but the collected pressure data needs to be corrected by the vehicle speed data and / or the user's motion intensity data first. The corrected pressure data is more accurate, so that more accurate pressure data is used to determine more accurate user breathing frequency. Therefore, when the operation parameters of the oxygen supply device in the vehicle are controlled by the more accurate user breathing frequency, the accuracy of the operation parameters can be improved, and the oxygen supply device can meet the user's demand for oxygen to the greatest extent when it operates at more accurate operation parameters, thereby improving the timeliness and oxygen absorption effect of the user.

[0121] The vehicle oxygen supply method provided by the embodiments of the present application will be described in detail below. Figures 2 to 5 The vehicle oxygen supply method provided by the embodiments of the present application will be described in detail below.

[0122] Figure 2 is a schematic view of a safety belt provided by an embodiment of the present application.

[0123] For example, as shown in Figure 2 , Figure 2 The safety belt 102, the sensor assembly 104 are included in the vehicle.

[0124] The sensor assembly 104 is used to collect the force signal of the safety belt 102 caused by the user's breathing, and convert the collected force signal into a corresponding electrical signal. And the signal preprocessing unit of the sensor assembly 104 at least one of amplification, filtering, etc. is used to preprocess the electrical signal to remove the noise signal in the electrical signal to obtain the noise-removed electrical signal. Then the high-quality electrical signal after removing the noise is sent to the central control module in the vehicle through the signal preprocessing unit, so as to analyze the breathing frequency corresponding to the force signal through the central control module.

[0125] The sensor assembly 104 can represent a sensor assembly capable of collecting a force signal, for example, at least one of a pressure sensor, a strain gauge sensor, a capacitive sensor, etc.

[0126] For example, the sensor assembly 104 can be installed at any position in the safety belt 102, for example, at least one of a shoulder strap position, a waist strap position, etc. corresponding to the safety belt 102, to detect a force signal caused by the safety belt 102 due to the chest and abdomen of the user rising when breathing.

[0127] By installing a sensor assembly for collecting a force signal corresponding to the user's breathing frequency on the safety belt, the user does not need to wear an external detection device for detecting the breathing frequency, which reduces the interference of the external detection device on the user, makes the user more easily acceptable, and does not produce a repulsive psychology, thereby improving the user's acceptance of the sensor assembly and improving the user's ride experience. For example, reducing the interference of the external detection device on the driver's driving operation improves the driver's driving experience.

[0128] Figure 3 is a schematic diagram of a vehicle oxygen supply system architecture provided by an embodiment of the present application.

[0129] For example, as shown in the vehicle oxygen supply system Figure 3 may include a data acquisition module 111, a central control module 112, and an oxygen supply device execution module 113.

[0130] The data acquisition module 111 includes the sensor assembly 104 described above and a signal preprocessing unit corresponding to the sensor assembly 104.

[0131] The central control module 112 is the core control part of the vehicle oxygen supply system, which can receive the electrical signal after removing the noise sent by the data acquisition module 111, analyze the breathing frequency of the user through the electrical signal after removing the noise, and then send a control instruction to the oxygen supply device execution module 113 through the analyzed breathing frequency, to control the opening or closing of the oxygen supply device (i.e. the above-mentioned vehicle oxygen generator 103) through the oxygen supply device execution module 113, and to control the oxygen supply mode of the oxygen supply device and the oxygen supply amount of the oxygen supply device through the oxygen supply device execution module 113.

[0132] When the central control module 112 sends a control instruction, the oxygen supply device execution module 113 can control the oxygen supply operation corresponding to the control instruction, for example, at least one of turning on the oxygen supply, turning off the oxygen supply, adjusting the oxygen supply amount, switching the oxygen supply mode, and closing the oxygen supply mode, to ensure the normal operation of the oxygen supply device.

[0133] The synchronization oxygen supply mode corresponds to the same switching frequency of the oxygen supply device and the breathing frequency of the user, the oxygen supply device is turned on to supply oxygen to the user when the user inhales, the oxygen supply device is turned off to end the oxygen supply when the user exhales, the oxygen supply device is turned on to supply oxygen and the inhaling action of the user is real-time synchronized, and the oxygen supply device is turned off to end the oxygen supply and the breathing action of the user is real-time synchronized, so as to avoid waste of oxygen. The pre-judgment oxygen supply mode corresponds to the same switching frequency of the oxygen supply device and the breathing frequency of the user, the oxygen supply device is turned on to supply oxygen to the user in a certain time period before the user inhales, and the oxygen supply device is turned off to end the oxygen supply in a certain time period before the user exhales, so that the oxygen supply device can supply oxygen to the user in time and avoid the problem of inhaling oxygen not in time.

[0134] By Figure 3 The vehicle oxygen supply system shown in the vehicle oxygen supply system can realize integration of user breathing frequency acquisition and control of the oxygen supply device in the vehicle, so that the data acquisition module 111 and the oxygen supply device execution module 113 can intelligently cooperate, reduce interference of the vehicle oxygen supply system, improve stability and reliability of the vehicle oxygen supply system, reduce connection and coordination between the data acquisition module 111 and the oxygen supply device execution module 113, and improve integrity of the vehicle oxygen supply system. In addition, the vehicle oxygen supply system does not need to additionally purchase a device for detecting the breathing frequency of the user, and reduces the detection cost, installation cost and maintenance cost of the breathing frequency. Figure 3 The vehicle oxygen supply system shown in the vehicle oxygen supply system can be adapted to different types of cars and oxygen supply devices, has a wide application range, and is easier to popularize.

[0135] Figure 4 is a flowchart of a vehicle oxygen supply method provided by the embodiment of the application. The method can be executed by the vehicle 101 in Figure 1 or the vehicle oxygen supply system in the vehicle 101.

[0136] For example, as shown in Figure 4 The method 400 includes the following implementation processes:

[0137] S410, obtaining target data and original pressure data.

[0138] The target data includes vehicle speed data of a vehicle in which a target user is located and / or motion intensity data of the target user, and the original pressure data represents pressure data of a safety belt used by the target user when the target user breathes. The target user represents any user in the vehicle, for example, a driver, a co-driver, or a rear seat user.

[0139] For example, when it is detected that a target user is present in the vehicle, if it is detected that the target user is buckled up, the sensor assembly 104 installed on the seat belt can collect a plurality of force signals (i.e., pressure data) caused by the user's breathing in real time, and the force signals collected directly by the sensor assembly 104 without any data processing are referred to as "raw pressure data".

[0140] The vehicle speed data can include at least one of vehicle speed data, vehicle acceleration data, etc. The motion intensity data represents the intensity of different body activities of the target user, and the more intense the body activity, the greater the motion intensity data. For example, the motion intensity data corresponding to turning the head is greater than the motion intensity data corresponding to raising the hand. The motion intensity data can be determined by the fluctuation of the force signals collected by the sensor assembly 104 within a preset time period (e.g., 1s), and the fluctuation of the force signals is positively correlated with the motion intensity data. The vehicle speed data is included in the target data because the running state of the vehicle, such as braking, jolting, acceleration and deceleration, turning, etc., can be transmitted to the seat belt through the vehicle body, resulting in additional inertial pressure between the seat belt and the user, which is not due to the pressure generated by the user, and will significantly interfere with the pressure data of the seat belt, affecting the accuracy of the pressure data of the seat belt. For example, when the vehicle brakes suddenly, the vehicle speed drops sharply, and the user is pushed forward due to inertia, and the seat belt will instantaneously bear additional pressure. When the vehicle travels at a low speed and smoothly, there is basically no additional pressure due to the sudden drop in vehicle speed. The motion intensity data is included in the target data because the user actively adjusts the sitting posture, raises the hand, turns the head, bends the waist, and other body activities in the vehicle, which will directly change the contact state between the user's body and the seat belt, resulting in fluctuations in the pressure data of the seat belt, which is not the above-mentioned additional inertial pressure, and will also significantly interfere with the pressure data of the seat belt, affecting the accuracy of the pressure data of the seat belt. In addition, the higher the motion intensity of the body activity (e.g., intense twisting), the greater the instantaneous fluctuation of the pressure data of the seat belt; and the lower the motion intensity of the body activity (e.g., the user is stationary), the smaller the instantaneous fluctuation of the pressure data of the seat belt.

[0141] S420, correcting the raw pressure data based on the target data to obtain target pressure data.

[0142] For example, when the target data is obtained, the original pressure data can be corrected by the target data to obtain corrected original pressure data (which can be referred to as "target pressure data"). This is because the original pressure data collected by the sensor assembly 104 can be disturbed to different degrees when the vehicle is braking, bumping, accelerating, decelerating, turning, and / or the user is lifting his hand, body shaking, and the like. Therefore, the original pressure data needs to be corrected by the target data to obtain target pressure data after removing the interference, so that the target pressure data only exists in the pressure data caused by the target user's breathing, and does not exist in the pressure data caused by the vehicle speed, target user movement, and the like, thereby improving the accuracy of the target pressure data, so that the target pressure data can more accurately reflect the breathing changes of the target user.

[0143] When the original pressure data is corrected by the target data, the interference coefficient corresponding to the target data can be determined first, and the interference pressure data corresponding to the target data can be determined in the original pressure data by the target data and the interference coefficient corresponding to the target data. The interference pressure data is removed from the original pressure data, and the remaining original pressure data is determined as the target pressure data.

[0144] For example, the original pressure data is 10N, the interference pressure data corresponding to the target data is 0.5N, 0.5N is removed from 10N, and the remaining 9.5N is determined as the target pressure data.

[0145] Alternatively, when the target data is one, the product of the one target data and the interference coefficient corresponding to the one target data can be determined as the interference pressure data. Alternatively, when the target data is multiple, the product of each target data and the interference coefficient corresponding to each target data can be determined first, the multiple products are added, the sum of the multiple products is obtained, and the sum of the multiple products is determined as the interference pressure data.

[0146] Alternatively, when the target data is vehicle speed data, the corresponding interference coefficient is a speed interference coefficient, for example, when the vehicle speed data is vehicle acceleration data, the corresponding interference coefficient is an acceleration interference coefficient. And / or, when the target data is movement intensity data, the corresponding interference coefficient is a body activity interference coefficient. That is, there is a corresponding relationship between the target data and the interference coefficient corresponding to the target data.

[0147] In the embodiment of the present application, the interference pressure data corresponding to the target data is removed from the original pressure data, so that only the pressure data caused by the target user's breathing exists in the remaining pressure data, and more clean pressure data related to the target user's breathing is obtained, which avoids the interference of the interference pressure data on the data processing, improves the accuracy of the data processing, and further improves the accuracy of the determined user breathing frequency.

[0148] S430, determining the breathing frequency of the target user based on the target pressure data.

[0149] For example, the breathing frequency of the target user can be determined based on the target pressure data.

[0150] S440, controlling the oxygen supply device in the vehicle to supply oxygen to the target user based on the breathing frequency.

[0151] For example, the breathing frequency of the target user can be used to control the operating parameters of the oxygen supply device (e.g., the vehicle-mounted oxygen generator 103) in the vehicle to supply oxygen to the target user.

[0152] In the method 400 as shown in Figure 4 When the pressure data (i.e., the original pressure data) of the safety belt used by the user when the user breathes is collected, the original pressure data can be corrected by the vehicle speed data of the vehicle in which the user is located and / or the motion intensity data of the user, and then the corrected original pressure data (i.e., the target pressure data) is used to determine the breathing frequency of the user, so as to control the oxygen supply device in the vehicle to supply oxygen to the user based on the determined breathing frequency of the user. Compared with the prior art, directly using the collected original pressure data to determine the breathing frequency of the user leads to the problem that the determined breathing frequency is deviated. The embodiment of the present application does not directly determine the breathing frequency of the user based on the collected original pressure data, but first needs to correct the collected original pressure data by the vehicle speed data and / or the motion intensity data of the user, so that the corrected pressure data is more accurate. The breathing frequency of the user determined based on the more accurate pressure data can be more accurate, so that when the operating parameters of the oxygen supply device in the vehicle are controlled based on the more accurate breathing frequency of the user, the accuracy of the operating parameters can be improved, and thus when the oxygen supply device operates based on the more accurate operating parameters, the oxygen demand of the user can be met to the greatest extent.

[0153] It should be noted that the above S410-S440 are a simple description of the vehicle oxygen supply method provided by the embodiment of the present application, and the specific implementation of the embodiment shown in Figure 4 will be described in detail as follows:

[0154] In the execution of S430, when the target user's breathing frequency is determined by the target pressure data, since a plurality of original inhalation pressure data corresponding to each inhalation phase of the target user is collected, and the plurality of original inhalation pressure data is corrected by the target data, the corrected original inhalation pressure data will become part of the target pressure data, so the plurality of pressure data (i.e. the corrected original inhalation pressure data) corresponding to each inhalation phase of the target user can be determined in the target pressure data.

[0155] In the plurality of inhalation phases, adjacent inhalation phases are selected, and the plurality of pressure data corresponding to each adjacent inhalation phase is determined in the target pressure data, for example, the first inhalation phase corresponds to 3 pressure data, and the second inhalation phase corresponds to 5 pressure data. Then the maximum pressure data (which can be referred to as "peak pressure data") in the plurality of pressure data corresponding to each adjacent inhalation phase is determined, for example, the peak pressure data in the 3 pressure data corresponding to the first inhalation phase is pressure data E, and the peak pressure data in the 5 pressure data corresponding to the second inhalation phase is pressure data F. It should be understood that if there is only one pressure data in a certain inhalation phase, the 1 pressure data is determined as the peak pressure data corresponding to the inhalation phase.

[0156] In the determination of the peak pressure data corresponding to each adjacent inhalation phase, the collection time of each of the two peak pressure data corresponding to the adjacent inhalation phases can be obtained, and the time interval between the two peak pressure data collection times is determined as the initial time length difference. Specifically, the time difference between the collection time of one of the two peak pressure data and the collection time of the other peak pressure data is calculated, and the time difference is determined as the initial time length difference. For example, the difference between the collection time of pressure data F and the collection time of pressure data E can be determined as the initial time length difference.

[0157] After obtaining the initial time length difference, the initial time length difference can be directly determined as the initial breathing cycle of the target user; or, the initial time length difference is not directly determined as the initial breathing cycle of the target user, but the individual characteristics of the target user are obtained first, and then the initial breathing cycle is determined by the initial time length difference and the individual characteristics of the target user, so that the initial time length difference is corrected by the individual characteristics of the target user first, and a corrected initial time length difference with higher accuracy is obtained, and then the corrected initial time length difference is determined as the initial breathing cycle of the target user. The individual characteristics include at least one of the body type characteristics, the breathing habit characteristics, the age characteristics, and the emotion characteristics of the target user.

[0158] After obtaining the initial breathing cycle of the target user by "determining the initial breathing cycle by the initial time length difference, or determining the initial breathing cycle based on the initial time length difference and the individual characteristics of the target user", the breathing frequency of the target user can be determined by the initial breathing cycle.

[0159] In the embodiments of the present application, two determination methods of the initial respiratory cycle are provided when the initial time length difference is determined, that is, "determining the initial respiratory cycle as the initial time length difference, or determining the initial respiratory cycle based on the initial time length difference and the individual characteristics of the target user", which avoids the limitation of a single method for determining the initial respiratory cycle, and there are multiple ways to determine the initial respiratory cycle, thereby improving the flexibility of the initial respiratory cycle determination method.

[0160] When the respiratory frequency of the target user is determined through the initial respiratory cycle, at least one sliding window segment can be obtained by sliding the sliding window data in multiple initial respiratory cycles, and each sliding window segment includes at least one initial respiratory cycle, that is, each initial respiratory cycle is in a sliding window segment.

[0161] The multiple initial respiratory cycles are arranged in chronological order from early to late to avoid disorder, so that the sliding result is that the timestamps of the initial respiratory cycles included in the previous sliding window segment are all earlier than the timestamps of the initial respiratory cycles included in the subsequent sliding window segment, and the timestamp of the previous initial respiratory cycle included in the same sliding window segment is earlier than the timestamp of the subsequent initial respiratory cycle.

[0162] The sliding window data includes a sliding window size and a sliding step, and the window size is the same as the sliding step. This is because, in order to avoid the problem of multiple optimization corrections of the same initial respiratory cycle leading to correction errors, the preset sliding step can be set to the same step as the sliding window size, for example, the sliding window size is 5, and the corresponding preset sliding step is also 5, so that the same initial respiratory cycle only appears in one sliding window segment and does not appear in multiple sliding window segments, thereby realizing the optimization correction of the same initial respiratory cycle only once. In addition, the sliding window size can be determined by the total number of the multiple initial respiratory cycles, and the window size that can be evenly divided by the multiple initial respiratory cycles is determined as the final sliding window size. If there is no window size that can be evenly divided by the multiple initial respiratory cycles, the window size with the smallest remainder can be determined as the final sliding window size, and the remainder is divided into the last sliding window segment. For ease of illustration, the embodiments of the present application are described by the window size that can be evenly divided by the multiple initial respiratory cycles.

[0163] For example, the initial respiratory cycles are a, b, c, d, e, and f, the sliding window size is 3, and the sliding step is 3. By sliding the sliding window size 3 in a, b, c, d, e, and f with the sliding step 3, the first sliding window segment and the second sliding window segment are obtained, the initial respiratory cycles included in the first sliding window segment are a, b, and c, and the initial respiratory cycles included in the second sliding window segment are d, e, and f.

[0164] Further, when the division of the sliding window segment is completed, the sliding window segment in which each of the initial breath cycles is located can be determined, and the average value (which can be referred to as an "average breath cycle") of all the initial breath cycles included in each of the sliding window segments can be determined. The first weight corresponding to each of the initial breath cycles in each of the sliding window segments can be determined by the average breath cycle of each of the sliding window segments and each of the initial breath cycles included in each of the sliding window segments. The first weight corresponding to each of the initial breath cycles is used to correct each of the initial breath cycles. It should be understood that the first weight corresponding to each of the initial breath cycles is calculated in the sliding window segment as a calculation unit.

[0165] For example, all the initial breath cycles included in the first sliding window segment are a, b, and c. The average value of a, b, and c included in the first sliding window segment is calculated, and the first weight corresponding to a, the first weight corresponding to b, and the first weight corresponding to c are determined by the average value of a, b, and c and a, b, and c. All the initial breath cycles included in the second sliding window segment are d, e, and f. The average value of d, e, and f included in the second sliding window segment is calculated, and the first weight corresponding to d, the first weight corresponding to e, and the first weight corresponding to f are determined by the average value of d, e, and f and d, e, and f.

[0166] When the first weight corresponding to each of the initial breath cycles is obtained, each of the initial breath cycles can be corrected by the first weight corresponding to each of the initial breath cycles to obtain a corrected initial breath cycle (which can be referred to as a "first breath cycle"). The breath frequency of the target user is determined by the first breath cycle corresponding to each of the initial breath cycles. Specifically, the product of the first weight corresponding to each of the initial breath cycles and each of the initial breath cycles is determined as the first breath cycle corresponding to each of the initial breath cycles.

[0167] In the embodiments of the present application, the sliding window segment is used as a unit to dynamically allocate weights to each of the initial breath cycles in each of the sliding window segments. Compared with uniformly allocating weights to all the initial breath cycles, the complexity of weight allocation can be reduced, and the efficiency of weight allocation can be improved. When there is abnormal breath cycle data, only the weight allocation of the initial breath cycles in the sliding window in which the abnormal breath cycle data is located is adversely affected, and the weight allocation of the initial breath cycles in the sliding window in which the normal breath cycle data is located is not affected. The abnormal breath cycle data can be accurately isolated, and the adverse effects of the abnormal breath cycle data on the overall data can be reduced. Therefore, the accuracy of data processing is improved, and the accuracy of the determined breath frequency of the user is improved.

[0168] In the determination of the breathing frequency of the target user through the first breathing cycle, the target user's adjacent two inhalations corresponding to all the pressure data can be determined in the target pressure data, and the average value of all the pressure data corresponding to the adjacent two inhalations (which can be referred to as "average pressure data") can be calculated. The average pressure data is determined as the inhalation intensity of the initial breathing cycle corresponding to the adjacent inhalation.

[0169] In the determination of the inhalation intensity corresponding to each initial breathing cycle in each sliding window segment, the inhalation intensity threshold corresponding to each sliding window segment can be determined through the inhalation intensity corresponding to each initial breathing cycle in each sliding window segment. The size relationship between the inhalation intensity threshold corresponding to each sliding window segment and the inhalation intensity corresponding to each initial breathing cycle in each sliding window segment is determined. The first breathing cycle that needs to be corrected (which can be referred to as "to-be-corrected breathing cycle") and the first breathing cycle that does not need to be corrected (which can be referred to as "non-to-be-corrected breathing cycle") are determined through the size relationship between the inhalation intensity threshold corresponding to each sliding window segment and the inhalation intensity corresponding to each initial breathing cycle in each sliding window segment.

[0170] The initial breathing cycle with inhalation intensity greater than the inhalation intensity threshold corresponding to each sliding window segment among all the initial breathing cycles included in each sliding window segment is determined, and the initial breathing cycle with inhalation intensity less than or equal to the inhalation intensity threshold corresponding to each sliding window segment among all the initial breathing cycles included in each sliding window segment is determined.

[0171] The first breathing cycle corresponding to the initial breathing cycle with inhalation intensity greater than the inhalation intensity threshold corresponding to each sliding window segment among all the initial breathing cycles included in each sliding window segment is determined as the to-be-corrected breathing cycle. The first breathing cycle corresponding to the initial breathing cycle with inhalation intensity less than or equal to the inhalation intensity threshold corresponding to each sliding window segment among all the initial breathing cycles included in each sliding window segment is determined as the non-to-be-corrected breathing cycle. That is, the non-to-be-corrected breathing cycle represents the first breathing cycle corresponding to the initial breathing cycle with inhalation intensity less than or equal to the inhalation intensity threshold corresponding to each sliding window segment in each sliding window segment, and the to-be-corrected breathing cycle represents the first breathing cycle corresponding to the initial breathing cycle with inhalation intensity greater than the inhalation intensity threshold corresponding to each sliding window segment in each sliding window segment.

[0172] In the determination of the to-be-corrected breathing cycle, the second weight corresponding to each to-be-corrected breathing cycle can be determined. The second weight corresponding to each to-be-corrected breathing cycle is used to correct each to-be-corrected breathing cycle. It should be understood that the second weight corresponding to each to-be-corrected breathing cycle is calculated in the sliding window segment as the calculation unit.

[0173] After obtaining the second weight corresponding to each of the to-be-corrected breath cycles, each of the to-be-corrected breath cycles can be corrected by the second weight corresponding to each of the to-be-corrected breath cycles, to obtain a corrected to-be-corrected breath cycle, and the corrected to-be-corrected breath cycle and the non-to-be-corrected breath cycle are determined as the second breath cycle. The target user's breathing frequency is determined by the second breath cycle corresponding to each of the initial breath cycles. Specifically, the product of the second weight corresponding to each of the to-be-corrected breath cycles and each of the to-be-corrected breath cycles is determined as the corrected to-be-corrected breath cycle.

[0174] In the embodiment of the present application, in order to avoid the sudden deep breathing of the user causing the data processing result to have deviation, the initial breath cycle with a large inhalation intensity in the sliding window segment can be determined by the inhalation intensity threshold corresponding to the sliding window segment, and the first breath cycle corresponding to the initial breath cycle with a large inhalation intensity is corrected again, so as to reduce the deviation of the data processing result caused by the sudden deep breathing of the user, thereby improving the accuracy of the determined breathing frequency of the user.

[0175] In the above "determining the initial breath cycle based on the initial duration difference and the individual characteristics of the target user", the second breath cycle can be directly determined as the target breath cycle. In the above "determining the initial breath cycle as the initial duration difference", the second breath cycle is not directly determined as the target breath cycle, but the individual characteristics of the target user are first obtained, so that the second breath cycle is first corrected by the individual characteristics of the target user to obtain a corrected second breath cycle with higher accuracy, and then the corrected second breath cycle is determined as the target breath cycle.

[0176] After obtaining the target breath cycle by "determining the target breath cycle as the second breath cycle, or determining the target breath cycle based on the second breath cycle", the breathing frequency of the target user can be determined by the target breath cycle.

[0177] In the embodiment of the present application, when the target breath cycle is determined, two determination methods of the target breath cycle are provided, i.e. "determining the target breath cycle as the second breath cycle, or determining the target breath cycle based on the second breath cycle", which avoids the limitation of a single method to determine the target breath cycle, and provides multiple ways to determine the target breath cycle, thereby improving the flexibility of the target breath cycle determination method.

[0178] In the determination of the target respiratory cycle through the second respiratory cycle, the individual characteristics of the target user can be acquired first, and the second respiratory cycle is corrected through the individual characteristics of the target user on the basis of the second respiratory cycle to obtain a corrected second respiratory cycle (which can be referred to as a “third respiratory cycle”). The target respiratory cycle is determined through the third respiratory cycle.

[0179] Specifically, the correction amount corresponding to the individual characteristics of the target user is determined first, and the second respiratory cycle is corrected through the correction amount corresponding to the individual characteristics to obtain the third respiratory cycle. The product of the correction amount corresponding to the individual characteristics and the second respiratory cycle is determined as the third respiratory cycle.

[0180] In the embodiments of the present application, the respiratory cycle is corrected through the correction amount corresponding to the individual characteristics of the user, so that the corrected respiratory cycle is more in line with the individual characteristics of the user and more accurate. Furthermore, the respiratory frequency of the user determined by using the more accurate respiratory cycle is also more accurate.

[0181] In the determination of the target respiratory cycle through the third respiratory cycle, the error correction amount corresponding to the device (which can be referred to as a “target device”) used for collecting the original pressure data can be determined first, and the third respiratory cycle is corrected through the error correction amount on the basis of the third respiratory cycle to obtain a corrected third respiratory cycle (which can be referred to as a “fourth respiratory cycle”). The fourth respiratory cycle is determined as the target respiratory cycle. Specifically, the difference between the third respiratory cycle and the error correction amount is determined as the target respiratory cycle.

[0182] Optionally, when the correction amount corresponding to the individual characteristics and the error correction amount are obtained, the second respiratory cycle corrected through the correction amount corresponding to the individual characteristics or the error correction amount can also be determined as the target respiratory cycle.

[0183] In the embodiments of the present application, the respiratory cycle is corrected through the correction amount corresponding to the device used for collecting the pressure data, so that the corrected respiratory cycle is more real and more accurate. Furthermore, the respiratory frequency of the user determined by using the more accurate respiratory cycle is also more accurate.

[0184] In the determination of the initial respiratory cycle based on the initial time length difference and the individual characteristics of the target user, the individual characteristics of the target user can be acquired first, and the initial time length difference is corrected through the individual characteristics of the target user on the basis of the initial time length difference to obtain a corrected initial time length difference (which can be referred to as a “first time length difference”). The initial respiratory cycle is determined through the first time length difference.

[0185] Specifically, the correction amount corresponding to the individual feature of the target user is determined first, and then the initial time length difference is corrected by the correction amount corresponding to the individual feature to obtain the first time length difference. The product of the correction amount corresponding to the individual feature and the initial time length difference is determined as the first time length difference.

[0186] In the embodiment of the present application, the time length difference is corrected by the correction amount corresponding to the individual feature of the user, so that the corrected time length difference is more in line with the individual feature of the user and more accurate. Furthermore, the respiratory cycle determined by using the more accurate time length difference is also more accurate, so that a respiratory frequency with higher accuracy can be obtained on the basis of a more accurate respiratory cycle.

[0187] When the initial respiratory cycle is determined by the first time length difference, the error correction amount corresponding to the device (which can be referred to as a "target device") used to collect the original pressure data can be determined first. The error correction amount is combined with the first time length difference to correct each first time length difference by the error correction amount, so as to obtain a corrected first time length difference (which can be referred to as a "second time length difference"). The second time length difference is determined as the initial respiratory cycle. Specifically, the difference between the second time length difference and the error correction amount is determined as the initial respiratory cycle.

[0188] Optionally, when the correction amount corresponding to the individual feature and the error correction amount are obtained, the initial time length difference corrected by the correction amount corresponding to the individual feature or the error correction amount can also be determined as the initial respiratory cycle.

[0189] In the embodiment of the present application, the time length difference is corrected by the correction amount corresponding to the device used to collect the pressure data, so that the corrected time length difference is more real and more accurate. Furthermore, the respiratory cycle determined by using the more accurate time length difference is also more accurate, so that a respiratory frequency with higher accuracy can be obtained on the basis of a more accurate respiratory cycle.

[0190] When the respiratory frequency of the target user is determined by the target respiratory cycle, the initial respiratory frequency corresponding to each target respiratory cycle can be determined by the unit time length and each target respiratory cycle. The unit time length can be 1 second (s), 1 minute (min), 1 hour (h), etc., and the present embodiment does not limit the same.

[0191] When the initial respiratory frequency is obtained, it can be determined whether the number of initial respiratory frequencies is multiple. When the initial respiratory frequency is one, the one initial respiratory frequency can be directly determined as the respiratory frequency of the target user. When the initial respiratory frequency is multiple, the average value of the at least one initial respiratory frequency corresponding to each sliding window segment (which can be referred to as a "window average value") can be determined, and then the window average value is subjected to secondary average calculation to obtain the average value of the window average value, and then the average value of the window average value is determined as the respiratory frequency of the target user. It should be understood that the window average value is calculated based on the sliding window segment as a calculation unit.

[0192] In the embodiments of the present application, when the respiratory frequency is multiple, step-by-step average calculation is realized through the sliding window segment, that is, the average value of a small range is calculated first, and then a final average value is calculated through multiple average values of small ranges. Through the step-by-step average calculation, the complexity of respiratory frequency calculation can be reduced, the stability of the respiratory frequency calculation result can be enhanced, and the data amount of single calculation processing of the respiratory frequency can be reduced, block calculation is realized, and the calculation efficiency of the respiratory frequency is improved.

[0193] It should be noted that, Figure 4 all the steps in the Figure 5 embodiments are described in detail in the corresponding embodiments, and will not be described here.

[0194] Figure 5 is another flowchart of a vehicle oxygen supply method provided by the embodiments of the present application.

[0195] For example, as shown in Figure 5 , the method 500 includes the following implementation process:

[0196] S1, when it is detected that the user is buckled up, real-time acquisition of the original pressure data of the safety belt buckled by the user is performed.

[0197] For example, when it is detected that there is a user (i.e., the target user) in the vehicle, in order to detect the respiratory frequency of the user, it can be detected in real time whether the user is buckled up.

[0198] When it is detected that the user is buckled up, the sensor assembly 104 installed on the safety belt can be used to acquire multiple original pressure data of the safety belt caused by the user's breathing in real time.

[0199] Optionally, a buckle ring switch detection is configured on the safety belt, and whether the lock tongue is inserted can be determined through the micro switch in the buckle ring. When the lock tongue is completely inserted, the switch is closed, indicating that the user is buckled up. When the lock tongue is not completely inserted, the switch is not closed, indicating that the user is not buckled up.

[0200] Optionally, a camera is arranged on the vehicle, and the current image of the user can be collected in real time through the camera, and whether the user is buckled up is analyzed by analyzing the collected current image of the user.

[0201] S2, determining the original actual force value corresponding to the original pressure data.

[0202] For example, when the plurality of original pressure data of the safety belt is acquired, each original pressure data can be first converted into a corresponding digital quantity, and then each digital quantity is converted into a corresponding original actual force value by using the pressure force value conversion model, to complete the processing flow from signal acquisition to digitization processing to physical quantity restoration. Because the original pressure data is output by the sensor assembly 104 and depends on the hardware circuit, it is an analog electrical signal that cannot be directly calculated and is difficult to understand. By converting the original pressure data into a digital quantity, the original pressure data is processed into a data form that can be recognized, calculated and understood directly, and the anti-interference performance of the data is improved. Then, the digital quantity is converted into an actual force value, which is a physical quantity that can be understood by people and can be used to judge the breathing pressure (i.e., the depth of breathing) of the user, so that a physical quantity with physical meaning is obtained. For example, the original pressure data is A Pa, which is converted into a digital quantity A1, and then the digital quantity A1 is converted into a force value signal A2 N.

[0203]

[0204] In formula (1), D( t) represents the digital quantity corresponding to the original pressure data, t represents the collection time of the original pressure data, p t represents the original pressure data, p min represents the minimum pressure threshold value (i.e., the lower limit value of the pressure data) that can be detected by the sensor assembly 104, p max represents the maximum pressure threshold signal (i.e., the upper limit value of the pressure data) that can be detected by the sensor assembly 104; N represents the number of quantization bits, which is a positive integer, and is the number of digital quantity bits converted by the sensor assembly 104, which determines the accuracy of signal quantization; 2 N represents the total number of levels of the quantized digital signal. Wherein, p min and p max are factory parameters of the sensor assembly 104, for example, the p min of the sensor assembly 104 is 0 kilopascal (kPa), and the p max of the sensor assembly 104 is 100 kPa. max= 50 kPa, which can cover the pressure data fluctuation caused by user breathing, for example, 0.5 kPa-10 kPa; N belongs to the hardware parameter of the sensor assembly 104, for example, N = 12, and the corresponding quantization range is 0-4095, or N = 16, and the corresponding quantization range is 0-65535.

[0205] F(t) = K x D( t) + b (2)

[0206] In formula (2), F(t) represents the original actual force value corresponding to the digital quantity of the original pressure data, K represents a force value proportional coefficient, and D( t) represents the linear proportional relationship between F(t) and D( t) ); b represents a force value offset, which is used to eliminate the zero drift error of the sensor assembly 104, and when D( f is 0, b is F(t). Wherein, K and b can be calibrated by sample test, K can be obtained by linear fitting of the sensor assembly 104 subjected to pressure by a weight block (for example, 1 kg-5 kg), and b can be calibrated when the sensor assembly 104 is not subjected to force, which is not limited in the embodiment of the application.

[0207] S3, filtering the original actual force value to obtain a filtered actual force value.

[0208] For example, when the original actual force value is obtained, the original actual force value can be filtered to obtain a filtered actual force value (which can be denoted as “S f (t) ”).

[0209] Optionally, when the original actual force value is filtered, at least one of the Butterworth filter, Chebyshev filter, elliptic filter, Bessel filter, Wiener filter, Kalman filter, etc. can be used to filter the original actual force value. For ease of understanding, the embodiment of the application takes the Butterworth filter for filtering the original actual force value as an example for specific description. The Butterworth filter belongs to a commonly used linear filter, has the characteristic of flat frequency response in the passband, and can be used to filter high-frequency interference signals and low-frequency interference signals in the original actual force value, so that the filtered actual force value is more accurate.

[0210]

[0211] In formula (3), H(s) represents the transfer function of the Butterworth filter in the complex frequency domain, representing the ratio of the output signal to the input signal in the complex frequency domain, used to describe the processing characteristics of the filter for signals of different frequencies; s represents a complex frequency variable, used to convert the "time domain signal" into a "frequency domain signal", solving the limitations of time domain signal analysis, so as to more efficiently analyze the frequency components in the actual force value; V c represents the cutoff angular frequency, used to define the range of the passband and the stopband of the filter, when the actual force value frequency V is less than V, it can pass through the filter relatively smoothly (i.e. the passband), when the actual force value frequency V is greater than V, it will be gradually attenuated by the filter (i.e. the stopband); n represents the order of the Butterworth filter, which is a positive integer, n is positively correlated with the filtering performance of the Butterworth filter. It should be understood that a filter generally corresponds to only one S f (t) at the same time; or, when there are m filters, there will be respective S f1 (t) at the same time; or, when there are m filters, there will be respective S f2 (t) at the same time; or, when there are m filters, there will be respective S fm (t) at the same time; or, when there are m filters, there will be respective S f1 (t) at the same time; or, when there are m filters, there will be respective S f2 (t) at the same time; or, when there are m filters, there will be respective S fm (t) at the same time; or, when there are m filters, there will be respective S f (t) at the same time; or, when there are m filters, there will be respective S

[0212] Further, since the filtered actual force value may still be disturbed by the vehicle running state such as braking, bumping, acceleration and deceleration, turning, and the user motion state such as lifting the hand, body shaking, etc., in order to improve the accuracy of the final result, the disturbance caused by the vehicle running state and the user motion state needs to be removed from the filtered actual force value, so that the filtered actual force value after removing the disturbance only exists the pressure data caused by the user's breathing, and does not exist the pressure data caused by the vehicle speed, the target user motion, etc., so that the filtered actual force value after removing the disturbance can more accurately reflect the user's breathing changes.

[0213] Specifically, when removing the disturbance in the filtered actual force value caused by the vehicle running state and the user motion state, the disturbance force value corresponding to the vehicle running state and the disturbance force value corresponding to the user motion state can be calculated first, and the sum of the disturbance force value corresponding to the vehicle running state and the disturbance force value corresponding to the user motion state is determined as the total disturbance amount that needs to be removed from the filtered actual force value, and the filtered actual force value is subtracted by the total disturbance amount, and the difference value obtained is determined as the filtered actual force value after removing the disturbance (which can be called "processed filtered actual force value").

[0214] Exemplarily, in determining the interference force value corresponding to the vehicle running state, the current acceleration of the vehicle and the acceleration interference coefficient corresponding to the current acceleration can be obtained, and the interference force value corresponding to the vehicle running state is determined through the current acceleration and the acceleration interference coefficient corresponding to the current acceleration. Specifically, the product of the current acceleration and the acceleration interference coefficient corresponding to the current acceleration can be determined as the interference force value corresponding to the vehicle running state.

[0215] Exemplarily, in determining the interference force value corresponding to the user motion state, the current physical activity intensity of the user and the physical activity interference coefficient corresponding to the current physical activity intensity can be obtained, and the interference force value corresponding to the user motion state is determined through the current physical activity intensity and the physical activity interference coefficient corresponding to the current physical activity intensity. Specifically, the product of the current physical activity intensity and the physical activity interference coefficient corresponding to the current physical activity intensity can be determined as the interference force value corresponding to the user motion state.

[0216] D(V(t)) = θ × a(t) + μ × g(t) (4)

[0217] In formula (4), D(V(t)) represents the total interference amount that needs to be removed from the filtered actual force value, θ represents the acceleration interference coefficient, θ can be used to quantify the interference degree of the current acceleration of the vehicle on the safety belt force, when multiple accelerations of the vehicle are collected through the vehicle CAN (Controller Area Network) bus, the relationship between the acceleration and the safety belt force can be fitted through multiple accelerations in a preset acceleration range to obtain the value of θ, for example, θ = 0.2 N·s 2 / m, wherein the preset acceleration range can be at least one of 0 m / s 2 -10 m / s 2 , -5 m / s 2 -0 m / s 2 , etc. μ represents the physical activity interference coefficient, μ can be used to quantify the interference degree of the physical activity intensity on the safety belt force, the relationship between the physical activity intensity and the safety belt force can be fitted through different physical activity intensities (for example, adjusting the sitting posture, lifting the hand, turning the head, etc.) to obtain the value of μ, for example, μ = 0.3 N; μ and g(t) have a corresponding relationship, the physical activity corresponding to g(t) can be obtained through the analysis of the user image collected by the camera in the vehicle. a(t) represents the current acceleration of the vehicle at time t, which can be obtained through the vehicle ESP (Electronic Stability Program) or the vehicle acceleration sensor, unit: m / s 2(m / s2). g(t) represents the current body activity intensity of the user at t, g(t) is positively correlated with the body activity intensity, and can be determined by the change of the force signal collected by the sensor assembly 104. For example, if the fluctuation of the force signal collected by the sensor assembly 104 within 1 second is large, greater than 5N, it can be determined that the corresponding body activity intensity is large, for example, g(t) = 2; or, if the fluctuation of the force signal collected by the sensor assembly 104 within 1 second is general, between 2N and 5N, it can be determined that the corresponding body activity intensity is not large, for example, g(t) = 1; or, if the fluctuation of the force signal collected by the sensor assembly 104 within 1 second (s) is small, less than 2N, it can be determined that the corresponding body activity intensity is small, for example, g(t) = 0.

[0218] S c (t) = S f (t) - D(V(t)) (5)

[0219] In formula (5), S c (t) represents S f (t) corresponding to the processed filtered actual force value (i.e., the target pressure data described above).

[0220] For example, at t, θ = 0.2, a(t) = 1 m / s 2 , μ = 0.3, g(t) = 2, S f (t) = 5.

[0221] First, calculate D(V(t)):

[0222] D(V(t)) = 0.2 x 1 + 0.3 x 2 = 0.8, which represents the total interference corresponding to the vehicle running state and the user motion state at t.

[0223] Then calculate S c (t):

[0224] S c (t) = 5 - 0.8 = 4.2, which represents the processed filtered actual force value at t.

[0225] S4, identify the processed filtered actual force value to obtain the initial respiratory cycle.

[0226] Exemplarily, since the force used by the user when inhaling is relatively large, a peak value signal exists. Therefore, after obtaining the processed filtered actual force value, a peak value detection can be performed on the processed filtered actual force value to obtain the signal peak value (i.e., the peak value data) corresponding to the user's inhalation. When the signal peak values corresponding to the adjacent inhalations of the user (i.e., the peak pressure data) are obtained, the time difference between the collection times of the two adjacent signal peak values (i.e., the initial time length difference) can be calculated, and the time length difference is determined as the adjacent breathing interval (i.e., the initial breathing period) of the user.

[0227] For example, the collection time of the signal peak value corresponding to the first inhalation of the user is 10:00:00, and the collection time of the signal peak value corresponding to the second inhalation of the user is 10:00:02. Therefore, the adjacent breathing interval corresponding to the first inhalation of the user and the second inhalation of the user is 00:00:02.

[0228] It should be understood that the breathing period is a prerequisite for calculating the breathing frequency of the user. The breathing period is obtained first, and then the breathing frequency can be calculated. The breathing period represents the time length used by the user for each breath, the breathing frequency represents the number of breaths of the user per unit time (for example, per minute), and the breathing period and the breathing frequency have an inverse relationship, For example, the unit time is 60 seconds, and the breathing period is 2 seconds. Therefore, the corresponding breathing frequency is breaths per minute. In order to improve the accuracy of the calculated breathing frequency, the initial breathing period is optimized by the following method in the embodiments of the present application.

[0229] S5, the initial breathing period is corrected by combining the weighted average method to obtain the first breathing period.

[0230] Exemplarily, when the initial breathing period is obtained, the initial breathing period can be optimized and corrected by the sliding window dynamic weighted average method to obtain the corrected initial breathing period (which can be referred to as the "first breathing period").

[0231] When the initial breathing period is optimized and corrected by the sliding window dynamic weighted average method, the size of the sliding window can be determined first, and the sliding window size is used to slide the multiple initial breathing periods at a preset sliding step to obtain at least one sliding window segment. Each sliding window segment includes at least one initial breathing period.

[0232] When at least one sliding window segment is obtained, the average value of all initial breathing periods included in each sliding window segment can be determined.

[0233]

[0234] In formula (6), represents the average value of all initial breath periods included in the jth sliding window segment (i.e., the average breath period described above), j represents the number of the sliding window segment, k represents the sliding window size, (j-1) x k + 1 represents the 1st initial breath period included in the jth sliding window segment, for example, the 1st initial breath period included in the 2nd sliding window segment is d; j x k represents the last initial breath period included in the jth sliding window segment, for example, the last initial breath period included in the 2nd sliding window segment is f; T0(j) represents any initial breath period included in the jth sliding window segment.

[0235] In obtaining the average value of all initial breath periods included in each sliding window segment, the absolute deviation between each initial breath period and the average value in each sliding window segment can be determined by the average value. For example, the average value of d, e, f included in the 2nd sliding window segment is A, then the absolute deviation of d, e, f included in the 2nd sliding window segment from A is calculated respectively.

[0236]

[0237] In formula (7), ΔT j represents the absolute deviation between each initial breath period and the average value in the jth sliding window segment.

[0238] In obtaining the absolute deviation between each initial breath period and the average value in each sliding window segment, the weight corresponding to each initial breath period in each sliding window segment can be obtained by the absolute deviation.

[0239]

[0240] In formula (8), w j represents the weight corresponding to each initial breath period in the jth sliding window segment (i.e., the first weight described above), and a represents the weight sensitivity coefficient. Wherein, w j is negatively correlated with ΔT j , the smaller ΔT j , the smaller the gap between the initial breath period and the average value, the more stable, and the closer w j to 1; the larger ΔT j , the larger the gap between the initial breath period and the average value, the poorer the stability, and the farther w jThe closer to 0, the greater the value of a, the greater the fluctuation of the initial respiratory cycle in the sliding window segment, and the greater the weight of the fluctuation data. The value of a can be calibrated through sample tests. For example, a plurality of groups of different initial respiratory cycles are collected, and the influence of a in a test range (for example, 0.5-2.0) on the smoothing effect is tested, and the a (for example, 1.0) with the smallest cycle error after smoothing is selected.

[0241] Optionally, different users have different respiratory states, and the corresponding a and w j are different. When the respiratory state of the user is relatively stable, the fluctuation of the initial respiratory cycle is generally small, for example, a is less than or equal to 0.2s, and the corresponding w j is 0.8-1.0; when the respiratory state of the user is not very stable, the fluctuation of the initial respiratory cycle is large, for example, a is 0.3s-0.5s, and the corresponding w j is 0.6-0.8; when the respiratory state of the user is abnormal (for example, physical activity interference), the fluctuation of the initial respiratory cycle is larger, for example, a is greater than or equal to 0.5s, and the corresponding w j is 0-0.6.

[0242] When the weight corresponding to each initial respiratory cycle in each sliding window segment is calculated, the weight corresponding to each initial respiratory cycle in each sliding window segment is used to assign weights to the corresponding initial respiratory cycle to calculate the first respiratory cycle, that is, each initial respiratory cycle has a corresponding first respiratory cycle. Specifically, the product of the first weight corresponding to each initial respiratory cycle and each initial respiratory cycle is determined as the first respiratory cycle corresponding to each initial respiratory cycle.

[0243] T1(j) = w j × T0(j) (9)

[0244] In formula (9), T1(j) represents the first respiratory cycle corresponding to each initial respiratory cycle in the jth sliding window segment.

[0245] For example, the sliding window size k = 5, a = 1.0, and each initial respiratory cycle in the jth sliding window segment is: 2.0s, 2.1s, 1.9s, 2.5s, and 2.0s.

[0246] First, calculate

[0247] The average of all initial respiratory cycles in the jth sliding window segment is 2.1s.

[0248] Then calculate ΔT j :

[0249] ΔT j1= |2.0-2.1| = 0.1s, indicating that the absolute deviation corresponding to the first initial breath cycle in the jth sliding window segment is 0.1s;

[0250] ΔT j2 = |2.1-2.1| = 0.0s, indicating that the absolute deviation corresponding to the second initial breath cycle in the jth sliding window segment is 0.0s;

[0251] ΔT j3 = |1.9-2.1| = 0.2s, indicating that the absolute deviation corresponding to the third initial breath cycle in the jth sliding window segment is 0.2s;

[0252] ΔT j4 = |2.5-2.1| = 0.4s, indicating that the absolute deviation corresponding to the fourth initial breath cycle in the jth sliding window segment is 0.4s;

[0253] ΔT j5 = |2.0-2.1| = 0.1s, indicating that the absolute deviation corresponding to the last initial breath cycle in the jth sliding window segment is 0.1s.

[0254] Recalculating w j :

[0255] w j1 = e -1.0×0.1 ≈ 0.905, indicating that the weight corresponding to the first initial breath cycle in the jth sliding window segment is 0.905;

[0256] w i2 = e -1.0×0.0 = 1, indicating that the weight corresponding to the second initial breath cycle in the jth sliding window segment is 1, indicating that the second initial breath cycle has the smallest absolute deviation from , and the corresponding weight is the largest;

[0257] w j3 = e -1.0×0.2 ≈ 0.819, indicating that the weight corresponding to the third initial breath cycle in the jth sliding window segment is 0.819;

[0258] w j4 = e -1.0×0.4 ≈ 0.670, indicating that the weight corresponding to the fourth initial breath cycle in the jth sliding window segment is 0.670, indicating that the fourth initial breath cycle has the largest absolute deviation from , and the corresponding weight is the smallest;

[0259] w j5 = e -1.0×0.1≈0.905, indicating that the weight corresponding to the last initial breath cycle in the jth sliding window segment is 0.905.

[0260] Recalculate T1(j):

[0261] T1(j1) = w j1 x T0(j1) = 0.905 x 2.0 = 1.81 s, indicating that the first breath cycle corresponding to the first initial breath cycle in the jth sliding window segment is 1.81 s;

[0262] T1(j2) = w j2 x T0(j2) = 1 x 2.1 = 2.1 s, indicating that the first breath cycle corresponding to the second initial breath cycle in the jth sliding window segment is 2.1 s;

[0263] T1(j3) = w j3 x T0(j3) = 0.819 x 1.9 = 1.5561 s, indicating that the first breath cycle corresponding to the third initial breath cycle in the jth sliding window segment is 1.5561 s;

[0264] T1(j4) = w j4 x T0(j4) = 0.670 x 2.5 = 1.675 s, indicating that the first breath cycle corresponding to the fourth initial breath cycle in the jth sliding window segment is 1.675 s;

[0265] T1(j5) = w j5 x T0(j5) = 0.905 x 2.0 = 1.81 s, indicating that the first breath cycle corresponding to the last initial breath cycle in the jth sliding window segment is 1.81 s.

[0266] S6, the first breath cycle is corrected by the inspiratory intensity and the inspiratory intensity slope to obtain the second breath cycle.

[0267] For example, when obtaining the first breath cycle corresponding to each initial breath cycle in each sliding window segment, the inspiratory intensity corresponding to each initial breath cycle in each sliding window segment can be determined by two processed filtered actual force values corresponding to each initial breath cycle in each sliding window segment (i.e. all pressure data corresponding to the adjacent two inhalations). Specifically, the average value of the two processed filtered actual force values corresponding to each initial breath cycle (i.e. the average pressure data) is determined as the inspiratory intensity corresponding to each initial breath cycle, that is, each initial breath cycle has its own corresponding inspiratory intensity (which can also be called "inhalation depth").

[0268] For example, the processed filtered actual force value of the first inhalation of the user in the first sliding window segment is 6N, and the processed filtered actual force value of the second inhalation of the user is 10N, then the inhalation strength corresponding to the initial breathing period corresponding to the first inhalation of the user and the second inhalation of the user is:

[0269] However, since the existence of sudden deep breaths may cause the final result to deviate, it is necessary to correct the first breathing period corresponding to the larger inhalation strength, keep the first breathing period corresponding to the smaller inhalation strength unchanged, weaken the interference of extreme large values on the final result, and more truly reflect the inhalation state of the user (also can be called "respiratory signal rising edge") through the majority of normal data, thereby improving the accuracy of the final result. Specifically, an inhalation strength threshold for judging the size of the inhalation strength can be determined by the inhalation strength corresponding to each initial breathing period in each sliding window segment and the inhalation strength slope, and the inhalation strength corresponding to the first breathing period that needs to be corrected can be determined in the inhalation strength corresponding to each initial breathing period in each sliding window segment through the inhalation strength threshold. And determine the corresponding correction weight, correct the first breathing period that needs to be corrected through the correction weight, and get the corrected first breathing period. The inhalation strength threshold can be calculated by fusing the inhalation strength and the inhalation strength slope, which can improve the accuracy of the inhalation strength threshold and avoid misjudgment of a single parameter.

[0270] A th (j) = β × A max (j) + (1 - β) × k slope (j) (10)

[0271] In formula (10), A th (j) represents the inhalation strength threshold corresponding to the jth sliding window segment (i.e. the inhalation strength threshold corresponding to each sliding window segment described above), A max (j) represents the maximum inhalation strength in the inhalation strength corresponding to each initial breathing period in the jth sliding window segment, k slope (j) represents the average slope of the change slope (which can be called "inhalation strength slope") of the inhalation strength corresponding to each initial breathing period in the jth sliding window segment; β represents a threshold weight coefficient, β ∈ [0, 1], used to balance the proportion of inhalation strength (which can be called "inhalation signal amplitude") and inhalation strength slope (which can also be called "inhalation signal slope") in dynamic threshold A th (j); β is used to balance the proportion of inhalation strength (which can be called "inhalation signal amplitude") and inhalation strength slope (which can also be called "inhalation signal slope") in dynamic threshold A th(j) is stronger, where β can be calibrated by sample test, and the distribution of the corresponding inspiration intensity and inspiration intensity slope of different inspiration signals (e.g., deep inspiration signal, shallow inspiration signal) is adjusted to make β to minimize the misjudgment rate of inspiration intensity, for example, when β is 0.6, the corresponding inspiration intensity amplitude ratio is 60%, and the inspiration intensity slope ratio is 40%, the misjudgment rate of inspiration intensity is minimized.

[0272] In calculating A th (j), first calculate the average slope of the inspiration intensity corresponding to each initial breath cycle in each sliding window segment.

[0273]

[0274] In formula (11), k slope(i) (j) represents the inspiration intensity slope corresponding to the i-th initial breath cycle in the j-th sliding window segment, ΔA i (j) represents the inspiration intensity change corresponding to the i-th initial breath cycle in the j-th sliding window segment, Δt i (j) represents the inspiration duration corresponding to the i-th initial breath cycle in the j-th sliding window segment.

[0275]

[0276] Put k slope (j) obtained from formula (12) into formula (10) to obtain the inspiration intensity threshold corresponding to each sliding window segment.

[0277] Further, the size relationship between the inspiration intensity corresponding to each initial breath cycle in each sliding window segment and the inspiration intensity threshold corresponding to each sliding window segment is further determined, and the inspiration intensity corresponding to the first expiration cycle that needs to be corrected is determined based on the size relationship between the inspiration intensity corresponding to each initial breath cycle in each sliding window segment and the inspiration intensity threshold corresponding to each sliding window segment. Specifically, the first breath cycle corresponding to the inspiration intensity greater than the inspiration intensity threshold corresponding to each sliding window segment in each sliding window segment is determined as the first expiration cycle that needs to be corrected, and the first breath cycle corresponding to the inspiration intensity less than or equal to the inspiration intensity threshold corresponding to each sliding window segment in each sliding window segment is determined as the first expiration cycle that does not need to be corrected. Wherein, the "first expiration cycle that needs to be corrected" can be referred to as "breath cycle to be corrected".

[0278] In the determination of the to-be-corrected breathing cycle, the correction weight corresponding to each initial breathing cycle in the to-be-corrected breathing cycle needs to be determined through the inhalation intensity and the inhalation intensity slope corresponding to each initial breathing cycle, and the to-be-corrected breathing cycle is corrected through the correction weight to obtain the corrected first breathing cycle. The correction weight is calculated through the fusion of the inhalation intensity and the inhalation intensity slope, which can improve the accuracy of the correction weight and avoid the deviation of a single parameter. In addition, the correction weight corresponding to the non-to-be-corrected breathing cycle is directly determined as 1, so that it does not change.

[0279]

[0280] In formula (13), w(A i (j)) represents the correction weight (i.e., the second weight described above) corresponding to the to-be-corrected breathing cycle in the jth sliding window segment, A i (j) represents the ith initial breathing cycle in the jth sliding window segment, k slope(max) (j) represents the maximum change slope of the inhalation intensity corresponding to each initial breathing cycle in the jth sliding window segment.

[0281] When the correction weight corresponding to the to-be-corrected breathing cycle is obtained, the to-be-corrected breathing cycle can be corrected through the correction weight to obtain the corrected first breathing cycle, and the corrected first breathing cycle and the first breathing cycle that does not need to be corrected (i.e., the non-to-be-corrected breathing cycle) are determined as the second breathing cycle. Specifically, the product of the correction weight and the to-be-corrected breathing cycle is determined as the corresponding second breathing cycle.

[0282] T2(j)=w(A i (j))×T1(j) (14)

[0283] In formula (14), T2(j) represents the second breathing cycle corresponding to each initial breathing cycle in the jth sliding window segment.

[0284] For example, β=0.6, the inhalation intensity corresponding to each initial breathing cycle in the jth sliding window segment is: 7N, 9N, 8N, 10N, 8N, and the inhalation intensity slope is 3.5N / s, 4.8N / s, 4.0N / s, 5.2N / s, 4.1N / s.

[0285] First, A max (j), k slope (j) are calculated.

[0286] A max (j)=max(7,9,8,10,8)=10N, which represents that the maximum inhalation intensity corresponding to each initial breathing cycle in the jth sliding window segment is 10N.

[0287] The average slope of the inhalation intensity slopes corresponding to each initial breath period in the jth sliding window segment is 4.32 N / s;

[0288] Recalculating A th (j):

[0289] A th (j) = 0.6 x 10 + (1-0.6) x 4.32 = 7.7 N, indicating that the inhalation intensity threshold corresponding to the jth sliding window segment is 7.7 N.

[0290] Further determine the size of each of 7N, 9N, 8N, 10N, 8N and 7.7N to determine the to-be-corrected breath period.

[0291] When 7N is less than 7.7N, it indicates that the first breath period corresponding to 7N belongs to normal data, and the first breath period corresponding to 7N does not need to be processed, so the first breath period corresponding to 7N can be determined as a non-to-be-corrected breath period.

[0292] When 9N, 8N, 10N, 8N are all greater than 7.7N, it indicates that 9N, 8N, 10N, 8N are too large and belong to abnormal data, and the first breath period corresponding to each of 9N, 8N, 10N, 8N needs to be processed, so the first breath period corresponding to each of 9N, 8N, 10N, 8N can be determined as a to-be-corrected breath period.

[0293] Recalculating k slope(max) (j):

[0294] k slope(max) (j) = max(3.5, 4.8, 4.0, 5.2, 4.1) = 5.2 N / s, indicating that the maximum change slope of the change slopes corresponding to each initial breath period in the jth sliding window segment is 5.2 N / s.

[0295] Recalculating w(A i (j)):

[0296] The correction weight corresponding to the second initial breath period in the jth sliding window segment is 0.75;

[0297] The correction weight corresponding to the third initial breath period in the jth sliding window segment is 0.66;

[0298] The correction weight corresponding to the fourth initial breath period in the jth sliding window segment is 0.83;

[0299] The modified weight corresponding to the 5th initial breath cycle in the jth sliding window segment is 0.66.

[0300] Recalculate T2(j):

[0301] T2(j1) = w(A1(j)) x T1(j1) = 1 x 1.81 = 1.81s, indicating that the second breath cycle corresponding to the 1st initial breath cycle in the jth sliding window segment is 1.81s;

[0302] T2(j2) = w(A2(j)) x T1(j2) = 0.75 x 2.1 = 1.575s, indicating that the second breath cycle corresponding to the 2nd initial breath cycle in the jth sliding window segment is 1.575s;

[0303] T2(j3) = w(A3(j)) x T1(j3) = 0.66 x 1.5561 ≈ 1.027s, indicating that the second breath cycle corresponding to the 3rd initial breath cycle in the jth sliding window segment is 1.027s;

[0304] T2(j4) = w(A4(j)) x T1(j4) = 0.83 x 1.675 ≈ 1.39s, indicating that the second breath cycle corresponding to the 4th initial breath cycle in the jth sliding window segment is 1.39s;

[0305] T2(j5) = w(A5(j)) x T1(j5) = 0.66 x 1.81 ≈ 1.195s, indicating that the second breath cycle corresponding to the last initial breath cycle in the jth sliding window segment is 1.195s.

[0306] S7, correct the second breath cycle by individual characteristics to obtain a third breath cycle.

[0307] For example, the breath cycle is also affected by individual differences, and different individual characteristics have different effects on the breath cycle. Therefore, in order to make the final result more in line with the individual characteristics of the user, the second breath cycle can be corrected by individual characteristics to obtain a corrected second breath cycle (which can be referred to as a "third breath cycle"). The individual characteristics can include at least one of body type characteristics, breathing habit characteristics, age characteristics, resting heart rate characteristics, emotional characteristics, etc. For ease of understanding, the body type characteristics and the breathing habit characteristics are exemplified in the embodiments of the present application.

[0308] When the body shape feature and the breathing habit feature corresponding to the user are obtained, the body shape feature and the breathing habit feature corresponding to the user can be input into the trained feature model to output the correction parameter corresponding to the individual feature of the user (i.e., the correction amount corresponding to the individual feature) through the trained feature model. The second breathing cycle is corrected using the correction parameter corresponding to the individual feature of the user to obtain a third breathing cycle. Specifically, the product of the correction parameter corresponding to the individual feature of the user and the second breathing cycle is determined as the third breathing cycle. The trained feature model is used to obtain the correction parameter corresponding to the individual feature of the user.

[0309] k ind = 1 + γ × (B - B0) + δ × (H - H0) (15)

[0310] In formula (15), k indrepresents a correction parameter corresponding to the individual feature of the user, γ represents a correction parameter corresponding to the body shape feature, which is used to quantify the influence degree of the body shape feature on the respiratory cycle, and can be obtained by fitting the relationship between the body shape feature and the respiratory cycle according to different body shape features (for example, height 150cm-190cm, weight 40kg-100kg) collected, for example, γ=0.02. δ represents a correction parameter corresponding to the breathing habit feature, which is used to quantify the influence degree of the breathing habit on the respiratory cycle, and can be obtained by fitting the relationship between the breathing habit and the respiratory cycle according to different breathing habits (for example, chest breathing, abdominal breathing, chest breathing and abdominal breathing) collected, for example, δ=0.015. B0 represents a standard body shape parameter corresponding to the body shape feature, which is used to compare the individual body shape deviation, for example, the average body shape ratio of the ergonomics standard is B0=2.3. H0 represents a standard breathing habit parameter corresponding to the breathing habit feature, and the breathing habit of most people is mixed breathing combining chest breathing and abdominal breathing, so H0=3 is set. B represents an individual body shape parameter corresponding to the body shape feature, which is related to the height and weight of the user, and the ratio of the height to the weight is determined as B, for example, the height of 175cm and the weight of 70kg correspond to B=175 / 70=2.5. H represents an individual breathing habit parameter corresponding to the breathing habit feature, which can be determined by collecting the signal fluctuations collected by the sensor assembly 104 at the shoulder belt and the signal fluctuations collected by the sensor assembly 104 at the waist belt when the user naturally breathes for a period of time (for example, 30s) after fastening the safety belt. When the signal fluctuations collected by the sensor assembly 104 at the shoulder belt are large, it can be determined that the breathing mode of the user is chest breathing, for example, chest breathing corresponds to H=1; when the signal fluctuations collected by the sensor assembly 104 at the waist belt are large, it can be determined that the breathing mode of the user is abdominal breathing, for example, abdominal breathing corresponds to H=2; when the signal fluctuations collected by the sensor assembly 104 at the shoulder belt and the signal fluctuations collected by the sensor assembly 104 at the waist belt are both large, it can be determined that the breathing mode of the user is mixed breathing combining chest breathing and abdominal breathing, for example, mixed breathing corresponds to H=3.

[0311] T3(j)=k ind ×T2(j) (16)

[0312] In formula (16), T3(j) represents a third respiratory cycle corresponding to each initial respiratory cycle in the jth sliding window segment.

[0313] S8, the third respiratory cycle is corrected by the device error to obtain a fourth respiratory cycle.

[0314] The respiratory cycle is also affected by device errors, and different sensor assemblies 104 (i.e., target devices) have different effects on the respiratory cycle. Therefore, to make the final result more accurate, the third respiratory cycle can be corrected by a device error to obtain a corrected third respiratory cycle (i.e., the fourth respiratory cycle described above). The device error can include at least one of an error caused by the cumulative length of use of the device, an environmental error, a collection error, and the like. For ease of understanding, the error caused by the cumulative length of use of the device is exemplified in the embodiments of the present application.

[0315] When the cumulative length of use of the device is obtained, the cumulative length of use of the device can be input into the trained error model to output a correction parameter (i.e., the error correction amount described above) corresponding to the cumulative length of use of the device by the trained error model. The third respiratory cycle is corrected using the correction parameter corresponding to the cumulative length of use of the device to obtain a fourth respiratory cycle. Specifically, the difference between the third respiratory cycle and the correction parameter corresponding to the cumulative length of use of the device is determined as the fourth respiratory cycle. The trained error model is used to obtain the correction parameter corresponding to the cumulative length of use of the device.

[0316] E( T) = E0×e -λT + ε(T) (17)

[0317] In formula (17), E( T) represents the correction parameter corresponding to the cumulative length of use of the device, T represents the cumulative length of use of the device, E0 represents the initial error of the device; λ represents the error decay coefficient of the device, which is the decay rate of the device error with the use time, λ is positively correlated with the device error decay, and can be obtained by the aging test of the device, for example, the device is continuously tested for 1000 hours, the error values corresponding to different use times are recorded, and an exponential decay curve is fitted to obtain the value of λ, for example, λ = 0.001 / h. ε(T) represents a random error corresponding to a random fluctuation of the device caused by temperature and electromagnetic interference, which can be subject to a normal distribution, and can be obtained by collecting the signal fluctuation of the device when the safety belt is not stressed, for example, ε(T) = 3σ, and σ represents the standard random error of the device.

[0318] T4(j) = T3(j) - E( T) (18)

[0319] In formula (18), T4(j) represents the fourth respiratory cycle corresponding to each initial respiratory cycle in the jth sliding window segment.

[0320] S9, the respiratory frequency of the user is determined by the fourth respiratory cycle.

[0321] For example, when the fourth respiratory cycle is obtained, the respiratory frequency of the user can be determined by the number of the fourth respiratory cycle (i.e., the target respiratory cycle described above). It is determined whether the number of the fourth respiratory cycle is 1.

[0322] When the number of the fourth respiratory cycle is 1, the respiratory frequency corresponding to the fourth respiratory cycle can be determined as the respiratory frequency of the user. That is

[0323] When the number of the fourth respiratory cycle is multiple, the average of the multiple fourth respiratory cycles can be calculated first, and the respiratory frequency corresponding to the average of the multiple fourth respiratory cycles can be determined as the respiratory frequency of the user. That is

[0324] Alternatively, when the number of the fourth respiratory cycle is multiple, the average of the fourth respiratory cycle corresponding to each sliding window segment can be calculated first, and the average of the average of the fourth respiratory cycle corresponding to each sliding window segment can be calculated second, to obtain the second average respiratory cycle, i.e., the average of the average of the fourth respiratory cycle corresponding to each sliding window segment again. The respiratory frequency corresponding to the second average respiratory cycle can be determined as the respiratory frequency of the user. That is By calculating the average of the fourth respiratory cycle corresponding to each sliding window segment first, and then calculating the average of the average of the fourth respiratory cycle corresponding to each sliding window segment again, in essence, the average of a small range is calculated, and then a final average is calculated from multiple averages of small ranges. Through the step-by-step average calculation, the complexity of the respiratory frequency calculation can be reduced, the stability of the respiratory frequency calculation result can be enhanced, and the data amount of the single calculation processing of the respiratory frequency can be reduced, the calculation efficiency of the respiratory frequency is improved.

[0325] Alternatively, when the number of the fourth respiratory cycle is multiple, the respiratory frequency corresponding to each fourth respiratory cycle can be calculated first, and the average of the multiple respiratory frequencies can be calculated, and the average of the multiple respiratory frequencies can be determined as the respiratory frequency of the user.

[0326] Alternatively, when the number of the fourth respiratory cycle is multiple, the respiratory frequency corresponding to each fourth respiratory cycle in each sliding window segment (i.e., the initial respiratory frequency described above) can be calculated first, the average of the respiratory frequency corresponding to each fourth respiratory cycle in each sliding window segment (i.e., the window average described above) can be calculated, and the average of the average of the respiratory frequency corresponding to each fourth respiratory cycle in each sliding window segment can be calculated second, to obtain the second average respiratory frequency, i.e., the average of the respiratory frequency corresponding to each fourth respiratory cycle in each sliding window segment again (i.e., the average of the window average described above). The second average respiratory frequency can be determined as the respiratory frequency of the user.

[0327] Optionally, when the initial duration difference is obtained, the initial duration difference is not directly determined as the initial breathing period. Instead, considering the influence of individual differences on the duration difference, the initial duration difference is first corrected by individual characteristics (for example, k ind ) to obtain a corrected initial duration difference (i.e., the first duration difference described above). Specifically, the product of k ind and the initial duration difference is determined as the first duration difference.

[0328] In addition, considering the influence of device errors on the duration difference, the first duration difference can be corrected by device errors (for example, E T) ) to obtain a corrected first duration difference (i.e., the second duration difference described above). Specifically, the difference between the first duration difference and E T) is determined as the second duration difference.

[0329] Further, when the second duration difference is obtained, the second duration difference is further determined as the initial breathing period of the user. And the above S5-S9 are executed.

[0330] S10, by the breathing frequency of the user, controlling the oxygen supply device in the vehicle to supply oxygen to the user.

[0331] In an implementation manner, when the oxygen supply device in the vehicle is controlled to supply oxygen to the user by the breathing frequency of the target user, the target oxygen supply mode corresponding to the breathing frequency of the target user (which can be referred to as the "target oxygen supply mode") can be determined in the multiple oxygen supply modes available for the oxygen supply device in the vehicle by the breathing frequency of the target user, so as to realize flexible switching of the oxygen supply mode and improve the timeliness and accuracy of oxygen supply.

[0332] For example, when the target oxygen supply mode is determined in the multiple oxygen supply modes, the target oxygen supply mode can be determined in the multiple oxygen supply modes by the breathing frequency of the target user and / or the current breathing intensity of the target user.

[0333] Optionally, when the target oxygen supply mode is determined in the multiple oxygen supply modes, it can be determined whether the breathing frequency of the target user is less than a preset frequency.

[0334] When the breathing frequency of the target user is less than the preset frequency, it indicates that the breathing frequency of the target user is not too fast, the breathing is relatively calm, and the demand for oxygen is not very urgent, and normal oxygen supply to the target user can be performed. Therefore, the first oxygen supply mode in the multiple oxygen supply modes can be determined as the target oxygen supply mode.

[0335] The second oxygen supply mode in the plurality of oxygen supply modes can be determined as the target oxygen supply mode when the breathing frequency of the target user is greater than or equal to the preset frequency. This is because the target user generally does not perform intense exercise in the vehicle, so that the breathing frequency of the target user is too fast is likely to be caused by the illness of the target user, that is, a pathological fast breathing frequency. The fast breathing frequency is an embodiment of the hypoxia of the target user, and the oxygen supply mode needs to be selected in time to supply oxygen to the target user. Therefore, when the breathing frequency of the target user is greater than or equal to the preset frequency, the second oxygen supply mode can be determined as the target oxygen supply mode. The oxygen supply mode matched with the breathing frequency of the user is automatically selected according to the size relationship between the breathing frequency of the user and the preset frequency, so as to ensure that the selected oxygen supply mode can meet the oxygen demand of the user to the greatest extent, improve the intelligence of the in-vehicle oxygen supply, and meet the oxygen demand of the user to the greatest extent.

[0336] The first oxygen supply mode (i.e., the above-mentioned synchronous oxygen supply mode) indicates an oxygen supply mode in which the opening time of the oxygen supply device is the time when the target user inhales; and the second oxygen supply mode (i.e., the above-mentioned pre-judgment oxygen supply mode) indicates an oxygen supply mode in which the opening time of the oxygen supply device is before the time when the target user inhales.

[0337] The preset frequency can represent the highest safe frequency of the target user breathing during normal oxygen supply, and can be obtained by calibration, which is not limited in the embodiments of the present application.

[0338] Optionally, when the target oxygen supply mode is determined from the plurality of oxygen supply modes, the current breathing intensity of the target user can also be obtained.

[0339] When the current breathing intensity of the target user is obtained, the target oxygen supply mode can be determined from the plurality of oxygen supply modes based on the breathing frequency of the target user in combination with the current breathing intensity of the target user. The target oxygen supply mode is determined from the plurality of oxygen supply modes based on the breathing frequency of the user in combination with the current breathing intensity of the user, so that the oxygen supply mode matched with both the breathing frequency of the user and the current breathing intensity of the user can be automatically selected. The selected oxygen supply mode is more accurate and can meet the oxygen demand of the user to the greatest extent, further improving the intelligence of the in-vehicle oxygen supply and meeting the oxygen demand of the user to the greatest extent.

[0340] Further, when the target oxygen supply mode is determined from the plurality of oxygen supply modes based on the breathing frequency of the target user and the current breathing intensity of the target user, it can be determined whether the breathing frequency of the target user is less than the preset frequency and whether the current breathing intensity of the target user is less than the preset intensity.

[0341] When the breathing frequency of the target user is less than the preset frequency and the current breathing intensity of the target user is less than the preset intensity, the first oxygen supply mode of the plurality of oxygen supply modes can be determined as the target oxygen supply mode. This is because, when the breathing frequency of the target user is less than the preset frequency, it indicates that the breathing frequency of the target user is not too fast and the breathing is relatively calm; and when the current breathing intensity of the target user is less than the preset intensity, it indicates that the demand for oxygen of the target user's body has not increased, and the demand for oxygen is not very urgent, and normal oxygen supply to the target user is sufficient, so when the breathing frequency of the target user is less than the preset frequency and the current breathing intensity of the target user is less than the preset intensity, the first oxygen supply mode can be determined as the target oxygen supply mode.

[0342] When the breathing frequency of the target user is greater than or equal to the preset frequency and the current breathing intensity of the target user is greater than or equal to the preset intensity, it indicates that the breathing is relatively rapid, so the second oxygen supply mode of the plurality of oxygen supply modes can be determined as the target oxygen supply mode. This is because, since the target user generally does not perform too intense exercise in the vehicle, the breathing frequency of the target user being too fast is likely to be caused by the target user being unwell, i.e., the breathing frequency being too fast is pathological, and the breathing frequency being too fast is a manifestation of the target user being short of oxygen, so the target user needs to be supplied with oxygen in a timely manner; and when the current breathing intensity of the target user is greater than or equal to the preset intensity, it indicates that the demand for oxygen of the target user's body has increased, and the consumption speed of oxygen has increased, so if oxygen is not supplied in a timely manner, the oxygen reserves in the target user's body will be rapidly depleted, threatening the life safety of the target user, so when the current breathing intensity of the target user is greater than or equal to the preset intensity, the demand for oxygen of the target user is urgent, and the target user needs to be supplied with oxygen in a more timely manner, so the second oxygen supply mode can be determined as the target oxygen supply mode. The oxygen supply mode that matches both the breathing frequency of the target user and the current breathing intensity of the target user is automatically selected by comparing the breathing frequency of the target user with the preset frequency and comparing the current breathing intensity of the target user with the preset intensity, so as to ensure that the selected oxygen supply mode can meet the demand for oxygen of the target user to the greatest extent, and the intelligence of in-vehicle oxygen supply is further improved, and the demand for oxygen of the target user is met to the greatest extent.

[0343] The preset intensity can represent the highest safe intensity of the target user breathing when the target user is normally supplied with oxygen, and can be obtained by calibration, which is not limited in the embodiments of the application.

[0344] Optionally, when the current breathing intensity of the target user is greater than or equal to the preset intensity, the second oxygen supply mode can also be determined as the target oxygen supply mode.

[0345] Exemplarily, when the target oxygen supply mode is obtained, the oxygen supply device can be controlled to supply oxygen to the target user by the target oxygen supply mode (e.g., the first oxygen supply mode or the second oxygen supply mode). Compared with the problem that the oxygen supply needs to be manually started by the user to supply oxygen to the user by the oxygen supply device, the present application can realize automatic selection of the oxygen supply mode by the breathing frequency of the user, and can automatically determine the oxygen supply mode matched with the breathing frequency of the user from multiple oxygen supply modes to automatically supply oxygen to the user in the selected oxygen supply mode to the greatest extent, thereby improving the intelligence of the in-vehicle oxygen supply, meeting the oxygen demand of the user to the greatest extent, and improving the timeliness and oxygen inhalation effect of the user.

[0346] When the oxygen supply device is controlled to supply oxygen to the target user by the target oxygen supply mode, the switching frequency included in the target oxygen supply mode can be determined first. The switching frequency included in the target oxygen supply mode is the same as the breathing frequency of the target user.

[0347] When the switching frequency included in the target oxygen supply mode is obtained, the oxygen supply device can be controlled to supply oxygen to the target user in the target oxygen supply mode at the opening time of the oxygen supply device corresponding to the target oxygen supply mode and at the switching frequency corresponding to the target oxygen supply mode. By controlling the oxygen supply device to supply oxygen to the user in the selected oxygen supply mode at the switching frequency same as the breathing frequency of the user at the opening time of the oxygen supply device, the oxygen supply time of the oxygen supply device can be accurately matched with the oxygen demand time of the user, avoiding the problems of oxygen demand gap caused by delayed oxygen supply, insufficient oxygen supply caused by too small oxygen supply frequency, and excessive oxygen supply caused by too large oxygen supply frequency, thereby further improving the intelligence of the in-vehicle oxygen supply and meeting the oxygen demand of the user to the greatest extent.

[0348] When the target oxygen supply mode is the first oxygen supply mode, the opening time of the corresponding oxygen supply device is the time corresponding to the inhalation of the user. When the target oxygen supply mode is the second oxygen supply mode, the opening time of the corresponding oxygen supply device is the time corresponding to a certain time length (e.g., 5 seconds) before the inhalation of the user. For example, the time corresponding to the inhalation of the user is 10:00:00, the opening time of the corresponding oxygen supply device is 10:00:00 when the target oxygen supply mode is the first oxygen supply mode, or the opening time of the corresponding oxygen supply device is 09:59:55 when the target oxygen supply mode is the second oxygen supply mode.

[0349] For example, when the target oxygen supply mode is the first oxygen supply mode, the switching frequency is 30 times / minute, and the opening time of the oxygen supply device is 10:00:00, the oxygen supply device can be controlled to supply oxygen to the target user in the first oxygen supply mode at the switching frequency of 30 times / minute corresponding to the first oxygen supply mode at 10:00:00.

[0350] For example, when the target oxygen supply mode is the second oxygen supply mode, the switching frequency is 30 times per minute, and the oxygen supply device is turned on at 09:59:55, the oxygen supply device can be controlled to supply oxygen to the target user in the second oxygen supply mode at 09:59:55 with the switching frequency of 30 times per minute corresponding to the second oxygen supply mode.

[0351] In determining the turning-on time of the oxygen supply mode of the second oxygen supply mode at the current time, the breathing frequency of the target user at the last time of the current time and the historical breathing frequency of the target user can be obtained, and the turning-on time of the oxygen supply mode of the second oxygen supply mode at the current time (i.e. the time corresponding to a certain time length before the user inhales) can be predicted by the breathing frequency of the target user at the last time of the current time and the historical breathing frequency of the target user.

[0352] The historical breathing frequency represents at least one breathing frequency of the target user before the last time of the current time. Since there is the strongest time correlation between the breathing frequency of the target user at the last time of the current time and the breathing frequency of the target user at the current time, the historical breathing frequency of the target user can capture the change trend of the breathing frequency in a longer time, and thus the breathing frequency of the target user at the last time of the current time can be used as a prediction anchor point, and the historical breathing frequency of the target user can be used as a data basis for mining the change rule of the breathing frequency, to predict the turning-on time of the oxygen supply mode of the second oxygen supply mode at the current time, so that the predicted turning-on time of the oxygen supply mode of the second oxygen supply mode at the current time can be more accurate.

[0353] For example, when the target oxygen supply mode is the second oxygen supply mode, the switching frequency is 30 times per minute, and the oxygen supply device is turned on at 09:59:55, the oxygen supply device can be controlled to supply oxygen to the target user in the second oxygen supply mode at 09:59:55 with the switching frequency of 30 times per minute corresponding to the second oxygen supply mode.

[0354] Further, when the oxygen supply device is controlled to supply oxygen to the target user in the target oxygen supply mode, the oxygen supply amount (which can be referred to as "target oxygen supply amount") required to be output by the oxygen supply device can be determined by the breathing frequency of the target user, so that the determined target oxygen supply amount matches the breathing frequency of the user, which can avoid the problem that when the breathing frequency of the user is low and the demand for oxygen is low, the oxygen supply amount of the oxygen supply device cannot automatically adapt to the decrease in the breathing frequency, resulting in oxygen waste, or when the breathing frequency of the user is high and the demand for oxygen is high, the oxygen supply amount of the oxygen supply device cannot automatically adapt to the increase in the breathing frequency, resulting in insufficient oxygen.

[0355] When the target oxygen supply amount of the oxygen supply device is determined, the oxygen supply device can be controlled to supply oxygen to the target user in the target oxygen supply mode with the target oxygen supply amount as the target, so that the oxygen supply device can be dynamically corrected to follow the real-time breathing frequency (also referred to as "real-time breathing state") of the target user, thereby avoiding the problems of insufficient oxygen supply or excessive oxygen supply. The breathing frequency of the target user is positively correlated with the target oxygen supply amount. Based on the control of the oxygen supply device to supply oxygen to the user in the selected oxygen supply mode, the oxygen supply amount matched with the breathing frequency of the user can be determined, so that the oxygen supply device is controlled to supply oxygen to the user in the selected oxygen supply mode with the determined oxygen supply amount, which can avoid the problems of insufficient oxygen supply or excessive oxygen supply, further improve the intelligentization of in-vehicle oxygen supply, and maximize the demand of the user for oxygen.

[0356] For example, when the target oxygen supply mode is the first oxygen supply mode, the target oxygen supply amount is 245 mL / min, and the oxygen supply device can be controlled to supply oxygen to the target user in the first oxygen supply mode with an oxygen supply amount of 245 mL / min.

[0357] For example, when the target oxygen supply mode is the second oxygen supply mode, the target oxygen supply amount is 260 mL / min, and the oxygen supply device can be controlled to supply oxygen to the target user in the second oxygen supply mode with an oxygen supply amount of 260 mL / min.

[0358] Further, when the oxygen supply device is controlled to supply oxygen to the target user in the target oxygen supply mode with the target oxygen supply amount, the current sitting posture of the target user can be obtained first, and the target oxygen supply direction of the oxygen supply device can be obtained through the current sitting posture of the target user. The target oxygen supply direction represents the direction in which the face of the target user is located.

[0359] When the target oxygen supply direction of the oxygen supply device is determined, the oxygen supply device can be controlled to supply oxygen to the target user in the target oxygen supply mode with the target oxygen supply amount and the target oxygen supply direction. Based on the control of the oxygen supply device to supply oxygen to the user in the selected oxygen supply mode with the determined oxygen supply amount, the oxygen supply direction matched with the current sitting posture of the user can be determined, so that the oxygen supply device is controlled to supply oxygen to the user in the selected oxygen supply mode with the determined oxygen supply amount and the oxygen supply direction, which can avoid the problem of insufficient oxygen supply caused by the oxygen supply direction not being the direction in which the face of the user is located, further improve the intelligentization of in-vehicle oxygen supply, and maximize the demand of the user for oxygen.

[0360] For example, when the target oxygen supply mode is the first oxygen supply mode, the target oxygen supply amount is 245 mL / min, and the target oxygen supply direction is the right upper side, the oxygen supply device can be controlled to supply oxygen to the target user in the first oxygen supply mode with an oxygen supply amount of 245 mL / min and an oxygen supply direction of the right upper side.

[0361] For example, when the target oxygen supply mode is the second oxygen supply mode, the target oxygen supply amount is 260 mL / min, and the target oxygen supply direction is the left upper side, the oxygen supply device can be controlled to supply oxygen to the target user in the second oxygen supply mode with an oxygen supply amount of 260 mL / min and an oxygen supply direction of the left upper side.

[0362] Optionally, when the oxygen supply device is controlled to supply oxygen to the target user in the target oxygen supply mode, if it is determined that the target oxygen supply direction corresponding to the current sitting posture of the target user, the oxygen supply device can be controlled to supply oxygen to the target user in the target oxygen supply mode with the target oxygen supply direction.

[0363] In summary, when the pressure data (i.e., original pressure data) of the safety belt used by the user during the user's breathing is collected, the original pressure data can be first corrected by the vehicle speed data of the vehicle in which the user is located and / or the user's motion intensity data, and then the corrected original pressure data (i.e., target pressure data) is used to determine the user's breathing frequency, so as to control the oxygen supply device in the vehicle to supply oxygen to the user by using the determined user's breathing frequency. The collected original pressure data is corrected by the vehicle speed data and / or the user's motion intensity data, so that the corrected pressure data is more accurate. The user's breathing frequency determined by using more accurate pressure data can be more accurate. Therefore, when the running parameters of the oxygen supply device in the vehicle are controlled by using the more accurate user's breathing frequency, the accuracy of the running parameters can be improved, and thus when the oxygen supply device runs with more accurate running parameters, the user's demand for oxygen can be met to the greatest extent. In addition, the weights are dynamically allocated to each initial breathing period in each sliding window segment in a block manner, which can reduce the complexity of weight allocation, improve the efficiency of weight allocation, and reduce the adverse effects of abnormal breathing period data on the overall data, thereby improving the accuracy of data processing. In addition, the first breathing period corresponding to the initial breathing period with a larger inhalation intensity is corrected again to reduce the deviation of the data processing result caused by the user's sudden deep breathing. Furthermore, the breathing period and the time difference are corrected by the correction amount corresponding to the individual characteristics of the user, so that the corrected breathing period and time difference are more in line with the individual characteristics of the user and more accurate. Moreover, the breathing period and the time difference are corrected by the correction amount corresponding to the equipment for collecting pressure data, so that the corrected breathing period and time difference are more realistic and more accurate. In addition, when the breathing frequency is multiple, the sliding window segment is used to realize step-by-step average calculation, which can reduce the complexity of breathing frequency calculation, enhance the stability of the breathing frequency calculation result, and also can reduce the data amount of single calculation processing of the breathing frequency, realize block calculation, and improve the calculation efficiency of the breathing frequency.

[0364] Further, the automatic selection of the oxygen supply mode can be realized by the determined breathing frequency of the user, and the oxygen supply mode matched with the breathing frequency of the user can be determined from multiple oxygen supply modes, so that the selected oxygen supply mode is used to automatically supply oxygen to the user to the maximum extent, thereby improving the intelligentization of in-vehicle oxygen supply, meeting the oxygen demand of the user to the maximum extent, and improving the timeliness and oxygen absorption effect of the user. In addition, the breathing frequency of the user at the last time is used as a prediction anchor point, and the historical breathing frequency of the user is used as a data basis for mining the breathing frequency change rule to predict the opening time of the oxygen supply mode of the second oxygen supply mode at the current time, so that the predicted opening time of the oxygen supply mode of the second oxygen supply mode at the current time can be more accurate. In addition, at the opening time of the oxygen supply device, the oxygen supply device is controlled to supply oxygen to the user in the selected oxygen supply mode, at the selected oxygen supply amount and / or oxygen supply direction, by using the same switching frequency as the breathing frequency of the user, so that the problems of insufficient oxygen supply or excessive oxygen supply can be avoided, and the intelligentization of in-vehicle oxygen supply is further improved, and the oxygen demand of the user is met to the maximum extent.

[0365] It should be understood that the above examples are intended to help those skilled in the art understand the embodiments of the present application, and are not intended to limit the embodiments of the present application to the specific values or specific scenarios shown. Those skilled in the art can obviously make various equivalent modifications or changes based on the above examples, and such modifications or changes also fall within the scope of the embodiments of the present application.

[0366] The above describes the vehicle oxygen supply method provided by the embodiments of the present application in detail; the following will be combined with the Figures 1 to 5 The above describes the vehicle oxygen supply method provided by the embodiments of the present application in detail; the following will be combined with the Figure 6 The above describes the vehicle oxygen supply method provided by the embodiments of the present application in detail; the following will be combined with the Figure 7 The device embodiments of the present application are described in detail. It should be understood that the device in the embodiments of the present application can perform the various methods of the foregoing embodiments of the present application, i.e., the specific working processes of the following various products can refer to the corresponding processes in the foregoing method embodiments.

[0367] Figure 6 FIG. 1 is a structural schematic diagram of a vehicle oxygen supply device provided by the embodiments of the present application.

[0368] For example, as shown in FIG. 6, the device 600 includes: Figure 6

[0369] The acquisition module 610 is configured to acquire target data and original pressure data, wherein the target data includes vehicle speed data of a vehicle in which a target user is located and / or motion intensity data of the target user, and the original pressure data represents pressure data of a safety belt used by the target user when the target user breathes.

[0370] ​The processing module 620 is configured to correct the original pressure data based on the target data to obtain target pressure data, determine the respiratory frequency of the target user based on the target pressure data, and control an oxygen supply device in the vehicle to supply oxygen to the target user based on the respiratory frequency.

[0371] In a possible implementation, the processing module 620 is specifically configured to:

[0372] determine the peak pressure data corresponding to each adjacent inspiration phase in the target pressure data;

[0373] determine the initial time difference between the time instants at which the peak pressure data is collected as the initial time difference;

[0374] determine the initial respiratory cycle as the initial time difference, or determine the initial respiratory cycle based on the initial time difference and the individual characteristics of the target user;

[0375] determine the respiratory frequency based on the initial respiratory cycle.

[0376] In a possible implementation, the processing module 620 is specifically configured to:

[0377] determine a first weight of each initial respiratory cycle based on the average respiratory cycle corresponding to the sliding window segment in which each initial respiratory cycle is located and each initial respiratory cycle;

[0378] correct each initial respiratory cycle based on the first weight to obtain a first respiratory cycle corresponding to each initial respiratory cycle;

[0379] determine the respiratory frequency based on the first respiratory cycle.

[0380] In a possible implementation, the processing module 620 is specifically configured to:

[0381] determine the first respiratory cycle corresponding to each initial respiratory cycle in each sliding window segment as a to-be-corrected respiratory cycle, where the inspiration intensity of each initial respiratory cycle is greater than the inspiration intensity threshold corresponding to the sliding window segment in which each initial respiratory cycle is located;

[0382] correct the to-be-corrected respiratory cycle based on a second weight corresponding to the to-be-corrected respiratory cycle to obtain a corrected to-be-corrected respiratory cycle;

[0383] determine the corrected to-be-corrected respiratory cycle and a non-to-be-corrected respiratory cycle as a second respiratory cycle, where the non-to-be-corrected respiratory cycle indicates the first respiratory cycle corresponding to each initial respiratory cycle in each sliding window segment, and the inspiration intensity of each initial respiratory cycle is less than or equal to the inspiration intensity threshold corresponding to the sliding window segment in which each initial respiratory cycle is located;

[0384] determine the respiratory frequency based on the second respiratory cycle.

[0385] In a possible implementation, the processing module 620 is specifically configured to:

[0386] In a case where the initial duration difference is determined based on the initial respiratory cycle and the individual characteristics of the target user, the second respiratory cycle is determined as the target respiratory cycle.

[0387] In a case where the initial duration difference is determined as the initial respiratory cycle, the target respiratory cycle is determined based on the second respiratory cycle.

[0388] The respiratory frequency is determined based on the target respiratory cycle.

[0389] In a possible implementation, the processing module 620 is specifically configured to:

[0390] The second respiratory cycle is corrected based on a correction amount corresponding to the individual characteristics of the target user, to obtain a third respiratory cycle.

[0391] The target respiratory cycle is determined based on the third respiratory cycle.

[0392] In a possible implementation, the processing module 620 is specifically configured to:

[0393] The third respiratory cycle is corrected based on an error correction amount corresponding to the target device, to obtain a fourth respiratory cycle, where the target device represents a device used to collect the original pressure data.

[0394] The fourth respiratory cycle is determined as the target respiratory cycle.

[0395] In a possible implementation, the processing module 620 is specifically configured to:

[0396] The initial duration difference is corrected based on a correction amount corresponding to the individual characteristics of the target user, to obtain a first duration difference.

[0397] The initial respiratory cycle is determined based on the first duration difference.

[0398] In a possible implementation, the processing module 620 is specifically configured to:

[0399] The first duration difference is corrected based on an error correction amount corresponding to the target device, to obtain a second duration difference.

[0400] The second duration difference is determined as the initial respiratory cycle.

[0401] In a possible implementation, the processing module 620 is specifically configured to:

[0402] The interference pressure data corresponding to the target data is determined in the original pressure data based on the target data and an interference coefficient corresponding to the target data.

[0403] Remove the interference pressure data in the original pressure data to obtain target pressure data.

[0404] In a possible implementation, the processing module 620 is specifically configured to:

[0405] Determine an initial respiratory frequency corresponding to the target respiratory period based on the unit time length and the target respiratory period.

[0406] In a case where the initial respiratory frequency is 1, determine the initial respiratory frequency 1 as the respiratory frequency.

[0407] In a case where the initial respiratory frequency is multiple, determine a window average value of at least one initial respiratory frequency corresponding to each sliding window segment.

[0408] Determine an average value of the window average values as the respiratory frequency.

[0409] In a possible implementation, the processing module 620 is specifically configured to:

[0410] Determine a target oxygen supply mode from multiple oxygen supply modes based on the respiratory frequency of the target user, wherein each oxygen supply mode of the multiple oxygen supply modes corresponds to a different opening time of the oxygen supply device in the vehicle.

[0411] Control the oxygen supply device to supply oxygen to the target user based on the target oxygen supply mode.

[0412] In a possible implementation, the processing module 620 is specifically configured to:

[0413] In a case where the respiratory frequency of the target user is less than a preset frequency, determine a first oxygen supply mode from the multiple oxygen supply modes as the target oxygen supply mode, wherein the first oxygen supply mode represents an oxygen supply mode in which the opening time of the oxygen supply device is the time when the inspiration of the target user is detected.

[0414] In a case where the respiratory frequency of the target user is greater than or equal to the preset frequency, determine a second oxygen supply mode from the multiple oxygen supply modes as the target oxygen supply mode, wherein the second oxygen supply mode represents an oxygen supply mode in which the opening time of the oxygen supply device is before the time when the target user inhales.

[0415] In a possible implementation, the processing module 620 is specifically configured to:

[0416] Determine a target oxygen supply mode from multiple oxygen supply modes based on the respiratory frequency of the target user and the current respiratory intensity of the target user.

[0417] In a possible implementation, the processing module 620 is specifically configured to:

[0418] In a case where the breathing frequency of the target user is less than the preset frequency and the current breathing intensity of the target user is less than the preset intensity, a first oxygen supply mode of the plurality of oxygen supply modes is determined as the target oxygen supply mode, where the first oxygen supply mode represents an oxygen supply mode in which the opening time of the oxygen supply device is the time when the target user inhales.

[0419] In a case where the breathing frequency of the target user is greater than or equal to the preset frequency and the current breathing intensity of the target user is greater than or equal to the preset intensity, a second oxygen supply mode of the plurality of oxygen supply modes is determined as the target oxygen supply mode, where the second oxygen supply mode represents an oxygen supply mode in which the opening time of the oxygen supply device is before the time when the target user inhales.

[0420] In a possible implementation, the processing module 620 is specifically configured to:

[0421] predict, based on the breathing frequency of the target user at the previous time of the current time and the historical breathing frequency of the target user, the opening time of the oxygen supply mode of the second oxygen supply mode at the current time.

[0422] The historical breathing frequency represents at least one breathing frequency of the target user before the previous time of the current time.

[0423] In a possible implementation, the processing module 620 is specifically configured to:

[0424] determine, based on the breathing frequency of the target user and / or the current breathing intensity of the target user, the target oxygen supply mode from the plurality of oxygen supply modes.

[0425] In a possible implementation, the processing module 620 is specifically configured to:

[0426] control the oxygen supply device to supply oxygen to the target user in the target oxygen supply mode at the opening time of the oxygen supply device and at the switching frequency.

[0427] In a possible implementation, the processing module 620 is specifically configured to:

[0428] determine, based on the breathing frequency of the target user, the target oxygen supply amount of the oxygen supply device, where the breathing frequency of the target user is positively correlated with the target oxygen supply amount.

[0429] control the oxygen supply device to supply oxygen to the target user in the target oxygen supply mode at the target oxygen supply amount.

[0430] In a possible implementation, the processing module 620 is specifically configured to:

[0431] obtain the current sitting posture of the target user.

[0432] obtain a target oxygen supply direction of the oxygen supply device based on the current sitting posture of the target user, wherein the target oxygen supply direction represents a direction in which a face of the target user is located;

[0433] control the oxygen supply device to supply oxygen to the target user in the target oxygen supply mode with the target oxygen supply direction and / or the target oxygen supply amount as a target.

[0434] In a possible implementation, the processing module 620 is specifically configured to:

[0435] determine the target oxygen supply amount of the oxygen supply device based on the breathing frequency of the target user, wherein the breathing frequency of the target user is positively correlated with the target oxygen supply amount;

[0436] obtain the current sitting posture of the target user;

[0437] obtain the target oxygen supply direction of the oxygen supply device based on the current sitting posture of the target user, wherein the target oxygen supply direction represents a direction in which a face of the target user is located;

[0438] control the oxygen supply device to supply oxygen to the target user in the target oxygen supply mode with the target oxygen supply direction and / or the target oxygen supply amount as a target.

[0439] It should be noted that the apparatus 600 is embodied in the form of functional modules. The term "module" herein can be implemented by software and / or hardware, and is not limited in this regard.

[0440] For example, the "module" can be a software program, a hardware circuit, or a combination of the two. The hardware circuit can include an application specific integrated circuit (ASIC), an electronic circuit, a processor (for example, a shared processor, a dedicated processor, or a combined processor) and a memory for executing one or more software or firmware programs, and a combination logic circuit and / or other suitable components supporting the described functions.

[0441] Therefore, the modules of the examples described in the embodiments of the present application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether the functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0442] Figure 7 is a structural schematic diagram of a vehicle provided by an embodiment of the present application.

[0443] For example, Figure 7As shown, the vehicle 700 includes a memory 710 and a processor 720, wherein the memory 710 stores executable program code 7101, and the processor 720 is configured to invoke and execute the executable program code 7101 to perform a vehicle oxygen supply method.

[0444] The vehicle can be divided into functional modules according to the above method examples, for example, each functional module can be provided, or two or more functions can be integrated into one processing module, and the integrated module can be implemented in the form of hardware. It should be noted that the division of modules in the embodiment is illustrative, and is only a logical functional division. In actual implementation, another division method can be used.

[0445] In the case of dividing each functional module according to each function, the vehicle can include an acquisition module, a processing module, and the like. It should be noted that all related contents of each step involved in the above method embodiments can be referred to the function description of the corresponding functional module, and will not be repeated here.

[0446] The vehicle provided in the present application is used to execute the above vehicle oxygen supply method, and thus the same effect as the above implementation method can be achieved.

[0447] In the case of using an integrated unit, the vehicle can include a processing module and a storage module. The processing module can be used to control and manage the actions of the vehicle. The storage module can be used to support the vehicle to execute related program codes and data.

[0448] The processing module can be a processor or a controller, which can implement or execute various exemplary logical blocks, modules and circuits shown in combination with the disclosure of the present application. The processor can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of digital signal processing (Digital Signal Processing, DSP) and microprocessor, etc., and the storage module can be a memory.

[0449] The application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of the method in any of the foregoing embodiments. The computer readable storage medium can include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD (Digital Video Disc), a CD-ROM (Compact Disc Read-Only Memory), a microdrive, and a magneto-optical disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), an EPROM (Erasable Programmable Read-Only Memory), an EEPROM (Electrically Erasable Programmable Read-Only Memory), a DRAM (Dynamic Random Access Memory), a VRAM (Video Random Access Memory), a flash memory device, a magnetic or optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0450] The application further provides a computer program product, which, when running on a computer, causes the computer to perform the above related steps to implement the vehicle oxygen supply method in the above embodiments.

[0451] In addition, the vehicle provided by the embodiments of the application can be a chip, a component or a module, and the vehicle can include a connected processor and a memory; the memory is used to store instructions, and the processor can invoke and execute the instructions when the vehicle is running, so that the chip executes the vehicle oxygen supply method in the above embodiments.

[0452] The vehicle, the computer readable storage medium, the computer program product or the chip provided by the application are all used to execute the corresponding method provided above, and thus the beneficial effects that can be achieved by the vehicle, the computer readable storage medium, the computer program product or the chip can refer to the beneficial effects in the corresponding method provided above, which will not be described here again.

[0453] Through the description of the above embodiments, those skilled in the art can understand that, for the convenience and brevity of description, only the division of the above functional modules is exemplified, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0454] In the embodiments provided in the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules or units is only a logical function division, and in actual implementation, there can be another division manner, for example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed ones can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0455] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto, any person skilled in the art can easily think of changes or replacements within the technical range disclosed in the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method for supplying oxygen to a vehicle, characterized in that, The method includes: Acquire target data and raw pressure data, wherein the target data includes vehicle speed data of the vehicle in which the target user is located and / or the exercise intensity data of the target user, and the raw pressure data represents the pressure data of the seat belt used by the target user when the target user breathes. The original pressure data is corrected based on the target data to obtain the target pressure data; Based on the target pressure data, the respiratory rate of the target user is determined; Based on the breathing rate, the oxygen supply device in the vehicle is controlled to supply oxygen to the target user.

2. The method according to claim 1, characterized in that, Determining the respiratory rate of the target user based on the target pressure data includes: Determine the peak pressure data corresponding to each adjacent inhalation phase in the target pressure data; The time interval between the peak pressure data acquisition times is determined as the initial time difference; The initial duration difference is determined as the initial respiratory cycle, or the initial respiratory cycle is determined based on the initial duration difference and the individual characteristics of the target user; The respiratory rate is determined based on the initial respiratory cycle.

3. The method according to claim 2, characterized in that, Determining the respiratory rate based on the initial respiratory cycle includes: Based on the average respiratory cycle corresponding to the sliding window segment where each of the multiple initial respiratory cycles is located and each initial respiratory cycle, a first weight of each initial respiratory cycle is determined. Based on the first weight, each initial respiratory cycle is corrected to obtain the first respiratory cycle corresponding to each initial respiratory cycle; The respiratory rate is determined based on the first respiratory cycle.

4. The method according to claim 3, characterized in that, Determining the respiratory rate based on the first respiratory cycle includes: The first respiratory cycle corresponding to the initial respiratory cycle in each sliding window segment where the inspiratory intensity is greater than the inspiratory intensity threshold corresponding to each sliding window segment is determined as the respiratory cycle to be corrected. The respiratory cycle to be corrected is corrected based on the second weight corresponding to the respiratory cycle to be corrected, so as to obtain the corrected respiratory cycle to be corrected. The corrected respiratory cycle to be corrected and the uncorrected respiratory cycle are determined as the second respiratory cycle, wherein the uncorrected respiratory cycle represents the first respiratory cycle corresponding to the initial respiratory cycle in each sliding window segment where the inspiratory intensity is less than or equal to the inspiratory intensity threshold corresponding to each sliding window segment. The respiratory rate is determined based on the second respiratory cycle.

5. The method according to claim 4, characterized in that, Determining the respiratory rate based on the second respiratory cycle includes: In the case where the initial respiratory cycle is determined based on the initial duration difference and the individual characteristics of the target user, the second respiratory cycle is determined as the target respiratory cycle; In the case where the initial duration difference is determined as the initial respiratory cycle, the target respiratory cycle is determined based on the second respiratory cycle; The respiratory rate is determined based on the target respiratory cycle.

6. The method according to claim 5, characterized in that, Determining the target respiratory cycle based on the second respiratory cycle includes: The second respiratory cycle is corrected based on the correction amount corresponding to the individual characteristics of the target user to obtain the third respiratory cycle; The target respiratory cycle is determined based on the third respiratory cycle.

7. The method according to claim 6, characterized in that, Determining the target respiratory cycle based on the third respiratory cycle includes: The third respiratory cycle is corrected based on the error correction amount corresponding to the target device to obtain the fourth respiratory cycle, wherein the target device refers to the device used to collect the raw pressure data; The fourth respiratory cycle is determined as the target respiratory cycle.

8. The method according to claim 5, characterized in that, The step of determining the initial respiratory cycle based on the initial duration difference and the individual characteristics of the target user includes: The initial duration difference is corrected based on the correction amount corresponding to the individual characteristics of the target user to obtain the first duration difference; The initial respiratory cycle is determined based on the first time difference.

9. The method according to claim 8, characterized in that, Determining the initial respiratory cycle based on the first duration difference includes: The first time difference is corrected based on the error correction amount corresponding to the target device to obtain the second time difference; The second time difference is determined as the initial respiratory cycle.

10. The method according to any one of claims 1 to 9, characterized in that, The step of correcting the original pressure data based on the target data to obtain the target pressure data includes: Based on the target data and the interference coefficient corresponding to the target data, the interference pressure data corresponding to the target data is determined in the original pressure data; The interfering pressure data is removed from the original pressure data to obtain the target pressure data.

11. The method according to any one of claims 5 to 9, characterized in that, Determining the respiratory rate based on the target respiratory cycle includes: Based on the unit duration and the target respiratory cycle, determine the initial respiratory rate corresponding to the target respiratory cycle; When the initial respiratory rate is 1, the initial respiratory rate is determined as the respiratory rate. When there are multiple initial respiratory rates, determine the window average value of at least one initial respiratory rate corresponding to each sliding window segment; The average value of the window values ​​is determined as the respiratory rate.

12. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor for calling and running the executable program code from the memory, causing the vehicle to perform the method as described in any one of claims 1 to 11.